/* Beat 12 #how, "How it works" (spec r3 7.3): the camera walks the round at
   street level (four moves in a deck), then the price board (step 5, the
   multipliers flip in like a split-flap board) and the pinned spec restyled
   as telemetry (step 6), both glass panels over the street. */
.sh-beat--how { --b-step-h: 36svh; }
.sh-beat--how .b-frame { grid-template-columns: minmax(0, min(620px, 48vw)) 1fr; }
.sh-beat--how .b-head, .sh-beat--how .b-moves, .sh-beat--how .b-track { grid-column: 1; }
.sh-beat--how .b-moves { align-self: center; }
.b-move__read { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.b-move__big { font: 400 var(--b-xl)/.9 var(--sh-font-num); letter-spacing: -.035em; color: var(--sh-gold-hi); text-shadow: 0 0 40px rgb(212 175 55 / 25%); white-space: nowrap; }
.b-move__cap { color: var(--sh-fg-2); font: 600 11px/1.5 var(--sh-font-mono); letter-spacing: .18em; text-transform: uppercase; }
.b-move h3 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.b-move__no { color: var(--sh-fg-3); font: 500 13px/1 var(--sh-font-mono); letter-spacing: .12em; }
.b-move__text { margin-top: 12px; max-width: 32em; color: var(--sh-fg-2); font-size: 16.5px; line-height: 1.55; }
.b-track { display: none; }
html.b-live .b-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 18px 0 0; list-style: none; color: var(--sh-fg-3); font: 600 10.5px/1 var(--sh-font-mono); letter-spacing: .2em; text-transform: uppercase; }
.b-track::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--sh-line-2); }
.b-track li { position: relative; transition: color .4s ease; }
.b-track li::before { content: ""; position: absolute; left: 0; top: -22px; width: 7px; height: 7px; border-radius: 50%; background: var(--sh-ink-0); border: 1px solid var(--sh-fg-3); transition: background .4s ease, border-color .4s ease, box-shadow .4s ease; }
.sh-beat--how[data-b-step="1"] .b-track li:nth-child(-n + 1), .sh-beat--how[data-b-step="2"] .b-track li:nth-child(-n + 2),
.sh-beat--how[data-b-step="3"] .b-track li:nth-child(-n + 3), .sh-beat--how:not([data-b-step="1"]):not([data-b-step="2"]):not([data-b-step="3"]) .b-track li { color: var(--sh-fg); }
.sh-beat--how[data-b-step="1"] .b-track li:nth-child(1)::before, .sh-beat--how[data-b-step="2"] .b-track li:nth-child(2)::before,
.sh-beat--how[data-b-step="3"] .b-track li:nth-child(3)::before, .sh-beat--how[data-b-step="4"] .b-track li:nth-child(4)::before { background: var(--sh-gold-hi); border-color: var(--sh-gold-hi); box-shadow: 0 0 0 5px rgb(229 198 92 / 16%), 0 0 16px var(--sh-gold); }

