/* Console surface family: tactile controls, quiet paper, dimensional hardware. */
:root{--case-edge:#51465d;--case-shadow:#100b17;--panel-radius:18px;--control-radius:12px}
.slab.btn::before,.slab.btn::after,
.slab.sticker::before,.slab.sticker::after,
.slab.stamp::before,.slab.stamp::after,
.slab.welcome::before,.slab.welcome::after,
.slab.portrait::before,.slab.portrait::after,
.slab.print::before,.slab.print::after,
.slab.ticket::before,.slab.ticket::after{display:none}
.slab.btn{background:linear-gradient(165deg,#ffda49,var(--yellow));border:1px solid #ffe783;border-radius:var(--control-radius);box-shadow:inset 0 2px 0 #fff0a3,0 5px 0 #b88709,0 8px 0 var(--case-shadow);translate:0 0;transition:translate .12s,box-shadow .12s,filter .12s}
.slab.btn:hover{translate:0 -1px;filter:brightness(1.04)}
.slab.btn:active,.slab.btn.small:active{translate:0 4px;box-shadow:inset 0 2px 0 #fff0a3,0 1px 0 #b88709,0 4px 0 var(--case-shadow)}
.slab.btn.small{border-radius:9px}
.toolbox-console{border-color:var(--case-edge);box-shadow:0 7px 0 var(--case-shadow)}
.slab.sticker{background:var(--yellow);border:1px solid #ffe78a;border-radius:14px;box-shadow:inset 0 2px #fff0a3,0 4px #bd900f,0 7px #100b174d}
.slab.stamp{background:var(--ink);border:2px solid #51465d;border-radius:12px;box-shadow:inset 0 1px #74647f,0 4px #100b17}
.slab.welcome{background:var(--paper-hi);border:1px solid #dacda9;border-radius:14px;box-shadow:0 3px #b79942}
.slab.portrait,.slab.print{background:var(--paper-hi);border:1px solid #d1c5ae;border-radius:12px;box-shadow:0 4px #c1b397,0 10px 22px #0002}
.portrait img,.print img{border-radius:6px}
.slab.ticket{background:var(--paper-hi);border:2px solid var(--case-edge);border-radius:22px;box-shadow:inset 0 2px #fff,0 7px var(--case-shadow)}
.fields input{border:2px solid #b4a7c0;border-radius:10px;background:#fffdf8;box-shadow:inset 0 2px 3px #29143710}
.fields .btn{margin-bottom:8px}
.screen-frame{border:2px solid var(--case-edge);border-radius:14px;box-shadow:inset 0 2px #6d5d7a,0 6px var(--case-shadow)}
.pin{border:1px solid #b4a7c0;border-radius:10px;box-shadow:0 3px #b0a0bd,0 6px 12px #29143718}
.share-chip{border:1px solid var(--case-edge);border-radius:7px;box-shadow:0 3px var(--case-shadow)}
.store-plate{clip-path:none;border:2px solid var(--case-edge);border-radius:12px;box-shadow:0 5px var(--case-shadow)}
.mock-btn{border-radius:6px;box-shadow:inset 0 1px #fff0a3,0 2px #b88709}.mock-btn.ghost{border-radius:6px}
.cat{border-radius:4px}.avatar{clip-path:none;border-radius:6px}
.tag{border-radius:5px}
@media(prefers-reduced-motion:reduce){.slab.btn{transition:none}}

/* Community: a quieter invitation beside a console for the widening audience. */
.community{background:#eee9e2;background-image:radial-gradient(ellipse at 80% 40%,#dcd2ec88,transparent 62%);padding-block:clamp(64px,8vw,112px)}
.widen{grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:clamp(30px,4vw,60px)}
.widen h2{font-family:var(--text);font-variation-settings:normal;font-weight:700;font-stretch:normal;text-transform:none;letter-spacing:-.045em;font-size:clamp(38px,4.5vw,62px);line-height:1.03}
.widen h2 em{color:#6235a8}
.widen .intro{font-size:16px;line-height:1.55;max-width:33ch;margin:22px 0 26px;color:#60566a}
.community .reach{padding:12px;margin-bottom:25px;gap:4px;background:#e2dce7;border:1px solid #c7bdcf;border-radius:16px;box-shadow:inset 0 2px 3px #33233c0d}
.community .dial-track{display:none}
.community .reach button{padding:12px 13px;gap:10px;align-items:center;flex-wrap:wrap;border-radius:10px;min-width:0}
.community .reach button b{font-size:25px}.community .reach button small{color:#6b5d76;font-size:10px}
.community .reach button[aria-checked=true]{background:#fffbf2;box-shadow:inset 0 1px #fff,0 2px 0 #b6a7c2}
.community .reach button[aria-checked=true] b{color:#6235a8}
.community .widen-copy h3{font-family:var(--text);font-stretch:normal;font-variation-settings:normal;text-transform:none;font-weight:700;font-size:24px;line-height:1.2;letter-spacing:-.025em}
.community .widen-copy h3 em{color:#6235a8}.community .widen-copy p{font-size:15px;line-height:1.6;color:#60566a}
.community .tag.later{box-shadow:none;border:1px solid #c4b9cd;color:#6b5d76;font-size:10px;letter-spacing:.025em}
.community .stage-rings{background:radial-gradient(ellipse at 50% 48%,#44344f,#221b2a 78%);border:2px solid #61516d;border-radius:30px;box-shadow:inset 0 2px #8a7595,0 7px #100b17,0 22px 38px #26133020;aspect-ratio:1.08}
.community .ring{border:1px dashed #94849e45;border-radius:24px}.community .r3{inset:13px}.community .r2{inset:12%}.community .r1{inset:24%}
.community .widen[data-level="1"] .r1,.community .widen[data-level="2"] .r1,.community .widen[data-level="2"] .r2,.community .widen[data-level="3"] .ring{border:1px solid #b58bdd80;background:#b58bdd0b;box-shadow:0 0 20px #b58bdd08}
.community .screen-frame{box-shadow:inset 0 2px #6d5d7a,0 6px #100b17,0 14px 24px #0005}
.community .pin{box-shadow:0 3px #a998b6,0 9px 16px #0003}
.community .pin.l2{font-size:12px}.community .pin.l2 .mono{font-size:10px}
@media(max-width:900px){
 .widen{grid-template-columns:1fr;gap:24px}.widen .intro{margin:0;max-width:42ch}.widen h2{font-size:44px}
 .community .reach{margin:0;padding:8px;gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}
 .community .reach button{padding:12px 4px;justify-content:center;gap:5px}.community .reach button b{font-size:19px}.community .reach button small{display:block;font-size:8px;letter-spacing:0;white-space:normal}
 .community .stage-rings{aspect-ratio:1;min-height:360px;border-radius:24px}.community .widen-copy p{min-height:0;max-width:none}
 .community .pin.l2{font-size:10px}.community .pin.l2 .mono{font-size:9px}
}
@media(max-width:400px){.community .stage-rings{min-height:340px}.community .reach button b{font-size:17px}.community .reach button small{font-size:7px}.community .share-chip{font-size:7px}}
@media(max-width:900px){
 .community .widen{grid-template-columns:minmax(0,1fr)}
 .community .widen>*{min-width:0}
 .community .center{width:46%;top:44%}
 .community .store-plate{left:-10%;right:-10%}
 .community .pin.box:nth-last-child(2){left:74%}
 .community .pin.box{max-width:24%}
 .community .stage-rings{margin-bottom:16px}
}

/* Keep the community scene in Odd Level's existing type and color language. */
.community{background:var(--paper-deep)}
.community .widen h2{font-family:var(--display);font-weight:900;font-stretch:62%;font-variation-settings:"wdth" 62;text-transform:uppercase;font-size:clamp(46px,5.2vw,80px);line-height:.9;letter-spacing:-.005em}
.community .widen h2 em,.community .widen-copy h3 em{color:var(--purple)}
.community .widen .intro,.community .widen-copy p{color:var(--ink-soft)}
.community .widen-copy h3{font-family:var(--display);font-weight:900;font-stretch:62%;font-variation-settings:"wdth" 62;text-transform:uppercase;font-size:clamp(28px,2.6vw,38px);line-height:1;letter-spacing:-.005em}
.community .reach{background:linear-gradient(165deg,#39333f,#211c28);border:2px solid #4e455a;box-shadow:inset 0 2px #696071,0 5px #100b17}
.community .reach button,.community .reach button b{color:var(--paper-hi)}
.community .reach button small{color:#c2b7ce}
.community .reach button[aria-checked=true]{background:#17121d;box-shadow:inset 0 2px 3px #0006,0 1px #65566f}
.community .reach button[aria-checked=true] b,.community .reach button:hover b{color:var(--yellow)}
.community .stage-rings{background:radial-gradient(ellipse at 50% 48%,#34253f,#17121d 78%);border-color:#4e455a;box-shadow:inset 0 2px #696071,0 7px #100b17}
@media(max-width:900px){.community .widen h2{font-size:clamp(46px,8vw,64px)}}

/* Quiet pixel connections behind the sharing scene. */
.community{background-color:var(--paper-deep);background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22384%22%20height%3D%22320%22%20viewBox%3D%220%200%20384%20320%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%235b21ff%22%20stroke-opacity%3D%22.075%22%20stroke-width%3D%222%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M0%2048h64v32h64v48h64v-32h64V32h64v32h64M0%20240h32v-48h64v32h64v48h96v-48h64v-64h64M64%2080v80h32v64M192%20128v64h64v32M320%2064v64h32v32M160%20272v48M256%2032V0%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%235b21ff%22%20fill-opacity%3D%22.12%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M60%2044h8v8h-8zM124%2076h8v8h-8zM188%20124h8v8h-8zM252%2028h8v8h-8zM316%2060h8v8h-8zM28%20188h8v8h-8zM92%20220h8v8h-8zM156%20268h8v8h-8zM252%20220h8v8h-8zM316%20156h8v8h-8z%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%2317151b%22%20fill-opacity%3D%22.07%22%3E%3Cpath%20d%3D%22M60%20156h8v8h-8zM188%20188h8v8h-8zM348%20124h8v8h-8z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-size:384px 320px}

/* A single sharing console, with audience switches along its top edge. */
.community-heading{text-align:center;max-width:780px;margin:0 auto 32px}
.community-heading h2{font-size:clamp(46px,5.2vw,80px);line-height:.95}
.community-heading h2 em{color:var(--purple)}
.community-heading p{font-size:16px;line-height:1.55;color:var(--ink-soft);max-width:52ch;margin:18px auto 0}
.community .community-console{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,5fr);gap:0;background:var(--paper-hi);border:2px solid #4e455a;border-radius:24px;box-shadow:0 7px #100b17;overflow:hidden;align-items:center}
.community-console .widen-side{display:contents}
.community .community-console .reach{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;border:0;border-bottom:3px solid #100b17;border-radius:0;padding:24px 28px 27px;box-shadow:inset 0 2px #696071}
.community .community-console .reach button{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:17px 18px 17px 42px;background:linear-gradient(160deg,#514858,#37303f);border:1px solid #776982;border-radius:9px;box-shadow:inset 0 2px #95869c66,0 4px #100b17;transition:translate .12s,box-shadow .12s}
.community .community-console .reach button::before{content:"";position:absolute;left:18px;top:22px;width:7px;height:20px;border-radius:2px;background:#19121e;box-shadow:inset 0 1px 2px #0009}
.community .community-console .reach button[aria-checked=true]{background:linear-gradient(160deg,#fffaf0,#e5dccb);border-color:#fff3d3;box-shadow:inset 0 1px #fff,0 1px #100b17;translate:0 3px}
.community .community-console .reach button[aria-checked=true]::before{background:var(--purple);box-shadow:0 0 7px #8d5bff88}
.community .community-console .reach button[aria-checked=true] b{color:var(--ink)}
.community .community-console .reach button[aria-checked=true] small{color:#62556d}
.community .community-console .reach button b{font-size:clamp(22px,2.1vw,29px)}
.community .community-console .reach button small{display:block;font-size:10px;letter-spacing:.04em}
.community .community-console .widen-copy{grid-column:1;grid-row:2;padding:32px 28px 12px;align-self:center}
.community .community-console .widen-copy p{min-height:0}
.community .community-console .tag.later{grid-column:1;grid-row:3;justify-self:start;margin:0 28px 30px}
.community .community-console .stage-rings{grid-column:2;grid-row:2/4;margin:24px 24px 24px 0;min-height:400px;border-radius:18px;box-shadow:inset 0 2px #696071,0 4px #100b17}
@media(max-width:900px){
 .community .community-console{grid-template-columns:minmax(0,1fr)}
 .community .community-console .reach{padding:16px 12px 20px;gap:9px}
 .community .community-console .reach button{padding:20px 5px 10px;align-items:center;text-align:center;gap:5px;min-height:86px}
 .community .community-console .reach button::before{left:calc(50% - 9px);top:8px;width:18px;height:4px}
 .community .community-console .reach button b{font-size:18px}
 .community .community-console .reach button small{font-size:8px;letter-spacing:0}
 .community .community-console .stage-rings{grid-column:1;grid-row:2;margin:18px 14px 22px;min-height:340px}
 .community .community-console .widen-copy{grid-column:1;grid-row:3;padding:4px 20px 8px}
 .community .community-console .tag.later{grid-column:1;grid-row:4;margin:0 20px 24px}
}
@media(prefers-reduced-motion:reduce){.community .community-console .reach button{transition:none}}
@media(min-width:901px){.community .community-console .stage-rings{aspect-ratio:1.3}.community-console .center{width:40%}}
@media(max-width:900px){.community .community-console .stage-rings{width:calc(100% - 28px);aspect-ratio:auto;height:360px;min-width:0}.community-console .center{width:46%}.community-console .store-plate .d{font-size:16px}.community-console .share-chip{font-size:7px}}

/* End the door photo at the opening, keeping the mobile scene compact. */
@media(max-width:760px){
 .cart-band{display:block;min-height:0;padding-top:53vw}
 .cart-band .cart-photo{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center top;-webkit-mask-image:linear-gradient(180deg,#000 62%,transparent 81%);mask-image:linear-gradient(180deg,#000 62%,transparent 81%)}
 .cart-band::after{display:none}
 .cart-band .cart-copy{padding-top:0;padding-bottom:26px}
 .cart-band h2{font-size:42px;line-height:.9}
 .cart-band p{margin-top:16px;margin-bottom:14px}
 .cart.cart-real{bottom:22px}
}
@media(max-width:760px){
 .cart-band{padding-top:clamp(246px,61.5vw,467px)}
 .cart-band .cart-photo{height:clamp(300px,75vw,570px);aspect-ratio:auto;object-position:50% 12%;-webkit-mask-image:linear-gradient(180deg,#000 65%,transparent 82%);mask-image:linear-gradient(180deg,#000 65%,transparent 82%)}
}

/* Let the sharing visualization sit directly on the cream console surface. */
.community .community-console .stage-rings{background:transparent;border:0;box-shadow:none}
.community .community-console .ring{border-color:#6f5a8726}
.community .community-console .widen[data-level] .ring{background:transparent}
.community .community-console[data-level="1"] .r1,
.community .community-console[data-level="2"] .r1,
.community .community-console[data-level="2"] .r2,
.community .community-console[data-level="3"] .ring{border-color:#8a6ab94d;background:transparent;box-shadow:none}

/* Title art stays inside the expanding sharing circles. */
.game-title-art{aspect-ratio:1;background-image:url('../assets/community-nes-titles.png');background-size:200% 200%;width:100%;border-radius:5px}
.explorer-title{background-position:0 0;display:none}.red-title{background-position:100% 0}.moss-title{background-position:0 100%}.lighthouse-title{background-position:100% 100%}
.community-console[data-level="3"] .explorer-title{display:block}
.community-console[data-level="3"] .center canvas{display:none}
.community .community-console .stage-rings{aspect-ratio:1.12;min-height:480px}
.community .community-console .center{width:40%;top:46%}
.community .community-console .ring{border-style:dashed}
.community .community-console .stage-rings>.pin.l1[style*="4%"]{top:4%}
.community .community-console[data-level="1"] .r1,
.community .community-console[data-level="2"] .r1,
.community .community-console[data-level="2"] .r2,
.community .community-console[data-level="3"] .ring{border:2px solid #9773c455}
.community .community-console[data-level="3"] .r3{border-color:#7343bb99;background:#8c58dd06}
.community .community-console[data-level="3"] .store-plate{left:0;right:0;top:calc(100% + 10px);padding:12px}
.community .community-console[data-level="3"] .store-plate .d{font-size:22px;line-height:1.05}
.community .community-console[data-level="3"] .pin.box{width:23%;max-width:none;padding:5px;margin:0}
.community .community-console[data-level="3"] .pin.box .d{font-size:16px;line-height:1.05}
.community .community-console[data-level="3"] .pin.box:has(.red-title){left:1%;top:3%}
.community .community-console[data-level="3"] .pin.box:has(.moss-title){left:auto;right:1%;top:3%}
.community .community-console[data-level="3"] .pin.box:has(.lighthouse-title){left:1%;top:auto;bottom:4%}
@media(min-width:901px){.community .community-console .widen-copy{grid-row:2/4;padding-bottom:32px}}
@media(max-width:900px){
 .community .community-console .stage-rings{height:440px;min-height:440px;aspect-ratio:auto}
 .community .community-console .center{width:44%;top:43%}
 .community .community-console[data-level="3"] .pin.box{width:26%}
 .community .community-console[data-level="3"] .pin.box .d{font-size:13px}
 .community .community-console[data-level="3"] .store-plate{padding:10px 8px;left:-3%;right:-3%}
 .community .community-console[data-level="3"] .store-plate .d{font-size:17px}
 .community .community-console[data-level="3"] .mock-btn{font-size:11px;white-space:normal}
 .community .community-console .stage-rings>.pin.l1{max-width:43%}
 .community .community-console .stage-rings>.pin.l1[style*="63%"]{left:auto;right:0;top:auto;bottom:8px}
 .community .community-console .stage-rings>.thread[style*="72%"],.community .community-console .stage-rings>.thread[style*="76%"]{top:auto;bottom:10px}
 .community .community-console .stage-rings>.thread[style*="64%"]{left:auto;right:0}
}
