@charset "utf-8";

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #eef4f0;
  color: #111;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

html {
  scroll-padding-top: 224px;
}

body {
  min-width: 320px;
  --hct-display-font: "PingFang SC", "Microsoft YaHei", "STHeiti", "Heiti SC", "SimHei", "Hiragino Sans GB", Arial, sans-serif;
  --hct-display-stroke: .9px #101010;
  --hct-display-shadow:
    -1px -1px 0 #101010,
    1px -1px 0 #101010,
    -1px 1px 0 #101010,
    1px 1px 0 #101010,
    0 2px 0 #101010,
    0 3px 1px rgba(0, 0, 0, .16);
}

a {
  color: inherit;
  text-decoration: none;
}

.detail-page {
  width: 100%;
  max-width: 760px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 10px 70px;
  background: #fff;
}

.detail-home-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  margin: 0 -10px 10px;
  padding: 6px 7px 0;
  border: 1px solid rgba(210, 210, 210, .86);
  border-radius: 16px 16px 14px 14px;
  background: #f2f2f2;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, .12),
    0 1px 0 rgba(255, 255, 255, .9) inset;
  overflow: hidden;
}

.detail-home-header .hct-brand-row {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 232, 198, .5), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fff7f1 100%);
  line-height: 0;
  overflow: hidden;
}

.detail-home-header .hct-brand-link {
  display: block;
  width: 100%;
  min-width: 0;
}

.detail-home-header .hct-brand-logo {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 2px rgba(160, 40, 20, .08));
}

.detail-home-header .hct-lottery-strip {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 62px;
  padding: 6px 8px;
  background:
    radial-gradient(ellipse at 8% 50%, rgba(255, 200, 200, .13), transparent 38%),
    linear-gradient(180deg, #fff 0%, #fff8f8 60%, #fff6e4 100%);
  box-shadow:
    0 -1px 0 rgba(200, 0, 0, .08) inset,
    0 1px 0 rgba(255, 255, 255, .95) inset;
}

.detail-home-header .hct-period-box {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding-left: 6px;
}

.detail-home-header .hct-period-main {
  color: #f00000;
  font-size: 18px;
  line-height: 21px;
  font-weight: 900;
  letter-spacing: 0;
}

.detail-home-header .hct-history-link {
  color: #0a6cb5;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(10, 108, 181, .35);
  text-underline-offset: 2px;
}

.detail-home-header .hct-ball-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(31px, 1fr)) 28px minmax(31px, 1fr);
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.detail-home-header .hct-top-ball,
.detail-home-header .hct-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-home-header .hct-top-ball {
  flex-direction: column;
  min-height: 35px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .42),
    inset 0 -4px 0 rgba(0, 0, 0, .22),
    0 4px 10px rgba(0, 0, 0, .22);
}

.detail-home-header .hct-ball-num,
.detail-home-header .hct-ball-sx {
  display: block;
  line-height: 1;
  font-weight: 900;
}

.detail-home-header .hct-ball-num {
  font-size: 1em;
}

.detail-home-header .hct-ball-sx {
  margin-top: 2px;
  font-size: .58em;
}

