/* FoxNovaPlay / personal space concept */
:root{--next-green:#b8d4b5;--next-cream:#eee4d2;--next-radius:22px}
body{--bg:#f5f3ee;--surface:#fffdf8;--surface-alt:#ebe9e2;--sidebar:#f0eee8;--text:#252b28;--muted:#737970;--line:#dfdfd5;--accent:#c76b48;--accent-hover:#ac5637;--tint:#c76b4812;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-feature-settings:'ss01';background-image:none}
body[data-mode=dark]{--bg:#141918;--surface:#1b211f;--surface-alt:#252d29;--sidebar:#171d1a;--text:#f0f0e8;--muted:#9ba69d;--line:#303a33;--accent:#e8a47f;--accent-hover:#edb493;--tint:#e8a47f14;--shadow:0 10px 28px #00000012}
body[data-accent=violet]{--accent:#a58ad6;--accent-hover:#bba2e4;--tint:#a58ad618}body[data-accent=mint]{--accent:#74b49a;--accent-hover:#90c5ae;--tint:#74b49a18}body[data-accent=blue]{--accent:#86a6d9;--accent-hover:#a2bde7;--tint:#86a6d918}
.sidebar{width:220px;padding:30px 20px;border-right:1px solid var(--line);background:var(--sidebar)}.brand{gap:10px;margin-bottom:42px}.brand svg{width:34px;height:40px}.brand>div{font-size:20px;letter-spacing:-.7px}.brand small{font-size:8px;letter-spacing:2px;margin-top:7px}.shell{margin-left:220px}.sidebar nav{gap:5px}.sidebar nav a{padding:12px 13px;border-radius:11px;font-size:13px}.sidebar nav a.active{background:var(--tint);color:var(--accent)}.sidebar nav a.active:before{display:none}.sidebar nav a svg{height:19px;width:19px}.nav-caption{font-size:8px;letter-spacing:1.7px;margin-bottom:11px}.sidebar nav+ .nav-caption{margin-top:30px}.support-note{padding:18px;border-color:var(--line);background:linear-gradient(135deg,var(--tint),transparent)}.support-note strong{font-size:13px}.support-note p{font-size:11px}.topbar{height:76px;padding:0 36px;border-color:var(--line);background:var(--bg)}.breadcrumb{font-size:11px}.top-actions{gap:12px}.account-button{border-radius:10px;font-size:12px;background:var(--accent);color:#20251f;border:0}.balance-pill{background:var(--surface);border:1px solid var(--line);border-radius:10px}.icon-button{border-radius:10px}.top-actions .icon-button{background:var(--surface);border:1px solid var(--line)}main{padding:30px 36px 48px;max-width:1600px;margin:auto}.primary,.secondary{border-radius:10px;font-weight:550;font-size:13px;min-height:42px}.primary{color:#fff}.primary:hover{transform:translateY(-1px)}body[data-mode=dark] .primary{color:#18221c}.secondary{background:var(--surface);border-color:var(--line)}.eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--accent)}.text-link{font-size:12px}.section-heading h2{font-size:25px;letter-spacing:-.9px;line-height:1.2}.section-heading p{font-size:13px;line-height:1.65}.section-heading{margin:0 0 22px;align-items:end}.section-heading .eyebrow{display:block;margin-bottom:11px}h1{font-weight:550}h2{font-weight:550}.concept-switch{display:flex;gap:7px;align-items:center;background:none;border:0;color:var(--muted);font-size:10px;padding:8px}.concept-switch i{height:5px;width:5px;border-radius:50%;background:#9fbd98}.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 0 27px}.home-welcome h1{font-size:clamp(30px,2.65vw,44px);letter-spacing:-1.7px;line-height:1.2;margin:11px 0}.home-welcome h1 em{color:var(--text);font-style:normal}.home-welcome p{font-size:13px;color:var(--muted);line-height:1.6;margin:0}.home-settings{font-size:11px;padding:8px 12px;min-height:36px;white-space:nowrap;background:transparent}.home-settings svg{width:14px;height:14px}.mood-bar{display:flex;align-items:center;gap:20px;margin:0 0 22px}.mood-bar>span{font-size:11px;color:var(--muted);white-space:nowrap}.mood-bar>div{display:flex;gap:7px;flex-wrap:wrap}.mood-bar button{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:transparent;color:var(--muted);padding:9px 13px;font-size:11px;border-radius:24px;transition:background .2s,color .2s,border-color .2s}.mood-bar button svg{height:13px;width:13px}.mood-bar button:hover{border-color:var(--accent);color:var(--text)}.mood-bar button.active{background:var(--text);border-color:var(--text);color:var(--bg)}
/* Artwork stays a composition: an unscaled crop, with room for the title. */
.discovery{grid-template-columns:minmax(0,1fr) 280px;gap:18px;margin:0 0 16px;align-items:stretch}.feature-game,#featured-carousel{min-height:352px;height:352px;border-radius:var(--next-radius);border:1px solid #ffffff12;background:#172a23;color:#fff;isolation:isolate;overflow:hidden}#featured-slide{height:100%}#featured-slide .feature-visual{inset:0;opacity:1;filter:none;z-index:-1;width:100%;height:100%}#featured-slide .feature-visual .game-art{height:100%;width:100%}#featured-slide .feature-visual .cover-art{height:100%;width:100%}#featured-slide .feature-visual:after,body[data-mode=dark] #featured-slide .feature-visual:after{background:linear-gradient(90deg,#15221ae6,#15221a7a 52%,#15221a10),linear-gradient(0deg,#101e19b3,transparent 70%)}#featured-slide .feature-copy{width:72%;padding:29px 30px 76px;position:relative;z-index:1}#featured-slide h2{font-size:clamp(34px,3.1vw,46px);font-weight:580;letter-spacing:-1.8px;line-height:1.04;max-width:360px;margin:13px 0}#featured-slide p{color:#e3e7df;max-width:290px;font-size:12px;line-height:1.7;margin:0 0 18px}#featured-slide .feature-tags{gap:5px;margin-top:12px}#featured-slide .feature-tags span{background:#15221a66;border:1px solid #ffffff22;color:#e4e9e0;font-size:9px;padding:4px 7px}#featured-slide .feature-kicker{font-size:8px;color:#e8e9d9;letter-spacing:1.7px}#featured-slide .feature-copy .primary{background:#e9eedb;color:#24342a;font-size:12px;min-height:40px;padding:10px 17px;border:0}#featured-slide .feature-footnote{display:none}.carousel-controls{left:30px;bottom:20px;gap:9px;z-index:3}.carousel-controls .icon-button{color:#e9eedb;background:#1c2b2077;border:1px solid #ffffff2b;width:27px;height:27px;font-size:17px}#carousel-dots button{background:#ffffff40}#carousel-dots button.active{background:#e8edda;width:23px}
.return-card{border:1px solid var(--line);border-radius:var(--next-radius);background:var(--surface);padding:24px 22px;display:flex;flex-direction:column;min-width:0}.return-header{display:flex;align-items:center;justify-content:space-between}.return-header .eyebrow{font-size:8px;letter-spacing:1.2px;color:var(--muted)}.small-spark{font-size:19px;color:var(--accent)}.return-identity{display:flex;gap:11px;align-items:center;margin:23px 0 20px;color:var(--text)}.return-identity .avatar{height:45px;width:45px;border-radius:14px;flex-shrink:0}.return-identity .avatar svg{width:25px;height:25px}.return-identity>div:nth-child(2){min-width:0}.return-identity strong{font-size:17px;font-weight:550;display:block;overflow-wrap:anywhere}.return-identity small{font-size:10px;display:block;color:var(--muted);margin-top:6px}.return-identity>span{margin-left:auto;color:var(--muted);font-size:18px}.return-divider{height:1px;background:var(--line);margin-bottom:21px}.return-label{font-size:8px;letter-spacing:1.5px;color:var(--muted);margin-bottom:13px}.return-game{display:flex;align-items:center;gap:11px;border:0;background:none;padding:0;text-align:left;min-width:0;color:var(--text)}.return-game .game-art{height:57px;width:57px;flex-shrink:0;border-radius:11px;overflow:hidden;position:relative}.return-game strong{display:block;font-size:14px}.return-game small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.return-play{height:28px;width:28px;border-radius:50%;background:var(--tint);display:grid;place-items:center;color:var(--accent);margin-left:auto;flex-shrink:0}.return-play svg{height:14px;width:14px}.return-footer{margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.return-footer a{color:var(--muted)}.return-footer svg{height:18px;width:18px}.return-footer a:hover{color:var(--accent)}.next-quick{padding:0 0 19px;margin:0 0 0;border-bottom:0;gap:16px;min-height:57px}.next-quick>span{font-size:11px;gap:8px;flex-shrink:0}.next-quick>span>svg{height:14px;width:14px;color:var(--accent)}.next-quick #quick-summary{display:none}#next-pins{display:flex;gap:9px;min-width:0;flex:1;flex-wrap:wrap}#next-pins button{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:5px 10px 5px 5px;font-size:10px;color:var(--text)}#next-pins .game-art{height:25px;width:29px;border-radius:5px;overflow:hidden;position:relative}.next-quick>.icon-button{height:30px;width:30px;border:1px dashed var(--line);color:var(--muted);background:transparent}
#next-home-blocks{display:flex;flex-direction:column;gap:32px}.home-pulse{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;margin:0}.home-pulse .campaign-widget{border-radius:18px;padding:18px 22px;background:linear-gradient(120deg,var(--tint),var(--surface));border-color:var(--line)}.campaign-top .eyebrow{font-size:9px;letter-spacing:1.1px}.campaign-top .eyebrow svg{width:14px;height:14px}.campaign-top .text-link{font-size:10px}.campaign-compact{grid-template-columns:1.1fr 1fr;gap:18px}.campaign-compact h3{font-size:14px;margin:8px 0 4px}.campaign-compact p{font-size:10px;line-height:1.5}.campaign-total{margin:8px 0}.campaign-total strong{font-size:20px}.campaign-total>span{font-size:9px}.home-pulse .campaign-period{font-size:9px}.home-pulse .campaign-caption{font-size:9px;opacity:.75}.campaign-widget progress{height:5px}.pulse-card{border-radius:18px;padding:18px 19px}.pulse-card>.eyebrow{font-size:9px;letter-spacing:1.4px;color:var(--muted)}.pulse-card .online-strip{margin-top:10px}.pulse-card .online-strip>button,.pulse-card .online-strip>button:first-child{padding:10px 11px}.pulse-card .online-strip strong{font-size:27px;font-weight:500}.pulse-card .stat-label,.pulse-card .online-strip small{font-size:10px}.online-dot{height:5px;width:5px;background:#b8d4b5}.home-section .game-grid{gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}.game-card{border-radius:17px;transition:transform .25s,border-color .25s,box-shadow .25s;background:var(--surface);border-color:var(--line)}.game-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--accent) 45%,var(--line));box-shadow:0 10px 30px #00000012}.game-cover{height:auto;aspect-ratio:1.45}.game-cover .game-art{height:100%;width:100%}.game-card-body{padding:16px}.game-card-body h3{font-size:15px;min-height:37px;font-weight:550}.metadata{font-size:10px;gap:5px;flex-wrap:wrap}.pin-row button{font-size:10px}.card-bottom{font-size:10px;padding-top:12px}.card-bottom button{font-size:11px}.cover-label{font-size:9px;padding:5px 8px;left:10px;bottom:10px;border-radius:6px}.favorite-button{height:28px;width:28px;top:10px;right:10px}.favorite-button svg{height:15px;width:15px}.community-heading{margin-top:0}.news-rail-controls{margin-top:-10px;margin-bottom:15px}.news-rail-controls .secondary{min-height:27px;padding:2px 9px;font-size:15px}.news-grid{gap:16px}.news-card{border-radius:17px;padding:24px;background:var(--surface)}.news-card h3{font-size:19px;line-height:1.4;letter-spacing:-.4px}.news-card p{font-size:12px;line-height:1.8}.news-top{font-size:10px}.concept-note{font-size:10px;margin:26px 0 0;color:var(--muted);line-height:1.8}
/* Profile: a public face first, editing when needed. */
.next-profile .profile-hero{min-height:310px;border-radius:24px;padding:92px 32px 34px;align-items:end;gap:24px}.next-profile .profile-hero .profile-art:after{background:linear-gradient(90deg,#0f241bee,#13271ba6 55%,#13271b20),linear-gradient(0deg,#0e211bec,transparent 70%)}.next-profile .profile-hero .avatar{height:90px;width:90px;border-radius:25px}.next-profile .profile-hero .avatar svg{height:49px;width:49px}.next-profile .profile-hero h1{font-size:43px;font-weight:550;letter-spacing:-1.5px;margin:8px 0}.next-profile .profile-identity .bio{font-size:13px;max-width:430px;line-height:1.7}.next-profile .profile-identity .username{font-size:11px}.next-profile .role-label{font-size:8px;letter-spacing:2px}.profile-topline{position:absolute!important;top:25px;left:32px;right:32px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.8px;color:#c8d4c2}.next-profile .logout-button{position:absolute;right:25px;top:52px;font-size:10px;padding:5px 10px;min-height:30px;opacity:.75}.next-profile .profile-edit{font-size:11px;padding:10px 14px;margin-left:auto;white-space:nowrap;align-self:end}.next-profile .profile-metrics{margin:18px 0 26px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.next-profile .profile-metrics>div{border-right:1px solid var(--line);padding:0}.next-profile .profile-metrics>div:last-child{border:0}.next-profile .profile-metrics b{font-size:24px;font-weight:500;margin-bottom:5px}.next-profile .profile-metrics small{font-size:11px}.next-profile .profile-showcase{padding:26px;background:var(--surface);border-radius:20px;margin-bottom:24px}.next-profile .showcase-heading h2{font-size:25px;letter-spacing:-.8px}.next-profile .showcase-explanation{font-size:12px}.next-profile .showcase-heading .small-note{font-size:8px;letter-spacing:1px}.next-profile .showcase-games{gap:14px}.next-profile .showcase-art{height:150px}.next-profile .showcase-game{border-color:var(--line);border-radius:13px}.next-profile .showcase-game strong{font-size:14px;padding:12px 14px 3px}.next-profile .showcase-game small{font-size:10px;padding:0 14px 14px}.profile-overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px}.journal-card{padding:27px;border-radius:20px;border:1px solid var(--line);background:var(--surface);min-width:0}.journal-card h2{font-size:23px;font-weight:550;letter-spacing:-.7px;margin:10px 0 20px}.journal-card .section-heading{margin-bottom:20px;align-items:center;gap:14px}.journal-card .section-heading h2{margin:0}.journal-card .section-heading .eyebrow{font-size:7px;line-height:1.7;max-width:320px;letter-spacing:1.3px;margin-bottom:12px}.journal-card .section-heading>svg{height:21px;width:21px;color:var(--muted);flex-shrink:0}.journal-game{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.journal-game .game-art{height:60px;width:65px;border-radius:11px;overflow:hidden;flex-shrink:0;position:relative}.journal-game>div:nth-child(2){flex:1;min-width:0}.journal-game strong{font-size:14px;display:block}.journal-game small{font-size:10px;color:var(--muted);display:block;margin:6px 0}.journal-game progress{width:100%;height:3px;display:block;margin-top:10px;accent-color:var(--accent)}.journal-game>span{font-size:12px;color:var(--accent)}.profile-signature{text-align:center;background:radial-gradient(ellipse at 50% 15%,var(--tint),transparent 70%),var(--surface)}.signature-symbol{width:70px;height:70px;margin:22px auto 15px;border:1px solid var(--line);border-radius:23px;display:grid;place-items:center;transform:rotate(-6deg);background:var(--tint)}.signature-symbol svg{height:39px;width:39px;color:var(--accent);transform:rotate(6deg)}.profile-signature h2{margin:8px 0;font-size:23px}.profile-signature p{font-size:12px;color:var(--muted);line-height:1.7}.profile-signature .secondary{margin:15px 0;font-size:11px}.profile-signature>.text-link{display:block;font-size:10px}.next-profile .profile-layout{margin-top:25px}.next-profile .profile-card{border-radius:20px}.next-profile .profile-form label{font-size:12px}.public-friend-button{margin-left:auto;white-space:nowrap}.public-profile .profile-hero{border-radius:24px}.public-profile .profile-hero h1{font-size:40px}
/* Friends and game night */
.social-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.count-pill{font-size:11px;font-weight:500;background:var(--tint);color:var(--accent);padding:5px 9px;border-radius:9px;vertical-align:middle}.friend-row{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding:17px 0}.friend-person{display:flex;gap:13px;align-items:center;border:0;background:none;padding:0;color:var(--text);text-align:left;flex:1;min-width:0}.friend-person .avatar{height:44px;width:44px;border-radius:14px;flex-shrink:0}.friend-person .avatar svg{height:24px;width:24px}.friend-person strong{display:block;font-size:14px}.friend-person small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.friend-tag{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted)}.friend-tag svg{height:14px;width:14px}.friend-row .secondary{font-size:10px;min-height:32px;padding:7px 10px}.social-subtitle{font-size:12px;color:var(--muted);font-weight:500;margin-top:25px}.room-empty-art{text-align:center;padding:22px 10px 26px}.room-empty-art>svg{height:55px;width:55px;padding:12px;box-sizing:content-box;color:var(--accent);background:var(--tint);border-radius:23px}.room-empty-art h3{font-size:20px;font-weight:500;letter-spacing:-.5px}.room-empty-art p{font-size:12px;color:var(--muted);line-height:1.7}.room-list-card{display:flex;align-items:center;justify-content:space-between;padding:20px;border:1px solid var(--line);background:var(--tint);border-radius:13px;margin:0 0 14px;color:var(--text)}.room-list-card small{font-size:10px;color:var(--muted)}.room-list-card h3{font-size:17px;margin:8px 0;overflow-wrap:anywhere}.room-list-card span{font-size:11px;color:var(--muted)}.room-list-card b{font-size:24px;color:var(--accent)}.room-heading{margin-top:26px}.room-heading h1{overflow-wrap:anywhere;max-width:740px}.room-member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.room-member{padding:19px 8px;display:flex;align-items:center;flex-direction:column;border:1px solid var(--line);border-radius:14px;background:var(--bg);min-width:0}.room-member .avatar{width:47px;height:47px;border-radius:15px}.room-member .avatar svg{width:26px;height:26px}.room-member strong{font-size:11px;margin:14px 0 6px;text-align:center;overflow-wrap:anywhere;max-width:100%}.room-member small{font-size:9px;color:var(--muted)}.room-member.is-ready{border-color:#83aa75;background:#7c9c6410}.room-member.is-ready small{color:#8aaf7d}.room-member-empty{border-style:dashed;color:var(--muted);justify-content:center;font-size:10px;gap:20px}.room-member-empty svg{height:27px;width:27px}.invite-link{margin:25px 0}.invite-link label{font-size:11px;color:var(--muted);display:block;margin-bottom:9px}.invite-link>div{display:flex;gap:8px}.invite-link input{flex:1;min-width:0;font-size:11px;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text)}.invite-link button{font-size:10px;padding:8px 12px}.queue-game{display:flex;align-items:center;gap:11px;padding:13px;border-radius:11px;margin:10px 0;border:1px solid var(--line)}.queue-game.is-current{background:var(--tint);border-color:color-mix(in srgb,var(--accent) 50%,var(--line))}.queue-number{font-size:10px;color:var(--muted)}.queue-game .game-art{height:48px;width:55px;border-radius:8px;position:relative;overflow:hidden;flex-shrink:0}.queue-game strong{display:block;font-size:13px}.queue-game small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.room-queue>.primary,.room-queue>.secondary{width:100%;margin-top:12px}.room-grid{grid-template-columns:1.3fr 1fr}.next-empty{padding:30px;border:1px dashed var(--line);border-radius:18px;font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:20px}.next-empty h2{color:var(--text);font-size:24px}.next-empty .primary{margin-top:12px}.small-note{font-size:11px;line-height:1.75}
/* Calm, useful controls */
.next-dialog{width:min(560px,calc(100vw - 32px));max-height:88dvh;padding:35px;border-radius:23px;border:1px solid var(--line);background:var(--surface);color:var(--text)}.next-dialog h2{font-size:30px;letter-spacing:-1px;line-height:1.15;margin:13px 0 14px}.next-dialog>p,.next-dialog form>p{font-size:12px;line-height:1.8;color:var(--muted)}.next-dialog .close-button{top:17px;right:17px}.next-dialog>.eyebrow{font-size:8px;padding-right:18px}.layout-row{display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);padding:14px 0}.layout-row label{display:flex;align-items:center;gap:10px;flex:1;font-size:12px}.layout-row input{accent-color:var(--accent);width:16px;height:16px}.layout-row .icon-button{height:29px;width:29px;background:var(--bg);border:1px solid var(--line);font-size:16px}.layout-row .icon-button:disabled{opacity:.25;cursor:default}.next-dialog form>label{display:flex;flex-direction:column;gap:9px;font-size:12px;margin:22px 0}.next-dialog form>label input{padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit}.next-dialog fieldset{border:0;padding:0;margin:22px 0}.next-dialog legend{font-size:12px;margin-bottom:12px}.room-game-option{display:flex;align-items:center;gap:12px;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:10px;cursor:pointer}.room-game-option:has(input:checked){border-color:var(--accent);background:var(--tint)}.room-game-option input{accent-color:var(--accent)}.room-game-option .game-art{width:52px;height:45px;overflow:hidden;border-radius:7px;position:relative}.room-game-option strong{font-size:13px;display:block}.room-game-option small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.demo-accounts{display:grid;gap:10px;margin:25px 0}.demo-accounts button{justify-content:start}.next-dialog::backdrop{background:#0b120fb3;backdrop-filter:blur(7px)}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.pulse-card .online-strip>button:focus-visible{outline-offset:-3px}.journal-game .game-art img,.return-game .game-art img,.queue-game .game-art img,.room-game-option .game-art img,#next-pins .game-art img{width:100%;height:100%;object-fit:cover}
@media(min-width:1500px){main{padding-top:40px}.discovery{grid-template-columns:minmax(0,1fr) 320px}#featured-carousel{height:395px}#featured-slide .feature-copy{padding:36px 38px 76px}#featured-slide h2{font-size:52px}#featured-slide p{font-size:14px;max-width:340px}.carousel-controls{left:38px}.return-card{padding:28px}.return-identity{margin:32px 0}.return-game .game-art{height:67px;width:67px}.return-game strong{font-size:17px}}
@media(max-width:1150px){.sidebar{width:190px;padding:25px 15px}.shell{margin-left:190px}main{padding:26px}.topbar{padding:0 26px}.sidebar nav a{font-size:11px;padding:11px}.brand>div{font-size:18px}.discovery{grid-template-columns:minmax(0,1fr) 235px}.return-card{padding:20px 17px}.return-identity strong{font-size:15px}.return-identity small{font-size:9px}#featured-slide .feature-copy{width:90%;padding-left:24px}#featured-slide h2{font-size:37px;max-width:300px}#featured-slide p{max-width:260px}.carousel-controls{left:24px}.home-pulse{grid-template-columns:1fr 1fr}.campaign-compact{grid-template-columns:1fr;gap:0}.campaign-compact p{display:none}.campaign-total{margin:8px 0}.campaign-total>span{font-size:10px}.home-pulse .campaign-caption{font-size:8px}.home-pulse .campaign-widget{padding:16px 18px}.home-section .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-cover{aspect-ratio:1.8}.game-card-body h3{min-height:0}.metadata{font-size:11px}.next-profile .profile-hero h1{font-size:34px}.next-profile .profile-hero{padding-left:25px;gap:17px}.next-profile .profile-hero .avatar{width:68px;height:68px}.next-profile .profile-hero .avatar svg{width:38px;height:38px}.next-profile .profile-edit{position:absolute;right:25px;top:91px}.next-profile .showcase-art{height:125px}.social-grid{grid-template-columns:1fr}.room-grid{grid-template-columns:1.2fr 1fr}.room-member-grid{grid-template-columns:repeat(2,1fr)}.invite-link>div{flex-wrap:wrap}.profile-overview-grid{grid-template-columns:1.35fr 1fr}.journal-card{padding:22px}.journal-card h2{font-size:21px}.concept-switch{font-size:9px}}
@media(max-width:850px){.sidebar{width:76px;padding:24px 12px}.shell{margin-left:76px}.sidebar .brand{justify-content:center}.sidebar .brand>div,.sidebar .nav-caption,.sidebar nav a>span,.sidebar nav a>b,.sidebar nav a>i,.sidebar-bottom{display:none}.sidebar nav a{justify-content:center;padding:13px}.sidebar nav a svg{height:21px;width:21px}.sidebar nav+nav{margin-top:15px}.brand svg{width:34px}.topbar{height:66px}main{padding:24px}.topbar{padding:0 24px}.home-welcome h1{font-size:32px}.home-welcome p{font-size:12px}.discovery{grid-template-columns:minmax(0,1fr) 225px;gap:13px}#featured-slide .feature-copy{width:100%}#featured-slide h2{font-size:35px}.mood-bar{gap:12px}.mood-bar>span{display:none}.mood-bar button{font-size:10px;padding:9px 11px}.next-profile .profile-hero{min-height:300px}.next-profile .showcase-games{grid-template-columns:repeat(2,minmax(0,1fr))}.next-profile .showcase-art{height:145px}.next-profile .profile-metrics{padding:20px;gap:12px}.next-profile .profile-metrics small{font-size:10px}.next-profile .profile-metrics b{font-size:22px}.room-grid{grid-template-columns:1fr}.room-member-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.sidebar{width:auto;position:fixed;left:0;right:0;top:auto;bottom:0;height:64px;display:flex;align-items:center;padding:5px 10px;z-index:20;border-top:1px solid var(--line);border-right:0;justify-content:center;gap:3px;background:var(--sidebar)}.sidebar .brand{display:none}.sidebar nav{display:flex;gap:2px;flex:initial}.sidebar nav+nav{margin:0}.sidebar nav a{height:42px;width:38px;min-width:0;padding:9px}.sidebar nav a[data-nav="news"],.sidebar nav a[data-nav="favorites"],.sidebar nav a[data-nav="players"]{display:none}.sidebar nav a svg{width:20px;height:20px}.shell{margin-left:0;padding-bottom:64px}.topbar{position:relative;height:62px;padding:0 18px;gap:9px}.breadcrumb>b,.breadcrumb>span:first-of-type{display:none}.breadcrumb{font-size:11px}.top-actions{gap:7px}.concept-switch{font-size:8px;gap:4px;padding:4px}.top-actions .icon-button{height:30px;width:30px}.account-button{font-size:10px;min-height:30px;max-width:77px;padding:7px 9px}.balance-pill{padding:6px 8px;font-size:10px}.balance-pill svg{height:12px;width:12px}.balance-pill>span{display:none}.top-actions .quick-trigger{display:none}main{padding:24px 18px 32px}.home-welcome{gap:14px;align-items:start;flex-wrap:wrap;margin-bottom:20px}.home-welcome h1{font-size:31px;letter-spacing:-1.3px;margin:10px 0}.home-welcome .eyebrow{font-size:8px}.home-welcome p{font-size:11px}.home-settings{min-height:30px;padding:7px 9px;font-size:10px}.home-settings svg{width:12px;height:12px}.mood-bar{margin-bottom:17px;overflow-x:auto;padding-bottom:3px}.mood-bar>div{flex-wrap:nowrap}.mood-bar button{white-space:nowrap;font-size:10px;padding:8px 11px}.discovery{grid-template-columns:1fr;gap:14px}#featured-carousel{height:340px;min-height:340px;border-radius:19px}#featured-slide .feature-copy{width:92%;padding:26px 24px 70px}#featured-slide h2{font-size:39px;max-width:295px}#featured-slide p{max-width:250px;font-size:12px}#featured-slide .feature-visual{inset:0;opacity:1}#featured-slide .feature-visual:after,body[data-mode=dark] #featured-slide .feature-visual:after{background:linear-gradient(90deg,#15221ade,#15221a55 75%,#15221a25),linear-gradient(0deg,#101e1980,transparent 70%)}.return-card{padding:17px 19px;display:grid;grid-template-columns:1fr 1.1fr;gap:12px 17px;border-radius:17px}.return-header{grid-column:1/-1}.return-header .eyebrow{font-size:8px}.small-spark{font-size:15px}.return-identity{margin:0;gap:10px}.return-identity .avatar{width:37px;height:37px;border-radius:12px}.return-identity .avatar svg{height:22px;width:22px}.return-identity strong{font-size:12px}.return-identity small{font-size:8px;line-height:1.5}.return-identity>span,.return-divider,.return-label,.return-footer{display:none}.return-game{gap:9px;border-left:1px solid var(--line);padding-left:14px}.return-game .game-art{height:39px;width:39px;border-radius:9px}.return-game strong{font-size:11px}.return-game small{font-size:8px;line-height:1.5}.return-play{display:none}.next-quick{padding:0;margin:18px 0;gap:11px;min-height:32px}.next-quick>span{font-size:10px}.next-quick>span>svg{height:12px;width:12px}#next-pins button{font-size:9px}.home-pulse{grid-template-columns:1fr;gap:12px}.home-pulse .campaign-widget{padding:18px 20px;border-radius:17px}.campaign-compact{grid-template-columns:1.15fr 1fr;gap:14px}.campaign-compact h3{font-size:14px}.campaign-compact p{display:block;font-size:10px}.campaign-total{display:block}.campaign-total strong{font-size:22px}.campaign-total>span{display:block;font-size:9px;margin-top:2px}.home-pulse .campaign-caption{font-size:9px}.pulse-card{padding:18px 20px}.pulse-card .online-strip>button,.pulse-card .online-strip>button:first-child{padding:10px 9px}.pulse-card .stat-label,.pulse-card .online-strip small{font-size:10px}.pulse-card .online-strip strong{font-size:28px}.home-section .game-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.game-cover{aspect-ratio:1.25}.game-card{border-radius:13px}.game-card-body{padding:12px}.game-card-body h3{font-size:13px;min-height:32px;line-height:1.3}.metadata{font-size:9px;gap:4px}.metadata i{display:none}.metadata>span{display:block;width:100%}.pin-row button{font-size:9px;gap:4px}.pin-row button svg{width:12px;height:12px}.card-bottom{font-size:8px;gap:7px;align-items:center}.card-bottom button{font-size:9px}.cover-label{font-size:8px;left:8px;bottom:8px;padding:4px 6px}.favorite-button{height:25px;width:25px;right:8px;top:8px}.section-heading{gap:15px;align-items:start}.section-heading h2{font-size:24px;letter-spacing:-.9px;line-height:1.2}.section-heading .eyebrow{font-size:7px;letter-spacing:1.2px;line-height:1.8}.section-heading p{font-size:11px}.section-heading>.text-link{font-size:10px;white-space:nowrap;margin-top:2px}.section-heading>.text-link svg{display:none}#next-home-blocks{gap:27px}.news-card{padding:22px}.news-card h3{font-size:19px}.news-card p{font-size:12px}.news-grid{grid-template-columns:1fr}.news-top{font-size:10px}.news-rail-controls{margin-top:0}.next-profile .profile-hero{min-height:370px;padding:105px 23px 25px;gap:15px;border-radius:20px;align-items:start;flex-direction:column}.profile-topline{left:23px;right:23px;font-size:7px;letter-spacing:1.4px}.profile-topline>span:last-child{display:none}.next-profile .profile-hero .avatar{height:64px;width:64px;border-radius:20px}.next-profile .profile-hero h1{font-size:34px}.next-profile .profile-identity .bio{font-size:12px}.next-profile .profile-identity .username{font-size:10px}.next-profile .profile-edit{top:95px;right:22px;padding:9px;font-size:10px;min-height:34px}.next-profile .logout-button{right:20px;top:44px;font-size:9px}.next-profile .profile-metrics{padding:18px 16px;gap:9px;margin:15px 0 20px}.next-profile .profile-metrics b{font-size:19px}.next-profile .profile-metrics small{font-size:9px;line-height:1.5;display:block}.next-profile .profile-showcase{padding:19px;margin-bottom:20px}.next-profile .showcase-heading h2{font-size:25px}.next-profile .showcase-heading{gap:9px}.next-profile .showcase-heading .small-note{font-size:7px}.next-profile .showcase-explanation{font-size:11px;line-height:1.7}.next-profile .showcase-games{grid-template-columns:1fr}.next-profile .showcase-art{height:150px}.next-profile .showcase-game strong{font-size:15px}.next-profile .showcase-game small{font-size:11px}.profile-overview-grid{grid-template-columns:1fr}.journal-card{padding:22px;border-radius:17px}.journal-game{gap:12px;flex-wrap:wrap}.journal-game>span{margin-left:auto}.profile-signature{padding:27px}.next-profile .profile-layout{grid-template-columns:1fr}.next-profile .profile-card{padding:22px}.next-profile .profile-form label{font-size:12px}.next-profile #showcase-editor{padding:14px}.public-profile .profile-hero h1{font-size:30px}.public-friend-button{margin-left:0}.social-grid{gap:16px}.social-grid .section-heading{align-items:center}.social-grid .section-heading h2{font-size:21px}.social-grid .section-heading>.text-link{white-space:normal}.room-member-grid{grid-template-columns:repeat(2,1fr)}.room-heading h1{font-size:32px}.room-heading>.secondary{font-size:11px}.invite-link>div{flex-wrap:nowrap}.invite-link button{padding:8px;font-size:9px}.next-dialog{padding:30px 23px;max-height:86dvh}.next-dialog h2{font-size:28px}.next-dialog .eyebrow{font-size:7px;letter-spacing:1.2px}.layout-row label{font-size:11px;line-height:1.5}.layout-row{gap:5px}.layout-row .icon-button{height:26px;width:26px;flex-shrink:0}.concept-note{font-size:9px}.toast{bottom:78px;font-size:12px;width:max-content;max-width:calc(100vw - 30px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.game-card:hover,.primary:hover{transform:none}}
.next-profile .profile-hero:before,.next-profile .profile-hero:after{display:none}.next-profile .profile-metrics>div{background:none;border:0;border-right:1px solid var(--line);border-radius:0}.next-profile .showcase-games:has(>.showcase-game:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.next-profile .showcase-games:has(>.showcase-game:nth-child(4):last-child) .showcase-art{height:175px}
@media(max-width:650px){.next-profile .showcase-games:has(>.showcase-game:nth-child(4):last-child){grid-template-columns:1fr}.next-profile .showcase-games:has(>.showcase-game:nth-child(4):last-child) .showcase-art{height:150px}}
.mobile-sections{display:none}.mobile-section-links{display:grid;gap:12px;margin-top:25px}.mobile-section-links a{padding:15px;border:1px solid var(--line);border-radius:12px;font-size:14px;color:var(--text)}
@media(max-width:650px){.mobile-sections{display:grid;place-items:center;width:34px;height:42px;flex-shrink:0;background:transparent;border:0;border-radius:10px;font-size:24px;color:var(--muted)}.mobile-sections:hover{background:var(--tint)}}
.home-welcome h1{overflow-wrap:anywhere}.friend-person>span{min-width:0}.friend-person strong{overflow-wrap:anywhere}.room-list-card>div{min-width:0}
.next-profile .logout-button{left:auto;width:auto}.public-profile .profile-hero:before{display:none}
@media(max-width:650px){.next-profile .logout-button{left:auto;right:18px;top:16px;width:auto;min-height:26px;padding:5px 8px;font-size:9px}.profile-topline{top:26px;right:90px}}

/* Day palettes use deeper inks; night palettes retain their softer highlights. */
body[data-mode=light]{color-scheme:light;--muted:#5e685f;--accent:#a24c30;--accent-hover:#893b23;--tint:#a24c3010}
body[data-mode=light][data-accent=violet]{--accent:#754fa6;--accent-hover:#603c8e;--tint:#754fa610}
body[data-mode=light][data-accent=mint]{--accent:#267359;--accent-hover:#195c46;--tint:#26735910}
body[data-mode=light][data-accent=blue]{--accent:#365f9b;--accent-hover:#274b7f;--tint:#365f9b10}
body[data-mode=light] .avatar-accent-orange{--accent:#a24c30;--tint:#a24c3010}
body[data-mode=light] .avatar-accent-violet{--accent:#754fa6;--tint:#754fa610}
body[data-mode=light] .avatar-accent-mint{--accent:#267359;--tint:#26735910}
body[data-mode=light] .avatar-accent-blue{--accent:#365f9b;--tint:#365f9b10}
.nav-caption{color:var(--muted)}
.home-pulse .campaign-caption{opacity:1}
body[data-mode=light] .account-button:not(.logged-in){color:#fff}
body[data-mode=light] .room-member.is-ready small{color:#386b32}
.color-violet{--sample-color:#754fa6}.color-mint{--sample-color:#267359}.color-blue{--sample-color:#365f9b}

/* Contrast belongs to the cover itself, including public profiles and try-on. */
.profile-hero{--hero-text:var(--text);--hero-muted:var(--profile-muted,var(--muted));color:var(--hero-text)}
body[data-mode=light]{--profile-muted:#46564c}
.profile-topline{color:var(--hero-muted);font-weight:600}
.profile-hero .profile-identity .username,.profile-hero .profile-identity .bio,.profile-hero .profile-identity>p{color:var(--hero-muted)}
.profile-hero .role-label{color:var(--hero-muted);background:transparent}
.profile-hero:has(.profile-art),.profile-hero.banner-noir{--hero-text:#f5f6ed;--hero-muted:#dbe3d7}
.profile-hero:has(.profile-art) .secondary,.profile-hero.banner-noir .secondary{background:#14241ef2;color:#f5f6ed;border-color:#aab9ae66}
.next-profile .logout-button{opacity:1}
.banner-noir .sample-background-label{background:#14241e;color:#f5f6ed;border-color:#aab9ae66}

/* A dark collectible surface stays dark even inside the daytime interface. */
.showcase-museum{--surface:#202733;--surface-alt:#2a303b;--text:#f8f3e6;--muted:#c4c5cb;--line:#465060;--accent:#e4bf7b;--tint:#e4bf7b14;color:var(--text)}
.next-profile .profile-showcase.showcase-museum{background:var(--surface);border-color:#a27e47}
.showcase-museum .showcase-game{background:var(--surface-alt)}
.card-royal{--text:#f8f3e6;--muted:#c7c4bc;color:var(--text)}
.card-royal .nameplate-neon,.banner-noir .nameplate-neon,.look-scene:has(.profile-art) .nameplate-neon{color:#b0c6ff}
.card-royal .nameplate-gold,.banner-noir .nameplate-gold,.look-scene:has(.profile-art) .nameplate-gold{color:#edc67c}
.decoration-badge,.badge-sample{color:#8b5d12}
body[data-mode=dark] .decoration-badge,body[data-mode=dark] .badge-sample,.profile-hero:has(.profile-art) .decoration-badge,.banner-noir .decoration-badge,.card-royal .decoration-badge{color:#e5c787}
.badge-leaf{color:#25674e}
.badge-diamond{color:#4d56a2}
body[data-mode=dark] .badge-leaf,.profile-hero:has(.profile-art) .badge-leaf,.banner-noir .badge-leaf,.card-royal .badge-leaf{color:#9edbbd}
body[data-mode=dark] .badge-diamond,.profile-hero:has(.profile-art) .badge-diamond,.banner-noir .badge-diamond,.card-royal .badge-diamond{color:#c4c9ff}

/* Wallet labels share one opaque ink instead of fading into an accent gradient. */
.wallet-card{--wallet-ink:#fff;color:var(--wallet-ink)}
body[data-mode=dark] .wallet-card{--wallet-ink:#18221c}
.wallet-card p,.wallet-card>span,.wallet-card h2 small{color:var(--wallet-ink);opacity:1}
.wallet-footer{border-color:color-mix(in srgb,var(--wallet-ink) 35%,transparent)}
/* Keep captions readable across the full width of an illustrated cover. */
.profile-hero .profile-art:after,.next-profile .profile-hero .profile-art:after{background:linear-gradient(180deg,#10241be0,transparent 38%),linear-gradient(90deg,#0f241bf2,#13271b90 55%,#13271b55),linear-gradient(0deg,#0e211bec,transparent 70%)}
:is(.profile-hero:has(.profile-art),.banner-noir,.card-royal,.look-scene:has(.profile-art)) .avatar{background:#20332df2}
:is(.profile-hero:has(.profile-art),.banner-noir,.card-royal,.look-scene:has(.profile-art)) .avatar-accent-orange{--accent:#e8a47f;--tint:#e8a47f14}
:is(.profile-hero:has(.profile-art),.banner-noir,.card-royal,.look-scene:has(.profile-art)) .avatar-accent-violet{--accent:#bba2e4;--tint:#bba2e414}
:is(.profile-hero:has(.profile-art),.banner-noir,.card-royal,.look-scene:has(.profile-art)) .avatar-accent-mint{--accent:#90c5ae;--tint:#90c5ae14}
:is(.profile-hero:has(.profile-art),.banner-noir,.card-royal,.look-scene:has(.profile-art)) .avatar-accent-blue{--accent:#a2bde7;--tint:#a2bde714}
.breadcrumb>span:nth-child(2){color:var(--muted)}
body[data-mode=light] .ledger-row .positive{color:#267359}
body[data-mode=dark] .ledger-row .positive{color:#90c5ae}

/* Quick games are compact cover cards, independent of the surrounding icon size. */
.next-quick{padding:12px 15px;margin:0 0 20px;border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line));border-radius:16px;background:var(--surface);box-shadow:0 3px 12px #00000003}
#next-pins{gap:10px}
#next-pins button{padding:6px 12px 6px 6px;gap:10px;min-height:48px;max-width:100%;font-size:12px;text-align:left;background:var(--bg);border:1px solid color-mix(in srgb,var(--accent) 25%,var(--line));border-radius:11px;box-shadow:0 2px 5px #00000004;transition:border-color .2s,background .2s,box-shadow .2s}
#next-pins button:hover,#next-pins button:focus-visible{border-color:var(--accent);background:var(--tint);box-shadow:0 3px 10px #00000009}
#next-pins button>span{min-width:0;overflow-wrap:anywhere}
#next-pins .game-art{position:relative;inset:auto;flex:0 0 42px;width:42px;height:34px;border-radius:7px;overflow:hidden;background:var(--surface-alt)}
#next-pins .game-art .cover-art,#next-pins .game-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transform:none}
.next-quick>.icon-button{height:34px;width:34px;flex-shrink:0;border:1px solid color-mix(in srgb,var(--accent) 25%,var(--line));border-radius:10px;background:var(--bg);color:var(--accent)}
.next-quick>.icon-button:hover{border-color:var(--accent);background:var(--tint)}
@media(max-width:650px){.next-quick{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px;margin-bottom:20px}.next-quick>span{grid-column:1;grid-row:1}.next-quick>.icon-button{grid-column:2;grid-row:1}#next-pins{grid-column:1/-1;grid-row:2}#next-pins button{font-size:12px}}

.empty-feature-fox{display:grid;place-items:center;background:radial-gradient(circle at 55% 45%,rgba(217,139,75,.2),transparent 65%)}.empty-feature-fox svg{width:clamp(120px,22vw,300px);height:auto;fill:none;stroke:var(--accent,#c9753e);stroke-width:1;opacity:.65}

/* Content and navigation occupy separate rows, including long game titles. */
#featured-carousel{display:grid;grid-template-rows:minmax(0,1fr) auto;height:auto;min-height:360px}
#featured-carousel #featured-slide{height:auto;min-height:0}
#featured-carousel #featured-slide .feature-copy{width:min(76%,660px);padding:28px 32px 28px}
#featured-carousel #featured-slide h2{font-size:clamp(30px,2.7vw,44px);line-height:1.08;max-width:510px;margin:15px 0 16px;overflow-wrap:anywhere}
#featured-carousel #featured-slide p{font-size:14px;line-height:1.65;max-width:420px;margin:0 0 22px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#featured-carousel #featured-slide .primary{position:relative;margin:0;align-self:start}
#featured-carousel .carousel-controls{position:relative;inset:auto;justify-content:flex-end;padding:0 28px 20px;margin:0;min-height:47px}
#featured-carousel .carousel-controls[hidden]{display:none!important}
@media(max-width:1100px){#featured-carousel #featured-slide .feature-copy{width:92%;padding:26px}#featured-carousel #featured-slide h2{font-size:35px;max-width:440px}}
@media(max-width:760px){#featured-carousel{height:auto;min-height:350px}#featured-carousel #featured-slide .feature-copy{width:100%;padding:26px 24px}#featured-carousel #featured-slide h2{font-size:32px;max-width:340px}#featured-carousel #featured-slide p{font-size:13px;max-width:310px}#featured-carousel .carousel-controls{padding:0 22px 18px}}
#featured-carousel{grid-template-columns:minmax(0,1fr)}
