/* Original BATON console. Steam's interaction principles, BATON's identity. */
.console-shell[hidden],.console-home[hidden],.console-stage[hidden],.console-app[hidden]{display:none!important}
body.console-mode{overflow:hidden}
body.console-mode main{position:relative;max-width:none!important;width:100%!important;height:calc(100dvh - var(--console-top,130px));min-height:0!important;margin:0!important;padding:0!important;overflow:hidden;background:var(--baton-canvas)!important}
body.console-mode main>footer{display:none!important}
body.console-mode .nav-wrap{max-width:none!important;height:64px;min-height:64px;padding:8px 32px!important;gap:16px}
body.console-mode .nav-wrap .brand{margin-right:auto}
body.console-mode .nav-wrap :is(nav[aria-label="Main navigation"],#theme-control,.sound-controls,.report-open){display:none!important}
.console-shell{position:relative;isolation:isolate;display:grid;grid-template-rows:64px minmax(0,1fr) 50px;height:100%;color:var(--baton-text);background:var(--baton-canvas);--console-duration:220ms}
.console-topbar{display:flex;gap:16px;align-items:center;padding:6px clamp(16px,3vw,48px);border-bottom:1px solid var(--baton-border);background:var(--baton-canvas)}
.console-topbar>button{display:flex;align-items:center;gap:8px;flex:none;min-width:44px;min-height:44px;padding:10px 14px;border:0;border-radius:12px;color:var(--baton-muted)}
.console-topbar>button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.console-topbar [data-console-quick]{margin-left:auto;font-size:18px;letter-spacing:3px}
.console-nav{display:flex;align-items:center;gap:6px;min-width:0;overflow:auto;scrollbar-width:none}
.console-nav button{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 14px;border-radius:12px;font-size:13px;white-space:nowrap}
.console-nav svg{width:18px;height:18px}
html[data-theme] .console-shell :is(.console-nav button,.console-topbar>button){background:transparent!important;border-color:transparent!important;color:var(--baton-muted)!important}
html[data-theme] .console-shell :is(.console-nav button,.console-topbar>button)[aria-current="page"]{background:var(--baton-panel)!important;color:var(--baton-text)!important}
.console-body{position:relative;min-height:0;overflow:hidden}
.console-home{height:100%;overflow:auto;overscroll-behavior:contain;padding:22px clamp(20px,4vw,64px) 24px;scrollbar-width:thin}
.console-home-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 18px}
.console-home-heading p,.console-preview [data-console-preview-kicker]{color:var(--baton-muted);font:10px/1.4 ui-monospace,monospace;letter-spacing:.14em;margin:0}
.console-home-heading button{min-height:44px;padding:10px 16px;border-radius:24px;font-size:12px;border:1px solid var(--baton-border)}
.console-launcher{display:flex;gap:18px;overflow-x:auto;padding:7px 5px 14px;scroll-snap-type:x mandatory;scrollbar-width:none}
html[data-theme] .console-shell .console-tile{display:flex;flex-direction:column;gap:12px;flex:0 0 clamp(136px,13.8vw,196px);scroll-snap-align:start;text-align:left;padding:0;background:transparent!important;border:0!important;border-radius:18px;min-width:0}
.console-tile strong{color:var(--baton-muted)!important;font:500 14px/1.3 var(--body);padding:0 4px}
.console-cover{position:relative;isolation:isolate;display:grid;place-items:center;width:100%;aspect-ratio:1.24;border:1px solid var(--baton-border);border-radius:18px;overflow:hidden;background:linear-gradient(135deg,var(--baton-panel),color-mix(in srgb,var(--baton-action) 20%,var(--baton-canvas)));color:var(--baton-action);transition:transform 160ms ease,box-shadow 160ms ease,border-color 160ms ease}
.console-cover>svg{z-index:1;width:46px;height:46px;stroke-width:1.35}
.console-cover-orbit{position:absolute;width:100%;aspect-ratio:1;border:1px solid color-mix(in srgb,var(--baton-action) 15%,transparent);border-radius:50%;left:30%;top:25%;transform:rotate(-25deg)}
.console-cover-orbit:after{content:'';position:absolute;inset:18px;border:1px solid color-mix(in srgb,var(--baton-action) 10%,transparent);border-radius:50%}
.console-cover-index{position:absolute;bottom:13px;left:15px;font:10px ui-monospace,monospace;opacity:.65}
.console-cover-rooms{background:linear-gradient(155deg,var(--baton-panel),color-mix(in srgb,#45c794 22%,var(--baton-canvas)))}
.console-cover-nfts{background:linear-gradient(135deg,color-mix(in srgb,#65b7b2 14%,var(--baton-panel)),var(--baton-canvas))}
.console-cover-launch{background:linear-gradient(145deg,var(--baton-panel),color-mix(in srgb,#b4ca55 23%,var(--baton-canvas)))}
.console-cover-learn{background:linear-gradient(145deg,var(--baton-panel),color-mix(in srgb,#7dcac9 23%,var(--baton-canvas)))}
.console-cover-lore{background:linear-gradient(145deg,var(--baton-panel),color-mix(in srgb,#b1c58a 23%,var(--baton-canvas)))}
.console-tile:is(:hover,[data-selected="true"]) .console-cover{transform:translateY(-3px);border-color:var(--baton-action);box-shadow:0 0 0 2px var(--baton-canvas),0 0 0 4px var(--baton-action)}
.console-tile[data-selected="true"] strong{color:var(--baton-text)!important}
.console-shell button:focus-visible,.console-quick-sheet button:focus-visible{outline:2px solid var(--baton-action)!important;outline-offset:4px}
.console-preview{display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:center;gap:40px;min-height:236px;padding:24px 12px;margin-bottom:16px}
html[data-theme] .console-preview h1{color:var(--baton-text)!important;font:600 clamp(36px,4.4vw,62px)/1.06 var(--display);letter-spacing:-.055em;margin:12px 0 14px}
.console-preview [data-console-preview-description]{font-size:16px;color:var(--baton-muted);margin:0 0 22px;max-width:600px;line-height:1.6}
html[data-theme] .console-shell .console-open{min-height:48px;min-width:166px;display:inline-flex;align-items:center;justify-content:center;padding:12px 26px;background:var(--baton-action)!important;color:var(--baton-panel)!important;border-radius:28px!important;border:0!important;font-size:14px;font-weight:600}
.console-preview-art{position:relative;display:grid;place-items:center;min-height:210px;user-select:none}
.console-preview-art img{position:relative;width:148px;height:148px;object-fit:contain;transform:rotate(-7deg);z-index:1;filter:drop-shadow(0 14px 16px color-mix(in srgb,var(--baton-action) 12%,transparent))}
.console-preview-art>span{position:absolute;right:0;top:0;opacity:.08;transform:rotate(12deg)}
.console-preview-art>span svg{width:220px;height:220px;stroke-width:.7}
.console-community{margin:0 0 12px}.console-community .community-spotlight{margin:0!important}
.console-legal{display:flex;gap:18px;min-height:44px}.console-legal a{display:inline-flex;align-items:center;min-height:44px;color:var(--baton-muted);font-size:12px}
.console-stage{height:100%;overflow:hidden}
.console-app{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:24px clamp(20px,3vw,48px) 104px;outline:none}
.console-app>[data-primary-surface]{width:100%;max-width:1600px;margin-left:auto;margin-right:auto}
.console-app :is(.community-hub-head,.nft-market-head,.launch-head,.learn-head,.lore-head){padding-top:4px!important;min-height:0!important;background-image:none!important}
.console-app .intro{margin-top:0!important;padding-top:0!important}
html[data-theme] body.console-mode .console-app :is(h1,h2,h3,h4),html[data-theme] body.console-mode dialog :is(h1,h2,h3,h4){color:var(--baton-text)!important}
.console-legend{display:flex;justify-content:space-between;align-items:center;padding:3px clamp(20px,3vw,48px);gap:20px;border-top:1px solid var(--baton-border);font:11px ui-monospace,monospace;color:var(--baton-muted)}
.console-legend i{font-style:normal;margin-left:16px}.console-legend button{min-height:44px;min-width:44px;font-size:12px;background:transparent!important;border:0!important;padding:8px 12px}
.console-pet-host{position:absolute;z-index:3;right:22px;bottom:64px}.console-pet-host .pet-dock-avatar{width:68px;height:68px;background:transparent!important;box-shadow:none!important;border:0!important}.console-pet-host .pet-dock-avatar svg{width:78px;height:74px}
.console-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.console-quick-sheet{position:fixed;inset:0 0 0 auto;margin:0;width:min(380px,100vw);height:100dvh;max-height:none;max-width:none;padding:24px;border:0;border-left:1px solid var(--baton-border);border-radius:0;background:var(--baton-panel);color:var(--baton-text);box-shadow:none;overflow:auto}
.console-quick-sheet[open]{display:flex;flex-direction:column;gap:8px;animation:console-sheet-in 220ms cubic-bezier(.2,.7,.2,1)}
.console-quick-sheet::backdrop{background:rgb(6 22 13 / .35)}
.console-quick-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 24px}.console-quick-head h2{font-size:22px;color:var(--baton-text)!important;margin:0}
.console-quick-sheet button{display:flex;align-items:center;min-height:48px;min-width:44px;padding:12px 16px;font-size:14px;border-radius:10px;border:1px solid var(--baton-border);color:var(--baton-text);background:var(--baton-canvas)}
.console-quick-head button{display:grid;place-items:center;width:44px;padding:0;border:0;background:transparent!important;font-size:24px}
.console-quick-sheet>p{margin-top:auto;padding-top:32px;font:10px ui-monospace,monospace;letter-spacing:.16em;color:var(--baton-muted)}
@keyframes console-sheet-in{from{transform:translateX(24px);opacity:.7}to{transform:none;opacity:1}}
body.console-mode .workspace-profile-dialog,body.console-mode .wallet-dialog{position:fixed;inset:0 0 0 auto!important;margin:0!important;width:min(440px,100vw)!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0;border:0;border-left:1px solid var(--baton-border);padding:28px;box-shadow:none;animation:console-sheet-in 220ms ease}
body.console-mode dialog:not(.console-quick-sheet):not(.workspace-profile-dialog):not(.wallet-dialog):not(.home-game-dialog):not(.comic-reader){--console-dialog-gutter:max(24px,calc((100vw - 1100px)/2));position:fixed;inset:0!important;margin:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important;border:0!important;padding:32px var(--console-dialog-gutter);box-shadow:none!important;background:var(--baton-canvas)!important}
body.console-mode dialog.pet-dialog .pet-dialog-top{margin:-32px calc(-1 * var(--console-dialog-gutter)) 24px;padding:16px var(--console-dialog-gutter);top:-32px;background:var(--baton-panel)}
body.console-mode dialog.pet-dialog .pet-dialog-hero{grid-template-columns:160px minmax(0,1fr);gap:28px;margin:20px 0 28px}
body.console-mode dialog.pet-dialog .pet-portrait{width:160px;height:160px;border-radius:36px}body.console-mode dialog.pet-dialog .pet-portrait svg{width:168px;height:152px}
body.console-mode dialog.pet-dialog .pet-tabs,body.console-mode dialog.pet-dialog .pet-panel{max-width:1100px;margin-left:auto;margin-right:auto}
body.console-mode .nft-dialog-inner{max-width:900px;margin:auto}
@media(min-width:701px) and (max-width:1000px){.console-topbar{gap:8px;padding-left:16px;padding-right:16px}.console-nav button{padding:9px 10px}.console-nav svg{display:none}.console-preview{grid-template-columns:minmax(0,1fr) 160px;gap:24px}.console-preview-art img{width:124px;height:124px}.console-preview-art>span svg{width:160px;height:160px}.console-cover{aspect-ratio:1.15}.console-topbar>button span{font-size:12px}}
@media(max-width:700px){.console-shell{display:none!important}.console-quick-sheet{display:none}}
@media(prefers-reduced-motion:reduce){.console-shell *,.console-quick-sheet,body.console-mode dialog{animation:none!important;transition:none!important;scroll-behavior:auto!important}.console-tile .console-cover{transform:none!important}}

/* Token details own an opaque shared surface so the ambient pattern stays in the site chrome. */
body.console-mode #token-dialog.token-detail-inline{isolation:isolate;background:var(--baton-canvas)!important;}
body.console-mode #token-dialog.token-detail-inline>.dialog-top,
body.console-mode #token-dialog.token-detail-inline>#token-details{position:relative;isolation:isolate;background:var(--baton-panel)!important;}
body.console-mode #token-dialog.token-detail-inline>.dialog-top{max-width:1100px;margin:0 auto 0;padding:8px 16px;border:1px solid var(--baton-border);border-bottom:0;border-radius:16px 16px 0 0;}
body.console-mode #token-dialog.token-detail-inline>#token-details{max-width:1100px;margin:0 auto;padding:0 16px 20px;border:1px solid var(--baton-border);border-top:0;border-radius:0 0 16px 16px;}
body.console-mode #token-dialog.token-detail-inline [data-token-surface-header]{padding-top:12px;}
body.console-mode #token-dialog.token-detail-inline .detail-description{margin:10px 0;max-height:48px;line-height:1.55;}
body.console-mode #token-dialog.token-detail-inline .quick-trade{gap:6px;padding-block:6px;}
body.console-mode #token-dialog.token-detail-inline .token-panel-tabs{margin-top:10px;padding-bottom:8px;}
body.console-mode #token-dialog.token-detail-inline [data-token-surface-body]{margin-top:10px;}
@media(max-width:700px){html[data-theme] #token-dialog>#token-details{background:var(--baton-panel)!important;}html[data-theme] #token-dialog [data-token-surface-header]{background:var(--baton-panel)!important;}}

body.console-mode :is(#card-report-dialog canvas,#report-canvas){display:block;width:100%;max-width:min(700px,100%)!important;height:auto!important;margin:16px auto}
body.console-mode #card-report-dialog :is(.card-report-actions,.card-report-actions+p){max-width:700px;margin:16px auto}
body.console-mode dialog :is([aria-label^="Close"],[data-card-close]){min-width:44px!important;min-height:44px!important;width:44px!important;display:inline-grid;place-items:center}
/* Home is a gathering place; the app navigation lives in the top bar. */
.console-home{max-width:1280px;margin-inline:auto;width:100%;box-sizing:border-box}
.home-welcome{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;min-height:230px;padding:14px 10px 28px}
html[data-theme] .home-welcome h1{font:500 clamp(34px,4vw,54px)/1.12 var(--display);letter-spacing:-.045em;margin:0 0 16px;color:var(--baton-text)!important}
.home-welcome p{font-size:15px;line-height:1.7;color:var(--baton-muted);margin:0 0 14px}
html[data-theme] .home-companion-link{min-height:44px;padding:8px 0;background:none!important;border:0!important;color:var(--baton-text)!important;font-size:12px;text-align:left}
.home-mascots{position:relative;height:220px;display:grid;place-items:center;isolation:isolate}.home-mascots>svg{width:185px;height:185px;z-index:2;transform:rotate(-4deg)}.home-mascot-friend{position:absolute;right:0;bottom:18px;z-index:1}.home-mascot-friend svg{width:110px;height:110px}.home-rug{position:absolute;bottom:0;width:255px;height:50px;background:color-mix(in srgb,#b59a68 15%,var(--baton-panel));border:1px solid color-mix(in srgb,#b59a68 22%,transparent);border-radius:50%;transform:rotate(-5deg);z-index:0}
.home-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:4px 0 14px}.home-gallery-heading h2{font:500 16px var(--body);margin:0}.home-gallery-heading>div{display:flex;gap:8px}.home-gallery-heading button{width:44px;height:44px;border-radius:50%;border:1px solid var(--baton-border);background:var(--baton-panel)}
.console-home .home-gallery{border:1px solid var(--baton-border);border-radius:24px;padding:30px;min-height:250px;gap:20px;margin:0;background:radial-gradient(ellipse at 90% 50%,color-mix(in srgb,#90b882 16%,var(--baton-panel)),var(--baton-panel))}
html[data-theme] .home-gallery h2{font:500 clamp(27px,3vw,42px)/1.14 var(--display);letter-spacing:-.045em;margin:12px 0;color:var(--baton-text)!important}.home-gallery [data-console-preview-description]{font-size:14px;max-width:560px}.home-gallery .console-preview-art{min-height:160px}.home-gallery .console-preview-art img{width:130px;height:130px}
.console-home .home-gallery-dots{justify-content:center;gap:6px;padding:12px 0 18px;overflow:visible}.console-home .home-gallery-dots .console-tile{flex:0 0 44px;width:44px;min-height:44px;display:grid;place-items:center}.home-gallery-dots .console-tile span{width:7px;height:7px;border-radius:99px;background:var(--baton-border)}.home-gallery-dots .console-tile[data-selected=true] span{background:var(--baton-action);width:22px}
.home-play{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;margin:0 0 24px;border-radius:22px;border:1px solid var(--baton-border);background:color-mix(in srgb,#c3aa78 9%,var(--baton-panel))}.home-play h2{font:500 24px var(--display);margin:8px 0}.home-play p{color:var(--baton-muted);font-size:12px;line-height:1.6;margin:0}.home-play>div>p:first-child{font:9px/1.4 ui-monospace,monospace;letter-spacing:.12em}.home-disclosure{padding:28px 0 12px;border-top:1px solid var(--baton-border);margin-top:28px}.home-disclosure h2{font:500 23px var(--display);margin:0 0 12px}.home-disclosure p{font-size:11px;line-height:1.8;color:var(--baton-muted);max-width:760px}.home-disclosure nav{display:flex;gap:14px;flex-wrap:wrap}.home-disclosure a{display:inline-flex;align-items:center;min-height:44px;font-size:12px}.site-disclosure{flex-basis:100%;font-size:10px;line-height:1.7;color:var(--baton-muted);margin:4px 0 0}
@media(max-width:700px){.console-home{height:auto;overflow:visible;padding:12px 0 24px}.console-home-heading{margin-bottom:10px}.console-home-heading p{font-size:9px}.home-welcome{grid-template-columns:minmax(0,1fr) 100px;min-height:180px;padding:10px 0 22px;gap:0}.home-welcome h1{font-size:32px!important}.home-welcome p{font-size:12px}.home-welcome br{display:none}.home-mascots{height:130px;align-self:center}.home-mascots>svg{width:100px;height:110px}.home-mascot-friend{right:-4px;bottom:0}.home-mascot-friend svg{width:60px;height:60px}.home-rug{width:108px;height:26px;bottom:0}.console-home .home-gallery{grid-template-columns:minmax(0,1fr) 78px;padding:20px 16px;min-height:255px;gap:0;border-radius:20px}.home-gallery h2{font-size:27px!important}.home-gallery .console-preview-art{min-height:100px}.home-gallery .console-preview-art img{width:78px;height:78px}.home-gallery .console-preview-art>span{display:none}.home-gallery [data-console-preview-description]{font-size:12px;line-height:1.65}.home-gallery .console-open{min-width:0;font-size:12px!important;padding:10px 16px!important}.home-play{padding:20px 18px;flex-wrap:wrap;gap:14px}.home-play .console-open{width:100%}.home-disclosure{margin-top:20px}.console-legal{display:flex;gap:18px}.console-legal a{min-height:44px;display:inline-flex;align-items:center}}
.home-gallery{position:relative;isolation:isolate;overflow:hidden}.console-home .home-gallery{padding-bottom:190px;min-height:420px}.home-platform{position:absolute;bottom:0;left:0;width:100%;height:145px;cursor:crosshair;touch-action:pan-y}.home-platform canvas{width:100%;height:145px;display:block}.home-platform:focus-visible{outline:2px solid var(--baton-action);outline-offset:-4px;border-radius:12px}.home-platform-toolbar{position:absolute;bottom:148px;left:28px;right:28px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.home-platform-toolbar>span{font:10px var(--body);margin-right:auto}.home-platform-toolbar label{display:flex;gap:6px;align-items:center;font-size:10px}.home-platform-toolbar button,.home-platform-toolbar select{min-height:44px;border:1px solid var(--baton-border);border-radius:12px;padding:8px 12px;font:11px var(--body)}
.console-home .home-gallery[data-sky=day]{background:#edf3e7;color:#365341}.console-home .home-gallery[data-sky=night]{background:#23343d;color:#e3ece2;border-color:#40545b}.home-gallery[data-sky=night] [data-console-preview-kicker],.home-gallery[data-sky=night] [data-console-preview-description]{color:#afc0bc!important}html[data-theme] .home-gallery[data-sky=night] h2{color:#e3ece2!important}.home-gallery[data-sky=day] [data-console-preview-kicker],.home-gallery[data-sky=day] [data-console-preview-description]{color:#5b7463!important}html[data-theme] .home-gallery[data-sky=day] h2{color:#365341!important}.home-gallery[data-sky=day] .home-platform-toolbar>span{color:#5b7463}.home-gallery[data-sky=night] .home-platform-toolbar>span{color:#afc0bc}.home-gallery .home-platform-toolbar button,.home-gallery .home-platform-toolbar select{background:#ffffff0a!important;color:inherit!important;border-color:#91a89955!important}
@media(max-width:700px){.console-home .home-gallery{padding-bottom:232px;min-height:430px}.home-platform-toolbar{left:16px;right:16px;bottom:146px;gap:6px}.home-platform-toolbar>span{flex-basis:100%;margin:0 0 4px}.home-platform-toolbar button,.home-platform-toolbar select{padding:8px;font-size:10px}.home-platform-toolbar label{margin-right:auto}.home-platform{height:140px}.home-platform canvas{height:140px}.home-platform-toolbar button{min-width:44px}}
html[data-theme] .console-home .home-gallery{padding:30px 30px 200px;min-height:450px;grid-template-columns:minmax(0,1fr) 230px;gap:20px;margin-bottom:0}html[data-theme] .console-home .home-gallery .console-preview-art{height:auto;min-height:160px}
@media(max-width:700px){html[data-theme] .console-home .home-gallery{padding:20px 16px 232px;min-height:450px;grid-template-columns:minmax(0,1fr) 78px;gap:0}html[data-theme] .console-home .home-gallery .console-preview-art{min-height:100px}}
@media(min-width:701px){.console-home-heading{margin-bottom:0}.home-welcome{min-height:0;padding:12px 10px 18px}.home-welcome h1{font-size:44px!important;margin-bottom:10px!important}.home-welcome p{font-size:13px;line-height:1.5;margin-bottom:6px}.home-mascots{height:165px}.home-mascots>svg{width:145px;height:145px}.home-mascot-friend svg{width:84px;height:84px}.home-rug{width:210px;height:36px}.home-gallery-heading{margin-top:0}.home-gallery h2{font-size:34px!important}html[data-theme] .console-home .home-gallery{padding:24px 28px 190px;min-height:380px}.home-gallery [data-console-preview-description]{font-size:13px}}
html[data-theme] .console-home .console-open{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;background:var(--baton-action)!important;color:var(--baton-panel)!important;border-radius:28px!important;border:0!important;font-size:13px;font-weight:600}
.home-platform-toolbar button{min-width:44px}
html[data-theme] .console-home .home-gallery .console-open{background:#8cecaa!important;color:#244e38!important}
.site-token-notice{font-size:11px;line-height:1.7;color:var(--baton-muted);padding:10px 14px;border:1px solid var(--baton-border);border-radius:12px;margin:8px 0 4px;background:var(--baton-panel)}.site-token-notice strong{color:var(--baton-text);font-weight:600}.site-token-notice a{display:inline-flex;align-items:center;min-height:44px;margin-left:8px}.console-token-notice{font-size:10px;color:var(--baton-muted);min-height:44px;display:inline-flex;align-items:center}.console-legend .console-token-notice+span{margin-left:auto}
@media(max-width:700px){.site-token-notice{font-size:10px;padding:8px 12px}.site-token-notice a{margin-left:0}.site-token-notice strong{display:block}}

/* Home game: the transparent 4:3 stage stays independent from the feature gallery. */

html[data-theme] .console-home .home-gallery{padding:24px 28px;min-height:236px;grid-template-columns:minmax(0,1fr) 230px;gap:40px;overflow:visible}
.home-game-panel{width:min(100%,720px);margin:0 auto 24px;color:var(--baton-text)}
.home-platform-toolbar{position:static;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 0 8px}
.home-game-status,.home-game-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.home-game-status{flex:1 1 210px}.home-game-status>[data-home-online]{font:10px var(--body);color:var(--baton-muted);margin-right:auto}.home-game-status label{display:flex;align-items:center;gap:6px;font-size:10px}
.home-game-actions button,.home-platform-toolbar select{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--baton-border);border-radius:12px;background:var(--baton-panel);color:var(--baton-text);font:11px var(--body)}.home-game-actions button:disabled{opacity:.45;cursor:not-allowed}.home-game-actions kbd{font:10px ui-monospace,monospace;opacity:.7}
.home-game-hud{display:flex;gap:16px;align-items:center;min-height:30px;margin:0 0 6px;padding:0 4px;color:var(--baton-muted);font:10px ui-monospace,monospace}.home-game-hud strong{color:var(--baton-text);font-weight:600}
.home-platform{position:relative;width:100%;height:auto;aspect-ratio:4/3;cursor:crosshair;touch-action:none;border:1px solid color-mix(in srgb,var(--baton-border) 70%,transparent);border-radius:18px;overflow:hidden;background:transparent}.home-platform canvas{width:100%;height:100%;display:block}.home-platform:focus-visible{outline:2px solid var(--baton-action);outline-offset:4px}
.home-game-panel[data-sky=day],.home-game-panel[data-sky=night]{background:transparent}.home-leaderboard{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;margin-top:12px;padding:16px;border:1px solid var(--baton-border);border-radius:16px;background:color-mix(in srgb,var(--baton-panel) 65%,transparent)}.home-leaderboard h2{margin:4px 0;font:500 20px var(--display)}.home-game-kicker{margin:0;color:var(--baton-muted);font:9px ui-monospace,monospace;letter-spacing:.12em}.home-leaderboard ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 16px;margin:0;padding-left:22px;font-size:11px}.home-leaderboard li{display:flex;justify-content:space-between;gap:8px;color:var(--baton-muted)}.home-leaderboard li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-leaderboard li strong{color:var(--baton-text);font-weight:600;white-space:nowrap}.home-legacy-actions{justify-content:flex-end;margin-top:8px}.home-legacy-actions button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--baton-border);border-radius:12px;background:var(--baton-panel);color:var(--baton-text);font:11px var(--body)}
@media(max-width:700px){html[data-theme] .console-home .home-gallery{padding:20px 16px;min-height:255px;grid-template-columns:minmax(0,1fr) 78px;gap:0}.home-game-panel{width:100%;margin-bottom:20px}.home-platform-toolbar{align-items:stretch}.home-game-status{flex-basis:100%}.home-game-status>[data-home-online]{flex-basis:100%;margin:0 0 4px}.home-game-actions{flex:1}.home-game-actions button{flex:1;padding:8px 9px;font-size:10px}.home-game-movement{flex:0 0 auto}.home-game-movement button{flex:0 0 44px;font-size:17px}.home-game-hud{justify-content:space-between;gap:8px;font-size:9px}.home-leaderboard{grid-template-columns:1fr;padding:14px}.home-leaderboard ol{grid-template-columns:1fr 1fr}.home-legacy-actions{justify-content:flex-start}}
.home-game-panel[data-sky=day] .home-platform{background:rgba(239,246,232,.94)}.home-game-panel[data-sky=night] .home-platform{background:rgba(21,36,43,.94)}.home-game-panel .home-platform canvas{background:transparent}

.home-leaderboard-note{margin:6px 0 0;color:var(--baton-muted);font:11px/1.5 var(--body)}

/* Home is a calm media catalogue. The single live game lives in its own window. */
.console-home{display:grid;grid-template-rows:max-content max-content;align-content:start;gap:10px;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:10px 16px 16px;scrollbar-width:thin;scrollbar-gutter:stable}
.console-home-heading{display:flex;align-items:center;gap:12px;margin:0;min-height:48px}.console-home-heading>p{display:none}.console-home-heading .home-welcome{flex:1;display:block!important;min-width:0;margin:0!important;padding:0!important}.console-home .home-welcome h1{font-size:25px!important;line-height:1.1!important;margin:0 0 4px!important}.console-home .home-welcome p{font:11px/1.4 var(--body);letter-spacing:normal;text-transform:none;margin:0}.console-home .home-welcome :is(.home-mascots,.home-companion-link){display:none!important}.console-home-heading [data-console-account]{min-width:44px;min-height:44px;margin-left:auto}.home-header-actions{display:flex;gap:6px;align-items:center}.home-header-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid var(--baton-border);border-radius:12px;font:11px var(--body);color:var(--baton-text)}
.console-home>.site-token-notice{display:none}.home-dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:clamp(240px,34vh,300px) auto auto auto;grid-template-areas:"memes comics" "community community" "metrics metrics" "about about";gap:12px;min-width:0;min-height:max-content}.home-card{min-width:0;min-height:0;overflow:hidden}.home-card[data-home-panel=discover]{grid-area:discover}.home-card[data-home-panel=community]{grid-area:community}.home-card[data-home-panel=about]{grid-area:about}.home-memes{grid-area:memes}.home-comics{grid-area:comics}
.home-memes,.home-comics{display:grid;grid-template-rows:44px minmax(0,1fr) auto;gap:6px}.home-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.home-card>header h2{font-size:18px!important;line-height:1.1!important;margin:3px 0!important}.home-card>header button{min-height:44px;min-width:44px;padding:6px 10px;font-size:11px;white-space:nowrap}.home-meme-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0}.home-meme-list>button{display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden;min-height:44px;border:1px solid var(--baton-border);border-radius:12px;background:var(--baton-panel);cursor:zoom-in}.home-meme-list img{display:block;width:100%;height:100%;object-fit:contain}.home-meme-status,.comic-shelf-note{font-size:10px!important;line-height:1.35;margin:0!important;color:var(--baton-muted)}
.comic-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:0;overflow:hidden}.comic-shelf:has(>.comic-empty){display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;padding:14px 18px;border:1px dashed var(--baton-border);border-radius:14px;background:color-mix(in srgb,var(--baton-panel) 60%,transparent)}.comic-empty>h3{margin:0;font-size:20px}.comic-empty>p{margin:0;font-size:12px;line-height:1.5;max-width:42ch}.comic-shelf>a{display:inline-flex;min-height:44px;align-items:center;font-size:12px;text-decoration:underline}
.comic-cover-card{min-height:0;min-width:0;display:flex;flex-direction:column;gap:4px}.comic-cover-card>button{padding:0;min-width:44px;border:0;background:transparent;color:var(--baton-text);text-align:left}.comic-cover-card>button:first-child{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:3px;flex:1;overflow:hidden}.comic-cover-card img{width:100%;height:100%;min-height:0;object-fit:contain;aspect-ratio:3/4;border-radius:10px;border:1px solid var(--baton-border);background:var(--baton-panel)}.comic-cover-card strong{font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.comic-cover-card small{font-size:10px;color:var(--baton-muted)}.comic-cover-card>button:last-child{min-height:44px;font-size:11px}
.home-card[data-home-panel=discover]{display:grid;grid-template-rows:44px minmax(0,1fr);gap:3px}.home-card .home-gallery-heading{margin:0;min-height:44px}.home-card .home-gallery-heading h2{font-size:16px;margin:0}.home-card .home-gallery-heading button{min-height:44px;min-width:44px;width:44px;padding:0}html[data-theme] .console-home .home-card .home-gallery{display:block;min-height:0;max-height:100%;padding:8px 12px;overflow:auto;scrollbar-width:none;border-radius:14px}.home-card .home-gallery :is(.console-preview-art,[data-console-preview-kicker]),.console-home .home-card .home-gallery-dots{display:none!important}.home-card .home-gallery h2{font-size:18px!important;line-height:1.1!important;margin:0 0 4px!important}.home-card .home-gallery [data-console-preview-description]{display:none}.home-card .home-gallery .console-open{min-height:44px;padding:6px 12px;font-size:11px}
.home-card .console-community{margin:0;height:100%}.home-card .community-spotlight{margin:0!important;padding:0!important;max-height:100%;border:0}.home-card .community-spotlight-head{height:44px;margin:0;gap:6px}.home-card .community-spotlight-head h2{font-size:16px;margin:0!important}.home-card .community-spotlight-kicker{display:none}.home-card .community-spotlight-controls{gap:4px}.home-card .community-spotlight-controls button{width:44px;height:44px}.home-card .community-spotlight-status{font-size:9px;margin:2px 0;min-height:13px}.home-card .community-spotlight-card{flex:0 0 100%;height:76px;padding:6px;grid-template-columns:44px minmax(0,1fr) 80px;gap:2px 8px}.home-card .community-spotlight-art{width:44px;height:44px}.home-card .community-spotlight-copy strong{font-size:13px}.home-card .community-spotlight-copy small{font-size:10px}.home-card .community-spotlight-copy small:not(.community-spotlight-counts){display:none}.home-card .community-spotlight-open{min-height:44px;grid-column:3;grid-row:1/span 2;align-self:center;padding:4px 8px;font-size:10px}.home-card .community-spotlight-card> :not(.community-spotlight-art):not(.community-spotlight-copy):not(.community-spotlight-open){display:none}
.home-card[data-home-panel=about]{display:flex;flex-wrap:wrap;align-content:start;column-gap:14px;overflow:hidden}.home-card .home-disclosure{display:contents}.home-card .home-disclosure h2,.home-card .home-disclosure p{flex:0 0 100%}.home-card .home-disclosure h2{font-size:14px;margin:0 0 3px}.home-card .home-disclosure p{font-size:9px;line-height:1.4;margin:3px 0}.home-card .home-disclosure nav,.home-card .console-legal{display:flex;gap:10px;flex-wrap:wrap;margin:0;padding:0;font-size:10px}.home-card .home-disclosure a,.home-card .console-legal a{display:inline-flex;min-height:44px;align-items:center}body.console-mode[data-primary-view=desktop] .community-dock-launchers,body.console-mode[data-primary-view=home] .community-dock-launchers{bottom:0;box-shadow:none}
.home-meme-preview{color:var(--baton-text);background:var(--baton-canvas);border:1px solid var(--baton-border);width:min(1100px,96vw);max-height:94dvh;padding:16px}.home-meme-preview>header,.home-meme-preview>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.home-meme-preview h2{margin:0;font-size:20px}.home-meme-preview button,.home-meme-preview a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px}.home-meme-preview [data-close]{font-size:25px}.home-meme-image-wrap{overflow:auto;height:calc(100dvh - 250px);min-height:180px;display:flex;align-items:center;justify-content:center;background:var(--baton-panel)}.home-meme-image-wrap img{display:block;max-width:100%;max-height:100%;object-fit:contain}.home-meme-preview[data-actual=true] .home-meme-image-wrap{display:block}.home-meme-preview[data-actual=true] img{max-width:none;max-height:none;width:auto;height:auto}.home-meme-preview [data-caption]{font-size:12px;line-height:1.5;max-height:60px;overflow:auto}html[data-theme] body .home-meme-preview button,html[data-theme] body .home-meme-preview a{font:12px/1.3 var(--body);min-height:44px;min-width:44px}
html[data-theme] body .home-game-dialog{position:fixed;inset:auto auto 70px max(16px,20vw)!important;margin:0!important;width:min(580px,calc(100vw - 32px))!important;height:min(700px,calc(100dvh - 100px))!important;max-width:none!important;max-height:none!important;padding:12px!important;border:1px solid var(--baton-border)!important;border-radius:18px!important;background:var(--baton-canvas)!important;color:var(--baton-text);z-index:82;box-shadow:0 12px 50px #0003!important}.home-game-dialog[hidden]{display:none!important}.home-game-dialog[open]{display:grid;grid-template-rows:48px minmax(0,1fr);gap:8px}.home-game-window-head{display:flex;gap:6px;align-items:center}.home-game-window-head>div{margin-right:auto;display:grid;gap:3px}.home-game-window-head strong{font-size:18px}.home-game-window-head small{font-size:11px;color:var(--baton-muted)}.home-game-window-head button{min-height:44px;min-width:44px;padding:0;font-size:20px}.home-game-dialog .home-game-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr) 70px auto;gap:6px;width:100%;max-width:none;height:100%;min-height:0;margin:0}.home-game-dialog .home-platform-toolbar{margin:0;gap:6px}.home-game-dialog .home-game-hud{min-height:22px;margin:0}.home-platform-viewport{min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;container-type:size}.home-platform-viewport .home-platform{width:min(100cqw,calc(100cqh * 4 / 3));height:auto;max-height:100%;flex-shrink:0;aspect-ratio:4/3;box-sizing:border-box}.home-game-dialog .home-leaderboard{min-height:0;height:100%;margin:0;padding:8px 12px;grid-template-columns:140px minmax(0,1fr);gap:8px}.home-game-dialog .home-leaderboard h2{font-size:14px}.home-game-dialog .home-leaderboard ol{min-height:0;overflow:auto;scrollbar-width:thin;font-size:10px}.home-game-dialog .home-leaderboard ol>p{margin:0;font-size:10px}.home-game-dialog .home-leaderboard-note{display:none}html[data-theme] body .home-game-dialog[data-expanded=true]{inset:12px 12px 70px!important;width:calc(100vw - 24px)!important;height:calc(100dvh - 82px)!important}
html[data-theme] body .comic-reader{inset:0!important;margin:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;padding:0!important;background:var(--baton-canvas)!important;color:var(--baton-text)}.comic-reader[open]{display:grid;grid-template-rows:74px auto minmax(0,1fr) auto}.comic-reader>header{display:flex;align-items:center;gap:16px;padding:12px 20px;border-bottom:1px solid var(--baton-border)}.comic-reader>header>div{flex:1;min-width:0}.comic-reader [data-kicker]{font-size:10px;color:var(--baton-muted);margin:0 0 4px}.comic-reader h2{font-size:22px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comic-reader :is(button,a){min-height:44px;min-width:44px;padding:8px 12px;font:12px var(--body);color:var(--baton-text)}.comic-reader-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 20px;border-bottom:1px solid var(--baton-border)}.comic-reader-tools input{min-height:44px;flex:1;padding:10px;border:1px solid var(--baton-border);border-radius:10px;background:var(--baton-panel);color:var(--baton-text)}.comic-reader-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px}.comic-reader-body :is(p,small){color:var(--baton-muted)}.comic-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:24px;align-content:start}.comic-library-grid .comic-cover-card img{height:260px}.comic-library-grid:has(>.comic-empty){display:block}.comic-library-grid:has(>.comic-empty) a{display:inline-flex;align-items:center}.comic-episode-index{display:flex;flex-direction:column;align-items:stretch;gap:12px}.comic-episode-index>button{display:flex;align-items:center;gap:18px;min-height:64px;padding:12px;text-align:left;border:1px solid var(--baton-border);border-radius:12px;background:var(--baton-panel)}.comic-episode-index>button img{width:58px;height:76px;object-fit:cover;border-radius:8px}.comic-episode-index>button span{flex:1}.comic-reader .comic-pages{padding:0;background:var(--baton-panel)}.comic-pages img{display:block;width:min(100%,800px);max-width:100%;height:auto;margin:0 auto;background:var(--baton-panel)}.comic-reader>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 16px;border-top:1px solid var(--baton-border)}.comic-reader [data-progress]{font-size:12px;color:var(--baton-muted)}
@media(min-width:701px) and (max-width:1100px){.console-home-heading .home-welcome h1{font-size:21px!important}.console-home-heading .home-welcome p{font-size:10px}.home-header-actions :is(a,button){font-size:10px;padding:6px 8px}.home-card>header h2{font-size:16px!important}.home-card>header button{font-size:10px;padding:6px}.comic-shelf:has(>.comic-empty){padding:8px 12px}.comic-empty>h3{font-size:17px}}
@media(max-width:700px){html[data-theme] body.mobile-app[data-primary-view=home]{height:auto;overflow:auto;padding-bottom:calc(var(--mobile-bar-height,64px) + 76px + env(safe-area-inset-bottom))!important}html[data-theme] body.mobile-app[data-primary-view=home] main>footer{display:none!important}html[data-theme] body.mobile-app[data-primary-view=home] .console-home{height:auto;min-height:0;overflow:visible;padding:0!important;display:flex;flex-direction:column;gap:16px}.console-home-heading{width:100%;flex-wrap:wrap;gap:8px}.console-home-heading .home-welcome{flex-basis:calc(100% - 90px)}.console-home-heading .home-welcome h1{font-size:26px!important}.console-home-heading .home-welcome p{font-size:12px}.home-header-actions{order:3;flex-basis:100%}.home-header-actions :is(a,button){font-size:12px}.home-dashboard{display:flex;flex-direction:column;gap:24px;overflow:visible}.home-card{overflow:visible;height:auto;flex:none}.home-memes{order:0;height:310px}.home-comics{order:1;height:280px}.home-card[data-home-panel=discover]{order:2;height:230px}.home-card[data-home-panel=community]{order:3}.home-card[data-home-panel=about]{order:4;overflow:visible}.home-card .home-disclosure p{font-size:12px;line-height:1.6}.home-card .home-disclosure nav,.home-card .console-legal{font-size:12px;gap:14px}.home-card>header h2{font-size:20px!important}.home-meme-status,.comic-shelf-note{font-size:11px!important}.home-meme-list{gap:5px}.comic-empty>h3{font-size:20px}.comic-empty>p{font-size:13px}.home-card .community-spotlight{display:block!important}.home-card .community-spotlight-card{height:94px;grid-template-columns:56px minmax(0,1fr) 76px}.home-card .community-spotlight-art{width:56px;height:56px}.home-card .community-spotlight-copy strong{font-size:14px}.home-card .community-spotlight-status{font-size:11px;margin:6px 0}.home-meme-preview{padding:12px}.home-meme-image-wrap{height:calc(100dvh - 300px)}html[data-theme] body.mobile-app .home-game-dialog{inset:auto 8px calc(var(--mobile-bar-height,64px) + 8px) 8px!important;width:calc(100vw - 16px)!important;height:calc(100dvh - var(--mobile-bar-height,64px) - 80px)!important;padding:10px!important}.home-game-dialog .home-leaderboard{grid-template-columns:110px minmax(0,1fr)}.comic-reader>header{padding:8px 12px;gap:8px}.comic-reader h2{font-size:17px}.comic-reader-tools{padding:8px 12px;gap:6px}.comic-reader-tools input{min-width:0;flex-basis:100%}.comic-reader-body{padding:16px}.comic-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.comic-library-grid .comic-cover-card img{height:200px}.comic-reader>footer{gap:4px;padding:6px}.comic-reader>footer button{font-size:10px;padding:6px}.comic-episode-index>button{gap:10px}.comic-episode-index>button small{font-size:10px}}

.home-comics h3,.comic-reader h3{color:var(--baton-text)!important}
.comic-reader>header{grid-row:1}.comic-reader>.comic-reader-tools{grid-row:2}.comic-reader>.comic-reader-body{grid-row:3}.comic-reader>footer{grid-row:4}

.comic-reader>footer{margin:0}

.home-game-dialog{box-sizing:border-box!important}@media(max-width:700px){html[data-theme] body.mobile-app .console-home .console-home-heading .home-welcome{min-height:0!important;display:block}.console-home-heading [data-console-account]{align-self:flex-start}}

/* Screenshot polish: each panel owns its header, spacing and content width. */
.home-card>header{position:static;z-index:auto;backdrop-filter:none;border:0;background:transparent!important;min-width:0;gap:6px}
.home-card>header>div:first-child{min-width:0;flex:1}
.home-card>header .home-game-kicker{display:none}
.home-card>header h2{margin:0!important}
.home-card>header button{flex:none}
.home-dashboard{gap:16px}
.home-memes,.home-comics{padding:12px;border:1px solid var(--baton-border);border-radius:16px;background:color-mix(in srgb,var(--baton-panel) 55%,transparent)}
.home-card .community-spotlight{background:transparent!important;border-radius:0;box-shadow:none!important}
.home-card .community-spotlight-head{height:auto;min-height:44px}
.home-card .community-spotlight-status{font-size:11px;min-height:0}
.home-card .community-spotlight-card{flex-basis:calc((100% - 24px)/3);height:88px;grid-template-columns:44px minmax(0,1fr) 44px;padding:10px;align-items:center;border-radius:12px}
.home-card .community-spotlight-open{width:44px;min-width:44px;font-size:0;padding:0}
.home-card .community-spotlight-open::after{content:'↗';font-size:18px}
.home-card .community-spotlight-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-card[data-home-panel=about]{display:block;overflow:visible;border-top:1px solid var(--baton-border);padding:8px 0 0;background:transparent!important}
.home-card .home-disclosure{display:flex;align-items:start;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;padding:0;margin:0;border:0}
.home-disclosure-details{flex:1;min-width:min(100%,180px)}
.home-disclosure-details summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;cursor:pointer;list-style:none;color:var(--baton-muted)}
.home-disclosure-details summary::-webkit-details-marker{display:none}
.home-disclosure-details summary::after{content:'+';font-size:16px}
.home-disclosure-details[open] summary::after{content:'−'}
.home-card .home-disclosure p{font-size:12px;line-height:1.6;max-width:70ch;margin:0 0 8px}
.home-card .home-disclosure nav,.home-card .console-legal{gap:8px 16px;min-height:0}
.home-card .console-legal{border-top:0}
.home-card .home-disclosure a,.home-card .console-legal a{font-size:12px;white-space:nowrap}
.console-legend{margin:0!important;flex-wrap:nowrap;min-height:50px;box-sizing:border-box}
.console-legend :is(a,button){flex:none;white-space:nowrap}
.comic-reader>header{position:static;z-index:auto;backdrop-filter:none;min-width:0;background:transparent!important}
.comic-reader>header,.comic-reader-tools,.comic-reader-body{box-sizing:border-box;min-width:0;width:100%;max-width:100%}
.comic-reader>header{padding:12px 20px;gap:12px}
.comic-reader-tools{padding:10px 20px}
.comic-reader-body{padding:24px}
.comic-reader>footer{margin:0!important;flex-wrap:nowrap}
.comic-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;text-align:center;width:100%;min-width:0}
.comic-empty h3{margin:0;font-size:18px}
.comic-empty p{margin:0!important;font-size:12px;line-height:1.5}
.comic-shelf:has(>.comic-empty){padding:20px;align-items:center;border:0;background:transparent}
.comic-library-grid:has(>.comic-empty){display:flex;align-items:center;justify-content:center}
html[data-theme] body[data-popup-surface=floating] .comic-reader-empty{--popup-width:560px;--popup-height:280px}
.comic-reader-empty[open]{grid-template-rows:auto 0 minmax(0,1fr) 0}
@media(max-width:1100px){.home-card .community-spotlight-card{flex-basis:calc((100% - 12px)/2)}}
@media(max-width:700px){.home-memes{height:280px}.home-comics{height:220px}.home-dashboard{gap:16px}.home-card .community-spotlight-card{flex-basis:100%;height:88px;grid-template-columns:44px minmax(0,1fr) 44px}.home-card .community-spotlight-art{width:44px;height:44px}.home-card .home-disclosure{display:block}.home-card .home-disclosure nav{gap:8px 16px}.comic-reader>header{padding:12px;gap:8px}.comic-reader h2{font-size:18px}.comic-reader-tools{padding:10px 12px}.comic-reader-body{padding:16px}}
html[data-theme] body .home-card>header,html[data-theme] body .comic-reader>header{background:transparent!important}
html[data-theme] body .home-card[data-home-panel=about]{background:transparent!important}
.home-card[data-home-panel=community]{container-type:inline-size}
@container(max-width:800px){.home-card .community-spotlight-card{flex-basis:calc((100% - 12px)/2)}}
@container(max-width:480px){.home-card .community-spotlight-card{flex-basis:100%}}
html[data-theme] body[data-popup-surface=floating] dialog.comic-reader.comic-reader-empty{--popup-width:560px;--popup-height:280px}
@media(min-width:701px){.home-card[data-home-panel=about]{display:flex;align-items:flex-start;gap:8px 16px;flex-wrap:wrap}.home-card .home-disclosure{flex:1}.home-card .console-legal{flex:none}}
/* An unpublished library needs a compact invitation, leaving the shelf for real art. */
@media(min-width:701px){.home-dashboard:has(.comic-empty){grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-template-areas:"memes memes" "community comics" "metrics metrics" "about about"}.home-comics:has(.comic-empty){grid-template-rows:44px minmax(80px,1fr);min-height:156px}.home-comics:has(.comic-empty) .comic-empty h3{font-size:16px}.home-comics:has(.comic-empty) .comic-shelf{padding:8px}}
@media(max-width:700px){.home-comics:has(.comic-empty){height:180px}}

/* Home Spotlight owns one panel; its wrappers and room rows stay flat. */
html[data-theme] body .home-card[data-home-panel=community]{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme] body .home-card[data-home-panel=community] .console-community{height:auto;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight{margin:0!important;padding:12px!important;max-height:none;border:1px solid var(--baton-border)!important;border-radius:16px!important;background:var(--baton-panel)!important;box-shadow:none!important}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-head{margin:0 0 4px!important;padding:0!important;min-height:44px;flex-wrap:wrap;row-gap:4px}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-controls{flex:none;margin-left:auto!important}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-track{gap:12px!important}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-card{height:76px!important;min-height:76px!important;padding:8px 0!important;grid-template-columns:44px minmax(0,1fr) 44px!important;grid-template-rows:minmax(44px,1fr)!important;align-items:center!important;gap:8px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-art{grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-copy{grid-column:2!important;grid-row:1!important}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-open{grid-column:3!important;grid-row:1!important;align-self:center!important;width:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;font-size:0!important}

/* Two compact rows use the available shelf width without shrinking room actions. */
.home-card[data-home-panel=community] .community-spotlight-viewport{container-type:inline-size;container-name:spotlight}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-track{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,48px);grid-auto-columns:100%;gap:8px 12px!important}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-card{height:48px!important;min-height:48px!important;padding:2px 0!important;scroll-snap-stop:normal}
html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-copy>small:not(.community-spotlight-counts){display:none!important}
@container spotlight (min-width:520px){html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-track{grid-auto-columns:calc((100% - 12px)/2)}}
@container spotlight (min-width:790px){html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-track{grid-auto-columns:calc((100% - 24px)/3)}}
@container spotlight (min-width:1060px){html[data-theme] body .home-card[data-home-panel=community] .community-spotlight-track{grid-auto-columns:calc((100% - 36px)/4)}}

/* Give the two-line editorial slogan space while keeping Home actions in reach. */
.console-home .home-welcome h1{font-size:clamp(22px,2.5vw,30px)!important;line-height:1.13!important;letter-spacing:-.035em}
.console-home .home-welcome h1 br{display:block}
@media(max-width:700px){.console-home-heading{flex-wrap:wrap;gap:8px}.console-home-heading .home-welcome{flex:1 1 100%}.console-home .home-welcome h1{font-size:26px!important}.console-home-heading [data-console-account]{margin-left:0}.console-home-heading .home-header-actions{margin-right:auto;flex-basis:auto;order:0}}
