/* 2026-10-24: illustrated adventure UI. Layout/record contracts stay in their original modules. */
:root{
 --ink:#173e50;--ink-2:#3f6171;--ink-3:#577483;--line:#cddfe4;
 --bg:#f0f7f8;--bg-dot:transparent;--paper:#fffdf7;--cream:#fff2c9;
 --sun:#ffd568;--sun-press:#f1bf46;--logo-blue:#147d92;--logo-deep:#173e50;
 --shadow-float:0 16px 48px #173e5026,0 3px 12px #173e5012;
 --ui-shadow:0 6px 18px #173e5010;--ui-border:#d4e4e6;
}
body{background-color:var(--bg);background-image:none}
h1,h2,h3,h4,.c-sheet__title,.c-btn{letter-spacing:.01em}
.c-btn{border:1px solid #b6cfd7;border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 2px 0 #b6cfd75c,0 4px 10px #173e500b;transition:transform .14s,box-shadow .14s,background-color .14s}
.c-btn--primary{border-color:#d6a535;background:linear-gradient(180deg,#ffe496,#ffd15f);color:#473711;box-shadow:0 2px 0 #ba8c2f,0 5px 12px #85651b16;text-shadow:0 1px 0 #fff8}
.c-btn--secondary{background:#f5fbfd;border-color:#b7d6de;color:#19596c;box-shadow:0 2px 0 #b7d6de70}
.c-btn--danger{background:#c04c4e;border-color:#ac4246;color:#fff;box-shadow:0 2px 0 #93393c}
.c-btn--ghost{background:transparent;border-color:transparent;box-shadow:none;text-decoration:none;color:#256d82}
.c-btn--sm{box-shadow:0 2px 0 #b6cfd74d}
.c-btn:active{transform:translateY(1px) scale(.99);box-shadow:0 1px 0 #173e5022}
.c-btn[aria-disabled="true"],.c-btn[aria-disabled="true"]:active{border-color:#d6e0e4;background:#edf2f4;color:#637983;box-shadow:none;transform:none;text-shadow:none}
@media(hover:hover){.c-btn--primary:hover{background:#ffde80}.c-btn--secondary:hover{background:#eaf6f9}.c-btn--ghost:hover{background:#edf6f7}}
.c-card{border:1px solid var(--ui-border);border-radius:18px;box-shadow:var(--ui-shadow);background:var(--paper)}
.c-phead{border:1px solid #d2e7e6;border-radius:18px;box-shadow:var(--ui-shadow);background:#edf8f7 url('../ui/expedition-banner-20261024.webp') center/cover no-repeat}
.c-phead__ic{border:0;background:#e0f0ed;color:#1e716b;border-radius:13px}
.c-phead__h{font-weight:700;color:var(--ink)}
.c-phead__p{color:var(--ink-2)}
.c-sheet__panel{border:1px solid #d7e5e7;background:var(--paper);box-shadow:var(--shadow-float)}
.c-sheet__head{border-bottom:1px solid #dce8ea;background:#f4fafb}
.c-sheet__x,.c-iconbtn{border-radius:12px}
.c-sheet__x{color:#52707e}
.c-sheet__foot{border-top-color:#dce8ea;background:#fffdf7}
.c-seg{border:1px solid #c8dce2;border-radius:12px;background:#edf5f7;box-shadow:none}
.c-seg__btn + .c-seg__btn{border-left:1px solid #c8dce2}
.c-seg__btn[aria-checked="true"]{background:#247c8d;color:#fff}
.sh-menu .sh-set{border:1px solid #d4e4e6;border-radius:16px}
.sh-set__row{border-bottom-width:1px}
.c-bubble__say{border:1px solid #cddfe4;box-shadow:var(--ui-shadow)}
.c-bubble__say::before{border-left-width:1px;border-bottom-width:1px}
.sh-coach{border-width:1px;box-shadow:var(--shadow-float)}
.sh-coach::before{border-width:1px}
.c-gohanswitch{border-color:#d3e3e7;box-shadow:var(--ui-shadow)}
.sh-bar{background:#fffdf7f5;border-bottom:1px solid #cbdfe5;box-shadow:0 2px 10px #173e5008}
.sh-bar__pass{border:1px solid #bed8c5;background:linear-gradient(120deg,#f3f8e5,#e9f3e5);border-radius:12px;box-shadow:none}
.sh-bar__pass[data-rank="5"]{background:linear-gradient(120deg,#fff3d0,#ecf5ed)}
.sh-bar__btn{color:#3a6172}
.sh-nav{background:#fffdf7fa;border-color:#cbdfe5;border-width:1px;box-shadow:0 -3px 16px #173e5008}
.sh-nav__ind{border-radius:13px;background:#e2f1ee}
.sh-nav__btn{color:#507080}
.sh-nav__btn[aria-current="page"]{color:#175c61}
.sh-nav__btn[data-pillar]{color:#507080}
.sh-nav__btn[data-pillar][aria-current="page"]{color:#175c61}
.sh-nav__ic .c-icon{stroke-width:1.9}
.sh-onb__card{border:1px solid #d3e4e7;border-radius:24px;background:#fffef9;box-shadow:var(--shadow-float)}
.sh-onb__skip{border:1px solid #d3e4e7;background:#f4f8f8;color:#52707e}
.sh-onb__h{font-weight:700}
.sh-onb__art{background:radial-gradient(ellipse at 50% 100%,#e7f3e8 0 64%,transparent 65%)}
.sh-onb__dot.is-on{background:#267b83}
/* Home: the original logo is the hero; actions are grouped in an unframed light panel. */
#v-home.hm{--hm-gap:6px;--hm-pad:10px;--hm-logo:min(58vw,270px);gap:0;padding:4px 0 6px}
.hm-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#d7f3ff1f 0%,#eaf8fb00 42%,#edf7f788 80%,#f5faf9cc 100%)}
.hm-bg__img{object-position:57% 35%}
.hm-stage{display:flex;flex-direction:column;align-items:center;flex:1 1 auto;min-height:0;container-type:size;padding-top:2px}
.hm-logo{flex:none;z-index:3;width:min(100%,440px);max-width:100%;margin:0 auto;filter:drop-shadow(0 4px 1px #fff8) drop-shadow(0 5px 8px #23637c20)}
.hm-logo__img{width:100%;height:auto;max-height:var(--hm-logo);object-fit:contain}
.hm-cast{--ch:min(max(0px,100cqh - var(--hm-logo) + 8px),180px);width:calc(var(--ch)*1.36);height:var(--ch);top:auto;bottom:0;left:calc((100cqw - var(--ch)*1.36)/2);right:auto;z-index:2}
.hm-card{flex:none;align-self:center;width:100%;max-width:480px;margin:0;padding:10px 12px 20px;gap:6px;border:1px solid #ffffffe6;border-radius:22px;background:linear-gradient(180deg,#fffef7f5,#f9fcf8f7);box-shadow:0 10px 30px #173e501a,0 1px 0 #fff inset;text-align:center}
.hm-catch{font-size:15px;line-height:1.45;color:#376275;margin:0;white-space:nowrap}
.hm-primary{min-height:60px;padding:0 12px;border:1px solid #cfaa48;border-radius:15px;background:#ffdf7e url('../ui/adventure-button-20261024.webp') center/100% auto no-repeat;color:#3f371b;box-shadow:0 2px 0 #b89a47,0 5px 12px #85651b18;font-size:18px;gap:8px;text-shadow:0 1px 0 #fff9}
.hm-primary .c-icon{width:20px;height:20px}
.hm-daily{gap:5px;margin-top:3px}
.hm-daily__h{color:#52727e;font-size:14px;letter-spacing:.035em;padding-left:3px}
.hm-daily__list{gap:8px}
.hm-daily__btn{min-height:66px;border:1px solid #d0e4e4;border-radius:14px;background:#eef7f5;box-shadow:0 2px 0 #bad7d74a;gap:3px;padding:5px 2px;color:#235c64}
.hm-daily__btn[data-daily="breakfast"]{background:#fff4d7;border-color:#eadcb8;color:#8a6227}
.hm-daily__btn[data-daily="nazo"]{background:#eef3fc;border-color:#d3def0;color:#4b6890}
.hm-daily__btn[data-done="1"]{background:#edf7ea;border-color:#c9dfc4;color:#386947}
.hm-daily__btn:active{transform:translateY(1px);box-shadow:none}
.hm-daily__ic{width:28px;height:28px}
.hm-daily__dot{width:9px;height:9px;right:-5px;top:-1px;background:#df8355}
.hm-daily__lb{font-size:14px}
.hm-soundrow{gap:10px;margin-top:2px}
.hm-sound{min-width:80px}
.hm-tools{display:flex;align-items:center;justify-content:space-around;gap:2px;width:100%;min-height:44px;border-top:1px solid #dfe9e7;margin-top:2px}
.hm-tools .hm-opening,.hm-tools .hm-more{position:static;inset:auto;display:inline-flex;flex:0 1 auto;min-height:44px;margin:0;padding:0 4px;border:0;border-radius:10px;box-shadow:none;background:transparent;color:#4b6d7b;font-size:13px;line-height:1.2;gap:3px;white-space:nowrap}
.hm-tools .hm-opening .c-icon,.hm-tools .hm-more .c-icon{width:14px;height:14px}
.hm-updated{font-size:12px;right:12px;bottom:3px;color:#577681}
@media(hover:hover){.hm-primary:hover{background:#ffe493 url('../ui/adventure-button-20261024.webp') center/100% auto no-repeat;filter:brightness(1.03)}.hm-daily__btn:hover{filter:brightness(.98)}.hm-tools .hm-opening:hover,.hm-tools .hm-more:hover{background:#eaf3f3}}
@media(max-height:699px) and (orientation:portrait){#v-home.hm{--hm-logo:min(56vw,190px);padding-top:2px}.hm-card{padding-top:8px;gap:5px}.hm-catch{font-size:14px}.hm-daily__btn{min-height:60px}.hm-daily__list{gap:6px}.hm-cast{--ch:min(max(0px,100cqh - var(--hm-logo) + 14px),180px)}}
@media(max-width:359px){#v-home.hm{--hm-logo:150px}.hm-card{padding-left:8px;padding-right:8px}.hm-primary{font-size:16px;min-height:56px}.hm-tools .hm-opening,.hm-tools .hm-more{font-size:12px;padding:0 3px}.hm-catch{font-size:14px}.hm-daily__btn{min-height:56px}.hm-tools{gap:0}}
@media(min-width:600px) and (min-height:500px){#v-home.hm{--hm-logo:250px}.hm-cast{--ch:min(max(0px,100cqh - var(--hm-logo) + 12px),240px)}}
@media(orientation:landscape) and (max-height:499px){
 #v-home.hm{--hm-logo:clamp(100px,32vw,170px);flex-direction:row;gap:14px;padding:5px 0 calc(5px + var(--safe-b))}
 .hm-stage{flex:1 1 42%;min-width:0;margin:0;padding-top:2px}
 .hm-logo{width:100%;flex:none;min-height:0}
 .hm-logo__img{height:auto;max-height:var(--hm-logo)}
 .hm-cast{--ch:min(max(0px,100cqh - var(--hm-logo) + 10px),150px)}
 .hm-card{flex:1 1 58%;width:auto;align-self:center;min-width:0;padding:8px 10px 19px;gap:4px;max-width:440px;margin:0;justify-content:center}
 .hm-catch{font-size:14px;line-height:1.3}
 .hm-primary{min-height:52px;font-size:16px;padding:0 6px;gap:4px}
 .hm-primary .c-icon{width:18px;height:18px}
 .hm-daily{margin-top:1px;gap:3px}
 .hm-daily__btn{min-height:54px;gap:2px;padding:3px 1px}
 .hm-daily__ic,.hm-daily__ic > img{width:24px;height:24px}
 .hm-daily__ic>.c-icon{width:23px;height:23px}
 .hm-daily__lb{font-size:14px}
 .hm-tools .hm-opening,.hm-tools .hm-more{font-size:12px;padding:0 2px;gap:2px}
 .hm-tools .c-icon{display:none}
 .hm-soundrow{gap:6px}.hm-sound{min-width:64px;padding:0 6px}
}
@media(min-width:900px) and (min-height:500px){
 #v-home.hm{--hm-logo:310px;flex-direction:row;align-items:center;gap:36px;padding:18px 0 26px}
 .hm-stage{height:100%;flex:1 1 55%;min-width:0;max-width:580px;padding-top:20px}
 .hm-logo{width:100%;max-width:520px}
 .hm-cast{--ch:min(max(0px,100cqh - 310px),300px)}
 .hm-card{order:0;flex:0 1 400px;width:100%;max-width:440px;gap:12px;padding:22px 20px 24px}
 .hm-catch{font-size:18px}
 .hm-primary{min-height:72px;font-size:20px}
 .hm-daily__btn{min-height:88px}.hm-daily__ic,.hm-daily__ic > img{width:36px;height:36px}
 .hm-daily__ic>.c-icon{width:32px;height:32px}
 .hm-tools .hm-opening,.hm-tools .hm-more{font-size:14px}
 .hm-bg__img{object-position:50% 50%}
}
[data-motion="reduced"] .c-btn,[data-motion="reduced"] .hm-daily__btn{transition:none}

/* Compact phones keep the logo and all three original characters visible. */
@media(max-height:699px) and (orientation:portrait){.hm-catch{display:none}.hm-primary{min-height:58px}.hm-card{padding-top:10px}}
.sh-gohanseg__btn[aria-selected="true"]{background:#247c8d;color:#fff}

@media(max-width:359px){.sh-menu .aq-volume{grid-template-columns:max-content minmax(80px,1fr) 38px;gap:6px}.sh-menu .aq-volume__label{white-space:nowrap}}
