/* The existing mobile buying links and homepage remain untouched. */
@media(min-width:1024px){
 .home-page #main > .countdown-game-row{display:none}
 .home-discovery[hidden]{display:block;max-width:480px;margin-top:14px}
 .home-discovery-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;border:1px solid #ffe43655;border-radius:18px 18px 0 0;background:#0a0c08f2}
 .home-discovery .buy-panel{margin-top:0;border-top:0;border-radius:0 0 18px 18px}
 .home-discovery-tabs button{min-width:0;min-height:44px;padding:11px 10px;border:0;border-radius:9px;background:transparent;color:#c7c7bb;font-family:inherit;font-size:15px;font-weight:600;line-height:1.2;cursor:pointer}
 .home-discovery-tabs button[aria-selected=true]{background:#ffe436;color:#101208}
 .home-discovery-tabs button:hover{box-shadow:inset 0 0 0 1px #ffe436}
 /* Keep inactive panels measurable but inert; the selected panel controls
    the animated height so the Buy warning and guide stay close underneath. */
 .home-discovery-panels{display:grid;align-items:start;height:var(--home-panel-height,auto);overflow:hidden;transition:height .2s ease}
 .home-discovery-panel{grid-area:1/1;min-width:0}
 .home-discovery-panel[aria-hidden=true]{visibility:hidden;pointer-events:none}
 .home-feature{margin-top:0;border:1px solid #ffe43655;border-top:0;border-radius:0 0 18px 18px;background:#0a0c08f2;overflow:hidden}
 .home-feature-art{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;background:#11130f}
 .home-feature-copy{padding:15px 18px 18px}
 .home-feature-copy .home-feature-eyebrow{margin:0 0 5px;color:#ffe436;font:600 12px/1.4 sans-serif;letter-spacing:.09em;text-transform:uppercase}
 .home-feature-copy h2{margin:0;color:#f5f5ef;font-family:inherit;font-size:25px;font-weight:700;line-height:1.2;letter-spacing:0}
 .home-feature-copy .home-feature-description{margin:8px 0 0;color:#d8dbd0;font:400 14px/1.5 sans-serif}
 .home-feature-actions{display:flex;align-items:center;gap:12px 18px;margin-top:14px;flex-wrap:wrap}
 .home-feature-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 15px;border-radius:8px;background:#ffe436;color:#101208;font:700 14px/1.3 sans-serif;text-align:center;text-decoration:none}
 .home-feature-primary:hover{background:#fff18a}
 .home-feature-secondary{display:inline-flex;align-items:center;min-height:44px;color:#ffe436;font:600 14px/1.3 sans-serif;text-decoration:underline;text-underline-offset:4px}
 .home-feature-secondary:hover{color:#fff18a}
 .home-creations-art{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px 18px;background:#11130f;aspect-ratio:1672/941;align-items:center}
 .home-creations-art img{display:block;width:100%;height:100%;min-height:0;max-height:230px;object-fit:contain}
 .home-discovery :focus-visible{outline:3px solid white;outline-offset:3px}
}

/* Keep the existing facts directly beneath the desktop character invitation.
   Their original DOM position is restored below 1024px. */
@media(min-width:1024px){
 .home-page .hero-bottom{flex-direction:column;align-items:stretch;gap:24px}
 .home-page .hero-bottom>.hero-introduction{align-self:center}
 .home-page .hero-bottom>.home-token-summary{width:100%;min-width:0;max-width:720px;margin:0 auto;padding:0;background:transparent;letter-spacing:normal;text-align:center}
 .hero-bottom .home-token-facts{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;margin:0;gap:0}
 .hero-bottom .home-token-facts>div{padding:0 8px;border-left:1px solid #ffe43030}
 .hero-bottom .home-token-facts>div:first-child{border-left:0}
 .hero-bottom .home-token-facts dt{min-height:42px;font-size:14px;line-height:21px;display:flex;align-items:end;justify-content:center}
 .hero-bottom .home-token-facts dd{min-height:28px;margin-top:6px;font-size:clamp(15px,1.25vw,18px);line-height:28px;letter-spacing:-.4px;white-space:nowrap;display:block}
 .hero-bottom .home-token-facts a{font-size:14px;line-height:1.4;min-height:44px;letter-spacing:normal}
 .hero-bottom .home-token-note{max-width:100%;margin:8px auto 0;font-size:12px;line-height:1.5;letter-spacing:normal}
 .home-page #main>.hero{min-height:max(100svh,calc(var(--desktop-art-height) + var(--hero-intro-space,160px) + var(--hero-token-space,0px)))}
}

/* One desktop information column: invitation, token facts, then Market.
   The original mobile layout stays owned by its existing styles. */
@media(min-width:1024px){
 .home-page .hero-bottom>.home-market{width:100%;min-width:0;max-width:720px;margin:0 auto;padding:14px 16px;font-size:16px;line-height:normal;letter-spacing:normal;text-align:left}
 .hero-bottom .home-market .market-heading{height:24px;min-height:24px;margin:0;gap:0}
 .hero-bottom .home-market .market-heading h2{font-size:18px;line-height:24px}
 .hero-bottom .home-market .market-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding-top:0;border-top:0}
 .hero-bottom .home-market .market-stats>div{padding:0 8px;border-left:1px solid #ffffff15}
 .hero-bottom .home-market .market-stats>div:first-child{padding-left:0;border-left:0}
 .hero-bottom .home-market .market-stats dt{min-height:42px;font-size:13px;line-height:21px;display:flex;align-items:end}
 .hero-bottom .home-market .market-stats dd{min-height:28px;margin-top:6px;font-size:clamp(15px,1.25vw,18px);line-height:28px;letter-spacing:-.4px}
 .hero-bottom .home-market iframe{display:block;width:100%;height:400px;max-width:100%}
 .home-page #main>.hero-info-row:not(:has(>.home-market)){display:none}
}

@media(min-width:1024px) and (prefers-reduced-motion:reduce){
 .home-discovery-panels{transition:none}
}

/* Relocate the original story CTA below the desktop cast without duplicating it. */
@media(min-width:1024px){
 .home-page .community-section>.story-creations{position:relative;z-index:2;margin:22px auto 0;padding:0;justify-content:center}
 .home-page .community-section>.story-creations>a{min-height:44px;padding:10px 18px;border:1px solid #ffe43080;border-radius:8px;color:#ffe430;font-size:14px;line-height:1.4}
 .home-page .community-section>.story-creations+.community-hint{margin-top:12px}
}
