/* Editable visual refinement of the approved concept. Character PNGs are unchanged. */
.persona.active{filter:drop-shadow(0 0 6px #7d9effaa)}
.persona.active.pink{filter:drop-shadow(0 0 6px #e996c399)}
#selection .stage{height:30px;margin:16px 0 0}
.switcher{height:90px;gap:9px;font-size:12px}
.switcher>button{font-size:27px;color:#cee3ff;flex:0 0 44px}
.switch-copy{display:grid;justify-items:center;gap:1px}
.role-markers{display:flex;gap:6px}
.switcher .role-marker{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;width:78px;font-size:12px;color:#a7b9d6;border:1px solid transparent;border-radius:4px;background:transparent}
.role-marker span{font-size:10px;color:#7e9bc7}
.switcher .role-marker[aria-pressed=true]{background:#112445;border-color:#5c87d0;color:#e6f2ff;box-shadow:inset 0 0 10px #4e8cff19}
.pink-ambient .role-marker[aria-pressed=true]{background:#29162c;border-color:#be7ca5;color:#ffe5f4}
.switch-hint{font-size:12px;line-height:18px;color:#b9c9e4}
.switch-copy .current{font-size:11px;line-height:17px;margin:0;color:#d2e3fc}

/* A compact daily header frees the first screen for today's actual action. */
body[data-page=tasks] .phone{padding-top:max(24px,calc(env(safe-area-inset-top,0px) + 12px))}
body[data-page=tasks] .brand{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:11px;text-align:left;align-items:center;margin-bottom:16px}
body[data-page=tasks] .planet{grid-column:1;grid-row:1/3;width:42px;height:36px;margin:0}
body[data-page=tasks] .brand-cn,body[data-page=tasks] .brand-en{display:none}
body[data-page=tasks] .brand h1{grid-column:2;margin:0;font-size:22px;line-height:32px}
body[data-page=tasks] .brand .subtitle{grid-column:2;font-size:12px;line-height:20px}
body[data-page=tasks] .system-avatar{margin:12px 0;gap:12px}
body[data-page=tasks] .system-avatar img{width:48px;height:64px}
body[data-page=tasks] .system-avatar strong{font-size:15px;line-height:1.7}
body[data-page=tasks] .system-avatar small{font-size:11px;line-height:1.8}
.mission-summary .form-inside{padding:16px}
.mission-topline{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;line-height:1.8;color:#a2bde6}
.mission-topline time{white-space:nowrap}
.mission-summary h2{font-size:18px;line-height:1.6;margin:9px 0 12px}
.mission-progress{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;line-height:1.7}
.mission-progress progress{width:48px;height:5px;appearance:none;border:0;border-radius:5px;overflow:hidden;background:#20314f}
.mission-progress progress::-webkit-progress-bar{background:#20314f;border-radius:5px}
.mission-progress progress::-webkit-progress-value{background:#afd5ff;border-radius:5px}
.mission-progress progress::-moz-progress-bar{background:#afd5ff;border-radius:5px}
.mission-progress strong{font-weight:500;color:#d9eaff}
.mission-progress>span:last-child{margin-left:auto;white-space:nowrap;color:#a9c3e7}
.rest-indicator{width:6px;height:6px;border-radius:50%;background:#95b9ee}
body[data-page=tasks] .section-title{margin:20px 0 10px;font-size:16px}

/* The completion requirement and action come before optional context. */
.quest{padding:18px}
.quest-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}
.quest-time{font-size:12px;line-height:1.8;color:#c2d6f4;white-space:nowrap}
.quest h3{font-size:20px;line-height:1.55;margin:15px 0 9px;color:#eaf3ff}
.quest .quest-action{font-size:15px;line-height:1.8;color:#d0e0f8}
.completion-condition{padding:12px 14px;margin:16px 0 13px;border-left:2px solid #98c4ff;background:#0a172c}
.completion-condition>span{display:block;font-size:12px;color:#9dbfee;margin-bottom:5px}
.completion-condition p{font-size:15px;line-height:1.8;color:#ebf3ff}
.quest-reward{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0;color:#c8e2ff;font-size:13px;line-height:1.8}
.quest-reward small{font-size:12px;color:#a3b9d9}
.quest .primary{width:100%;min-height:50px;font-size:16px;margin:12px 0 0}
.quest.done .primary{filter:none;background:#111f37;border-color:#637eaa;color:#bfcee6}
.quest .settlement{font-size:13px;line-height:1.8;color:#c5e6ff;margin:12px 0 0}
.quest-explanation{border-top:1px solid #263e65;margin-top:14px}
.quest-explanation summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:13px;line-height:1.7;color:#a8c6ef;list-style:none}
.quest-explanation summary::-webkit-details-marker{display:none}
.quest-explanation summary::after{content:'＋';margin-left:auto;font-size:18px}
.quest-explanation[open] summary::after{content:'－'}
.quest-explanation dl{font-size:13px;line-height:1.9;margin:2px 0 10px;grid-template-columns:65px minmax(0,1fr)}
.quest-record-status{margin-top:12px}
@media(max-width:360px){.quest{padding:14px}.mission-summary .form-inside{padding:14px}.quest h3{font-size:19px}.quest-time{font-size:11px}.completion-condition{padding:10px 12px}.switcher{gap:4px}.switcher .role-marker{width:70px}.mission-progress{gap:7px}.mission-topline{font-size:10.5px}}
