:root{--ink:#111521;--muted:#687080;--pink:#ed286f;--pink-light:#ffe5ee;--aqua:#73e7db;--teal:#087c73;--mint:#ddfaf2;--purple:#7360c6;--cream:#fffaf8;--line:#e9e4e4;--shadow:0 12px 30px #22203208;--radius:24px;--font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:var(--cream);font-family:var(--font);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}p,h1,h2,h3,h4{margin:0}h1,h2,h3,h4{line-height:1.13;letter-spacing:-.035em}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #146cba;outline-offset:4px}button{color:inherit}img,svg{max-width:100%}input,select,textarea{max-width:100%}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.icon.fill{fill:currentColor;stroke:none}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:11px}.pink-text{color:var(--pink)}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.space-top{margin-top:24px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-60px;left:12px;z-index:100;background:var(--ink);color:white;padding:12px;border-radius:8px}.skip:focus{top:12px}
.header{height:94px;border-bottom:1px solid var(--line);background:#fffaf8ed;backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}.header-inner{max-width:1152px;margin:auto;padding:0 28px;height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:14px}.brand-logo{width:115px;height:80px;object-fit:contain;display:block}.network-badge{border-left:1px solid var(--line);padding-left:16px;font-size:11px;color:var(--muted);line-height:1.35;max-width:100px}.desktop-nav{display:flex;gap:8px}.nav-link{display:inline-flex;gap:8px;align-items:center;padding:10px 18px;border-radius:100px;color:#626778;font-weight:600;font-size:14px}.nav-link.active{color:var(--ink);background:#f0eceb}.nav-link:hover{background:#f4efee}.header-actions{display:flex;align-items:center;gap:12px}.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;display:inline-flex;justify-content:center;align-items:center;background:#fff}.icon-btn:hover{background:#f5f0ef}.icon-btn:disabled:hover{background:#fff}.profile-dot{background:var(--pink-light);border:0;color:var(--pink)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 23px;min-height:49px;font-size:14px;font-weight:700;border:1px solid transparent;border-radius:100px;line-height:1.2;transition:background .15s,transform .15s,box-shadow .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.primary{background:var(--ink);color:white}.primary:hover:not(:disabled){background:#272b3a;box-shadow:0 4px 12px #11152115}.pink{background:var(--pink);color:white}.pink:hover:not(:disabled){background:#d41b5d}.aqua{background:var(--aqua);color:var(--ink)}.secondary{background:white;border-color:#d5d5dc}.secondary:hover:not(:disabled){background:#fcf5f7}.soft{background:#ffe4ed;color:#a80e48}.text-btn{border:0;background:none;padding:8px 0;font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:7px}.text-btn:hover{color:var(--pink)}.wide{width:100%}.btn.small-btn{padding:10px 17px;min-height:41px;font-size:12px}.mobile-nav{display:none}.container{max-width:1112px;margin:auto;padding:0 28px}.hero{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:49px 0 32px}.date-label{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:.025em;margin-bottom:12px;display:flex;gap:8px;align-items:center}.date-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--pink)}.hero h1{font-size:clamp(36px,4.5vw,59px);font-weight:850;letter-spacing:-.055em;line-height:1.08}.hero h1 span{color:var(--pink)}.hero-description{font-size:15px;color:var(--muted);margin-top:15px;line-height:1.6}.streak-tease{display:flex;gap:14px;align-items:center;text-align:left;border:0;background:none;max-width:230px}.streak-tease p{font-size:12px;color:var(--muted);margin-top:4px}.streak-tease strong{font-size:14px}.streak-symbol{width:52px;height:58px;display:flex;align-items:center;justify-content:center;background:#fff0c5;transform:rotate(6deg);border-radius:16px;color:#6c4a0a}.streak-symbol .icon{width:30px;height:30px}.games-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.game-card{position:relative;isolation:isolate;overflow:hidden;min-height:342px;border-radius:var(--radius);padding:28px 30px;border:1px solid #f2d5df;box-shadow:var(--shadow);transition:transform .18s}.game-card:hover{transform:translateY(-3px)}.daily-card{background:linear-gradient(125deg,#ffecf2,#ffdce9)}.qwerty-card{background:linear-gradient(125deg,#e4fbf4,#cdf5ec);border-color:#c4e7dd}.game-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:600}.tag{display:inline-flex;align-items:center;gap:6px;background:#ffffffb8;padding:5px 10px;border-radius:20px;font-size:11px;font-weight:650;line-height:1.45}.tag .icon{width:13px;height:13px}.points-cap{font-size:11px;color:#685564}.qwerty-card .points-cap{color:#426d64}.game-card h2{font-size:43px;letter-spacing:-.045em;margin-top:24px}.card-copy{max-width:255px;margin-top:13px;color:#665361;font-size:13px;line-height:1.65;position:relative;z-index:1}.qwerty-card .card-copy{color:#3e665e;max-width:230px;margin-top:1px}.card-logo{width:212px;height:79px;object-fit:contain;object-position:left;margin:13px 0 0 -5px;display:block}.card-art{position:absolute;width:252px;right:-33px;bottom:37px;z-index:-1;opacity:.98;pointer-events:none}.qwerty-card .card-art{width:254px;bottom:49px;right:-34px}.game-meta{margin-top:20px;font-size:11px;color:#685564;display:flex;gap:13px;align-items:center}.game-meta .icon{width:14px;height:14px}.qwerty-card .game-meta{color:#426d64}.game-card .card-action{position:absolute;left:30px;bottom:28px;z-index:2;min-width:202px}.completed-tag{background:#fff;color:#086f57}.extras-section{margin-top:31px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px;gap:16px}.section-heading h2{font-size:22px;font-weight:780;letter-spacing:-.035em}.section-heading p{font-size:12px;color:var(--muted)}.extra-row{display:flex;gap:19px;align-items:center;background:#f2eefc;border:1px solid #e8e1f7;padding:20px 24px;border-radius:20px;margin-bottom:12px}.extra-icon{width:62px;height:62px;border-radius:18px;background:#e5dcfa;display:flex;align-items:center;justify-content:center;color:#6f54bc;transform:rotate(-6deg);flex-shrink:0}.extra-icon .icon{width:30px;height:30px}.extra-copy{flex:1}.extra-copy h3{font-size:18px;font-weight:750}.extra-copy p{font-size:12px;color:#776d8e;margin-top:5px}.extra-row .tag{background:white;color:#6c52b6}.extra-row .btn{min-height:43px;padding:11px 22px;font-size:13px}.extras-empty{background:#f3f0f7;padding:21px 24px;border-radius:18px;display:flex;gap:15px;align-items:center;color:#746b84}.extras-empty .icon{width:26px;height:26px}.extras-empty h3{font-size:16px;color:var(--ink)}.extras-empty p{font-size:12px;margin-top:5px}.save-strip{display:flex;align-items:center;gap:18px;border:1px solid var(--line);padding:23px 24px;border-radius:20px;margin-top:25px;background:#fffdfc}.save-strip>div:nth-child(2){flex:1}.save-strip .round-symbol{width:45px;height:45px;background:#fff0c7;color:#6c510d}.save-strip h3{font-size:15px;letter-spacing:-.015em}.save-strip p{font-size:12px;color:var(--muted);margin-top:5px}.save-strip .text-btn{white-space:nowrap}.footer{max-width:1112px;margin:32px auto 0;padding:24px 28px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:#85828c;border-top:1px solid var(--line)}.footer-links{display:flex;gap:20px}.footer a:hover,.footer button:hover{color:var(--ink)}.footer button{border:0;background:none;padding:0;font-size:inherit;color:inherit}.preview-label{background:#f2eeee;border-radius:20px;padding:4px 8px;font-size:10px;color:#79717c}.empty-card{padding:30px;border:1px dashed #d4cbd0;border-radius:var(--radius);min-height:290px;background:white;display:flex;flex-direction:column;justify-content:center;gap:18px}.empty-card h2{font-size:32px}.empty-card p{font-size:14px;color:var(--muted)}
/* Game screens */
.game-stage{max-width:654px;margin:0 auto;padding:25px 0 38px}.game-crumb{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.back-link{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;border:0;background:none;padding:8px 0}.back-link .icon{width:16px}.back-link:hover{color:var(--ink)}.game-crumb .tag{border:1px solid var(--line);background:white}.game-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.game-heading h1{font-size:25px;letter-spacing:-.04em}.game-heading h1.daily-title{color:var(--pink)}.counter{font-size:12px;font-weight:600;color:var(--muted)}.progress{height:6px;background:#f1dde5;border-radius:20px;overflow:hidden;margin-bottom:22px}.progress-fill{height:100%;background:var(--pink);transition:width .3s;border-radius:20px}.question-panel{position:relative;overflow:hidden;isolation:isolate;border-radius:22px;padding:30px;background:#ffedf3;min-height:179px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;margin-bottom:20px;border:1px solid #f5dde6}.question-panel .question-icon{position:absolute;right:-9px;top:-10px;z-index:-1;color:#f6c4d6;transform:rotate(-17deg)}.question-icon .icon{width:122px;height:122px;stroke-width:1}.question-panel h2{font-size:29px;line-height:1.27;max-width:480px;margin-top:14px;letter-spacing:-.035em}.question-panel .tag{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:#944660}.answer-grid{display:grid;grid-template-columns:1fr;gap:10px}.answer-option{width:100%;min-height:59px;text-align:left;padding:10px 17px;display:flex;align-items:center;gap:16px;background:white;border:1.5px solid #dddce2;border-radius:13px;transition:background .14s,border-color .14s;font-weight:600;font-size:14px}.answer-option:not(:disabled):hover{border-color:#ed6d9b;background:#fff8fb}.answer-option .letter{width:29px;height:29px;display:flex;align-items:center;justify-content:center;background:#f3f0f3;border-radius:8px;font-size:11px;color:#777382}.answer-option .answer-text{flex:1}.answer-option.selected{background:#ffebf2;border-color:var(--pink)}.answer-option.selected .letter{background:var(--pink);color:white}.answer-option.correct{border-color:#329e89;background:#eaf8f2;opacity:1;color:#135d4d}.answer-option.incorrect{border-color:#cc4561;background:#fff0f2;opacity:1}.answer-option:disabled{opacity:.65;cursor:default}.answer-option.correct .letter{background:#bde9da;color:#135d4d}.answer-option.incorrect .letter{background:#ffd5de;color:#a82743}.answer-bottom{margin-top:21px;display:flex;align-items:center;justify-content:space-between;gap:15px}.answer-bottom .btn{min-width:190px}.answer-bottom p{font-size:11px;color:var(--muted)}.feedback{border:1px solid #d8eadf;padding:16px 19px;background:#f2fcf7;border-radius:16px;margin-top:18px}.feedback.wrong{background:#fff3f5;border-color:#f0d9e0}.feedback strong{font-size:15px}.feedback p{font-size:12px;color:#52695d;margin-top:5px}.feedback.wrong p{color:#79606a}.source-details{font-size:11px;color:var(--muted);margin-top:10px}.source-details summary{cursor:pointer;display:list-item}.source-details a{display:block;margin:7px 0;color:#175b9b;overflow-wrap:anywhere}.source-details a:hover{text-decoration:underline}.round-symbol{width:45px;height:45px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#ffdeeb;color:var(--pink);flex-shrink:0}.mini-note{font-size:11px;color:var(--muted);text-align:center;margin-top:20px}
/* Qwerty */
.qwerty-stage{max-width:524px;padding-top:17px}.qwerty-stage .game-crumb{margin-bottom:10px}.qwerty-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.qwerty-top img{width:154px;height:62px;object-fit:contain;object-position:left;margin-left:-6px}.score-pill{border-radius:50px;padding:8px 13px;background:#d8f8e9;color:#17634b;font-size:11px;font-weight:500}.score-pill strong{font-weight:800}.qwerty-category{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.category-pill{background:#ffe6ef;color:#85415d;padding:4px 10px;border-radius:20px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.qwerty-category .text-btn{padding:3px;font-size:11px}.clue-box{background:linear-gradient(135deg,#e8faf7,#e5f2fa);border:1px solid #dbeae8;border-radius:20px;padding:17px 14px 15px;text-align:center}.clue-eyebrow{font-size:10px;letter-spacing:.13em;font-weight:750;color:#70838d;text-transform:uppercase}.clue-line{display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:77px}.clue-line p{font-size:24px;font-weight:740;letter-spacing:-.03em;line-height:1.25;max-width:370px}.clue-line .icon-btn{width:31px;height:31px;flex-shrink:0;background:#ffffffb0;border-color:#bfcdd2}.clue-line .icon-btn .icon{width:15px}.clue-dots{display:flex;gap:9px;justify-content:center;margin-top:4px}.clue-dot{height:8px;width:8px;padding:0;border:1.5px solid #a7b6c0;background:transparent;border-radius:50%}.clue-dot.revealed{background:#86dace;border-color:#64c7ba}.clue-dot.current{background:var(--pink);border-color:var(--pink)}.clue-dot:disabled{opacity:.65}.guess-area{margin:21px 0 16px}.guess-helper{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin-bottom:13px;gap:10px}.guess-helper strong{font-size:12px;color:var(--ink)}.letter-layout{display:flex;gap:10px 15px;justify-content:center;flex-wrap:wrap;min-height:54px}.word-row{display:flex;justify-content:center;gap:5px;max-width:100%}.letter-cell{width:44px;height:50px;background:#fff;border:1.5px solid #d3d7e0;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:750;position:relative;padding:0}.letter-cell.active{border-color:var(--pink);box-shadow:0 0 0 2px #ffcadb}.letter-cell.locked{background:#d9f6ec;border-color:#afd9cb;color:#196750;opacity:1;cursor:default}.letter-cell.given{background:#edf1fa;border-color:#cbd5e7;color:#345078}.letter-cell .given-star{position:absolute;right:3px;top:3px;width:9px;height:9px;color:#248bbf;stroke-width:2;fill:#248bbf}.literal-cell{align-self:center;font-size:19px;margin:0 -3px}.q-message{min-height:19px;text-align:center;font-size:11px;color:#357566;margin:10px 0 0}.keyboard{display:grid;gap:7px;user-select:none;margin-top:8px}.keyboard-row{display:flex;justify-content:center;gap:5px}.key{height:45px;flex:1;max-width:48px;min-width:0;border:1px solid #d5d7df;border-bottom:3px solid #cbced7;background:#fff;border-radius:7px;font-size:14px;font-weight:700;padding:0;display:flex;align-items:center;justify-content:center;touch-action:manipulation}.key:hover{background:#f1f5f5}.key:active{background:#d3f4ec;transform:translateY(1px)}.key.delete-key{max-width:68px;flex:1.4}.keyboard-row.second{padding:0 16px}.keyboard-row.third{padding:0 36px}.qwerty-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:19px}.qwerty-actions .btn{font-size:13px;border-radius:13px;min-height:51px;padding:12px 10px}.clue-button{background:#ffe3ed;color:#9c204f;border-color:#f6d3e1;display:flex;flex-direction:column;gap:2px}.clue-button span{font-size:10px;font-weight:500}.qwerty-foot{display:flex;justify-content:space-between;align-items:center;margin-top:13px;color:var(--muted);font-size:10px}.qwerty-foot .text-btn{font-size:10px;color:var(--muted)}.qwerty-foot .icon{width:12px;height:12px}
/* Results */
.results{max-width:600px;margin:auto;text-align:center;padding:30px 12px}.results-mark{position:relative;height:112px;margin:5px auto 10px;display:flex;align-items:center;justify-content:center;width:230px}.result-star{width:87px;height:87px;background:#fff0bc;border:2px solid #ebd37d;border-radius:28px;transform:rotate(-8deg);display:flex;align-items:center;justify-content:center;color:#b28700;box-shadow:0 6px 0 #f1dea1}.result-star .icon{width:47px;height:47px;fill:#efca58;stroke-width:1.4}.confetti{position:absolute;width:7px;height:17px;background:var(--pink);border-radius:3px;transform:rotate(30deg);left:25px;top:20px}.confetti.two{left:192px;top:22px;background:#78ddc9;transform:rotate(-30deg)}.confetti.three{left:192px;top:83px;background:#c4b3e6;transform:rotate(32deg);height:12px}.confetti.four{left:37px;top:87px;background:#e9c756;transform:rotate(-25deg);height:11px}.results h1{font-size:43px;letter-spacing:-.045em}.results .result-subtitle{margin-top:12px;font-size:14px;color:var(--muted)}.results-score{margin:24px auto 15px;padding:21px;background:#ffe9f0;border:1px solid #f8dce7;border-radius:24px;max-width:390px}.results-score .score-num{font-size:68px;line-height:1.1;font-weight:830;letter-spacing:-.055em;color:var(--pink)}.results-score .score-num span{font-size:23px;color:#a76581;font-weight:600}.results-score p{margin-top:4px;font-size:12px;color:#8b5970}.results-buttons{display:flex;gap:10px;max-width:390px;margin:18px auto;flex-wrap:wrap}.results-buttons .btn{flex:1;white-space:nowrap}.review-wrap{text-align:left;margin-top:27px}.review-wrap>summary{font-size:13px;font-weight:650;cursor:pointer}.review-item{padding:17px 0;border-bottom:1px solid var(--line);font-size:13px}.review-item strong{display:block;line-height:1.5;letter-spacing:0}.review-item p{font-size:12px;margin-top:6px;color:var(--muted)}.review-item .tag{margin-top:8px;background:#eef8f2;color:#2c765c}.place-keys-card{background:#f0efe9;border:1px solid #e4e1d7;padding:22px;border-radius:20px;position:relative;text-align:left;margin-top:24px;display:flex;gap:16px;align-items:flex-start}.pk-wordmark{font-size:16px;font-weight:850;letter-spacing:-.045em;line-height:1.06;width:68px;padding-top:3px}.place-keys-card .pk-copy{flex:1}.place-keys-card h3{font-size:15px;letter-spacing:-.02em;padding-right:14px}.place-keys-card p{font-size:12px;color:#777669;margin-top:7px}.place-keys-card .text-btn{font-size:12px;margin-top:5px}.dismiss-pk{position:absolute;top:9px;right:9px;border:0;background:none;color:#827f73;padding:4px}.dismiss-pk .icon{width:14px;height:14px}
/* Profile and stats */
.page-heading{padding:42px 0 26px}.page-heading h1{font-size:39px;letter-spacing:-.045em}.page-heading p{margin-top:12px;color:var(--muted);font-size:14px}.profile-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:27px;box-shadow:var(--shadow)}.panel h2{font-size:20px;letter-spacing:-.035em}.panel-description{font-size:12px;color:var(--muted);margin-top:10px}.avatar-large{height:71px;width:71px;display:flex;align-items:center;justify-content:center;background:#ffdce9;color:#cc1c61;border-radius:23px;transform:rotate(-5deg);border:1px solid #f8c7d9}.avatar-large .icon{width:34px;height:34px}.profile-intro{display:flex;gap:18px;align-items:center;margin-bottom:24px}.profile-intro h2{font-size:23px}.profile-intro p{font-size:11px;color:var(--muted);margin-top:7px}.field{display:grid;gap:7px;margin:16px 0}.field label,.field-label{font-size:12px;font-weight:650;color:#4a4f5c}.field input,.field select,.field textarea,.form-input{width:100%;background:#fff;border:1px solid #d9d9e2;border-radius:11px;padding:11px 13px;font-size:13px;color:var(--ink);line-height:1.4;min-height:44px}.field textarea{resize:vertical;min-height:80px}.field small{color:var(--muted);font-size:11px}.avatar-picker{display:flex;gap:9px;margin:12px 0 23px}.avatar-choice{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1.5px solid #e6e1e5;border-radius:12px;background:#faf8fa;color:#7a7384}.avatar-choice.selected{border-color:var(--pink);background:#ffe7f0;color:var(--pink)}.register-panel{padding:23px;background:#fff0f5;border:1px solid #f7dce6;border-radius:18px;margin-top:25px}.register-panel h3{font-size:18px}.register-panel p{font-size:12px;color:#806773;margin:9px 0 16px;line-height:1.7}.register-panel .tiny{margin-top:13px;text-align:center;font-size:10px}.register-panel .tiny button{background:none;border:0;color:var(--pink);font-weight:700;font-size:inherit;padding:0}.preference-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #eeeaf0}.preference-row:last-child{border:0}.preference-text strong{font-size:13px;font-weight:650;line-height:1.4;display:block}.preference-text p{font-size:11px;color:var(--muted);line-height:1.5;margin-top:5px;max-width:290px}.toggle{display:inline-flex;position:relative;width:39px;height:23px;flex-shrink:0;cursor:pointer}.toggle input{opacity:0;width:0;height:0}.toggle span{background:#d5d6dd;border-radius:30px;position:absolute;inset:0;transition:background .15s}.toggle span:before{content:"";width:17px;height:17px;position:absolute;left:3px;top:3px;background:white;border-radius:50%;box-shadow:0 1px 3px #1112;transition:transform .15s}.toggle input:checked+span{background:var(--pink)}.toggle input:checked+span:before{transform:translateX(16px)}.toggle input:focus-visible+span{outline:3px solid #1472b1;outline-offset:3px}.toggle input:disabled+span{opacity:.4;cursor:not-allowed}.status-note{padding:12px 14px;border-radius:12px;background:#fff6df;border:1px solid #efe0b5;font-size:11px;color:#7e642b;margin:15px 0}.profile-links{display:flex;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:14px;margin-top:23px}.profile-links button,.profile-links a{font-size:11px;color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.stat-card{border-radius:20px;padding:23px;background:white;border:1px solid var(--line)}.stat-card:first-child{background:#ffe7ee;border-color:#f7d8e4}.stat-card:nth-child(2){background:#e5f9f1;border-color:#d0eadf}.stat-card .icon{color:#8e7b8e;width:18px;height:18px}.stat-number{font-size:39px;font-weight:800;line-height:1.2;letter-spacing:-.05em;margin-top:10px}.stat-label{font-size:11px;color:var(--muted);margin-top:3px}.stats-lower{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px;align-items:start}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:23px}.day-circle{height:39px;width:39px;max-width:100%;margin:0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f2eff3;color:#a4a0ad;font-size:12px}.day-circle.played{background:#f64b89;color:white}.day-label{text-align:center;font-size:10px;margin-top:9px;color:#888390}.history-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.history-row:last-child{border:0;padding-bottom:0}.history-mark{height:37px;width:37px;display:flex;align-items:center;justify-content:center;background:#fff0f5;border-radius:11px;color:#cf3b71}.history-mark.teal{background:#e1f8ef;color:#27896e}.history-row>div:nth-child(2){flex:1}.history-row h3{font-size:13px;font-weight:650;letter-spacing:0}.history-row p{font-size:10px;margin-top:4px;color:var(--muted)}.history-row .score{font-size:14px;font-weight:700}.history-empty{padding:26px 0 10px;text-align:center}.history-empty .icon{height:31px;width:31px;color:#c0b6c4}.history-empty p{margin:13px 0;color:var(--muted);font-size:12px}
/* Modal and messages */
dialog{border:1px solid #eee1e7;border-radius:25px;max-width:470px;width:calc(100% - 32px);padding:0;color:var(--ink);background:var(--cream);box-shadow:0 24px 100px #1f14254d;max-height:calc(100dvh - 48px)}dialog::backdrop{background:#19102173;backdrop-filter:blur(5px)}.modal-inner{padding:31px}.modal-close{position:absolute;right:15px;top:15px;background:transparent;border:0;padding:7px;color:#857b85}.modal-close .icon{width:17px;height:17px}.modal-logo{width:102px;height:74px;margin:0 0 15px -2px}.modal-inner h2{font-size:28px;padding-right:10px}.modal-inner p{font-size:13px;color:var(--muted);margin-top:14px;line-height:1.7}.modal-inner .btn{margin-top:18px}.modal-inner .btn+.btn{margin-top:10px}.modal-inner ul,.legal-content ul{padding-left:20px;font-size:13px;line-height:1.8;color:#666774}.modal-inner h3{font-size:16px;margin-top:22px}.modal-inner .scoring{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:18px 0}.scoring div{padding:11px 5px;text-align:center;background:#e5f7f0;border-radius:10px;color:#447c69;font-size:10px}.scoring strong{display:block;font-size:21px;color:#145844}.field-error{font-size:12px;color:#ac2554;background:#ffebf0;border:1px solid #f6d2e1;border-radius:10px;padding:10px 13px;margin:12px 0}.hidden{display:none!important}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);z-index:100;background:var(--ink);color:#fff;padding:12px 19px;border-radius:14px;max-width:calc(100% - 36px);box-shadow:0 8px 22px #1112;font-size:12px;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.initial-load{height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;font-size:13px;color:var(--muted)}.initial-load img{animation:breathe 1.6s ease-in-out infinite}.offline-page{padding:10vh 28px;max-width:590px;margin:auto;text-align:center}.offline-page h1{font-size:38px;margin:25px 0 15px}.offline-page p{color:var(--muted);font-size:14px}.offline-page .btn{margin-top:27px}.fatal{padding:80px 20px;text-align:center;max-width:540px;margin:auto}.fatal p{margin:20px 0;color:var(--muted)}.legal-content{max-width:740px;margin:35px auto;padding-bottom:40px}.legal-content h1{font-size:36px;margin-bottom:22px}.legal-content h2{font-size:21px;margin-top:27px}.legal-content p{font-size:14px;color:#676a75;margin-top:13px;line-height:1.8}.legal-content a{color:var(--pink)}
/* Owner control room */
.admin-wrap{padding:35px 0 45px}.admin-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.admin-top h1{font-size:33px}.admin-top p{font-size:13px;color:var(--muted);margin-top:8px}.admin-label{color:var(--muted);font-size:10px;margin-bottom:10px;text-transform:uppercase;letter-spacing:.12em}.admin-nav{display:flex;gap:8px;margin-bottom:24px;border-bottom:1px solid var(--line);padding-bottom:12px}.admin-tab{border:0;background:none;border-radius:8px;padding:9px 14px;font-weight:600;font-size:12px;color:var(--muted)}.admin-tab.active{background:#ede8ef;color:var(--ink)}.admin-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:23px}.admin-metrics .stat-card{padding:18px;background:white;border-color:var(--line)}.admin-metrics .stat-number{font-size:29px;margin-top:0}.connection-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}.connection{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:white;border-radius:10px;padding:10px 14px;font-size:11px;color:var(--muted)}.connection strong{color:var(--ink);font-weight:600}.status-dot{height:6px;width:6px;border-radius:50%;background:#d6a75c}.status-dot.ready{background:#35896f}.admin-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:24px;align-items:start}.edition-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:15px}.edition-table th{text-align:left;font-weight:500;color:var(--muted);font-size:10px;padding:10px;border-bottom:1px solid var(--line)}.edition-table td{padding:16px 10px;border-bottom:1px solid var(--line);vertical-align:middle}.edition-table td:first-child{padding-left:0}.edition-name{font-weight:700}.edition-meta{font-size:10px;color:var(--muted);margin-top:5px}.status-tag{display:inline-block;padding:4px 8px;border-radius:7px;background:#f1edf5;color:#78678b;font-size:10px;text-transform:capitalize;white-space:nowrap}.status-tag.published{background:#e1f5ea;color:#397454}.status-tag.scheduled{background:#e9edfc;color:#5a65a4}.status-tag.draft{background:#fff2d8;color:#92723c}.status-tag.failed{background:#ffe6ef;color:#a44469}.generation-form .field{margin:13px 0}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.job-row{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.job-row p{font-size:11px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.job-row .row{justify-content:space-between}.admin-note{font-size:11px;color:var(--muted);margin-top:13px;line-height:1.7}.owner-login{max-width:405px;margin:55px auto 90px}.owner-login .panel{padding:31px}.owner-login h1{font-size:30px}.owner-login p{font-size:12px;color:var(--muted);margin-top:13px}.owner-login .btn{margin-top:8px}.editor-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px;flex-wrap:wrap}.editor-top h1{font-size:29px}.editor-question{padding:23px;margin:18px 0;background:white;border:1px solid var(--line);border-radius:19px}.editor-question h3{font-size:17px;margin-bottom:18px}.editor-options{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.editor-evidence{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f2f6;padding:16px;border-radius:12px;max-height:250px;overflow:auto}.check-line{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--muted);margin:18px 0}.check-line input{accent-color:var(--pink);width:16px;height:16px;flex-shrink:0}.insight-list{font-size:12px;color:var(--muted);padding-left:20px;line-height:1.85;margin:16px 0}.insight-lead{display:flex;gap:14px;align-items:center;background:#fff5e2;border-radius:13px;padding:16px;margin-top:18px;color:#977132}.insight-lead strong{display:block;font-size:13px}.insight-lead p{font-size:11px;margin-top:4px;color:#8a7e64}.admin-settings .preference-text p{max-width:510px}
@keyframes breathe{0%,100%{opacity:1;transform:translateY(0)}50%{opacity:.6;transform:translateY(-3px)}}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.page-enter{animation:appear .22s ease-out}
@media(min-width:1200px){.hero{padding-top:50px}.game-card{min-height:352px}.card-art{width:270px;right:-31px;bottom:24px}.qwerty-card .card-art{width:261px;right:-28px}}
@media(max-width:900px){.network-badge{display:none}.header-inner{gap:12px}.nav-link{padding:10px 12px}.header-actions .btn{padding:11px 17px;font-size:12px}.game-card{padding:25px;min-height:340px}.game-card h2{font-size:37px}.card-copy{max-width:215px}.card-art{width:212px;right:-43px;bottom:70px;opacity:.8}.qwerty-card .card-art{width:220px;right:-42px;bottom:65px}.game-card .card-action{left:25px;min-width:175px}.profile-grid,.stats-lower{gap:18px}.admin-grid{grid-template-columns:1fr}.stats-grid{gap:12px}.stat-card{padding:20px}.panel{padding:22px}.extra-row{gap:14px}.extra-row .tag{display:none}.streak-tease{max-width:220px}}
@media(max-width:640px){body{font-size:14px;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.header{height:79px}.header-inner{padding:0 20px;gap:12px}.brand-logo{width:102px;height:72px}.desktop-nav,.header-actions .btn,.network-badge{display:none}.header-actions{gap:9px}.header-actions .icon-btn{width:36px;height:36px}.header-actions .icon{width:18px;height:18px}.container{padding:0 20px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;justify-content:space-around;background:#fffefdef;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:9px 15px calc(8px + env(safe-area-inset-bottom));height:calc(64px + env(safe-area-inset-bottom))}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:72px;font-size:10px;font-weight:550;color:#918b9b;padding:1px 9px}.mobile-nav a.active{color:var(--pink)}.mobile-nav .icon{width:22px;height:22px}.hero{padding:28px 0 24px;display:block}.date-label{font-size:10px;margin-bottom:11px}.hero h1{font-size:39px;letter-spacing:-.05em}.hero-description{font-size:12px;line-height:1.65;margin-top:11px;max-width:285px}.streak-tease{display:none}.games-grid{grid-template-columns:1fr;gap:16px}.game-card{min-height:259px;padding:22px;border-radius:22px}.game-card:hover{transform:none}.game-card-top{font-size:10px}.tag{font-size:10px;padding:4px 8px}.points-cap{font-size:10px}.game-card h2{font-size:34px;margin-top:18px}.card-copy{font-size:12px;line-height:1.6;max-width:198px;margin-top:9px}.card-art{width:175px;right:-27px;bottom:49px;opacity:.94}.game-meta{font-size:10px;margin-top:13px;gap:11px}.game-card .card-action{left:22px;bottom:21px;min-width:181px;min-height:43px;padding:12px 18px;font-size:12px}.card-logo{width:178px;height:64px;margin-top:9px}.qwerty-card .card-copy{max-width:207px;margin-top:2px}.qwerty-card .card-art{width:180px;right:-24px;bottom:54px}.extras-section{margin-top:26px}.section-heading{margin-bottom:12px;display:block}.section-heading h2{font-size:20px}.section-heading p{font-size:11px;margin-top:6px}.extra-row{padding:18px 17px;gap:13px;border-radius:19px;flex-wrap:wrap}.extra-icon{width:43px;height:46px;border-radius:12px}.extra-icon .icon{width:25px;height:25px}.extra-copy h3{font-size:15px;line-height:1.3}.extra-copy p{font-size:10px;margin-top:4px}.extra-row .btn{min-height:36px;padding:9px 13px;font-size:10px;margin-left:auto}.extra-row .btn .icon{height:14px;width:14px}.save-strip{padding:19px 17px;gap:12px;flex-wrap:wrap;margin-top:20px}.save-strip h3{font-size:13px}.save-strip p{font-size:11px}.save-strip .round-symbol{width:36px;height:36px}.save-strip .round-symbol .icon{width:18px;height:18px}.save-strip .text-btn{margin-left:48px;font-size:11px;padding:0}.footer{padding:20px 20px 22px;margin-top:24px;flex-direction:column;align-items:flex-start;gap:12px;font-size:10px}.footer-links{gap:18px}.footer .preview-label{font-size:9px}.game-mode{padding-bottom:0}.game-mode .mobile-nav{display:none}.game-mode .footer{display:none}.game-mode .header{height:65px}.game-mode .brand-logo{width:84px;height:60px}.game-stage{padding:15px 0 27px}.game-crumb{margin-bottom:15px}.back-link{font-size:11px;padding:4px 0}.game-heading h1{font-size:23px}.game-heading .counter{font-size:11px}.progress{margin-bottom:17px;height:5px}.question-panel{padding:25px 22px;min-height:166px;margin-bottom:17px;border-radius:19px}.question-panel h2{font-size:25px;margin-top:12px;line-height:1.28}.question-panel .tag{font-size:9px}.question-icon .icon{width:102px;height:102px}.answer-option{min-height:56px;border-radius:12px;padding:10px 13px;font-size:13px;gap:12px}.answer-option .letter{width:27px;height:27px;font-size:10px}.answer-grid{gap:9px}.answer-bottom{margin-top:18px;flex-direction:column-reverse;gap:11px}.answer-bottom .btn{width:100%;min-height:48px}.answer-bottom p{font-size:10px}.feedback{padding:13px 16px;margin-top:14px}.feedback p{font-size:11px}.feedback strong{font-size:13px}.qwerty-stage{padding-top:10px;max-width:480px}.qwerty-stage .game-crumb{margin-bottom:0}.qwerty-top{margin-bottom:7px;gap:10px}.qwerty-top img{width:137px;height:57px}.score-pill{font-size:10px;padding:7px 10px}.qwerty-category{margin-bottom:10px}.category-pill{font-size:9px;padding:4px 9px}.qwerty-category .text-btn{font-size:10px}.clue-box{padding:14px 11px 13px;border-radius:17px}.clue-eyebrow{font-size:9px}.clue-line{min-height:76px;gap:8px}.clue-line p{font-size:22px}.clue-line .icon-btn{width:27px;height:27px}.clue-line .icon-btn .icon{width:13px}.guess-area{margin:17px 0 14px}.guess-helper{margin-bottom:12px;font-size:9px}.guess-helper strong{font-size:11px}.letter-layout{row-gap:9px;column-gap:13px}.letter-cell{width:min(42px,calc((100vw - 56px)/var(--wordlength) - 5px));height:46px;font-size:21px;border-radius:8px}.word-row{gap:5px}.q-message{font-size:10px;margin-top:7px;min-height:16px}.keyboard{gap:6px;margin-top:8px}.key{height:43px;font-size:13px;border-radius:6px;border-bottom-width:2px}.keyboard-row{gap:4px}.keyboard-row.second{padding:0 13px}.keyboard-row.third{padding:0 26px}.qwerty-actions{margin-top:16px;gap:9px}.qwerty-actions .btn{font-size:12px;min-height:48px;border-radius:12px}.clue-button span{font-size:9px}.qwerty-foot{margin-top:9px;font-size:9px;gap:8px}.qwerty-foot .text-btn{font-size:9px}.results{padding:18px 0 30px}.results h1{font-size:35px}.results .result-subtitle{font-size:12px;line-height:1.7}.results-score{margin-top:21px;padding:21px 15px}.results-score .score-num{font-size:62px}.results-score .score-num span{font-size:21px}.results-buttons .btn{font-size:12px;padding:13px 14px;min-height:45px}.results-mark{height:104px}.place-keys-card{padding:19px;gap:13px}.place-keys-card h3{font-size:14px}.place-keys-card p{font-size:11px}.pk-wordmark{font-size:14px;width:58px}.page-heading{padding:29px 0 23px}.page-heading h1{font-size:32px}.page-heading p{font-size:12px;max-width:300px}.profile-grid,.stats-lower{grid-template-columns:1fr;gap:18px}.panel{border-radius:20px;padding:22px}.profile-intro h2{font-size:21px}.register-panel{padding:20px}.register-panel h3{font-size:17px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:20px;border-radius:18px}.stat-number{font-size:35px}.stat-label{font-size:10px}.stats-lower{margin-top:19px}.day-circle{width:34px;height:34px}.modal-inner{padding:28px 24px}.modal-inner h2{font-size:25px}.modal-inner p{font-size:12px}#toast{bottom:calc(80px + env(safe-area-inset-bottom));font-size:11px}.game-mode #toast{bottom:25px}.admin-wrap{padding-top:25px}.admin-top h1{font-size:28px}.admin-top p{font-size:12px}.admin-nav{gap:0;justify-content:space-between}.admin-tab{font-size:11px;padding:9px 10px}.admin-metrics{grid-template-columns:1fr 1fr;gap:11px}.connection-row{gap:8px}.connection{padding:8px 11px;font-size:10px;flex:1;min-width:130px}.edition-table td{padding:14px 6px;font-size:11px}.edition-table th{padding:8px 6px;font-size:9px}.edition-table .date-col{display:none}.edition-table .small-btn{font-size:10px;padding:8px 11px;min-height:33px}.admin-grid{gap:19px}.two-fields{gap:9px}.editor-options{grid-template-columns:1fr}.editor-question{padding:18px}.editor-top h1{font-size:25px}.owner-login{margin-top:30px}.legal-content h1{font-size:30px}.legal-content p{font-size:12px}.empty-card{min-height:220px}.empty-card h2{font-size:28px}}
@media(max-width:360px){.container{padding:0 15px}.header-inner{padding:0 15px}.hero h1{font-size:35px}.game-card{padding:20px;min-height:265px}.game-card .card-action{left:20px}.card-art{right:-36px;width:166px}.qwerty-card .card-art{right:-30px;width:160px}.card-copy{max-width:180px}.points-cap{font-size:9px}.extra-row{padding:16px 14px}.extra-row .btn{margin-left:56px}.question-panel h2{font-size:23px}.key{font-size:12px;height:40px}.letter-cell{height:43px}.clue-line p{font-size:20px}.qwerty-stage .game-crumb{margin-bottom:3px}.score-pill{font-size:9px}.qwerty-top img{width:124px}.letter-cell{width:min(38px,calc((100vw - 44px)/var(--wordlength) - 5px))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Compact home cards and a full-width account invitation on small screens. */
@media(max-width:640px){.save-strip{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;column-gap:12px;row-gap:13px}.save-strip>div:nth-child(2){min-width:0}.save-strip .text-btn{grid-column:2;margin-left:0;justify-self:start;white-space:normal}.game-meta{position:absolute;left:22px;bottom:77px;margin-top:0}.game-card .card-copy{max-width:195px}.game-card{min-height:265px}}
@media(max-width:360px){.game-card{min-height:277px}.game-meta{left:20px;bottom:81px}.game-card .card-copy{max-width:185px}.game-card .card-art{width:140px;right:-39px;bottom:63px}.qwerty-card .card-art{width:150px;right:-29px;bottom:58px}}
/* Small-screen intrinsic sizing: profile controls must never widen the page. */
.panel,.stack,.profile-grid>*,.stats-lower>*,.field{min-width:0}.avatar-picker{flex-wrap:wrap}.field input,.field textarea,.field select{min-width:0}
@media(max-width:640px){.profile-grid,.stats-lower{grid-template-columns:minmax(0,1fr)}.avatar-picker{gap:8px}.avatar-choice{flex-shrink:0}.two-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* Headless archive: still part of Extras, never another main game. */
.archive-section{margin-top:38px;padding-top:30px;border-top:1px solid var(--line,#e7e3e3)}
.archive-section>.section-heading h3{font-size:25px;letter-spacing:-.6px;margin:0}.archive-intro{margin:0 0 16px}
.archive-pagination{margin:28px 0;justify-content:space-between}.policy-text{white-space:pre-wrap;line-height:1.8}
.archive-page .page-heading{margin-top:24px}.archive-section .section-heading{align-items:center}
@media(max-width:540px){.archive-section .section-heading{align-items:flex-start;gap:10px}.archive-section>.section-heading h3{font-size:22px}.archive-section .section-heading .text-btn{font-size:12px}}

/* Compact analytics choice, outside the quiz card layout. */
.pq-analytics-notice{position:fixed;z-index:120;bottom:90px;right:20px;width:min(520px,calc(100vw - 32px));padding:14px 16px;background:#fff;color:#111;border:1px solid #ccc;border-radius:12px;box-shadow:0 4px 20px #0002;font-size:13px;line-height:1.4;display:flex;gap:14px;align-items:center;max-height:50vh;overflow:auto}
.pq-analytics-notice strong{font-size:14px}.pq-analytics-notice p{font-size:13px;line-height:1.4;margin:3px 0}.pq-analytics-notice summary{font-size:12px;cursor:pointer;text-decoration:underline}.pq-analytics-notice details p{margin-top:8px}.pq-analytics-actions{display:flex;gap:6px;flex-shrink:0}.pq-analytics-actions .btn{font-size:12px;min-height:40px;padding:8px 12px;white-space:nowrap}.pq-analytics-actions .primary{color:#fff;background:#111}
@media(max-width:540px){.pq-analytics-notice{right:16px;bottom:calc(82px + env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px}.pq-analytics-actions{width:100%;justify-content:flex-end}}
