@font-face{font-family:Vazirmatn;src:url('Vazirmatn-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--paper:#fffaf3;--ink:#29294a;--muted:#6b6578;--coral:#ff956e;--lemon:#ffe09b;--line:#e9e0d8;--blue:#dfedff;--radius:27px;--accent:#4858d8}
body{font-family:Vazirmatn,Tahoma,sans-serif;background:#fffaf3;color:var(--ink);line-height:1.95;font-size:15px}button,input,select,textarea{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #4053c6;outline-offset:5px}button{transition:transform .18s,box-shadow .18s}button:active{transform:translateY(2px) scale(.985)}h1,h2,h3{font-weight:900;letter-spacing:-.7px}.app-shell{max-width:1160px;width:100%;min-height:100vh;margin:auto;padding:0 40px;background:transparent;box-shadow:none}.topbar{padding:25px 0 24px;gap:16px;border-bottom:1px solid var(--line)}.brand{font-size:28px;line-height:1.45;gap:14px;letter-spacing:-1.3px;font-weight:900}.brand small{font-size:12px;letter-spacing:0;line-height:2;color:var(--muted);margin-top:3px;font-weight:500}.brand-mark{background:#ffe29e;color:#3d4fca;border:2px solid #e8c97b;border-radius:16px;box-shadow:3px 3px 0 #e6c47d;width:51px;height:53px;transform:rotate(-8deg);position:relative;isolation:isolate}.brand-mark:before{content:'';position:absolute;inset:5px -7px -5px 7px;z-index:-1;border:2px solid #4556cc;border-radius:13px;transform:rotate(20deg);background:#ececff}.brand-mark>span{font-size:35px;line-height:1}.top-controls{display:flex;gap:9px;align-items:center}.control-toggle{width:45px;height:45px;border:1px solid #ded6d1;border-radius:15px;background:#fffdf9;color:#3d4fca;font-size:24px;display:grid;place-items:center;box-shadow:0 3px 0 #e8e0d5}.control-toggle[aria-pressed=false]{color:#716675;background:#f3eee7}main{max-width:640px;margin:auto;padding:34px 0 20px;min-height:620px}main[data-screen=home]{max-width:none;padding-top:34px}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;position:relative;isolation:isolate;background:#ffefd2;border:1px solid #eed7ad;border-radius:38px;overflow:hidden;margin:0;padding:43px 44px 36px;min-height:425px;box-shadow:0 8px 0 #efd9b22c}.hero:after{content:'';position:absolute;left:-40px;top:-90px;width:440px;height:440px;border-radius:50%;background:#ffe2bc;z-index:-1}.hero-copy{position:relative;z-index:2}.eyebrow{display:flex;gap:9px;align-items:center;font-size:12px;color:#7c603d;margin:0 0 17px;font-weight:600}.eyebrow:before{display:none}.status-dot{width:7px;height:7px;background:#d96b40;border-radius:50%;box-shadow:0 0 0 5px #f9d9ae;flex-shrink:0}.hero h1{font-size:clamp(40px,4.4vw,60px);letter-spacing:-2.3px;line-height:1.55;max-width:none;margin:0;color:#30324f}.hero h1 span{color:#4054cd;display:inline-block;position:relative}.hero h1 span:after{content:'';position:absolute;left:0;right:0;bottom:0;height:7px;border-radius:50%;background:#ffb17b;z-index:-1;transform:rotate(-2deg)}.hero p{font-size:15px;color:#79624c;line-height:2;margin:20px 0 22px;max-width:none}.surprise{display:inline-flex;gap:23px;align-items:center;min-height:55px;padding:11px 20px;background:#4557d1;border:1px solid #3545b0;border-radius:17px;box-shadow:0 4px 0 #303e9c;color:#fff;font-size:13px;font-weight:750;margin:0}.surprise span{background:#fff3;color:#fff;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:21px;transition:transform .2s}.surprise:hover span{transform:rotate(45deg)}.surprise:hover{box-shadow:0 7px 0 #303e9c;transform:translateY(-3px)}.mini-note{display:flex;gap:11px;flex-wrap:wrap;align-items:center;color:#7f674e;font-size:11px;margin:20px 0 0}.mini-note span+span:before{content:'✦';font-size:8px;margin-left:11px;color:#b88950}.hero-scene{height:335px;width:100%;position:relative;align-self:center;justify-self:center}.scene-disc{position:absolute;width:250px;height:250px;background:#f6cf86;border:1px solid #e8bd6a;border-radius:50%;left:50%;top:47%;transform:translate(-50%,-50%)}.scene-disc:after{content:'';position:absolute;inset:-13px;border:1px dashed #ddb377;border-radius:50%}.scene-cards{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 12px 0 #a55d2610)}.scene-card-back{transform-origin:160px 200px;animation:back-wave 6s ease-in-out infinite}.scene-card-front{transform-origin:265px 200px;animation:front-wave 6s ease-in-out infinite}.scene-spark{transform-origin:352px 63px;animation:spark-turn 7s ease-in-out infinite}.scene-sticker{position:absolute;background:#fffdf7;color:#674938;padding:7px 13px;font-size:11px;font-weight:700;border:1px solid #d9c3ad;border-radius:12px;box-shadow:0 4px 0 #ba855322;white-space:nowrap}.sticker-top{top:8px;left:19px;transform:rotate(-7deg)}.sticker-bottom{bottom:4px;right:4px;transform:rotate(5deg);display:flex;align-items:center;gap:18px;background:#f4f4ff;color:#4255bb}.sticker-bottom>span{font-size:21px}.home-highlights{display:flex;justify-content:center;gap:50px;padding:26px 0 23px;border-bottom:1px solid var(--line);color:#766e7d;font-size:12px}.home-highlights b{color:#4255c4;font-size:22px;font-weight:850;margin-left:7px;display:inline-block}.section-head{display:flex;justify-content:space-between;align-items:center;margin:35px 0 18px}.tiny-label{color:#8a7385;font-size:12px}.section-head h2{font-size:30px;line-height:1.6;margin-top:3px}.section-doodle{font-size:53px;color:#db8953;line-height:1;transform:rotate(7deg)}.game-filters{display:flex;gap:9px;margin:0 0 25px;flex-wrap:wrap}.game-filters button{border:1px solid #e3d8cf;background:#fffdf9;color:#7c6d78;border-radius:40px;padding:9px 21px;font-size:12px;min-height:45px}.game-filters button[aria-pressed=true]{background:#4858ce;border-color:#4858ce;color:#fff;font-weight:700;box-shadow:0 3px 0 #d5d8f3}.games-list{display:grid;grid-template-columns:1fr 1fr;gap:23px}.game-card{display:flex;flex-direction:column;align-items:stretch;min-height:270px;margin:0;padding:23px 26px 17px;border:1px solid #00000012;border-radius:29px;box-shadow:0 6px 0 #bdada11b;gap:0;position:relative;isolation:isolate;overflow:hidden;text-align:right;transition:transform .23s,box-shadow .23s}.game-card.charades{background:#e9e6ff;color:var(--ink)}.game-card.spy{background:#e8f0d6;color:var(--ink)}.game-card.taboo{background:#ffe2d5;color:var(--ink)}.game-card.quick{background:#dbedf8;color:var(--ink)}.game-card:hover{transform:translateY(-6px);box-shadow:0 13px 0 #bdada124}.game-card:after{content:'';position:absolute;width:180px;height:180px;border:27px solid #ffffff39;border-radius:50%;left:-67px;top:48px;z-index:-1}.card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;width:100%;margin-bottom:14px}.card-tag{color:#766786;font-size:11px;opacity:1}.card-tag>span{color:#9e89b0;margin:0 4px}.card-number{font-size:13px;color:#756985;font-weight:700;opacity:.75}.card-info{display:block;position:relative;padding-left:137px;flex:1;min-height:133px}.card-info h3{font-size:32px;line-height:1.7;margin:0 0 4px;letter-spacing:-1px}.charades h3{color:#594a95}.spy h3{color:#425e34}.taboo h3{color:#a0503d}.quick h3{color:#3c6b8b}.card-info p{font-size:12px;line-height:2.1;color:#6b6075;opacity:1;max-width:230px}.card-detail{display:block;margin-top:12px;font-size:11px;color:#796c87;padding:0;line-height:1.9}.spy .card-tag,.spy .card-detail{color:#657453}.taboo .card-tag,.taboo .card-detail{color:#8a685a}.quick .card-tag,.quick .card-detail{color:#5c7a8e}.card-art{position:absolute;width:130px;height:143px;left:22px;top:64px;display:grid;place-items:center;animation:card-float 6s ease-in-out infinite;pointer-events:none}.game-card:nth-child(2) .card-art{animation-delay:-1.5s}.game-card:nth-child(3) .card-art{animation-delay:-3s}.game-card:nth-child(4) .card-art{animation-delay:-4.5s}.card-art svg{width:100%;height:auto;filter:drop-shadow(0 9px 4px #4d41551a);transition:transform .25s}.game-card:hover .card-art svg{transform:rotate(-7deg) scale(1.05)}.card-bottom{border-top:1px solid #65516c20;display:flex;align-items:center;justify-content:space-between;padding-top:11px;margin-top:9px;gap:20px;font-size:12px;color:#665370;font-weight:650}.card-arrow{position:static;display:grid;place-items:center;background:#ffffffa8;border:1px solid #ffffffa0;color:#68547c;border-radius:50%;width:33px;height:33px;font-size:20px;line-height:1;align-self:auto}.gather-note{display:flex;align-items:center;gap:20px;padding:26px 28px;margin:36px 0 8px;background:#f5eadf;border:1px solid #e8d9cc;border-radius:24px}.note-glyph{font-size:53px;color:#d0854f;line-height:1;transform:rotate(-12deg)}.gather-note h3{font-size:17px;line-height:1.8;color:#6b4c44;letter-spacing:0}.gather-note p{font-size:12px;color:#8a746d;margin-top:4px}.note-star{margin-right:auto;font-size:42px;color:#a68e69}.offline-footnote{font-size:11px;color:var(--muted)}footer{display:grid;grid-template-columns:1fr 1fr;align-items:center;text-align:right;gap:22px;border-top:1px solid #e3d8cf;margin-top:36px;padding:29px 0;color:#6a5972;font-size:12px}.footer-brand{font-size:27px;font-weight:900;letter-spacing:-1px;line-height:1.6;color:#4657be}.footer-brand>span{font-size:11px;font-weight:400;letter-spacing:0;color:#8d7d86;display:block;margin-top:4px}.maker-credit{justify-self:end;padding:0;text-align:right}.maker-caption{font-size:10px;color:#a1858d;display:block;line-height:1.5}.maker-names{display:flex;gap:14px;align-items:center;font-size:22px;font-weight:850;color:#48445e;line-height:1.6}.maker-names>span{font-weight:400;color:#c29174}.maker-names a{font-size:20px;color:#4657be;text-decoration:none;display:flex;align-items:center;gap:7px}.maker-names a:hover{text-decoration:underline;text-underline-offset:4px}.maker-names small{font-size:10px;font-weight:500;white-space:nowrap}.maker-credit p{font-size:10px;color:#9c8790;margin-top:4px}.creator-note{font-size:10px!important;color:#9c8c93!important;display:block;grid-column:1/-1;text-align:center;border-top:1px solid #eee4db;padding-top:14px;margin:0!important}
/* Game room */
.back{color:#86758e;font-size:12px;min-height:44px}.page-title{font-size:36px;line-height:1.7;margin:17px 0 9px}.intro,.ready-copy{line-height:2.1;color:#82758c;font-size:14px}.intro{margin-bottom:27px}.field-label{font-size:13px;font-weight:700;color:#62546f}.field{margin-bottom:22px}.field input,.field select,.field textarea{border:1px solid #dcd2e5;background:#fffefa;border-radius:15px;min-height:55px;padding:13px 15px;color:#4a3f5c;font-size:16px;line-height:1.9;box-shadow:0 3px 0 #eee6f128}.field small{font-size:12px;color:#8a7b94;margin-top:8px}.form-grid{gap:15px}.rules{background:#f0ecfa;border:1px solid #e1d8ef;color:#7a698b;border-radius:21px;padding:20px 23px;font-size:13px;line-height:2.2;margin:24px 0}.rules strong{font-size:14px;color:#615075;line-height:2}.rules summary{font-size:13px;font-weight:700;min-height:44px;cursor:pointer}.rules p{line-height:2.6;margin:13px 0}.rules small{color:#91809d}.button{font-size:15px;min-height:58px;border-radius:17px;font-weight:750;padding:13px 19px}.button.primary{background:#485bd5;color:#fff;border:1px solid #3a4abb;box-shadow:0 5px 0 #3543a6}.button.coral{background:#ffa780;color:#743f29;border:1px solid #ef946e;box-shadow:0 5px 0 #db825f}.button.secondary{background:#ece6f3;color:#78608c}.button.outline{background:#fffcf7;color:#78638b;border:1px solid #d6c9e1}.button.good{background:#d4e8ba;color:#4b6834;border:1px solid #b8d39c;box-shadow:0 5px 0 #a9c38d}.button:hover{filter:brightness(1.03);transform:translateY(-1px)}.button:active{box-shadow:none;transform:translateY(4px)}.button-row{gap:13px;margin-top:20px}.score-strip{gap:14px;margin:22px 0 29px}.score-pill{background:#f0eafa;color:#7d6990;border:1px solid #e2d7ed;border-radius:17px;padding:13px 17px;font-size:13px}.score-pill.active{background:#e7ebff;border-color:#bfc8ee}.score-pill b{color:#5362bc;font-size:28px;font-weight:850}.round-top{padding:8px 0;margin:5px 0 17px}.round-badge{font-size:12px;color:#96839e}.team-label{font-size:15px;color:#776186}.timer{font-size:42px;font-weight:850;color:#5a66bd;letter-spacing:1px}.timer.warning{color:#c16640}.pause{background:#f0e9f5;border:1px solid #e2d7ec;color:#826a91;border-radius:13px;font-size:12px;min-height:45px}.time-track{background:#e8e4f2;height:7px}.time-fill{background:#7c89d8}.time-fill.warning{background:#de956b}.word-card{background:#fff0c8;border:1px solid #efdda9;min-height:285px;border-radius:30px;padding:32px 25px;box-shadow:0 8px 0 #e7d9ac29;margin:25px 0}.word-card .label,.banned-label{color:#9a7f49;font-size:13px}.word{color:#6e552f;font-size:clamp(29px,5vw,43px);line-height:1.9;font-weight:900}.word-card.dark{background:#e9e6ff;border-color:#d6cff1;color:#655183}.word-card.dark .word{color:#655183}.word-card.dark .label,.spy-identity{color:#8c77a5}.banned{gap:10px;margin-top:24px}.banned span{font-size:15px;color:#8c6840;padding:6px 15px;border:1px solid #efdab4;background:#fffaf0;border-radius:12px}.banned-label{margin-top:24px}.skip{color:#9c7e83;font-size:13px;min-height:47px;margin-top:16px}.undo{border:0;display:block;width:100%;min-height:44px;padding:9px;background:transparent;color:#8d719a;font-size:12px;text-decoration:underline;text-underline-offset:4px}.round-points{font-size:12px;color:#9d86a0;margin:20px 0}.result-number{font-size:83px;color:#7b80c1;font-weight:900}.finish-emblem{font-size:75px;filter:drop-shadow(0 9px 6px #c8b8a822);animation:trophy-pop .65s cubic-bezier(.2,.8,.3,1.25) both}.ready-art{font-size:88px;animation:trophy-pop .6s ease-out both}.ready-copy{margin:19px auto 32px}.spy-name{font-size:33px;color:#6c5480}.spy-progress{gap:7px;margin:25px 0}.spy-progress span{height:6px;background:#e6ddf0}.spy-progress span.done{background:#b09acb}.spy-identity{font-size:14px;line-height:2.1;text-align:center}.private-note{font-size:12px;color:#9d87a2;line-height:2.1}.word-card .private-note{color:#a08c5f}.player-row{background:#f0eafa;border:1px solid #e2d7ee;padding:14px 18px;border-radius:16px;font-size:14px}.player-row.is-spy{background:#ffe8d9;border-color:#efc7ae}.player-row small{color:#9a7c93;font-size:12px}.pill{background:#f3e8c8;color:#9a8248}.error{background:#ffe6db;color:#ad6048;padding:12px 15px;line-height:2.1}.round-review{background:#f2edf9;border:1px solid #e4daee;border-radius:20px;padding:19px 21px;margin:24px 0}.round-review summary{font-size:13px;font-weight:700;cursor:pointer;min-height:35px;color:#867097}.review-row{display:flex;justify-content:space-between;gap:14px;align-items:center;border-top:1px solid #e0d6eb;padding:11px 0;font-size:13px;line-height:2}.review-row span{min-width:0;overflow-wrap:anywhere}.review-row small{white-space:nowrap;font-size:12px;color:#a38eac}.review-row .correct{color:#66854e}.review-row .wrong{color:#b97365}.deck-notice{color:#ad8058;font-size:13px;background:#fff1d5;border:1px solid #f1d8ac;border-radius:15px;padding:13px 16px;margin-top:23px}.count-label,.field-help{font-size:12px;color:#9b84a5;line-height:2.1}.field-help{display:block;margin-bottom:16px}.starter{border-color:#e1d5eb;color:#a185a8}.starter b{color:#9374a3;font-size:23px}.category-section{border:0;min-width:0;padding:0;margin:20px 0 26px}.category-section legend{font-size:19px;font-weight:800;color:#8b6c9e;margin-bottom:9px}.category-toolbar{display:flex;gap:8px;margin:16px 0}.category-toolbar input{flex:1;min-width:0;border:1px solid #dfd0eb;background:#fffefa;color:#90729e;min-height:48px;font-size:13px;padding:10px 14px;border-radius:14px}.category-toolbar button{min-width:48px;min-height:48px;background:#f1e8fa;border:1px solid #dfcfed;border-radius:13px;color:#a382b5;font-size:12px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.category-option{display:flex;align-items:center;gap:8px;min-height:82px;padding:12px 10px;border:1px solid #e6ddec;border-radius:17px;background:#fffcf8;cursor:pointer;font-size:12px;font-weight:650;line-height:1.9;transition:background .18s,border-color .18s}.category-option:has(input:checked){background:#f0e9fe;border-color:#c6b0e0;box-shadow:0 3px 0 #d9c7ec2e}.category-option input{width:16px;height:16px;accent-color:#a183bf;flex-shrink:0;margin:0}.category-symbol{font-size:22px;flex-shrink:0}.category-option small{display:block;color:#b292c0;font-size:11px;font-weight:400}.category-option[hidden]{display:none}.deck-count{font-size:13px;background:#f1eafa;color:#9d7faf;border:1px solid #e6d8f0;border-radius:14px;margin-top:15px;padding:10px 14px}.custom-deck{background:#f8f2fc;border:1px dashed #d4bce4;border-radius:19px;padding:17px 20px;margin:0 0 25px}.custom-deck summary{min-height:36px;cursor:pointer;font-size:13px;font-weight:700;color:#ac89be}.custom-deck .field{margin-top:17px}.check-line{display:flex;gap:11px;align-items:center;min-height:49px;font-size:13px;line-height:2.1;cursor:pointer}.check-line input{width:19px;height:19px;accent-color:#ac87c6;flex-shrink:0}.vote-list{display:grid;gap:10px;margin:22px 0 26px}.vote-list .check-line{background:#f4eafc;border:1px solid #e8d4f3;border-radius:15px;padding:11px 16px}.vote-list .check-line:has(input:checked){background:#ead9f7;border-color:#cbabdf}dialog{background:#fffcf8;color:#786087;border:1px solid #e0cdeb;border-radius:28px;padding:29px;box-shadow:0 25px 100px #6c42823b;line-height:2}dialog h2{font-size:24px}dialog p{color:#a085af;font-size:14px}dialog::backdrop{background:#51425d80;backdrop-filter:blur(7px)}
/* Short interaction motion. Decorative loops stop on demand and on reduced-motion. */
main[data-screen]>*{animation:screen-in .3s ease-out both}.games-list .game-card{animation:card-pop .5s cubic-bezier(.2,.8,.3,1.1) both}.games-list .game-card:nth-child(2){animation-delay:.07s}.games-list .game-card:nth-child(3){animation-delay:.14s}.games-list .game-card:nth-child(4){animation-delay:.21s}.party-burst{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:100;contain:strict}.party-burst i{position:absolute;left:var(--x);top:-20px;width:9px;height:15px;border-radius:3px;background:var(--color);animation:confetti-fall 1.6s var(--delay) cubic-bezier(.2,.5,.5,1) both}.press-pop{position:fixed;width:42px;height:42px;border:3px solid #969ad5;border-radius:50%;pointer-events:none;z-index:101;animation:press-pop .4s ease-out both}.motion-off *,.motion-off *:before,.motion-off *:after{animation:none!important;transition:none!important}.motion-off .party-burst,.motion-off .press-pop{display:none}@keyframes screen-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes card-pop{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes back-wave{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(3deg) translateY(-8px)}}@keyframes front-wave{0%,100%{transform:rotate(3deg) translateY(-6px)}50%{transform:rotate(-3deg) translateY(3px)}}@keyframes spark-turn{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(40deg) scale(1.12)}}@keyframes card-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(3deg)}}@keyframes trophy-pop{0%{opacity:0;transform:scale(.65) rotate(-12deg)}65%{transform:scale(1.12) rotate(6deg)}100%{opacity:1;transform:scale(1) rotate(0)}}@keyframes confetti-fall{0%{opacity:0;transform:translateY(-10px) rotate(0)}10%{opacity:1}85%{opacity:1}100%{opacity:0;transform:translateY(85vh) rotate(490deg)}}@keyframes press-pop{from{opacity:.6;transform:scale(.25)}to{opacity:0;transform:scale(1.8)}}
@media(max-width:900px){.app-shell{padding:0 27px}.hero{padding:34px 30px;grid-template-columns:1.05fr 1fr;min-height:390px}.hero h1{font-size:43px}.hero-scene{height:290px}.scene-disc{width:220px;height:220px}.sticker-top{font-size:10px;left:0}.card-info{padding-left:110px}.card-info h3{font-size:29px}.card-art{width:110px;left:16px}.game-card{padding:21px 21px 16px;min-height:270px}.home-highlights{gap:28px}.surprise{padding:10px 15px;font-size:12px;gap:15px}}
@media(max-width:650px){.app-shell{padding:0 20px}.topbar{padding:23px 0 21px}.brand{font-size:26px;gap:12px}.brand small{font-size:10px}.brand-mark{width:43px;height:47px}.control-toggle{width:40px;height:42px;font-size:22px}.top-controls{gap:7px}main,main[data-screen=home]{padding-top:24px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:26px 25px 17px;border-radius:29px;min-height:0}.hero:after{top:auto;bottom:-220px;left:-70px;width:400px;height:400px}.hero h1{font-size:43px;line-height:1.6;letter-spacing:-1.8px}.hero p{font-size:14px;margin:15px 0 19px}.eyebrow{font-size:10px;margin-bottom:15px}.hero-scene{height:244px;margin-top:11px;max-width:360px;align-self:center}.scene-disc{width:193px;height:193px;top:51%}.scene-sticker{font-size:10px}.sticker-top{top:17px;left:0}.sticker-bottom{bottom:0;right:8px;font-size:11px;padding:5px 12px}.mini-note{font-size:10px;gap:9px;margin-top:19px}.mini-note span+span:before{margin-left:9px}.surprise{min-height:52px;padding:10px 17px;gap:20px;font-size:12px}.home-highlights{gap:0;justify-content:space-between;text-align:center;padding:22px 0;font-size:10px}.home-highlights>span{flex:1;border-left:1px solid #eadfd1;line-height:1.9}.home-highlights>span:last-child{border:0}.home-highlights b{display:block;font-size:23px;margin:0 0 2px}.section-head{margin:29px 0 16px}.section-head h2{font-size:27px}.tiny-label{font-size:11px}.section-doodle{font-size:43px}.game-filters{gap:7px;margin-bottom:20px}.game-filters button{font-size:11px;padding:8px 15px;min-height:44px}.games-list{grid-template-columns:1fr;gap:20px}.game-card{min-height:246px;padding:20px 23px 15px;border-radius:26px}.card-top{margin-bottom:10px}.card-info{padding-left:118px;min-height:125px}.card-info h3{font-size:30px}.card-info p{font-size:12px}.card-art{width:118px;left:19px;top:57px}.card-detail{font-size:11px;margin-top:10px}.card-bottom{padding-top:11px;font-size:11px}.card-arrow{width:30px;height:30px}.gather-note{padding:22px 20px;gap:12px;margin-top:27px;border-radius:23px}.gather-note h3{font-size:14px;line-height:2}.gather-note p{font-size:11px;line-height:2}.note-glyph{font-size:39px;align-self:flex-start}.note-star{display:none}footer{grid-template-columns:1fr;text-align:center;gap:22px;padding:27px 0;margin-top:28px}.footer-brand{font-size:27px}.maker-credit{justify-self:center;text-align:center}.maker-names{justify-content:center}.maker-credit p{font-size:10px}.creator-note{font-size:9px!important}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-option{font-size:11px;min-height:77px;gap:7px;padding:12px 9px}.category-option small{font-size:10px}.category-symbol{font-size:21px}.page-title{font-size:32px}.word-card{min-height:270px;padding:28px 19px}.word{font-size:34px}.field-label{font-size:12px}.field-help{font-size:11px}.rules{font-size:12px;padding:18px}.button-row{gap:11px}.button{font-size:14px}.timer{font-size:39px}}
@media(max-width:360px){.app-shell{padding:0 15px}.brand{font-size:24px}.brand small{font-size:9px}.topbar{gap:9px}.brand-mark{width:38px;height:42px}.control-toggle{width:36px;height:39px;font-size:20px}.hero{padding:23px 18px 16px}.hero h1{font-size:37px}.eyebrow{font-size:9px;gap:8px}.hero-scene{height:216px;max-width:300px}.scene-disc{width:173px;height:173px}.sticker-top{font-size:9px;padding:5px 9px;top:11px}.sticker-bottom{font-size:10px;bottom:0}.hero p{font-size:13px}.surprise{font-size:11px;padding:10px 12px;gap:12px}.mini-note{font-size:9px}.home-highlights{font-size:9px}.home-highlights b{font-size:21px}.section-head h2{font-size:25px}.game-filters button{font-size:10px;padding:8px 12px}.game-card{padding:18px 18px 14px;min-height:238px}.card-info{padding-left:91px;min-height:123px}.card-info h3{font-size:27px}.card-info p{font-size:11px}.card-art{width:93px;left:13px;top:72px}.card-tag{font-size:10px}.card-detail{font-size:10px}.card-top{margin-bottom:14px}.card-number{font-size:12px}.category-option{gap:5px;padding:10px 7px}.category-symbol{font-size:18px}.category-option input{width:15px;height:15px}.category-toolbar input{font-size:12px;padding:9px 10px}.form-grid{gap:10px}.button-row{gap:8px}.button{font-size:13px}.word{font-size:29px}.gather-note{padding:19px 16px}.gather-note h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.party-burst,.press-pop{display:none}}
/* Legible supporting text in the game room. */
.intro,.ready-copy{color:#6b5d78}.field-help,.count-label,.field small,.round-badge,.private-note,.round-points{color:#75647f}.field-label,.team-label{color:#5f4b70}.word-card .label,.banned-label,.word-card .private-note{color:#7c6030}.word-card.dark .label,.spy-identity{color:#715789}.category-section legend,.category-toolbar button,.category-toolbar input,.deck-count,.custom-deck summary{color:#76548d}.category-option small{color:#786087}.skip,.undo{color:#84606f}.player-row small{color:#7c5e77}.review-row small{color:#80688c}.review-row .correct{color:#4b7134}.review-row .wrong{color:#9d5040}.rules{color:#705b80}.rules small{color:#816891}.starter{color:#80618e}.starter b{color:#715082}dialog{color:#5e4672}dialog p{color:#7a608b}.maker-caption{color:#806673}.maker-credit p,.creator-note{color:#806c77!important}
.hero-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.random-pick{border:0;background:transparent;color:#806342;font-size:11px;font-weight:650;min-height:44px;padding:8px 0;text-decoration:underline;text-underline-offset:5px}.game-library{scroll-margin-top:25px}
@media(max-width:650px){.hero{padding-top:24px}.hero h1{font-size:40px}.hero-scene{height:192px;max-width:320px;margin-top:14px}.scene-disc{width:153px;height:153px}.sticker-top{top:6px;font-size:9px;padding:5px 9px;left:4px}.sticker-bottom{right:5px;font-size:10px;padding:4px 10px}.hero-actions{gap:10px;justify-content:space-between}.random-pick{font-size:10px}.surprise{font-size:11px;gap:12px;padding:10px 13px}.hero p{font-size:13px;margin:13px 0 17px}.mini-note{margin-top:13px}.hero-copy .eyebrow{font-size:10px}}
@media(max-width:360px){.hero h1{font-size:35px}.hero-actions{gap:7px}.hero-actions .surprise{font-size:10px;padding:9px 10px;gap:9px;min-height:48px}.hero-actions .surprise>span{width:23px;height:23px;font-size:18px}.random-pick{font-size:9px}.hero-copy .eyebrow{font-size:9px}.hero-scene{height:179px}}
.category-grid:not(.is-expanded):not(.is-searching) .category-option:nth-child(n+10){display:none}.category-expand{display:block;width:100%;margin-top:12px;border:1px solid #d8c7e7;background:#f1e9fa;color:#73578a;border-radius:14px;min-height:46px;font-size:12px;font-weight:650;padding:10px 14px}.category-grid.is-searching+.category-expand{display:none}
@media(max-width:650px){.category-grid:not(.is-expanded):not(.is-searching) .category-option:nth-child(n+9){display:none}}
.section-head>.section-doodle{font-size:53px;color:#d68b54}
@media(max-width:650px){.section-head>.section-doodle{font-size:43px}}
/* Yedast v6 — sunlit color and compact, viewport-aware game stage. */
:root{--paper:#fffdf5;--ink:#18354a;--muted:#526777;--accent:#087bc4;--coral:#ff793f;--lemon:#ffdc42;--blue:#d8f1ff}
body{background:#fffdf5;color:var(--ink)}.hero{background:#e5f5ff;border-color:#a9dcf7}.hero h1 span{color:#087cc0}.hero:after{background:#ffdf57;opacity:.4}.surprise,.button.primary{background:#087bc4;color:white}.button.coral{background:#ff793f;color:#381d11}.button.good{background:#24a970;color:#fff}.game-card.charades{background:#ffe065;color:#263c49}.game-card.spy{background:#17556b;color:white}.game-card.taboo{background:#ffb68e;color:#4c2b20}.game-card.quick{background:#9ee5cc;color:#173e37}.game-card.mafia{background:#3458a4;color:#fff}.game-card.who{background:#a9e5fa;color:#17415a}.game-card.truth{background:#ffc1ce;color:#652438}.game-card.memory{background:#ffe88f;color:#4e3915}.game-card.xo{background:#b7ecc9;color:#1a493a}.game-card.color{background:#b9dfff;color:#203e65}.extra-art{font-size:78px;filter:drop-shadow(0 7px 0 #0000000d)}.game-filters{flex-wrap:wrap}.game-filters button[aria-pressed=true]{background:#087bc4;color:#fff}.word-card{background:#fff1b8;border-color:#efd477;color:#243d4e}.word-card.dark{background:#e4f2ff;color:#163f64}.label,.word-card .label,.word-card.dark .label{color:#526370}.round-top h1{font-size:22px;line-height:1.4}.compact-list{display:grid;gap:6px;overflow:auto;min-height:0;flex:1}.compact-list p{padding:4px 12px;background:#eaf4ff;border-radius:10px}.roster-player{min-height:44px;border:1px solid #bbd8e7;background:#f0f9ff;border-radius:12px;display:flex;align-items:center;justify-content:space-between;padding:7px 12px;color:#163f59}.roster-player span{font-size:10px;color:#526777}.night-guide{background:#e7f2ff;border-radius:18px;padding:14px;font-size:12px}.night-guide h2{font-size:18px}.memory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;min-height:0;flex:1;max-height:440px}.memory-tile{border:2px solid #dbbb2b;border-radius:17px;background:#ffde55;color:#705016;font-size:clamp(23px,5vh,38px);min-height:48px}.memory-tile:disabled{opacity:1}.memory-tile.matched{background:#b9efcb;border-color:#61b980}.xo-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:10px;aspect-ratio:1;width:min(100%,340px);align-self:center}.xo-grid button{border:2px solid #9ccbe6;border-radius:20px;background:#e3f3ff;color:#087bc4;font-size:48px;font-weight:800}.xo-grid button:disabled{opacity:1}.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;flex:1;max-height:260px}.color-grid button{min-height:64px;background:var(--swatch);border:3px solid #00000014;border-radius:20px;box-shadow:0 5px 0 #00000013}.color-grid span{background:#fff;color:#16354a;border-radius:30px;padding:3px 15px;font-weight:700}.play-mode .topbar{padding:10px 0}.play-mode .brand{font-size:21px}.play-mode .brand small,.play-mode footer{display:none}.play-mode .brand-mark{width:32px;height:34px;font-size:22px}.play-mode .control-toggle{width:34px;height:34px;font-size:18px}.play-mode main{max-width:620px;margin:0 auto;min-height:0;padding-top:12px}.play-mode .word-card{margin:8px 0;min-height:150px}.play-mode .back{margin:0;min-height:34px}.play-mode .round-top{margin:0;min-height:34px}.play-mode .center{padding:12px 0}.play-mode .ready-art,.play-mode .finish-emblem{font-size:54px;margin:4px auto}.play-mode .intro,.play-mode .ready-copy{margin:7px auto}.play-mode .button-row{margin:0;gap:8px}.play-mode .button{min-height:46px;padding:10px 14px;margin:0}.play-mode .word{overflow-wrap:anywhere;line-height:1.65}.play-mode .score-strip{margin:5px 0}.play-mode .round-points{margin:0;font-size:11px}.play-mode .skip,.play-mode .undo{margin:0;padding:5px;min-height:34px}.play-mode .timer-row{margin:0;min-height:46px}.play-mode .timer{font-size:35px}.play-mode .time-track{margin:0 0 4px;height:5px}.play-mode .round-review{margin:4px 0}.play-mode .private-note{margin:4px 0;font-size:12px}.play-mode .result-number{font-size:50px;line-height:1.3}.play-mode .banned{margin-top:5px;gap:5px}.play-mode .banned span{padding:3px 10px;font-size:14px}.play-mode .banned-label{margin-top:8px;font-size:11px}
@media(max-width:650px){.play-mode .app-shell{height:100dvh;height:100svh;min-height:0;display:flex;flex-direction:column;padding:0 14px;padding-bottom:env(safe-area-inset-bottom,8px)}.play-mode .topbar{flex:none;height:59px}.play-mode main{display:flex;flex-direction:column;gap:5px;flex:1;width:100%;min-height:0;padding:7px 0 9px;max-height:calc(100svh - 59px);overflow:auto;overscroll-behavior:contain}.play-mode main[data-screen=team-play],.play-mode main[data-screen=quick-play],.play-mode main[data-screen=quick-judge],.play-mode main[data-screen=spy-play]{overflow:visible}.play-mode .word-card{flex:1;min-height:0;padding:15px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:22px}.play-mode .word{font-size:clamp(24px,4.6svh,36px)}.play-mode .center{flex:1;display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:0}.play-mode .center .button{width:100%;margin-top:8px}.play-mode .ready-copy{font-size:13px;line-height:1.8}.play-mode h2{font-size:23px}.play-mode .page-title{font-size:25px}.play-mode .round-review[open]{overflow:auto;max-height:30svh}.play-mode .score-pill{padding:7px 12px}.play-mode .memory-grid{grid-template-rows:repeat(4,1fr);max-height:55svh}.play-mode .xo-grid{max-height:52svh;width:min(100%,52svh)}.play-mode .night-guide{font-size:11px;padding:9px;line-height:1.8}.play-mode .night-guide h2{font-size:17px}.play-mode .roster-player{min-height:40px}.play-mode .word-card:has(+.compact-list){flex:0;padding:9px;min-height:95px}.play-mode .compact-list{flex:1;overflow:auto}.play-mode .word-card:has(+.compact-list) .word{font-size:25px}.play-mode .extra-art{font-size:68px}.game-card{box-shadow:0 5px 0 #18354a0c}.hero{border-radius:27px}}
@media(max-height:650px) and (max-width:650px){.play-mode .topbar{height:48px;padding:5px 0}.play-mode main{max-height:calc(100svh - 48px);gap:3px}.play-mode .round-top,.play-mode .back{min-height:28px;font-size:11px}.play-mode .word-card{padding:8px;margin:3px 0}.play-mode .timer-row{min-height:36px}.play-mode .timer{font-size:29px}.play-mode .word{font-size:25px}.play-mode .button{min-height:44px;padding:7px 10px}.play-mode .skip,.play-mode .undo{min-height:29px;padding:2px}.play-mode .round-top h1{font-size:19px}}
@media(prefers-reduced-motion:no-preference){body:not(.motion-off) .memory-tile:disabled:not(.matched){animation:tile-reveal .22s ease-out}body:not(.motion-off) .memory-tile.matched{animation:tile-match .3s ease-out}body:not(.motion-off) .color-grid button:active{transform:scale(.94)}}@keyframes tile-reveal{from{transform:rotateY(80deg)}to{transform:rotateY(0)}}@keyframes tile-match{50%{transform:scale(.91)}100%{transform:scale(1)}}
.game-card .card-tag,.game-card .card-detail,.game-card .card-info p,.game-card .card-bottom{color:inherit}.game-card .card-tag,.game-card .card-detail{opacity:.85}.game-card .card-tag>span{color:inherit}.game-card.spy .card-bottom,.game-card.mafia .card-bottom{border-color:#ffffff40}.game-card.spy .card-arrow,.game-card.mafia .card-arrow{background:#ffffff24;color:white}
.game-card.spy .card-info h3,.game-card.mafia .card-info h3{color:#fff}
