:root{color-scheme:dark;--ink:#f3e8ce;--muted:#b2a58d;--gold:#c4a461;--gold-light:#f3d797;--border:#66543b;--panel:#211e19;--parchment:#dfc9a0;--red:#852f28;--green:#a3b779;--error:#f0a292;--body-font:Inter,"Segoe UI",Arial,sans-serif;--heading-font:"Palatino Linotype",Palatino,Georgia,serif}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh;font-family:var(--body-font);font-size:15px;line-height:1.5;background:#121512;color:var(--ink);background-image:radial-gradient(ellipse at 50% -15%,#5d492c40,transparent 65%),linear-gradient(125deg,#101611,#1c1b16 45%,#111713);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}input,select,textarea{width:100%;color:var(--ink);background:#141713;border:1px solid #74603d;border-radius:4px;padding:12px 14px;box-shadow:inset 0 2px 5px #0006;min-height:46px}input::placeholder,textarea::placeholder{color:#90846e}input:focus,select:focus,textarea:focus{outline:2px solid var(--gold);outline-offset:2px}button:focus-visible,a:focus-visible{outline:2px solid var(--gold-light);outline-offset:3px}input[type=range]{padding:0;box-shadow:none}a{color:var(--gold-light);text-underline-offset:3px}h1,h2,h3{font-family:var(--heading-font);font-weight:500;line-height:1.15;margin-top:0;color:var(--ink)}h1{font-size:clamp(32px,5vw,47px)}h2{font-size:27px}h3{font-size:21px}p{margin:0 0 1em}label{display:block}strong{font-weight:650}[hidden]{display:none!important}.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}.eyebrow{display:block;color:var(--gold);font-size:10px;text-transform:uppercase;letter-spacing:.2em;font-weight:700}.muted{color:var(--muted)}.small{font-size:12px}.panel{border:1px solid var(--border);background:linear-gradient(140deg,#29261f,#1b1d18);border-radius:6px;box-shadow:0 8px 30px #0004,inset 0 1px 0 #ddc38b12}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 19px;border:1px solid #8e7447;border-radius:4px;background:linear-gradient(#4c4332,#342d24);color:#f9e7be;box-shadow:inset 0 1px 0 #fce5ad25,inset 0 -2px 0 #0007,0 2px 4px #0004;text-decoration:none;font-size:13px;font-weight:650;line-height:1.3}.button:hover:not(:disabled){filter:brightness(1.15)}.button-primary{background:linear-gradient(#a54031,#6d251f);border-color:#c49a4b;color:#fff0ce;box-shadow:inset 0 1px 0 #e4ae7544,inset 0 -3px 0 #411411,0 3px 10px #0005}.button-secondary{background:linear-gradient(#393f2e,#242b20);border-color:#687151}.button-quiet{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 10px;background:transparent;border:0;color:var(--gold-light);text-decoration:underline;text-underline-offset:4px;font-size:12px}.button-quiet:hover{color:#fff1ce}.avatar{display:inline-block;width:38px;height:38px;border:1px solid #a98c51;border-radius:4px;object-fit:cover;vertical-align:middle;box-shadow:inset 0 0 0 2px #0008,0 2px 5px #0005}.avatar-large{width:68px;height:68px;border-width:2px}.connection-status{display:inline-flex;gap:7px;align-items:center;color:#a7b795;font-size:11px;white-space:nowrap}.connection-status:before{content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#94b479;box-shadow:0 0 8px #a9cb6550}.connection-status.connecting{color:#bba888}.connection-status.connecting:before{background:#c3a160}.connection-status.offline{color:#e2a18f}.connection-status.offline:before{background:#dc8a77}.brand{display:inline-flex;gap:12px;align-items:center;text-decoration:none}.brand-crest{width:34px;height:43px;fill:none;stroke:var(--gold);stroke-width:1.15}.brand-crest path:nth-child(2){fill:#c4a46120}.brand-crest circle{fill:#d9bd79}.brand-name{font-family:var(--heading-font);font-size:27px;display:block;line-height:.95;letter-spacing:.015em;color:#e6cb8f}.brand-subtitle{font-size:9px;display:block;letter-spacing:.29em;text-transform:uppercase;margin-top:7px;color:#b9aa8d}.ambient-light{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 15% 35%,#81935c05,transparent 40%);z-index:-1}.player-shell{width:min(760px,100% - 40px);margin:0 auto}.player-header{display:flex;justify-content:space-between;align-items:center;padding:31px 0 24px;border-bottom:1px solid #b3975b28;margin-bottom:37px}.player-connection{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.player-connection button{min-height:30px;padding:2px}.quest-intro{text-align:center;margin:0 0 29px}.quest-intro .eyebrow{margin-bottom:12px}.quest-intro h1{margin-bottom:10px}.quest-intro p{color:var(--muted);font-size:13px;line-height:1.6}.quest-window{position:relative;border:1px solid #a88a50;border-radius:8px;background:#211d16;box-shadow:0 22px 70px #0007,inset 0 0 0 3px #070807;overflow:hidden}.quest-window:before,.quest-window:after{content:"";position:absolute;z-index:2;width:5px;height:5px;border-radius:50%;background:#a68d57;box-shadow:0 1px 1px #000;bottom:9px}.quest-window:before{left:9px}.quest-window:after{right:9px}.quest-window-bar{min-height:53px;display:flex;align-items:center;gap:13px;padding:8px 22px;background:linear-gradient(#343329,#22251d);border-bottom:1px solid #af8c4d;box-shadow:inset 0 1px 0 #c1aa7a33;font-family:var(--heading-font);font-size:18px;color:#e9d7ad}.quest-emblem{display:inline-flex;width:25px;height:30px;align-items:center;justify-content:center;color:#f4d172;font-family:Georgia,serif;font-size:29px;font-weight:700;text-shadow:0 2px 2px #000}.window-rivet{margin-left:auto;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#c7b075,#655333);box-shadow:0 1px 1px #000}.quest-body{padding:29px}.character-introduction{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.character-introduction h2{font-size:29px;margin:0 0 8px}.character-introduction p{color:var(--muted);max-width:400px;font-size:13px;margin:0}.character-seal{flex-shrink:0;display:flex;width:49px;height:49px;justify-content:center;align-items:center;border:1px solid #ad8f554d;border-radius:50%;color:#b09b67;font-size:28px;font-family:Georgia,serif;background:#a18a3b0a}.field-label{font-size:12px;font-weight:600;color:#cfbe9a;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.field-hint{font-size:10px;font-weight:400;color:#8f8878}.character-name{font-size:17px;letter-spacing:.015em}.character-avatars{margin-top:24px}.avatar-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;margin-top:11px}.avatar-choice{position:relative;width:100%;aspect-ratio:1;border:1px solid #63573e;background:#10130f;border-radius:4px;padding:5px;box-shadow:inset 0 0 0 1px #000;transition:border-color .1s,box-shadow .1s}.avatar-choice img{display:block;width:100%;height:100%;object-fit:cover;border-radius:2px;opacity:.72;filter:saturate(.8)}.avatar-choice:hover img,.avatar-choice[aria-checked=true] img{opacity:1;filter:none}.avatar-choice[aria-checked=true]{border:2px solid #e3c16d;padding:4px;box-shadow:0 0 0 1px #8a6e36,0 0 15px #d6a23a22}.avatar-choice[aria-checked=true]:after{content:"✓";position:absolute;bottom:1px;right:1px;background:#debc6d;color:#251d10;font-size:10px;font-weight:800;line-height:15px;width:15px;text-align:center;border-radius:1px}.avatar-name{margin:10px 0 0;font-size:11px;color:#a59679}.avatar-name strong{color:#dfc899}.character-preview{display:flex;align-items:center;gap:14px;border-top:1px solid #a48e5928;margin-top:26px;padding-top:21px}.character-preview .avatar{width:42px;height:42px}.character-preview-text{flex:1;min-width:0}.character-preview-name{font-family:var(--heading-font);font-size:20px;color:#e8d2a5;overflow-wrap:anywhere}.character-preview-text small{display:block;font-size:10px;color:#9e947e;margin-top:1px}.character-submit{min-width:190px}.character-footnote{margin:13px 0 0;text-align:center;font-size:10px;color:#8b826d}.character-secondary{display:flex;align-items:center;justify-content:center;gap:3px;font-size:11px;color:#a59a81;margin-top:12px}.character-error,.answer-error{color:var(--error);font-size:12px;line-height:1.5;margin:13px 0 0}.character-warning{border:1px solid #87673a;padding:13px 16px;background:#5843232e;color:#d4bf95;font-size:12px;border-radius:4px;margin-bottom:20px}.character-warning p:last-child{margin-bottom:0}.character-actions{display:flex;gap:10px;margin-top:22px}.recovery-description{color:var(--muted);font-size:13px;line-height:1.7}.recovery-status{text-align:center;padding:24px 10px}.recovery-status .status-symbol{margin-bottom:18px}.recovery-status h2{margin:0 0 10px}.recovery-status p{color:var(--muted);max-width:420px;margin:0 auto 18px;font-size:13px}.status-symbol{display:inline-flex;align-items:center;justify-content:center;width:65px;height:65px;border-radius:50%;border:1px solid #b59a574d;color:#d0b570;font-size:30px;background:radial-gradient(#d6b05e15,transparent);font-family:var(--heading-font)}.player-loading{text-align:center;padding:52px 20px;color:var(--muted);font-size:13px}.loading-orbit{display:inline-block;width:26px;height:26px;border:2px solid #a68b4e33;border-top-color:#c6aa6b;border-radius:50%;animation:orbit 1.2s linear infinite;margin-bottom:14px}.player-identity{display:flex;align-items:center;gap:12px;margin-bottom:22px}.player-identity .avatar{width:48px;height:48px}.player-name-block{min-width:0;flex:1}.player-name-block h2{font-size:23px;margin:0 0 2px;overflow-wrap:anywhere}.player-name-block .eyebrow{font-size:9px;letter-spacing:.11em;color:#a7987d}.player-score{border-left:1px solid #a48e5933;padding-left:20px;text-align:right}.player-score strong{display:block;font-size:25px;font-family:var(--heading-font);line-height:1.2;color:#ead296}.player-score small{display:block;font-size:9px;color:#a79776;text-transform:uppercase;letter-spacing:.13em}.lobby-message{padding:23px;border:1px solid #80704b70;background:radial-gradient(ellipse at top,#e5bd6e0a,transparent),#161b14;text-align:center;border-radius:5px;margin-bottom:24px}.lobby-message h2{font-size:27px;margin:10px 0}.lobby-message p{color:#ada58f;font-size:12px;line-height:1.7;margin:0}.lobby-message .status-symbol{width:47px;height:47px;font-size:25px}.party-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 13px}.party-heading h3{font-family:var(--body-font);font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:650;color:#c1b18b;margin:0}.party-count{color:#8d947a;font-size:10px}.party-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.party-member{display:flex;align-items:center;gap:10px;padding:9px 10px;background:#14181285;border:1px solid #9d875a20;border-radius:4px;min-width:0}.party-member .avatar{width:32px;height:32px}.party-member-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.party-member-copy{min-width:0;flex:1}.party-member-status{font-size:9px;color:#90957b;display:block;margin-top:1px}.party-member-status.disconnected{color:#a8997c}.party-member-you{color:#e1c57e;font-size:9px}.presence-dot{height:5px;width:5px;flex-shrink:0;background:#829260;border-radius:50%}.presence-dot.offline{background:#736953}.party-empty{font-size:12px;color:#9d9279;background:#16181150;border:1px dashed #796a473e;border-radius:5px;padding:20px;text-align:center;grid-column:1/-1}.lobby-bottom{border-top:1px solid #a48e5928;margin-top:23px;padding-top:14px;text-align:center;font-size:11px;color:#a69879}.lobby-bottom p{margin:0}.lobby-edit{display:flex;justify-content:center;margin-top:6px}.quest-player-top{display:flex;align-items:center;gap:10px;margin-bottom:17px}.quest-player-top .avatar{width:32px;height:32px}.quest-player-top strong{font-size:12px;font-weight:600;flex:1;overflow-wrap:anywhere}.question-index{font-size:10px;letter-spacing:.08em;color:#b39f76}.quest-paper{position:relative;padding:28px 29px 25px;border:1px solid #bda16b;border-radius:3px;background-color:var(--parchment);background-image:radial-gradient(ellipse at 50% 10%,#f9ebc6aa,transparent 80%),linear-gradient(90deg,#94703a14,transparent 4%,transparent 95%,#94703a20);box-shadow:inset 0 0 26px #9e7c4135,0 3px 9px #0003;color:#352d20;margin-bottom:22px}.quest-paper:before,.quest-paper:after{content:"◆";position:absolute;left:12px;top:11px;font-size:7px;color:#8b6d3c66}.quest-paper:after{left:auto;right:12px}.quest-paper .eyebrow{color:#806030;letter-spacing:.16em;font-size:9px;margin-bottom:12px}.quest-paper h1,.quest-paper h2{color:#362b1d;font-size:clamp(25px,4vw,31px);line-height:1.27;margin:0;text-wrap:pretty}.question-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#958267;font-size:9px;margin:0 0 12px}.question-meta .difficulty{color:#bea477}.answer-label{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#c8b58a;font-weight:650;margin-bottom:12px}.reward-list{display:grid;gap:9px}.reward-choice{display:flex;align-items:center;gap:13px;padding:10px 14px 10px 10px;width:100%;border:1px solid #72603d;border-radius:4px;color:#f1e3c3;text-align:left;background:linear-gradient(100deg,#2a2b21,#22231d);box-shadow:inset 0 1px 0 #ddc38b0c;min-height:65px;position:relative}.reward-choice:hover:not(:disabled){background:linear-gradient(100deg,#343729,#2a2c22);border-color:#b49a62}.reward-choice[aria-checked=true]{border-color:#d5b668;background:linear-gradient(100deg,#484328,#302d20);box-shadow:0 0 0 1px #aa8a42,inset 0 0 16px #cba8520b}.reward-icon{display:flex;align-items:center;justify-content:center;width:41px;height:41px;flex-shrink:0;position:relative;border:1px solid #9e8754;background:linear-gradient(145deg,#5d6545,#212d22);box-shadow:inset 0 0 0 2px #141a11,0 2px 4px #0006;border-radius:3px}.reward-icon svg{width:28px;height:28px;stroke:#d2b773;fill:#c9a75d18;stroke-width:1.1}.reward-letter{position:absolute;bottom:-3px;right:-3px;width:16px;height:16px;display:flex;align-items:center;justify-content:center;font-size:9px;color:#fae3ad;border:1px solid #a18b52;background:#242719;border-radius:2px;font-weight:650}.reward-copy{flex:1;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.reward-tick{height:22px;width:22px;display:flex;align-items:center;justify-content:center;font-size:14px;color:#e8cb81;opacity:0}.reward-choice[aria-checked=true] .reward-tick{opacity:1}.reward-choice.is-correct{border-color:#a7bc78;background:linear-gradient(90deg,#37442b,#293421)}.reward-choice.is-correct .reward-tick{opacity:1;color:#c0da8e}.reward-choice.is-wrong{border-color:#ad6855;background:linear-gradient(90deg,#462d25,#30241e)}.reward-choice:disabled{opacity:1;cursor:default}.answer-text-field{font-size:18px;min-height:57px;padding:13px 17px;background:#11150f;border-color:#99834e;box-shadow:inset 0 2px 9px #0009}.input-caption{font-size:10px;color:#9b8e71;margin:9px 0 0}.answer-submit-row{margin-top:23px;display:flex;align-items:center;gap:15px}.answer-submit-row .button{min-width:190px}.answer-lock-hint{font-size:10px;line-height:1.6;color:#988d74;max-width:230px}.scale-field{padding:20px;border:1px solid #7a6740;border-radius:5px;background:linear-gradient(#2b2b22,#1c2019);box-shadow:inset 0 2px 10px #0004}.scale-value-controls{display:flex;justify-content:center;align-items:center;gap:15px;margin-bottom:24px}.scale-adjust{min-width:43px;width:43px;min-height:43px;height:43px;padding:5px;font-size:25px;font-weight:400}.scale-number{font-family:var(--heading-font);font-size:39px;width:106px;text-align:center;padding:5px;border:1px solid #8a7549;border-radius:4px;color:#efd496;background:#151a12;box-shadow:inset 0 1px 6px #0007;appearance:textfield;-moz-appearance:textfield}.scale-number::-webkit-inner-spin-button,.scale-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.scale-range{width:100%;min-height:30px;appearance:none;-webkit-appearance:none;background:transparent!important;border:0;cursor:pointer}.scale-range::-webkit-slider-runnable-track{height:8px;background:linear-gradient(#11160e,#343b25);border:1px solid #8b7749;box-shadow:inset 0 2px 3px #000;border-radius:2px}.scale-range::-moz-range-track{height:8px;background:#1d2517;border:1px solid #8b7749;border-radius:2px}.scale-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:27px;margin-top:-10px;background:linear-gradient(90deg,#9c7d42,#e4c97f 45%,#b19150);border:2px solid #ecd691;border-radius:3px;box-shadow:0 2px 5px #0008}.scale-range::-moz-range-thumb{width:16px;height:25px;background:#c5a35f;border:2px solid #ecd691;border-radius:3px;box-shadow:0 2px 5px #0008}.scale-labels{display:flex;justify-content:space-between;color:#b6a57d;font-size:10px;margin-top:5px}.scale-precision{text-align:center;color:#b6a580;font-size:10px;margin:14px 0 0}.locked-answer{padding:18px 20px;border:1px solid #7a8a565e;background:#2c362350;border-radius:5px;margin-bottom:23px}.locked-answer-label{color:#b6c58a;font-size:10px;text-transform:uppercase;letter-spacing:.1em;display:flex;align-items:center;gap:8px;margin-bottom:7px}.locked-answer-value{font-family:var(--heading-font);font-size:23px;line-height:1.35;overflow-wrap:anywhere;color:#e8dbb5}.waiting-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.waiting-header h3{font-size:22px;margin:0}.waiting-header small{font-size:10px;color:#9caa7e}.party-progress{height:5px;background:#0e120c;border:1px solid #727a4e66;border-radius:3px;overflow:hidden;margin:0 0 18px}.party-progress span{display:block;height:100%;background:linear-gradient(90deg,#626f40,#b8c47a);transition:width .3s}.waiting-caption{font-size:11px;color:#a69c81;text-align:center;margin:19px 0 0}.waiting-people{display:flex;flex-wrap:wrap;gap:9px}.waiting-person{display:flex;gap:8px;align-items:center;border:1px solid #88774d44;background:#171b14;border-radius:4px;padding:7px 10px 7px 7px;font-size:12px}.waiting-person .avatar{width:28px;height:28px}.waiting-person .presence-dot{margin-left:4px}.state-notice{border:1px solid #8f7c4955;background:#8e773610;padding:20px;border-radius:5px;text-align:center}.state-notice h2{font-size:25px;margin:0 0 10px}.state-notice p{font-size:12px;line-height:1.7;color:#baab8e;margin:0}.state-notice .status-symbol{margin-bottom:14px}.result-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.result-banner h2{font-size:30px;margin:0 0 3px}.result-banner p{font-size:11px;color:#b3a68b;margin:0}.result-banner .result-points{font-family:var(--heading-font);font-size:46px;color:#d9c17b;line-height:1}.result-banner .result-points small{display:block;text-align:center;font-family:var(--body-font);font-size:9px;letter-spacing:.09em;text-transform:uppercase;color:#a3926d;margin-top:5px}.result-banner.correct h2{color:#c6d59d}.result-banner.incorrect h2{color:#d4ad8a}.result-key{border-top:1px solid #a48e5933;border-bottom:1px solid #a48e5933;padding:17px 0;margin:18px 0}.result-key .eyebrow{margin-bottom:7px;font-size:9px}.result-answer{font-family:var(--heading-font);font-size:26px;color:#dfd0a5;line-height:1.3;overflow-wrap:anywhere}.result-explanation{font-size:12px;line-height:1.7;color:#bfb095;margin:11px 0 0}.result-own-answer{font-size:11px;color:#a89b7f;margin:11px 0 0;overflow-wrap:anywhere}.result-own-answer strong{color:#d0c0a2}.point-breakdown{display:flex;justify-content:center;align-items:center;gap:15px;font-size:12px;padding:12px;border:1px solid #8a77463d;background:#171c14;border-radius:4px;margin-bottom:25px}.point-breakdown strong{color:#ddc58b}.point-breakdown .math-symbol{color:#766e55}.leaderboard-section{margin-top:24px}.leaderboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.leaderboard-heading h3{font-family:var(--body-font);font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#bda97a;margin:0;font-weight:650}.leaderboard-heading span{font-size:10px;color:#8d947b}.leaderboard{display:grid;gap:5px}.leaderboard-row{display:flex;align-items:center;gap:10px;min-height:51px;padding:7px 12px;border:1px solid #75644125;background:#161b1455;border-radius:4px}.leaderboard-row.is-me,.leaderboard-row.me{border-color:#a58d4e77;background:#55502b25}.leaderboard-rank,.rank{font-size:13px;color:#a3926a;min-width:18px;text-align:center}.leaderboard-row .avatar{width:30px;height:30px}.leaderboard-name{flex:1;font-size:12px;min-width:0;overflow-wrap:anywhere}.leaderboard-score{color:#dfcc97;font-family:var(--heading-font);font-size:19px;text-align:right}.leaderboard-gain{color:#a3b779;font-size:10px;min-width:28px;text-align:right}.leaderboard-empty{padding:18px;text-align:center;color:var(--muted);font-size:12px}.player-leaderboard-list{display:grid;gap:5px}.player-leaderboard-row{display:grid;grid-template-columns:23px 31px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:52px;padding:7px 12px;border:1px solid #7564412e;background:#161b1466;border-radius:4px}.player-leaderboard-row.is-me{border-color:#a58d4e77;background:#55502b25}.player-leaderboard-row .avatar{width:30px;height:30px}.player-leaderboard-row .rank{font-family:var(--heading-font);font-size:18px}.player-leaderboard-row .name{font-size:12px;min-width:0;overflow-wrap:anywhere}.player-leaderboard-row .you-label{font-size:9px;color:#bba365;margin-left:5px}.player-leaderboard-row .score{font-family:var(--heading-font);font-size:21px;color:#dfcc97}.player-leaderboard-row .gain{font-size:10px;color:#a3b779;min-width:26px;text-align:right}.player-leaderboard-row:first-child .rank{color:#e6c575}.result-next{border-top:1px solid #a48e5928;margin-top:24px;padding-top:17px;text-align:center;font-size:11px;color:#9fa786}.finished-hero{text-align:center;padding:3px 0 24px}.finished-hero .eyebrow{margin:15px 0 12px}.finished-hero h1{font-size:39px;margin:0 0 9px}.finished-hero p{color:#b8ab8c;font-size:12px;margin:0}.finished-winner{font-family:var(--heading-font);font-size:25px;color:#e7cd8d;margin:15px 0 0!important}.finished-emblem{display:flex;justify-content:center;align-items:center;gap:14px}.finished-emblem:before,.finished-emblem:after{content:"";width:62px;height:1px;background:linear-gradient(90deg,transparent,#a68c4a)}.finished-emblem:after{transform:rotate(180deg)}.finished-emblem .status-symbol{font-size:29px}.finished-personal{display:flex;justify-content:center;gap:45px;border-top:1px solid #a48e5933;border-bottom:1px solid #a48e5933;padding:20px;margin:0 0 22px}.finished-stat{text-align:center}.finished-stat strong{display:block;font-size:32px;font-family:var(--heading-font);color:#e8cf95}.finished-stat span{font-size:9px;text-transform:uppercase;letter-spacing:.14em;color:#a29577}.player-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;color:#757763;font-size:9px;letter-spacing:.02em;padding:29px 0 31px}.footer-rule{font-size:6px;color:#a68c4a77}.noscript-message{text-align:center;color:#f0a292;margin:24px}.toast-container,.toast-region{position:fixed;z-index:50;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(480px,calc(100% - 32px));pointer-events:none}.toast{padding:12px 18px;background:#2c3422;border:1px solid #b39c5f;border-radius:5px;box-shadow:0 8px 28px #0009;color:#f2e4c1;font-size:12px}.toast.error{border-color:#bb7860;background:#3d261f}.player-scroll-anchor{scroll-margin-top:14px}@keyframes orbit{to{transform:rotate(360deg)}}@media(max-width:620px){.player-shell{width:min(100% - 24px,560px)}.player-header{padding:21px 1px 20px;margin-bottom:28px}.brand-crest{width:28px;height:36px}.brand{gap:9px}.brand-name{font-size:24px}.brand-subtitle{font-size:8px}.connection-status{font-size:10px}.quest-intro{margin-bottom:23px}.quest-intro h1{font-size:34px}.quest-intro p{font-size:12px;max-width:290px;margin:0 auto}.quest-intro .eyebrow{font-size:9px}.quest-window-bar{padding:8px 18px;min-height:48px;font-size:17px}.quest-body{padding:22px 18px 24px}.character-introduction{gap:10px;margin-bottom:22px}.character-introduction h2{font-size:26px}.character-introduction p{font-size:12px}.character-seal{display:none}.avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:332px;margin-left:auto;margin-right:auto}.avatar-choice{max-height:76px}.character-avatars{margin-top:23px}.character-preview{flex-wrap:wrap;gap:12px;margin-top:22px}.character-submit{width:100%;margin-top:8px;min-height:49px}.character-preview-text{min-width:160px}.character-secondary{flex-wrap:wrap}.character-preview-name{font-size:21px}.quest-paper{padding:24px 21px;margin-bottom:20px}.quest-paper h1,.quest-paper h2{font-size:26px}.reward-choice{padding:10px;min-height:67px;gap:12px}.reward-copy{font-size:14px}.answer-submit-row{display:block;margin-top:20px}.answer-submit-row .button{width:100%;min-height:49px}.answer-lock-hint{max-width:none;text-align:center;margin-top:10px}.party-list{gap:7px}.party-member{padding:8px;gap:7px}.party-member .avatar{width:29px;height:29px}.party-member-name{font-size:11px}.party-member-status{font-size:8px}.lobby-message{padding:20px 15px}.lobby-message h2{font-size:25px}.player-identity .avatar{width:43px;height:43px}.player-name-block h2{font-size:21px}.player-score{padding-left:15px}.player-score strong{font-size:25px}.waiting-header h3{font-size:21px}.result-banner h2{font-size:27px}.result-banner .result-points{font-size:40px}.point-breakdown{font-size:11px;gap:11px;padding:12px 8px}.finished-hero h1{font-size:33px}.finished-personal{gap:35px}.player-footer{font-size:8px;padding:24px 0}.scale-field{padding:18px 15px}.player-leaderboard-row{padding:7px 9px;gap:8px;grid-template-columns:19px 28px minmax(0,1fr) auto auto}.player-leaderboard-row .avatar{width:28px;height:28px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.leaderboard{list-style:none;margin:0;padding:0}.leaderboard-name small,.leaderboard-score small{display:block;font:10px/1.4 var(--body-font);color:var(--muted)}.leaderboard-name small{color:var(--gold);font-size:9px}.quest-paper .question-meta{margin:17px 0 0;color:#765d3c}.quest-paper .question-meta .difficulty{color:#765d3c}.scale-adjust{min-width:44px;width:44px;min-height:44px;height:44px}.scale-range{min-height:44px}.reward-choice.is-wrong .reward-tick{opacity:1;color:#e5aa97}.waiting-people{margin-top:16px}.character-actions{flex-wrap:wrap}.player-connection button{min-height:44px}.question-index{white-space:nowrap}.player-body .character-name,.player-body #recovery-name{font-size:17px}.player-body{padding-bottom:env(safe-area-inset-bottom)}
/* Phone play keeps the question central and the commitment action in reach. */
.answer-submit-row{flex-wrap:wrap}.answer-dock-copy{flex:1 1 100%;min-width:0}.answer-selection{font-size:13px;color:#e3d1a6;overflow-wrap:anywhere}.dock-lock-hint{display:block;font-size:11px;color:#a69a7e;margin-top:3px}.answer-submit-row .answer-error{margin:0 0 8px}.answer-lock-hint{margin:0}.character-avatars .avatar-name{margin-top:11px}.player-body[data-screen=answer] .player-footer{display:none}
@media(max-width:620px){
  .player-shell{width:calc(100% - 20px)}
  .player-header{padding:14px 2px;margin-bottom:17px;min-height:66px}
  .brand-crest{width:25px;height:32px}.brand-name{font-size:23px}.brand-subtitle{font-size:8px;margin-top:5px}.connection-status{font-size:11px}
  .player-connection button{position:absolute;top:46px;right:10px;font-size:11px;min-height:44px;z-index:2}
  .quest-intro{margin-bottom:17px}.quest-intro h1{font-size:28px;margin-bottom:0}.quest-intro>.eyebrow,.quest-intro>p{display:none}
  .player-body[data-screen=character] .quest-intro>p{display:block;font-size:12px;margin:7px 0 0}
  .player-body[data-screen=lobby] .quest-intro,.player-body[data-screen=edit] .quest-intro,.player-body[data-screen=finished] .quest-intro{display:none}
  .quest-window-bar{min-height:43px;padding:5px 14px;font-size:17px}.quest-emblem{font-size:25px;height:27px}
  .quest-body{padding:18px 15px 21px}
  .character-introduction{margin-bottom:18px}.character-introduction h2{display:none}.character-introduction p{font-size:14px;line-height:1.5;max-width:none}
  .field-label{font-size:14px}.field-hint{font-size:11px}.character-name{min-height:46px}
  .character-avatars{margin-top:18px}.avatar-grid{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));max-width:none;gap:8px;margin-top:10px}.avatar-choice{max-height:none;min-height:44px}
  .character-avatars .avatar-name{font-size:12px;margin-top:10px}
  .character-preview{gap:11px;margin-top:17px;padding-top:17px}.character-preview-name{font-size:22px}.character-preview-text small{font-size:12px}.character-preview-text>.eyebrow{display:none}.character-submit{margin-top:3px;min-height:48px;font-size:15px}
  .character-footnote{font-size:11px;line-height:1.55;margin-top:11px}.character-secondary{font-size:12px;margin-top:6px;gap:0}.character-secondary .button-quiet{font-size:12px;padding:8px}
  .character-error,.answer-error,.character-warning,.recovery-description{font-size:14px}.character-actions .button{font-size:14px;flex:1}.recovery-status{padding:13px 0}.recovery-status p{font-size:14px}.recovery-status h2{font-size:25px}
  .player-identity{margin-bottom:16px;gap:10px}.player-identity .avatar{width:42px;height:42px}.player-name-block h2{font-size:22px}.player-score small{font-size:10px}.player-score strong{font-size:27px}
  .lobby-message{padding:16px 13px;margin-bottom:20px}.lobby-message .status-symbol{display:none}.lobby-message h2{font-size:26px;margin:0 0 9px}.lobby-message p{font-size:14px;line-height:1.6}.lobby-bottom{font-size:12px;margin-top:17px;padding-top:11px}.party-heading h3{font-size:11px}.party-count{font-size:11px}.party-member{padding:9px 7px;gap:8px;min-height:59px}.party-member-name{font-size:13px}.party-member-status{font-size:10px}.party-member .avatar{width:31px;height:31px}
  .quest-player-top{margin-bottom:13px;gap:9px}.quest-player-top .avatar{width:30px;height:30px}.quest-player-top strong{font-size:14px}.question-index{font-size:11px}
  .quest-paper{padding:20px 18px;margin-bottom:19px}.quest-paper .eyebrow{font-size:10px;letter-spacing:.1em;margin-bottom:10px}.quest-paper h1,.quest-paper h2{font-size:25px;line-height:1.25}.quest-paper .question-meta{font-size:11px;margin-top:13px;gap:9px}
  .answer-label{font-size:12px;letter-spacing:.07em;margin-bottom:11px}.reward-list{gap:8px}.reward-choice{padding:9px;min-height:61px;gap:11px}.reward-copy{font-size:15px;line-height:1.38}.reward-icon{width:37px;height:37px}.reward-letter{font-size:11px;width:18px;height:18px}.reward-tick{flex-shrink:0}
  .answer-text-field{font-size:18px;min-height:53px}.input-caption{font-size:12px}.scale-field{padding:18px 14px}.scale-value-controls{margin-bottom:15px}.scale-number{font-size:35px;width:96px;min-height:55px}.scale-precision{font-size:12px;margin-top:12px}.scale-labels{font-size:12px}
  .player-body[data-screen=answer] .quest-body{padding-bottom:154px}
  .answer-submit-row{position:fixed;z-index:30;bottom:var(--keyboard-inset,0px);left:50%;transform:translateX(-50%);width:100%;max-width:620px;margin:0;padding:11px 18px max(13px,env(safe-area-inset-bottom));background:linear-gradient(#27271ef7,#191d16);border-top:1px solid #a38c51;box-shadow:0 -9px 25px #0007;display:flex;flex-direction:column;gap:9px;align-items:stretch}
  .answer-dock-copy{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;flex:none}.answer-selection{flex:1;min-width:150px;font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dock-lock-hint{flex-shrink:0;font-size:10px;margin:0}.answer-submit-row .button{width:100%;font-size:15px;min-height:48px}.answer-submit-row .answer-lock-hint{display:none}.answer-submit-row .answer-error{width:100%;font-size:13px;line-height:1.4;margin:0 0 4px}
  .locked-answer{padding:14px 15px;margin-bottom:20px}.locked-answer-label{font-size:11px}.locked-answer-value{font-size:24px}.waiting-header{gap:10px}.waiting-header h3{font-size:23px}.waiting-header small{font-size:12px}.waiting-caption{font-size:14px;line-height:1.5;text-align:left}.waiting-person{font-size:14px;min-height:46px}.waiting-people{margin-top:13px}.state-notice{padding:18px 13px}.state-notice p{font-size:14px;line-height:1.6}.state-notice .status-symbol{width:49px;height:49px;margin-bottom:12px}
  .result-banner{gap:12px;margin-bottom:18px;align-items:flex-start}.result-banner h2{font-size:28px}.result-banner p{font-size:13px;line-height:1.5}.result-banner .result-points{font-size:37px;white-space:nowrap}.result-banner .result-points small{font-size:9px}.result-key{margin:17px 0;padding:16px 0}.result-answer{font-size:25px}.result-explanation{font-size:14px;line-height:1.65}.result-own-answer{font-size:13px;line-height:1.6}.point-breakdown{font-size:13px;gap:10px;margin-bottom:20px;flex-wrap:wrap}.leaderboard-section{margin-top:21px}.leaderboard-heading h3{font-size:11px}.leaderboard-heading span{font-size:11px}.player-leaderboard-row{min-height:55px;grid-template-columns:21px 31px minmax(0,1fr) auto auto;gap:9px}.player-leaderboard-row .avatar{width:31px;height:31px}.player-leaderboard-row .name{font-size:14px}.player-leaderboard-row .you-label{font-size:10px}.player-leaderboard-row .gain{font-size:12px}.player-leaderboard-row .score{font-size:23px}.result-next{font-size:13px;line-height:1.6;margin-top:19px;padding-top:15px}
  .finished-hero{padding-bottom:17px}.finished-hero h1{font-size:28px}.finished-hero p{font-size:14px}.finished-hero .eyebrow{margin:12px 0 10px}.finished-personal{padding:15px;margin-bottom:19px}.finished-stat span{font-size:11px}.finished-stat strong{font-size:32px}.finished-emblem .status-symbol{width:53px;height:53px}.finished-winner{font-size:24px;overflow-wrap:anywhere}
  .player-footer{font-size:9px;gap:9px;padding:20px 0}.player-footer>span:last-child{display:none}.footer-rule{display:none}
}
@media(max-width:359px){.party-list{grid-template-columns:1fr}.player-connection .connection-status{font-size:10px}.brand-name{font-size:21px}.result-banner h2{font-size:25px}.question-index{font-size:10px}.answer-selection{min-width:120px}.dock-lock-hint{font-size:9px}}
@media(max-width:620px){.player-connection button{position:static;min-height:44px;margin-top:-7px;margin-bottom:-7px}.player-body #recovery-name,.player-body .character-name,.player-body .answer-text-field{font-size:17px}}
/* During a question, spend the phone's height on the prompt and answers. */
@media(max-width:620px){
  .player-body[data-screen=answer] .player-header{padding:7px 2px;min-height:44px;margin-bottom:6px}
  .player-body[data-screen=answer] .brand-crest{width:22px;height:28px}
  .player-body[data-screen=answer] .brand-name{font-size:21px}
  .player-body[data-screen=answer] .brand-subtitle{font-size:6px;margin-top:3px}
  .player-body[data-screen=answer] .quest-window-bar{display:none}
  .player-body[data-screen=answer] .quest-body{padding:12px 13px 148px}
  .player-body[data-screen=answer] .quest-player-top{margin-bottom:9px;gap:8px}
  .player-body[data-screen=answer] .quest-player-top .avatar{width:26px;height:26px}
  .player-body[data-screen=answer] .quest-player-top strong{font-size:13px}
  .player-body[data-screen=answer] .quest-paper{padding:14px 16px;margin-bottom:14px}
  .player-body[data-screen=answer] .quest-paper .eyebrow{font-size:9px;line-height:1.4;margin-bottom:7px;letter-spacing:.08em}
  .player-body[data-screen=answer] .quest-paper h1{font-size:22px;line-height:1.25}
  .player-body[data-screen=answer] .quest-paper .question-meta{font-size:10px;line-height:1.4;margin-top:9px}
  .player-body[data-screen=answer] .answer-label{font-size:11px;line-height:1.4;margin-bottom:8px}
  .player-body[data-screen=answer] .reward-list{gap:6px}
  .player-body[data-screen=answer] .reward-choice{min-height:54px;padding:8px;gap:10px}
  .player-body[data-screen=answer] .reward-copy{font-size:14px;line-height:1.38}
  .player-body[data-screen=answer] .reward-icon{width:33px;height:33px}
  .player-body[data-screen=answer] .reward-icon svg{width:24px;height:24px}
}
