/* Mobile chrome: a stable 50px bar plus the iPhone home-indicator safe area. */
:root{--accent:#284ec0;--accent-soft:#edf1fc;--nav:#fff;--page:#fff;--surface:#f5f5f6;--ink:#202124;--muted:#6d7077;--line:#e7e8eb}
:root[data-theme=dark]{--page:#17181b;--card:#1d1f23;--surface:#24262b;--ink:#f5f5f7;--muted:#a9acb4;--line:#34363c;--nav:#17181b;--accent:#a6bcff;--accent-soft:#28324b}
html{scroll-padding-bottom:90px}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.45}button,a,input,select,textarea{touch-action:manipulation}button svg{flex-shrink:0}button:active{transform:none}.social.wrap{width:100%;max-width:640px;min-height:100dvh;padding:calc(20px + env(safe-area-inset-top)) 20px calc(82px + env(safe-area-inset-bottom));margin:auto}.social.wrap.is-home{padding-top:env(safe-area-inset-top)}.social-header{height:68px;margin:0 0 22px;border-bottom:0}.brand{width:132px;height:49px;mask-image:url('/brand/wordmark.svg');-webkit-mask-image:url('/brand/wordmark.svg')}.brand-link{color:var(--ink);display:block}.icon{width:44px;height:44px;min-width:44px;padding:10px;display:inline-grid;place-items:center;border:0}.social-header .icon{color:var(--ink)}
.bottom{position:fixed;inset:auto 0 0;left:50%;transform:translateX(-50%);width:100%;max-width:640px;height:calc(51px + env(safe-area-inset-bottom));min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0 8px env(safe-area-inset-bottom);border:0;border-top:1px solid var(--line);border-radius:0;background:var(--nav);box-shadow:none;z-index:20;overflow:visible;backdrop-filter:none}.bottom button,.bottom button.active{height:50px;min-height:50px;width:100%;padding:0;margin:0;flex:none;border:0;border-radius:0;display:flex;align-items:center;justify-content:center;gap:0;background:transparent;color:var(--muted);transition:color .16s}.bottom button span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.bottom button svg{height:25px;width:25px;transform:none;animation:none;stroke-width:1.8}.bottom button.active{color:var(--ink)}.bottom button.active svg{stroke-width:2.5}.bottom .nav-play svg{width:27px;height:27px;fill:var(--ink);stroke:var(--ink);padding:3px}.bottom .nav-play.active svg{fill:var(--accent);stroke:var(--accent)}.bottom .nav-line{display:none}
.page-header{display:flex;align-items:center;justify-content:space-between;margin:-8px 0 18px}.page-header h2{font-size:21px;font-weight:650}.page-heading{margin:3px 0 26px}.page-heading h1{font-size:29px;letter-spacing:-.8px;font-weight:700}.page-heading p{margin-top:7px;font-size:14px}.subheading{display:flex;align-items:center;gap:10px;margin:0 0 24px;min-height:44px}.subheading h1,.subheading h2{font-size:22px;line-height:1.2;letter-spacing:-.4px}.conversation-menu{margin-left:auto}.screen{animation:none;min-width:0}.screen h1,.screen h2{overflow-wrap:anywhere}.profile-cover{display:none}.profile-info{padding-top:12px}.profile-info>.avatar{margin-top:0!important;border:0!important;width:96px;height:96px}.profile-info h1{font-size:28px;letter-spacing:-.6px}.profile-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-buttons button{min-height:44px}.stats{justify-content:center;gap:40px;margin:24px 0}.stats b{font-size:22px}.profile-info>.note{font-size:11px}.section-heading h3{font-size:18px}
.people-search{display:flex;gap:10px;margin-bottom:20px}.people-search .searchbox{flex:1;padding:12px;margin:0;background:var(--surface);border:0;min-width:0}.people-search .searchbox input{font-size:16px;padding:0;min-height:24px;color:var(--ink)}.people-search>button{width:48px;padding:10px}.quiet-empty{text-align:center;padding:60px 18px;color:var(--muted)}.quiet-empty>svg{width:34px;height:34px;margin-bottom:18px}.quiet-empty h2{font-size:19px;line-height:1.3;margin-bottom:8px}.quiet-empty p{font-size:14px;max-width:300px;margin:0 auto;line-height:1.6}.member-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:18px 0}.member-row .member-name{flex:1;min-width:calc(100% - 64px)}.member-row button{min-height:42px}.member-name b,.member-name small{overflow-wrap:anywhere}.member-row .icon{min-width:42px;width:42px}.contact{min-height:80px}.contact>span:not(.avatar){min-width:0}.contact b{font-size:15px;overflow-wrap:anywhere}.contact small{font-size:12px}.contact i{margin-left:auto}
.settings-section{padding:16px 0}.theme-options{display:flex;flex-direction:column;gap:8px;margin:16px 0}.theme-options button,.theme-options [aria-pressed=true]{min-height:48px;height:48px;border:1px solid var(--line);padding:12px 16px;font-size:15px;line-height:22px;text-align:left;white-space:nowrap;display:flex;align-items:center;justify-content:space-between;font-weight:500}.theme-options button::after{content:'';width:18px;height:18px;border-radius:50%;border:1px solid var(--muted);box-sizing:border-box}.theme-options [aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.theme-options [aria-pressed=true]::after{border:5px solid var(--accent)}.settings-list{margin:0}.settings-row{min-height:64px;padding:16px 0;font-size:15px}.settings-row>span{min-width:0}.settings-row>svg{width:21px;height:21px;color:var(--muted);flex-shrink:0}.settings-row small{font-size:12px;line-height:1.5}.data-note{text-align:left;line-height:1.7;margin:24px 0}.toggle-row input{width:22px;height:22px;accent-color:var(--accent);flex-shrink:0}.notification-row{display:flex;align-items:flex-start;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.notification-row>svg{flex-shrink:0;margin-top:3px}.notification-row p{font-size:14px;color:var(--ink);line-height:1.6}.notification-row time{font-size:12px;color:var(--muted);display:block;margin-top:5px}.notification-row .note{font-size:12px;text-align:left}.notice{padding:15px;border-radius:10px;line-height:1.6;font-size:13px;margin-bottom:18px}
.pricing-list{display:grid;gap:14px;margin:24px 0}.price-card{padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--card)}.price-card.featured{border-color:var(--accent)}.price-kicker{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.price-card h2{font-size:21px;margin:8px 0 18px}.price-card .price{font-size:34px;line-height:1.15;color:var(--ink);font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-1px;margin-bottom:16px}.price small{font-size:14px;font-weight:400;letter-spacing:0;margin-left:5px;color:var(--muted)}.price-card p:not(.price){font-size:14px;line-height:1.7}.availability{display:inline-block;background:var(--surface);border-radius:6px;padding:5px 9px;font-size:11px;margin-top:18px;color:var(--muted)}.section-intro{font-size:17px;margin:0 0 20px}.cover .symbol svg{width:54px;height:54px}.cover>span:last-child{display:flex;align-items:center;gap:8px}.cover>span:last-child svg{width:16px;height:16px}.field input,.field select,.field textarea{font-size:16px}.post-art .mini-card b svg{width:45px;height:45px}.post{border-radius:12px}.prompt{border-radius:12px}.profile-meta{font-variant-numeric:tabular-nums}dialog{max-width:460px}#toast{bottom:calc(65px + env(safe-area-inset-bottom));z-index:30}
@media(min-width:600px){.pricing-list{grid-template-columns:1fr 1fr}}@media(max-width:360px){.social.wrap{padding-left:14px;padding-right:14px}.subheading h1{font-size:20px}.stats{gap:26px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

:root{--page:#edf4ff;--card:#f8fbff;--surface:#e2ecfb;--ink:#263754;--muted:#617491;--line:#cedcf0;--accent:#4667b2;--accent-soft:#dce7fc;--nav:#e5eefc;--pill:#c9d9f4}
:root[data-theme=dark]{--page:#29233c;--card:#332c49;--surface:#3e3555;--ink:#f1edff;--muted:#bdb2d5;--line:#514565;--accent:#c2aef3;--accent-soft:#51416f;--nav:#302940;--pill:#574676}
.bottom{isolation:isolate}.bottom button{position:relative;z-index:1}.bottom .nav-indicator{position:absolute;left:8px;top:5px;height:40px;width:calc((100% - 16px)/5);border-radius:14px;background:var(--pill);z-index:0;pointer-events:none}.bottom .nav-indicator[hidden]{display:none}:root[data-theme=dark] .primary{color:#29203c}.bottom button.active{color:var(--ink)}
/* Floating translucent dock, matching the supplied iPhone reference. */
.bottom{bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 32px);max-width:608px;height:60px;min-height:60px;padding:0 6px;border:1px solid rgba(255,255,255,.5);border-radius:32px;overflow:hidden;background:rgba(224,235,252,.78);box-shadow:0 8px 28px rgba(32,52,86,.16),inset 0 1px 1px rgba(255,255,255,.7);backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%)}
:root[data-theme=dark] .bottom{background:rgba(48,41,64,.76);border-color:rgba(220,205,255,.18);box-shadow:0 8px 28px rgba(14,10,25,.28),inset 0 1px 1px rgba(238,226,255,.16)}
.bottom button,.bottom button.active{height:58px;min-height:58px;border-radius:28px}.bottom button svg{width:26px;height:26px}.bottom .nav-indicator{left:6px;top:5px;width:calc((100% - 12px)/5);height:48px;border-radius:26px;background:rgba(133,163,210,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.3)}
:root[data-theme=dark] .bottom .nav-indicator{background:rgba(190,169,222,.25);box-shadow:inset 0 1px 0 rgba(255,255,255,.15)}
.social.wrap{padding-bottom:calc(106px + env(safe-area-inset-bottom))}#toast{bottom:calc(86px + env(safe-area-inset-bottom))}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.bottom{background:#e5eefc}:root[data-theme=dark] .bottom{background:#302940}}
@media(prefers-reduced-transparency:reduce){.bottom{background:#e5eefc;backdrop-filter:none;-webkit-backdrop-filter:none}:root[data-theme=dark] .bottom{background:#302940}}
/* Brush-script display family; system typography for controls and reading. */
@font-face{font-family:QuilloScript;src:url('/fonts/Yellowtail-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
body,button,input,textarea,select{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;letter-spacing:0}
.brand,.script-heading,.page-heading h1.script-heading,.page-header h2.script-heading{font-family:QuilloScript,cursive!important;font-size:42px!important;font-weight:400!important;letter-spacing:0!important;line-height:1.2!important;font-synthesis:none}
.brand{mask:none!important;-webkit-mask:none!important;background:none!important;width:auto;height:auto;overflow:visible;text-transform:none}.page-header .script-heading{margin:0}.page-heading:has(.script-heading){margin-top:0}.page-heading .script-heading{margin:0 0 8px}
:root{--page:#f1f2f4;--card:#fcfcfd;--surface:#e7e8ec;--ink:#292c35;--muted:#6b6f7a;--line:#d9dce3;--accent:#586c9b;--accent-soft:#e1e7f2;--nav:#e9ebf0;--pill:#d6dce8}
:root[data-theme=dark]{--page:#211d2c;--card:#2b2737;--surface:#353041;--ink:#f1eef7;--muted:#b4aebf;--line:#453f51;--accent:#b7a7d9;--accent-soft:#453a59;--nav:#292434;--pill:#4a405a}
.bottom{background:rgba(232,234,240,.8);border-color:rgba(255,255,255,.65)}:root[data-theme=dark] .bottom{background:rgba(37,32,48,.78)}.bottom .nav-indicator{background:rgba(125,140,170,.25)}:root[data-theme=dark] .bottom .nav-indicator{background:rgba(171,154,195,.24)}.primary{background:var(--accent);color:#fff}:root[data-theme=dark] .primary{color:#211d2c}.news-art{background:#e0e5ec}.news-art h2{color:#3d485e}.topic{background:var(--surface)}.avatar.placeholder{background:var(--surface)}
.adult-pack{display:flex;flex-direction:column;gap:18px;text-align:left;width:100%;padding:28px 25px;background:#e2d4d7;color:#49333d;border:1px solid #c8b6bd;border-radius:22px;min-height:270px}.adult-pack:hover{background:#dbcbcf}.pack-label{font-size:10px;letter-spacing:1.5px;font-weight:700}.pack-title{font-size:36px;font-weight:750;line-height:1.1;letter-spacing:-1px}.pack-description{font-size:15px;line-height:1.6;max-width:300px}.pack-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;font-size:13px}.pack-footer svg{width:22px}.game-tools{margin:0 0 20px}
:root[data-theme=dark] .adult-pack{background:#473641;color:#f4e9ed;border-color:#634b5a}:root[data-theme=dark] .adult-pack:hover{background:#503c48}.gamecard{background:#e2d4d7}

.brand-link{text-decoration:none}.brand,.script-heading{-webkit-text-stroke:.2px currentColor}

.pack-search-label{display:block;font-size:14px;color:var(--muted);margin-bottom:8px}.pack-author{display:block;font-size:14px;font-weight:600;margin:4px 0 12px}.game-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-tools #pack-count{font-size:13px}
.lobby-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.lobby-heading h1{margin:0}.lobby-heading button{display:flex;align-items:center;gap:6px;font-size:14px}.lobby-card{padding:20px;border:1px solid var(--line);background:var(--card);border-radius:24px;margin-bottom:24px}.lobby-card h2{font-size:22px}.lobby-card p{font-size:14px}.catalog-title{font-size:21px;margin:24px 0 16px}.lobby-members{display:flex;gap:14px;overflow:auto;padding:16px 0}.lobby-members>div{display:flex;align-items:center;flex-direction:column;min-width:68px;max-width:100px;gap:6px;text-align:center;font-size:12px}.lobby-members .avatar{width:48px;height:48px;object-fit:cover}.current-turn .avatar{outline:3px solid var(--accent);outline-offset:3px}.room-code{width:100%;letter-spacing:1px;word-break:break-all}.room-code small{display:block;letter-spacing:0;color:var(--muted);margin-top:6px}.invite-row{display:flex;align-items:center;gap:10px;margin:12px 0}.invite-row>span{flex:1}.invite-row .avatar{width:38px;height:38px;object-fit:cover}.lobby-invitations{padding:14px 0}.shared-profile{text-align:center;padding:28px}.shared-profile .avatar{width:88px;height:88px;margin:auto}.profile-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.profile-buttons button{font-size:13px;padding:12px 8px}.visit-streak{margin:12px 0}.streak{display:inline-flex;align-items:center;gap:6px;font-size:14px}.streak svg{width:25px;height:29px;fill:currentColor;stroke-width:1}.streak span{color:var(--muted)}.streak.grey{color:#92949d}.streak.orange{color:#f28b26}.streak.pink{color:#df568c}.streak.purple{color:#a37ae5}.streak.blue{color:#399dce}.streak.gold{color:#c49622}.gamecard{color:var(--ink)}

:root[data-theme=dark]{--page:#060e18;--card:#141e2c;--surface:#1b293a;--ink:#f4f7fb;--muted:#a2afc1;--line:#29394d;--accent:#24cee8;--accent-soft:#103847;--nav:#101b29;--pill:#174356}
/* Navy surfaces and cyan accents follow the supplied game-app reference. */
:root[data-theme=dark] body{background:var(--page)}
:root[data-theme=dark] .primary{color:#03131b;background:linear-gradient(110deg,#39dbe9,#08bee5);border-color:transparent;font-weight:750}
:root[data-theme=dark] .bottom{background:rgba(14,26,40,.83);border-color:rgba(131,188,221,.22);box-shadow:0 8px 32px #0006,inset 0 1px 1px #bfefff12}
:root[data-theme=dark] .bottom .nav-indicator{background:#29c9e51e;box-shadow:inset 0 1px 0 #51dcef24}
:root[data-theme=dark] .bottom button.active{color:var(--accent)}
.mode-intro{font-size:23px!important;line-height:1.35;color:var(--ink)!important;font-weight:650;margin:16px 0 26px!important}
.mode-options{display:grid;gap:16px}.mode-card{display:flex;align-items:center;gap:17px;text-align:left;padding:23px 18px;border:1px solid var(--line);background:var(--card);border-radius:26px;min-height:138px;color:var(--ink);width:100%}.mode-copy{flex:1;min-width:0}.mode-copy strong{display:block;font-size:21px;line-height:1.2;margin-bottom:9px}.mode-copy small{display:block;color:var(--muted);font-size:14px;line-height:1.55}.mode-card>svg{width:19px;flex-shrink:0}.mode-art{display:flex;align-items:center;justify-content:center;width:48px;height:58px;flex-shrink:0;color:#bd577c}.mode-art svg{width:44px;height:44px;stroke-width:1.5}.group-mode .mode-art{color:#3783ab}
:root[data-theme=dark] .mode-card{background:linear-gradient(120deg,#182538,#111b2a);border-color:#293b51;box-shadow:inset 0 1px 0 #ffffff08}.mode-card:active{transform:scale(.985)}:root[data-theme=dark] .duo-mode .mode-art{color:#f179ab}:root[data-theme=dark] .group-mode .mode-art{color:#43d1ec}:root[data-theme=dark] .mode-card:hover{border-color:#47cfe78c;box-shadow:0 0 20px #16c6f010,inset 0 1px 0 #ffffff10}
.join-shortcut{margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}.join-shortcut h2{font-size:18px;margin:0 0 16px}.join-shortcut label{font-size:13px}.mode-breadcrumb{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;color:var(--muted);font-size:13px}.mode-breadcrumb button{background:transparent;border:0;padding:6px 0;display:flex;gap:6px;align-items:center;font-size:13px}.mode-breadcrumb svg{width:16px}
#new-catalog{display:grid;gap:14px}.adult-pack{position:relative;display:grid;grid-template-columns:1fr auto;gap:6px 12px;min-height:0;padding:21px 22px;border-radius:24px;background:var(--card);color:var(--ink);border-color:var(--line)}.pack-label{grid-column:1/-1;color:var(--muted);font-size:9px;letter-spacing:1.2px}.pack-title{font-size:23px;letter-spacing:-.4px;line-height:1.22;grid-column:1/-1}.pack-author{font-size:12px;font-weight:500;margin:0;color:var(--muted)}.pack-description{grid-column:1/-1;max-width:none;font-size:14px;line-height:1.5;margin-top:7px}.pack-footer{grid-column:1/-1;margin-top:10px;color:var(--muted)}.pack-footer svg{color:var(--accent)}
:root[data-theme=dark] .adult-pack{background:linear-gradient(120deg,#182332,#121c2a);color:var(--ink);border-color:#29374a}:root[data-theme=dark] .adult-pack:hover{background:#1b2b3d;border-color:#3d9aae}
:root[data-theme=dark] .lobby-card{background:#111c29;border-color:#25394c}.lobby-card{padding:18px}.lobby-card .note{font-size:12px;margin:10px 0}.lobby-card p:last-child{margin-bottom:0}.lobby-capacity{color:var(--muted);font-size:12px!important}.lobby-members{padding:12px 0}.room-code{padding:11px;font-size:13px}.room-code small{font-size:11px}
.room-progress{height:6px;width:65%;margin:18px auto 30px;background:var(--surface);border-radius:6px;overflow:hidden}.room-progress i{display:block;height:100%;background:var(--accent);border-radius:6px;transition:width .25s}.gamecard{border-radius:34px;min-height:340px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:32px 22px;border:1px solid var(--line);background:var(--card)!important}.gamecard>span{display:inline-block;font-size:12px;border-radius:22px;padding:9px 15px;background:var(--surface)}.gamecard h2{font-size:28px;line-height:1.35;letter-spacing:-.5px;margin:30px 0}.gamecard p{color:var(--muted);font-size:14px;margin-top:auto}
:root[data-theme=dark] .gamecard{background:radial-gradient(ellipse at bottom right,#0b5367 0%,transparent 48%),linear-gradient(145deg,#172a42,#091323 60%)!important;border-color:#3b91b0;box-shadow:inset 0 1px 2px #a8eaff7a,0 13px 0 -3px #102236,0 16px 30px #0005}
:root[data-theme=dark] .profile-info .avatar.large{border:3px solid var(--accent);box-shadow:0 0 0 5px #29c9e510}:root[data-theme=dark] .price-card,:root[data-theme=dark] .settings-section,:root[data-theme=dark] .contact{background:var(--card);border-color:var(--line)}
@media(prefers-reduced-motion:reduce){.room-progress i{transition:none}.mode-card:active{transform:none}}
@media(prefers-reduced-transparency:reduce){:root[data-theme=dark] .bottom{background:#101b29}}

.brand-link{display:flex;align-items:center;gap:10px}.brand-icon{width:36px;height:36px;object-fit:contain;border-radius:10px}.welcome-mark img{width:72px;height:72px;object-fit:contain}

/* Matching light and dark surfaces, and readable shared-game answers. */
:root:not([data-theme=dark]){--page:#edf5f8;--card:#f8fcfd;--surface:#e1edf2;--ink:#142b3e;--muted:#526b7c;--line:#c8dce5;--accent:#087c99;--accent-soft:#d7f1f6;--nav:#eaf5f8;--pill:#c5e7ee}
:root:not([data-theme=dark]) .mode-card,:root:not([data-theme=dark]) .lobby-card,:root:not([data-theme=dark]) .pack-row{background:linear-gradient(125deg,#fbfeff,#e5f0f5);border-color:#c8dce5;box-shadow:inset 0 1px 0 #fff,0 8px 24px #234b6410}
:root:not([data-theme=dark]) .gamecard{background:radial-gradient(ellipse at bottom right,#b5eaf0,transparent 55%),linear-gradient(145deg,#fff,#e7f1f7)!important;border-color:#87c6d3;box-shadow:inset 0 1px 2px #fff,0 13px 0 -3px #d4e6ee,0 16px 30px #234b6417}
:root:not([data-theme=dark]) .primary{background:linear-gradient(110deg,#38d5e5,#12b9d2);color:#062e3d;border-color:#20bfd5}
.gamecard h2{color:var(--ink);font-weight:700;text-shadow:none}.gamecard>span{color:var(--ink)}.gamecard p{color:var(--muted)}
:root[data-theme=dark] .gamecard h2{color:#f6fbff}:root[data-theme=dark] .gamecard p{color:#b8d1df}
#round-answers{margin:36px 0 20px}.answer-compose{margin-bottom:25px}.answer-compose textarea{width:100%;min-height:112px;resize:vertical;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:16px;font:inherit;font-size:16px}.answer-compose .note{text-align:left;line-height:1.6}.answer-card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:17px 18px;margin:12px 0;overflow-wrap:anywhere}.answer-card b{font-size:14px;color:var(--ink)}.answer-card p{margin:10px 0 0}.answer-text{white-space:pre-wrap;color:var(--ink);line-height:1.65}.answer-waiting,.answer-sent{color:var(--muted);font-size:14px}.sealed-answer{margin-top:12px}.answer-blur{display:block;filter:blur(6px);opacity:.55;user-select:none;pointer-events:none;line-height:1.8}.sealed-answer small{display:block;color:var(--muted);font-size:12px;margin-top:12px}.answer-error{color:#bd3650}button:disabled{opacity:.48;cursor:default}.answer-list .section-heading span{color:var(--muted);font-variant-numeric:tabular-nums}

.guest-conversion{padding:36px 6px;text-align:left}.guest-conversion h1{font-size:clamp(30px,8vw,40px);line-height:1.13;letter-spacing:-1px;margin:20px 0}.guest-conversion>p{color:var(--muted);line-height:1.7;margin-bottom:28px}.guest-conversion .primary{margin:28px 0 14px;text-align:center;text-decoration:none;padding:17px;border-radius:20px}.guest-conversion .note{text-align:left;font-size:13px}.guest-conversion>a:last-child{color:var(--muted);font-size:14px}

.avatar-promo{position:relative;min-height:260px;border-radius:28px;background:#d4e9e8;overflow:hidden;padding:25px 22px;margin-bottom:30px;border:1px solid #bdd8dc;color:#193a45}.avatar-promo-copy{position:relative;z-index:1;width:65%}.promo-tag{display:inline-block;font-size:11px;padding:6px 9px;border:1px solid #82afb8;border-radius:20px;color:#244d5a}.avatar-promo h1{font-size:29px;line-height:1.09;letter-spacing:-.8px;margin:20px 0 12px;max-width:230px}.avatar-promo p{font-size:13px;line-height:1.5;max-width:150px;margin-bottom:18px;color:#365e69}.avatar-promo .primary{display:inline-flex;align-items:center;gap:15px;border-radius:17px;padding:12px 17px;font-size:14px;min-height:44px}.avatar-promo button svg{width:17px;height:17px}.avatar-promo small{display:block;font-size:11px;margin-top:9px;color:#365e69}.avatar-promo-art{position:absolute;right:-24px;bottom:-10px;width:51%;height:92%;object-fit:contain;object-position:bottom}.home-games{margin-bottom:32px}.home-games .section-heading,.home-feed .section-heading{align-items:center;gap:8px;margin:0 0 17px}.home-games h2,.home-feed h2{font-size:21px;letter-spacing:-.5px;margin:0}.see-games{display:flex;align-items:center;gap:2px;font-size:11px;padding:8px 0;background:transparent;color:var(--muted);border:0;white-space:nowrap}.see-games svg{width:13px;height:13px}.home-game{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:17px 15px;margin-bottom:11px;background:var(--card);border:1px solid var(--line);border-radius:22px;color:var(--ink);min-height:87px}.home-game-emoji{font-size:32px;flex:0 0 38px;font-family:'Apple Color Emoji','Segoe UI Emoji',sans-serif}.home-game-copy{flex:1;min-width:0}.home-game-copy strong{display:block;font-size:16px;line-height:1.25}.home-game-copy small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.home-game-play{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:var(--accent-soft);color:var(--accent);flex-shrink:0}.home-game-play svg{width:20px;height:20px;fill:currentColor}.home-feed .prompt{margin-bottom:22px}.avatar-offer{text-align:center}.avatar-offer>img{width:135px;height:145px;object-fit:cover;object-position:top;border-radius:25px;background:var(--surface)}.avatar-offer h2{font-size:24px;margin:20px 0 12px}.avatar-offer-price{font-size:32px;font-weight:700}.avatar-offer-price small{display:block;font-size:13px;font-weight:400;color:var(--muted)}.avatar-offer .notice{text-align:left}.pack-emoji{font-family:'Apple Color Emoji','Segoe UI Emoji',sans-serif}:root[data-theme=dark] .avatar-promo{background:#223b46;border-color:#365461;color:#f3f9fa}:root[data-theme=dark] .promo-tag{color:#c5e6ec;border-color:#5b8794}:root[data-theme=dark] .avatar-promo p,:root[data-theme=dark] .avatar-promo small{color:#c2d8de}:root[data-theme=dark] .home-game{background:linear-gradient(115deg,#172536,#111d2c)}:root[data-theme=dark] .home-game-play{background:#24cee8;color:#062331}@media(max-width:360px){.avatar-promo{padding:21px 16px}.avatar-promo h1{font-size:26px}.home-games h2{font-size:19px}.home-game{gap:10px;padding:15px 12px}.home-game-copy strong{font-size:15px}}

.avatar-promo{min-height:222px;padding:19px 18px;margin-bottom:27px}.avatar-promo-copy{width:58%}.avatar-promo h1{font-size:25px;line-height:1.08;margin:13px 0 9px;letter-spacing:-.6px}.avatar-promo p{font-size:12px;max-width:135px;line-height:1.4;margin:0 0 12px}.avatar-promo .primary{padding:10px 13px;min-height:40px;font-size:13px;gap:10px}.avatar-promo small{font-size:10px;margin-top:7px}.promo-tag{font-size:9px;padding:5px 7px}.avatar-promo-art{right:10px;bottom:14px;width:42%;height:80%;object-fit:cover;object-position:50% 30%;border-radius:23px}.avatar-offer>img{object-fit:cover;object-position:center;width:155px;height:155px}@media(max-width:360px){.avatar-promo h1{font-size:24px}.avatar-promo{padding:18px 15px}.avatar-promo-art{right:8px;width:40%}}

.app-loading{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--page);color:var(--ink);padding:24px}.app-loading .script-heading{font-size:46px}.app-loading p{font-size:14px;color:var(--muted);margin-top:14px}

/* Compact home cards and the light counterpart of the navy/cyan design. */
.avatar-promo{min-height:196px;padding:17px 18px;margin-bottom:24px;border-radius:25px}.avatar-promo h1{font-size:25px;margin:12px 0 15px;line-height:1.04}.avatar-promo-art{height:84%;bottom:8%;right:12px;width:41%;border-radius:20px}.home-game{min-height:68px;padding:12px 14px;margin-bottom:9px;border-radius:19px;gap:11px}.home-game-emoji{font-size:27px;flex-basis:32px}.home-game-copy strong{font-size:15px;line-height:1.2}.home-game-copy small{font-size:10px;margin-top:5px}.home-game-play{width:33px;height:33px;border-radius:12px}.home-game-play svg{width:17px;height:17px}.home-games{margin-bottom:26px}.home-games .section-heading{margin-bottom:13px}
:root:not([data-theme=dark]){--page:#e7f1f8;--card:#f4f9fd;--surface:#d8e7f2;--ink:#122e45;--muted:#4d687e;--line:#bfd4e4;--accent:#087e9b;--accent-soft:#bfe9f0;--nav:#e0edf6;--pill:#b8dce9}
:root:not([data-theme=dark]) body{background:radial-gradient(ellipse at 90% 0,#d4e4f4 0,transparent 50%),var(--page);background-attachment:fixed}
:root:not([data-theme=dark]) .avatar-promo{background:linear-gradient(115deg,#edf6fc 0%,#c9e3ee 100%);border-color:#a8cddd;box-shadow:inset 0 1px 0 #fff,0 8px 24px #254d6c12;color:#173a50}
:root:not([data-theme=dark]) .promo-tag{background:#ecf8fc;color:#29566d;border-color:#a9cddc}
:root:not([data-theme=dark]) .avatar-promo small{color:#3b6379}
:root:not([data-theme=dark]) .avatar-promo-art{box-shadow:0 8px 20px #1b476825;border:1px solid #ffffff80}
:root:not([data-theme=dark]) .home-game{background:linear-gradient(105deg,#f8fcff,#dcebf5);border-color:#bcd4e3;box-shadow:inset 0 1px 0 #fff,0 4px 12px #2955720b}
:root:not([data-theme=dark]) .home-game-play{background:#26c6df;color:#06374c;box-shadow:0 3px 9px #1093b329}
:root:not([data-theme=dark]) .post{background:#f4f9fd;border:1px solid #bfd4e4;box-shadow:0 5px 18px #244b6910}
:root:not([data-theme=dark]) .prompt{background:#dcebf5;border:1px solid #b9d1e2;color:#31516a}
:root:not([data-theme=dark]) .bottom{background:#e2eff7d9;border-color:#b4cddd;box-shadow:0 8px 24px #1a47652a,inset 0 1px 0 #fff}
@media(max-width:360px){.avatar-promo{min-height:190px;padding:16px}.avatar-promo h1{font-size:24px}.home-game-copy strong{font-size:14px}}

/* Transparent portrait over a separate solid panel: the hair can cross its top edge. */
.avatar-promo{overflow:visible}.avatar-popout{position:absolute;right:12px;bottom:18px;width:42%;max-width:165px;height:124px;isolation:isolate;pointer-events:none}.avatar-popout::before{content:'';position:absolute;inset:0;border-radius:21px;background:#DCE3EB;box-shadow:0 7px 18px #132d4820,inset 0 1px 0 #ffffff8c;z-index:-1}.avatar-popout>img{position:absolute;bottom:0;left:0;display:block;width:100%;height:auto;max-width:none;object-fit:contain;border-radius:0 0 21px 21px}.avatar-offer>img{object-fit:contain;object-position:bottom;background:#DCE3EB}@media(max-width:360px){.avatar-popout{width:41%;right:9px;height:108px;bottom:22px}}

/* Larger portrait and a concise benefit, without an empty central gap. */
.avatar-promo{min-height:210px;padding:16px 18px}.avatar-promo-copy{width:55%}.avatar-promo h1{font-size:24px;margin:9px 0 7px}.avatar-promo .avatar-promo-description{font-size:11px;line-height:1.4;max-width:150px;margin:0 0 10px}.avatar-popout{right:8px;bottom:15px;width:47%;max-width:200px;height:143px}.avatar-popout>img{width:115%;left:-7.5%;height:auto}.avatar-popout::before{border-radius:23px}.avatar-popout>img{border-radius:0 0 23px 23px}@media(min-width:500px){.avatar-popout{height:163px;bottom:12px}.avatar-popout>img{width:105%;left:-2.5%}.avatar-promo-description br{display:none}}@media(max-width:360px){.avatar-promo{padding:16px 14px}.avatar-promo h1{font-size:22px}.avatar-popout{width:44%;right:6px;height:132px;bottom:17px}.avatar-popout>img{width:115%;left:-7.5%}.avatar-promo .primary{padding:10px 11px}}

/* Official welcome post uses comfortable reading text in both themes. */
.official-post .post-copy .text-post{font-size:15px;line-height:1.65;letter-spacing:0;color:var(--ink)}
.official-post .topic{font-size:18px;font-weight:700;background:none;padding:0;color:var(--ink)}
.shared-post .post-copy p{font-size:15px;line-height:1.65;color:var(--ink);white-space:pre-wrap}.shared-post .post-copy h3{font-size:19px;margin:0 0 13px}.shared-post .post{margin:0 12px 12px;border-radius:16px}.post-actions{display:flex;gap:8px;padding:8px 14px 14px;border-top:1px solid var(--line)}.post-actions button{display:flex;gap:8px;align-items:center;min-height:42px;min-width:64px;background:none;border:0;color:var(--muted)}.post-actions button[aria-pressed=true]{color:#e36385}.reaction-choices{display:flex;gap:10px;margin:20px 0}.reaction-choices button{flex:1;font-size:30px;padding:14px 5px}.reaction-choices small{display:block;font-size:12px;margin-top:5px}.feed-comment{padding:14px 0;border-bottom:1px solid var(--line)}.feed-comment p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);font-size:14px;line-height:1.5}.remote-media img,.remote-media video{display:block;width:100%;max-height:480px;object-fit:contain;border-radius:12px}.remote-media{min-height:50px}.chat-compose-row{display:flex;align-items:flex-end;gap:8px;padding:8px;background:var(--card);border:1px solid var(--line);border-radius:25px}.chat-compose-row textarea{flex:1;min-width:0;border:0;background:transparent;resize:none;min-height:40px;max-height:140px;margin:0;padding:10px 2px;line-height:20px}.chat-send,.chat-attach{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;padding:8px;border-radius:50%;margin:0}.chat-attach{position:relative;color:var(--muted);cursor:pointer;overflow:hidden}.chat-attach input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.chat-compose-row .chat-send svg{width:22px;height:22px}.chat-compose-row .chat-send{border-radius:50%}.message-bubble .remote-media{max-width:280px}.message-bubble p:empty{display:none}#chat-attachment-preview:empty{display:none}#chat-attachment-preview{display:flex;gap:8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:15px;margin-bottom:8px}#chat-attachment-preview img,#chat-attachment-preview video{width:70px;height:70px;object-fit:contain}#chat-attachment-preview span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px}#chat-attachment-preview button{padding:6px}#live-message .form-error{font-size:12px;margin:4px 12px;min-height:16px}.member-profile-link{display:flex;align-items:center;gap:12px;flex:1;text-align:left;background:none;border:0;padding:0;min-width:0}.member-profile-link .member-name{min-width:0}.member-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.shared-profile .avatar{width:96px;height:96px;font-size:34px}.shared-profile .profile-buttons{flex-wrap:wrap}
.member-card{padding:16px 0;border-bottom:1px solid var(--line)}.member-card-top{display:flex;align-items:center;gap:8px}.member-card-top>.icon{margin-left:auto;flex:0 0 42px}.member-profile-heading{position:relative;display:flex;justify-content:center}.member-profile-heading>.icon{position:absolute;right:0;top:0}.member-name b,.member-name small{display:block;overflow-wrap:anywhere}.member-name small{font-size:12px;color:var(--muted);margin-top:4px}.member-profile-actions button{font-size:13px}.chat-compose-row:has(textarea:disabled){opacity:.6}
.post-reaction-counts{display:flex;gap:6px;flex-wrap:wrap;padding:4px 16px 12px}.post-reaction-counts:empty{display:none}.post-reaction-counts button{border:1px solid var(--line);border-radius:16px;padding:5px 10px;font-size:15px;display:flex;gap:6px;align-items:center;background:var(--surface);min-height:34px}.post-reaction-counts button span{font-size:12px;font-weight:650}.post-reaction-counts button[aria-pressed=true]{border-color:var(--accent);background:var(--accentsoft);color:var(--ink)}.reaction-choices{display:grid;grid-template-columns:repeat(3,1fr)}
.presence-avatar{position:relative;display:inline-flex;flex:0 0 auto}.online-dot{position:absolute;right:0;bottom:0;width:12px;height:12px;border-radius:50%;background:#36ca7c;border:2px solid var(--card,#fff)}.presence-text{font-size:12px;margin:3px 0;color:var(--muted)}.presence-text.is-online{color:#36ca7c}.conversation-profile-link{padding:0;background:none;border:0;text-align:left}.conversation-profile-link h2{margin:0}.subheading>.presence-avatar .avatar{width:42px;height:42px}