/* Glass panels after the deck. */
.b-price, .b-spec { max-width: min(70vw, 1080px); padding: clamp(22px, 2.4vw, 38px); border: 1px solid var(--b-panel-line); border-radius: 22px; background: rgb(9 11 15 / 72%); box-shadow: 0 40px 100px -50px rgb(0 0 0 / 90%); }
html[data-tier="full"] .b-price, html[data-tier="full"] .b-spec { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); background: rgb(9 11 15 / 58%); }
.b-price { max-width: min(70vw, 860px); }
.b-price h3, .b-spec h3 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.sh-board { width: 100%; margin-top: 20px; border-collapse: collapse; font-variant-numeric: tabular-nums; perspective: 600px; }
.sh-board th, .sh-board td { padding: 12px 10px; border-top: 1px solid var(--sh-line); text-align: right; white-space: nowrap; }
.sh-board thead th { border-top: 0; padding-top: 0; color: var(--sh-fg-3); font: 600 10px/1.3 var(--sh-font-mono); letter-spacing: .18em; text-transform: uppercase; }
.sh-board th:first-child, .sh-board td:first-child { text-align: left; padding-left: 0; }
.sh-board tbody th { font-weight: 500; font-size: 16px; }
.b-tier { margin-left: 8px; padding: 3px 7px; border-radius: 4px; border: 1px solid currentColor; font: 600 9.5px/1 var(--sh-font-mono); letter-spacing: .16em; text-transform: uppercase; vertical-align: 2px; }
.sh-board .is-safe .b-tier { color: var(--sh-fg-3); }
.sh-board .is-mid .b-tier { color: var(--sh-gold-hi); }
.sh-board .is-risky .b-tier { color: #ff7c8a; }
.b-flip, .b-move__big { -webkit-text-stroke: .5px currentColor; }
.b-flip { display: table-cell; font: 400 clamp(28px, 2.6vw, 40px)/1 var(--sh-font-num); letter-spacing: -.02em; color: var(--sh-fg); transform-origin: 50% 50%; }
.sh-board .is-mid .b-flip { color: var(--sh-gold-hi); }
.sh-board .is-risky .b-flip { color: #ffb0b8; }
.sh-board td:nth-child(3) { color: var(--sh-fg); font-size: 16px; }
.sh-board td:last-child { color: var(--sh-fg-3); font: 500 13px/1 var(--sh-font-mono); letter-spacing: .06em; }
.sh-board.is-flipping .b-flip { animation: b-flap var(--sh-dur-flip, 360ms) cubic-bezier(.3, .7, .3, 1) both; }
.sh-board.is-flipping tr:nth-child(2) .b-flip { animation-delay: 80ms; }
.sh-board.is-flipping tr:nth-child(3) .b-flip { animation-delay: 160ms; }
.sh-board.is-flipping tr:nth-child(4) .b-flip { animation-delay: 240ms; }
.sh-board.is-flipping tr:nth-child(5) .b-flip { animation-delay: 320ms; }
.sh-board.is-flipping tr:nth-child(6) .b-flip { animation-delay: 400ms; }
@keyframes b-flap { 0% { transform: rotateX(90deg); opacity: .2; } 55% { transform: rotateX(-18deg); opacity: 1; } 100% { transform: none; } }

/* The spec as telemetry. */
.b-spec { max-width: min(70vw, 1120px); }
.sh-beat--how .sh-numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 18px 0 0; }
.sh-beat--how .sh-numbers > div { padding: 4px 22px 18px; border-left: 1px solid var(--sh-line); }
.sh-beat--how .sh-numbers > div:first-child { padding-left: 0; border-left: 0; }
.sh-beat--how .sh-numbers dt, .sh-beat--how .sh-facts dt, .sh-beat--how .sh-odds__table + p { color: var(--sh-fg-3); font: 600 10px/1.3 var(--sh-font-mono); letter-spacing: .18em; text-transform: uppercase; }
.sh-beat--how .sh-numbers dd { margin: 0; }
.sh-beat--how .sh-num { display: inline-block; margin-top: 10px; font: 400 clamp(36px, 3.4vw, 54px)/1 var(--sh-font-num); letter-spacing: -.03em; color: var(--sh-fg); white-space: nowrap; }
.sh-beat--how .sh-numbers > div:first-child .sh-num { color: var(--sh-gold-hi); }
.sh-beat--how .sh-num__unit { display: inline; margin-left: 4px; color: var(--sh-fg-3); font-size: 13px; }
.sh-beat--how .sh-numbers dd + dd { max-width: 22em; margin-top: 8px; color: var(--sh-fg-3); font-size: 12.5px; line-height: 1.5; }
.sh-beat--how .sh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--sh-line); }
.sh-beat--how .sh-facts dt { margin-bottom: 6px; }
.sh-beat--how .sh-facts dd { margin: 0; color: var(--sh-fg); font-size: 14px; line-height: 1.45; }
.sh-odds { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sh-line); }
.sh-odds__intro { max-width: 60em; color: var(--sh-fg-2); font-size: 14px; line-height: 1.55; }
.sh-beat--how .sh-odds__tables { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 16px; padding: 0; }
.sh-beat--how .sh-odds__tables .b-tag { margin-bottom: 10px; font-size: 9.5px; }
.sh-beat--how .sh-odds__table { margin: 0; }
.sh-beat--how .sh-odds__table > div { display: grid; grid-template-columns: 1fr auto 76px; align-items: center; gap: 4px 14px; padding: 8px 0 9px; border-top: 1px solid var(--sh-line); }
.sh-beat--how .sh-odds__table dt { color: var(--sh-fg); font-size: 14px; }
.sh-beat--how .sh-odds__table dd { margin: 0; color: var(--sh-fg-2); font: 500 12.5px/1 var(--sh-font-mono); font-variant-numeric: tabular-nums; }
.sh-beat--how .sh-odds__table dd.is-risky { color: #ff8b96; }
.sh-beat--how .sh-tagx { width: auto; text-align: right; color: var(--sh-fg-3); font: 600 9.5px/1 var(--sh-font-mono); letter-spacing: .16em; text-transform: uppercase; }
.sh-beat--how .sh-tagx.is-risky { color: #ff7c8a; }
.sh-beat--how .sh-odds__bar { display: block; grid-column: 1 / -1; height: 2px; width: var(--w, 0); border-radius: 2px; background: linear-gradient(90deg, var(--sh-fg-3), var(--sh-fg)); transform-origin: 0 50%; transition: transform 1.1s var(--b-ease); }
.sh-beat--how .is-risky > .sh-odds__bar { background: linear-gradient(90deg, #7a2a34, #ff5a6a); }
html.b-live .b-spec:not(.is-active):not(.is-past) .sh-odds__bar { transform: scaleX(0); }
.sh-odds__note { margin-top: 16px; color: var(--sh-fg-3); font-size: 12.5px; line-height: 1.55; }
.b-end { margin-top: 28px; }

@media (max-width: 1023px) {
  .sh-beat--how .b-frame { grid-template-columns: minmax(0, 1fr); }
  .b-price, .b-spec { max-width: none; }
  .sh-beat--how .sh-numbers { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .sh-beat--how .sh-numbers > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 767px) {
  .sh-beat--how { --b-step-h: 52svh; }
  .b-move__read { margin-bottom: 14px; }
  .b-move__text { font-size: 15px; }
  .b-price, .b-spec { padding: 18px 16px; }
  .sh-board thead { display: none; }
  .sh-board, .sh-board tbody { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sh-board tbody { grid-column: 1 / -1; }
  .sh-board tr { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 12px; border: 1px solid var(--sh-line); border-radius: 12px; background: rgb(255 255 255 / 3%); }
  .sh-board th, .sh-board td { padding: 0; border: 0; text-align: left; }
  .sh-board tbody th { grid-column: 1 / -1; font-size: 13px; white-space: normal; }
  .b-tier { display: inline-block; margin: 6px 0 0; }
  .sh-board td.b-flip { grid-column: 1 / -1; margin: 10px 0 6px; font-size: 34px; }
  .sh-board td:last-child { text-align: right; }
  .sh-beat--how .sh-numbers, .sh-beat--how .sh-facts, .sh-beat--how .sh-odds__tables { grid-template-columns: 1fr; }
  .sh-beat--how .sh-numbers > div { padding: 0 0 14px; border-left: 0; }
}
@media (max-height: 559px) and (orientation: landscape) {
  .b-price, .b-spec { max-width: none; }
  .sh-board td.b-flip { font-size: 28px; }
}
