:root {
  --gold: #ffe187;
  --yellow-green: #ecff3e;
  --white: #f4fff8;
  --line: rgba(244, 255, 248, 0.93);
  --bg-deep: #042d32;
  --bg-mid: #00563d;
  --bg-glow: #08714c;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-deep);
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  color: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(3, 97, 95, 0.95), transparent 42%),
    radial-gradient(circle at 52% 80%, rgba(0, 105, 54, 0.8), transparent 56%),
    linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-mid) 44%, var(--bg-bright) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: screen;
}

.price-board {
  width: min(94vw, 1240px);
  min-height: 100vh;
  padding: clamp(14px, 2.3vh, 28px) clamp(14px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.board-header {
  margin-bottom: clamp(10px, 1.8vh, 20px);
  text-align: center;
}

.board-header h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(36px, 5.2vw, 74px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.36),
    0 0 18px rgba(255, 217, 117, 0.14);
}

.board-header p {
  margin: clamp(6px, 1.1vh, 12px) 0 0;
  color: var(--white);
  font-size: clamp(14px, 1.8vw, 24px);
  font-weight: 800;
  letter-spacing: 0;
}

.table-frame {
  position: relative;
  border: clamp(2px, 0.28vw, 4px) solid var(--line);
  background:
    linear-gradient(180deg, rgba(0, 66, 61, 0.88), rgba(0, 89, 47, 0.9)),
    radial-gradient(circle at 50% 50%, rgba(20, 137, 69, 0.38), transparent 62%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.28),
    inset 0 0 42px rgba(9, 153, 93, 0.16);
}

.table-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0.4;
}

.price-table {
  display: grid;
  position: relative;
  z-index: 1;
}

.row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  min-height: clamp(56px, 7.2vh, 78px);
  border-bottom: clamp(2px, 0.25vw, 4px) solid var(--line);
}

.row:last-child {
  border-bottom: 0;
}

.cell {
  min-width: 0;
  padding: clamp(7px, 0.9vh, 12px) clamp(10px, 1.8vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: clamp(2px, 0.25vw, 4px) solid var(--line);
  text-align: center;
  color: var(--white);
  font-size: clamp(21px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.34);
}

.cell:last-child {
  border-right: 0;
}

.notice-row {
  grid-template-columns: 1fr;
}

.notice-cell {
  min-height: 140px;
  border-right: 0;
  font-size: clamp(18px, 2.6vw, 30px);
}

.table-head {
  min-height: clamp(58px, 7vh, 74px);
}

.table-head .cell {
  font-size: clamp(18px, 2.2vw, 30px);
}

.table-head .time {
  letter-spacing: 0.75em;
  text-indent: 0.75em;
}

.promo {
  flex-direction: column;
  gap: 4px;
}

.promo strong {
  display: block;
  font-size: clamp(19px, 2.35vw, 31px);
}

.promo span {
  display: block;
  font-size: clamp(12px, 1.35vw, 18px);
  line-height: 1.2;
  white-space: nowrap;
}

.highlight {
  color: var(--yellow-green);
}

.label {
  white-space: nowrap;
}

@media (min-width: 1500px) {
  .price-board {
    width: min(96vw, 1800px);
  }
}

@media (min-width: 721px) {
  body {
    place-items: stretch center;
    overflow: hidden;
  }

  .price-board {
    width: min(96vw, 1800px);
    height: 96vh;
    max-height: 96vh;
    min-height: 0;
    padding: clamp(6px, 1vh, 10px) clamp(10px, 2.8vw, 34px);
    justify-content: flex-start;
    overflow: hidden;
  }

  .board-header {
    flex: 0 0 auto;
    margin-bottom: clamp(4px, 0.7vh, 8px);
  }

  .board-header h1 {
    font-size: clamp(24px, 5.2vh, 46px);
    line-height: 1.04;
  }

  .board-header p {
    margin-top: clamp(2px, 0.35vh, 4px);
    font-size: clamp(10px, 1.8vh, 15px);
    line-height: 1.08;
  }

  .table-frame {
    flex: 1 1 0;
    display: flex;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    border-width: 2px;
  }

  .price-table {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    grid-auto-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .row {
    min-height: 0;
    overflow: hidden;
    border-bottom-width: 2px;
  }

  .table-head {
    min-height: 0;
  }

  .cell {
    min-height: 0;
    padding: clamp(4px, 0.8vh, 10px) clamp(10px, 1.9vw, 26px);
    border-right-width: 2px;
    font-size: clamp(18px, 3.7vh, 36px);
    line-height: 1.1;
    overflow: hidden;
  }

  .table-head .cell {
    font-size: clamp(16px, 3vh, 30px);
  }

  .promo {
    gap: 2px;
  }

  .promo strong {
    font-size: clamp(17px, 3.3vh, 32px);
  }

  .promo span {
    font-size: clamp(10px, 1.9vh, 17px);
  }
}

@media (max-width: 720px) {
  body {
    place-items: stretch;
  }

  .price-board {
    width: 100%;
    min-height: 100vh;
    padding: 24px 14px;
    justify-content: flex-start;
  }

  .board-header {
    margin-bottom: 18px;
  }

  .board-header h1 {
    font-size: clamp(34px, 10.5vw, 52px);
  }

  .board-header p {
    font-size: 15px;
  }

  .table-frame {
    border-width: 3px;
  }

  .row,
  .table-head {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .row {
    border-bottom-width: 3px;
  }

  .cell {
    min-height: 54px;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 2px solid rgba(244, 255, 248, 0.72);
    font-size: clamp(21px, 6vw, 28px);
  }

  .cell:last-child {
    border-bottom: 0;
  }

  .table-head .cell {
    font-size: 18px;
  }

  .table-head .time {
    letter-spacing: 0.55em;
    text-indent: 0.55em;
  }

  .promo strong {
    font-size: 19px;
  }

  .promo span {
    font-size: 13px;
    white-space: normal;
  }

  .row:not(.table-head) {
    margin: 0;
  }

  .row:not(.table-head) .price::before {
    content: attr(data-label);
    color: rgba(244, 255, 248, 0.74);
    font-size: 0.72em;
    margin-right: 8px;
  }

  .row:not(.table-head) .deal::before {
    content: attr(data-label);
    color: rgba(244, 255, 248, 0.74);
    font-size: 0.72em;
    margin-right: 8px;
  }
}

@media (max-width: 390px) {
  .price-board {
    padding-inline: 10px;
  }

  .board-header h1 {
    font-size: 31px;
  }

  .cell {
    font-size: 20px;
  }
}
