/* Super Mario Bros. tokens are scoped; global MOBSIK navigation remains the shared shell. */
#supermario{--supermario-accent:#e7a05a;--supermario-ink:#f3edda;--supermario-muted:#c1c7b7;--supermario-surface:#18231e;padding-top:24px;padding-bottom:48px;color:var(--supermario-ink)}
#supermario .button{min-height:48px;border-radius:8px;font-weight:700;padding:14px 22px;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none;cursor:pointer;border:1px solid #53604d;transition:background .15s,transform .15s}#supermario .button.primary{background:var(--supermario-accent);color:#172018;border-color:var(--supermario-accent)}#supermario .button.secondary{background:#25372b;color:var(--supermario-ink)}#supermario .button:hover{filter:brightness(1.12)}#supermario .button:active{transform:translateY(1px)}#supermario :focus-visible{outline:3px solid #f3edda;outline-offset:3px}#supermario button:disabled{opacity:.55;cursor:wait}
#supermario .supermario-subnav{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;font-size:14px}#supermario a{color:inherit}#supermario .eyebrow{font-size:12px;font-weight:800;letter-spacing:.16em;color:#e7b175;margin:0 0 18px}#supermario .hero{position:relative;min-height:560px;display:grid;align-items:center;padding:48px;border-radius:16px;overflow:hidden;isolation:isolate;background:#0b1715}#supermario .hero picture,#supermario .hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}#supermario .hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071714aa,transparent 65%),linear-gradient(0deg,#09130e66,transparent 25%);z-index:-1}#supermario .hero-copy{width:52%;max-width:590px}#supermario h1{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(68px,7.5vw,110px);font-style:italic;letter-spacing:.025em;line-height:.98;color:#ed713d;-webkit-text-stroke:1px #e1c3a2;text-shadow:3px 4px #172518;margin:0 0 24px}#supermario .slogan{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(30px,3.5vw,48px);text-transform:uppercase;line-height:1.05;letter-spacing:.02em;margin:0 0 18px}#supermario .intro{font-size:17px;line-height:1.6;max-width:370px;color:#e0e2d3}#supermario .mode-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}#supermario .mode-pills span{border:1px solid #8b9a7355;background:#12251ccd;color:#e9e7d0;font-size:12px;padding:7px 10px;border-radius:5px}#supermario .entry-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0 20px;padding:26px;background:var(--supermario-surface);border-radius:12px;border:1px solid #53604d55}#supermario h2{font-size:28px;line-height:1.2;margin:0 0 10px}#supermario h3{font-size:19px;margin:0 0 10px}#supermario p{line-height:1.65}#supermario .entry-panel p{color:var(--supermario-muted);margin:0;max-width:570px;font-size:14px}#supermario .actions{display:flex;flex-wrap:wrap;gap:12px}#supermario .entry-panel .actions{flex:0 0 260px;display:grid}#supermario .catalog-link{font-size:14px;text-align:center;padding:7px}#supermario .notice{color:var(--supermario-muted);font-size:13px;border-left:2px solid #aa8c5d;padding:4px 14px;margin:22px 0}#supermario .section{margin-top:50px}#supermario .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}#supermario .step,#supermario .guide-card{padding:24px;background:#15241e;border:1px solid #52644c55;border-radius:10px}#supermario .step span{display:block;color:#e6a76c;font-family:monospace;font-size:26px;margin-bottom:20px}#supermario .step p,#supermario .guide-card p{color:var(--supermario-muted);font-size:15px;margin:0}#supermario .guide-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}#supermario .skins-panel{display:grid;grid-template-columns:1fr 220px;align-items:center;gap:25px;padding:32px;border-radius:12px;background:linear-gradient(110deg,#25392b,#17251e);border:1px solid #53604d88}#supermario .skins-panel img{width:170px;height:185px;object-fit:contain;justify-self:center;image-rendering:pixelated}#supermario .skins-panel p{color:var(--supermario-muted);max-width:650px}#supermario details{border-bottom:1px solid #53604d66;padding:18px 0}#supermario summary{font-size:17px;cursor:pointer;min-height:32px}#supermario details p{color:var(--supermario-muted);max-width:850px}#supermario .rooms-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}#supermario .room-card{padding:22px;background:#18291f;border:1px solid #53604d88;border-radius:10px;display:grid;gap:12px;min-width:0}#supermario .room-card h3{overflow-wrap:anywhere}#supermario .room-card p{margin:0;color:var(--supermario-muted)}#supermario #room-list-status{color:var(--supermario-muted)}#supermario [hidden]{display:none!important}
#supermario dialog{color:var(--supermario-ink);background:#15221c;border:1px solid #69795c;border-radius:14px;padding:0;width:min(550px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-shadow:0 30px 120px #000a}#supermario dialog::backdrop{background:#030a08c9;backdrop-filter:blur(5px)}#supermario .dialog-body{padding:26px;display:grid;gap:16px}#supermario .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}#supermario .dialog-head h2{margin:0;font-size:25px}#supermario .close-modal{border:0;background:#304334;color:var(--supermario-ink);border-radius:6px;font-size:26px;min-width:48px;min-height:48px;cursor:pointer}#supermario label{display:grid;gap:7px;font-size:14px;color:#d6dcc9}#supermario input,#supermario select{font:inherit;font-size:16px;color:#f5f1dc;background:#0c1913;border:1px solid #65765a;border-radius:7px;padding:13px;width:100%;min-height:48px;box-sizing:border-box}#supermario .field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}#supermario .form-error{color:#ffd0a1;min-height:20px;margin:0;font-size:14px}#supermario .hint{font-size:13px;color:var(--supermario-muted);margin:0}#supermario .room-identity{font-family:monospace;font-size:27px;letter-spacing:.09em;margin:0}#supermario .share-area{display:flex;align-items:center;gap:22px}#supermario .qr-box{background:white;padding:12px;border-radius:8px;flex-shrink:0}#supermario .qr-box canvas,#supermario .qr-box img{display:block;width:132px;height:132px}#supermario .room-actions{display:grid;gap:12px}#supermario .dialog-brand{border-top:1px solid #53604d66;padding-top:14px;display:flex;justify-content:space-between;font-size:12px;gap:10px}#supermario .dialog-brand a{color:#a7b89e}#supermario .danger{color:#ffba93!important}
@media(max-width:1100px){#supermario .hero{min-height:560px;padding:34px}#supermario .hero-copy{width:50%}#supermario .hero img{object-position:center}#supermario .entry-panel{align-items:stretch}}
@media(max-width:760px){#supermario{padding-top:16px;padding-bottom:32px}#supermario .hero{padding:28px 24px;min-height:680px;align-items:start}#supermario .hero-copy{width:100%}#supermario .hero:after{background:linear-gradient(180deg,#06181260,transparent 60%)}#supermario h1{font-size:76px;margin-bottom:14px}#supermario .slogan{font-size:34px}#supermario .eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:16px}#supermario .intro{display:none}#supermario .mode-pills{margin-top:16px;max-width:280px}#supermario .mode-pills span{font-size:10px;background:#12251caa}#supermario .entry-panel{display:block;padding:22px}#supermario .entry-panel .actions{display:grid;grid-template-columns:1fr;margin-top:20px}#supermario h2{font-size:25px}#supermario .steps,#supermario .guide-row,#supermario .rooms-grid{grid-template-columns:1fr}#supermario .section{margin-top:36px}#supermario .step{display:grid;grid-template-columns:35px 1fr;gap:6px 12px}#supermario .step span{grid-row:1/3;margin:0;font-size:22px}#supermario .step h3{margin:0}#supermario .step p{grid-column:2}#supermario .skins-panel{grid-template-columns:1fr;padding:24px;gap:8px}#supermario .skins-panel img{grid-row:1;width:130px;height:150px}#supermario .supermario-subnav{font-size:12px}#supermario .dialog-body{padding:20px}#supermario .field-row{grid-template-columns:1fr}#supermario .dialog-brand{flex-wrap:wrap}#supermario .share-area{gap:14px}#supermario .qr-box{padding:10px}#supermario .qr-box canvas{width:112px;height:112px}}
@media(prefers-reduced-motion:reduce){#supermario *{transition:none!important}}

/* Shared guide buttons have legacy min-heights; game controls use consistent targets. */
#supermario button.button{min-height:48px;height:auto;line-height:1.3}#supermario .share-area .button{padding:12px;font-size:13px}#supermario .room-actions .button{min-height:52px}
@media(max-width:760px){#supermario .share-area{align-items:center}#supermario .share-area h3{font-size:17px}#supermario .share-area .hint{font-size:12px;line-height:1.5}#supermario .dialog-body{gap:12px}#supermario .room-identity{font-size:24px}#supermario .room-actions p:empty{display:none}#supermario #room-dialog .actions .button{flex:1;padding:12px 10px;font-size:13px}}

@media(max-width:760px){#supermario .hero{min-height:540px}#supermario .entry-panel{display:flex;flex-direction:column;gap:22px}#supermario .entry-panel .actions{order:-1;flex:auto;width:100%;margin-top:0}}

/* Super Mario Bros.-specific DROP BAY composition; shared chrome stays untouched. */
@font-face{font-family:BattlePixel;src:url('/supermario-assets/art/Tiny5.ttf') format('truetype');font-display:swap}
#supermario{--supermario-accent:#efbc65;--supermario-ink:#fff3d6;--supermario-muted:#d3bd91;--supermario-surface:#302118}
#supermario .hero{padding:40px;min-height:610px;align-items:start;justify-items:end;background:#241b14}
#supermario .hero picture,#supermario .hero img{object-position:center;object-fit:cover}
#supermario .hero:after{background:linear-gradient(270deg,#07131de6,transparent 66%),linear-gradient(0deg,#06131b88,transparent 30%)}
#supermario .hero-copy{width:43%;max-width:480px;margin-top:16px}
#supermario h1{font-family:BattlePixel,monospace;font-size:clamp(48px,6.5vw,86px);font-style:normal;letter-spacing:0;line-height:.95;color:#efbc65;-webkit-text-stroke:0;text-shadow:3px 4px #07131d;margin-bottom:18px;overflow-wrap:normal}
#supermario .eyebrow,#supermario .step span{color:#e6b86b}#supermario .slogan{font-family:BattlePixel,monospace;font-size:42px;text-transform:none}#supermario .intro{color:#e0e8eb}
#supermario .button.secondary{background:#483420}#supermario .step,#supermario .guide-card,#supermario .room-card{background:#30251c;border-color:#41617a66}#supermario .skins-panel{background:linear-gradient(110deg,#513820,#38291d);border-color:#58778588}
@media(min-width:761px) and (max-width:1100px){#supermario .hero{min-height:660px}#supermario h1{font-size:62px}#supermario .hero-copy{width:42%;margin-top:0}#supermario .intro{font-size:15px}#supermario .slogan{font-size:36px}}
@media(max-width:760px){#supermario .hero{min-height:0;padding:0;display:block}#supermario .hero picture{display:block;position:relative;inset:auto;width:100%;height:auto;z-index:-2}#supermario .hero img{display:block;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain}#supermario .hero-copy{position:absolute;top:18px;left:20px;right:20px;width:auto;max-width:none;margin:0}#supermario .hero:after{background:linear-gradient(180deg,#061422ee,transparent 62%)}#supermario h1{font-size:52px;margin:0 0 10px}#supermario .eyebrow{font-size:10px;margin-bottom:10px}#supermario .slogan{font-size:26px;margin-bottom:8px}#supermario .mode-pills{margin-top:10px}#supermario .mode-pills span{padding:5px 8px;font-size:10px}#supermario .skins-panel img{height:130px}}
/* Fit the full game name inside the live copy column at every breakpoint. */
#supermario h1{font-size:clamp(42px,5.3vw,72px)}
@media(min-width:761px) and (max-width:1100px){#supermario h1{font-size:clamp(40px,5.3vw,60px)}}
@media(max-width:760px){#supermario h1{font-size:clamp(32px,10vw,46px)}}
#supermario .hero{aspect-ratio:16/9;min-height:0}
@media(min-width:761px) and (max-width:1100px){#supermario .hero{aspect-ratio:4/3;min-height:0}}
@media(max-width:760px){#supermario .hero{aspect-ratio:auto}}

/* Match the three original workshop compositions. */
@media(min-width:761px){#supermario .hero{justify-items:start}#supermario .hero:after{background:linear-gradient(90deg,#07131de6,transparent 66%),linear-gradient(0deg,#06131b88,transparent 30%)}}
@media(max-width:760px){#supermario .hero img{aspect-ratio:3/4}}

/* Borderless Mario palette. */
#supermario {--supermario-accent:#c52f28;--supermario-ink:#ffffff;--supermario-muted:#c5d7ed;--supermario-surface:#142b48;}
#supermario .button,#supermario .mode-pills span,#supermario .entry-panel,#supermario .step,#supermario .guide-card,#supermario .skins-panel,#supermario .room-card,#supermario dialog,#supermario input,#supermario select,#supermario details {border:0;}
#supermario h1 {-webkit-text-stroke:0;text-shadow:none;color:#ffffff;}
#supermario .button.primary {background:#c52f28;color:#ffffff;}
#supermario .button.secondary,#supermario .close-modal {background:#234a74;color:#ffffff;}
#supermario dialog,#supermario .step,#supermario .guide-card,#supermario .room-card {background:#142b48;}
#supermario input,#supermario select {background:#0c2038;color:#ffffff;}
