:root{color-scheme:light;--paper:#f2f0e9;--ink:#272822;--muted:#6c6e64;--line:#d8d8cf;--white:#fcfbf7;--lime:#d2ef9b;--purple:#b3a0db;--radius:28px;font-family:Arial,Helvetica,sans-serif;font-synthesis:none;background:var(--paper);color:var(--ink)}*{box-sizing:border-box}body{margin:0;min-width:280px}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #666742;outline-offset:5px}button{touch-action:manipulation}a{color:inherit}.shell{max-width:1120px;margin:auto;padding:30px 42px 20px;min-height:100svh;display:flex;flex-direction:column}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px}.wordmark{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:750;font-size:20px;letter-spacing:-.7px}.brand-dot{font-size:11px;align-self:flex-start;margin:4px 0 0 -7px}.brand-mark{height:28px;width:31px;position:relative;display:block}.brand-mark i{position:absolute;display:block;width:18px;height:18px;border-radius:50%;background:var(--ink);top:0;left:0}.brand-mark i:nth-child(2){left:13px}.brand-mark i:nth-child(3){top:13px;left:7px}.help-button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;font-size:17px;background:transparent;color:var(--ink)}main{flex:1;display:flex;flex-direction:column;justify-content:center;padding:34px 0;outline:none}.eyebrow{font-size:11px;line-height:1.5;font-weight:750;letter-spacing:1.8px;text-transform:uppercase;margin:0 0 20px}.intro{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.intro h1{font-size:clamp(52px,6.1vw,79px);line-height:.99;letter-spacing:-4px;font-weight:600;margin:0 0 24px}.intro h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-3px}.intro-description{font-size:17px;line-height:1.5;color:var(--muted);max-width:310px;margin:0 0 30px}.primary{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--ink);color:var(--white);border:0;border-radius:14px;min-height:58px;padding:16px 21px;font-size:16px;font-weight:600;text-align:left}.primary .arrow{font-size:23px;font-weight:400;line-height:1}.intro .primary{max-width:310px}.micro{font-size:11px;line-height:1.5;color:var(--muted);margin:14px 0 0;letter-spacing:.3px}.art-frame{position:relative;border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:#e6e4dc;transform:rotate(3deg);max-width:430px}.art-header{display:flex;justify-content:space-between;font-size:10px;font-weight:700;letter-spacing:1px;margin:3px 2px 16px}.color-art{aspect-ratio:1;position:relative;border-radius:14px;overflow:hidden;background:#aca0d7}.orb{position:absolute;display:block;border-radius:50%}.orb.one{background:#e9a484;width:73%;height:73%;top:-7%;left:-13%}.orb.two{background:#d8eead;width:71%;height:71%;top:48%;left:44%}.orb.three{background:#516650;width:47%;height:47%;left:-8%;top:73%}.art-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-3deg);background:var(--paper);width:109px;height:109px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #27282211}.art-label strong{font-family:Georgia,serif;font-weight:400;font-size:43px;line-height:1}.art-label span{font-size:9px;letter-spacing:2px;margin-top:7px}.art-caption{font-size:11px;letter-spacing:.6px;display:flex;justify-content:space-between;align-items:center;margin:16px 2px 1px}.art-caption span:last-child{font-size:17px}.footer{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:17px;font-size:9px;letter-spacing:1.5px;color:var(--muted);line-height:1.4}.game{width:min(100%,590px);margin:auto}.game-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.round-label{font-size:11px;font-weight:700;letter-spacing:1.4px}.steps{display:flex;gap:7px}.step{width:23px;height:5px;background:var(--line);border-radius:5px}.step.done{background:var(--ink)}.step.active{background:#777b64}.game h1{font-size:34px;letter-spacing:-1.3px;line-height:1.1;margin:0 0 8px;font-weight:600}.subtitle{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 24px}.sample{width:100%;height:240px;position:relative;border-radius:22px;background:#c1c0ba;overflow:hidden;border:1px solid #27282212}.exposure{height:310px}.exposure .timer{position:absolute;bottom:19px;left:19px;font-size:13px;font-variant-numeric:tabular-nums;background:var(--paper);padding:11px 14px;border-radius:100px;display:flex;align-items:center;gap:10px}.timer b{font-weight:700;width:12px;text-align:center}.timer-dots{display:flex;gap:4px}.timer-dots i{width:5px;height:5px;border-radius:50%;background:#a5a69d}.timer-dots i.on{background:var(--ink)}.time-rail{position:absolute;bottom:0;left:0;width:100%;height:4px;background:#ffffff60}.time-rail span{height:100%;width:100%;display:block;background:#27282280;transform-origin:left}.exposure-note{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-top:18px}.exposure-note .pulse{width:7px;height:7px;border-radius:50%;background:var(--ink);display:inline-block;margin-right:7px}.choice-label{position:absolute;bottom:17px;left:18px;background:var(--paper);border-radius:30px;padding:8px 11px;font-size:10px;letter-spacing:.7px;font-weight:700}.sliders{padding:18px 2px 0;display:grid;gap:7px}.slider-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;margin-bottom:8px}.slider-top output{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted);font-weight:400}.range{display:block;width:100%;margin:0;height:44px;background:transparent;appearance:none;-webkit-appearance:none;touch-action:pan-y}.range::-webkit-slider-runnable-track{height:9px;border-radius:10px;background:var(--track)}.range::-moz-range-track{height:9px;border-radius:10px;background:var(--track)}.range::-webkit-slider-thumb{-webkit-appearance:none;width:25px;height:25px;border-radius:50%;border:3px solid var(--white);background:var(--ink);box-shadow:0 0 0 1px #27282240;margin-top:-8px}.range::-moz-range-thumb{width:19px;height:19px;border-radius:50%;border:3px solid var(--white);background:var(--ink);box-shadow:0 0 0 1px #27282240}.game .primary{margin-top:24px}.status-chip{font-size:10px;padding:7px 10px;border:1px solid var(--line);border-radius:30px;color:var(--muted)}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.comparison .sample{height:220px;border-radius:20px}.comparison-label{display:flex;justify-content:space-between;font-size:11px;margin-top:11px;color:var(--muted)}.comparison-label strong{font-weight:600;color:var(--ink)}.feedback-score{display:flex;align-items:baseline;gap:12px;margin:25px 0 4px}.feedback-score strong{font-size:61px;line-height:1;letter-spacing:-3px;font-weight:500}.feedback-score span{font-size:13px;color:var(--muted)}.feedback-line{font-size:14px;color:var(--muted);margin:12px 0 0}.paused-art{height:260px;background:#e5e4dc;display:flex;justify-content:center;align-items:center;border-radius:22px;font-family:Georgia,serif;font-size:75px;color:#868a7a}.results{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:center}.result-intro h1{font-size:51px;line-height:1.04;letter-spacing:-2.8px;font-weight:500;margin:0 0 18px}.result-intro .subtitle{max-width:275px}.result-card{background:var(--white);border:1px solid var(--line);padding:25px;border-radius:var(--radius)}.result-card-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;font-weight:700}.result-score{font-size:73px;letter-spacing:-4px;line-height:1;margin:23px 0 9px;font-weight:500}.result-score small{font-size:28px;vertical-align:top;margin-right:2px;position:relative;top:8px}.score-caption{font-size:11px;color:var(--muted);margin:0 0 27px}.palette-labels{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;margin-bottom:10px;color:var(--muted)}.palette{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.palette-col{overflow:hidden;border-radius:40px}.palette-color{height:84px}.palette-divider{height:3px;background:var(--white)}.palette-scores{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;font-size:10px;text-align:center;margin:12px 0 21px;font-variant-numeric:tabular-nums}.card-bottom{border-top:1px solid var(--line);padding-top:14px;display:flex;justify-content:space-between;gap:12px;font-size:9px;color:var(--muted);line-height:1.4}.actions{display:flex;gap:8px;margin-top:10px}.secondary{flex:1;min-height:44px;border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:11px;padding:11px 12px;font-size:12px}.results .primary{margin-top:0}.result-main-actions{max-width:310px}.text-button{font-size:12px;border:0;background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:8px 0;margin-top:4px}.practice{color:#737355;font-size:11px;line-height:1.5;margin:15px 0 0}.access-note{font-size:10px;line-height:1.5;color:var(--muted);margin:12px 0 0}.copy-field{width:100%;margin-top:12px;display:flex;gap:6px}.copy-field input{width:100%;min-width:0;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--white);font-size:11px}.copy-field button{border:1px solid var(--line);border-radius:8px;background:transparent;padding:8px}.copy-field[hidden]{display:none}dialog{border:1px solid var(--line);border-radius:24px;background:var(--paper);color:var(--ink);width:min(92vw,520px);padding:34px;max-height:85svh;box-shadow:0 20px 100px #0002}dialog::backdrop{background:#27282270;backdrop-filter:blur(3px)}dialog h2{font-size:29px;letter-spacing:-1px;margin-top:0}dialog h3{font-size:14px;margin-top:25px}dialog p{font-size:13px;line-height:1.65;color:var(--muted)}dialog .eyebrow{font-size:9px}.formula{background:#e6e5dc;padding:12px;border-radius:10px}.dialog-close{position:absolute;top:12px;right:13px;width:30px;height:30px;border:0;background:transparent;font-size:25px}.quiet{font-size:11px!important}.help-button:hover,.secondary:hover{background:#e5e4db}.primary:hover{background:#3f4135}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);padding:12px 18px;border-radius:12px;background:var(--ink);color:var(--white);font-size:12px;line-height:1.4;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;width:max-content;max-width:90vw;z-index:10}#toast.visible{opacity:1;transform:translate(-50%,0)}.fade-in{animation:appear .28s ease-out}@keyframes appear{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}@media(min-width:1000px){.shell{min-height:min(100svh,960px)}main{padding:52px 0}}@media(max-width:740px){.shell{padding:22px 23px 18px}.wordmark{font-size:18px}.brand-mark{transform:scale(.9);transform-origin:left}.intro{grid-template-columns:1fr;gap:28px}.intro-copy{order:2}.intro-art{order:1;display:flex;justify-content:center}.art-frame{width:min(100%,280px);padding:12px;border-radius:21px;transform:rotate(3deg)}.art-header{margin:1px 1px 10px;font-size:8px}.art-caption{margin:10px 1px 0;font-size:9px}.color-art{border-radius:12px;aspect-ratio:1.25}.art-label{width:82px;height:82px}.art-label strong{font-size:33px}.art-label span{font-size:8px}.intro-copy{text-align:center}.intro .eyebrow{margin-bottom:13px;font-size:9px}.intro h1{font-size:49px;letter-spacing:-2.5px;margin-bottom:16px}.intro h1 em{letter-spacing:-2px}.intro-description{font-size:14px;line-height:1.5;margin:0 auto 20px;max-width:270px}.intro .primary{max-width:100%;min-height:55px}.micro{font-size:10px;margin-top:11px}main{padding:27px 0}.footer{font-size:8px;letter-spacing:1px;padding-top:15px}.game-top{margin-bottom:21px}.game h1{font-size:30px;letter-spacing:-1px}.subtitle{font-size:13px;margin-bottom:20px}.sample{height:191px}.exposure{height:290px}.sliders{padding-top:14px;gap:4px}.game .primary{margin-top:19px;min-height:55px}.comparison .sample{height:220px}.comparison-label{font-size:10px;gap:4px;flex-wrap:wrap}.feedback-score strong{font-size:57px}.results{grid-template-columns:1fr;gap:25px}.result-intro{display:contents}.result-intro .eyebrow{margin:0;font-size:10px}.result-intro h1{font-size:35px;letter-spacing:-1.5px;margin:-15px 0 -12px}.result-intro .subtitle{display:none}.result-main-actions{order:2;max-width:none}.result-card{padding:22px;order:1}.result-score{font-size:67px;margin-top:21px}.palette-color{height:68px}.result-card .score-caption{margin-bottom:20px}.results .primary{min-height:54px}.result-card-top{font-size:9px}.palette-scores{margin-bottom:17px}.access-note{text-align:center}.card-bottom{font-size:8px}.comparison{gap:10px}.exposure-note{font-size:11px}}@media(max-width:360px){.shell{padding:18px 18px 15px}.intro{gap:24px}.intro h1{font-size:44px}.art-frame{width:225px}.art-header{display:none}.color-art{aspect-ratio:1.35}.art-caption{font-size:8px}.game h1{font-size:27px}.sample{height:155px}.exposure{height:260px}.comparison .sample{height:180px}.result-card{padding:17px}.palette-color{height:58px}.wordmark{font-size:17px}.result-intro h1{font-size:32px}}@media(max-height:740px) and (max-width:740px){main{padding:22px 0}.intro{gap:23px}.intro .art-frame{max-width:240px}.intro .color-art{aspect-ratio:1.45}.intro h1{font-size:43px;margin-bottom:12px}.intro .eyebrow{margin-bottom:9px}.intro-description{margin-bottom:16px}.intro .micro{margin-top:10px}.game-top{margin-bottom:17px}.game h1{font-size:28px}.game .subtitle{margin-bottom:16px}.sample{height:150px}.exposure{height:255px}.comparison .sample{height:195px}.sliders{gap:1px}.footer{padding-top:12px}}

.header-actions{display:flex;align-items:center;gap:12px}.language-toggle{display:flex;border:1px solid var(--line);border-radius:30px;padding:3px;gap:1px}.language-toggle button{background:transparent;border:0;color:var(--muted);border-radius:24px;font-size:10px;font-weight:700;min-width:33px;height:30px;padding:5px 8px}.language-toggle button[aria-pressed="true"]{background:var(--ink);color:var(--white)}@media(max-width:360px){.header-actions{gap:7px}.wordmark{gap:7px;font-size:16px}.language-toggle button{min-width:29px;padding:5px 6px}.help-button{width:33px;height:33px}.topbar{gap:10px}}
/* Shared records: one small card, no account wall. */
.personal-mini{font-size:.9rem;color:var(--muted,#6c6e64);margin:1.4rem 0 .8rem}.online-card{grid-column:1/-1;padding:24px;border:1px solid #d8d8cf;border-radius:26px;background:#fcfbf7}.record-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.record-grid span{display:block;font-size:.72rem;color:#6c6e64;margin-bottom:7px}.record-grid strong{font-size:1.1rem;font-weight:500}.record-celebration{color:#35683a;font-size:1.1rem;padding:14px;border-radius:12px;background:#e9efdc;animation:record-in .4s ease-out}.total-points{font-size:.85rem;color:#6c6e64;margin-top:8px}.online-card .primary{margin-top:14px}.online-card .actions{margin-top:12px}.board-dialog{max-width:560px;width:calc(100% - 28px);max-height:90dvh;overflow:auto}.board-tabs{display:flex;gap:10px;margin:20px 0}.board-tabs button[aria-pressed=true]{background:#272822;color:#fff}.board-list{border-top:1px solid #d8d8cf}.board-row{display:grid;grid-template-columns:42px minmax(0,1fr) 90px;align-items:center;gap:12px;border-bottom:1px solid #deded6;padding:14px 0;font-size:.92rem}.board-row span{overflow-wrap:anywhere}.board-row>strong:last-child{text-align:right}.board-row small{display:block;font-size:.65rem;color:#6c6e64;font-weight:400;margin-top:4px}.board-head{font-size:.65rem;color:#6c6e64;letter-spacing:.08em}.empty-board{padding:30px 0}.field-label{display:block;margin:25px 0 10px;font-size:.9rem}.name-input{box-sizing:border-box;width:100%;font:inherit;font-size:1.1rem;border:1px solid #aeb1a4;border-radius:12px;padding:14px;background:#fff;color:#272822}.check-label{display:flex;align-items:center;gap:12px;margin:24px 0 12px;min-height:44px;cursor:pointer}.check-label input{width:23px;height:23px;accent-color:#556440}.name-preview{border-radius:12px;background:#e9ebdf;padding:14px;overflow-wrap:anywhere}.board-dialog .primary{margin:16px 0;min-height:50px}.board-dialog .quiet,.online-card .quiet{font-size:.78rem;line-height:1.6}.board-dialog .secondary{min-height:44px}.board-dialog button:disabled{opacity:.55;cursor:wait}@keyframes record-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:520px){.record-grid{gap:12px}.record-grid strong{font-size:.85rem}.online-card{padding:20px}.board-dialog{padding:25px}.board-row{grid-template-columns:28px minmax(0,1fr) 82px;gap:8px}}@media(prefers-reduced-motion:reduce){.record-celebration{animation:none}}
@media(min-width:721px){.results .result-intro{grid-column:1;grid-row:1}.results .result-card{grid-column:2;grid-row:1/3}.results .online-card{grid-column:1;grid-row:2}.results{align-items:start;column-gap:45px;row-gap:25px}}
/* The color playground exists only on the home screen. Game comparisons remain neutral. */
.home-background{position:fixed;inset:0;overflow:hidden;pointer-events:none;isolation:isolate;z-index:0;background:#f5efe5;contain:paint}.home-background[hidden]{display:none!important}.home-color-field{position:absolute;inset:-8%;background:radial-gradient(ellipse at 10% 22%,#ff916c 0,transparent 44%),radial-gradient(ellipse at 91% 14%,#c5a0ed 0,transparent 43%),radial-gradient(ellipse at 94% 91%,#edeb79 0,transparent 43%),radial-gradient(ellipse at 5% 88%,#69cbb1 0,transparent 45%);transform:translate(var(--home-x,0px),var(--home-y,0px));filter:hue-rotate(var(--home-hue,0deg));transition:transform .9s ease-out,filter 1.5s ease-out}.home-grain{position:absolute;inset:0;opacity:.13;background-image:radial-gradient(#51403d 0.7px,transparent .7px);background-size:7px 7px;mask-image:linear-gradient(110deg,#000,transparent 75%)}.home-orbit{position:absolute;display:block;border:1px solid #ffffff8c;border-radius:50%;width:48vw;height:48vw;min-width:310px;min-height:310px;transform:translate(var(--home-x,0px),var(--home-y,0px));transition:transform 1.3s ease-out}.orbit-one{left:-26vw;top:24%}.orbit-two{right:-26vw;bottom:20%;border-width:26px;border-color:#fff2}.orbit-three{right:11%;top:9%;width:16px;height:16px;min-width:0;min-height:0;border:0;background:#f6ff90;box-shadow:0 0 0 11px #ffffff45}.home-active .shell{position:relative;z-index:1}.home-active .topbar{background:#fffaf0e8;border:1px solid #ffffffb0;border-radius:22px;padding:13px 18px;margin:-13px -18px 0;box-shadow:0 8px 32px #4f34480a}.home-active .footer{border-top-color:#51403d26;color:#424438}.home-card{width:min(100%,570px);padding:27px 34px 22px;border:1px solid #ffffffc4;border-radius:36px;background:#fffcf5;box-shadow:0 24px 90px #553e4e17;text-align:center;position:relative}.home-card h1{font-size:clamp(32px,4.3vw,48px);letter-spacing:-1.8px;line-height:1.04;margin:8px 0 12px}.home-card .subtitle{font-size:14px;color:#686458;margin:0 0 21px}.home-card .primary{min-height:62px;background:#302638;color:#fffaf4;border-radius:17px;padding:17px 23px;margin-top:0;box-shadow:0 7px 0 #e9dbef;font-size:18px}.home-card .primary:hover{background:#48304e}.home-card .personal-mini{font-size:11px;margin:20px 0 5px}.home-card .actions{margin-top:0;align-items:center;gap:14px}.home-card .secondary{border-color:#dcd1dc;background:#f5f0f6;font-size:12px;min-height:44px}.home-card .text-button{font-size:11px;flex:1;text-decoration:none;color:#5d5460;margin:0}.home-art{height:151px;position:relative;width:230px;margin:0 auto 12px;isolation:isolate}.home-chip{position:absolute;display:block;width:114px;height:114px;border-radius:30px}.chip-one{left:9px;top:17px;background:#ed8b65;transform:rotate(-18deg);box-shadow:0 6px 0 #d96e5218}.chip-two{right:7px;top:21px;background:#ad8adf;transform:rotate(17deg)}.chip-three{left:57px;top:12px;background:#d8ee81;transform:rotate(-2deg);border-radius:42px}.home-count{position:absolute;inset:23px 0 auto;font-family:Georgia,'Times New Roman',serif;font-size:74px;line-height:.9;letter-spacing:-4px;color:#353c28}.home-count>span{display:block;font:600 10px Arial,Helvetica,sans-serif;letter-spacing:1.5px;margin:12px 0 0}.home-spark{position:absolute;right:-2px;top:0;font-style:normal;font-size:28px;color:#695089;transform:rotate(12deg)}@media(max-width:740px){.home-active .topbar{padding:11px 13px;margin:-7px -8px 0;border-radius:18px}.home-card{padding:23px 23px 19px;border-radius:29px}.home-card h1{font-size:35px;letter-spacing:-1.3px}.home-card .subtitle{font-size:12px;margin-bottom:21px}.home-art{height:139px;margin-bottom:8px;transform:scale(.93)}.home-active main{padding:28px 0}.home-card .primary{min-height:57px;font-size:17px}.home-card .actions{gap:10px}.home-card .text-button{font-size:10px}.home-color-field{inset:-4%}}@media(max-width:360px){.home-card{padding:19px 18px 16px}.home-card h1{font-size:30px}.home-art{height:124px;transform:scale(.83);transform-origin:center top;margin-bottom:-2px}.home-card .subtitle{font-size:11px}.home-card .personal-mini{font-size:10px}}@media(max-height:740px) and (max-width:740px){.home-active main{padding:22px 0}.home-art{height:118px;transform:scale(.8);transform-origin:center top;margin-bottom:-2px}.home-card{padding-top:17px;padding-bottom:14px}.home-card h1{font-size:31px;margin-top:4px}.home-card .subtitle{margin-bottom:17px}.home-card .personal-mini{margin-top:16px}}@media(prefers-reduced-motion:reduce){.home-color-field,.home-orbit{transition:none;transform:none;filter:none}}
/* Selected chameleon icon, used faithfully; quiet chrome while matching colors. */
.brand-logo{display:block;width:40px;height:40px;object-fit:contain;flex:0 0 auto;filter:none;opacity:1}.home-active .brand-logo{filter:none;opacity:1}@media(max-width:740px){.brand-logo{width:36px;height:36px}}@media(max-width:360px){.brand-logo{width:32px;height:32px}}
/* Brand icon only in navigation, with a generous touch target. */
.wordmark{min-width:44px;min-height:44px;justify-content:center}
/* The full-body mascot speaks only once guesses have been revealed. */
.mascot-response{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:15px;margin:17px 0 8px;min-height:112px}.mascot-portrait{display:block;width:108px;height:108px;object-fit:contain;transform-origin:50% 90%}.mascot-speech{position:relative;background:#fcfbf7;border:1px solid #d8d8cf;border-radius:20px 20px 20px 5px;margin:0;padding:17px 19px;color:#4d5046;font-size:14px;line-height:1.5;min-height:82px;display:flex;align-items:center;overflow-wrap:break-word}.mascot-speech::before{content:'';position:absolute;left:-9px;bottom:19px;width:15px;height:15px;background:#fcfbf7;border-left:1px solid #d8d8cf;border-bottom:1px solid #d8d8cf;transform:rotate(45deg)}.mascot-happy .mascot-animate{animation:mascot-happy .7s ease-in-out 2}.mascot-talk .mascot-animate{animation:mascot-talk 1.2s ease-in-out 2}.mascot-surprised .mascot-animate{animation:mascot-surprised 1.5s ease-in-out 1}.online-card .mascot-response{grid-template-columns:75px minmax(0,1fr);gap:12px;margin:0 0 18px;min-height:80px}.online-card .mascot-portrait{width:75px;height:80px}.online-card .mascot-speech{font-size:12px;padding:12px 15px;min-height:75px}@keyframes mascot-happy{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-7px) rotate(-3deg)}70%{transform:translateY(-2px) rotate(3deg)}}@keyframes mascot-talk{0%,100%{transform:rotate(0)}35%{transform:rotate(-4deg)}70%{transform:rotate(3deg)}}@keyframes mascot-surprised{0%,100%{transform:rotate(0) scale(1)}30%{transform:rotate(5deg) scale(1.04)}65%{transform:rotate(-3deg) scale(1)}}@media(max-width:740px){.mascot-response{grid-template-columns:84px minmax(0,1fr);gap:12px;min-height:104px;margin-top:14px}.mascot-portrait{width:84px;height:104px}.mascot-speech{font-size:12px;line-height:1.5;padding:13px 14px;min-height:88px}}@media(max-width:360px){.mascot-response{grid-template-columns:72px minmax(0,1fr);gap:10px}.mascot-portrait{width:72px;height:100px}.mascot-speech{font-size:11px;padding:11px 12px}}@media(prefers-reduced-motion:reduce){.mascot-portrait.mascot-animate{animation:none!important;transform:none!important}}
/* Requested in-site wordmark; the favicon remains the chameleon alone. */
.wordmark{justify-content:flex-start;white-space:nowrap}.brand-name{display:inline-block}@media(max-width:360px){.wordmark{gap:6px}.brand-name{font-size:15px}}
/* Part-specific controls sit over the uncropped art, not over game controls. */
.mascot-rig{position:relative;width:150px;height:150px;flex:none;margin:0 auto}
.mascot-rig .mascot-portrait{display:block;width:100%;height:100%;object-fit:contain;transform:none;pointer-events:none}
.mascot-part{position:absolute;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;touch-action:manipulation;transform:translate(-50%,-50%)}
.mascot-part[hidden]{display:none!important}.mascot-part:focus-visible{outline:3px solid #654c86;outline-offset:2px;background:#ffffff38}
.mascot-eye{left:66%;top:39%}.mascot-tail{left:27%;top:66%}.mascot-body{left:71%;top:71%}
.home-mascot-rig{width:min(100%,clamp(210px,58vw,290px));height:auto;aspect-ratio:1;margin:0 auto 18px}
.home-mascot-rig .mascot-part{width:clamp(48px,14vw,65px);height:clamp(48px,14vw,65px)}
.home-card{padding-top:18px}.home-card .primary{margin-top:0}.home-active main{justify-content:flex-start;padding:clamp(24px,5vh,48px) 0 30px}.home-active .game{margin:0 auto}.home-active .shell{min-height:100svh}.footer{display:none}
.mascot-response{grid-template-columns:150px minmax(0,1fr);gap:14px;min-height:150px}.online-card .mascot-response{grid-template-columns:150px minmax(0,1fr);min-height:150px}
@media(max-width:740px){.home-active main{padding:26px 0 22px}.home-card{padding:12px 23px 20px}.mascot-response,.online-card .mascot-response{grid-template-columns:150px minmax(0,1fr);gap:9px}.mascot-speech{padding:12px;font-size:12px}.home-mascot-rig{margin-bottom:14px}}
@media(max-width:380px){.mascot-response,.online-card .mascot-response{grid-template-columns:1fr;gap:0}.mascot-speech{min-height:70px;width:100%}.mascot-speech::before{display:none}.home-card{padding:10px 18px 18px}.home-active main{padding-top:22px}}
@media(max-height:680px) and (max-width:740px){.home-mascot-rig{width:200px}.home-active main{padding-top:18px}.home-card .personal-mini{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.mascot-rig .mascot-portrait{animation:none!important;transform:none!important}}

.mascot-color-filters{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
/* Duo keeps its colors neutral and its controls independent of Solo. */
.duo-mode-button{width:100%;margin-top:13px;min-height:48px!important;font-size:15px!important}.duo-entry h1,.duo-room h1{font-size:30px}.duo-short-rules,.duo-rules{font-size:13px;line-height:1.6;color:var(--muted)}.duo-entry .primary{margin-top:20px}.duo-join{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:end;margin-top:28px}.duo-join label{grid-column:1/-1;font-size:12px;font-weight:700}.duo-join input{width:100%;min-width:0;height:49px;border:1px solid var(--line);border-radius:12px;background:var(--white);padding:10px 13px;font-size:20px;letter-spacing:2px;text-transform:uppercase}.duo-join .secondary{height:49px;min-width:84px}.duo-rules{border-top:1px solid var(--line);padding-top:15px;margin:20px 0}.duo-rules summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:700;color:var(--ink)}.duo-heading,.duo-round{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.duo-heading .eyebrow{margin:0}.duo-code{font-family:monospace;font-size:18px;font-weight:700;letter-spacing:2px}.duo-round{font-size:12px}.duo-round strong{font-size:22px;font-variant-numeric:tabular-nums}.duo-members{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.duo-members>div{padding:15px;background:#e8e7df;border-radius:15px;min-width:0}.duo-members strong{font-size:14px;display:block;overflow-wrap:anywhere}.duo-members span{font-size:11px;color:var(--muted);display:block;margin-top:7px}.duo-status{font-size:12px;line-height:1.5;min-height:18px;color:var(--muted);margin:16px 0 4px}.duo-error{font-size:13px;color:#993f3f;line-height:1.5}.duo-error:empty{display:none}.duo-room .text-button,.duo-entry>.text-button{display:block;min-height:44px;margin:12px auto 0}.duo-countdown{height:240px;display:grid;place-items:center;font-size:100px;font-variant-numeric:tabular-nums;background:#e7e6dd;border-radius:24px}.duo-comparison .sample{height:220px}.duo-leave-confirm{margin-top:20px;border:1px solid #cabaae;border-radius:16px;padding:16px;font-size:13px;line-height:1.5}.duo-leave-confirm .secondary{width:100%}.duo-copy-link{width:100%;padding:10px;font-size:12px;border:1px solid var(--line);border-radius:8px}.duo-copy-link[hidden]{display:none}.duo-team-score{margin:26px 0 15px}.duo-team-score strong{display:block;font-size:72px;line-height:1.1;letter-spacing:-3px}.duo-team-score span{color:var(--muted);font-size:13px}.duo-results{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}.duo-results>div{text-align:center;font-size:12px}.duo-results>div>span{display:block;margin-bottom:9px}.duo-result-colors{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;margin-bottom:9px;gap:3px}.duo-result-colors i{height:74px;display:block}.duo-room input:disabled{cursor:default;opacity:.55}@media(max-width:740px){.duo-entry h1,.duo-room h1{font-size:27px}.duo-comparison .sample{height:190px}.duo-team-score strong{font-size:61px}.duo-rules,.duo-short-rules{font-size:12px}}@media(max-width:360px){.duo-code{font-size:15px;letter-spacing:1px}.duo-comparison .sample{height:155px}.duo-members{gap:8px}.duo-members>div{padding:12px}}
/* Streamer elimination rooms. Neutral workspaces; no target in broadcast view. */
.br-entry h1,.br-room h1{font-size:30px}.br-mode-label{display:block;font-size:12px;font-weight:700;margin:16px 0 9px}.br-entry select,.br-room select{width:100%;min-height:48px;padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--ink);font:inherit}.br-mode-tag{font-size:12px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:15px;margin:0 0 22px}.br-roster{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.br-roster>div{padding:11px 13px;border-radius:12px;background:#e8e7df;min-width:0}.br-roster strong{display:block;font-size:13px;overflow-wrap:anywhere}.br-roster span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.br-results{margin:22px 0;border-top:1px solid var(--line)}.br-result-row{display:grid;grid-template-columns:minmax(0,1fr) 72px 60px;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.br-result-row>div:first-child strong{overflow-wrap:anywhere}.br-result-row span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.br-result-row>strong{text-align:right;font-variant-numeric:tabular-nums}.br-result-swatches{display:flex;gap:4px}.br-result-swatches i{width:34px;height:40px;display:block;border-radius:8px;border:1px solid #27282216}.br-standings-title{font-size:20px;margin:28px 0 14px}.br-placements{list-style:none;padding:0;margin:0}.br-placements li{display:flex;gap:15px;padding:12px;border-radius:10px;background:#e8e7df;margin:6px 0;font-size:14px}.br-placements li>span{min-width:24px;font-variant-numeric:tabular-nums}.br-placements strong{overflow-wrap:anywhere}.br-no-winner{padding:15px;background:#e8e7df;border-radius:12px;font-size:14px}.br-entry>.text-button,.br-room>.text-button{display:block;min-height:44px;margin:14px auto 0}.br-entry .primary{margin-top:16px}.br-rules p{margin:0 0 13px}@media(max-width:740px){.br-entry h1,.br-room h1{font-size:28px}.br-result-row{gap:9px;font-size:12px}.br-roster{gap:7px}.br-roster>div{padding:10px}}@media(max-width:340px){.br-result-row{grid-template-columns:minmax(0,1fr) 52px 50px}.br-result-swatches i{width:24px;height:32px}.br-roster strong{font-size:12px}}
/* Optional character acting stays inside a fixed visual window, below controls. */
.mascot-window{width:100%;height:100%;overflow:hidden;position:relative;border-radius:18px;pointer-events:none;isolation:isolate}
.mascot-window .mascot-portrait.mascot-life-active{transition:transform .36s ease-in-out,opacity .25s ease-in-out;will-change:auto}
.mascot-window .mascot-portrait.mascot-life-hide{transform:translateY(110%);opacity:0}
.mascot-window .mascot-portrait.mascot-life-peek{transform:translateY(27%);opacity:1}
.mascot-window .mascot-portrait.mascot-life-return{transform:translateY(0);opacity:1}
.mascot-rig:has(.mascot-life-hide) .mascot-part{visibility:hidden}
.mascot-rig:has(.mascot-life-peek) .mascot-tail,.mascot-rig:has(.mascot-life-peek) .mascot-body{visibility:hidden}
.mascot-rig:has(.mascot-life-peek) .mascot-eye{left:60%;top:79%}
.mascot-motion-setting{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px;line-height:1.5;cursor:pointer}
.mascot-motion-setting input{width:20px;height:20px;accent-color:#654c86;flex:none}
@media(prefers-reduced-motion:reduce){.mascot-window .mascot-portrait.mascot-life-active{transition:none!important;transform:none!important;opacity:1!important}}

.mascot-rig:has([data-mascot-frame="yawn-start"]) .mascot-eye{left:67.38%;top:39.87%;}
.mascot-rig:has([data-mascot-frame="yawn-start"]) .mascot-tail{left:26.32%;top:64.99%;}
.mascot-rig:has([data-mascot-frame="yawn-peak"]) .mascot-eye{left:63.80%;top:33.89%;}
.mascot-rig:has([data-mascot-frame="yawn-peak"]) .mascot-tail{left:25.92%;top:65.79%;}
.mascot-rig:has([data-mascot-frame="tail-look"]) .mascot-eye{left:69.78%;top:39.07%;}
.mascot-rig:has([data-mascot-frame="tail-look"]) .mascot-tail{left:25.92%;top:64.19%;}
.mascot-rig:has([data-mascot-frame="tail-reach"]) .mascot-eye{left:65.23%;top:41.47%;}
.mascot-rig:has([data-mascot-frame="tail-reach"]) .mascot-tail{left:25.52%;top:64.99%;}
.mascot-rig:has([data-mascot-frame="tail-catch"]) .mascot-eye{left:66.59%;top:39.07%;}
.mascot-rig:has([data-mascot-frame="tail-catch"]) .mascot-tail{left:26.71%;top:60.61%;}
.mascot-rig:has([data-mascot-frame="surprised"].mascot-life-peek) .mascot-eye{left:66%;top:66%}
/* A visible profile destination, with the saved identity separate from drafts. */
.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:22px}.profile-tab{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 14px;border:1px solid #c9c6b9;border-radius:14px;background:#fffaf2;color:#33372d;font-size:13px;font-weight:700;white-space:nowrap}.profile-tab-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#dcebbe}.profile-tab-arrow{font-size:16px;margin-left:3px}.profile-tab[aria-expanded=true]{background:#dcebbe;border-color:#84956d}.profile-tab:hover:not(:disabled){background:#edf1df}.profile-tab:disabled{cursor:default;opacity:.5}.profile-dialog{background:#fcfaf4;border-color:#ddd6d2;padding:31px;max-width:590px}.profile-dialog .dialog-close{width:44px;height:44px;top:8px;right:8px}.profile-dialog .profile-eyebrow{color:#5f654f;letter-spacing:.12em;margin:0 50px 10px 0}.profile-dialog h2{font-size:29px;line-height:1.12;margin:0 20px 9px 0;max-width:440px}.profile-intro{margin:0 0 22px!important}.player-card{border:1px solid #dcd4dc;border-radius:22px;background:linear-gradient(125deg,#e4edcc,#f6e6dd 55%,#e9e0f2);padding:21px}.player-identity{display:flex;gap:16px;align-items:center}.player-avatar{width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;border-radius:22px;background:#fcfaf2;border:1px solid #fff;box-shadow:0 5px 0 #514c3920;color:#3e4935;font-size:24px;font-weight:700;letter-spacing:-1px}.player-identity-copy{min-width:0}.player-kicker{font-size:10px;color:#555c4b}.player-identity h3{font-size:23px;line-height:1.16;letter-spacing:-.5px;margin:5px 0 9px;overflow-wrap:anywhere}.profile-visibility-status{display:inline-block;font-size:10px;background:#fff9;border:1px solid #fff;border-radius:30px;padding:5px 9px;color:#4c5543}.profile-record{display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid #5c605529;margin-top:20px;padding-top:17px}.profile-record span{font-size:12px;font-weight:700}.profile-record p{font-size:10px;line-height:1.35;margin:5px 0 0;color:#626455}.profile-record strong{font-size:24px;letter-spacing:-.7px;text-align:right;min-width:0;max-width:48%;overflow-wrap:anywhere}.profile-section{margin-top:24px}.profile-section>h3{font-size:16px;letter-spacing:-.2px;margin:0 0 15px}.profile-section .field-label{font-size:12px;margin:0 0 9px}.profile-section .name-input{font-size:16px;min-height:50px}.profile-random{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;background:#f1edf3}.profile-random span{font-size:22px;line-height:1}.profile-section>.quiet{margin:8px 0 13px}.profile-privacy{border-top:1px solid #ddd9cf;padding-top:23px}.profile-privacy .check-label{justify-content:space-between;margin:0;gap:20px;font-size:14px;font-weight:700;padding:12px 14px;border:1px solid #d3d9c6;background:#eef2e5;border-radius:13px}.profile-privacy .check-label input{width:25px;height:25px;flex:0 0 25px;margin:0;accent-color:#5f7543}.profile-preview{background:#f3f0e9;border:1px dashed #cac4b7;border-radius:13px;padding:14px}.profile-preview>span{display:block;font-size:10px;color:#606659}.profile-preview strong{display:block;font-size:17px;overflow-wrap:anywhere;margin-top:6px}.profile-preview p{margin:7px 0 0;line-height:1.4}.profile-public-note{margin:21px 0 0}.profile-device-note{margin:0;color:#6c7066}.profile-dialog .primary{margin:17px 0 13px;display:block;width:100%}.profile-dialog .quiet{color:#5f6558}
@media(max-width:740px){.topbar{grid-template-columns:minmax(0,1fr) auto;gap:12px}.topbar>.wordmark{grid-column:1;grid-row:1}.topbar>.header-actions{grid-column:2;grid-row:1}.profile-tab{grid-column:1/-1;grid-row:2;width:100%;justify-content:flex-start;min-height:44px;padding:7px 12px}.profile-tab-arrow{margin-left:auto}.home-active .topbar{padding-bottom:12px}.profile-dialog{padding:24px}.profile-dialog h2{font-size:27px}.player-card{padding:17px}.player-avatar{width:58px;height:58px;flex-basis:58px;font-size:21px;border-radius:19px}.player-identity{gap:12px}.player-identity h3{font-size:21px}.profile-record{gap:12px}.profile-record strong{font-size:21px}.profile-record p{max-width:180px}}
@media(max-width:360px){.profile-dialog{padding:21px}.player-card{padding:14px}.player-avatar{width:50px;height:50px;flex-basis:50px}.player-identity h3{font-size:19px}.profile-record strong{font-size:19px}.profile-record p{font-size:9px}}
.motion-diagnostics{margin-top:14px;padding:14px;border:1px solid #d7d9cb;border-radius:13px;background:#eceee4}.motion-diagnostics>p:first-child{margin:0 0 12px;color:#4c5645;font-size:12px}.motion-diagnostics .secondary{width:100%;background:#fcfaf4}.motion-diagnostics>.quiet{margin:9px 0 0;font-size:10px!important}
/* Home-only roaming uses the full viewport, with collision-checked clear paths. */
.mascot-safe-area{position:fixed;left:0;top:0;width:0;height:0;visibility:hidden;pointer-events:none;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.home-card.fade-in{animation:none;transform:none}.home-stage-anchor{height:210px;display:grid;place-items:center;position:relative;margin-bottom:12px}.home-stage-anchor .home-mascot-rig{width:200px;height:200px;margin:0}.mascot-roaming{z-index:4;pointer-events:none;will-change:left,top}.mascot-roaming .mascot-part{pointer-events:auto}.mascot-facing-left{transform:scaleX(-1)}.mascot-life-idle{transform-origin:50% 90%;animation:mascot-breathe var(--mascot-life-breath-duration,3.5s) ease-in-out infinite}@keyframes mascot-breathe{0%,100%{transform:scaleY(1)}45%{transform:scaleY(1.014)}72%{transform:scaleY(1.006)}}@media(max-width:740px){.home-stage-anchor{height:185px;margin-bottom:10px}.home-stage-anchor .home-mascot-rig{width:180px;height:180px}}@media(prefers-reduced-motion:reduce){.mascot-life-idle{animation:none;transform:none}.mascot-roaming{transition:none!important}}

.home-stage-anchor .mascot-part{width:44px;height:44px}



.mascot-rig:has([data-mascot-frame="walk-contact-a"]) .mascot-eye{left:66.8%;top:39.9%}
.mascot-rig:has([data-mascot-frame="walk-contact-a"]) .mascot-tail{left:26.1%;top:63.2%}
.mascot-rig:has([data-mascot-frame="walk-contact-a"]) .mascot-body{left:69.9%;top:70%}
.mascot-rig:has([data-mascot-frame="walk-passing-b"]) .mascot-eye{left:66%;top:39.8%}
.mascot-rig:has([data-mascot-frame="walk-passing-b"]) .mascot-tail{left:25.6%;top:63%}
.mascot-rig:has([data-mascot-frame="walk-passing-b"]) .mascot-body{left:69.1%;top:70%}
.mascot-rig:has([data-mascot-frame="fly-catch"]) .mascot-eye{left:57%;top:42%}
.mascot-rig:has([data-mascot-frame="fly-catch"]) .mascot-tail{left:24%;top:66%}
.mascot-rig:has([data-mascot-frame="fly-catch"]) .mascot-body{left:66%;top:72%}
.mascot-rig:has([data-mascot-frame="fly-satisfied"]) .mascot-eye{left:62%;top:42%}
.mascot-rig:has([data-mascot-frame="fly-satisfied"]) .mascot-tail{left:25%;top:66%}
.mascot-rig:has([data-mascot-frame="fly-satisfied"]) .mascot-body{left:66%;top:72%}
.mascot-rig:has([data-mascot-frame="roll-down"]) .mascot-eye{left:72%;top:52%}
.mascot-rig:has([data-mascot-frame="roll-down"]) .mascot-tail{left:21%;top:67%}
.mascot-rig:has([data-mascot-frame="roll-down"]) .mascot-body{left:55%;top:83%}
.mascot-rig:has([data-mascot-frame="belly-up-rest"]) .mascot-eye{left:75.5%;top:55%}
.mascot-rig:has([data-mascot-frame="belly-up-rest"]) .mascot-tail{left:19.4%;top:67.1%}
.mascot-rig:has([data-mascot-frame="belly-up-rest"]) .mascot-body{left:53.4%;top:85%}

/* Reserve a real walking lane above controls on narrow home screens. */
@media(max-width:740px){.home-stage-anchor{height:190px;margin-bottom:10px}.home-stage-anchor .home-mascot-rig{width:150px;height:150px}}

/* A preview of the exact exported 9:16 PNG, with every control outside the image. */
.story-launch{width:100%;justify-content:space-between;background:#6024ed;color:#fffaf0;border-color:#6024ed;font-weight:750}
.story-launch:hover{background:#5120cb;color:#fffaf0}.story-dialog{width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:30px;overflow:auto;border-radius:26px}
.story-dialog h2{margin:0 0 22px}.story-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.85fr);gap:28px;align-items:start}
.story-preview-shell{background:#e9e5f3;border-radius:20px;min-height:180px;padding:12px;text-align:center;overflow:hidden}.story-preview{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain;border-radius:10px}.story-preview[hidden]{display:none}.story-preview-shell p{margin:12px 4px 4px;font-size:13px;line-height:1.5}
.story-options{min-width:0}.story-options fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}.story-options legend{font-weight:750;margin-bottom:10px;font-size:15px}.story-tabs{display:flex;gap:8px}.story-tabs button{flex:1;padding:10px;min-height:44px}.story-tabs [aria-pressed=true]{background:#272822;color:#fff;border-color:#272822}
.story-record-options{display:grid;gap:6px}.story-record-options label{display:flex;align-items:center;gap:9px;min-height:44px;padding:6px 9px;border:1px solid #dedbd5;border-radius:10px;font-size:14px}.story-record-options input{width:18px;height:18px;accent-color:#6024ed}.story-record-options label:has(input:disabled){opacity:.58}.story-options .primary,.story-download{width:100%;margin:8px 0;min-height:48px;display:flex;align-items:center;justify-content:center;text-decoration:none}.story-download[aria-disabled=true]{opacity:.5;pointer-events:none}.story-options .quiet{font-size:12px;line-height:1.55}.story-options .text-button{min-height:44px}.story-options input[readonly]{width:100%;padding:10px;min-height:44px;border:1px solid #b9b5ab;border-radius:8px;font:inherit}
@media(max-width:620px){.story-dialog{padding:24px 18px}.story-dialog h2{font-size:26px;margin-bottom:16px}.story-layout{grid-template-columns:minmax(0,1fr);gap:20px}.story-preview{max-height:47dvh}.story-preview-shell{padding:10px}.story-tabs{flex-wrap:wrap}.story-dialog .dialog-close{right:10px;top:10px}}
@media(max-height:500px) and (min-width:621px){.story-preview{max-height:75dvh}}
.story-dialog .dialog-close{width:44px;height:44px;top:10px;right:10px}.story-dialog>.eyebrow{padding-right:48px;min-height:20px;margin-bottom:18px}

/* Foreground glass pet: visual overlap is intentional, input interception is not. */
.glass-pet-layer{position:fixed;inset:0;z-index:40;pointer-events:none!important;overflow:hidden}.glass-pet-layer[hidden]{display:none}.glass-pet-rig,.glass-pet-image{pointer-events:none}.glass-pet-image{position:relative}.glass-silhouette{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.glass-part{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;z-index:2}.glass-part.glass-neck{z-index:1;cursor:grab}.glass-pet-rig[data-glass-phase="dragging"] .glass-silhouette,.glass-pet-rig[data-glass-phase="dragging"] .glass-part{cursor:grabbing}.mascot-grabbed,.mascot-grabbed *{user-select:none!important;-webkit-user-select:none!important}.glass-pet-rig{position:fixed;left:0;top:0;width:130px;height:130px;will-change:left,top}.glass-pet-image{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-select:none}.glass-part{position:absolute;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:transparent;cursor:pointer}.glass-part:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 6px #432277;outline-offset:0}.home-card.fade-in{animation:none;transform:none}.home-card{padding-top:18px}
@media(prefers-reduced-motion:reduce){.glass-pet-rig,.glass-pet-image{transition:none!important;animation:none!important}}

/* Gesture moods animate the sprite and its targets together; travel stays on the rig. */
.glass-pet-motion{position:absolute;inset:0;pointer-events:none;transform-origin:50% 75%;will-change:transform}
.glass-pet-emotion{position:absolute;left:50%;top:-12px;transform:translateX(-50%);white-space:nowrap;font-size:22px;font-weight:800;color:#ba3972;text-shadow:0 2px 0 #fff;pointer-events:none;user-select:none}
.glass-pet-emotion[hidden]{display:none}
.glass-pet-rig[data-glass-mood="carry"] .glass-pet-motion{animation:pet-carry .8s ease-in-out infinite}
.glass-pet-rig[data-glass-mood="carry"] .glass-pet-emotion{animation:pet-heart .8s ease-in-out infinite}
.glass-pet-rig[data-glass-mood="landing"] .glass-pet-motion{animation:pet-landing .42s ease-out both}
.glass-pet-rig[data-glass-mood="pet"] .glass-pet-motion{animation:pet-nuzzle 1.99s ease-in-out both}
.glass-pet-rig[data-glass-mood="hearts"] .glass-pet-motion{animation:pet-nuzzle 1.77s ease-in-out both}
.glass-pet-rig[data-glass-mood="hearts"] .glass-pet-emotion,.glass-pet-rig[data-glass-mood="pet"] .glass-pet-emotion{animation:pet-hearts 1.7s ease-out both}
.glass-pet-rig[data-glass-mood="grumpy"] .glass-pet-motion{animation:pet-grumpy .34s ease-in-out 4}
.glass-pet-rig[data-glass-mood="grumpy"] .glass-pet-emotion{color:#b14636;animation:pet-complain .7s ease-in-out 2}
.glass-pet-rig[data-glass-mood="escape"] .glass-pet-motion{opacity:.46;animation:pet-ghost 1.26s ease-in-out both}
.glass-pet-rig[data-glass-mood="escape"] .glass-pet-emotion{color:#526078}
.glass-pet-rig[data-glass-mood="sleepy"] .glass-pet-motion{animation:pet-sleepy 2.04s ease-in-out both}
.glass-pet-rig[data-glass-mood="sleepy"] .glass-pet-emotion{color:#69749b;animation:pet-hearts 2.04s ease-out both}
.glass-pet-rig[data-glass-mood="shy"] .glass-pet-motion{animation:pet-shy 1.77s ease-in-out both}
.glass-pet-rig[data-glass-mood="boop"] .glass-pet-motion,.glass-pet-rig[data-glass-mood="color"] .glass-pet-motion{animation:pet-boop .7s ease-out both}
.glass-pet-rig[data-glass-mood="shy"] .glass-pet-emotion,.glass-pet-rig[data-glass-mood="boop"] .glass-pet-emotion,.glass-pet-rig[data-glass-mood="color"] .glass-pet-emotion{color:#9561ae;animation:pet-hearts 1.1s ease-out both}
@keyframes pet-carry{0%,100%{transform:rotate(-7deg) translateY(5px) scale(.97,1.06)}50%{transform:rotate(7deg) translateY(8px) scale(.97,1.06)}}
@keyframes pet-heart{50%{transform:translateX(-50%) translateY(-5px) scale(1.12)}}
@keyframes pet-landing{0%{transform:translateY(-5px) scale(.96,1.06)}45%{transform:translateY(4px) scale(1.08,.9)}75%{transform:translateY(-2px) scale(.99,1.02)}100%{transform:none}}
@keyframes pet-nuzzle{0%,100%{transform:none}22%,68%{transform:rotate(-5deg) translateY(-3px)}45%,82%{transform:rotate(5deg) translateY(1px)}}
@keyframes pet-hearts{0%{opacity:0;transform:translateX(-50%) translateY(4px) scale(.75)}20%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translateX(-50%) translateY(-25px) scale(1.2)}}
@keyframes pet-grumpy{0%,100%{transform:none}25%{transform:translateX(-3px) rotate(-3deg)}75%{transform:translateX(3px) rotate(3deg)}}
@keyframes pet-complain{50%{transform:translateX(-50%) scale(1.2)}}
@keyframes pet-ghost{0%{opacity:1}22%,75%{opacity:.38}100%{opacity:.8}}
@keyframes pet-sleepy{0%,100%{transform:none}40%,70%{transform:translateY(3px) scale(1.025,.975)}}
@keyframes pet-shy{0%,100%{transform:none}30%{transform:translateY(5px) scale(.91)}65%{transform:translateY(-1px) rotate(-4deg) scale(.96)}}
@keyframes pet-boop{0%,100%{transform:none}30%{transform:translateY(-12px) scale(1.04,.96)}65%{transform:translateY(2px) scale(.98,1.02)}}
@media(prefers-reduced-motion:reduce){.glass-pet-motion,.glass-pet-emotion{animation:none!important;transform:none!important;opacity:1!important}}

/* One finite Solo result sequence. Permanent comparison swatches never animate. */
.result-transition-row{display:flex;align-items:center;gap:10px;margin-top:15px;font-size:10px;color:var(--muted)}.result-transition{position:relative;height:10px;flex:1;border-radius:8px;overflow:hidden}.result-transition i{position:absolute;inset:0;opacity:0}.result-preview-playing i{animation:result-color-crossfade .4s ease-out both}@keyframes result-color-crossfade{from{opacity:1}to{opacity:0}}.color-tip{font-size:13px;line-height:1.5;margin:10px 0 0;color:var(--ink)}.near-match-label{display:inline-block;margin:10px 0 0;padding:6px 10px;border:1px solid #a9c379;background:#e9f3d6;border-radius:20px;font-size:11px;font-weight:700}.result-near-accent{animation:result-near-pop .55s ease-out}@keyframes result-near-pop{0%{box-shadow:0 0 0 0 #a9c37999}100%{box-shadow:0 0 0 9px #a9c37900}}.result-mascot-static{height:150px;width:100%;display:flex;align-items:center;justify-content:center}.result-mascot-static .mascot-portrait{height:100%;width:100%;object-fit:contain;transform:none;filter:none}.result-mascot-reacting{animation:result-mascot-hello .6s ease-out!important}@keyframes result-mascot-hello{0%,100%{transform:rotate(0)}30%{transform:rotate(-5deg)}65%{transform:rotate(3deg)}}.strongest-match{border-top:1px solid var(--line);margin:18px 0 14px;padding-top:13px}.strongest-match p{font-size:12px;line-height:1.5;margin:0 0 9px}.strongest-swatches{display:flex;flex-wrap:wrap;gap:9px}.strongest-swatches span{display:flex;align-items:center;gap:5px;font-size:10px}.strongest-swatches i{width:20px;height:20px;display:block;border-radius:6px;border:1px solid #0001}.strongest-match small{display:block;font-size:9px;color:var(--muted);line-height:1.5;margin-top:9px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:380px){.result-mascot-static{height:110px}.result-transition-row{margin-top:12px}}@media(prefers-reduced-motion:reduce){.result-preview-playing i,.result-mascot-reacting,.result-near-accent{animation:none!important;transform:none!important}.result-transition i{opacity:0!important}}

/* Battle result/rematch additions. Append to public/game/style.css. */
.br-own-result{margin:20px 0 12px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--white)}
.br-own-result h2{margin:0 0 12px;font-size:15px;font-weight:650;color:var(--muted)}
.br-own-status{margin:0;font-size:22px;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.br-own-score{display:block;font-size:42px;line-height:1.2;margin:8px 0;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.br-own-result>p:last-child{font-size:13px;line-height:1.6;margin:12px 0 0}
.br-own-result .br-result-swatches{margin:14px 0;gap:7px}
.br-own-result .br-result-swatches i{width:56px;height:48px}
.br-milestone{font-size:14px;font-weight:700;line-height:1.45;padding:12px 15px;background:#e8e7df;border-radius:12px;margin:0 0 18px}
.br-result-row{border-radius:8px;outline:2px solid transparent;outline-offset:1px}
.br-result-highlight{outline-color:var(--ink);background:#e8e7df}
.br-rematch{margin:26px 0 18px;padding:18px;border:1px solid var(--line);border-radius:16px;text-align:left}
.br-rematch h2{font-size:21px;line-height:1.3;margin:0 0 12px}
.br-rematch h3{font-size:14px;line-height:1.4;margin:18px 0 10px}
.br-rematch p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.br-rematch button{width:100%;min-height:46px;white-space:normal;line-height:1.4;margin-top:10px;padding:12px}
.br-rematch-actions{display:grid;gap:2px}
.br-consent-roster{list-style:none;padding:0;margin:10px 0 16px;display:grid;gap:8px}
.br-consent-roster li{padding:11px 12px;border-radius:10px;background:#e8e7df;min-width:0}
.br-consent-roster strong,.br-consent-roster span{display:block;overflow-wrap:anywhere;line-height:1.4}
.br-consent-roster strong{font-size:13px}.br-consent-roster span{font-size:11px;color:var(--muted);margin-top:4px}
.br-consent-roster small,.br-rematch-review small{font-size:10px;font-weight:400;letter-spacing:.03em}
.br-consent-accepted,.br-rematch-pending{padding:11px 12px;border:1px solid var(--line);border-radius:10px}
.br-consent-accepted{font-weight:700}
.br-rematch-review{padding:14px;margin-top:14px;border:2px solid var(--ink);border-radius:12px;background:var(--white)}
.br-rematch-review h3{margin-top:0}.br-rematch-review ul{padding-left:20px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
#br-result-heading:focus-visible,#br-review-heading:focus-visible{outline:2px solid var(--ink);outline-offset:5px;border-radius:3px}
@media(max-width:360px){.br-own-result{padding:16px}.br-own-status{font-size:20px}.br-own-score{font-size:36px}.br-rematch{padding:13px}.br-rematch-review{padding:11px}.br-rematch h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.br-result-highlight{outline-color:transparent;background:transparent}}

/* Daily is deliberately static during exposure and untimed mixing. */
.daily-game,.daily-game *{animation:none!important;transition:none!important}
.daily-game{max-width:540px;margin-inline:auto}
.daily-game h1{outline:none}
.daily-game button,.daily-game summary,.daily-game input[type=range]{min-height:44px}
.daily-game button{white-space:normal;overflow-wrap:anywhere}
.daily-game .sample{margin-inline:auto}
.daily-date{font-weight:650;margin:.4rem 0 1rem}
.daily-badge{display:inline-block;font-size:.85rem;font-weight:700;padding:.4rem .7rem;border:1px solid currentColor;border-radius:999px}
.daily-clock{font-size:1.25rem;font-weight:750;min-height:1.8em;font-variant-numeric:tabular-nums}
.daily-exposure{box-shadow:none}
.daily-score{font-size:clamp(2rem,9vw,3.3rem);line-height:1.15;font-weight:800;margin:1rem 0}
.daily-saved{font-weight:650;padding:.8rem;background:rgba(127,127,127,.08);border-radius:12px}
.daily-saved span{font-size:.85rem;font-weight:400}
.daily-rules{margin-top:1.2rem;text-align:left}
.daily-rules summary{display:list-item;cursor:pointer;padding:.7rem .2rem}
.daily-rules p{font-size:.88rem;line-height:1.5}
.daily-previous{border-top:1px solid rgba(127,127,127,.25);margin-top:1.2rem;padding-top:.8rem}
.daily-previous h2{font-size:1rem}
.daily-navigation{display:flex;flex-direction:column;gap:.45rem;margin-top:1rem}
.daily-error{font-size:.88rem;line-height:1.4;color:var(--ink,#272823)}
.daily-error:empty{display:none}
.daily-comparison{gap:12px}
.daily-comparison>div{min-width:0}
.daily-comparison .sample{width:100%;max-width:220px}
.daily-game textarea{width:100%;min-height:110px;box-sizing:border-box;font:inherit;resize:vertical;padding:.7rem;border:1px solid currentColor;border-radius:8px}
.daily-game .range{touch-action:pan-y}
@media(max-width:360px){.daily-game{padding-inline:12px}.daily-comparison{gap:8px}.daily-game .comparison-label{font-size:.8rem}}
@media(max-height:500px) and (orientation:landscape){.daily-game .sample{max-height:150px}.daily-game .daily-comparison .sample{max-height:120px}}

/* v30: keep the next action within the short result flow. */
.home-howto{font-size:15px;line-height:1.5;margin:0 0 20px;color:var(--ink)}
.fine-controls{display:flex;align-items:center;gap:8px}.fine-controls output{min-width:38px;text-align:center;font-variant-numeric:tabular-nums}.fine-step{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--ink);font-size:22px;cursor:pointer}.fine-step:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.feedback-compact .comparison .sample{height:160px}.feedback-compact .feedback-score{margin:18px 0 8px}.feedback-compact .primary{margin-top:20px}.feedback-details{border-top:1px solid var(--line);margin-top:20px;padding-top:6px}.feedback-details summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:13px;font-weight:700}.feedback-details summary::after{content:'+';margin-left:auto;font-size:20px}.feedback-details[open] summary::after{content:'−'}.feedback-details .mascot-response{margin-top:4px}.result-summary-score{display:flex;align-items:baseline;gap:10px;margin:20px 0}.result-summary-score strong{font-size:52px;letter-spacing:-2px;line-height:1.1}.result-summary-score span{font-size:12px;color:var(--muted)}
@media(max-width:740px){.adjust-game .sample{height:155px}.adjust-game .sliders{margin-top:20px}.adjust-game .slider-top{margin-bottom:5px}.adjust-game>.primary{position:sticky;bottom:max(12px,env(safe-area-inset-bottom));z-index:2;box-shadow:0 8px 24px #0002}.feedback-compact .comparison .sample{height:120px}.feedback-compact h1{font-size:25px;margin-bottom:8px}.feedback-compact>.subtitle{margin-bottom:16px}.feedback-compact .feedback-score strong{font-size:46px}.feedback-compact .result-transition-row{margin-top:10px}.feedback-compact .game-top{margin-bottom:16px}.feedback-compact .color-tip{font-size:12px}.results .result-intro h1{font-size:30px}.results .result-main-actions .access-note{margin:10px 0}.result-summary-score{margin:12px 0}.result-summary-score strong{font-size:44px}}
