.navigation-shell[hidden],.navigation-panel[hidden]{display:none}.navigation-shell nav{position:fixed;z-index:35;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:4px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#fffaf0;border-top:1px solid #c8c4b8;color:#182d34}.navigation-shell nav button{min-height:48px;flex:1;max-width:180px;font:inherit;font-size:14px;color:#182d34;background:transparent;border:2px solid transparent;border-radius:12px}.navigation-shell nav button[aria-current]{border-color:#17614d;background:#e2f2e9;font-weight:700}.navigation-shell button:focus-visible{outline:3px solid #145eac;outline-offset:2px}.navigation-panel{position:fixed;inset:0;z-index:34;background:#fffaf0;color:#182d34;overflow:auto;padding:calc(24px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-left)) calc(100px + env(safe-area-inset-bottom))}.navigation-panel h1,.navigation-panel>div{max-width:640px;margin:24px auto}.navigation-panel button{display:block;min-height:48px;padding:12px 20px;margin:20px 0;font:inherit}body:has(.navigation-shell:not([hidden])) .entry-shell{padding-bottom:100px}.navigation-panel .profile-form{padding-bottom:24px;border-bottom:1px solid #c8c4b8;margin-bottom:24px}.navigation-panel .profile-form label{display:block;font-weight:700;margin-bottom:8px}.navigation-panel .profile-form input{box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid #687e78;border-radius:8px;background:#fff;color:#182d34;font:inherit}.navigation-panel .profile-form input:focus-visible{outline:3px solid #145eac;outline-offset:2px}.navigation-panel .passport-world{width:100%;text-align:left;border:1px solid #c8c4b8;border-radius:12px;background:#fffdf7;color:#182d34}.navigation-panel .passport-stars .lit{color:#946000;text-shadow:none}.navigation-panel .passport-stars .unlit{color:#63756e}.community-intro{font-size:.9375rem;line-height:1.5;color:#465e56;margin:0 0 20px}.community-feed{min-width:0}.community-day{margin:24px 0 0;font-size:.75rem;line-height:1.5;font-weight:650;color:#596a58}.community-day:first-child{margin-top:0}.community-card{--social-item-top:18px;--social-metadata-height:25px;--social-footer-height:36px;--social-tail-space:2.71875rem}.community-card{position:relative;padding:var(--social-item-top) 0 0;border-bottom:1px solid #e6e6d7;background:var(--ui-card);overflow-wrap:anywhere;color:#173e31}.community-card+.community-card{margin-top:var(--ui-space-2)}.community-heading{display:flex;align-items:flex-start;gap:12px}.community-copy{flex:1;min-width:0;order:1}.community-title{display:flex;align-items:flex-start;gap:7px;margin:0;font-size:1.0625rem;font-weight:650;line-height:1.4;color:#173e31}.community-title .community-event-icon{width:22px;height:22px;margin-top:1px}.navigation-panel .community-avatar{display:grid;place-items:center;flex-shrink:0;order:0;width:48px;min-height:48px;margin:0;padding:2px;border:1px solid #d8d8b8;border-radius:14px;background:#f5edce;color:inherit}.community-avatar img{display:block;width:42px;height:42px;object-fit:contain}.community-byline{display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;line-height:1.5}.navigation-panel .community-player-name{display:block;min-height:var(--social-metadata-height);max-width:100%;margin:0;padding:4px 0;border:0;background:transparent;color:#465e56;font-size:.8125rem;line-height:1.4;text-align:left;overflow-wrap:anywhere}.community-player-name:hover{text-decoration:underline}.community-byline time{font-size:.75rem;color:#596a58}.community-event-icon{flex-shrink:0;width:22px;height:22px;object-fit:contain}.community-details{display:grid;gap:6px;margin:0 0 0 60px}.community-secondary-event{display:flex;align-items:center;gap:6px;margin:0;font-size:.8125rem;line-height:1.5;color:#465e56}.community-reward{display:flex;align-items:center;gap:10px;margin:0;font-size:.8125rem;font-weight:700;line-height:1.5;color:#465e56}.community-reward img{flex-shrink:0;object-fit:contain}.community-reward-special{color:#173e31;font-weight:700;padding:6px 0}.community-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-left:60px}.community-stats{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 12px;min-width:0}.community-xp{display:inline-flex;align-items:center;gap:5px;font-size:.8125rem;font-weight:700;color:#476448;line-height:1.5}.community-xp .community-event-icon{width:18px;height:18px;align-self:center}.community-character{font-size:.75rem;line-height:1.5;color:#596a58}.navigation-panel .community-heart{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-width:64px;min-height:var(--social-footer-height);margin:0;padding:6px 8px;border:1px solid transparent;border-radius:12px;background:transparent;color:#8f2946;font-size:.8125rem;font-weight:650;line-height:1.5}.navigation-panel .community-heart[aria-pressed=true]{background:#fbe6ec}.community-heart:disabled{opacity:.6;cursor:wait}.community-heart-count{font-variant-numeric:tabular-nums;min-width:2ch}.community-reaction-feedback{min-height:var(--social-tail-space);margin:0 0 0 60px;font-size:.6875rem;line-height:1.25;color:#596a58}.community-status{font-size:.8125rem;line-height:1.5;text-align:center;color:#596a58;margin:20px 0}.community-status:empty{display:none}.community-profile-dialog .community-profile-note{font-size:.8125rem;color:#d2dfca}@media(max-width:350px){.community-heading{gap:10px}.community-details,.community-footer,.community-reaction-feedback{margin-left:58px}.community-footer{gap:4px}.community-title{font-size:1.0625rem}.community-byline{column-gap:6px}}.community-sentinel{height:1px}.social-empty-state[hidden]{display:none}.social-empty-state{position:relative;max-width:440px;margin:12px auto 28px;padding:12px 24px 28px;text-align:center;border:1px solid #d6ddc9;border-radius:28px;background:radial-gradient(ellipse at 50% 12%,#edf3e5,#fffdf7 65%);box-shadow:0 6px #e8e6d7;overflow-wrap:anywhere}.social-empty-state>img{display:block;width:min(100%,280px);height:auto;margin:0 auto 8px}.social-empty-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;line-height:1.5;color:#496c50}.social-empty-state h2{font-family:Georgia,serif;font-size:clamp(25px,6.8vw,32px);font-weight:400;line-height:1.15;letter-spacing:-.5px;color:#194537;margin:12px auto 16px;max-width:340px;text-wrap:balance}.social-empty-description{max-width:340px;margin:0 auto;font-size:15px;line-height:1.65;color:#465e56;text-wrap:pretty}.navigation-panel .social-empty-action{display:flex;align-items:center;justify-content:center;gap:20px;width:100%;max-width:280px;min-height:52px;margin:24px auto 4px;padding:12px 20px;border:1px solid #194537;border-radius:14px;background:#215c4b;color:#fff3cc;font-weight:750;box-shadow:0 4px #123d31}.social-empty-action span{font-size:23px;line-height:1}.social-empty-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(max-width:350px){.social-empty-state{padding:8px 16px 22px;border-radius:22px}.social-empty-state>img{width:220px}.social-empty-state h2{font-size:25px}.social-empty-description{font-size:14px}}.profile-screen{color:#1c3e33}.profile-screen [hidden]{display:none!important}.profile-overview{display:grid;gap:22px}.profile-screen p,.profile-screen h2,.profile-screen h3{margin:0}.profile-promo{border:1px solid #cfddcb;border-radius:24px;overflow:hidden;background:#1b4c3e;box-shadow:0 5px #e4e6d7}.profile-promo-image{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}.profile-promo-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:linear-gradient(110deg,#214f3d,#123d35);color:#fff3cd}.profile-eyebrow{font-size:10px;line-height:1.5;letter-spacing:1.5px;font-weight:800;color:#5b7256;white-space:nowrap}.profile-promo .profile-eyebrow{color:#e4c779}.profile-promo h2{font-family:Georgia,serif;font-size:22px;line-height:1.3;font-weight:400;white-space:nowrap}.navigation-panel .profile-promo-play{display:grid;place-items:center;flex-shrink:0;width:44px;min-height:44px;margin:0;padding:0;border:1px solid #ffe3a6;border-radius:50%;background:#f1ce78;color:#173e31;box-shadow:0 3px #a77c36;font-size:25px}.profile-section{min-width:0;padding:22px;border:1px solid #d9ddcc;border-radius:22px;background:#fffdf7;box-shadow:0 4px #eceadd}.profile-identity-row{display:flex;align-items:center;gap:14px}.profile-avatar{flex-shrink:0;width:64px;height:64px;object-fit:contain;padding:5px;border:1px solid #d8d8b8;border-radius:20px;background:#f5edce}.profile-identity-copy{min-width:0;flex:1}.profile-display-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px;line-height:1.4;font-weight:750;color:#173e31}.profile-identity-note{margin-top:4px!important;font-size:12px;line-height:1.5;color:#596a58}.profile-name-editor{margin-top:16px;border-top:1px solid #e6e6d7;padding-top:12px}.profile-name-editor summary{width:fit-content;min-height:44px;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#245c48;cursor:pointer;list-style:none}.profile-name-editor summary:before{content:"+";font-size:20px;font-weight:400}.profile-name-editor[open] summary:before{content:"−"}.profile-name-editor summary::-webkit-details-marker{display:none}.profile-image-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-top:8px}.navigation-panel .profile-image-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:44px;margin:0;padding:8px 2px;border:2px solid #d9ddcc;border-radius:12px;background:#fffdf7;color:#245c48;font-size:12px}.profile-image-option img{width:100%;max-width:64px;height:auto;aspect-ratio:1;object-fit:contain}.navigation-panel .profile-image-option[aria-pressed=true]{border-color:#245c48;background:#edf3e5}.profile-image-option:focus-visible{outline:3px solid #145eac;outline-offset:2px}.profile-image-state{min-height:14px;font-size:9px;font-weight:750;line-height:14px}@media(max-width:350px){.profile-image-options{grid-template-columns:repeat(2,minmax(0,1fr))}}.profile-name-editor summary:focus-visible{outline:3px solid #145eac;outline-offset:3px;border-radius:4px}.navigation-panel .profile-name-editor .profile-form{padding:8px 0 0;margin:0;border:0}.profile-name-editor .profile-form p{font-size:12px;line-height:1.5;margin-top:8px}.navigation-panel .profile-name-editor .profile-form label{font-size:13px}.navigation-panel .profile-name-editor .profile-form button{width:100%;margin:14px 0 0;border:1px solid #194537;border-radius:12px;background:#215c4b;color:#fff3cc;font-size:14px;font-weight:700}.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.profile-section-heading h2{font-family:Georgia,serif;font-size:24px;font-weight:400;line-height:1.2;white-space:nowrap}.profile-chip{display:inline-flex;align-items:center;max-width:100%;padding:6px 9px;border:1px solid #d2dcc6;border-radius:999px;background:#eef3e5;color:#476448;font-size:10px;font-weight:750;line-height:1.3;white-space:nowrap}.profile-chip-gold{border-color:#e6c47b;background:#fbefce;color:#7c5a21}.profile-xp-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.profile-xp-stat{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:4px;padding:16px;border:1px solid #2e614c;border-radius:16px;background:linear-gradient(145deg,#2d634a,#163e32);color:#fff5d6;min-width:0}.profile-xp-stat:last-child{border-color:#e1d1a4;background:linear-gradient(145deg,#fbf1d3,#f3e4b7);color:#3e4d32}.profile-xp-label{grid-column:1/-1;font-size:12px;line-height:1.5;white-space:nowrap}.profile-xp-stat strong{font-size:clamp(20px,7vw,34px);line-height:1.3;letter-spacing:-1px;font-variant-numeric:tabular-nums;white-space:nowrap}.profile-xp-stat strong[data-compact]{font-size:clamp(14px,4.5vw,22px);letter-spacing:-.5px}.profile-xp-unit{font-size:10px;font-weight:800;opacity:.8}.profile-section-note{margin-top:12px!important;font-size:12px;line-height:1.6;color:#5e6d5c}.profile-passports{padding:22px 16px}.profile-passports .profile-section-heading{margin-bottom:0}.profile-source-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:16px;padding:4px;border:1px solid #d9ddcc;border-radius:12px;background:#f0f1e5}.navigation-panel .profile-source-switch button{min-height:44px;margin:0;padding:8px 6px;border:1px solid transparent;border-radius:8px;background:transparent;color:#596e52;font-size:12px;white-space:nowrap}.navigation-panel .profile-source-switch button[aria-pressed=true]{border-color:#ccdac2;background:#fffdf7;color:#245c48;font-weight:750;box-shadow:0 2px #e2e4d4}.navigation-panel .profile-xp-refresh{margin-top:10px;font-size:11px;min-height:44px}.profile-collection-progress{display:flex;align-items:center;justify-content:space-between;margin-top:20px;font-size:12px;line-height:1.5;color:#52664f}.profile-collection-progress strong{font-variant-numeric:tabular-nums;color:#245c48}.profile-collection-track{height:7px;overflow:hidden;margin:8px 0 20px;border-radius:999px;background:#e9eadb}.profile-collection-track>span{display:block;width:0;height:100%;border-radius:inherit;background:#cda24f}.profile-passports [role=status]:empty{display:none}.passport-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.navigation-panel .passport-collection-card{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;width:100%;margin:0;padding:12px 9px 14px;border:1px solid #d9ddcb;border-radius:18px;background:linear-gradient(180deg,var(--passport-tint),#fffdf7 80%);color:#254e3b;text-align:center;box-shadow:0 3px #e7e5d4}.passport-card-art{display:grid;place-items:center;width:100%;aspect-ratio:1;max-width:144px;margin-bottom:10px}.passport-card-icon{display:block;width:100%;height:auto;max-width:132px;object-fit:contain;border-radius:18%}.passport-card-title{display:block;width:100%;font-size:15px;font-weight:750;line-height:1.5;white-space:nowrap}.passport-card-meta{display:block;width:100%;margin-top:4px;font-size:11px;line-height:1.5;color:#617056;white-space:nowrap}.profile-screen .passport-stars{display:flex;align-items:center;justify-content:center;gap:3px;width:100%;margin:8px 0;font-size:18px;line-height:1.2;white-space:nowrap}.profile-screen .passport-stars .lit{color:#977022;text-shadow:none}.profile-screen .passport-stars .unlit{color:#8c967d}.passport-card-state{display:block;max-width:100%;padding:4px 6px;border-radius:7px;background:#eeefdf;color:#58684e;font-size:10px;font-weight:650;line-height:1.5;white-space:nowrap}.passport-card-state.earned{background:#f5e6b6;color:#79551a}.navigation-panel .profile-retry{margin:12px 0 0;padding:10px 14px;min-height:44px;border:1px solid #c8d4bd;border-radius:10px;background:#f2f4e6;color:#215c4b;font-size:12px}.passport-detail{padding-bottom:12px}.navigation-panel .passport-detail-back{margin:0 0 16px;padding:8px 0;min-height:44px;border:0;background:transparent;color:#245c48;font-size:13px;font-weight:700}.passport-detail-hero{padding:22px 18px 26px;border:1px solid #d2dbc8;border-radius:24px;background:radial-gradient(ellipse at 50% 15%,var(--passport-tint),#fffdf7 85%);text-align:center}.passport-detail-icon{display:block;width:min(70%,200px);height:auto;margin:0 auto 22px;border-radius:18%}.passport-detail-hero .profile-eyebrow{white-space:normal;letter-spacing:1px}.passport-detail h2{font-family:Georgia,serif;font-size:30px;line-height:1.2;font-weight:400;color:#1b4c3c;text-wrap:balance;margin:12px 0 18px}.passport-detail-progress{text-align:center;padding:24px 0 16px}.passport-detail h3{font-size:15px;font-weight:750;line-height:1.5}.passport-detail-progress .passport-stars{font-size:29px;gap:7px;margin:14px 0 10px}.passport-detail-progress p{font-size:13px;color:#5c7055}.passport-detail-stats{display:grid;gap:0;padding:0 18px;margin:0;border:1px solid #d9ddcc;border-radius:16px;background:#fffdf7}.passport-detail-stats>div{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e5e7d8;font-size:13px;line-height:1.5}.passport-detail-stats>div:last-child{border-bottom:0}.passport-detail-stats dt{color:#596e52}.passport-detail-stats dd{margin:0;color:#23533e;font-weight:750}.passport-detail-rules{margin-top:18px;padding:20px;border:1px solid #e0d8b8;border-radius:16px;background:#f7f0dc}.passport-detail-rules p{margin-top:10px;font-size:13px;line-height:1.65;color:#617052}.passport-detail-rules .passport-detail-goal{font-weight:700;color:#6b572c}@media(max-width:350px){.profile-section{padding:18px 16px}.profile-passports{padding:18px 12px}.profile-promo-caption{padding:14px 16px}.profile-promo h2{font-size:20px}.profile-promo .profile-eyebrow{font-size:9px;letter-spacing:1px}.profile-display-name{font-size:17px}.profile-identity-note{font-size:10px}.profile-section-heading h2{font-size:22px}.profile-chip{font-size:9px;padding:5px 7px}.profile-xp-stat{padding:12px;gap:3px}.profile-xp-grid{gap:9px}.passport-collection{gap:10px}.navigation-panel .passport-collection-card{padding:10px 7px 12px;border-radius:15px}.passport-card-title{font-size:12px}.passport-card-meta{font-size:10px}.passport-card-state{font-size:9px;padding:4px}.profile-screen .passport-stars{font-size:15px;gap:2px}.passport-detail-progress .passport-stars{font-size:26px;gap:5px}.passport-detail h2{font-size:27px}}.navigation-panel:not([hidden]):has(.ranking-screen){display:flex;flex-direction:column;overflow:hidden}.navigation-panel:has(.ranking-screen)>h1{width:100%;margin:0 auto var(--ui-space-5)}.navigation-panel:has(.ranking-screen)>div{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;margin:0 auto}.ranking-screen{display:flex;flex-direction:column;flex:1;min-height:0;height:100%;color:var(--ui-ink)}.ranking-screen [hidden]{display:none!important}.ranking-controls{flex-shrink:0;margin-bottom:var(--ui-space-5)}.ranking-meta{display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-3)}.ranking-period{display:inline-flex;align-items:center;min-height:32px;padding:4px 12px;border:1px solid var(--ui-avatar-line);border-radius:999px;background:var(--ui-avatar);font-size:.75rem;font-weight:750;line-height:1.5}.ranking-month{margin:var(--ui-space-2) 0 0;color:var(--ui-muted);font-size:.9375rem;line-height:1.5}.ranking-help{max-width:100%;font-size:.8125rem;line-height:1.5;color:var(--ui-muted)}.ranking-help summary{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:44px;cursor:pointer;color:var(--ui-primary);font-weight:650;list-style:none}.ranking-help summary:before{content:"i";display:grid;place-items:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font-family:Georgia,serif;font-size:.875rem}.ranking-help summary::-webkit-details-marker{display:none}.ranking-help[open]{flex:1}.ranking-help summary:focus-visible{outline:3px solid var(--ui-focus);outline-offset:2px;border-radius:4px}.ranking-rules{max-width:420px;margin:4px 0 8px;padding:12px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-card);overflow-wrap:anywhere}.ranking-scroll-area{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-padding:12px;padding:4px;container-type:inline-size}.ranking-scroll-area:focus-visible{outline:2px solid var(--ui-focus);outline-offset:-2px;border-radius:var(--ui-card-radius)}.ranking-list,.ranking-skeletons{display:grid;gap:var(--ui-space-2);align-content:start;min-width:0}.ranking-screen .ranking-entry,.ranking-skeleton{display:grid;grid-template-columns:max(36px,4ch) 48px minmax(0,1fr) max-content;align-items:center;column-gap:12px;row-gap:4px;box-sizing:border-box;width:100%;min-width:0;min-height:84px;margin:0;padding:12px;border:1px solid var(--ui-line);border-radius:var(--ui-card-radius);background:var(--ui-card);color:var(--ui-ink);font-size:1rem;line-height:1.5;text-align:left}.ranking-screen .ranking-entry{cursor:pointer}.ranking-screen .ranking-entry:hover{border-color:var(--ui-avatar-line)}.ranking-screen .ranking-entry:focus-visible{outline:3px solid var(--ui-focus);outline-offset:1px}.ranking-screen .ranking-entry.is-current{background:var(--ui-primary-soft);border-color:var(--ui-primary)}.ranking-position{display:flex;align-items:center;justify-content:center;gap:2px;min-height:36px;border:1px solid transparent;font-size:1rem;line-height:1.5;font-weight:750;font-variant-numeric:tabular-nums;color:var(--ui-muted);white-space:nowrap}.ranking-position .community-event-icon{width:14px;height:14px}[data-rank-tier=gold] .ranking-position{color:var(--ui-gold);background:var(--ui-gold-soft);border-radius:10px}[data-rank-tier=silver] .ranking-position{color:var(--ui-muted);background:var(--ui-silver-soft);border-color:var(--ui-silver);border-radius:10px}[data-rank-tier=bronze] .ranking-position{color:var(--ui-gold);background:var(--ui-gold-soft);border-color:var(--ui-bronze);border-radius:10px}.ranking-avatar{display:grid;place-items:center;box-sizing:border-box;width:48px;height:48px;padding:2px;border:1px solid var(--ui-avatar-line);border-radius:var(--ui-card-radius);background:var(--ui-avatar)}.ranking-avatar img{display:block;width:100%;height:100%;object-fit:contain}.ranking-copy{min-width:0}.ranking-name-line{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px;row-gap:2px;min-width:0}.ranking-name{display:block;flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:700;line-height:1.5}.ranking-self-label{display:inline-flex;align-items:center;flex-shrink:0;padding:1px 6px;border-radius:999px;background:var(--ui-card);color:var(--ui-primary);font-size:.6875rem;font-weight:750;line-height:1.5}.ranking-score{display:block;justify-self:end;font-size:1rem;line-height:1.5;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right;color:var(--ui-ink)}.ranking-own-dock{flex-shrink:0;margin-top:12px;padding:12px 4px 0;border-top:1px solid var(--ui-line);container-type:inline-size}.ranking-dock-button .ranking-self-label{background:var(--ui-card)}.ranking-screen .ranking-more,.ranking-screen .ranking-retry,.ranking-profile button{display:block;min-height:48px;margin:16px 0 8px;padding:12px 16px;border:1px solid var(--ui-avatar-line);border-radius:12px;background:var(--ui-avatar);color:var(--ui-ink);font-size:.875rem;font-weight:650;line-height:1.5}.ranking-screen .ranking-more{width:100%}.ranking-error{padding:20px 4px;color:var(--ui-muted)}.ranking-error h2{margin:0;font-size:1rem;line-height:1.5;color:var(--ui-ink)}.ranking-error p{margin:8px 0;font-size:.875rem;line-height:1.5}.ranking-profile{padding:16px 4px;color:var(--ui-muted);line-height:1.5;overflow-wrap:anywhere}.ranking-profile h2{font-family:Georgia,serif;color:var(--ui-ink);font-size:1.5rem;line-height:1.3}.ranking-profile-avatar{display:block;object-fit:contain}.ranking-screen .social-empty-state{max-width:400px;margin:8px auto;padding:16px;border-radius:var(--ui-card-radius);background:var(--ui-card);box-shadow:none;border-color:var(--ui-line)}.ranking-screen .social-empty-state>img{width:112px;margin:0 auto 8px}.ranking-screen .social-empty-eyebrow{font-size:.625rem;letter-spacing:1px}.ranking-screen .social-empty-state h2{font-size:1.5rem;margin:12px 0;line-height:1.25}.ranking-screen .social-empty-description{font-size:.875rem;line-height:1.5}.ranking-screen .social-empty-action{margin:16px auto 4px;box-shadow:none}.ranking-skeleton span{display:block;background:var(--ui-line);border-radius:8px}.ranking-skeleton-position{width:24px;height:1.5em;justify-self:center}.ranking-skeleton-avatar{width:48px;height:48px;border-radius:var(--ui-card-radius)!important}.ranking-skeleton-name{width:80%;height:1.5em}.ranking-skeleton-xp{width:48px;height:1.5em;justify-self:end}@container (max-width:18rem){.ranking-screen .ranking-entry,.ranking-skeleton{grid-template-columns:max(36px,4ch) 48px minmax(0,1fr)}.ranking-position,.ranking-avatar{grid-row:1/3}.ranking-copy{grid-column:3;grid-row:1}.ranking-score{grid-column:3;grid-row:2}.ranking-skeleton-position,.ranking-skeleton-avatar{grid-row:1/3}.ranking-skeleton-name{grid-column:3;grid-row:1}.ranking-skeleton-xp{grid-column:3;grid-row:2}}@container (max-width:12rem){.ranking-position,.ranking-avatar,.ranking-skeleton-position,.ranking-skeleton-avatar{grid-row:1}.ranking-score,.ranking-skeleton-xp{grid-column:1/-1;grid-row:2}}@media(prefers-reduced-motion:no-preference){.ranking-skeletons{animation:ranking-loading 1.4s ease-in-out infinite alternate}@keyframes ranking-loading{to{opacity:.6}}}.ranking-period-selector{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:var(--ui-space-1);margin-top:var(--ui-space-2)}.ranking-period-selector button{min-width:0;min-height:48px;margin:0;padding:8px 2px;border:0;border-radius:10px;background:transparent;color:var(--ui-ink);font:inherit;font-size:.9375rem;font-weight:700;line-height:1.5;white-space:normal}.ranking-period-selector button:first-child,.ranking-period-selector button:last-child{font-size:1.75rem}.ranking-period-selector button:disabled{color:var(--ui-muted);opacity:.45;cursor:default}.ranking-period-selector button:focus-visible,.ranking-period-dialog :focus-visible{outline:3px solid var(--ui-focus);outline-offset:1px}.ranking-period-dialog{box-sizing:border-box;width:min(440px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 32px);overflow:auto;padding:var(--ui-space-4);border:1px solid var(--ui-avatar-line);border-radius:var(--ui-card-radius);background:var(--ui-paper);color:var(--ui-ink)}.ranking-period-dialog h2{margin:0 0 var(--ui-space-4);font-size:1.25rem;line-height:1.5}.ranking-year-controls{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:var(--ui-space-2);margin-bottom:var(--ui-space-3)}.ranking-period-dialog button,.ranking-period-dialog select{box-sizing:border-box;min-width:0;min-height:48px;margin:0;padding:8px 4px;border:1px solid var(--ui-avatar-line);border-radius:10px;background:var(--ui-card);color:var(--ui-ink);font:inherit;font-size:.875rem;font-weight:650;line-height:1.5;white-space:normal}.ranking-year-controls select{appearance:none;text-align:center;text-align-last:center;width:100%;padding-inline:0;cursor:pointer}.ranking-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ui-space-2)}.ranking-month-grid button{overflow-wrap:anywhere;padding-inline:2px;font-size:.8125rem}.ranking-month-grid small{display:block;font-size:.625rem;font-weight:400}.ranking-period-dialog button:disabled{opacity:.5;cursor:default;border-style:dashed}.ranking-period-dialog [aria-pressed=true]{background:var(--ui-primary-soft);border:2px solid var(--ui-primary)}.ranking-period-dialog [aria-current=date]{text-decoration:underline;text-underline-offset:3px}.ranking-period-actions{display:grid;grid-template-columns:1fr 1fr;gap:var(--ui-space-2);margin-top:var(--ui-space-4)}.ranking-period-actions button{overflow-wrap:anywhere}.ranking-period-actions button:last-child{background:var(--ui-primary);color:var(--ui-card)}:root{--ui-paper:#fffaf0;--ui-card:#fffdf7;--ui-ink:#173e31;--ui-muted:#465e56;--ui-line:#e6e6d7;--ui-primary:#17614d;--ui-primary-soft:#e2f2e9;--ui-avatar:#f5edce;--ui-avatar-line:#d8d8b8;--ui-gold:#7c5a21;--ui-gold-soft:#fbefce;--ui-silver:#63756e;--ui-silver-soft:#eceadd;--ui-bronze:#a77c36;--ui-focus:#145eac;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-5:20px;--ui-space-6:24px;--ui-card-radius:14px}.help-entry{display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-4);width:100%;min-height:48px;margin-top:var(--ui-space-6);padding:var(--ui-space-4);border:1px solid var(--ui-line);border-radius:var(--ui-card-radius);background:var(--ui-card);color:var(--ui-ink);text-align:left}.help-entry strong,.help-entry small{display:block;line-height:1.5}.help-entry small{margin-top:var(--ui-space-1);font-size:.8125rem;color:var(--ui-muted)}.help-page[hidden]{display:none}.help-page{position:fixed;inset:0;z-index:50;overflow:auto;overscroll-behavior:contain;background:var(--ui-paper);color:var(--ui-ink);color-scheme:light;padding:calc(var(--ui-space-5) + var(--app-safe-top)) max(var(--ui-space-4),var(--app-safe-right)) calc(var(--ui-space-6) + var(--app-safe-bottom)) max(var(--ui-space-4),var(--app-safe-left));line-height:1.6;overflow-wrap:anywhere}.help-content{max-width:640px;margin:auto}.help-page button,.help-page a,.help-page summary{min-height:48px;touch-action:manipulation}.help-page :is(button,a,summary,h1,h2):focus-visible,.help-entry:focus-visible{outline:3px solid var(--ui-focus);outline-offset:var(--ui-space-1)}.help-back{padding:var(--ui-space-2) 0;margin:0 0 var(--ui-space-5);border:0;color:var(--ui-primary);background:transparent;font-weight:650;text-align:left}.help-page h1{font-size:2rem;line-height:1.2;letter-spacing:-.5px}.help-intro{margin-top:var(--ui-space-2);color:var(--ui-muted);font-size:.9375rem}.help-navigation{display:flex;flex-wrap:wrap;gap:var(--ui-space-2);margin:var(--ui-space-6) 0}.help-navigation a{display:flex;align-items:center;padding:var(--ui-space-2) var(--ui-space-3);border:1px solid var(--ui-line);border-radius:var(--ui-card-radius);color:var(--ui-primary);background:var(--ui-primary-soft);font-size:.8125rem;font-weight:650;text-decoration:none}.help-section{margin-top:var(--ui-space-6)}.help-section h2{font-size:1.25rem;line-height:1.4;margin:0 0 var(--ui-space-4);scroll-margin-top:var(--ui-space-5)}.help-card{padding:var(--ui-space-4);margin-bottom:var(--ui-space-3);border:1px solid var(--ui-line);border-radius:var(--ui-card-radius);background:var(--ui-card)}.help-card h3{display:flex;align-items:center;gap:var(--ui-space-3);font-size:1rem;line-height:1.4;margin:0}.help-number{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--ui-primary-soft);color:var(--ui-primary);font-size:.875rem}.help-illustration{margin:var(--ui-space-4) 0;padding:var(--ui-space-3);border-radius:var(--ui-card-radius);background:var(--ui-primary-soft)}.help-portraits{display:flex;justify-content:center;gap:var(--ui-space-2);margin-bottom:var(--ui-space-2)}.help-portraits img{object-fit:contain;width:64px;height:64px}.help-sequence{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:var(--ui-space-2);text-align:center;font-size:.8125rem;font-weight:700;color:var(--ui-primary)}.help-sequence span{padding:var(--ui-space-2);background:var(--ui-card);border:1px solid var(--ui-line);border-radius:8px}.help-illustration figcaption{margin-top:var(--ui-space-2);font-size:.75rem;text-align:center;color:var(--ui-muted)}.help-steps{padding-left:var(--ui-space-5);margin:0;font-size:.9375rem;color:var(--ui-muted)}.help-steps li+li{margin-top:var(--ui-space-2)}.help-group-title{font-size:1.125rem;margin:var(--ui-space-6) 0 var(--ui-space-4)}.help-faq-item{border-bottom:1px solid var(--ui-line)}.help-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:var(--ui-space-3);padding:var(--ui-space-3) 0;font-size:.9375rem;font-weight:650;cursor:pointer;list-style:none}.help-faq-item summary::-webkit-details-marker{display:none}.help-faq-item summary:after{content:"+";flex-shrink:0;color:var(--ui-primary);font-size:1.25rem}.help-faq-item[open] summary:after{content:"−"}.help-faq-item p,.help-note{font-size:.9375rem;color:var(--ui-muted);padding-bottom:var(--ui-space-4)}@media(prefers-reduced-motion:no-preference){.help-faq-item[open] p{animation:help-reveal .15s ease-out}@keyframes help-reveal{0%{opacity:0}to{opacity:1}}}.help-trail{display:block;width:100%;max-width:280px;height:auto;margin:0 auto var(--ui-space-3);overflow:visible}.help-trail path{fill:none;stroke:var(--ui-avatar-line);stroke-width:10;stroke-linecap:round}.help-trail circle{fill:var(--ui-card);stroke:var(--ui-primary);stroke-width:2}.help-trail text{fill:var(--ui-ink);font-family:inherit;font-size:13px;font-weight:700;text-anchor:middle}.help-dice{display:flex;align-items:center;justify-content:center;gap:var(--ui-space-4);margin-bottom:var(--ui-space-3)}.help-dice-face{font-size:64px;line-height:1;color:var(--ui-primary)}.help-dice-meter{width:140px;height:16px;overflow:hidden;border:1px solid var(--ui-primary);border-radius:8px;background:var(--ui-card)}.help-dice-meter>span{display:block;width:60%;height:100%;background:var(--ui-primary)}.help-medal{display:block;object-fit:contain;margin:0 auto var(--ui-space-3)}:root{--app-safe-top:var(--safe-area-inset-top, env(safe-area-inset-top, 0px));--app-safe-right:var(--safe-area-inset-right, env(safe-area-inset-right, 0px));--app-safe-bottom:var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));--app-safe-left:var(--safe-area-inset-left, env(safe-area-inset-left, 0px));font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#ecf3df;background:#0c2223;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #fff2a5;outline-offset:4px}button:disabled{cursor:default;opacity:.4}p,h1{margin:0}.expedition{width:100%;max-width:480px;height:100svh;min-height:620px;margin:auto;display:flex;flex-direction:column;background:#153c34;overflow:hidden;box-shadow:0 0 90px #0005}.hud{padding:calc(18px + var(--app-safe-top)) max(24px,var(--app-safe-right)) 16px max(24px,var(--app-safe-left));background:#102f2e;z-index:2;border-bottom:1px solid #e9edc51a}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;display:flex;align-items:center;gap:8px;color:#c1d6bb}.wind-mark{font-size:25px;line-height:20px;color:#e5bd68}.tag{margin-left:auto;border:1px solid #afc6ae55;border-radius:4px;padding:4px 5px;font-size:8px;letter-spacing:.7px;color:#c9d8bd}.title-row{display:flex;justify-content:space-between;align-items:center;margin:17px 0}.chapter{font-size:9px;letter-spacing:1.6px;color:#99b8a4;margin-bottom:5px}h1{font-family:Georgia,serif;font-size:30px;line-height:1.15;font-weight:400;letter-spacing:-.8px}#open-settings,.settings-shortcut{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #a9bda155;border-radius:12px;color:#e9c477;background:#1a4039;font-size:25px}.track-status{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#ccdbc5}.track-status>span:first-child{display:flex;gap:7px;align-items:center}.player-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#f0c866}.progress{height:3px;background:#ffffff18;margin-top:10px;border-radius:3px}.progress span{display:block;width:8.333%;height:100%;background:#e8c576;border-radius:3px}.world{position:relative;flex:1;min-height:220px;overflow:hidden;background:#285443}#game{position:absolute;inset:0;touch-action:none}canvas{display:block}.map-caption{position:absolute;pointer-events:none;top:16px;left:20px;right:20px;display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.3px;color:#e3edd4;text-shadow:0 1px 4px #102a25}.map-caption>span:last-child{margin-left:auto}.live-dot{width:5px;height:5px;border-radius:50%;background:#e4c982}.fullscreen-toggle{position:absolute;right:16px;bottom:35px;min-height:44px;padding:8px 12px;border:1px solid #cee1be55;border-radius:24px;background:#13372ee6;color:#eef1d8;font-size:19px;display:flex;align-items:center;gap:6px}.fullscreen-toggle .fullscreen-label{font-size:10px}.map-instruction{position:absolute;bottom:13px;left:20px;pointer-events:none;font-size:10px;color:#d7e3cb;text-shadow:0 1px 3px #102a25}#load-error{position:absolute;top:40%;padding:24px;background:#102f2e}.controls{padding:0 max(22px,var(--app-safe-right)) calc(15px + var(--app-safe-bottom)) max(22px,var(--app-safe-left));background:#102f2e;z-index:2;border-top:1px solid #d6ddbb33}.journey-info{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:16px 0 13px}.journey-info .eyebrow{font-size:8px;color:#94b29c;letter-spacing:1.5px}#announcement{font-size:12px;margin-top:5px;min-height:18px}.companion{font-size:10px;white-space:nowrap;color:#b6c9c6}.actions{display:flex;gap:10px}.actions button{height:52px;border-radius:12px;font-weight:700}.secondary{width:54px;flex-shrink:0;border:1px solid #cbd9b84d;color:#edf1d6;background:#1a4039;font-size:22px}.primary{flex:1;border:0;background:#e9c477;color:#253b2f;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:13px;box-shadow:0 3px #9d8042}.primary span{font-size:22px;font-weight:400}@media(min-width:600px){body{padding:20px}.expedition{height:calc(100svh - 40px);max-height:1000px;border:1px solid #d2dfb82b;border-radius:24px}}@media(max-width:350px){.hud{padding-left:max(18px,var(--app-safe-left));padding-right:max(18px,var(--app-safe-right))}h1{font-size:27px}.controls{padding-left:max(16px,var(--app-safe-left));padding-right:max(16px,var(--app-safe-right))}.companion{font-size:9px}.tag{font-size:7px}.eyebrow{font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}#choose-character{display:flex;align-items:center;gap:7px;background:transparent;color:#e4edcf;border:0;padding:0 6px 0 0;min-height:44px;text-align:left;font-size:11px}#hud-face{width:33px;height:33px;object-fit:contain}#character-picker{color:#ecf3df;background:#102f2e;border:1px solid #a9bda166;border-radius:20px;padding:20px;width:min(94vw,440px);max-height:90svh;box-shadow:0 20px 80px #0009}#character-picker[open]{display:flex;flex-direction:column}#character-picker::backdrop{background:#061c1be8}#settings-menu{color:#ecf3df;background:#102f2e;border:1px solid #a9bda166;border-radius:20px;padding:20px;width:min(calc(100vw - 32px),400px);max-height:calc(100dvh - 32px - var(--app-safe-top) - var(--app-safe-bottom));overflow-y:auto;box-shadow:0 20px 80px #0009}#settings-menu::backdrop{background:#061c1bd9}.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.settings-heading h2{margin:0;font:26px Georgia,serif}#close-settings{flex-shrink:0;width:44px;height:44px;border:1px solid #a9bda155;border-radius:12px;background:#24463c;color:#ecf3df;font-size:25px}#settings-description,.settings-note{margin:12px 0 0;font-size:12px;line-height:1.5;color:#b6c9bc}.settings-options{margin:18px 0;display:grid;gap:8px}.settings-options label{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px;border:1px solid #a9bda133;border-radius:12px;background:#1a4039;font-size:14px;cursor:pointer}.settings-options input{flex-shrink:0;width:22px;height:22px;margin:0;accent-color:#e9c477}#fullscreen-status:empty{display:none}html.fullscreen-active body{padding:0}html.fullscreen-active .expedition{height:100dvh;max-height:none;border:0;border-radius:0}.picker-heading{display:flex;gap:8px;justify-content:space-between;align-items:center}.picker-heading .eyebrow{font-size:8px}.picker-heading h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:8px 0}#close-picker{flex-shrink:0;width:44px;height:44px;border:1px solid #a9bda155;background:#24463c;color:#edf0d9;border-radius:50%;font-size:25px}#picker-description{font-size:11px;color:#b7cab8;margin:0 0 16px}.picker-slots{display:flex;gap:8px;padding-bottom:14px}.picker-slots button{flex:1;min-height:44px;border:1px solid #a9bda155;border-radius:10px;background:#1b4137;color:#dbe6cb;font-size:11px}.picker-slots button[aria-pressed=true]{color:#f5d488;border-color:#e9c477}#character-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:12px;overflow-y:auto;min-height:0;padding:4px}.character-card{position:relative;background:#26483e;border:2px solid transparent;padding:0;color:#e9eed6;border-radius:13px;overflow:hidden;flex-shrink:0}.character-card img{display:block;width:100%;height:auto;aspect-ratio:1122 / 1402;object-fit:contain;background:#e9dcd8}.character-card>span:not(.selection-mark){display:block;padding:12px 0;font-size:12px;font-weight:650}.character-card[aria-pressed=true]{border-color:#e9c477}.selection-mark{display:none;position:absolute;right:8px;top:8px;background:#143c34;border:1px solid #e9c477;color:#f5d488;border-radius:50%;width:24px;height:24px;line-height:22px}.character-card[aria-pressed=true] .selection-mark{display:block}.picker-footer{padding-top:14px;flex-shrink:0}.picker-footer p{font-size:11px;color:#c3d6bd;margin-bottom:12px}.picker-footer button{width:100%;min-height:48px;border-radius:10px}.reaction-panel{position:absolute;display:flex;align-items:center;gap:6px;top:30px;left:16px;width:min(300px,calc(100% - 32px));border:1px solid #acc5a944;border-radius:10px;padding:4px 6px;background:#12382fed;color:#dfebcf}.reaction-panel label{display:block;font-size:8px;letter-spacing:.2px;margin-bottom:0}.reaction-panel>div{display:flex;flex:1;min-width:0;gap:6px}.reaction-panel select{width:100%;min-width:0;min-height:44px;padding:0 6px;background:#1c463a;color:#eef0d9;border:1px solid #acc5a966;border-radius:7px;font-size:11px}.reaction-panel button{min-width:44px;min-height:44px;background:#2a5041;border:1px solid #acc5a966;border-radius:7px;color:#eed6a1}#reaction-description{max-width:calc(100% - 40px);font-size:9px;line-height:1.4}.dice-control{position:relative;flex:1;min-width:0}#dice-charge{width:100%;padding:0 8px;gap:8px;justify-content:center;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#dice-charge[aria-pressed=true]{background:#f4d894;box-shadow:none}#dice-charge .dice-symbol{font-size:27px}#dice-charge>span:last-child{display:flex;flex-direction:column;gap:3px}#dice-charge #dice-label{font-size:11px;font-weight:700}#dice-charge #dice-band{font-size:8px;font-weight:500}.charge-feedback{--charge-color: #83cba2;position:absolute;z-index:12;right:14px;top:50%;transform:translateY(-50%);width:110px;padding:14px 8px 12px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:7px;color:#fff1cb;background:#102f2eee;border:1px solid #e3cd8466;border-radius:22px;box-shadow:0 8px 28px #071b2855;pointer-events:none}.charge-feedback[hidden]{display:none}.charge-feedback[data-band=IDEAL]{--charge-color: #b9e78d}.charge-feedback[data-band=STRONG]{--charge-color: #f5ce70}.charge-feedback[data-band=OVERLOAD]{--charge-color: #f39975}.charge-heading{font-size:9px;font-weight:800;letter-spacing:.12em}.thermometer{position:relative;width:66px;padding:3px 0 22px}#charge-meter{position:relative;width:25px;height:clamp(90px,21vh,180px);margin-left:9px;border:2px solid #dce5cc;border-bottom:0;border-radius:16px 16px 0 0;background:#061c1e;overflow:hidden}#charge-fill{position:absolute;bottom:0;left:0;width:100%;height:0;background:linear-gradient(to right,#ffffff33,transparent 65%),var(--charge-color);border-radius:10px 10px 0 0}.charge-ticks{position:absolute;inset:0;background:repeating-linear-gradient(to top,transparent 0,transparent calc(16.666% - 1px),#e2ead844 calc(16.666% - 1px),#e2ead844 16.666%)}.thermometer-bulb{position:absolute;bottom:1px;left:3px;width:41px;height:35px;box-sizing:border-box;border:2px solid #dce5cc;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffffff55,transparent 65%),var(--charge-color)}.charge-scale{position:absolute;top:3px;bottom:22px;left:45px;width:27px;color:#d9e1c5;font-size:8px}.charge-scale span{position:absolute;top:0}.charge-scale span:nth-child(2){top:33.333%;color:#c5eb9f;font-weight:800}.charge-scale span:last-child{top:auto;bottom:0}#charge-percent{font-size:23px;line-height:1;font-variant-numeric:tabular-nums}#charge-band{font-size:11px;font-weight:700;color:var(--charge-color)}.charge-hint{font-size:9px;color:#d2ddc8}@media(max-height:650px){.charge-feedback{gap:5px;padding-block:10px}#charge-meter{height:90px}}.actions .secondary{width:44px}.dice-result{position:absolute;z-index:8;top:50%;left:50%;transform:translate(-50%,-50%);width:min(230px,calc(100% - 48px));display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 14px;border:1px solid #edcf88;border-radius:20px;background:#123c34f5;color:#fff0c4;box-shadow:0 12px 36px #081e2980;text-align:center;pointer-events:none}.dice-result[hidden]{display:none}.dice-result-heading{font-size:10px;letter-spacing:1px}#dice-face{display:grid;place-items:center;width:76px;height:76px;border-radius:16px;background:#ffebae;color:#183f35;font:700 48px/1 system-ui,sans-serif;box-shadow:0 5px #b99350}#dice-result-text{font-size:22px}#dice-result-note{font-size:12px}.dice-result[data-phase=rolling] #dice-face{animation:dice-tumble .32s ease-in-out infinite}.dice-result.reduced-motion #dice-face{animation:none}@keyframes dice-tumble{0%,to{transform:rotate(-16deg) translateY(0)}50%{transform:rotate(16deg) translateY(-10px)}}@media(prefers-reduced-motion:reduce){.dice-result[data-phase=rolling] #dice-face{animation:none}}html.fullscreen-active .expedition{position:relative;max-width:none;min-height:0;margin:0;box-shadow:none}html.fullscreen-active .hud,html.fullscreen-active .map-caption,html.fullscreen-active .reaction-panel,html.fullscreen-active .map-instruction,html.fullscreen-active .journey-info,html.fullscreen-active .actions .secondary{display:none}html.fullscreen-active .world{width:100%;height:100%;min-height:0}html.fullscreen-active .fullscreen-toggle{top:max(60px,calc(var(--app-safe-top) + 44px));right:max(16px,var(--app-safe-right));bottom:auto;z-index:13}html.fullscreen-active .controls{position:absolute;left:0;right:0;bottom:0;padding:0 max(20px,var(--app-safe-right)) max(20px,var(--app-safe-bottom)) max(20px,var(--app-safe-left));background:transparent;border:0;pointer-events:none}html.fullscreen-active .actions{max-width:320px;margin:0 auto;pointer-events:auto}html.fullscreen-active #dice-charge{min-height:60px;box-shadow:0 3px #9d8042,0 5px 24px #08251b80}html.fullscreen-active #dice-label{font-size:14px}html.fullscreen-active #dice-band{font-size:11px}[hidden]{display:none!important}.expedition{min-height:0;height:100dvh}.hud{padding:calc(10px + var(--app-safe-top)) max(16px,var(--app-safe-right)) 10px max(16px,var(--app-safe-left))}.title-row{margin:7px 0}h1{font-size:24px}.controls{padding:0 max(16px,var(--app-safe-right)) calc(12px + var(--app-safe-bottom)) max(16px,var(--app-safe-left))}.journey-info{padding:9px 0}.journey-info>div{min-width:0}.companion{white-space:normal;text-align:right;max-width:105px}.world{min-height:130px}#announcement{font-size:12px}.actions button{height:56px}.setup-panel{position:absolute;z-index:9;top:50%;left:50%;transform:translate(-50%,-50%);width:min(340px,calc(100% - 28px));max-height:calc(100% - 20px);overflow:auto;padding:20px;border:1px solid #d3bc7a;border-radius:18px;background:#102f2ef5;box-shadow:0 10px 35px #0007}.setup-panel h2{font:26px/1.15 Georgia,serif;margin:12px 0;color:#fff0c4}.setup-panel p:not(.eyebrow){font-size:13px;line-height:1.5;margin:10px 0;color:#d2dfca}.setup-panel .primary{width:100%;min-height:48px;border-radius:12px;justify-content:center;margin-top:16px;font-weight:700}.match-dialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px - var(--app-safe-top) - var(--app-safe-bottom));overflow:auto;border:1px solid #e3c780;border-radius:20px;padding:24px;color:#edf3dc;background:#102f2e;box-shadow:0 20px 80px #0009}.match-dialog::backdrop{background:#061c1bd9}.match-dialog h2{font:28px/1.2 Georgia,serif;margin:12px 0 18px;color:#fff0c4}#question-statement,#result-description{font-size:18px;line-height:1.5;margin-bottom:20px;overflow-wrap:anywhere}#question-options{display:grid;gap:10px}#question-options button{min-height:52px;padding:12px 16px;border:1px solid #9db69c;border-radius:12px;background:#24483f;color:#fff5d6;text-align:left;font-size:16px}#question-options button:hover{background:#365d4e;border-color:#e9c477}.action-countdown{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;margin:0 0 10px;border:2px solid #e3c780;border-radius:14px;color:#fff0c4;background:#173c35}.action-countdown>div{min-width:0}.countdown-label{display:block;font-size:14px;font-weight:700}.countdown-message{display:block;margin-top:3px;font-size:12px}.countdown-seconds{flex-shrink:0;font-size:36px;line-height:1;font-variant-numeric:tabular-nums}.action-countdown.is-urgent{color:#ffb4b4;border-color:#ff7373;background:#4b1821}html.fullscreen-active #turn-countdown{max-width:320px;margin:0 auto 10px}#question-countdown{position:sticky;top:0;z-index:1}#new-match{width:100%;min-height:52px;border-radius:12px;justify-content:center}html.fullscreen-active .journey-info{display:flex;padding:8px 12px;border-radius:12px;margin:0 auto 10px;max-width:380px;background:#102f2ef2}html.fullscreen-active .controls{z-index:12}html.fullscreen-active .controls .companion{display:none}html.fullscreen-active .setup-panel{top:45%;max-height:calc(100% - 190px)}html.fullscreen-active #turn-status{color:#e4c781}@media(max-height:650px){.hud .eyebrow{display:none}.title-row{margin:0}h1{font-size:21px}.chapter{font-size:8px}.setup-panel{padding:14px}.setup-panel p:not(.eyebrow){font-size:12px;margin:7px 0}}#match-context{display:none}html.fullscreen-active #match-context{display:block;font-size:11px;color:#d5e1cb;margin-top:5px}html.fullscreen-active .map-caption{display:flex;top:max(16px,var(--app-safe-top));padding:8px;border-radius:8px;background:#102f2ebd}@media(min-width:600px){.expedition{height:calc(100dvh - 40px)}}@media(max-height:500px){.world{min-height:100px}.setup-panel{display:flex;align-items:center;gap:12px;padding:12px;width:calc(100% - 24px);max-width:440px}.setup-panel p{display:none}.setup-panel h2{flex:1;font-size:18px;margin:0}.setup-panel .primary{flex:none;width:auto;min-width:130px;min-height:44px;padding:8px 12px;margin:0}html.fullscreen-active .setup-panel{max-height:calc(100% - 160px)}}.entry-screen{position:fixed;inset:0;z-index:30;overflow-y:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 10% 0%,#315d46 0%,transparent 60%),#102f2e;padding:calc(28px + var(--app-safe-top)) max(20px,var(--app-safe-right)) calc(24px + var(--app-safe-bottom)) max(20px,var(--app-safe-left))}.entry-shell{width:100%;max-width:440px;margin:0 auto}.entry-shell>.eyebrow{color:#e9c477;font-size:10px;letter-spacing:2px}.entry-progress{margin:32px 0 12px;color:#b9d0bc;font-size:13px}#entry-title{font:36px/1.15 Georgia,serif;letter-spacing:-.5px;color:#fff0c4}.entry-description{margin:18px 0 24px;font-size:16px;line-height:1.6;color:#d2dfca}#entry-name-form label{display:block;margin:0 0 10px;font-weight:650}#player-name{width:100%;min-height:56px;padding:14px;border:1px solid #afc6ae;border-radius:12px;background:#0c2626;color:#fff5d6;font-size:18px}#player-name[aria-invalid=true]{border-color:#ffbcaa}.entry-note{font-size:13px;line-height:1.5;color:#c1d6bb;margin:12px 0 20px}.entry-error{margin:12px 0;color:#ffbcaa;font-size:14px}.entry-primary{width:100%;min-height:56px;border-radius:12px;margin:24px 0 0;font-size:16px;font-weight:700}.entry-characters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.entry-characters .character-card img{height:140px;object-fit:cover;object-position:center 35%}.entry-characters .character-card>span:not(.selection-mark){font-size:14px}.entry-characters .character-card .character-availability{padding:0 8px 12px;font-size:12px;overflow-wrap:anywhere}.entry-back{min-height:48px;padding:12px 4px;margin-top:20px;border:0;background:transparent;color:#e9c477;font-size:15px}.entry-summary{margin-top:24px;padding:14px;border:1px solid #a9bda155;border-radius:12px;background:#26483e;overflow-wrap:anywhere}.entry-online{width:100%;min-height:56px;padding:12px;border:1px solid #a9bda166;border-radius:12px;color:#c1d6bb;background:#193e36}.entry-online:disabled{opacity:1}.entry-online+.entry-online{margin-top:12px}#online-sharing:not([hidden])+#online-change-character{margin-top:24px}.result-passport{margin:20px 0}.passport-medal{display:flex;align-items:center;gap:16px;margin:12px 0;text-align:left}.passport-medal img{width:112px;height:112px;object-fit:contain;flex-shrink:0}.passport-stars{display:flex;gap:6px;margin-top:8px;font-size:30px;line-height:1.3}.passport-stars .lit{color:#ffd164;text-shadow:0 1px 2px #0008}.passport-stars .unlit{color:#9aaba5}.passport-medal-caption{line-height:1.5}.match-passport-gain{display:block;font-weight:700;margin-bottom:4px}#result-dialog .result-leave{display:block;width:auto;border:0;background:transparent;box-shadow:none;color:#e9c477;text-decoration:underline;text-underline-offset:3px}@media(max-width:360px){.passport-medal img{width:80px;height:80px}}.entry-rules{margin-top:24px;color:#c1d6bb;font-size:13px;line-height:1.6}.entry-rules summary{min-height:44px;cursor:pointer;color:#e9c477}#player-identity{display:flex;align-items:center;gap:7px;min-width:0;max-width:65%}#selected-name{overflow-wrap:anywhere}#hud-face{flex-shrink:0}#position{text-align:right;overflow-wrap:anywhere;min-width:0}@media(min-width:600px){.entry-screen{padding-top:60px}.entry-characters{grid-template-columns:repeat(4,minmax(0,1fr))}.entry-characters .character-card img{height:120px}}.online-shell h1{margin-top:24px;font:36px/1.15 Georgia,serif;color:#fff0c4}.online-shell h2{font:26px/1.2 Georgia,serif;color:#fff0c4;margin:20px 0 12px}.online-choice{display:block;width:100%;text-align:left;padding:22px;margin:16px 0;border:1px solid #a9bda166;border-radius:16px;background:#26483e;color:#fff0c4}.online-choice strong{display:block;font-size:20px;margin-bottom:10px}.online-choice span{display:block;font-size:14px;line-height:1.5;color:#d2dfca}.online-shell label{display:block;margin:16px 0 10px}.online-shell input,.online-shell select{width:100%;min-height:52px;border:1px solid #a9bda166;border-radius:10px;background:#f7f0da;color:#183735;padding:12px;font-size:16px}.online-shell button:disabled{opacity:.5;cursor:wait}.online-shell .character-card:disabled{cursor:default}.online-divider{border-top:1px solid #a9bda155;margin-top:32px;padding-top:24px}.online-players{display:grid;gap:14px;list-style:none;padding:0;margin:20px 0 24px}.participant-card{min-width:0;padding:18px;border:1px solid #d9ddcc;border-radius:22px;background:#fffdf7;color:#173e31;box-shadow:0 4px #071e2440}.participant-identity{display:flex;align-items:center;gap:14px}.participant-avatar{flex-shrink:0;width:64px;height:64px;object-fit:contain;padding:5px;border:1px solid #d8d8b8;border-radius:20px;background:#f5edce}.participant-avatar-placeholder{display:grid;place-items:center;font:32px Georgia,serif;color:#7c6b42}.participant-copy{min-width:0;flex:1}.participant-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 4px;font-size:10px;font-weight:750;letter-spacing:1px;color:#5b7256}.participant-self{padding:3px 7px;border:1px solid #d2dcc6;border-radius:999px;background:#eef3e5;color:#476448;letter-spacing:0}.participant-name{display:block;font-size:18px;line-height:1.4;overflow-wrap:anywhere}.participant-character{margin:3px 0 0;font-size:13px;line-height:1.5;color:#596a58;overflow-wrap:anywhere}.participant-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-top:14px;padding-top:10px;border-top:1px solid #e6e6d7}.participant-status{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:6px 10px;border:1px solid #d2dcc6;border-radius:999px;background:#eef3e5;color:#476448;font-size:12px;font-weight:650;line-height:1.5}.participant-status:before{content:"";flex-shrink:0;width:7px;height:7px;border-radius:50%;background:currentColor}.participant-status[data-status=ready]{border-color:#b5d6c0;background:#e4f2e6;color:#215c3b}.participant-status[data-status=choosing]{border-color:#e6d5a9;background:#fbefce;color:#79551a}.participant-status[data-status=reconnecting]{border-color:#e5c9bf;background:#f7e7e0;color:#85432e}.online-shell .participant-details{min-height:44px;max-width:100%;margin:0;padding:8px 0;border:0;border-radius:6px;background:transparent;color:#245c48;font-size:12px;font-weight:700;text-align:left}.participant-details:focus-visible{outline:3px solid #145eac;outline-offset:2px}@media(max-width:350px){.participant-card{padding:16px}.participant-identity{gap:12px}.participant-name{font-size:17px}}#online-sharing{background:#26483e;padding:18px;border-radius:14px;text-align:center}#online-sharing button{min-height:48px;padding:10px 16px;margin:8px 4px;border-radius:10px}.online-invite-code{font:700 30px/1.5 monospace;letter-spacing:3px;color:#ffe39c;-webkit-user-select:all;user-select:all}#online-link{overflow-wrap:anywhere}#online-qr{max-width:100%;height:auto;border-radius:8px;margin:10px auto}#online-back{display:block}#online-error{overflow-wrap:anywhere}#online-network{position:fixed;top:env(safe-area-inset-top,0px);left:0;right:0;z-index:45;padding:12px;background:#193e36;color:#fff0c4;text-align:center;font-size:14px}.entry-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.entry-heading .eyebrow{color:#e9c477}.profile-form{margin:20px 0;padding-bottom:20px;border-bottom:1px solid #a9bda133}.profile-form>label{display:block;margin-bottom:10px;font-weight:650}.profile-form>input{width:100%;min-height:52px;padding:12px;border:1px solid #afc6ae;border-radius:10px;background:#0c2626;color:#fff5d6;font-size:16px}.profile-form>input[aria-invalid=true]{border-color:#ffbcaa}.profile-form>.primary{width:100%;min-height:48px;margin-top:14px;border-radius:10px;justify-content:center}#settings-name-status:empty{display:none}.match-dialog>button{min-height:48px;padding:12px 18px;margin:6px 4px;border-radius:12px}.match-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.match-dialog p{overflow-wrap:anywhere}.match-dialog button:disabled{opacity:.55;cursor:default}.participant-dialog-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}.participant-dialog-heading h2{flex:1;min-width:0;margin:4px 0 0;overflow-wrap:anywhere}.participant-dialog .participant-dialog-close{display:grid;place-items:center;flex-shrink:0;width:44px;min-height:44px;margin:0;padding:0;border:1px solid #a9bda166;border-radius:12px;background:#26483e;color:#fff0c4;font-size:28px;line-height:1}
