@font-face{font-family:HaruSystem;src:local('Apple SD Gothic Neo');font-display:swap}
:root{color-scheme:light;--ink:#353143;--muted:#807b8a;--paper:#faf9f6;--white:#fff;--line:#eae6ed;--purple:#8064b8;--purple-dark:#685093;--purple-pale:#f0eaf8;--mint:#dbece0;--mint-dark:#457b63;--peach:#f9e4d8;--gold:#c38d38;--shadow:0 8px 30px #40334f05;--radius:24px;font-family:HaruSystem,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-size:15px;line-height:1.6;word-break:keep-all}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit}button:disabled{cursor:default;opacity:.48}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #9c7ac8;outline-offset:4px}button,input{touch-action:manipulation}svg{flex-shrink:0}button svg{vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.4;letter-spacing:-.035em}h1{font-size:30px}h2{font-size:21px}h3{font-size:16px}small{font-size:12px}img,canvas{max-width:100%}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;stroke-width:1.8}.icon.sm{width:16px;height:16px}.muted{color:var(--muted)}.purple{color:var(--purple)}.mono{font-variant-numeric:tabular-nums}.row{display:flex;align-items:center;gap:10px}.between{display:flex;align-items:center;justify-content:space-between;gap:16px}.stack{display:flex;flex-direction:column;gap:6px}.tag{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:4px 9px;font-size:11px;line-height:1.45;letter-spacing:.02em;font-weight:700;background:var(--purple-pale);color:var(--purple-dark)}.tag.mint{background:#edf5ec;color:#537b58}.tag.neutral{background:#f0eeeb;color:#7c766d}.tag.peach{background:#fff0e4;color:#b07c46}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.13em;color:var(--purple);text-transform:uppercase}.text-link{background:none;display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:650;color:var(--muted);padding:8px 0;min-height:40px}.text-link:hover{color:var(--purple)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:48px;border-radius:13px;padding:12px 21px;font-weight:700;font-size:14px;background:var(--purple);color:white;transition:transform .16s,background .16s,box-shadow .16s;line-height:1.5;text-align:center}.btn:not(:disabled):hover{background:var(--purple-dark);transform:translateY(-1px);box-shadow:0 5px 15px #8064b824}.btn.secondary{background:var(--purple-pale);color:var(--purple-dark)}.btn.secondary:hover{background:#e4d9f2}.btn.white{background:white;color:var(--purple-dark)}.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}.btn.ghost:hover{background:#f5f2f8}.btn.small{padding:8px 14px;min-height:40px;font-size:12px;border-radius:10px}.btn.full{width:100%}.icon-button{background:transparent;display:grid;place-items:center;width:44px;height:44px;border-radius:12px}.icon-button:hover{background:var(--purple-pale)}.coin{display:inline-flex;gap:5px;align-items:center;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.coin-dot{display:inline-grid;place-items:center;background:#f5d885;border:2px solid #e7bd59;width:20px;height:20px;border-radius:50%;color:#ad7a21;font-size:10px;font-weight:900;line-height:1}.tier-pill{display:inline-flex;align-items:center;gap:6px;border-radius:8px;font-size:12px;font-weight:750;padding:5px 10px;background:#f9e5ec;color:#b2587d;white-space:nowrap}.tier-gem{width:12px;height:14px;background:currentColor;clip-path:polygon(30% 0,70% 0,100% 35%,50% 100%,0 35%)}.tier-pill.first{background:#ede9f2;color:#8f809e}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:26px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 14px}.section-title h2{font-size:18px}.section-title p{font-size:12px;color:var(--muted);margin-top:3px}.divider{height:1px;background:var(--line);margin:22px 0}.skip-link{position:fixed;left:12px;top:-100px;z-index:99;background:#fff;padding:12px}.skip-link:focus{top:12px}.boot{min-height:90vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--purple)}.boot strong{font-size:30px}
/* Shell */
.shell{max-width:1600px;min-height:100vh;margin:auto;display:grid;grid-template-columns:214px minmax(0,1fr)}.sidebar{border-right:1px solid var(--line);padding:34px 20px 22px;background:#f4f1f7;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;background:none;padding:0 8px;text-align:left}.brand-mark{width:36px;height:39px;flex-shrink:0;image-rendering:pixelated}.brand-name{font-weight:850;font-size:23px;letter-spacing:-.09em;color:#53415f;line-height:1.2}.brand-caption{font-size:9px;color:#9b8fa7;letter-spacing:.17em;margin-top:5px}.sidebar-nav{display:flex;flex-direction:column;gap:8px;margin-top:48px}.nav-item{display:flex;gap:13px;align-items:center;background:none;color:#8a8093;border-radius:13px;min-height:49px;padding:13px 16px;text-align:left;font-size:14px;font-weight:600;position:relative}.nav-item.active{background:#e9e0f3;color:#715296;font-weight:750}.nav-item:not(.active):hover{background:#eee9f3;color:#715296}.nav-label{flex:1}.nav-pip{width:6px;height:6px;background:var(--purple);border-radius:50%}.sidebar-note{margin-top:auto;padding:20px 10px 6px}.sidebar-note .tiny-stars{font-size:20px;letter-spacing:7px;color:#b4a4c8;margin-bottom:12px}.sidebar-note strong{font-size:12px;color:#7c6d89;display:block}.sidebar-note p{font-size:11px;color:#a49aaf;line-height:1.8;margin-top:7px}.workspace{min-width:0;padding:0 42px 30px}.topbar{height:96px;display:flex;align-items:center;justify-content:space-between;gap:18px}.top-date{font-size:12px;color:var(--muted);letter-spacing:.015em}.top-actions{display:flex;gap:12px;align-items:center}.coin-wallet{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;border:1px solid var(--line);border-radius:100px;font-size:13px;min-height:38px}.mini-avatar{width:38px;height:38px;border-radius:50%;background:#e8e0f0;overflow:hidden;display:grid;place-items:center;padding:1px}.mini-avatar canvas{display:block;width:100%;height:auto;aspect-ratio:1;image-rendering:pixelated}.page-heading{margin:8px 0 26px}.page-heading p{color:var(--muted);font-size:14px;margin-top:6px}.footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);gap:10px;padding-top:22px;margin-top:40px;font-size:10px;color:#aaa2ae}.footer button{font-size:10px;background:none;color:#968b9e;min-height:32px}.mobile-brand{display:none}.bottom-nav{display:none}.view-enter{animation:view-in .25s ease}@keyframes view-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
/* Home */
.home-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(240px,1fr);gap:22px}.daily-hero{background:#deebdf;border:1px solid #d6e3d7;position:relative;overflow:hidden;min-height:318px;border-radius:var(--radius);padding:30px}.daily-hero::after{content:'';position:absolute;width:240px;height:240px;border:1px solid #ffffff50;border-radius:50%;right:-65px;top:-70px}.hero-copy{position:relative;z-index:2;width:62%;pointer-events:none}.hero-copy button{pointer-events:auto}.hero-copy .tag{background:#ffffffab;color:#557457;font-size:10px;margin-bottom:16px}.hero-copy h2{font-size:29px;line-height:1.48;letter-spacing:-.055em;color:#35533e}.hero-copy p{font-size:12px;line-height:1.8;color:#75907a;margin:12px 0 25px}.hero-copy .btn{background:#5b8265;box-shadow:0 4px 0 #456c4e;padding:11px 18px;font-size:13px;min-height:45px}.hero-copy .btn:hover{background:#4d7557}.hero-avatar{position:absolute;right:-23px;bottom:8px;width:53%;max-width:292px;padding:0;background:none;transition:transform .2s}.hero-avatar:hover{transform:translateY(-4px)}.hero-avatar canvas{width:100%;image-rendering:pixelated}.hero-cloud{position:absolute;right:38px;top:42px;width:63px;height:18px;background:#fff9;border-radius:30px;box-shadow:24px 11px 0 1px #fff7}.hero-cloud::before{content:'';position:absolute;left:15px;top:-12px;width:31px;height:29px;background:#fffa;border-radius:100px}.hero-flower{position:absolute;right:33%;top:80px;color:#96b29c;font-size:28px}.hero-progress{display:flex;gap:5px;margin-top:15px}.hero-progress span{width:23px;height:4px;background:#c3d7c7;border-radius:3px}.hero-progress span.done{background:#6b9274}.weekly-card{padding:27px;background:#f0eaf7;border:1px solid #e8e0f1;border-radius:var(--radius);display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden}.weekly-card .eyebrow{font-size:10px;letter-spacing:.08em;color:#a08bb6}.weekly-card h3{font-size:16px;color:#766286}.weekly-card .week-score{font-size:34px;line-height:1.2;color:#654d7e;letter-spacing:-.045em;margin-top:5px;font-weight:800}.weekly-card .week-score span{font-size:12px;letter-spacing:0;font-weight:500;color:#a695b7;margin-left:5px}.weekly-card .week-rank{font-size:12px;color:#a08cad;margin-top:3px}.weekly-card .divider{background:#e1d7eb;margin:0}.weekly-card .week-bottom{margin-top:auto}.weekly-card .badge-note{font-size:10px;color:#a596b4;margin-top:8px}.week-dots{display:flex;justify-content:space-between;gap:5px;margin-top:4px}.day-dot{display:flex;flex-direction:column;gap:6px;align-items:center;min-width:24px;color:#b0a1ba;font-size:10px}.day-dot i{display:grid;place-items:center;width:25px;height:25px;background:#e3daec;border-radius:50%;font-style:normal;font-size:11px;color:#a595b3}.day-dot i.today{outline:1px solid #b498d1;outline-offset:3px}.day-dot i.complete{background:#a78ac6;color:white}.home-under{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(240px,1fr);gap:22px;margin-top:22px}.field-preview{padding:23px 25px}.field-bubbles{display:flex;justify-content:space-between;gap:9px;margin-top:20px}.field-bubble{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:11px;color:#88828e;background:none;padding:2px;min-width:34px}.field-bubble i{width:37px;height:37px;border-radius:13px;display:grid;place-items:center;font-style:normal;font-weight:750;font-size:16px;background:var(--field-bg,#eee8f7);color:var(--field-color,#997cac)}.field-bubble.rest{opacity:.4}.practice-tile{padding:23px 25px;display:flex;flex-direction:column;justify-content:center;background:#f8f4eb;border-color:#ece6d9}.practice-tile h3{font-size:15px}.practice-tile p{color:#9c8f76;font-size:12px;line-height:1.8;margin:7px 0 12px}.practice-tile .text-link{color:#a58c61}.shop-teasers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.teaser{padding:17px 16px;display:flex;align-items:center;gap:14px;text-align:left;background:white;border:1px solid var(--line);border-radius:19px;min-height:105px;transition:border .15s,transform .15s}.teaser:hover{border-color:#c3acd9;transform:translateY(-2px)}.teaser-art{width:65px;height:65px;flex-shrink:0;display:grid;place-items:center;border-radius:15px;overflow:hidden}.teaser-art canvas{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.teaser strong{font-size:12px;display:block;margin-bottom:7px}.teaser .coin{font-size:11px;color:#a69a84}.teaser .coin-dot{width:15px;height:15px;font-size:8px;border-width:1px}.teaser-sub{font-size:10px;color:#aaa0b0;margin-top:3px}
/* Challenge */
.challenge-wrap{max-width:730px;margin:0 auto}.challenge-top{margin:4px 0 20px}.question-progress{display:flex;gap:7px;margin:12px 0 27px}.question-progress span{height:6px;flex:1;border-radius:10px;background:#e9e3ef}.question-progress .done{background:#9577bd}.question-progress .current{background:#b6a0cf}.question-card{padding:32px}.question-kicker{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.difficulty{display:flex;gap:4px;align-items:center;font-size:11px;color:#a79bb4}.difficulty i{width:5px;height:10px;border-radius:2px;background:#e7e0ee}.difficulty i.on{background:#a28abf}.difficulty span{margin-left:7px}.question-title{font-size:21px;line-height:1.8;white-space:pre-line;letter-spacing:-.025em;min-height:89px}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:27px}.option{background:#fbfafc;border:1.5px solid #ece7f0;border-radius:15px;display:flex;gap:12px;align-items:center;padding:16px;text-align:left;min-height:67px;line-height:1.6;white-space:pre-line;font-size:15px;transition:background .15s,border .15s}.option-num{width:26px;height:26px;display:grid;place-items:center;flex-shrink:0;border-radius:9px;background:#f0ecf4;font-size:11px;font-weight:700;color:#a598b3}.option:hover{background:#f3edf9;border-color:#cdbbdf}.option.selected{background:#f0e9f8;border-color:#a386c4;color:#735296}.option.selected .option-num{background:#9874bc;color:white}.question-actions{display:flex;align-items:center;justify-content:space-between;margin-top:26px;gap:18px}.question-actions p{font-size:11px;color:#aaa0b0}.question-actions .btn{min-width:150px}.question-foot{padding:20px 8px;display:flex;gap:10px;align-items:center;justify-content:center;font-size:11px;color:#a197aa}.question-foot canvas{width:42px;height:42px;image-rendering:pixelated}.memory-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px 0 5px;gap:15px;min-height:220px}.memory-grid{display:grid;gap:9px;grid-template-columns:repeat(var(--columns,3),1fr);width:min(100%,285px)}.memory-cell{aspect-ratio:1.3;background:#f2edf8;border:1px solid #e1d6ed;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;color:#705789;padding:5px;text-align:center}.memory-timer{font-size:12px;color:#9d8aaa}.memory-note{padding:20px;background:#f6f2fa;text-align:center;border-radius:13px;width:100%;color:#9c8ba9;font-size:13px}.memory-preview-symbol{font-size:44px;color:#b69bd0;line-height:1}.result-card{overflow:hidden}.result-hero{text-align:center;background:#e9f1e6;padding:29px 25px 27px;position:relative}.result-avatar{width:125px;height:125px;image-rendering:pixelated;margin:-10px 0 -5px}.result-hero h2{font-size:25px;color:#49634b}.result-hero p{font-size:12px;color:#8c9e89;margin-top:7px}.result-number{font-size:39px;font-weight:850;color:#597b5c;letter-spacing:-.045em;margin-top:11px}.result-number small{font-weight:500;font-size:14px;color:#9bac96;letter-spacing:0}.result-body{padding:25px 28px}.result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;text-align:center}.result-stats div+div{border-left:1px solid var(--line)}.result-stats small{color:var(--muted);font-size:10px}.result-stats strong{display:block;font-size:20px;margin-top:7px}.result-actions{display:flex;gap:10px;margin-top:23px}.result-actions .btn{flex:1}.ad-cta{margin-top:17px;padding:19px 23px;background:#f1ebf8;border:1px solid #e7deef;border-radius:18px;display:flex;gap:15px;align-items:center;justify-content:space-between}.ad-cta h3{font-size:14px}.ad-cta p{font-size:11px;color:#a08daf;margin-top:4px}.answer-review{margin-top:25px}.review-item{margin-top:10px;border:1px solid var(--line);border-radius:15px;background:white;overflow:hidden}.review-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:15px 18px;font-size:12px}.review-item summary::-webkit-details-marker{display:none}.review-item summary .icon{margin-left:auto;color:#b9adbf}.review-mark{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e7f1e4;color:#6b9863;font-size:12px}.review-mark.wrong{background:#fae8e5;color:#c58681}.review-content{border-top:1px solid #f0eaf3;padding:17px 18px;font-size:13px;line-height:1.85}.review-content .review-prompt{font-weight:700;white-space:pre-line;margin-bottom:12px}.review-answer{padding:10px 13px;border-radius:9px;background:#f2f7ef;margin:10px 0;color:#6c8664}.review-yours{font-size:12px;color:#b1827b}.review-content .explanation{color:#978a9d;font-size:12px;white-space:pre-line}
/* Profile and radar */
.profile-grid{display:grid;grid-template-columns:minmax(235px,.88fr) minmax(0,1.4fr);gap:22px}.identity-card{text-align:center;overflow:hidden}.identity-scene{background:#e5eede;position:relative;padding:15px 20px 0;min-height:240px}.identity-scene canvas{width:240px;height:240px;image-rendering:pixelated}.identity-content{padding:24px}.identity-name{display:flex;align-items:center;justify-content:center;gap:4px;font-size:22px;font-weight:800}.identity-name .icon-button{width:32px;height:32px;color:#b4a6bf}.identity-content .tier-pill{margin:10px 0}.identity-content p{font-size:10px;color:#a398aa}.identity-content .btn{margin-top:20px}.profile-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.profile-summary div{padding:14px 10px;background:#faf8fc;border-radius:12px}.profile-summary small{font-size:10px;color:var(--muted)}.profile-summary strong{display:block;font-size:22px;margin-top:4px}.radar-card{padding:24px}.radar-header{display:flex;justify-content:space-between;align-items:start;gap:10px}.radar-header h2{font-size:17px}.radar-header p{font-size:11px;color:#a89bac;margin-top:6px}.sample-toggle{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;color:#9c8ba9;cursor:pointer;min-height:36px}.sample-toggle input{accent-color:var(--purple);width:15px;height:15px}.radar-wrap{margin:10px auto 0;max-width:365px}.radar-chart{width:100%;display:block;overflow:visible}.radar-chart text{font-family:inherit;fill:#96869f;font-size:12px}.radar-chart .axis-label{font-size:13px;font-weight:650;fill:#74647e}.radar-chart .axis-score{font-size:10px;fill:#ad9fb8}.radar-chart .tick-label{font-size:8px;fill:#baafc3}.radar-chart .radar-zone{fill:#a585c42c;stroke:#a386bd;stroke-width:1.8}.radar-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:6px}.radar-field{padding:10px 8px;border-radius:12px;border:1px solid #ece6f2;background:#fff;text-align:left;min-height:56px}.radar-field.active{background:#f4eef9;border-color:#c8b2dc}.radar-field span{font-size:10px;color:#a18eaf}.radar-field strong{font-size:15px;display:block;margin-top:2px}.radar-detail{font-size:11px;color:#ac9abb;padding:12px 4px;min-height:55px}.record-note{background:#f8f5fb;border-radius:11px;padding:11px 13px;font-size:10px;color:#a69aae;line-height:1.75}.record-history{padding:23px;margin-top:23px}.history-empty{padding:26px 0 20px;text-align:center;color:#b0a4b9;font-size:12px}.history-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #f0ebf3;font-size:12px}.history-row:last-child{border-bottom:0}.history-row span{color:#a699b0}
/* Leaderboard */
.ranking-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.league-explainer{display:flex;gap:10px;align-items:center;font-size:11px;line-height:1.7;color:#a997b2;padding:14px 17px;border:1px dashed #d9cbe5;border-radius:13px;margin-bottom:24px;background:#f7f3fa}.ranking-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(225px,.85fr);gap:22px}.podium{display:flex;align-items:end;justify-content:center;gap:10px;padding:15px 14px 0;margin-bottom:24px}.podium-player{width:31%;text-align:center}.podium-avatar{width:91px;height:91px;image-rendering:pixelated}.podium-player:nth-child(2) .podium-avatar{width:111px;height:111px}.podium-base{padding:13px 5px 14px;background:#f3eef8;border-radius:15px 15px 0 0}.podium-player:nth-child(2) .podium-base{background:#ede2f6;padding-bottom:30px}.podium-player:nth-child(3) .podium-base{background:#f7f0e8}.podium-place{font-size:11px;color:#b197c6;font-weight:750;display:block}.podium-name{font-size:11px;font-weight:650;display:block;margin-top:5px;overflow-wrap:anywhere;word-break:break-word}.podium-score{font-size:11px;color:#a394ad;display:block;margin-top:4px}.ranking-table{padding:0 23px 10px}.rank-row{display:grid;grid-template-columns:42px 1fr 70px;align-items:center;gap:12px;padding:13px 0;border-top:1px solid #f0eaf4;font-size:12px}.rank-row .place{color:#a997b4;text-align:center;font-variant-numeric:tabular-nums}.rank-row .score{text-align:right;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}.rank-person{display:flex;align-items:center;gap:11px;min-width:0}.rank-person span{overflow-wrap:anywhere;word-break:break-word}.rank-person canvas{width:34px;height:34px;border-radius:11px;background:#f1ecf6;image-rendering:pixelated;flex-shrink:0}.rank-row.header{font-size:10px;color:#b5a7bf;border:0;padding-top:0}.rank-row.me{background:#f1eaf8;border:1px solid #e7dcef;padding:15px 12px;border-radius:13px;margin:14px 0 8px;grid-template-columns:34px 1fr 70px}.rank-row.me .score{color:#805b9e}.ranking-aside{display:flex;flex-direction:column;gap:20px}.rank-badge-card{text-align:center;padding:26px 22px}.big-gem{width:58px;height:67px;clip-path:polygon(27% 0,73% 0,100% 35%,50% 100%,0 35%);margin:18px auto;background:linear-gradient(135deg,#ead4ed 0 33%,#c784ac 33% 66%,#e3a7c1 66%);display:block;filter:drop-shadow(0 4px 0 #ab6b93)}.rank-badge-card h3{font-size:16px}.rank-badge-card p{font-size:11px;color:#a797b3;margin-top:10px;line-height:1.8}.rank-badge-card .btn{margin-top:20px}.tier-guide{padding:20px}.tier-guide h3{font-size:14px;margin-bottom:12px}.tier-guide-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 0;font-size:11px;border-bottom:1px solid #f2edf6}.tier-guide-row:last-child{border:0}.tier-guide-row .row{gap:7px}.tier-guide-row small{font-size:10px;color:#b2a1bd}.tier-guide-note{font-size:9px;color:#b3a4bd;line-height:1.8;margin-top:12px}
/* Shop */
.shop-layout{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.65fr);gap:23px;align-items:start}.fitting-room{position:sticky;top:24px;overflow:hidden}.fitting-scene{background:#e5ecdf;text-align:center;min-height:270px;padding:16px 14px 0;position:relative}.fitting-scene canvas{width:270px;height:270px;image-rendering:pixelated}.fitting-tag{position:absolute;left:16px;top:16px;background:#ffffffba;font-size:10px;color:#9b8bab;border-radius:7px;padding:3px 9px}.fitting-copy{padding:24px}.fitting-copy h3{font-size:18px}.fitting-copy p{font-size:11px;color:#a89aaf;margin:9px 0 20px;min-height:36px}.fitting-copy .purchase-hint{font-size:10px;margin-top:11px;text-align:center;min-height:auto;color:#ad9eb7}.shop-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-bottom:18px}.shop-tab{font-size:13px;min-height:44px;padding:8px 2px;background:none;color:#b0a0bb;position:relative}.shop-tab.active{color:#785693;font-weight:750}.shop-tab.active::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#9975b8;border-radius:3px}.shop-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.filter{min-height:34px;padding:6px 12px;background:white;border:1px solid #eae3f0;border-radius:100px;font-size:10px;color:#a896b5}.filter.active{background:#ebdff4;border-color:#e2d4ee;color:#86649e}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.shop-item{border:1px solid var(--line);border-radius:17px;background:white;text-align:left;overflow:hidden;padding:0;transition:transform .16s,border-color .16s}.shop-item:hover{transform:translateY(-3px);border-color:#c4add7}.shop-item.active{outline:2px solid #b89bd0;outline-offset:1px;border-color:transparent}.shop-item-art{height:126px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.shop-item-art canvas{display:block;width:135px;height:135px;max-height:100%;object-fit:contain;image-rendering:pixelated}.owned-mark{position:absolute;top:8px;right:8px;padding:2px 6px;border-radius:5px;background:#fff9;color:#94829e;font-size:8px}.shop-item-info{padding:12px 12px 14px}.shop-item-info strong{display:block;font-size:11px;margin-bottom:5px}.shop-item-info .coin{font-size:10px;color:#a5937d}.shop-item-info .coin-dot{width:14px;height:14px;border-width:1px;font-size:7px}.shop-item-info .equipped-text{font-size:9px;color:#ab91c0}.collection-card{border:1px solid #e6dcef;background:#f5eff9;border-radius:22px;overflow:hidden}.collection-scene{position:relative;text-align:center;background:#28263f;min-height:235px}.collection-scene canvas{width:235px;height:235px;image-rendering:pixelated}.collection-badge{position:absolute;left:20px;top:18px;background:#ffffff15;color:#d0c1e8;font-size:9px;border:1px solid #ffffff20;border-radius:7px;padding:4px 9px;letter-spacing:.06em}.collection-copy{padding:24px}.collection-copy h2{font-size:20px}.collection-copy p{font-size:12px;color:#a091ad;margin:9px 0 16px}.collection-price{font-size:19px;font-weight:750}.collection-price small{font-size:10px;font-weight:400;color:#b29fbf;margin-left:7px}.collection-copy .btn{margin-top:19px}.collection-foot{font-size:10px;color:#ae9fba;line-height:1.8;margin-top:16px}.empty-state{text-align:center;padding:40px 20px;font-size:12px;color:#b29dbc}
/* Dialogs and notifications */
dialog{border:1px solid #e8deef;border-radius:25px;padding:0;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 50px);color:var(--ink);box-shadow:0 30px 90px #29203d33;background:#fff;overflow-y:auto}dialog::backdrop{background:#3b30495c;backdrop-filter:blur(4px)}.modal-content{padding:28px}.modal-top{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:16px}.modal-top h2{font-size:21px;margin-top:5px}.modal-top .icon-button{flex-shrink:0;margin:-7px -10px 0 0;color:#b6a4c1}.modal-content p{font-size:13px;line-height:1.85;color:#9b8da4}.modal-content .modal-actions{display:flex;gap:9px;margin-top:25px}.modal-content .modal-actions .btn{flex:1}.modal-note{padding:14px 16px;background:#f6f2f9;border-radius:12px;font-size:11px;color:#a48db4;margin:18px 0;line-height:1.85}.modal-ad{background:#f0e9f7;border:1px dashed #cbb6dd;min-height:140px;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:20px 0;color:#a085b7}.modal-ad .icon{width:34px;height:34px}.modal-ad strong{font-size:14px}.modal-ad span{font-size:10px}.modal-badge{text-align:center;padding:10px 0}.modal-badge canvas{width:150px;height:150px;image-rendering:pixelated}.modal-badge h3{font-size:26px;color:#b16891}.modal-badge p{font-size:11px;margin-top:6px}.modal-coins{padding:16px;background:#fbf5e8;border:1px solid #f4e9ce;border-radius:14px;text-align:center;margin-top:20px;color:#ae8c4d}.modal-coins small{display:block;font-size:10px;margin-bottom:5px}.modal-coins strong{font-size:20px}.field-input{width:100%;padding:13px 15px;border:1px solid #dacee4;border-radius:12px;margin-top:15px;outline:0}.field-input:focus{border-color:#a786c2;box-shadow:0 0 0 3px #a786c218}.form-label{display:block;font-size:12px;color:#9983aa;margin-top:20px}.form-error{color:#bd7e83;font-size:11px;min-height:22px;margin-top:7px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,16px);opacity:0;pointer-events:none;z-index:100;background:#554362f2;color:#fff;border-radius:14px;padding:13px 22px;max-width:min(500px,calc(100vw - 36px));width:max-content;box-shadow:0 7px 25px #36283d24;font-size:13px;transition:opacity .2s,transform .2s;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.info-lines{display:flex;flex-direction:column;gap:12px;margin-top:18px}.info-lines div{font-size:12px;color:#a18faa;line-height:1.8;padding-bottom:12px;border-bottom:1px solid #eee5f4}.info-lines strong{display:block;color:#826f8f;margin-bottom:3px}.danger-link{background:none;color:#b49099;font-size:11px;min-height:44px;margin-top:12px}.rules-list{padding-left:18px;color:#9a89a6;font-size:12px;line-height:1.95}.rules-list li{margin-bottom:7px}.settlement-note{font-size:10px;color:#b19dbd;margin-top:14px}
@media(min-width:1350px){.workspace{padding-left:55px;padding-right:55px}.daily-hero{min-height:345px;padding:34px}.hero-copy h2{font-size:33px}.hero-avatar{right:-10px;max-width:308px}.hero-copy p{font-size:13px}.weekly-card{padding:30px}}
@media(max-width:1100px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:30px 12px 20px}.brand-name{font-size:21px}.brand{gap:9px}.brand-mark{width:31px}.workspace{padding:0 26px 25px}.home-grid,.home-under{grid-template-columns:minmax(0,1.55fr) minmax(215px,1fr);gap:17px}.hero-copy h2{font-size:25px}.daily-hero{padding:24px;min-height:310px}.hero-avatar{right:-22px;width:56%;bottom:22px}.hero-copy p{font-size:11px}.weekly-card{padding:23px}.shop-teasers{gap:11px}.teaser{padding:14px 10px;gap:9px}.teaser-art{width:52px;height:57px}.teaser strong{font-size:10px}.shop-layout{grid-template-columns:minmax(210px,.85fr) minmax(0,1.65fr);gap:18px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ranking-layout{grid-template-columns:minmax(0,1.4fr) minmax(210px,.85fr);gap:16px}.profile-grid{grid-template-columns:minmax(210px,.85fr) minmax(0,1.4fr);gap:16px}.card-pad,.radar-card{padding:21px}.radar-header{flex-wrap:wrap}.sample-toggle{min-height:24px}.field-bubbles{gap:3px}.field-bubble i{width:33px;height:33px}.field-preview,.practice-tile{padding:20px}.hero-copy .btn{font-size:12px;padding:11px 13px}.footer{font-size:9px}}
@media(max-width:820px){.shell{display:block}.sidebar{display:none}.workspace{padding:0 24px 98px;max-width:750px;margin:auto}.topbar{height:82px}.top-date{display:none}.mobile-brand{display:block}.mobile-brand .brand-mark{width:31px;height:34px}.mobile-brand .brand-name{font-size:21px}.mobile-brand .brand-caption{display:none}.top-actions{gap:8px}.top-actions>.tag{font-size:9px;padding:4px 7px}.mini-avatar{width:34px;height:34px}.coin-wallet{padding:7px 10px;font-size:11px}.page-heading{margin:9px 0 22px}.page-heading h1{font-size:26px}.page-heading p{font-size:12px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;display:flex;align-items:center;justify-content:space-around;background:#fffefeeF;border-top:1px solid #e9e0ef;backdrop-filter:blur(10px);padding:9px 10px max(10px,env(safe-area-inset-bottom));}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;width:20%;padding:5px 2px;background:none;color:#b2a5bd;font-size:9px;min-height:46px}.bottom-nav button.active{color:#8561a1;font-weight:750}.bottom-nav .icon{width:21px;height:21px}.home-grid,.home-under{grid-template-columns:minmax(0,1.7fr) minmax(210px,1fr)}.daily-hero{min-height:313px}.hero-copy h2{font-size:27px}.footer{margin-top:30px;flex-wrap:wrap;gap:0}.toast{bottom:96px}.ranking-layout{grid-template-columns:minmax(0,1.55fr) minmax(210px,.85fr)}.ranking-heading{align-items:start}.fitting-room{top:15px}}
@media(max-width:620px){.workspace{padding-left:20px;padding-right:20px}.topbar{height:75px}.top-actions>.tag{display:none}.top-actions{gap:9px}.page-heading{margin:10px 0 21px}.page-heading h1{font-size:25px}.page-heading p{margin-top:6px;font-size:12px}.home-grid{grid-template-columns:1fr;gap:17px}.daily-hero{min-height:304px;padding:25px}.hero-copy h2{font-size:29px}.hero-copy p{font-size:11px;margin-top:11px;margin-bottom:24px}.hero-copy{width:62%}.hero-avatar{width:51%;right:-4px;max-width:245px;bottom:13px}.hero-cloud{right:31px;top:35px;transform:scale(.8)}.weekly-card{display:grid;grid-template-columns:1fr 1fr;gap:13px 22px;padding:20px 23px}.weekly-card .week-head{grid-column:1}.weekly-card .week-score{font-size:27px}.weekly-card .week-rank{font-size:10px}.weekly-card .week-dots{grid-column:2;grid-row:1;align-self:center;gap:3px}.weekly-card .week-dots .day-dot{min-width:16px;font-size:8px;gap:5px}.weekly-card .day-dot i{width:19px;height:19px;font-size:8px}.weekly-card>.divider{grid-column:1/-1}.weekly-card .week-bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px}.weekly-card .badge-note{margin:0;font-size:9px}.weekly-card h3{font-size:13px}.home-under{grid-template-columns:1fr;gap:17px;margin-top:17px}.field-preview{padding:20px 23px}.field-bubbles{justify-content:space-between;margin-top:17px}.field-bubble{font-size:10px;gap:7px}.field-bubble i{width:39px;height:39px}.practice-tile{padding:20px 23px}.practice-tile h3{font-size:14px}.practice-tile p{margin:4px 0 0;font-size:10px}.practice-tile .text-link{font-size:11px}.shop-teasers{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.teaser{display:flex;flex-direction:column;padding:13px 8px 14px;gap:6px;text-align:center;border-radius:16px}.teaser-art{width:72px;height:62px}.teaser strong{font-size:10px;margin:6px 0}.teaser .coin{font-size:10px}.teaser-sub{display:none}.section-title{margin-top:24px}.section-title h2{font-size:17px}.section-title .text-link{font-size:11px}.section-title p{font-size:10px}.profile-grid{grid-template-columns:1fr}.identity-card{display:grid;grid-template-columns:42% minmax(0,58%)}.identity-scene{display:flex;align-items:center;justify-content:center;padding:0;min-height:220px}.identity-scene canvas{width:210px;max-width:100%;height:auto;flex-shrink:0}.identity-content{padding:22px 18px}.identity-name{font-size:19px;justify-content:start}.identity-content{text-align:left}.identity-content .tier-pill{margin-top:8px}.identity-content p{font-size:9px}.identity-content .btn{margin-top:15px;min-height:40px;font-size:11px}.profile-summary{gap:8px;margin-top:14px}.profile-summary div{text-align:center;padding:9px 5px}.profile-summary small{font-size:8px}.profile-summary strong{font-size:18px}.radar-card{padding:22px}.radar-header{flex-wrap:nowrap}.radar-header h2{font-size:16px}.radar-header p{font-size:10px}.radar-wrap{max-width:330px}.radar-fields{gap:9px}.radar-field{padding:10px 11px}.radar-field strong{font-size:16px}.radar-field span{font-size:10px}.ranking-layout{grid-template-columns:1fr}.ranking-aside{display:grid;grid-template-columns:1fr 1fr;gap:13px}.rank-badge-card{padding:21px 14px}.rank-badge-card h3{font-size:13px}.rank-badge-card p{font-size:10px}.rank-badge-card .btn{font-size:10px;padding:8px;min-height:40px}.tier-guide{padding:18px 14px}.tier-guide h3{font-size:13px}.tier-guide-row{font-size:9px}.tier-guide-row small{font-size:8px}.tier-guide-row .row{gap:5px}.tier-guide-note{font-size:8px}.league-explainer{margin-bottom:20px;font-size:10px}.ranking-heading>.btn{font-size:10px;padding:8px 12px;min-height:39px;white-space:nowrap}.ranking-heading h1{font-size:24px}.ranking-heading p{font-size:10px}.podium{padding:14px 16px 0}.podium-avatar{width:90px;height:90px}.shop-layout{grid-template-columns:1fr;gap:22px}.fitting-room{position:relative;top:auto;display:grid;grid-template-columns:43% minmax(0,57%)}.fitting-scene{min-height:219px;display:flex;justify-content:center;align-items:center;padding:0;overflow:hidden}.fitting-scene canvas{width:228px;height:228px;max-width:100%;flex-shrink:0}.fitting-tag{font-size:9px;left:10px;top:10px}.fitting-copy{padding:22px 17px}.fitting-copy h3{font-size:17px}.fitting-copy p{font-size:10px;margin:6px 0 13px;min-height:36px}.fitting-copy .btn{font-size:11px;padding:10px 9px;min-height:43px}.fitting-copy .purchase-hint{font-size:8px;margin-top:9px}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.shop-item-art{height:112px}.shop-item-art canvas{width:116px;height:116px}.shop-item-info{padding:10px 9px 11px}.shop-item-info strong{font-size:10px}.shop-tabs{margin-bottom:16px}.shop-filters{gap:6px}.filter{font-size:9px;padding:6px 11px}.question-card{padding:24px 21px}.question-title{font-size:19px;line-height:1.9;min-height:80px}.question-kicker{margin-bottom:22px}.options{gap:10px}.option{font-size:14px;padding:13px 11px;gap:9px;min-height:64px;border-radius:13px}.option-num{width:23px;height:23px;font-size:10px}.question-actions{gap:10px}.question-actions p{font-size:9px}.question-actions .btn{min-width:125px;font-size:12px;padding:11px 14px}.question-foot{font-size:10px;padding:16px 0;gap:6px}.challenge-top .text-link{font-size:11px}.question-progress{margin-top:10px;margin-bottom:21px}.result-hero{padding:23px 20px}.result-hero h2{font-size:22px}.result-body{padding:23px 20px}.result-stats strong{font-size:18px}.result-stats small{font-size:9px}.result-actions .btn{padding:10px 12px;font-size:11px}.ad-cta{padding:17px;gap:10px}.ad-cta h3{font-size:12px}.ad-cta p{font-size:10px;max-width:200px}.ad-cta .btn{padding:9px 11px;font-size:10px;white-space:nowrap}.review-content{font-size:12px}.question-foot canvas{width:35px;height:35px}.question-top-label{font-size:12px}.modal-content{padding:25px}.modal-content p{font-size:12px}.footer>span{font-size:9px;max-width:240px;line-height:1.8}.footer button{font-size:9px}.sample-toggle{font-size:9px;gap:4px}.sample-toggle input{width:14px;height:14px}.collection-scene{min-height:220px}}
@media(max-width:370px){.workspace{padding-left:15px;padding-right:15px}.page-heading h1{font-size:23px}.daily-hero{padding:23px;min-height:292px}.hero-copy h2{font-size:26px}.hero-copy p{font-size:10px}.hero-avatar{right:-14px;bottom:19px;width:54%}.hero-copy .btn{font-size:11px}.weekly-card{padding:19px 17px;gap:12px 14px}.weekly-card .badge-note{font-size:8px}.field-bubble i{width:34px;height:34px}.field-preview{padding:20px}.practice-tile{padding:18px}.practice-tile .text-link{font-size:10px}.shop-item-art{height:95px}.shop-item-art canvas{width:107px;height:107px}.shop-item-info strong{font-size:9px}.shop-item-info .coin{font-size:9px}.fitting-copy{padding:20px 13px}.fitting-copy h3{font-size:15px}.fitting-copy .btn{font-size:10px}.identity-content{padding:20px 13px}.identity-name{font-size:17px}.radar-card{padding:20px 17px}.radar-header{gap:4px}.radar-header h2{font-size:15px}.sample-toggle{font-size:8px}.question-card{padding:21px 17px}.question-title{font-size:17px}.options{grid-template-columns:1fr}.question-actions p{max-width:95px}.difficulty span{margin-left:4px;font-size:10px}.question-kicker .tag{font-size:10px}.top-actions .coin-wallet{font-size:10px;padding:6px 9px}.mini-avatar{width:31px;height:31px}.top-actions{gap:7px}.rank-row{gap:7px}.ranking-table{padding-left:18px;padding-right:18px}.league-explainer{font-size:9px}.result-stats strong{font-size:16px}.result-stats{gap:8px}.result-stats small{font-size:8px}.result-actions{gap:7px}.ad-cta{flex-wrap:wrap}.ad-cta .btn{width:100%}.ranking-aside{grid-template-columns:1fr}.rank-badge-card{display:flex;flex-direction:column;align-items:center}.big-gem{margin-top:15px;margin-bottom:15px}.tier-guide{padding:20px}.tier-guide-row{font-size:11px}.tier-guide-row small{font-size:10px}.tier-guide-note{font-size:10px}.podium-name{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep the soft palette in surfaces, with readable text and stable mobile layouts. */
:root{--muted:#6f6678}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.identity-scene{overflow:hidden}
.identity-name .nickname{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.identity-name .icon-button{flex-shrink:0}
.daily-hero{background:#eaf2df}
.hero-copy p{color:#506f56}
.hero-copy .btn{background:#4f7658}
.identity-scene,.fitting-scene{background:#eaf2df}
.tag.neutral{color:#71695e}
.nav-item,.sidebar-note strong,.sidebar-note p,.brand-caption{color:#75687f}
.weekly-card .eyebrow,.weekly-card .week-rank,.weekly-card .badge-note,.weekly-card .week-score span,.weekly-card .day-dot{color:#756380}
.weekly-card .day-dot i{color:#6f5a7f}.weekly-card .day-dot i.complete{background:#85629f;color:#fff}
.field-bubble{color:#71697b}
.practice-tile p,.practice-tile .text-link{color:#7c6745}
.teaser .coin,.shop-item-info .coin{color:#786443}
.teaser-sub,.shop-item-info .equipped-text,.owned-mark,.fitting-tag,.shop-tab,.filter{color:#766282}
.shop-tabs .shop-tab,.shop-filters .filter{min-height:42px}
.question-actions p,.question-foot,.memory-timer,.memory-note,.difficulty{color:#786384}
.radar-header p,.radar-detail,.radar-field span,.record-note,.history-empty,.history-row span,.sample-toggle,.identity-content p,.profile-summary small{color:#6f6678}
.record-note,.radar-header p,.radar-detail{font-size:11px}
.sample-toggle{font-size:11px;min-height:40px}
.radar-chart .axis-label{fill:#6c567c}.radar-chart .axis-score{fill:#766083}.radar-chart .tick-label{fill:#85748f}
.review-content .explanation,.review-yours,.result-hero p,.result-number small,.ad-cta p{color:#6f6678}
.league-explainer,.rank-badge-card p,.tier-guide-note,.tier-guide-row small,.rank-row .place,.rank-row.header,.podium-place,.podium-score{color:#796386}
.fitting-copy p,.fitting-copy .purchase-hint,.collection-copy p,.collection-price small,.collection-foot,.modal-content p,.modal-note,.info-lines div,.rules-list,.modal-ad,.form-label,.settlement-note{color:#6f6678}
.fitting-copy .purchase-hint,.collection-foot,.collection-price small,.league-explainer,.tier-guide-note{font-size:11px}
.footer,.footer button{color:#796c82}.footer>span{font-size:10px}
@media(max-width:620px){.radar-chart .axis-label{font-size:20px}.radar-chart .axis-score{font-size:16px}.radar-chart .tick-label{display:none}.identity-content p{font-size:10px}.question-actions p{font-size:10px}.shop-item-info strong{font-size:11px}.shop-item-info .coin,.shop-item-info .equipped-text{font-size:10px}.league-explainer{font-size:11px}.fitting-copy p{font-size:11px}.radar-header p{font-size:10px}.sample-toggle{font-size:10px}}

/* Six selectable friends, with the existing wardrobe shared across all of them. */
.character-section{padding:24px;margin-bottom:25px}
.character-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:19px}
.character-section-head h2{font-size:20px;margin-top:4px}
.character-section-head .tag{white-space:nowrap}
.character-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.character-choice{display:flex;flex-direction:column;align-items:center;min-width:0;border:2px solid transparent;background:#faf8fc;border-radius:17px;padding:8px 8px 12px;transition:background .18s,border-color .18s}
.character-choice:hover{background:#f0eaf8}
.character-choice.active{border-color:#9672b7;background:#f4edf9}
.character-portrait{display:flex;align-items:center;justify-content:center;width:100%;border-radius:12px;position:relative;overflow:hidden;margin-bottom:8px;aspect-ratio:1}
.character-portrait canvas{display:block;width:100%;max-width:100%;height:auto;image-rendering:pixelated;flex-shrink:0}
.character-check{position:absolute;right:5px;bottom:5px;display:grid;place-items:center;width:23px;height:23px;background:#8064b8;color:white;border:2px solid white;border-radius:50%;font-size:12px;font-weight:800}
.character-choice strong{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.character-choice>span{color:#756181;font-size:10px;margin-top:3px}
.character-note{color:var(--muted);font-size:12px;text-align:center;margin-top:16px}
.fitting-friend{display:block;font-size:11px;font-weight:650;letter-spacing:.02em;color:#766282;margin-bottom:6px}
.quick-unequip{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
.quick-unequip .text-link{font-size:11px;min-height:40px}
.quick-unequip:empty{display:none}
.shop-inventory{min-width:0}
.shop-filters{flex-wrap:wrap}
.filter-count{font-size:.9em;opacity:.8;margin-left:5px}

/* The calendar action is voluntary and appears after the explanations. */
.reminder-card{display:flex;align-items:center;gap:21px;margin-top:24px;padding:23px 25px;border:1px solid #ddd9ee;border-radius:var(--radius);background:linear-gradient(120deg,#f1ecf8,#edf3ec);overflow:hidden}
.reminder-art{position:relative;flex:0 0 110px;align-self:center}
.reminder-art canvas{width:118px;height:118px;image-rendering:pixelated}
.reminder-art>span{position:absolute;right:0;top:15px;color:#a489bc;font-size:26px}
.reminder-copy{min-width:0}
.reminder-copy .eyebrow{font-size:10px}
.reminder-copy h3{font-size:19px;margin-top:6px}
.reminder-copy p{font-size:12px;color:#6d6078;line-height:1.85;margin-top:7px}
.reminder-actions{display:flex;flex-wrap:wrap;gap:8px 19px;align-items:center;margin-top:15px}
.reminder-actions .text-link{font-size:12px;min-height:44px}
.reminder-actions .btn{min-height:44px}
.reminder-profile{margin-top:23px}
.reminder-time-row{margin-top:20px}
.reminder-time-row .form-label{margin-bottom:8px;display:block}
.reminder-time-row input{font-size:25px;font-weight:750;text-align:center;min-height:58px;width:100%;max-width:100%;font-variant-numeric:tabular-nums;color:#604578;background:#f6f0fb}
.time-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.time-presets .filter{font-size:12px;padding:8px 12px;min-height:42px}
.reminder-summary{padding:15px 17px;background:#f2edf8;border:1px solid #e5dced;border-radius:14px;display:flex;flex-direction:column;gap:4px;margin:17px 0}
.reminder-summary strong{font-size:16px;color:#685080}
.reminder-summary span{font-size:12px;color:#73657c}
.reminder-manual-button{font-size:12px;margin-top:10px}
.reminder-steps{margin:18px 0;padding-left:23px;color:#6f627a;font-size:13px;line-height:1.95}
.reminder-steps li+li{margin-top:7px}
.reminder-copy-field{font:inherit;resize:vertical;width:100%;padding:12px;border:1px solid #dcd3e6;border-radius:12px;color:#665571;background:#fcfaff;font-size:12px;line-height:1.85;overflow-wrap:anywhere;min-height:165px}
.reminder-copy-field:focus-visible{outline:3px solid #9c7ac8;outline-offset:3px}
.reminder-help-actions,.reminder-manage{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.reminder-help-actions .text-link,.reminder-manage .text-link{font-size:12px;min-height:44px}
/* Sound is opt-in; controls stay outside the timed question surface. */
.sound-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 10px;background:#fff;border:1px solid #e5dbea;border-radius:11px;font-size:10px;color:#7a658a;white-space:nowrap}
.sound-button.active{background:#f0e7f7;color:#72548b;border-color:#d9c6e7}
.sound-button .icon{width:17px;height:17px;flex-shrink:0}
.sound-button:hover{background:#f3edf8}
.sound-status{padding:13px 15px;background:#f5effa;border:1px solid #e6d9ef;border-radius:13px;font-size:12px;line-height:1.85;color:#725c82;margin-top:18px}
.sound-sliders{display:flex;flex-direction:column;gap:20px;margin:24px 0}
.sound-volume label{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700;color:#6b517e}
.sound-volume output{font-size:12px;font-variant-numeric:tabular-nums;color:#846498}
.sound-volume input[type=range]{display:block;width:100%;min-height:40px;margin:6px 0 0;accent-color:#a17ac0;cursor:pointer}
.sound-volume small{font-size:10px;color:#7a6885}
.sound-samples{display:flex;gap:9px;flex-wrap:wrap}
.sound-samples .btn{flex:1;font-size:11px;min-height:40px}
#sound-save-note{margin-top:14px;font-size:10px;line-height:1.8}
#sound-retry[hidden]{display:none}
dialog:has(#sound-master) .modal-actions{flex-direction:column;align-items:stretch}
@media(max-width:760px){.sound-button{width:34px;height:34px;min-height:34px;padding:7px}.sound-button-label{display:none}.top-actions{gap:7px}}
@media(max-width:370px){.sound-button{width:31px;height:31px;min-height:31px;padding:6px}.top-actions{gap:5px}.sound-samples .btn{font-size:10px}}
/* Personalized questions, measured answers, and the friend collection. */
.answer-clock{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;background:#f5f1f9;border:1px solid #e6ddee;padding:10px 13px;border-radius:12px;margin:-7px 0 20px;font-size:11px;color:#74647f}
.answer-clock strong{font-size:13px;color:#694b81;font-variant-numeric:tabular-nums;margin-left:5px;white-space:nowrap}
.answer-clock>span:last-child{margin-left:auto}
.question-foot{align-items:flex-start;color:#71627e;line-height:1.8}
.question-foot canvas{flex-shrink:0}
.question-foot small{display:block;font-size:10px;color:#80738a;margin-top:5px}
.score-breakdown{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px 20px;border-top:1px solid #ece5f1;margin-top:20px;padding-top:15px;font-size:11px;color:#71627e}
.score-breakdown strong{color:#6a4e81;margin-left:4px;font-variant-numeric:tabular-nums}
.score-breakdown p{font-size:11px;line-height:1.8;width:100%;margin-bottom:4px}
.timing-note{font-size:10px;color:#7b6b87;text-align:center;line-height:1.8;margin-top:9px}
.review-time{color:#776583;font-size:11px;border-top:1px dashed #e6dced;padding-top:10px;margin-top:12px;font-variant-numeric:tabular-nums}
.preview-test-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:15px;padding:18px 21px;border:1px dashed #d9c9e5;border-radius:17px;background:#fcfaff}
.preview-test-card p{font-size:11px;color:#71627e;line-height:1.8;margin-top:7px}
.preview-test-card .btn{flex-shrink:0}
.practice-tile .preview-link{display:flex;font-size:11px;min-height:40px}
.rank-detail{display:block;font-size:10px;font-weight:400;color:#7d6a89;line-height:1.7;margin-top:4px;font-variant-numeric:tabular-nums;word-break:normal}
.rank-row{grid-template-columns:36px minmax(0,1fr) 83px;gap:10px}
.rank-row.me{grid-template-columns:30px minmax(0,1fr) 83px}
.rank-row .score{white-space:nowrap}
.character-choice.locked{background:#fcfafc;border-style:dashed}
.character-choice.locked:hover{border-style:solid;background:#f6effb}
.character-choice>.coin{display:flex;justify-content:center;gap:4px;margin-top:5px;font-size:11px;color:#86672f}
.character-choice .coin-dot{width:14px;height:14px;border-width:1px;font-size:7px}
.character-lock{position:absolute;right:6px;bottom:6px;padding:2px 7px;border-radius:6px;background:#fffdf2eb;color:#886e45;font-size:9px;font-weight:650}
.collection-progress{margin-top:18px;padding:14px 16px;background:#f7f2fb;border-radius:13px;color:#6e5381}
.collection-progress>div{display:flex;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;font-size:11px}
.collection-progress strong{font-size:12px}
.collection-progress span{color:#7d698a}
.collection-progress progress{display:block;appearance:none;width:100%;height:7px;border:0;border-radius:8px;margin-top:10px;background:#e7dcee;overflow:hidden}
.collection-progress progress::-webkit-progress-bar{background:#e7dcee;border-radius:8px}
.collection-progress progress::-webkit-progress-value{background:#a485bf;border-radius:8px}
.collection-progress progress::-moz-progress-bar{background:#a485bf;border-radius:8px}
.collection-progress.complete{text-align:center;font-size:12px}
.character-modal-art{display:flex;align-items:center;justify-content:center;border:1px solid #eee5ef;border-radius:18px;margin:17px 0;min-height:210px}
.character-modal-art canvas{width:220px;height:220px;image-rendering:pixelated;max-width:100%}
.character-purchase-summary{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#75637f;padding:8px 0}
.character-purchase-summary+.purchase-hint{font-size:12px;line-height:1.9;text-align:center;color:#786482}
@media(max-width:620px){.answer-clock{gap:6px 10px;font-size:10px;padding:10px}.answer-clock strong{font-size:12px}.challenge-top{align-items:flex-start;gap:10px}.challenge-top .text-link{max-width:58%;text-align:left;font-size:10px}.score-breakdown{justify-content:flex-start;gap:7px 15px}.preview-test-card{flex-direction:column;align-items:stretch;padding:16px 18px}.preview-test-card .btn{width:100%;font-size:11px}.rank-detail{font-size:9px}.rank-person{gap:7px}.rank-row{grid-template-columns:26px minmax(0,1fr) 74px;gap:7px}.rank-row.me{grid-template-columns:22px minmax(0,1fr) 74px;padding:13px 7px}.rank-person canvas{width:29px;height:29px}.rank-row .score{font-size:11px}.character-section-head{flex-wrap:wrap}.character-choice>.coin{font-size:10px}.collection-progress{padding:12px}.collection-progress>div{font-size:10px}.collection-progress strong{font-size:11px}}
@media(max-width:1100px){.character-section{padding:20px}.character-grid{gap:8px}.character-choice{padding:6px 5px 10px}.character-choice strong{font-size:11px}}
@media(max-width:620px){.character-section{padding:20px 17px}.character-section-head h2{font-size:18px}.character-section-head .eyebrow{font-size:9px}.character-section-head .tag{font-size:10px}.character-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.character-portrait{aspect-ratio:1}.character-choice strong{font-size:12px}.character-choice>span{font-size:10px}.character-note{font-size:11px;line-height:1.8}.reminder-card{align-items:flex-start;padding:20px 17px;gap:12px}.reminder-art{flex-basis:66px;margin-top:8px}.reminder-art canvas{width:72px;height:72px}.reminder-art>span{font-size:19px;top:-2px;right:-3px}.reminder-copy h3{font-size:17px}.reminder-copy p{font-size:12px}.reminder-actions{gap:4px 13px}.reminder-actions .btn{font-size:12px;padding:9px 13px}.reminder-actions .text-link{font-size:11px}.reminder-copy .eyebrow{font-size:9px}.fitting-friend{font-size:10px}.quick-unequip{gap:3px 11px}.quick-unequip .text-link{font-size:10px}.shop-filters .filter{font-size:11px;padding:7px 10px}.filter-count{margin-left:4px}.reminder-steps{font-size:12px}}
@media(max-width:370px){.character-section{padding:18px 12px}.character-grid{gap:7px}.character-section-head{gap:7px}.character-section-head h2{font-size:16px}.character-choice strong{font-size:11px}.character-section-head .tag{font-size:9px}.reminder-card{padding:18px 14px}.reminder-art{display:none}.reminder-copy h3{font-size:17px}.shop-filters{gap:5px}.shop-filters .filter{font-size:10px;padding:6px 8px}}

/* Let content determine the height of cards and controls at every viewport. */
.card,.weekly-card,.daily-hero,.practice-copy,.practice-actions,.identity-content,.fitting-copy,.collection-copy,.shop-item-info{min-width:0}
.page-heading h1,.section-title h2,.modal-top h2,.question-title,.review-prompt,.review-answer,.review-content .explanation,.fitting-copy h3,.collection-copy h2,.shop-item-info strong,.teaser strong{overflow-wrap:anywhere}
.page-heading>div,.section-title>div,.between>div,.ad-cta>div{min-width:0}
.btn{min-width:0;overflow-wrap:anywhere}
.topbar{height:auto;min-height:96px;padding-block:18px;flex-wrap:wrap;row-gap:12px}
.top-actions{min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-end;row-gap:8px}
.mobile-brand{flex-shrink:0}
.coin-wallet,.mini-avatar,.sound-button{flex-shrink:0}
.coin-wallet{max-width:100%}
.coin-wallet .coin{max-width:100%;overflow-wrap:anywhere;white-space:normal}
.coin-wallet .coin-dot{flex-shrink:0}
.week-head{min-width:0}
.weekly-card .week-score{font-variant-numeric:tabular-nums;line-height:1.35}
.weekly-card .week-bottom{flex-wrap:wrap}
.field-preview .between{flex-wrap:wrap;gap:8px}
.practice-tile{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:12px}
.practice-actions{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.practice-actions .text-link{max-width:100%;text-align:left;min-height:42px;overflow-wrap:anywhere}
.practice-actions .preview-link{margin-top:0}
.teaser>div:last-child{min-width:0}
.options{grid-template-columns:repeat(2,minmax(0,1fr))}
.option{min-width:0}
.option>span:last-child{min-width:0;overflow-wrap:anywhere}
.question-actions{flex-wrap:wrap}
.question-actions .btn{margin-left:auto}
.review-item summary{flex-wrap:wrap;gap:6px 10px}
.review-mark{flex:0 0 23px}
.review-item summary strong,.review-item summary .muted{min-width:0;overflow-wrap:anywhere}
.profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-summary>div,.result-stats>div{min-width:0}
.profile-summary strong,.result-stats strong{font-variant-numeric:tabular-nums}
.identity-scene canvas,.fitting-scene canvas,.shop-item-art canvas,.collection-scene canvas,.character-modal-art canvas,.podium-avatar{height:auto;aspect-ratio:1}
.podium-player:nth-child(2) .podium-avatar{height:auto}
.history-row{gap:12px;flex-wrap:wrap}
.history-row>div{min-width:0;flex:1 1 160px}
.history-row>strong,.history-row>.tier-pill{flex-shrink:0}
.history-row>span:last-child{margin-left:auto}
.rank-person>span{min-width:0;flex:1;overflow-wrap:anywhere}
.rank-detail{overflow-wrap:anywhere}
.shop-tabs{flex-wrap:wrap;row-gap:0}
.shop-item-info strong{line-height:1.65}
.shop-grid .empty-state{grid-column:1/-1}
.character-choice{gap:0}
.character-choice strong,.character-choice>span{max-width:100%;overflow-wrap:anywhere;text-align:center}
.character-choice>.coin{white-space:normal;flex-wrap:wrap}
.character-choice .coin-dot{flex-shrink:0}
.modal-top h2{min-width:0}
.modal-content .modal-actions{flex-wrap:wrap}
.modal-content .modal-actions .btn{flex:1 1 145px}
dialog:has(#sound-master) .modal-actions .btn{flex-basis:auto}
.sound-samples .btn{flex:1 1 125px}
.ad-cta .btn{flex-shrink:0}
.big-gem{background:linear-gradient(135deg,#ffffff66 0 33%,#00000011 33% 66%,#ffffff22 66%),var(--gem-color,#b59bc8);filter:drop-shadow(0 4px 0 var(--gem-shadow,#6d5b7b))}

/* Account entry and server status use the existing game surfaces. */
.btn[href],.text-link[href]{text-decoration:none}
.release-entry{min-height:100dvh;max-width:520px;padding:40px 24px;margin:auto;display:flex;flex-direction:column;justify-content:center;gap:24px}
.release-entry-brand{display:flex;justify-content:center}
.release-entry-card{padding:25px 30px 32px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:15px}
.release-entry-card h1{font-size:27px;line-height:1.55}
.release-entry-card p{font-size:14px;color:var(--muted);line-height:1.9}
.release-entry-card small,.release-entry-foot{color:var(--muted);font-size:11px;text-align:center}
.release-entry-contact{display:flex;justify-content:center;min-width:0}
.support-contact{display:inline-flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:0;max-width:100%;min-height:44px;line-height:1.8;text-align:left}
.support-contact>span{min-width:0;max-width:100%;overflow-wrap:anywhere}
.release-entry-contact .support-contact{justify-content:center;text-align:center;font-size:11px}
.info-lines .support-contact{display:flex;margin-top:5px;font-size:12px}
.entry-avatar{display:block;width:192px;height:auto;aspect-ratio:1;image-rendering:pixelated}
.entry-loading{padding:14px;color:var(--purple);font-size:13px}
.connection-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;margin:0 0 20px;background:#f0eaf8;border:1px solid #e0d4ec;border-radius:14px;color:#68517d;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.connection-banner.error{background:#fff4e9;border-color:#efd8bd;color:#77532f}
.connection-banner .btn{flex-shrink:0}
.release-empty{text-align:center;padding:36px 24px;display:flex;flex-direction:column;align-items:center;gap:14px}
.release-empty p{font-size:12px;color:var(--muted)}
.empty-avatar{width:120px;aspect-ratio:1;height:auto;image-rendering:pixelated}
.memory-stage.compact{min-height:auto}
.review-memory-grid{width:190px;margin:15px auto}
.memory-grid{grid-template-columns:repeat(var(--columns,3),minmax(0,1fr));max-width:100%;min-width:0}
.memory-cell{min-width:0;overflow-wrap:anywhere;line-height:1.4;font-size:clamp(14px,4.4vw,20px)}
.question-grid-row{display:grid;grid-template-columns:3.1em repeat(var(--grid-columns),minmax(0,1fr));align-items:center;gap:4px;white-space:normal;font-size:16px;line-height:1.6;letter-spacing:0;margin:4px 0;font-weight:650}
.question-grid-label{font-size:13px;color:#687669}
.question-grid-cell{display:block;text-align:center;background:#eef3ee;border-radius:4px;padding:3px 0;min-width:0;font-variant-numeric:tabular-nums}
.rank-score-heading{text-align:right}
.rank-table-note{font-size:11px;text-align:center;padding:12px;color:var(--muted)}
.account-records>.between{align-items:flex-start;flex-wrap:wrap;margin-bottom:17px}
.account-caption{color:var(--muted);font-size:11px;line-height:1.9;margin-top:7px}
.account-records>.account-caption{margin-top:16px}
.legacy-record{margin-top:22px;padding:18px;border:1px solid var(--line);background:#faf7fc;border-radius:15px}
.legacy-record p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:7px}
.account-records .text-link{min-height:44px}
.social-login-options{display:grid;gap:10px;width:100%;min-width:0}
.social-login-choice{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:10px;min-height:52px;width:100%;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:white;text-align:left;color:var(--ink);font:inherit;cursor:pointer}
.social-login-choice strong{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.social-login-choice>span{font-size:11px;line-height:1.6;color:var(--muted);white-space:normal;text-align:right}
.social-login-choice:disabled{cursor:default;background:#f7f5f8;color:#756b80;opacity:1}
.social-login-choice:not(:disabled):hover{border-color:var(--purple);background:#fbf8ff}
.social-login-choice:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
.release-entry-card .login-availability{font-size:11px;line-height:1.8;text-align:left;width:100%}
.login-divider{display:flex;align-items:center;gap:10px;width:100%;color:var(--muted);font-size:10px;margin:2px 0}
.login-divider:before,.login-divider:after{content:'';flex:1;height:1px;background:var(--line)}
.auth-entry-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;width:100%;padding:5px;border-radius:13px;background:#f3eff7}
.auth-entry-tabs>button{min-height:44px;padding:9px 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-size:13px;cursor:pointer}
.auth-entry-tabs>button[aria-pressed="true"]{background:#fff;color:var(--purple);font-weight:700;box-shadow:0 2px 7px #3526410b}
.auth-entry-tabs>button:disabled{cursor:default;opacity:.6}
.auth-entry-tabs>button:focus-visible,.local-auth-form input:focus-visible,.auth-confirmations input:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
.local-auth-form{display:flex;flex-direction:column;gap:9px;width:100%;min-width:0;text-align:left}
.local-auth-form>label{font-size:13px;font-weight:700;line-height:1.7;margin-top:5px}
.local-auth-form>.field-input{width:100%;min-width:0;min-height:46px;font-size:16px;box-sizing:border-box}
.release-entry-card .local-auth-form>p{margin:-3px 0 4px;font-size:11px;line-height:1.75;text-align:left}
.local-auth-form>.btn{min-height:48px;margin-top:9px}
.auth-confirmations{display:flex;flex-direction:column;gap:8px;width:100%;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fbf9fd;box-sizing:border-box;text-align:left}
.auth-confirmations>label{display:flex;align-items:flex-start;gap:10px;min-height:35px;font-size:12px;line-height:1.9;cursor:pointer}
.auth-confirmations input{width:18px;height:18px;flex:0 0 18px;margin-top:3px;accent-color:var(--purple)}
.auth-confirmations>label>span{min-width:0;overflow-wrap:anywhere}
.auth-policy-actions{display:flex;flex-wrap:wrap;gap:4px 16px}
.auth-policy-actions>.text-link{font-size:11px;min-height:44px}
.release-entry-card .auth-confirmations>p{font-size:10px;line-height:1.8;text-align:left}
.auth-feedback{display:flex;align-items:flex-start;gap:12px;width:100%;padding:13px 15px;border:1px solid #d3e9df;background:#f0f8f4;border-radius:12px;text-align:left;box-sizing:border-box}
.auth-feedback.error{border-color:#efd8bd;background:#fff4e9}
.auth-feedback p,.release-entry-card .auth-feedback p{flex:1;min-width:0;font-size:12px;color:#4b6c5c;line-height:1.8;overflow-wrap:anywhere}
.auth-feedback.error p,.release-entry-card .auth-feedback.error p{color:#77532f}
.auth-feedback .text-link{flex-shrink:0;font-size:11px;min-height:24px}
main.view-enter>.auth-feedback{margin-bottom:20px}
.account-login-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:20px}
.account-login-heading>strong{font-size:14px}
.account-login-list{margin-top:14px;border:1px solid var(--line);border-radius:15px;overflow:hidden}
.account-login-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px}
.account-login-row+.account-login-row{border-top:1px solid var(--line)}
.account-login-row>div{flex:1;min-width:0}
.account-login-row strong{font-size:13px;line-height:1.7}
.account-login-row small{display:block;margin-top:4px;font-size:11px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}
.account-login-row>.btn{flex-shrink:0;min-height:42px;min-width:82px;margin:0;font-size:11px;padding:9px 12px}
.account-login-row>.btn:disabled{opacity:1;background:#f4f0f6;border-color:#ebe4ef;color:#796983;cursor:default}
.account-login-actions{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:5px}
.account-login-actions>.text-link{font-size:11px}
.account-data-download{padding-top:19px;margin-top:12px;border-top:1px solid var(--line)}
@media(max-width:380px){
  .social-login-choice{padding:12px;gap:8px}
  .account-login-row{gap:10px;padding:14px 12px;align-items:flex-start}
  .account-login-row>.btn{min-width:70px;padding:9px}
}
@media(max-width:620px){
  .connection-banner{align-items:flex-start;flex-direction:column;padding:13px 15px}
  .connection-banner .btn{width:100%}
  .release-entry{padding:28px 20px}
  .release-entry-card{padding:22px}
  .release-entry-card h1{font-size:24px}
  .release-entry-card p{font-size:13px}
  .radar-header>.tag{font-size:9px;flex-shrink:0}
}

@media(min-width:621px) and (max-width:1100px){
  .profile-summary{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:820px){
  .topbar{min-height:82px;padding-block:16px}
}
@media(max-width:620px){
  .topbar{min-height:75px;padding-block:14px}
  .practice-tile{gap:13px}
  .practice-actions{flex-direction:row;flex-wrap:wrap;gap:5px 18px}
  .practice-actions .text-link{font-size:11px}
  .weekly-card{grid-template-columns:minmax(0,1fr) minmax(160px,1fr)}
  .options{grid-template-columns:minmax(0,1fr)}
  .option{font-size:14px;padding:14px 13px}
  .identity-content .profile-summary small{font-size:10px}
  .modal-content .modal-actions .btn{min-height:44px}
  .ranking-heading{flex-wrap:wrap;gap:12px}
  .ranking-heading>.btn{margin-left:auto}
  .section-title{flex-wrap:wrap;gap:7px 12px}
}
@media(max-width:480px){
  .weekly-card{grid-template-columns:minmax(0,1fr);gap:17px}
  .weekly-card .week-head,.weekly-card .week-dots{grid-column:1;grid-row:auto}
  .weekly-card .week-dots{width:100%;gap:8px;justify-content:space-between}
  .weekly-card .week-dots .day-dot{min-width:23px;font-size:10px;gap:6px}
  .weekly-card .day-dot i{width:25px;height:25px;font-size:10px}
  .weekly-card .badge-note{font-size:10px}
  .practice-actions{flex-direction:column;align-items:flex-start;gap:2px}
  .profile-summary{grid-template-columns:minmax(0,1fr)}
  .profile-summary>div{text-align:left;padding:10px}
  .profile-summary strong{margin-top:3px}
  .identity-content .btn{flex-wrap:wrap;gap:5px}
  .fitting-copy .btn{flex-wrap:wrap;gap:5px}
}
@media(max-width:430px){
  .result-stats{grid-template-columns:minmax(0,1fr);gap:0;text-align:left}
  .result-stats>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
  .result-stats>div:first-child{padding-top:0}
  .result-stats div+div{border-left:0;border-top:1px solid var(--line)}
  .result-stats small{font-size:11px}
  .result-stats strong{font-size:20px;margin-top:0;white-space:nowrap}
  .result-stats strong small{font-size:10px}
  .result-actions{flex-direction:column;gap:9px}
  .result-actions .btn{font-size:12px;min-height:44px}
  .ad-cta{flex-wrap:wrap}
  .ad-cta .btn{width:100%}
  .ad-cta p{max-width:none}
}

/* Account rights use the same quiet cards and colors as the game. */
.privacy-public{max-width:1060px;margin:0 auto;padding:30px 36px 48px}
.privacy-public-brand{margin-bottom:32px}
.privacy-page{max-width:980px;margin:0 auto;color:var(--ink)}
.privacy-page h1{font-size:34px;line-height:1.45;letter-spacing:-1.2px;margin:14px 0 12px}
.privacy-page h2{font-size:18px;line-height:1.6;margin:0 0 10px}
.privacy-page h3{font-size:16px;line-height:1.6;margin:0}
.privacy-page p{color:var(--muted);font-size:13px;line-height:1.9;overflow-wrap:anywhere}
.privacy-page-heading{margin-bottom:28px}
.privacy-page-heading>p{font-size:15px}
.privacy-page .privacy-small{font-size:11px;line-height:1.8;margin-top:14px}
.privacy-intro{display:flex;gap:20px;align-items:center;padding:26px;background:#f0eaf7;margin-bottom:20px}
.privacy-mark{display:grid;place-items:center;flex-shrink:0;width:56px;height:56px;border-radius:18px;background:#fff8fe;color:#8d6a9d;font-size:32px}
.guardian-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.guardian-steps>li{padding:24px}
.guardian-step-number{display:block;font-size:12px;font-weight:700;color:#927da0;letter-spacing:2px;margin-bottom:14px}
.guardian-steps .tag{margin-top:16px}
.privacy-section{padding:26px;margin-bottom:20px}
.privacy-section>p{margin-bottom:16px}
.privacy-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.privacy-section-title h2{margin-bottom:4px}
.privacy-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.account-deletion-card{border-color:#d9c6d4}
.deletion-account{padding:12px 16px;background:#f5f2f7;border-radius:12px;overflow-wrap:anywhere}
.deletion-account strong{margin-left:8px}
.deletion-receipt{padding:16px;border:1px solid #d5e3db;background:#f5faf6;border-radius:12px;margin:16px 0}
.deletion-receipt code{font:inherit;overflow-wrap:anywhere;word-break:break-word}
.deletion-help-links{display:flex;flex-wrap:wrap;gap:8px 20px}
.deletion-help-links a{display:inline-flex;align-items:center;min-height:44px}
.privacy-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.privacy-actions>.btn{min-height:44px}
.privacy-page .btn:disabled{cursor:default;opacity:1;color:#8b8091;background:#f3f0f5;border:1px solid #e5dfe9}
.privacy-danger{background:#fff4f1;color:#9a4d49;border:1px solid #e6c5bf}
.privacy-danger:hover:not(:disabled){background:#fbe9e4}
.privacy-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:18px 0}
.privacy-notice{padding:16px 19px;background:#eef6f0;border:1px solid #d6e7dc;border-radius:14px;font-size:13px;line-height:1.85;margin-bottom:18px;overflow-wrap:anywhere}
.privacy-notice.warning{background:#fff5e8;border-color:#eedbc1;color:#785739}
.privacy-notice p+p{margin-top:10px}
.privacy-empty{padding:24px 20px;background:#f8f5fa;border:1px dashed #dfd5e7;border-radius:14px;font-size:13px;color:var(--muted);line-height:1.9}
.privacy-child-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
.privacy-child{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:13px;color:inherit;min-width:0;cursor:pointer}
.privacy-child>span:first-child{min-width:0}
.privacy-child strong{display:block;font-size:14px;overflow-wrap:anywhere}
.privacy-child small{display:block;font-size:10px;color:var(--muted);margin-top:5px}
.privacy-child.selected{border-color:#ac91c0;box-shadow:0 0 0 2px #eee4f6;background:#faf7fd}
.privacy-child .tag{flex-shrink:0;font-size:10px}
.privacy-child-detail{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.privacy-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:22px}
.privacy-entry-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 24px;margin-top:18px}
.privacy-entry-links>.text-link{font-size:12px;min-height:44px}
.privacy-account-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}
@media(max-width:720px){
  .privacy-public{padding:22px 20px 36px}
  .privacy-page h1{font-size:28px}
  .guardian-steps{grid-template-columns:1fr;gap:12px}
  .guardian-steps>li{padding:20px}
  .guardian-step-number{margin-bottom:8px}
  .guardian-steps .tag{margin-top:10px}
  .privacy-columns{grid-template-columns:1fr;gap:0}
  .privacy-section{padding:21px}
  .privacy-child-list{grid-template-columns:1fr}
  .privacy-footer{align-items:flex-start;flex-direction:column}
}
@media(max-width:420px){
  .privacy-intro{padding:20px;align-items:flex-start;gap:12px}
  .privacy-mark{width:40px;height:40px;border-radius:12px;font-size:24px}
  .privacy-actions{flex-direction:column}
  .privacy-actions>.btn{width:100%}
  .privacy-toolbar{align-items:flex-start}
  .privacy-child{flex-wrap:wrap}
}


/* Keep document scrolling, but do not drag the whole game past its edges.
   clip avoids creating another scroll container around sticky/fixed controls. */
html{overflow-x:clip;overscroll-behavior:none;scrollbar-gutter:stable}
body{overflow-x:clip;overscroll-behavior:none}
#app,#modal{touch-action:pan-y pinch-zoom}
#modal{overscroll-behavior:none}
/* Native dialog inertness alone does not stop wheel/touch scrolling behind it. */
html:has(#modal[open]){overflow-y:hidden}

/* Clear actions and recovery in the daily journey. */
.hero-progress-label{display:block;margin-top:8px;color:#47654c;font-size:12px;line-height:1.5}
.info-lines div{color:#6a5a74}
.info-lines strong{color:#51405f}
.history-row.history-open{width:100%;background:transparent;text-align:left;gap:12px;min-height:76px;border-radius:8px}
.history-open:hover{background:#f5f1fa}
.history-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.history-outcome{display:flex;flex-direction:column;gap:5px;text-align:right;flex-shrink:0}
.history-row .history-outcome span{color:#68517f;font-size:11px}
.history-open>.icon{width:16px;flex-shrink:0;color:#795b95}
.history-empty .btn{margin-top:8px;min-height:44px}
.question-actions>div{flex:1;min-width:0}
.question-actions .question-feedback{font-size:14px;color:#574168;font-weight:700;line-height:1.6;margin:0 0 6px;max-width:none}
.question-actions .question-retry{display:block;margin-top:8px;min-height:44px;max-width:100%;white-space:normal}
.question-actions>div>p{max-width:none}
.auth-password-field{position:relative;min-width:0;width:100%}
.local-auth-form .auth-password-field>.field-input{width:100%;min-width:0;min-height:52px;box-sizing:border-box;margin:0;padding:11px 70px 11px 13px;border:1px solid #ded7e6;border-radius:10px;background:#fff;font-size:16px;line-height:1.5}
.auth-password-toggle{position:absolute;right:4px;top:4px;bottom:4px;min-width:54px;min-height:44px;padding:6px 10px;background:#f3eff8;color:#5e4772;border-radius:7px;font-size:12px;font-weight:700}
.auth-password-toggle:hover{background:#e9e0f3}
.release-entry .local-auth-form .auth-field-error,.auth-confirmations .auth-field-error{margin:4px 0 0;color:#a33344;font-size:13px;line-height:1.6}
.release-entry input[aria-invalid="true"]{border-color:#b83d50;outline-color:#b83d50}
@media(max-width:620px){
  .daily-hero{min-height:300px}
  .hero-copy h2{font-size:28px;line-height:1.35}
  .hero-copy p{font-size:12px;line-height:1.7;margin-bottom:18px}
  .hero-progress-label{font-size:11px}
  .question-actions{align-items:stretch;gap:14px}
  .question-actions>div{flex-basis:100%}
  .question-actions>.btn{width:100%;min-height:50px;font-size:15px;margin-left:0}
  .question-actions>div>p{font-size:12px;line-height:1.6}
  .history-open>.icon{display:none}
  .history-row .history-copy strong{font-size:13px}
  .history-row .history-copy>span{font-size:11px}
}

/* Native focus/scroll targeting must clear the fixed mobile menu. */
@media(max-width:820px){
  html:has(.bottom-nav){scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
}
.policy-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 18px;margin-top:12px}
.policy-links>.text-link{min-height:44px;font-size:12px}
.account-records>.policy-links{justify-content:flex-start}

/* Small server-backed gifts on the home screen. */
.home-events{margin-top:24px}
.home-events-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;margin-bottom:12px}
.home-events-heading h2{font-size:17px}
.home-events-heading p{font-size:12px;color:var(--muted)}
.home-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.home-event-card{display:flex;align-items:flex-start;gap:14px;padding:20px;border:1px solid #e7e0ce;border-radius:19px;background:#faf6eb;min-width:0}
.home-event-card.share-event{background:#f3eef8;border-color:#e7deef}
.home-event-card .event-mark{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;color:#93733a;background:#f1e7cd}
.home-event-card.share-event .event-mark{color:#85639f;background:#e8def1}
.home-event-card .event-copy{flex:1;min-width:0}
.home-event-card .event-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px}
.home-event-card h3{font-size:14px;line-height:1.6}
.home-event-card .event-title>strong{font-size:17px;color:#856638;white-space:nowrap;line-height:1.6}
.home-event-card.share-event .event-title>strong{color:#77528e}
.home-event-card .event-title>strong>span{font-size:12px;font-weight:650}
.home-event-card .event-copy>p{font-size:12px;line-height:1.8;color:#766d5c;margin:5px 0 12px}
.home-event-card.share-event .event-copy>p{color:#766780}
.home-event-card .event-status{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:12px;color:#7e6b46}
.home-event-card .event-status.complete{font-weight:650}
.home-event-card .btn{min-height:44px;font-size:12px;padding:9px 14px}
.home-event-card .btn:disabled{opacity:1;background:#e9e0f1;color:#775e88}
.home-event-card .event-share-button:disabled{background:#e9e0f1;color:#775e88}
@media(max-width:1050px){
  .home-event-card{padding:18px;gap:11px}
  .home-event-card .event-mark{width:32px;height:32px;flex-basis:32px;border-radius:10px}
}
@media(max-width:620px){
  .home-events{margin-top:20px}
  .home-events-heading{margin-bottom:10px}
  .home-events-heading h2{font-size:16px}
  .home-event-grid{grid-template-columns:1fr;gap:12px}
  .home-event-card{padding:17px;gap:12px}
  .home-event-card .event-title{gap:3px 10px}
  .home-event-card .event-title>strong{font-size:16px}
  .home-event-card .event-copy>p{margin-bottom:8px}
}
@media(max-width:350px){
  .home-event-card{padding:15px;gap:10px}
  .home-event-card .event-mark{display:none}
  .home-events-heading p{font-size:11px}
}

/* Keep the account entrance compact without changing the game screens. */
.release-entry{width:100%;max-width:1080px;min-height:100dvh;padding:32px 40px 20px;gap:26px;justify-content:flex-start}
.release-entry .release-entry-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.release-entry .release-entry-brand{justify-content:flex-start}
.release-entry .brand{padding:0;min-height:44px}
.release-entry .text-link{min-height:44px}
.release-entry .release-entry-header>.tag{font-size:10px;white-space:nowrap}
.release-entry .release-entry-layout{flex:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,440px);align-items:center;gap:64px;padding:12px 0}
.release-entry .release-entry-intro{min-width:0;display:grid;justify-items:start;align-content:center;gap:22px;padding:18px 0}
.release-entry .entry-intro-copy>.eyebrow{display:block;margin-bottom:16px;font-size:10px;letter-spacing:.2em}
.release-entry .entry-intro-copy h1{font-size:40px;line-height:1.4;letter-spacing:-.055em}
.release-entry .entry-intro-copy>p{margin-top:16px;font-size:14px;line-height:1.9;color:var(--muted)}
.release-entry .entry-intro-figure{position:relative;display:flex;align-items:center;justify-content:center;width:232px;height:208px;margin-left:28px;border-radius:48% 48% 42% 42%;background:#eaf0df}
.release-entry .entry-intro-figure:before{content:'';position:absolute;inset:12px -14px -12px 14px;border:1px solid #dfe6d6;border-radius:inherit;z-index:-1}
.release-entry .entry-avatar{width:180px;height:180px;image-rendering:pixelated;transform:translateY(-4px)}
.release-entry .entry-figure-caption{position:absolute;right:-24px;bottom:24px;padding:6px 11px;border:1px solid #e3dbea;border-radius:10px;background:#fff;color:#756381;font-size:10px;box-shadow:0 4px 14px #44334f06}
.release-entry .release-entry-foot{font-size:11px;text-align:left;color:#807385}
.release-entry .release-entry-auth{min-width:0;width:100%;padding:26px;gap:16px;align-items:stretch;text-align:left;border-radius:24px;box-shadow:0 12px 40px #51406008}
.release-entry .auth-entry-tabs{padding:4px;gap:4px;border-radius:12px}
.release-entry .auth-entry-tabs>button{min-height:44px;font-size:14px;font-weight:650}
.release-entry .auth-entry-tabs>button[aria-pressed="true"]{color:#67498f}
.release-entry .local-auth-form{gap:7px}
.release-entry .local-auth-form>label{margin-top:3px;font-size:12px;line-height:1.6}
.release-entry .local-auth-form>.field-input{min-height:46px;margin:0;padding:10px 13px;border-color:#ded7e6;border-radius:10px;background:#fff;font-size:16px;line-height:1.5}
.release-entry .local-auth-form>.field-input:focus{border-color:#a786c2}
.release-entry .local-auth-form>p{margin:-2px 0 3px;font-size:12px;line-height:1.6}
.release-entry .local-auth-form>.btn{margin-top:7px;min-height:46px;border-radius:11px;font-size:13px}
.release-entry .login-divider{margin:-2px 0;font-size:10px;line-height:1.6}
.release-entry .social-login-choice{min-height:48px;padding:11px 14px;border-radius:11px;gap:8px}
.release-entry .social-login-choice strong{font-size:13px}
.release-entry .social-login-choice.provider-google:not(:disabled){border-color:#d5cbdc;background:#fff;box-shadow:0 2px 5px #42324d04}
.release-entry .social-login-choice.provider-google:not(:disabled):hover{border-color:#a68abb;background:#fcfaff}
.release-entry .auth-secondary-providers{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:-6px}
.release-entry .auth-secondary-providers>.social-login-choice{grid-template-columns:minmax(0,1fr) auto;min-height:40px;padding:8px 11px;gap:5px;border-color:transparent;border-radius:9px;background:#f6f4f7;color:#7c7186}
.release-entry .auth-secondary-providers strong{font-size:11px;font-weight:650}
.release-entry .auth-secondary-providers .social-login-choice>span{font-size:10px;color:#7c7186}
.release-entry .auth-secondary-providers .social-login-choice>.icon{display:none}
.release-entry .entry-auth-note{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 8px;border-top:1px solid #f0ecf3;padding-top:10px;margin-top:0}
.release-entry .entry-auth-note>small{font-size:12px;line-height:1.6;text-align:left}
.release-entry .entry-auth-note>.text-link{font-size:12px;min-height:44px;padding:8px 0}
.release-entry .auth-confirmations{gap:6px;margin-top:8px;padding:12px;border-radius:11px}
.release-entry .auth-confirmations>label{min-height:44px;font-size:12px;line-height:1.8;gap:8px}
.release-entry .auth-confirmations input{margin:1px 0 0}
.release-entry .auth-policy-actions{gap:0 12px}
.release-entry .auth-policy-actions>.text-link{font-size:12px;min-height:44px}
.release-entry .auth-confirmations>p{font-size:12px;line-height:1.7}
.release-entry .login-availability{font-size:12px;line-height:1.75}
.release-entry .auth-recovery-note{padding:0 2px;font-size:12px;color:#7a6c81}
.release-entry .auth-signup-heading{display:grid;gap:7px;margin:3px 0}
.release-entry .auth-signup-heading h2{margin:0;font-size:20px;line-height:1.5;letter-spacing:-.04em;word-break:keep-all}
.release-entry .auth-signup-heading>p{margin:0;font-size:13px;line-height:1.8;color:#6e617b;word-break:keep-all}
.release-entry .auth-signup-heading>.auth-step{font-size:12px;font-weight:700;color:#67498f}
.release-entry .auth-signup-methods{display:grid;gap:12px}
.release-entry .auth-method-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:78px;padding:16px;border:1px solid #d5cbdc;border-radius:12px;background:#fff;text-align:left;color:var(--ink);cursor:pointer}
.release-entry .auth-method-choice>span{display:grid;gap:5px;min-width:0}
.release-entry .auth-method-choice strong{font-size:15px;line-height:1.6}
.release-entry .auth-method-choice small{font-size:12px;line-height:1.7;color:#6e617b;word-break:keep-all}
.release-entry .auth-method-choice:hover:not(:disabled){border-color:#a68abb;background:#fcfaff}
.release-entry .auth-method-choice:disabled{cursor:default;background:#f6f4f7;color:#7c7186}
.release-entry .auth-method-choice>.icon{flex-shrink:0}
.release-entry .auth-google-submit{min-height:48px;padding:12px;font-size:14px;border-radius:11px;line-height:1.6}
.release-entry .auth-method-back{min-height:44px;align-self:center;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.release-entry #auth-signup-title:focus-visible{outline:2px solid #67498f;outline-offset:4px;border-radius:3px}
.release-entry .release-entry-footer{display:flex;flex-direction:column;align-items:center;gap:0;padding-top:4px}
.release-entry .entry-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:0 18px}
.release-entry .privacy-entry-links,.release-entry .policy-links{margin:0;gap:0 18px}
.release-entry .entry-footer-links .text-link{min-height:44px;font-size:12px;padding:8px 0}
.release-entry .release-entry-contact .support-contact{min-height:44px;font-size:12px;gap:2px 6px}
.release-entry .auth-feedback .text-link{min-height:44px;font-size:12px}
.release-entry .entry-connection-state{display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:20px 0}
.release-entry .entry-state-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--purple-pale);color:var(--purple)}
.release-entry .entry-connection-state h2{font-size:23px;line-height:1.6}
.release-entry .entry-connection-state>p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.release-entry .entry-loading{padding:10px 0;font-size:12px}
@media(max-width:820px){
  .release-entry{max-width:540px;padding:22px 24px 16px;gap:18px}
  .release-entry .release-entry-layout{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:0;flex:none}
  .release-entry .release-entry-intro{position:relative;grid-template-columns:minmax(0,1fr) 92px;gap:14px;padding:0;align-items:center}
  .release-entry .entry-intro-copy>.eyebrow{display:none}
  .release-entry .entry-intro-copy h1{font-size:26px;line-height:1.35;letter-spacing:-.05em}
  .release-entry .entry-intro-copy>p{margin-top:8px;font-size:12px;line-height:1.75}
  .release-entry .entry-intro-figure{width:92px;height:92px;margin:0;border-radius:50%}
  .release-entry .entry-intro-figure:before,.release-entry .entry-figure-caption,.release-entry .release-entry-foot{display:none}
  .release-entry .entry-avatar{width:94px;height:94px;transform:translateY(-3px)}
  .release-entry .release-entry-auth{padding:22px;gap:14px;border-radius:20px}
  .release-entry .release-entry-footer{margin-top:0;padding-top:0}
  .release-entry .entry-footer-links{gap:0 14px}
  .release-entry .privacy-entry-links,.release-entry .policy-links{gap:0 14px}
  .release-entry .entry-footer-links .text-link{min-height:44px}
  .release-entry .entry-connection-state{padding:12px 0}
}
@media(max-width:420px){
  .release-entry{padding:16px 16px 14px;gap:16px}
  .release-entry .release-entry-header{gap:8px}
  .release-entry .brand{gap:8px}
  .release-entry .brand-mark{width:29px;height:32px}
  .release-entry .brand-name{font-size:20px}
  .release-entry .brand-caption{font-size:7px;letter-spacing:.12em;margin-top:3px}
  .release-entry .release-entry-header>.tag{font-size:9px;padding:4px 7px}
  .release-entry .release-entry-layout{gap:16px}
  .release-entry .release-entry-intro{grid-template-columns:minmax(0,1fr) 76px;gap:10px}
  .release-entry .entry-intro-copy h1{font-size:23px}
  .release-entry .entry-intro-copy>p{font-size:12px;line-height:1.7;margin-top:6px}
  .release-entry .entry-intro-figure{width:76px;height:76px}
  .release-entry .entry-avatar{width:80px;height:80px}
  .release-entry .release-entry-auth{padding:18px;gap:13px}
  .release-entry .auth-entry-tabs>button{font-size:13px}
  .release-entry .social-login-choice>span{font-size:10px}
  .release-entry .entry-auth-note{justify-content:center;gap:0 12px}
  .release-entry .entry-auth-note>small{text-align:center}
  .release-entry .entry-footer-links .text-link{font-size:12px}
  .release-entry .release-entry-contact .support-contact{font-size:12px}
}
@media(max-width:350px){
  .release-entry{padding-left:12px;padding-right:12px;gap:14px}
  .release-entry .release-entry-intro{grid-template-columns:minmax(0,1fr) 68px;gap:7px}
  .release-entry .entry-intro-copy h1{font-size:21px}
  .release-entry .entry-intro-copy>p{font-size:11px}
  .release-entry .entry-intro-figure{width:68px;height:68px}
  .release-entry .entry-avatar{width:72px;height:72px}
  .release-entry .release-entry-auth{padding:15px;gap:12px}
  .release-entry .release-entry-header>.tag{font-size:8px;padding:4px 6px}
  .release-entry .brand-name{font-size:18px}
  .release-entry .brand-caption{font-size:6px}
  .release-entry .auth-secondary-providers>.social-login-choice{padding:8px}
  .release-entry .privacy-entry-links,.release-entry .policy-links{gap:0 12px}
}

/* Daily journal: readable type, tactile controls and clear hierarchy. */
:root{--ink:#303b35;--muted:#657168;--paper:#f7f8f3;--line:#e1e6dc;--purple:#735692;--purple-dark:#5e427d;--purple-pale:#f1edf6;--mint-dark:#42674d;--radius:22px;--shadow:0 3px 16px #263c2605;--nav-clearance:calc(86px + env(safe-area-inset-bottom,0px))}
body{-webkit-font-smoothing:antialiased}
h1,h2,h3{text-wrap:balance}
.btn,.text-link,.tag,.page-heading p,.hero-copy p,.review-content p{text-wrap:pretty}
.btn{min-height:48px;border-radius:13px;transition:background-color .16s,box-shadow .16s,transform .12s}
.btn:not(:disabled):active,.icon-button:active,.option:not(:disabled):active{transform:scale(.98)}
.btn.small,.text-link{min-height:44px;font-size:13px}
.btn:focus-visible,.option:focus-visible,.nav-item:focus-visible,.bottom-nav button:focus-visible{outline:3px solid #42674d;outline-offset:4px}
.tag{font-size:12px;letter-spacing:0}.tag.neutral{background:#eeeee8;color:#60685d}.tag.mint{background:#eaf1e5;color:#42674d}
.eyebrow{font-size:12px;letter-spacing:.04em}
.shell{max-width:1500px;grid-template-columns:216px minmax(0,1fr)}
.sidebar{background:#f0f2eb;padding:34px 18px 24px;border-color:#e1e5db}
.sidebar-nav{gap:7px;margin-top:46px}
.nav-item{color:#647162;min-height:52px;font-size:15px;border-radius:14px}
.nav-item.active{background:#dfe9d8;color:#34543c;box-shadow:inset 0 0 0 1px #d1dec9}
.nav-item:not(.active):hover{background:#e8ede1;color:#34543c}.nav-pip{background:#4c7153}
.sidebar-note strong{color:#53634e;font-size:13px}.sidebar-note p{color:#67745f;font-size:12px}
.workspace{padding:0 36px 32px}.topbar{min-height:88px;padding-block:18px}.top-date{font-size:13px;color:#647160}.top-actions{gap:10px}
.coin-wallet,.mini-avatar,.sound-button{min-height:44px;height:44px}.mini-avatar,.sound-button{min-width:44px;width:44px}
.coin-wallet{padding:9px 14px;font-size:14px;background:#fffdf6;border-color:#e9e3cf}.coin-dot{color:#795817;border-color:#d8b75b}
.page-heading{margin:10px 0 26px}.page-heading h1{font-size:30px;line-height:1.4;letter-spacing:-.05em;overflow-wrap:anywhere}
.page-heading p{font-size:14px;line-height:1.8;color:var(--muted)}
.section-title{margin:30px 0 15px}.section-title h2{font-size:20px}.section-title p,.section-title .text-link{font-size:13px}
.footer{font-size:12px;color:var(--muted);line-height:1.8}.footer>span,.footer button{font-size:12px;color:var(--muted)}.footer button{min-height:44px}
.view-enter{animation:view-in .18s ease-out}@keyframes view-in{from{opacity:.7}to{opacity:1}}

/* Home: one daily action, genuine progress and useful next steps. */
.home-grid,.home-under{grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:20px}
.daily-hero{min-height:342px;background:#e6eedc;border-color:#dce5d3;padding:30px}.daily-hero::after{display:none}
.hero-copy{width:67%}.hero-copy .tag{font-size:12px;color:#42674d;margin-bottom:16px;padding:5px 10px;background:#f9fcf5}
.hero-copy h2{font-size:36px;line-height:1.28;color:#304c38;letter-spacing:-.06em}
.hero-copy p{font-size:14px;color:#556b50;line-height:1.8;margin:14px 0 21px}
.hero-copy .btn{min-height:50px;font-size:15px;padding:12px 20px;border-radius:13px;background:#456d4e;box-shadow:0 3px 0 #35563d}
.hero-copy .btn:hover{background:#375e40;box-shadow:0 3px 0 #29452f}
.hero-avatar{width:48%;max-width:272px;right:-8px;bottom:12px}.hero-cloud{right:30px;top:33px;opacity:.65}.hero-flower{display:none}
.hero-progress{gap:6px;margin-top:20px}.hero-progress span{width:26px;height:5px;background:#cbd9c1}.hero-progress span.done{background:#4f7658}
.hero-progress-label{font-size:12px;color:#476044}
.weekly-card{background:#f1edf7;border-color:#e5dded;padding:26px;gap:16px}
.weekly-card .eyebrow{font-size:12px;color:#6d597e;letter-spacing:.03em}.weekly-card h3{font-size:16px;color:#5b466e;margin-top:7px}
.weekly-card .week-score{font-size:37px;color:#513965;margin-top:7px}.weekly-card .week-score span,.weekly-card .week-rank{font-size:13px;color:#72607f}
.week-dots{gap:5px;margin:4px 0}.day-dot{font-size:12px;color:#70637a;gap:8px}
.day-dot i{width:28px;height:28px;font-size:12px;background:#e4ddec;color:#766783}.day-dot i.complete{background:#806098;color:#fff}.day-dot i.today{outline:2px solid #9274ac;outline-offset:3px}
.weekly-card .badge-note{font-size:12px;color:#6f5b7f;line-height:1.7}.weekly-card .week-bottom{gap:10px}
.weekly-link{align-self:flex-start;color:#644779;font-size:13px;margin:-3px 0}
.home-under{margin-top:20px}.field-preview,.practice-tile{padding:24px}.field-preview h3,.practice-tile h3{font-size:17px}
.field-preview .between>.muted{font-size:12px!important}.field-bubbles{gap:6px;margin-top:19px}
.field-bubble{font-size:12px;color:#576253;min-width:44px;min-height:74px;gap:7px;padding:4px 1px}.field-bubble i{width:40px;height:40px;border-radius:14px}.field-bubble.rest{opacity:.65}
.practice-tile{background:#faf5e9;border-color:#e9e1ce;gap:10px}.practice-tile p{font-size:13px;color:#73654c;margin:7px 0 0}
.practice-actions{gap:3px}.practice-actions .text-link{font-size:14px;color:#755b2d;min-height:44px}.practice-status{font-size:12px;font-weight:700;color:#735b32;display:inline-block;margin-bottom:5px}
.home-events{margin-top:26px}.home-events-heading h2{font-size:20px}.home-events-heading p{font-size:13px}.home-event-grid{gap:16px}
.home-event-card{background:#fffdf7;border-color:#e8e1ce;padding:22px;border-radius:19px}.home-event-card.share-event{background:#faf7fc}
.home-event-card h3{font-size:15px}.home-event-card .event-copy>p{font-size:13px;color:#71654e}.home-event-card .event-status{font-size:13px;color:#695637}
.home-event-card .btn{font-size:14px;min-height:46px}.home-event-card .event-mark{width:40px;height:40px;flex-basis:40px}
.shop-teasers{gap:14px}.teaser{min-height:114px;padding:16px;border-radius:18px;gap:12px}.teaser strong{font-size:14px;line-height:1.6}.teaser .coin{font-size:13px;color:#746346}.teaser-sub{font-size:12px;color:var(--muted)}

/* Questions: numbered progress, readable choices and clear submission. */
.challenge-wrap{max-width:760px}.challenge-top{margin:0 0 14px}.challenge-top .text-link{font-size:13px;min-height:44px}.challenge-top .tag{font-size:12px}
.challenge-progress-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;color:var(--muted);margin-bottom:12px}.challenge-progress-head strong{font-size:18px;color:var(--ink)}
.question-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0 0 24px}
.question-steps li{display:flex;align-items:center;justify-content:center;gap:7px;border-top:3px solid #e0e5db;padding-top:10px;color:#6c7566;font-size:12px}
.question-steps .step-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e9ede3;font-weight:700}
.question-steps li.current{border-color:#4c7452;color:#35553b;font-weight:700}.question-steps li.current .step-number{background:#456d4e;color:white}.question-steps li.done{border-color:#a9bd9e;color:#56704e}
.question-card{padding:30px;border-color:#dce3d6;box-shadow:0 8px 30px #34513b07}.question-kicker{gap:10px;margin-bottom:20px}
.question-context{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.question-index{font-size:12px;color:var(--muted)}
.difficulty{color:#71657c;font-size:12px;gap:4px}.difficulty span{font-size:12px;margin-left:6px}
.question-title{font-size:23px;line-height:1.75;min-height:0;color:#273c30}
.answer-clock{font-size:12px;color:#56654e;background:#f2f5ee;border-color:#e1e7da;font-variant-numeric:tabular-nums;line-height:1.7}.answer-clock strong{font-size:14px;color:#34523b}
.options{gap:12px;margin-top:24px}.option{min-height:74px;padding:17px 15px;border-radius:14px;font-size:16px;border-color:#dce2d6;background:#fbfcf9;gap:12px;transition:background-color .16s,border-color .16s,transform .12s}
.option-num{width:29px;height:29px;font-size:13px;border-radius:9px;background:#edf0e8;color:#64705d}.option-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.option-state{visibility:hidden;flex:0 0 auto;font-size:12px;font-weight:750;color:#36563e;white-space:nowrap}.option.selected .option-state{visibility:visible}
.option:hover:not(:disabled){background:#f0f5e9;border-color:#a7bb98}.option.selected{background:#edf4e6;border-color:#6f9261;color:#2f5038;box-shadow:inset 0 0 0 1px #6f9261}.option.selected .option-num{background:#456d4e;color:#fff}
.option:disabled{opacity:.75}.option.selected:disabled{opacity:1}
.question-actions{padding-top:22px;margin-top:24px;border-top:1px solid var(--line);gap:16px}.question-actions .question-feedback{font-size:14px;color:#35523e;margin-bottom:4px}
.question-actions>div>p{font-size:12px;color:var(--muted);line-height:1.7}.question-actions>.btn{background:#456d4e;min-height:50px;min-width:180px;font-size:15px}.question-actions>.btn:hover:not(:disabled){background:#35583e}
.question-actions .question-retry{font-size:13px;color:#805333}.question-foot{font-size:12px;color:var(--muted);line-height:1.7;padding:18px 4px}
.memory-timer,.memory-note{font-size:14px;color:#69517e}.memory-stage .btn{min-height:48px}

/* Results and answer comparisons. */
.result-hero{display:flex;align-items:center;justify-content:center;gap:24px;text-align:left;background:#e8f0df;padding:30px}.result-avatar{width:148px;height:148px;flex:0 0 auto;margin:0}.result-copy{min-width:0}
.result-kicker{display:block;font-size:12px;color:#53704c;font-weight:700;margin-bottom:7px;line-height:1.8}.result-hero h2{font-size:26px;line-height:1.5;color:#304e36}.result-hero p{font-size:13px;color:#597151;line-height:1.8}
.result-number{font-size:44px;line-height:1.3;color:#355d3e;font-variant-numeric:tabular-nums}.result-number small{font-size:15px;color:#536b4b}.result-body{padding:26px 28px}
.result-checks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 22px;list-style:none;padding:0}.result-check{display:flex;flex-direction:column;align-items:center;gap:6px;padding:11px 5px;border-radius:12px;background:#f0f5eb;font-size:12px;color:#48663f}.result-check.incorrect{background:#fcf0e9;color:#915a3d}.result-check-number{font-weight:700}
.result-stats small{font-size:12px;color:var(--muted)}.result-stats strong{font-size:24px;font-variant-numeric:tabular-nums}.score-breakdown{font-size:12px;color:var(--muted);line-height:1.8}.result-actions .btn{font-size:14px;min-height:48px}
.ad-cta{padding:22px;background:#f3eef8;border-color:#e4dcec;gap:16px}.ad-cta h3{font-size:16px}.ad-cta p{font-size:13px;line-height:1.8;color:#73627f}.ad-cta .btn{font-size:14px;min-height:46px}
.answer-review{margin-top:28px}.answer-review h3{font-size:20px}.review-note{font-size:13px;color:var(--muted);line-height:1.8;margin:7px 0 15px}
.review-item{border-color:#e1e6db;border-radius:16px;margin-top:12px}.review-item summary{flex-wrap:nowrap;padding:18px;gap:12px;min-height:76px;font-size:14px}
.review-mark{width:28px;height:28px;flex-basis:28px;background:#e9f1e2;color:#3f6837;font-size:14px}.review-mark.wrong{background:#fbece4;color:#9d5b37}
.review-summary-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.review-summary-copy strong{font-size:14px}.review-summary-copy small{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.review-status{font-size:12px;color:#5b6852;flex-shrink:0}.review-item summary .icon{width:18px;height:18px;color:#7b886e;transition:transform .18s}.review-item[open] summary .icon{transform:rotate(180deg)}
.review-content{padding:20px;font-size:15px;line-height:1.85;border-color:#e8ece3}.review-content .review-prompt{font-size:16px;color:#354631}
.review-answer-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.review-answer-pair>div{min-width:0;padding:13px 15px;border-radius:12px;overflow-wrap:anywhere}.review-answer-pair .review-answer{margin:0;background:#edf4e6;color:#426339;font-size:14px}.review-answer-pair .review-yours{background:#f4f2f6;color:#62536f;font-size:14px}.review-label{display:block;font-size:12px;margin-bottom:5px;font-weight:700}.review-content .explanation{font-size:14px;color:#59654f;line-height:1.9}

/* My journal and leaderboard: personal context before aggregate information. */
.profile-overview{grid-template-columns:minmax(240px,.85fr) minmax(0,1.35fr);align-items:start}
.profile-insights{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.85fr);gap:20px;margin-top:22px;align-items:start}
.identity-scene{min-height:220px}.identity-scene canvas{width:220px;height:auto}
.identity-content{padding:24px}.identity-name{font-size:23px;line-height:1.5;overflow-wrap:anywhere}.identity-name .icon-button{min-width:44px;width:44px;min-height:44px;height:44px}
.identity-content p{font-size:12px;color:var(--muted);line-height:1.8}.identity-content .btn{font-size:14px;min-height:48px}
.profile-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px;gap:10px}.profile-summary>div{padding:12px 9px;background:#f3f5ee;border-radius:12px}
.profile-summary small,.identity-content .profile-summary small{font-size:12px}.profile-summary strong{font-size:25px}.profile-summary strong small{font-size:12px}
.record-history{padding:24px}.profile-overview .record-history,.profile-insights .record-history{margin-top:0}
.record-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.record-section-heading>div{min-width:0}.record-section-heading h2{font-size:20px}.record-section-heading p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:6px}
.history-row{font-size:14px;line-height:1.6;gap:12px}.history-row.history-open{padding:16px 10px;min-height:86px;border-radius:11px}
.history-open:hover{background:#f0f4e9}.history-row .history-copy strong{font-size:15px}.history-row .history-copy>span{font-size:12px;color:var(--muted)}
.history-row span{color:var(--muted)}.history-row .history-outcome strong{font-size:17px;color:#35543b}.history-row .history-outcome span{font-size:12px;color:#5e6e56}
.history-today{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:6px;background:#e5efdb;color:#416038!important;font-size:11px!important;font-weight:700}
.history-empty{font-size:14px;color:var(--muted);line-height:1.9;padding:35px 8px}.history-empty .btn{font-size:14px;margin-top:15px}
.radar-card{padding:26px}.radar-header h2{font-size:20px}.radar-header p{font-size:13px;color:var(--muted)}.radar-header>.tag{font-size:12px}
.radar-field{min-height:68px;padding:12px;border-color:#e0e4d9;border-radius:12px}.radar-field span{font-size:12px;color:#617052}.radar-field strong{font-size:19px}.radar-field.active{background:#eef3e7;border-color:#9eb78c}
.radar-detail{font-size:13px;color:#58694e;padding:15px 4px;min-height:0;line-height:1.8}.record-note{background:#f4f6ef;font-size:12px;color:#64705d;line-height:1.9;padding:14px}
.record-history>.between{flex-wrap:wrap}.record-history>.between h3{font-size:19px}
.ranking-personal{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 28px;background:#e8efdf;border:1px solid #dbe5d0;border-radius:22px;margin-bottom:22px}
.ranking-personal-copy{min-width:0;flex:1}.ranking-personal-copy h2{font-size:21px}.ranking-personal-copy p{font-size:13px;color:#5c6d52;line-height:1.8;margin-top:7px}
.ranking-personal-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;text-align:center}
.ranking-personal-stats dt{font-size:12px;color:#5f704f}.ranking-personal-stats dd{font-size:25px;color:#365431;font-weight:800;margin:5px 0 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ranking-personal-stats dd small{font-size:12px}.ranking-list-title{padding:24px 26px 0;font-size:20px}
.league-explainer{font-size:13px;line-height:1.8;color:#6c5a7c;background:#f6f2f8;border-style:solid}
.ranking-layout{gap:20px;grid-template-columns:minmax(0,1.6fr) minmax(240px,.85fr)}
.rank-row{font-size:14px;min-height:70px}.rank-row.header{font-size:12px;min-height:50px}.rank-row.me{background:#eef3e7;border-color:#dce6d0}
.rank-person>span{font-size:14px}.rank-row .score{font-size:15px;color:#3f5737}.rank-detail{font-size:12px;color:#68735f;line-height:1.7;margin-top:4px}.rank-table-note{font-size:12px;line-height:1.8;text-align:left;padding:18px 0}
.podium-name{font-size:13px;color:#4e405a;overflow-wrap:anywhere}.podium-score{font-size:12px;color:#6a5d75}.podium-place{font-size:13px}
.podium-player.podium-leader .podium-base{background:#e4edda}.podium-player.podium-leader .podium-place{color:#3b603d}
.rank-badge-card h3,.tier-guide h3{font-size:18px}.rank-badge-card p,.tier-guide-note{font-size:13px;color:var(--muted);line-height:1.8}.rank-badge-card .eyebrow{font-size:12px}.rank-badge-card .btn{font-size:14px;min-height:46px}
.tier-guide-row{font-size:14px}.tier-guide-row small{font-size:12px}.tier-guide{padding:24px}.release-empty p{font-size:14px;line-height:1.8}

/* Dressing room: readable item names and consistent selection targets. */
.character-section{padding:26px;margin-bottom:24px}.character-section-head h2{font-size:23px}.character-section-head .eyebrow{font-size:12px}.character-section-head .tag{font-size:12px}
.character-grid{gap:14px}.character-choice{border-radius:16px;padding:8px 8px 14px}.character-choice strong{font-size:14px}.character-choice>span,.character-choice>.coin{font-size:12px}
.character-note{font-size:13px;color:var(--muted);line-height:1.9}.character-lock{font-size:11px}.collection-progress{padding:16px;background:#f4f6ee;border-radius:13px}
.collection-progress>div{font-size:13px;gap:8px}.collection-progress strong{font-size:14px}.collection-progress progress{height:7px}
.shop-layout{gap:22px}.fitting-room{top:20px}.fitting-copy{padding:24px}.fitting-copy h3{font-size:21px}.fitting-copy p{font-size:14px;color:var(--muted);line-height:1.8}
.fitting-copy .purchase-hint{font-size:12px;line-height:1.8;color:#67705c}.fitting-friend,.fitting-tag{font-size:12px}.fitting-copy .btn{min-height:48px;font-size:14px}.quick-unequip .text-link{font-size:12px;min-height:44px}
.shop-tabs{gap:10px;margin-bottom:18px}.shop-tab{flex:1;font-size:14px;min-height:48px;color:#6f637a}.shop-tab.active{color:#5e427d;background:#f1edf6;border-radius:11px 11px 0 0}
.shop-filters{gap:8px}.shop-filters .filter{min-height:44px;padding:8px 14px;font-size:13px;color:#665970}.shop-filters .filter.active{color:#553970;background:#eae0f3}.filter-count{font-size:12px}
.shop-grid{gap:14px}.shop-item-info{padding:14px}.shop-item-info strong{font-size:14px}.shop-item-info .coin,.shop-item-info .equipped-text{font-size:13px;color:#6e604c}.shop-item-info .coin-dot{width:18px;height:18px;font-size:9px}
.shop-item.active{outline-color:#6e915c}.shop-item-art{height:145px}.shop-item-art canvas{width:150px;height:150px}.owned-mark{font-size:11px;background:#fffc;color:#5c634e;padding:3px 7px}
.collection-copy p{font-size:14px;color:#6a5d75;line-height:1.9}.collection-foot,.collection-price small{font-size:12px;color:#6c5b79}.collection-badge{font-size:12px}.empty-state{font-size:14px;color:var(--muted)}
.reminder-copy h3{font-size:20px}.reminder-copy p{font-size:13px;color:var(--muted)}.reminder-copy .eyebrow{font-size:12px}.reminder-actions .btn,.reminder-actions .text-link{font-size:13px;min-height:44px}
.modal-content p{font-size:14px;color:#63705c}.modal-note,.info-lines div,.rules-list,.reminder-steps{font-size:13px;line-height:1.9;color:#64705d}
.modal-top .icon-button{color:#67745e}.modal-actions .btn{font-size:14px;min-height:48px}.field-input{font-size:16px}.form-label{font-size:13px;color:#5e6c53}.form-error{font-size:13px;color:#a33344}
.account-caption,.account-login-row small{font-size:13px;color:var(--muted)}.account-login-row strong{font-size:14px}.account-login-row>.btn{font-size:13px;min-height:44px}.account-login-actions>.text-link{font-size:13px}

/* Responsive constraints are explicit; the document retains natural scrolling. */
@media(min-width:1350px){.workspace{padding-inline:44px}.daily-hero{padding:34px}.hero-copy h2{font-size:38px}}
@media(max-width:1100px) and (min-width:821px){
  .shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding-inline:12px}.workspace{padding-inline:24px}
  .home-grid,.home-under{grid-template-columns:minmax(0,1fr)}.daily-hero{min-height:310px}.hero-avatar{max-width:250px}.hero-copy{width:65%}
  .weekly-card{display:grid;grid-template-columns:1fr 1fr;gap:14px}.weekly-card .week-dots{align-self:center}.weekly-card>.divider{grid-column:1/-1}.weekly-card .week-bottom{grid-column:1}.weekly-link{justify-self:end}
  .ranking-layout,.profile-overview,.profile-insights{grid-template-columns:1fr}.ranking-personal{align-items:flex-start;flex-direction:column}.ranking-personal-stats{width:100%}
  .shop-teasers{grid-template-columns:1fr}.teaser{min-height:90px}.shop-layout{grid-template-columns:minmax(200px,.8fr) minmax(0,1fr)}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  html:has(.bottom-nav){scroll-padding-bottom:var(--nav-clearance)}
  .workspace{max-width:760px;padding:0 22px calc(104px + env(safe-area-inset-bottom,0px))}
  .topbar{min-height:78px;padding-block:14px;flex-wrap:nowrap;gap:10px}.top-actions{gap:6px;flex-wrap:nowrap}.top-actions>.tag{display:none}
  .mobile-brand .brand{padding:0;gap:8px}.mobile-brand .brand-name{font-size:21px}.mobile-brand .brand-mark{width:28px;height:31px}
  .sound-button,.mini-avatar{width:44px;min-width:44px;height:44px;min-height:44px}.coin-wallet{font-size:13px;min-height:44px;padding:8px 11px}
  .page-heading h1{font-size:27px}.page-heading p{font-size:14px}.page-heading{margin:10px 0 23px}
  .bottom-nav{padding:7px 10px calc(8px + env(safe-area-inset-bottom,0px));gap:4px;background:#fffefa;border-color:#dfe5d7;box-shadow:0 -4px 20px #2d422708;backdrop-filter:none}
  .bottom-nav button{font-size:12px;min-height:54px;padding:6px 2px;gap:4px;color:#68745f;border-radius:13px;line-height:1.5}
  .bottom-nav button.active{background:#e9f0df;color:#355a39;font-weight:750}.bottom-nav .icon{width:22px;height:22px}
  .footer{margin-top:32px}.footer>span{font-size:12px;max-width:none}.footer button{font-size:12px}
  .toast{bottom:calc(90px + env(safe-area-inset-bottom,0px));font-size:13px}
  .home-grid,.home-under{grid-template-columns:minmax(0,1fr);gap:18px}.home-under{margin-top:18px}.hero-copy h2{font-size:34px}
  .weekly-card{display:grid;grid-template-columns:1fr 1fr;padding:24px;gap:16px}.weekly-card .week-head{grid-column:1}.weekly-card .week-dots{grid-column:2;grid-row:1;align-self:center}.weekly-card>.divider{grid-column:1/-1}.weekly-card .week-bottom{grid-column:1;display:block}.weekly-link{grid-column:2;justify-self:end}
  .weekly-card .week-dots .day-dot{font-size:12px;gap:8px;min-width:24px}.weekly-card .day-dot i{width:27px;height:27px;font-size:12px}
  .profile-overview,.profile-insights{grid-template-columns:1fr;gap:18px}.identity-card{display:grid;grid-template-columns:35% minmax(0,1fr)}.identity-scene{min-height:240px;display:flex;align-items:center;justify-content:center;padding:0}.identity-scene canvas{width:220px;max-width:100%;height:auto}.identity-content{text-align:left}.identity-name{justify-content:flex-start}
  .ranking-layout{grid-template-columns:1fr}.ranking-aside{display:grid;grid-template-columns:1fr 1fr}.ranking-personal{padding:23px;flex-direction:column;align-items:stretch;gap:18px}.ranking-personal-stats{gap:14px}
  .shop-layout{grid-template-columns:1fr}.fitting-room{position:relative;top:auto;display:grid;grid-template-columns:38% minmax(0,1fr);scroll-margin-top:16px}.fitting-scene{min-height:240px;display:flex;align-items:center;justify-content:center;padding:0}.fitting-scene canvas{width:230px;height:auto;max-width:100%}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .question-steps{margin-bottom:20px}.question-steps li{gap:5px}.question-title{font-size:22px}
}
@media(max-width:620px){
  .workspace{padding-inline:18px}.topbar{gap:8px}.page-heading h1{font-size:25px}
  .daily-hero{padding:24px;min-height:324px}.hero-copy{width:72%}.hero-copy h2{font-size:31px}.hero-copy p{font-size:13px;max-width:215px;margin:12px 0 19px}.hero-copy .btn{font-size:14px;padding:12px 16px;min-height:49px}.hero-avatar{width:45%;right:-11px;bottom:15px}.hero-copy .tag{font-size:12px}.hero-progress-label{font-size:12px}
  .weekly-card{grid-template-columns:1fr;padding:22px;gap:16px}.weekly-card .week-head,.weekly-card .week-dots,.weekly-card .week-bottom,.weekly-link{grid-column:1;grid-row:auto}.weekly-card .week-head{display:grid;grid-template-columns:1fr auto;column-gap:14px;align-items:baseline}.weekly-card .week-head .eyebrow{grid-column:1/-1}.weekly-card h3{font-size:15px;margin:6px 0 0}.weekly-card .week-score{grid-column:2;grid-row:2 / span 2;font-size:34px;margin-top:0}.weekly-card .week-rank{font-size:12px;margin-top:4px}.weekly-card .week-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.weekly-card .badge-note{font-size:12px}.weekly-link{justify-self:stretch;justify-content:center;border-top:1px solid #e0d8e8;padding-top:12px;margin:0}
  .field-preview,.practice-tile{padding:22px}.field-bubbles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.field-bubble{min-width:0;font-size:12px}.field-bubble i{width:36px;height:36px}.field-preview .between{gap:6px;flex-wrap:wrap}.practice-tile p{font-size:13px}.practice-actions .text-link{font-size:14px}
  .home-event-grid{grid-template-columns:1fr;gap:12px}.home-event-card{padding:19px;gap:12px}.home-events-heading h2{font-size:19px}.home-events-heading p{font-size:12px}
  .shop-teasers{grid-template-columns:1fr;gap:10px}.teaser{flex-direction:row;text-align:left;min-height:91px;padding:13px 16px;gap:16px}.teaser-art{width:65px;height:65px}.teaser strong{font-size:14px;margin:0 0 4px}.teaser-sub{display:block}
  .question-card{padding:23px 20px}.question-kicker{align-items:flex-start;margin-bottom:16px}.question-title{font-size:20px;line-height:1.75}.question-context{gap:6px}.question-kicker .tag{font-size:12px}.difficulty span{font-size:12px}
  .options{grid-template-columns:1fr;margin-top:20px;gap:10px}.option{min-height:63px;padding:14px;font-size:15px;gap:12px}.option-num{width:28px;height:28px;font-size:12px}.answer-clock{font-size:12px;padding:11px 12px}
  .question-actions{gap:14px;padding-top:18px;margin-top:20px}.question-actions>.btn{width:100%;min-height:50px;font-size:15px;min-width:0}.question-actions>div{flex-basis:100%}.question-actions>div>p{font-size:12px}.question-foot{font-size:12px;justify-content:flex-start}.question-foot canvas{width:40px;height:40px;flex-shrink:0}
  .result-hero{padding:24px 20px;gap:13px;align-items:center}.result-avatar{width:94px;height:94px}.result-hero h2{font-size:21px}.result-hero p{font-size:12px}.result-number{font-size:38px}.result-body{padding:22px 20px}.result-stats{display:flex;flex-direction:column;gap:0;text-align:left}.result-stats>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0}.result-stats>div:first-child{padding-top:0}.result-stats div+div{border-left:0;border-top:1px solid var(--line)}.result-stats small{font-size:13px}.result-stats strong{font-size:23px;margin:0}.result-actions{flex-wrap:wrap;gap:10px}.result-actions .btn{flex:1 1 130px;font-size:14px}.result-checks{gap:6px;margin-bottom:20px}.result-check{font-size:12px;padding:10px 2px}
  .ad-cta{align-items:stretch;flex-direction:column;padding:21px;gap:14px}.ad-cta p{font-size:13px;max-width:none}.ad-cta .btn{font-size:14px;white-space:normal;width:100%}
  .review-item summary{padding:15px;gap:9px}.review-summary-copy strong{font-size:13px}.review-summary-copy small{font-size:12px}.review-content{padding:17px}.review-content .review-prompt{font-size:15px}.review-content .explanation{font-size:14px}.review-answer-pair{grid-template-columns:1fr;gap:8px}.review-note{font-size:13px}
  .identity-card{grid-template-columns:1fr}.identity-scene{min-height:180px;height:180px;overflow:hidden}.identity-scene canvas{width:190px}.identity-content{padding:22px}.identity-name{font-size:23px}.profile-summary{grid-template-columns:1fr 1fr;gap:12px}.profile-summary>div{text-align:center;padding:13px 8px}.profile-summary strong{font-size:24px}.identity-content p,.identity-content .profile-summary small{font-size:12px}.identity-content .btn{font-size:14px;min-height:48px;margin-top:18px}
  .record-history{padding:22px 18px}.record-section-heading{gap:9px;flex-wrap:wrap}.record-section-heading h2{font-size:20px}.history-row.history-open{padding:15px 4px}.history-row .history-copy strong{font-size:14px}.history-row .history-copy>span,.history-row .history-outcome span{font-size:12px}.history-outcome{gap:6px}.history-row .history-outcome strong{font-size:16px}
  .radar-card{padding:22px 18px}.radar-header{flex-wrap:wrap;gap:10px}.radar-header h2{font-size:20px}.radar-header p,.radar-detail{font-size:13px}.radar-header>.tag{font-size:12px}.radar-field span{font-size:12px}.radar-field strong{font-size:18px}.record-note{font-size:12px}
  .ranking-personal{padding:21px}.ranking-personal-copy h2{font-size:20px}.ranking-personal-stats{gap:8px}.ranking-personal-stats dd{font-size:24px}.ranking-list-title{padding:23px 20px 0;font-size:19px}.league-explainer{font-size:13px;padding:14px}.ranking-heading h1{font-size:25px}.ranking-heading p{font-size:13px}.ranking-heading>.btn{font-size:13px;min-height:44px}
  .rank-row{grid-template-columns:30px minmax(0,1fr) 72px;gap:9px;min-height:76px}.rank-row.me{grid-template-columns:26px minmax(0,1fr) 72px;padding:13px 8px}.rank-person{gap:8px}.rank-person canvas{width:32px;height:32px}.rank-person>span{font-size:13px}.rank-detail{font-size:12px}.rank-row .score{font-size:14px}.ranking-table{padding-inline:18px}.ranking-aside{grid-template-columns:1fr;gap:18px}.rank-badge-card{padding:23px}.rank-badge-card h3,.tier-guide h3{font-size:18px}.rank-badge-card p,.tier-guide-note{font-size:13px}.tier-guide-row{font-size:14px}.tier-guide-row small{font-size:12px}.rank-badge-card .btn{font-size:14px;min-height:46px}
  .podium{gap:8px;padding-inline:12px}.podium-name{font-size:12px}.podium-score{font-size:12px}.podium-avatar{width:78px}.podium-player:nth-child(2) .podium-avatar{width:98px}
  .character-section{padding:22px 18px}.character-section-head h2{font-size:21px}.character-section-head .eyebrow,.character-section-head .tag{font-size:12px}.character-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.character-choice{padding:6px 5px 12px}.character-choice strong{font-size:13px}.character-choice>span,.character-choice>.coin{font-size:12px}.character-note{font-size:13px}.collection-progress>div{font-size:13px;flex-direction:column;align-items:flex-start}.collection-progress strong{font-size:14px}
  .fitting-room{grid-template-columns:1fr}.fitting-scene{min-height:215px;height:215px}.fitting-scene canvas{width:225px}.fitting-copy{padding:22px}.fitting-copy h3{font-size:21px}.fitting-copy p{font-size:14px;min-height:0}.fitting-copy .purchase-hint{font-size:12px}.fitting-copy .btn{font-size:14px;min-height:48px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-item-info{padding:13px}.shop-item-info strong{font-size:14px}.shop-item-info .coin,.shop-item-info .equipped-text{font-size:12px}.shop-item-art{height:136px}.shop-item-art canvas{width:140px;height:140px}.shop-filters .filter{min-height:44px;font-size:13px;padding:8px 12px}.shop-tabs{gap:5px}.shop-tab{font-size:14px}
  .reminder-card{padding:22px 18px}.reminder-copy h3{font-size:19px}.reminder-copy p{font-size:13px}.reminder-actions .btn,.reminder-actions .text-link{font-size:13px;min-height:44px}.reminder-copy .eyebrow{font-size:12px}
  .modal-content{padding:24px 22px}.modal-content p{font-size:14px}.modal-content .modal-actions{gap:10px}.modal-content .modal-actions .btn{min-height:48px}
}
@media(max-width:370px){
  .workspace{padding-inline:14px}.topbar{gap:6px;flex-wrap:wrap}.top-actions{gap:4px}.mobile-brand .brand-name{font-size:19px}.mobile-brand .brand-mark{width:24px;height:28px}.mobile-brand .brand{gap:6px}.coin-wallet{padding:8px;font-size:12px}.coin-wallet .coin-dot{width:17px;height:17px}.page-heading h1{font-size:23px}.page-heading p{font-size:13px}
  .daily-hero{padding:21px;min-height:320px}.hero-copy{width:76%}.hero-copy h2{font-size:29px}.hero-copy p{font-size:13px;max-width:180px}.hero-copy .btn{padding:12px 13px;font-size:13px}.hero-avatar{width:43%;right:-12px;bottom:18px}.hero-cloud{right:16px;top:40px;transform:scale(.65)}
  .weekly-card{padding:20px}.weekly-card .week-head{column-gap:9px}.weekly-card .week-score{font-size:29px}.weekly-card h3{font-size:14px}.field-preview{padding:20px 16px}.field-bubbles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.field-bubble{min-height:72px}
  .question-card{padding:20px 16px}.question-title{font-size:19px}.question-kicker{flex-wrap:wrap;gap:10px}.question-steps{gap:5px}.question-steps li{flex-direction:column;gap:4px;font-size:11px}.challenge-progress-head{font-size:12px}.challenge-progress-head strong{font-size:17px}.option{padding:13px 11px;gap:9px}.option-state{font-size:11px}
  .result-hero{padding:22px 17px;gap:10px;align-items:flex-start}.result-avatar{width:68px;height:68px;margin-top:15px}.result-hero h2{font-size:19px}.result-number{font-size:34px}.result-body{padding:20px 17px}.result-check{font-size:11px}.review-item summary{gap:7px;padding:14px 11px}.review-status{font-size:11px}
  .history-row.history-open{gap:8px}.history-row .history-copy strong{font-size:13px}.history-row .history-outcome strong{font-size:15px}.history-today{margin-left:4px;padding:2px 5px}.ranking-personal-stats dd{font-size:21px}.rank-person canvas{display:none}.rank-row{grid-template-columns:25px minmax(0,1fr) 62px;gap:7px}.rank-row.me{grid-template-columns:21px minmax(0,1fr) 62px}.rank-detail{font-size:12px}.ranking-table{padding-inline:15px}
  .character-section{padding:20px 14px}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.character-choice strong{font-size:14px}.shop-item-art{height:116px}.shop-item-art canvas{width:122px;height:122px}.shop-item-info{padding:12px 10px}.shop-item-info strong{font-size:13px}.shop-filters{gap:6px}.shop-filters .filter{padding:8px 10px;font-size:12px}.filter-count{margin-left:4px}
}
@media(prefers-reduced-motion:reduce){.btn:active,.icon-button:active,.option:active{transform:none}.view-enter{animation:none}}

/* The summary and character share a row; the five results have their own row. */
.result-hero{display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:20px 24px}.result-checks{grid-column:1/-1;width:100%;margin:0}
.review-summary-copy>span{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.question-top-label{font-size:13px;white-space:nowrap}
.field-bubble.rest{opacity:1}.field-bubble.rest i{opacity:.65}.tier-pill.first{color:#6d5b7b}
.sound-button{width:auto;padding-inline:12px;gap:7px;font-size:12px}.sound-button-label{white-space:nowrap}.sidebar .brand-caption{font-size:8px;letter-spacing:.12em;white-space:nowrap}
.question-foot small{font-size:12px;line-height:1.8;color:var(--muted)}
.result-body{display:flex;flex-direction:column}.result-actions{order:-1;margin:0 0 22px}
.result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.result-actions>.btn{min-height:48px}.result-actions>.review-note{grid-column:1/-1}
.ranking-personal-stats{grid-template-columns:minmax(0,.75fr) minmax(0,1.5fr) minmax(0,.75fr)}.ranking-personal-stats dd small{margin-left:3px}
@media(max-width:620px){
  .result-hero{grid-template-columns:minmax(0,1fr) 94px;gap:20px 12px}.review-summary-copy>span{font-size:12px}
  .identity-card{grid-template-columns:84px minmax(0,1fr);padding:20px;gap:0 14px;text-align:left}
  .identity-scene{grid-column:1;grid-row:1 / span 3;height:110px;min-height:0;border-radius:16px;align-self:center}.identity-scene canvas{width:110px;max-width:110px}
  .identity-content{display:contents}.identity-name{grid-column:2;font-size:20px;align-items:flex-start}.identity-name .nickname{min-width:0;flex:1}.identity-content>.tier-pill{grid-column:2;justify-self:start;margin:5px 0 7px}.identity-content>p{grid-column:2;line-height:1.7}
  .identity-content>.profile-summary,.identity-content>.btn{grid-column:1/-1}.identity-content>.profile-summary{margin-top:20px}.identity-content>.btn{margin-top:14px}
}
@media(max-width:370px){.result-hero{grid-template-columns:minmax(0,1fr) 68px;gap:18px 10px}.identity-card{grid-template-columns:66px minmax(0,1fr);padding:18px;gap:0 12px}.identity-scene{height:100px}.identity-scene canvas{width:96px;max-width:96px}.identity-name{font-size:19px}.question-top-label{font-size:12px}}
@media(max-width:430px){.result-actions{grid-template-columns:1fr}}
@media(max-width:820px){.sound-button{width:44px;padding:8px}.sound-button-label{display:none}}
/* Optional, unranked playground: compact boards remain usable on small phones. */
/* The illustrated entrance follows the daily challenge, before secondary home content. */
.home-grid{grid-template-areas:"daily weekly" "playground playground"}
.home-grid>.daily-hero{grid-area:daily}.home-grid>.weekly-card{grid-area:weekly}
.playground-entry{grid-area:playground;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;position:relative;isolation:isolate;width:100%;min-width:0;padding:0;text-align:left;color:#344f3c;background:#f8f3e6;border:2px solid #d7dfc9;border-radius:24px;box-shadow:0 4px 0 #dbe3cf;cursor:pointer;overflow:hidden;transition:border-color .16s,box-shadow .16s}
.pg-entry-copy{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:28px 0 28px 30px;position:relative;z-index:1}
.pg-entry-kicker{font-size:12px;font-weight:700;letter-spacing:.02em;color:#5c6e4d}
.pg-entry-copy>strong{font-size:30px;line-height:1.25;letter-spacing:-.045em;color:#304e39}
.pg-entry-description{font-size:13px;line-height:1.8;color:#606d55;word-break:keep-all;overflow-wrap:anywhere}
.pg-entry-description>span{display:inline-block;white-space:nowrap}
.pg-entry-action{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:48px;margin-top:5px;padding:11px 18px;background:#456d4e;color:#fffdf6;border-radius:12px;font-size:15px;font-weight:750;line-height:1.5;box-shadow:0 3px 0 #35563d}
.pg-entry-action>span{font-size:23px;line-height:1}
.pg-entry-scene{align-self:stretch;display:flex;align-items:flex-end;min-width:0;background:#eaf2e6;border-radius:95px 0 0 0;margin-top:16px;overflow:hidden}
.pg-entry-scene svg{display:block;width:100%;height:auto;min-height:200px;max-height:250px}
.playground-entry:focus-visible{outline:3px solid #35563d;outline-offset:5px}
@media(hover:hover){.playground-entry:hover{border-color:#78966a;box-shadow:0 5px 0 #bfd0b2}.playground-entry:hover .pg-entry-action{background:#365d40}}
.playground-entry:active{box-shadow:0 1px 0 #bfd0b2}.playground-entry:active .pg-entry-action{background:#365d40}
@media(max-width:1100px){.home-grid{grid-template-areas:"daily" "playground" "weekly"}}
@media(max-width:620px){
  .playground-entry{grid-template-columns:minmax(0,1fr);border-radius:23px}
  .pg-entry-scene{grid-row:1;margin:0;border-radius:0;justify-content:center;background:#eaf2e6}
  .pg-entry-scene svg{width:100%;height:auto;min-height:0;max-height:166px}
  .pg-entry-copy{padding:18px 20px 22px;gap:8px}
  .pg-entry-copy>strong{font-size:28px}.pg-entry-description{font-size:13px}
  .pg-entry-action{align-self:stretch;min-height:48px;margin-top:7px;padding-inline:16px;font-size:15px}
}
@media(prefers-reduced-motion:reduce){.playground-entry{transition:none}}
.playground-wrap{max-width:820px;margin:auto;min-width:0}.pg-top,.pg-round{display:flex;align-items:center;justify-content:space-between;gap:12px}.pg-top{margin:4px 0 24px}.pg-top .text-link{min-height:44px}.pg-hero{padding:10px 0 25px}.pg-hero h1{font-size:clamp(28px,6vw,42px);line-height:1.25;letter-spacing:-1.3px;margin:10px 0 16px}.pg-hero p{line-height:1.75;color:#667166}.pg-hero .tag{white-space:normal;line-height:1.6}
.pg-game-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pg-game{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;padding:22px;border:2px solid transparent;border-radius:22px;color:#34443a;min-width:0;cursor:pointer;transition:transform .15s,border-color .15s}.pg-game:hover{transform:translateY(-2px)}.pg-game.chosen{border-color:#477052;box-shadow:0 0 0 2px #fff inset}.pg-game strong{font-size:20px;line-height:1.4}.pg-game>span:not(.pg-game-symbol){line-height:1.65;font-size:14px}.pg-game small{margin-top:auto;padding-top:12px;font-weight:700}.pg-game.peach,.pg-game-symbol.peach{background:#faeee0}.pg-game.lilac,.pg-game-symbol.lilac{background:#eee8f6}.pg-game.mint,.pg-game-symbol.mint{background:#e5f1e9}.pg-game.blue,.pg-game-symbol.blue{background:#e8eff8}.pg-game-symbol{font-weight:800;font-size:29px;min-width:50px;min-height:50px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center}
.pg-setup{margin:20px 0;padding:24px;display:grid;gap:16px}.pg-setup h2{font-size:22px;margin:0 0 8px}.pg-setup p{line-height:1.65;margin:0;color:#647064}.pg-setup>.btn{width:100%;min-height:52px}.pg-levels,.pg-topics{display:flex;gap:8px;flex-wrap:wrap}.pg-chip{border:1px solid #d3dbd1;border-radius:12px;background:#fff;color:#465e4b;padding:10px 14px;min-height:44px;font-size:14px;cursor:pointer}.pg-chip.chosen{background:#46684e;color:#fff;border-color:#46684e}.pg-resume{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px;margin-bottom:20px;flex-wrap:wrap}.pg-resume p{font-size:14px;margin:6px 0 0}.pg-note{font-size:13px;color:#697269;line-height:1.8;overflow-wrap:anywhere}.pg-error{border:1px solid #dbb0a4;background:#fff2ed;padding:16px;border-radius:15px;margin:12px 0}.pg-error p{margin:0 0 12px;line-height:1.6}.pg-status{font-size:13px;color:#46684e}
.pg-play{max-width:600px;padding:26px;margin:0 auto;min-width:0}.pg-play-heading{display:flex;gap:14px;align-items:center;margin-bottom:26px}.pg-play-heading h1{font-size:23px;margin:4px 0;line-height:1.35}.pg-round{font-size:13px;color:#617064;flex-wrap:wrap}.pg-question{font-size:23px;line-height:1.6;letter-spacing:-.5px;margin:22px 0;word-break:keep-all;overflow-wrap:anywhere}.pg-quiz-options{display:grid;gap:10px}.pg-answer{display:flex;align-items:center;gap:12px;text-align:left;min-height:60px;border:1px solid #d9ded6;background:#fff;border-radius:14px;padding:13px 16px;color:#344438;cursor:pointer}.pg-answer>span{border-radius:8px;background:#f1f3ef;padding:5px 9px;font-size:13px}.pg-answer strong{flex:1;font-size:16px;line-height:1.55;overflow-wrap:anywhere}.pg-answer small{font-size:12px}.pg-answer.correct{border-color:#528462;background:#edf6ef}.pg-answer.incorrect{border-color:#c48876;background:#f9eee9}.pg-answer:disabled{opacity:1;cursor:default}.pg-feedback{padding:18px;background:#eef4ec;border-radius:14px;margin:18px 0;line-height:1.7}.pg-feedback p{margin:8px 0;font-size:15px}.pg-feedback a{font-size:13px}.pg-board{display:grid;grid-template-columns:repeat(var(--pg-columns),minmax(0,1fr));gap:9px;margin:20px 0}.pg-card{min-width:0;min-height:72px;aspect-ratio:1;border-radius:16px;border:1px solid #d0c8df;background:#eee8f6;color:#786593;font-size:28px;font-weight:800;position:relative;cursor:pointer;touch-action:manipulation}.pg-card.open{background:#fff6e9;border-color:#dacfb8}.pg-card.matched{background:#eaf3e7;border-color:#adc5a7;color:#385843}.pg-card small{font-size:14px;position:absolute;bottom:4px;right:8px}.pg-card:disabled{opacity:1;cursor:default}.pg-sequence .pg-card{background:#f0f3ef;color:#5c6e5b}.pg-sequence .pg-card.lit{background:#52765a;color:#fff;border-color:#52765a}.pg-number{aspect-ratio:1;min-height:48px;min-width:0;padding:0;border:1px solid #cfdbdf;background:#edf4fa;border-radius:12px;font-size:22px;font-weight:800;color:#3f5a6d;cursor:pointer;touch-action:manipulation}.pg-number.found{background:#f2f4ef;border-color:#e2e6df;color:#809477}.pg-next-number{display:inline-flex;background:#e6f0e5;padding:0 12px;border-radius:10px;color:#416647}.pg-complete{text-align:center;padding:16px 0}.pg-complete-star{color:#64876a;font-size:56px}.pg-complete h2{font-size:25px;line-height:1.4}.pg-complete p{line-height:1.8}.pg-duration{display:inline-flex;background:#eff2eb;border-radius:12px;padding:10px 18px;font-size:15px;font-weight:700}.pg-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:24px}
@media(max-width:480px){.pg-game-list{gap:10px}.pg-game{padding:15px;border-radius:17px;gap:8px}.pg-game strong{font-size:17px}.pg-game>span:not(.pg-game-symbol){font-size:13px}.pg-game small{font-size:11px}.pg-game-symbol{font-size:25px;min-width:42px;min-height:42px}.pg-setup{padding:18px}.pg-play{padding:17px}.pg-play-heading h1{font-size:20px}.pg-question{font-size:20px}.pg-board{gap:6px}.pg-card{min-height:54px;border-radius:12px;font-size:25px}.pg-number{font-size:19px;border-radius:9px}.pg-numbers{gap:4px}.pg-chip{padding:10px 11px;font-size:13px}.pg-top{gap:6px}.pg-answer{padding:12px 10px;gap:8px}.pg-answer strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.pg-game{transition:none}.pg-game:hover{transform:none}}
