@layer reset, base, components, responsive;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p { margin: 0; }
  button, input { font: inherit; }
  button { cursor: pointer; }
  img { display: block; max-width: 100%; }
  [hidden] { display: none !important; }
}
@layer base {
  :root { color-scheme: dark; --bg: #101410; --surface: #191e19; --surface-2: #202620; --ink: #f2f4ec; --muted: #a7afa4; --lime: #b9ff66; --line: #374036; --dim: #758072; --danger: #ffc7a9; --display: 'Arial Black', 'Helvetica Neue', Arial, sans-serif; --body: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
  body { min-width: 320px; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
  body.dialog-open { overflow: hidden; }
  a { color: inherit; text-decoration: none; }
  button { color: inherit; border: 0; }
  :focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
  ::selection { background: var(--lime); color: var(--bg); }
  .shell { width: min(100% - 40px, 1320px); margin-inline: auto; }
  .skip-link { position: absolute; z-index: 100; top: -100px; left: 12px; padding: 12px 16px; background: var(--lime); color: var(--bg); }
  .skip-link:focus { top: 12px; }
  .brand-period { color: var(--lime); }
  .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .icon { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; vertical-align: middle; }
  .section-marker, .eyebrow, .panel-kicker { color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .17em; line-height: 1.4; }
  .signal-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #b9ff6680; vertical-align: 1px; }
}
@layer components {
  .site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-size: 25px; font-weight: 900; letter-spacing: -.08em; }
  .brand-mark { display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; }
  .brand-mark img { width: 34px; height: 34px; object-fit: contain; }
  .landing-nav { display: flex; gap: clamp(18px, 3vw, 42px); color: var(--muted); font-size: 13px; font-weight: 600; }
  .landing-nav a:hover, .text-link:hover, .site-footer a:hover { color: var(--lime); }
  .header-action { min-height: 44px; padding: 0 0 0 22px; border-left: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 800; white-space: nowrap; }
  .header-action .icon { margin-left: 12px; color: var(--lime); }
  .header-action:hover { color: var(--lime); }
  .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 56px; padding: 15px 21px; font-size: 14px; font-weight: 800; text-align: left; transition: transform .18s ease, background .18s ease, color .18s ease; }
  .button:hover:not(:disabled) { transform: translateY(-2px); }
  .button:disabled, .quiet-button:disabled, .reset-button:disabled { cursor: not-allowed; opacity: .48; }
  .button-primary { background: var(--lime); color: var(--bg); }
  .button-primary:hover:not(:disabled) { background: #d1ff9a; }
  .button-dark { background: var(--bg); color: var(--lime); }
  .button-dark:hover { background: #263026; }
  .button-full { width: 100%; }
  .hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; gap: clamp(36px, 6vw, 100px); padding-block: clamp(54px, 8vw, 112px) clamp(58px, 8vw, 110px); }
  .hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
  .eyebrow-index { margin-left: 18px; color: var(--dim); }
  .hero h1 { margin-top: 36px; font-family: var(--display); font-size: clamp(48px, 5.55vw, 88px); line-height: 1.075; font-weight: 900; letter-spacing: -.075em; }
  .hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
  .hero h1 em { color: var(--lime); font-style: normal; }
  .hero-lede { max-width: 510px; margin-top: 34px; color: #b8c0b4; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
  .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; margin-top: 36px; }
  .hero-actions .button { min-width: 187px; }
  .text-link { border-bottom: 1px solid var(--dim); padding-block: 10px; font-size: 13px; font-weight: 700; }
  .text-link .icon { margin-left: 12px; width: 16px; height: 16px; }
  .hero-disclaimer { margin-top: 28px; color: var(--dim); font-size: 12px; line-height: 1.5; }
  .hero-art { display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; padding: 21px; overflow: hidden; border: 1px solid var(--line); background: #080a08; }
  .hero-art img { width: min(100%, 460px); height: auto; aspect-ratio: 1; align-self: center; object-fit: contain; }
  .art-top, .art-bottom { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-family: monospace; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
  .art-cross { color: var(--lime); }
  .art-bottom span:last-child { text-align: right; }
  .marquee-line { overflow: hidden; border-block: 1px solid var(--line); background: #151a15; }
  .marquee-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 55px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .16em; white-space: nowrap; }
  .marquee-symbol { width: 14px; height: 14px; color: var(--lime); }
  .section { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-block: clamp(80px, 10vw, 154px); border-bottom: 1px solid var(--line); }
  .section-marker { padding-top: 8px; }
  .concept-body { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 42px; }
  .section h2, .season-layout h2, .closing h2 { font-family: var(--display); font-size: clamp(42px, 4.8vw, 72px); line-height: 1.06; letter-spacing: -.07em; }
  .concept h2 span { color: var(--lime); }
  .concept-body p, .season-intro { color: var(--muted); font-size: 16px; line-height: 1.7; }
  .section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 54px; }
  .section-aside { color: var(--dim); font-family: monospace; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
  .step-list { margin: 0; padding: 0; list-style: none; }
  .step-list li { display: grid; grid-template-columns: 70px 1fr 30px; gap: 20px; padding: 28px 0 32px; border-top: 1px solid var(--line); }
  .step-number { color: var(--lime); font-family: monospace; font-size: 14px; }
  .step-list h3 { margin-bottom: 9px; font-size: 23px; letter-spacing: -.04em; }
  .step-list p { max-width: 520px; color: var(--muted); font-size: 14px; line-height: 1.65; }
  .step-end { color: var(--dim); justify-self: end; }
  .season-section { padding-block: clamp(84px, 9vw, 132px); background: var(--lime); color: var(--bg); }
  .season-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 155px); }
  .season-section .section-marker { color: #334d19; }
  .season-layout h2 { margin-top: 38px; }
  .season-intro { max-width: 430px; margin-top: 28px; color: #344429; }
  .season-rules > div { padding: 23px 0 27px; border-top: 1px solid #759c50; }
  .season-rules > div > span { display: block; margin-bottom: 17px; color: #344429; font-family: monospace; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
  .season-rules strong { display: block; font-family: var(--display); font-size: clamp(38px, 4vw, 56px); letter-spacing: -.07em; line-height: 1; }
  .season-rules strong small { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0; }
  .season-rules p { max-width: 440px; margin-top: 10px; color: #344429; font-size: 14px; line-height: 1.55; }
  .season-rules .rule-probabilities { color: var(--bg); font-size: 16px; font-weight: 800; line-height: 1.5; }
  .faq h2 { margin-bottom: 42px; }
  .faq-list { border-top: 1px solid var(--line); }
  .faq-list details { border-bottom: 1px solid var(--line); }
  .faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 74px; padding-block: 18px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; cursor: pointer; list-style: none; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary span { color: var(--lime); font-size: 24px; font-weight: 400; }
  .faq-list details[open] summary span { transform: rotate(45deg); }
  .faq-list p { max-width: 650px; padding: 0 30px 25px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
  .closing { background: var(--lime); color: var(--bg); }
  .closing-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-block: 68px; }
  .closing .section-marker { color: #344429; }
  .closing h2 { margin-top: 24px; }
  .closing .button { min-width: 180px; }
  .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 37px; color: var(--dim); font-size: 12px; }
  .footer-brand { color: var(--ink); font-family: var(--display); font-size: 23px; font-weight: 900; letter-spacing: -.08em; }

  /* The dashboard is an operating surface: actions and state before decoration. */
  .app-shell { padding-block: 30px 90px; }
  .simulation-caveat { margin-bottom: 19px; padding: 12px 14px; border: 1px solid #69824c; background: #263421; color: #def8c1; font-size: 11px; font-weight: 700; line-height: 1.5; }
  .demo-badge { color: var(--lime); font-family: monospace; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
  .app-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 22px 0 28px; }
  .app-heading h1 { margin-top: 11px; font-family: var(--display); font-size: clamp(42px, 5vw, 70px); line-height: 1.03; letter-spacing: -.075em; }
  .app-heading p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
  .clock-panel { display: grid; justify-items: end; gap: 6px; text-align: right; }
  .clock-panel > span { color: var(--lime); font-family: monospace; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
  .clock-panel strong { font-family: monospace; font-size: 17px; font-weight: 600; }
  .clock-panel small { color: var(--dim); font-size: 11px; }
  .notice { margin-bottom: 20px; padding: 15px 18px; border: 1px solid #627d43; background: #263421; color: #def8c1; font-size: 13px; line-height: 1.5; }
  .notice.error { border-color: #9a6955; background: #392b25; color: #ffe0ce; }
  .metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
  .metric { min-width: 0; padding: 22px clamp(15px, 2vw, 30px); border-right: 1px solid var(--line); background: var(--surface); }
  .metric:last-child { border: 0; }
  .metric > span { display: block; color: var(--muted); font-family: monospace; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
  .metric strong { display: block; margin-top: 16px; font-family: var(--display); font-size: clamp(26px, 3vw, 42px); letter-spacing: -.065em; line-height: 1; overflow-wrap: anywhere; }
  .metric small { display: block; margin-top: 9px; color: var(--muted); font-size: 11px; }
  .metric-accent { background: var(--lime); color: var(--bg); }
  .metric-accent > span, .metric-accent small { color: #3c5229; }
  .quick-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; margin-top: 20px; }
  .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); align-items: start; gap: 20px; margin-top: 20px; }
  .dashboard-main, .dashboard-side { display: grid; gap: 20px; min-width: 0; }
  .panel { min-width: 0; padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--line); background: var(--surface); }
  .panel-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
  .panel h2 { margin-top: 9px; font-family: var(--display); font-size: clamp(25px, 2.7vw, 36px); line-height: 1.12; letter-spacing: -.06em; }
  .panel-symbol { width: 24px; height: 24px; color: var(--lime); }
  .claim-area { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 27px; padding: 18px; border: 1px solid #4f6940; background: #243022; }
  .claim-area strong { font-size: 14px; }
  .claim-area p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
  .claim-area .button { flex: 0 0 auto; min-height: 46px; padding: 12px 14px; font-size: 12px; }
  .mode-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 27px; border-bottom: 1px solid var(--line); }
  .mode-tab { min-height: 44px; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; }
  .mode-tab.is-active { border-color: var(--lime); color: var(--lime); }
  .stake-season-warning { margin-top: 17px; padding: 13px 15px; border: 1px solid #738c54; background: #263321; color: #e0f4ca; font-size: 12px; line-height: 1.5; }
  #stake-form label { display: block; margin-top: 27px; color: var(--ink); font-family: monospace; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
  #stake-form label span { color: var(--dim); }
  .amount-wrap { display: flex; margin-top: 10px; border: 1px solid #657261; background: var(--bg); }
  .amount-wrap:focus-within { border-color: var(--lime); }
  .amount-wrap input { width: 100%; min-width: 0; min-height: 60px; padding: 8px 18px; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: monospace; font-size: 24px; font-weight: 700; }
  .amount-wrap input:disabled { opacity: .5; }
  .amount-wrap button { padding: 0 18px; background: transparent; color: var(--lime); font-family: monospace; font-size: 12px; font-weight: 800; }
  .amount-wrap button:disabled { opacity: .5; }
  .field-footer { display: flex; justify-content: space-between; gap: 10px; min-height: 43px; padding-top: 10px; color: var(--dim); font-size: 11px; line-height: 1.4; }
  .field-error { color: var(--danger); text-align: right; }
  .panel-footnote, .panel-description { margin-top: 17px; color: var(--dim); font-size: 11px; line-height: 1.6; }
  .heading-count { color: var(--dim); font-family: monospace; font-size: 14px; letter-spacing: 0; vertical-align: middle; }
  .quiet-button { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--lime); font-size: 12px; font-weight: 800; white-space: nowrap; }
  .quiet-button:hover:not(:disabled) { border-color: var(--lime); }
  .slots-list, .chests-list { display: grid; gap: 10px; margin-top: 22px; }
  .slot-row { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 86px; padding: 14px 16px; border: 1px solid var(--line); background: var(--bg); }
  .slot-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #53644b; color: var(--lime); }
  .slot-row strong, .chest-row strong { display: block; font-size: 14px; }
  .slot-row small, .chest-row small { display: block; margin-top: 6px; color: var(--dim); font-size: 11px; line-height: 1.4; }
  .slot-timer { color: var(--lime); font-family: monospace; font-size: 15px; font-weight: 700; white-space: nowrap; }
  .slot-timer.waiting { color: var(--muted); font-size: 11px; text-align: right; white-space: normal; }
  .empty-state { padding: 30px 20px; border: 1px dashed #4b5749; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }
  .ready-indicator { padding: 7px 9px; border: 1px solid var(--line); color: var(--muted); font-family: monospace; font-size: 10px; font-weight: 800; letter-spacing: .05em; white-space: nowrap; }
  .ready-indicator.has-ready { border-color: var(--lime); color: var(--lime); }
  .chest-row { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid #53684a; background: #222d20; }
  .chest-row img { width: 52px; height: 52px; object-fit: contain; }
  .chest-row > div { flex: 1; min-width: 0; }
  .chest-row .button { min-height: 44px; padding: 9px 13px; font-size: 12px; }
  .season-panel h2 { margin: 24px 0 33px; }
  .season-progress-head, .budget-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .season-progress-head span { color: var(--muted); font-family: monospace; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
  .season-progress-head strong { font-family: monospace; font-size: 12px; }
  .progress-track { height: 7px; margin: 13px 0 27px; background: #394737; }
  .progress-track span { display: block; width: 0; height: 100%; background: var(--lime); transition: width .3s ease; }
  .budget-rows { display: grid; gap: 15px; }
  .budget-rows > div { color: var(--muted); font-size: 12px; }
  .budget-rows strong { color: var(--ink); font-size: 12px; text-align: right; }
  .budget-rows .budget-available { padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }
  .budget-rows .budget-available strong { color: var(--lime); }
  .season-reason { margin-top: 22px; padding: 12px; background: #35402b; color: #dcf4c1; font-size: 12px; line-height: 1.5; }
  .season-explainer, .odds-panel > p { margin-top: 22px; color: var(--dim); font-size: 11px; line-height: 1.6; }
  .odds-panel h2 { margin-bottom: 25px; }
  .odds-list { border-top: 1px solid var(--line); }
  .odds-row { display: grid; grid-template-columns: 1fr auto; gap: 3px 15px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .odds-row strong { color: var(--lime); font-family: monospace; }
  .odds-row small { grid-column: 1 / -1; color: var(--dim); font-size: 11px; }
  .history-list { display: grid; gap: 0; max-height: 340px; margin: 20px 0 0; padding: 0; overflow: auto; list-style: none; }
  .history-list li { padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.45; }
  .history-list time { display: block; margin-bottom: 6px; color: var(--lime); font-family: monospace; font-size: 10px; }
  .reset-button { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; border: 1px solid #765149; background: transparent; color: #ffc7a9; font-size: 13px; font-weight: 800; }
  .reset-button:hover:not(:disabled) { background: #392b25; }
  .reset-caption { margin-top: -11px; color: var(--dim); font-size: 11px; }
  .reveal-overlay { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: #080b08df; }
  .reveal-dialog { --rarity: var(--lime); position: relative; display: flex; flex-direction: column; align-items: center; width: min(100%, 420px); padding: 30px 28px; border: 1px solid var(--rarity); background: var(--surface); text-align: center; box-shadow: 0 30px 120px #0009; }
  .reveal-dialog[data-rarity="rare"] { --rarity: #80caff; }
  .reveal-dialog[data-rarity="epic"] { --rarity: #c6a4ff; }
  .reveal-dialog[data-rarity="legendary"] { --rarity: #ffd077; }
  .reveal-dialog img { width: 170px; height: 170px; margin: 8px 0 13px; object-fit: contain; animation: reveal-pop .65s cubic-bezier(.2, .8, .2, 1) both; }
  .reveal-dialog[data-rarity="rare"] img { filter: hue-rotate(145deg) saturate(1.2); }
  .reveal-dialog[data-rarity="epic"] img { filter: hue-rotate(205deg) saturate(1.2); }
  .reveal-dialog[data-rarity="legendary"] img { filter: hue-rotate(305deg) saturate(1.1); }
  .rarity-label { padding: 7px 10px; border: 1px solid var(--rarity); color: var(--rarity); font-family: monospace; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
  .reveal-close { position: absolute; top: 10px; right: 13px; display: grid; place-items: center; width: 44px; height: 44px; background: transparent; color: var(--muted); }
  .reveal-dialog p { color: var(--muted); font-size: 13px; }
  .reveal-dialog h2 { margin-top: 7px; font-family: var(--display); font-size: 38px; letter-spacing: -.06em; }
  .reveal-dialog strong { margin-top: 7px; color: var(--rarity); font-family: var(--display); font-size: 68px; letter-spacing: -.07em; line-height: 1; }
  .reveal-dialog > span:last-of-type { color: var(--muted); font-family: monospace; font-size: 11px; letter-spacing: .14em; }
  .reveal-dialog .button { width: 100%; margin-top: 25px; }
  @keyframes reveal-pop { from { transform: scale(.65) rotate(-8deg); opacity: .35; } to { transform: scale(1) rotate(0); opacity: 1; } }
}
@layer responsive {
  @media (max-width: 1000px) {
    .hero { gap: 30px; }
    .hero-art { min-height: 450px; }
    .hero h1 { font-size: clamp(44px, 5.6vw, 70px); }
    .concept-body { grid-template-columns: 1fr; gap: 25px; }
    .dashboard-grid { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); }
    .claim-area { align-items: stretch; flex-direction: column; }
  }
  @media (max-width: 760px) {
    .shell { width: min(100% - 32px, 640px); }
    .header-inner { min-height: 58px; }
    .landing-nav { display: none; }
    .hero { grid-template-columns: 1fr; gap: 39px; padding-block: 58px 68px; }
    .hero h1 { margin-top: 28px; font-size: clamp(43px, 9.2vw, 68px); }
    .hero-lede { margin-top: 25px; }
    .hero-art { min-height: 0; aspect-ratio: 1.1; }
    .hero-art img { width: min(75%, 420px); }
    .marquee-inner { justify-content: flex-start; width: max-content; gap: 21px; }
    .section { grid-template-columns: 1fr; gap: 29px; padding-block: 80px; }
    .section-marker { padding: 0; }
    .season-layout { grid-template-columns: 1fr; gap: 55px; }
    .season-layout h2 { margin-top: 23px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .quick-board { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
    .dashboard-grid { gap: 12px; margin-top: 12px; }
    .dashboard-main, .dashboard-side { gap: 12px; }
    .app-shell { padding-block: 14px 52px; }
    .dashboard-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .season-panel, .history-panel { grid-column: 1 / -1; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .metric:nth-child(2) { border-right: 0; }
    .metric:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  }
  @media (max-width: 520px) {
    .brand { font-size: 22px; }
    .header-action { padding-left: 13px; font-size: 12px; }
    .header-action .icon { margin-left: 6px; width: 16px; height: 16px; }
    .hero h1 { font-size: clamp(34px, 9vw, 55px); }
    .hero-lede { font-size: 16px; }
    .hero-actions { gap: 16px; }
    .hero-actions .button { width: 100%; }
    .hero-art { padding: 15px; }
    .section h2, .season-layout h2, .closing h2 { font-size: clamp(39px, 11vw, 55px); }
    .section-heading-row { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 35px; }
    .step-list li { grid-template-columns: 42px 1fr 20px; gap: 9px; }
    .step-list h3 { font-size: 20px; }
    .closing-inner { align-items: start; flex-direction: column; }
    .closing .button { width: 100%; }
    .site-footer { align-items: start; flex-direction: column; }
    .app-heading { align-items: center; flex-direction: row; gap: 8px; padding: 0 0 15px; }
    .app-heading h1 { margin-top: 6px; font-size: clamp(24px, 7.2vw, 34px); }
    .app-heading p { display: none; }
    .demo-badge { font-size: 9px; letter-spacing: .02em; white-space: nowrap; }
    .demo-badge .signal-dot { margin-right: 5px; }
    .clock-panel { flex: 0 0 auto; gap: 3px; justify-items: end; text-align: right; }
    .clock-panel strong { max-width: 148px; font-size: 11px; line-height: 1.3; }
    .clock-panel > span { font-size: 9px; }
    .clock-panel small { display: none; }
    .metric { padding: 13px 13px 12px; }
    .metric strong { margin-top: 9px; font-size: 27px; }
    .metric small { margin-top: 5px; font-size: 10px; }
    .metric > span { font-size: 9px; }
    .panel { padding: 14px; }
    .panel-head { gap: 8px; }
    .panel h2 { margin-top: 5px; font-size: 24px; }
    .ready-indicator { padding: 5px 6px; font-size: 9px; }
    .slots-list, .chests-list { margin-top: 10px; }
    .empty-state { padding: 10px 12px; font-size: 12px; line-height: 1.4; text-align: left; }
    .slots-panel .panel-description { display: none; }
    .dashboard-side { grid-template-columns: 1fr; }
    .season-panel, .history-panel { grid-column: auto; }
    .slots-panel .panel-head { align-items: start; flex-direction: row; }
    .slots-panel .panel-head .quiet-button { padding-inline: 8px; font-size: 10px; }
    .slots-panel .panel-head .quiet-button .icon { width: 14px; height: 14px; }
    .slot-row { grid-template-columns: 40px minmax(0, 1fr); gap: 9px; min-height: 0; padding: 10px 12px; }
    .slot-icon { width: 36px; height: 36px; }
    .slot-timer { grid-column: 2; }
    .chest-row { flex-wrap: wrap; }
    .chest-row .button { width: 100%; }
    .reveal-dialog { padding: 26px 20px; }
    .reveal-dialog img { width: 150px; height: 150px; }
    .reveal-dialog strong { font-size: 56px; }
  }
  @media (max-width: 360px) {
    .ready-indicator { display: none; }
    .chest-panel h2 { font-size: 22px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}