.detail-home-header .hct-ball-red {
  background: linear-gradient(180deg, #fb1515 0%, #c90000 100%);
}

.detail-home-header .hct-ball-green {
  background: linear-gradient(180deg, #09a138 0%, #087723 100%);
}

.detail-home-header .hct-ball-blue {
  background: linear-gradient(180deg, #0f77db 0%, #0055ad 100%);
}

.detail-home-header .hct-special-top {
  outline: 3px solid #ffd93f;
  outline-offset: 1px;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .42),
    inset 0 -4px 0 rgba(0, 0, 0, .22),
    0 4px 10px rgba(0, 0, 0, .28),
    0 0 10px rgba(255, 210, 0, .4);
}

.detail-home-header .hct-refresh {
  width: 27px;
  height: 27px;
  border: 1px solid #b0b0b0;
  border-radius: 50%;
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
  color: #444;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(0, 0, 0, .1),
    0 2px 6px rgba(0, 0, 0, .14);
}

.detail-home-header .hct-permanent {
  min-height: 34px;
  padding: 3px 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .18) 0%, transparent 20%, transparent 80%, rgba(255, 255, 255, .18) 100%),
    linear-gradient(180deg, #10b840 0%, #068424 55%, #006b1c 100%);
  color: #fff;
  text-align: center;
  font-family: var(--hct-display-font);
  font-size: 16px;
  line-height: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  -webkit-text-stroke: var(--hct-display-stroke);
  paint-order: stroke fill;
  text-shadow: var(--hct-display-shadow);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 0 -2px 0 rgba(0, 0, 0, .18),
    0 2px 6px rgba(0, 100, 20, .25);
}

.detail-home-header .hct-permanent a {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  line-height: inherit;
  text-decoration: none;
}

.detail-home-header .hct-url {
  font-size: 20px;
  letter-spacing: 1px;
}

.detail-home-header .hct-date-strip {
  min-height: 27px;
  background: linear-gradient(180deg, #fffae8 0%, #ffedaa 60%, #ffe680 100%);
  color: #5a3800;
  text-align: center;
  font-size: 14px;
  line-height: 27px;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    inset 0 -1px 0 rgba(200, 140, 0, .2);
}

.detail-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 112px 1fr 82px;
  gap: 8px;
  align-items: center;
  min-height: 76px;
  margin: 0 -10px;
  padding: 4px 10px;
  border-bottom: 1px solid #d8e4db;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .13);
}

.detail-logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.detail-logo img {
  display: block;
  width: 112px;
  height: 74px;
  object-fit: contain;
}

.detail-domain {
  min-width: 0;
  overflow: hidden;
  color: #333;
  text-align: center;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-kefu {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 7px;
  background: #c80000;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.detail-strip {
  margin: 10px 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #079f33 0%, #00791d 48%, #006b17 100%);
  color: #fff;
  text-align: center;
  font-family: var(--hct-display-font);
  font-size: 23px;
  line-height: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  -webkit-text-stroke: var(--hct-display-stroke);
  -webkit-font-smoothing: antialiased;
  paint-order: stroke fill;
  text-rendering: geometricPrecision;
  text-shadow: var(--hct-display-shadow);
  box-shadow: 0 10px 16px rgba(0, 0, 0, .12), inset 0 2px 0 rgba(255, 255, 255, .18);
}

.detail-ad-stack {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.detail-ad-banner {
  display: block;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
}

.detail-ad-banner img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 58px;
  object-fit: cover;
  object-position: center;
}

.detail-ad-banner-inline {
  margin-top: 10px;
}

.detail-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.detail-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #d7e4d9;
  border-radius: 7px;
  background: #f8fff9;
  color: #08792a;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.detail-section {
  scroll-margin-top: 92px;
  margin: 10px 0;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

#expert-sun,
#expert-wang {
  scroll-margin-top: 92px;
}

.detail-title {
  padding: 9px 12px;
  background: linear-gradient(180deg, #09a638 0%, #007719 100%);
  color: #fff;
  text-align: center;
  font-size: 22px;
  line-height: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  font-family: var(--hct-display-font);
  -webkit-text-stroke: var(--hct-display-stroke);
  -webkit-font-smoothing: antialiased;
  paint-order: stroke fill;
  text-rendering: geometricPrecision;
  text-shadow: var(--hct-display-shadow);
}

.detail-body {
  padding: 10px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.detail-card {
  border: 1px solid #dfe5df;
  border-radius: 7px;
  background: #fbfffc;
  overflow: hidden;
}

.detail-card h3 {
  margin: 0;
  padding: 9px 10px;
  border-bottom: 1px solid #e4e4e4;
  color: #c60000;
  font-size: 19px;
  line-height: 24px;
  font-weight: 900;
  text-align: center;
}

.detail-card p {
  margin: 0;
  padding: 9px 10px;
  color: #222;
  font-size: 16px;
  line-height: 25px;
  font-weight: 800;
}

.detail-material-grid {
  margin-bottom: 10px;
}

.detail-material-grid [id] {
  scroll-margin-top: 92px;
}

.detail-material-table {
  margin-top: 8px;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.detail-table th,
.detail-table td {
  border: 1px solid #d0d0d0;
  padding: 8px 6px;
  text-align: center;
  font-size: 16px;
  line-height: 23px;
  font-weight: 900;
}

.detail-table th {
  background: #fff8db;
  color: #08792a;
}

.detail-red {
  color: #d00000;
}

.detail-blue {
  color: #0757a8;
}

.detail-hit {
  color: #008a2c;
}

.detail-balls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 12px 0;
}

.detail-ball {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 42px;
  border: 3px solid #0757a8;
  border-radius: 50%;
  color: #0757a8;
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.detail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 900;
}

.detail-btn-home {
  border: 1px solid #d7e4d9;
  background: #fff;
  color: #08792a;
}

.detail-btn-kefu {
  background: linear-gradient(180deg, #08a438, #00751b);
  color: #fff;
}

.detail-footer {
  color: #777;
  text-align: center;
  font-size: 13px;
  line-height: 28px;
}

@media (max-width: 420px), (min-width: 821px) {
  .detail-page {
    padding-right: 8px;
    padding-left: 8px;
  }

  .detail-home-header {
    margin-right: -8px;
    margin-left: -8px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .detail-header {
    grid-template-columns: 104px 1fr 72px;
    margin-right: -8px;
    margin-left: -8px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .detail-logo img {
    width: 98px;
    height: 66px;
  }

  .detail-domain {
    font-size: 18px;
  }

  .detail-kefu {
    font-size: 13px;
  }

  .detail-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  .detail-ad-stack {
    gap: 7px;
  }

  .detail-ad-banner {
    border-radius: 7px;
  }

  .detail-title {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .detail-grid,
  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-table th,
  .detail-table td {
    padding: 7px 4px;
    font-size: 14px;
    line-height: 21px;
  }
}

@media (max-width: 340px) {
  html {
    scroll-padding-top: 218px;
  }

  .detail-home-header .hct-lottery-strip {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 2px;
    min-height: 58px;
    padding: 5px 4px;
  }

  .detail-home-header .hct-ball-track {
    grid-template-columns: repeat(6, minmax(27px, 1fr)) 23px minmax(27px, 1fr);
    gap: 2px;
  }

  .detail-home-header .hct-top-ball,
  .detail-home-header .hct-refresh {
    font-size: 12px;
  }

  .detail-home-header .hct-top-ball {
    min-height: 31px;
  }

  .detail-home-header .hct-refresh {
    width: 23px;
    height: 23px;
  }

  .detail-home-header .hct-date-strip {
    font-size: 12px;
    letter-spacing: 0;
  }

  .detail-home-header .hct-permanent {
    font-size: 15px;
    line-height: 25px;
  }

  .detail-home-header .hct-url {
    font-size: 17px;
    letter-spacing: 0;
  }

  .detail-header {
    grid-template-columns: 96px 1fr;
  }

  .detail-kefu {
    grid-column: 1 / -1;
  }

  .detail-domain {
    text-align: right;
  }
}

@media (min-width: 821px) {
  .detail-page {
    max-width: 640px;
  }
}
