/* One intact sprite: no displacement filter and no independently drifting legs. */
.character-dashboard .hero-pose.pose-neutral{filter:none!important;transform:translateX(-50%);animation:none!important;will-change:auto}
.character-dashboard .hero-figure{left:50%;}
.character-dashboard .hero-pose.pose-neutral{aspect-ratio:2/3}
.character-dashboard .hero-figure{height:90%;bottom:.75%}
.character-dashboard[data-hero-tier] .idle-body{background-image:url('./assets/home-hero-reference-v1.png')!important;background-size:100% 100%!important;background-position:50% 50%!important}
.character-dashboard .home-avatar-art{filter:none}
.character-dashboard .hero-eye-glow{position:absolute;z-index:4;left:44.5%;top:10.3%;width:9%;height:3.5%;opacity:var(--eye-glow,0);transform:rotate(-18deg);pointer-events:none;mix-blend-mode:screen;filter:blur(calc(.18px + var(--eye-glow,0)*.55px));transition:opacity .65s ease,filter .65s ease}
.character-dashboard .hero-eye-glow::before,.character-dashboard .hero-eye-glow::after{content:'';position:absolute;top:42%;width:19%;height:22%;border-radius:50%;background:#fff7ca;box-shadow:0 0 calc(1px + var(--eye-glow,0)*3px) #fff5bc,0 0 calc(3px + var(--eye-glow,0)*7px) #ffc34b,0 0 calc(7px + var(--eye-glow,0)*13px) #ff8a22}
.character-dashboard .hero-eye-glow::before{left:20%}.character-dashboard .hero-eye-glow::after{left:57%}
.character-dashboard .hero-eye-glow.level-glow-effect{opacity:1;animation:hero-eye-level-flare 2.6s ease-out both}
@keyframes hero-eye-level-flare{0%{opacity:0;filter:blur(1px)}18%,48%{opacity:1;filter:blur(.35px)}72%{opacity:.78;filter:blur(1.2px)}100%{opacity:0;filter:blur(2.4px)}}
.character-dashboard .hero-aura,.character-dashboard .hero-aura.is-leveling{color:#ffad35!important}
.character-dashboard .hero-aura .hero-floor{opacity:var(--aura-floor-opacity,.62);filter:drop-shadow(0 0 var(--aura-floor-blur,1.5px) #fff2b0) drop-shadow(0 0 var(--aura-floor-reach,5px) #ff962e);transition:opacity .55s ease,filter .55s ease}
.character-dashboard .hero-aura .hero-floor ellipse{stroke:#ffad35;stroke-width:1.2}
.character-dashboard .hero-aura .hero-floor ellipse+ellipse{stroke:#ffda83;stroke-width:.8;opacity:.82}
.character-dashboard .hero-aura .hero-floor path{fill:#fff4b4;opacity:.98;filter:drop-shadow(0 0 var(--aura-floor-blur,1.5px) #fff4b4) drop-shadow(0 0 var(--aura-floor-reach,5px) #ffad35)}
.character-dashboard .hero-aura::before{content:'';position:absolute;z-index:0;left:50%;bottom:50%;width:190%;height:360%;transform:translateX(-50%);pointer-events:none;opacity:var(--aura-ray-opacity,.36);background:radial-gradient(ellipse at 50% 100%,#ffd77b70 0,#ffb53938 26%,transparent 75%),repeating-conic-gradient(from -18deg at 50% 100%,transparent 0deg 8deg,#ffd47755 8.6deg 9.4deg,transparent 10deg 18deg);filter:blur(4.5px);-webkit-mask-image:linear-gradient(to top,#000 0%,#000 48%,transparent 100%);mask-image:linear-gradient(to top,#000 0%,#000 48%,transparent 100%);transition:opacity .55s ease}
.character-dashboard .aura-flames{filter:blur(1.8px)}
.character-dashboard .aura-flames::before{content:'';position:absolute;inset:14% 4% 4%;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,transparent 44%,#fff0a050 56%,#ffad3560 68%,transparent 84%);opacity:calc(.025 + var(--flame-strength,0)*.34);transition:opacity .7s ease}
.character-dashboard .home-avatar-glow .hero-pose{animation:none!important}
.character-dashboard .wheel-slice{filter:none}
.character-dashboard .wheel-halo{display:none}
.character-dashboard .quest-wheel{isolation:isolate;filter:none;box-shadow:0 0 7px #ffcc7540,0 0 16px #db8c4830,0 0 22px #3867d21f}
.character-dashboard .wheel-rim{stroke-width:1.15;filter:none}
.character-dashboard .wheel-rim [data-rim-category]{opacity:.94;filter:drop-shadow(0 0 1px currentColor) drop-shadow(0 0 3.5px currentColor)}
.character-dashboard .wheel-outer-rim{stroke:#fff3d0;stroke-width:.65;opacity:.72;filter:drop-shadow(0 0 1px #fff8d4) drop-shadow(0 0 3px #ffbf6570)}
.wheel-layer{position:absolute;inset:0;display:block;opacity:1}
.wheel-layer.is-arriving{animation:wheel-dissolve .48s ease-out both}
@keyframes wheel-dissolve{from{opacity:0}to{opacity:1}}
.character-dashboard .aura-flames>span{width:calc(8px + var(--flame-strength,0)*9px);height:calc(6px + var(--flame-strength,0)*28px);filter:none;box-shadow:none;border-radius:55% 30% 48% 46%;background:radial-gradient(ellipse at 50% 80%,#fff8d099 0 9%,#ffd47d9c 28%,#ff9c3778 52%,transparent 82%);animation:phone-flame 2.2s ease-in-out infinite alternate;animation-delay:calc(var(--i)*-.17s)}
.character-dashboard .aura-flames>span::before,.character-dashboard .aura-flames>span::after{display:none}
@keyframes phone-flame{from{transform:translateX(-50%) scaleY(.7);opacity:calc(var(--flame-strength,0)*.28)}to{transform:translateX(-50%) scaleY(1.12);opacity:calc(var(--flame-strength,0)*.6)}}
#homeXp[hidden]{display:none!important}
#homeXpLevel{position:relative;z-index:3;display:block;grid-area:1/1;align-self:center;justify-self:center;color:#fff5df;font:650 12px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;text-shadow:0 1px 3px #000,0 0 3px #000;font-variant-numeric:tabular-nums}
#homeXpTrack{display:grid!important;place-items:center}
.focus-reward{display:block;font-size:11px;line-height:1.4;color:#e8d292;margin-top:5px}
.sound-settings{flex:none;color:#d5d7e1;font-size:12px;padding:0 7px;max-height:138px;overflow:auto}
.sound-settings summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:5px}
.sound-choices{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.sound-choices button,.notification-actions button{min-height:44px;padding:5px;font-size:12px;background:linear-gradient(125deg,#40364b,#15243b);border:1px solid #947b5666;border-radius:6px;color:#efe5d0}
.sound-choices button[aria-pressed=true]{border-color:#e4c472;background:#51432d}
.notification-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
.notification-actions button{flex:1}
#focusAlertStatus{font-size:11px;line-height:1.4}
#tab-history .sound-settings{background:#111b2a;border-radius:7px}
#tab-quests.is-page-entering,#tab-history.is-page-entering{animation:phone-page-enter .3s ease-out both!important}
@keyframes phone-page-enter{from{opacity:.25}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.character-dashboard .hero-pose.pose-neutral,.character-dashboard .home-avatar-glow .hero-pose,.character-dashboard .aura-flames>span,.wheel-layer.is-arriving,#tab-quests.is-page-entering,#tab-history.is-page-entering{animation:none!important;will-change:auto}.character-dashboard .hero-aura::before,.character-dashboard .hero-aura .hero-floor,.character-dashboard .aura-flames::before{transition:none!important}}
.is-backgrounded *{animation-play-state:paused!important}
#completionFill{width:100%}

/* Minimal phone layout. Only selected controls receive a colored border. */
:root{--app-edge:8px;--nav-bottom:max(8px,env(safe-area-inset-bottom));--minimal-nav-height:calc(48px + 8px + var(--nav-bottom))}
html,body,body:has(:is(#tab-quests,#tab-history):not(.hidden)){background:#111318;color:#e9ecf1}
body::before{display:none!important;content:none!important;background:none!important}
body:has(:is(#tab-quests,#tab-history):not(.hidden)) .shell{padding-top:max(var(--app-edge),env(safe-area-inset-top));padding-bottom:calc(var(--minimal-nav-height) + 4px)}
#homeCharacterHost,#historyCharacterHost{background:#111318;box-shadow:none;border-bottom-color:#30343e}
.character-dashboard .category-stats{background:none}
.character-dashboard .category-meter{background:#252932;border:1px solid #373c47;box-shadow:none}
.character-dashboard .category-meter i{
 background:linear-gradient(90deg,color-mix(in srgb,var(--category) 60%,white),var(--category) 62%,color-mix(in srgb,var(--category) 84%,white));
 filter:saturate(1.45) brightness(1.13);
 box-shadow:0 0 4px color-mix(in srgb,var(--category) 92%,white),0 0 10px color-mix(in srgb,var(--category) 82%,transparent),inset 0 1px 2px #fff9;
}
.character-dashboard .wheel-slice{filter:saturate(1.16) brightness(1.02) contrast(1.04)}
.character-dashboard .wheel-divider{stroke-width:.55;opacity:.68;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 .8px currentColor)}
.character-dashboard .quest-wheel::after{background:radial-gradient(ellipse at 53% 53%,#03050b58 0%,#06101d22 31%,transparent 68%),radial-gradient(ellipse at 50% 50%,transparent 70%,#02050d4a 100%),radial-gradient(ellipse at 29% 18%,#fff4cb26,transparent 46%);box-shadow:inset 0 0 2px #fffad977,0 0 3px #ffffff55;border-color:#fffad9a8}
.character-dashboard .category-meter i{background:linear-gradient(90deg,color-mix(in srgb,var(--category) 78%,white),var(--category) 67%,color-mix(in srgb,var(--category) 78%,#080b13));filter:saturate(1.12) brightness(1.04);box-shadow:0 0 3px color-mix(in srgb,var(--category) 90%,white),0 0 8px color-mix(in srgb,var(--category) 58%,transparent),inset 0 1px 1px #fff9}
.character-dashboard .home-level-progress{grid-template-columns:minmax(0,1fr);padding:0;gap:0}
.character-dashboard #homeXpTrack{display:block!important;width:100%;box-sizing:border-box;justify-self:stretch;border-color:#c49a45;background:linear-gradient(180deg,#392d18,#19150e);box-shadow:inset 0 1px 3px #000a,0 0 3px #c9932b44,0 0 calc(2px + var(--xp-ratio,0)*7px) #f6c95d77;overflow:hidden;isolation:isolate}
.character-dashboard #homeXpFill{position:absolute;left:0;top:0;bottom:0;margin:0;height:100%;max-width:100%;transform:none;background:linear-gradient(90deg,#9b6b1d 0%,#ce9c32 56%,#f7d36d 100%);filter:brightness(calc(.88 + var(--xp-ratio,0)*.25));box-shadow:inset 0 1px 1px #fff3b966,0 0 calc(3px + var(--xp-ratio,0)*9px) #ffd76a99;transition:width .65s ease,filter .6s ease,box-shadow .6s ease}
.character-dashboard #homeXpLevel{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;grid-area:auto;padding:0;color:#fff1bc;text-shadow:0 1px 3px #000,0 0 3px #000;font-variant-numeric:tabular-nums}
.character-dashboard .home-status-strip{background:#191c23!important;border-color:#343944;box-shadow:none}
#tab-history #homeCompletionTrack{border-color:#424854;background:#252932}
#tab-history #historyList{background:#171a21!important;border-color:#353b46;box-shadow:none}
#tab-history .event:not(.history-deleted){border-color:#303641}
#tab-history .event .body,#tab-history .history-quest .body{color:#d8dde6}
#tab-history .event .date{color:#aab3c0}
#tab-history .history-quest .event-icon{border-color:#414854;background:#20242c;box-shadow:none}
.home-quest{border-color:#353a45;background:#191c23;box-shadow:none}
.home-quest:not(.is-open){border-top-color:#353a45;border-right-color:#353a45;border-bottom-color:#353a45}
.home-quest.is-open{border-color:color-mix(in srgb,var(--category) 65%,#666);background:#1d2129;box-shadow:0 0 3px color-mix(in srgb,var(--category) 20%,transparent)}
.home-quest .quest-progress{border-color:#3c424e!important;box-shadow:none!important;background:#252932!important}
.home-quest .quest-step{border-color:#363c46}
.home-quest .quest-step input:not(:checked){border-color:#626976;box-shadow:none}
.home-quest .home-quest-actions button:not(.quest-delete){border-color:#444b57;background:#292e37;box-shadow:none;color:#e3e7ef}
#tab-quests .home-dock .daily-quest{border-color:#3c424e;background:#191c23;box-shadow:none}
.daily-quest .archive-mountains{display:none}
#tab-quests .home-dock #dailyQuest button{border-color:#454c58;background:#292e37;color:#e6eaf1;box-shadow:none}
#tab-history .history-controls{background:#191c23;border-color:#353a45}
#tab-history .history-controls :is(.sm-btn,#undoBtn){border-color:#424955;background:#292e37;box-shadow:none;color:#e6eaf1}
.sound-choices button,.notification-actions button{border-color:#424955;background:#292e37;box-shadow:none}
.sound-choices button[aria-pressed=true]{border-color:#d3b66b;background:#39352a}
body:has(:is(#tab-quests,#tab-history):not(.hidden)) .tabbar{height:var(--minimal-nav-height);min-height:var(--minimal-nav-height);padding:8px 12px var(--nav-bottom);grid-template-columns:repeat(3,48px);justify-content:space-evenly;align-items:start;gap:0;background:#111318;box-shadow:none}
body:has(:is(#tab-quests,#tab-history):not(.hidden)) .tabbar .tab,#navAddQuest{display:grid;place-items:center;align-self:start;justify-self:center;width:48px;min-width:48px;height:48px;min-height:48px;padding:10px;gap:0;border:1px solid #353b46;border-radius:12px;background:#191d24;box-shadow:none;color:#b6becb}
body:has(:is(#tab-quests,#tab-history):not(.hidden)) .tabbar .tab.active{color:#f0d486;border-color:#b39a5f;background:#29271f}
body:has(:is(#tab-quests,#tab-history):not(.hidden)) .tabbar .tab svg,#navAddQuest svg{width:26px;height:26px;filter:none}

body>#questComposer.quest-composer{top:max(8px,env(safe-area-inset-top));bottom:0;left:50%;width:100%;max-width:430px;height:auto;max-height:none;overflow-y:auto;padding:0 14px max(14px,env(safe-area-inset-bottom));border:1px solid #697180aa;border-bottom:0;border-radius:14px 14px 0 0;background:linear-gradient(145deg,rgba(39,43,53,.68),rgba(20,23,30,.58));backdrop-filter:blur(26px) saturate(1.3);-webkit-backdrop-filter:blur(26px) saturate(1.3);box-shadow:0 -8px 28px #05070c55,inset 0 1px #ffffff2a;color:#e5e9f0}
#composerBackdrop{background:#080a1070!important;backdrop-filter:blur(18px) saturate(1.12)!important;-webkit-backdrop-filter:blur(18px) saturate(1.12)!important}
#questComposer .composer-heading{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;padding:10px 0;background:rgba(30,33,41,.72);backdrop-filter:blur(20px) saturate(1.25);-webkit-backdrop-filter:blur(20px) saturate(1.25)}
#questComposer :is(#closeComposer,#addQuestBtn){display:grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:9px;margin:0;border:1px solid #424955;border-radius:10px;background:#262c35;box-shadow:none;color:#e5eaf2}
#questComposer :is(#closeComposer,#addQuestBtn) svg{width:24px;height:24px}
#questComposer #addQuestBtn{color:#dce8e1;border-color:#55655b}
#questComposer .composer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}
#questComposer .entry-row{display:block;position:relative;min-width:0}
#questComposer :is(#questInput,#questSteps){display:block;width:100%;height:156px;min-height:156px;resize:none;padding:10px;margin:0;background:#22262f;border-color:#434a57;box-shadow:none;color:#edf0f6;font-size:16px;line-height:1.35}
#questComposer :is(#questInput,#questSteps){padding-bottom:54px}
#questComposer .mic{position:absolute;right:5px;bottom:5px;width:44px;min-width:44px;height:44px;min-height:44px;border-color:#404854;border-radius:9px;background:#2d333e;box-shadow:none;color:#c4ccd9}
#questComposer .mic.recording{border-color:#e1c979;background:#494332;color:#fff0b2;box-shadow:0 0 9px #e1c97944}
#questComposer .quest-options{margin-top:13px}
#questComposer .quest-options h3{margin:12px 0 6px;font:500 12px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#aeb7c6}
#questComposer #categoryChoices{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:0}
#questComposer #difficultyChoices{gap:6px;margin-top:0}
#questComposer #categoryChoices .choice-category,#questComposer #difficultyChoices .choice-difficulty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:56px;min-width:0;padding:5px 2px;gap:3px;border:1px solid #3e4552;border-radius:8px;background:#242933;box-shadow:none;color:#d1d7e2;font-size:10px;line-height:1.15;text-align:center}
#questComposer #categoryChoices .choice-category{box-sizing:border-box;flex:0 0 calc((100% - 24px)/5)}
#questComposer #categoryChoices .choice-category svg{width:20px;height:20px;color:var(--category);filter:none}
#questComposer #categoryChoices .choice-category[aria-pressed=true]{border-color:var(--category);background:color-mix(in srgb,var(--category) 16%,#242933);color:#fff}
#questComposer #difficultyChoices .choice-difficulty .difficulty-icon{font-size:18px;color:#b6bfce}
#questComposer #difficultyChoices .choice-difficulty strong{font-size:10px;color:inherit}
#questComposer #difficultyChoices .choice-difficulty small{font-size:9px}
#questComposer #difficultyChoices .choice-difficulty[aria-pressed=true]{border-color:#c7ae71;background:#373326;color:#f0dcab}
#questComposer .repeat-choice{width:max-content;max-width:100%;justify-content:center;border-color:#3e4552;background:#242933;box-shadow:none;margin:12px auto 0;padding:8px;min-height:48px}
#questComposer .repeat-choice.is-selected{border-color:#c7ae71;background:#373326}
#questComposer .repeat-choice>svg{color:#aeb9c9}
#questComposer #voiceStatus:empty{display:none}
#questComposer :is(input,textarea,button):focus-visible{outline:2px solid #bbc9e2;outline-offset:2px}
@media(max-width:380px){#questComposer #categoryChoices .choice-category{font-size:9.5px}}

/* Keep the eye flare attached to the reference face and compositor only. */
.character-dashboard .hero-eye-glow.level-glow-effect{will-change:opacity,filter}
@media(prefers-reduced-motion:reduce){.character-dashboard .hero-eye-glow.level-glow-effect{animation:none;opacity:1}}

/* November 8: compact phone controls, one timeline, dedicated settings. */
:root{--nav-bottom:max(4px,env(safe-area-inset-bottom));--minimal-nav-height:calc(48px + 4px + var(--nav-bottom))}
body:has(#tab-settings:not(.hidden)) .shell{position:fixed;inset:0;margin:auto;width:100%;max-width:430px;height:100dvh;min-height:0;box-sizing:border-box;padding:max(8px,env(safe-area-inset-top)) 12px calc(var(--minimal-nav-height) + 4px);overflow:hidden;background:#111318}
body:has(:is(#tab-quests,#tab-history,#tab-settings):not(.hidden)) .tabbar{bottom:0;height:var(--minimal-nav-height);min-height:var(--minimal-nav-height);padding:4px 12px var(--nav-bottom);grid-template-columns:repeat(4,48px);justify-content:space-evenly;align-items:start;gap:0;background:#111318;box-shadow:none;transform:none}
body:has(#tab-settings:not(.hidden)) .tabbar .tab{display:grid;place-items:center;width:48px;min-width:48px;height:48px;min-height:48px;padding:10px;border:1px solid #353b46;border-radius:12px;background:#191d24;color:#b6becb}
body:has(#tab-settings:not(.hidden)) .tabbar .tab.active{color:#f0d486;border-color:#b39a5f}
body:has(#tab-settings:not(.hidden)) .tabbar svg{width:26px;height:26px}
#tab-settings{flex:1;min-height:0;overflow-y:auto;padding:8px 0 16px;color:#dce1eb}
#tab-settings h1{font-size:22px;margin:8px 0 18px}
#tab-settings .history-controls{position:static;inset:auto;transform:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;gap:8px;padding:0;background:none;border:0}
#tab-settings .history-controls button{min-height:64px;background:#1c2029;border:1px solid #363d49;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;color:#e2e7ef}
#tab-settings .history-controls svg{width:24px;height:24px}
#tab-settings :is(.sound-settings,.restore-tools){position:static;max-height:none;overflow:visible;margin:16px 0;padding:10px;border:1px solid #343b48;border-radius:10px;background:#191d25}
#tab-settings summary{min-height:44px;display:flex;align-items:center}
#tab-settings .settings-note,#tab-settings .callout{font-size:12px;line-height:1.5;color:#aeb6c5}
#tab-settings,#tab-settings button,#tab-settings summary,#tab-settings .callout,#tab-settings .settings-note{font-size:13px;line-height:1.35}
#tab-settings h1{font-size:18px;line-height:1.35}
#tab-settings .history-controls span,#tab-settings summary,#tab-settings button{font-size:13px}
#tab-settings.is-page-entering{animation:phone-page-enter .3s ease-out both}
#tab-history #historyList{padding:3px!important;border:0!important;background:none!important}
#tab-history #historyList .event{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:44px;width:100%;box-sizing:border-box;padding:3px 6px;margin:0 0 4px;transform:none!important;border:1px solid #303640;border-radius:6px;background:#191d24}
#tab-history #historyList .history-deleted{background:linear-gradient(100deg,#401d26,#211a22);border-color:#723543}
#tab-history #historyList .event-icon{width:24px;height:24px;min-width:0;padding:2px;border:0;background:none}
#tab-history #historyList .event-icon svg{width:20px;height:20px}
#tab-history #historyList .history-copy{min-width:0}
#tab-history #historyList .body{font-size:12px;line-height:1.25;overflow-wrap:anywhere}
#tab-history #historyList .date{font-size:10px;margin-top:2px;line-height:1.2}
#tab-history #historyList :is([data-restore-quest],[data-restore-completed]){display:inline-flex!important;align-items:center;justify-content:center;text-align:center;visibility:visible!important;opacity:1!important;grid-column:3;justify-self:end;min-width:58px;min-height:40px;padding:4px;font-size:11px;line-height:1;background:#512632!important;border:1px solid #b45d70!important;border-radius:6px;color:#ffdce3!important}
#tab-quests #homeQuestList{gap:4px;padding-top:4px}
#tab-quests .home-quest:has(>.quest-drag-handle) .quest-expand{min-height:44px;padding:0 44px 0 4px;column-gap:4px}
#tab-quests .home-quest .quest-progress{min-height:26px;padding:1px 4px;border:0!important;border-radius:4px;background:transparent!important;box-shadow:none!important}
#tab-quests .home-quest .quest-progress-fill{opacity:.45}
#tab-quests .home-quest .quest-drag-handle{top:0;right:0;height:40px;width:40px;z-index:3}
#tab-quests .home-quest{border-left-width:1px;touch-action:pan-y;transition:border-color .18s,transform .18s}
#tab-quests .home-quest.is-swiping{transition:none;background:#421f2a;border-color:#a64a60}
#tab-quests .quest-steps{position:relative;padding:2px 7px 5px 25px!important;border:0}
#tab-quests .quest-created{position:absolute;left:-14px;top:4px;bottom:4px;width:10px;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;transform:rotate(180deg);font-size:8px;line-height:1;color:#929cae;margin:0;letter-spacing:-.35px;white-space:nowrap;overflow:visible}
#tab-quests .quest-step{min-height:44px;padding:2px 0;gap:7px;border:0;font-size:12px;line-height:1.25}
#tab-quests .quest-step::before,#tab-quests .quest-step::after{display:none}
#tab-quests .quest-steps::before{display:none}
#tab-quests .home-quest-actions{display:flex;justify-content:center;gap:5px;width:calc(100% + 25px);margin:2px 0 0 -25px;padding:0;border:0}
#tab-quests .home-quest-actions button{min-height:40px;padding:3px 8px;font-size:11px;border:1px solid #596273!important;background:#252b35!important;border-radius:6px;color:#e3e7ef;box-shadow:inset 0 1px #ffffff16,0 1px 2px #0008}
#tab-quests .focus-session{display:flex;align-items:center;gap:12px;border:0;padding:3px 0;margin:0;background:none}
#tab-quests .focus-circle{position:relative;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:64px;height:64px;min-height:64px;border-radius:50%;padding:3px;border:1px solid color-mix(in srgb,var(--category) 65%,#141820);color:#f7f9ff;background:conic-gradient(from -90deg,var(--category) calc(var(--timer-ratio,0)*1turn),color-mix(in srgb,var(--category) 25%,#151a25) 0);box-shadow:inset 0 0 0 4px #11131866;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #000}
#tab-quests .focus-circle .focus-clock{font-size:13px;line-height:1.4}
#tab-quests .focus-circle .focus-symbol{font-size:11px}
#tab-quests .focus-circle.is-running{border-color:var(--category)}
#tab-quests .focus-circle:disabled{opacity:1}
#tab-quests .quest-streak{flex:1;min-width:0;margin:0}
#questComposer .composer-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:8px}
#questComposer .composer-fields>.entry-row:first-child{grid-column:1;grid-row:1}
#questComposer .composer-fields>.entry-row:last-child{grid-column:2;grid-row:1}
#questComposer .composer-fields>#categoryChoices{grid-column:1/-1;grid-row:2;width:100%;align-self:center}
#questComposer .composer-fields .entry-row{width:100%;min-width:0}
#questComposer #categoryChoices{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}
#questComposer .repeat-choice{display:inline-flex;vertical-align:top;justify-content:center;width:calc(50% - 5px);margin:10px 1px 0;min-height:52px;padding:5px;font-size:12px}
#questComposer .repeat-choice small{display:block;font-size:10px}
#questComposer .quest-options{text-align:center}
#questComposer textarea{min-height:80px}
.character-dashboard .wheel-divider{stroke:#ffe8ad!important;stroke-width:1.05!important;opacity:.88!important;filter:drop-shadow(0 0 1.5px #ffe3a5) drop-shadow(0 0 4px #d8a84d99)!important;vector-effect:non-scaling-stroke;stroke-linecap:round}
.character-dashboard .wheel-slice{filter:saturate(1.4) brightness(.82) contrast(1.1)!important}
.character-dashboard .wheel-rim path,.character-dashboard .wheel-rim circle{filter:drop-shadow(0 0 1.5px currentColor) drop-shadow(0 0 4px currentColor)}
.character-dashboard .category-meter i{filter:none!important;background:linear-gradient(90deg,color-mix(in srgb,var(--category) 62%,#111321),var(--category));box-shadow:inset 0 1px #ffffff38,0 0 5px color-mix(in srgb,var(--category) 40%,transparent)}
.character-dashboard .grace-beam{background:radial-gradient(ellipse at 50% 38%,#fff5d25c 0%,#ffe8b82b 30%,transparent 68%);mask-image:radial-gradient(ellipse,#000 12%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse,#000 12%,transparent 72%)}
.character-dashboard .grace-rays{mask-image:radial-gradient(ellipse,#000 10%,transparent 70%);-webkit-mask-image:radial-gradient(ellipse,#000 10%,transparent 70%)}
@media(prefers-reduced-motion:reduce){#tab-settings.is-page-entering{animation:none!important}.home-quest{transition:none!important}}
body:has(:is(#tab-quests,#tab-history,#tab-settings):not(.hidden)) .tabbar{position:fixed;left:0;right:0;margin:0 auto;width:100%;max-width:430px;box-sizing:border-box;border:0;border-radius:0;transform:none}
#tab-quests .home-quest .quest-progress::after{display:none}
#tab-settings .tabbar{border:0}
body:has(:is(#tab-quests,#tab-history,#tab-settings):not(.hidden)) .tabbar{display:grid}
body:has(#tab-settings:not(.hidden)) .tabbar .tab{flex:none;max-width:48px;justify-self:center;align-self:start}
