:root{--ink:#294b4d;--muted:#567371;--paper:#fffdf4;--sea:#acdeda;--orange:#c75a36;--soft:#e9eee1;--shadow:0 8px 30px #20444716;color:var(--ink);font-family:'Microsoft JhengHei','PingFang TC',sans-serif;font-size:16px}
*{box-sizing:border-box}body{margin:0;background:var(--sea)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:transparent;min-height:44px}button:disabled{cursor:default;opacity:.55}button:not(:disabled):hover{filter:brightness(.95)}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible,canvas:focus-visible,input:focus-visible{outline:3px solid #b75232;outline-offset:4px}a{color:inherit}p{line-height:1.7}h1,h2,h3,.wordmark{font-family:Island,'Microsoft JhengHei',sans-serif}h1,h2,h3,p{margin:0}.skip{position:fixed;left:12px;top:-80px;z-index:30;padding:14px;background:var(--paper)}.skip:focus{top:10px}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:var(--paper);position:relative;z-index:2}.home{text-decoration:none;font-size:14px;display:flex;gap:12px;align-items:center}.wordmark{font-size:21px;letter-spacing:.06em;display:flex;align-items:center;gap:8px}.wordmark>span{font-size:12px;font-weight:700;letter-spacing:.13em}.wordmark i{background:#e3e9cb;font-style:normal;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;margin-left:6px}.topbar nav{display:flex;align-items:center;gap:12px}.topbar nav button{font-size:19px}.topbar nav span{font-size:13px;margin-left:4px}#help{width:36px;border-radius:50%;background:#eaf0e7;min-height:36px;font-weight:bold}
#game{height:calc(100svh - 74px);min-height:600px;position:relative;overflow:hidden}#viewport{position:absolute;inset:0}#island{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#island.dragging{cursor:grabbing}#labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.zone-label{position:absolute;white-space:nowrap;transform:translate(-50%,0);font-size:12px;letter-spacing:.04em;padding:7px 12px;background:#fffdf4e8;border-radius:5px;box-shadow:0 3px 0 #658b7c25;color:#344b43}.zone-label::before{content:'';display:inline-block;width:6px;height:6px;background:var(--zone-color);border-radius:50%;margin-right:6px}
.npc-bubble{position:absolute;white-space:nowrap;transform:translate(-50%,-100%);font-size:11px;line-height:1.3;padding:4px 9px;background:#fffdf4f2;color:#274647;border:1px solid #d5e0d0;border-radius:12px;box-shadow:0 3px 10px #20444722;max-width:210px;overflow:hidden;text-overflow:ellipsis;z-index:1}.npc-bubble::after{content:'';position:absolute;left:50%;bottom:-4px;width:6px;height:6px;background:#fffdf4f2;border-right:1px solid #d5e0d0;border-bottom:1px solid #d5e0d0;transform:translateX(-50%) rotate(45deg)}
.welcome{position:absolute;left:32px;top:32px;width:318px;padding:25px 26px 18px;background:var(--paper);border-radius:4px 30px 4px 4px;box-shadow:var(--shadow);transform:rotate(-1deg)}.postmark{position:absolute;right:18px;top:14px;font-size:36px;color:#bac5ad;transform:rotate(14deg)}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:.04em;color:var(--muted)}h1{font-size:35px;letter-spacing:.02em;margin:12px 0 10px}.intro{font-size:14px;color:var(--muted)}.welcome-actions{display:flex;gap:8px;margin-top:20px}.primary{background:var(--orange);color:white;border-radius:7px;padding:12px 18px;font-size:14px;font-weight:bold;display:inline-flex;align-items:center;justify-content:center;gap:26px;min-height:46px}#collapse{background:#eaf0e7;border-radius:7px;width:42px;font-size:22px}.tiny{font-size:11px;color:var(--muted);margin-top:12px}.welcome.compact{width:auto;padding:12px 18px;transform:none;display:flex;align-items:center;gap:20px}.welcome.compact h1{font-size:23px;margin:0}.welcome.compact .eyebrow,.welcome.compact .intro,.welcome.compact .tiny,.welcome.compact .postmark,.welcome.compact #explore{display:none}.welcome.compact .welcome-actions{margin:0}.progress{position:absolute;right:32px;top:32px;display:flex;align-items:center;background:var(--paper);border-radius:12px;box-shadow:var(--shadow);padding:5px 12px}.progress button{min-width:84px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px}.progress b{font-size:21px;letter-spacing:.03em}.progress span{font-size:11px}.progress-line{height:34px;width:1px;background:#dfe5d8}.map-tools{position:absolute;right:32px;bottom:140px;display:flex;flex-direction:column;border-radius:10px;background:var(--paper);box-shadow:var(--shadow);padding:4px}.map-tools button{font-size:23px;width:44px}
.radio-bar{position:absolute;bottom:150px;left:32px;display:flex;align-items:center;gap:8px;background:var(--paper);padding:6px 12px 6px 8px;border-radius:14px;box-shadow:var(--shadow);max-width:min(520px,calc(100vw - 110px));z-index:2;border:1px solid #e1e8d9}.radio-bar.is-playing{border-color:#d3734e}.radio-play{width:38px;min-height:38px;border-radius:50%;background:#35665c;color:white;font-size:14px;display:grid;place-items:center;flex-shrink:0}.radio-bar.is-playing .radio-play{background:var(--orange)}.radio-meta{display:flex;flex-direction:column;min-width:0;cursor:pointer;padding:2px 4px}.radio-station{font-size:10px;color:var(--muted);letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.radio-title{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.radio-btn{min-height:34px;padding:4px 9px;border-radius:7px;background:#eaf0e3;font-size:12px;white-space:nowrap}.radio-link{font-size:12px;font-weight:bold;color:var(--orange);text-decoration:none;padding:6px 9px;border-radius:7px;background:#fdf0e8;white-space:nowrap}.tonight-chip{min-height:26px;padding:2px 9px;border:1px solid #f0cbb4;border-radius:999px;background:#fdf0e8;color:#9b4b31;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}.tonight-chip:hover{background:#fbe3d4}
.map-hint{position:absolute;bottom:104px;left:32px;display:flex;align-items:center;gap:9px;font-size:12px;background:#fffdf4e6;padding:8px 14px;border-radius:30px;pointer-events:none}.hint-dot{width:7px;height:7px;border-radius:50%;background:#d3734e}.island-nav{position:absolute;bottom:22px;left:32px;right:32px;min-height:66px;background:var(--paper);border-radius:13px;box-shadow:var(--shadow);display:flex;align-items:center;gap:20px;padding:10px 16px}.nav-title{font-size:12px;color:var(--muted);white-space:nowrap}#zones{display:flex;gap:6px;flex:1}#zones button{font-size:13px;white-space:nowrap;padding:8px 12px;border-radius:7px}#zones button::before{content:'';width:8px;height:8px;display:inline-block;border-radius:50%;background:var(--zone-color);margin-right:7px}#zones button.active{background:#e8ede0}#festival{background:#e6eddf;border-radius:7px;padding:10px 14px;font-size:13px;white-space:nowrap}#festival span{font-size:11px;margin-left:6px}#festival:enabled{background:#d9aa4c;color:#263b31}#loading{position:absolute;left:50%;top:49%;transform:translate(-50%,-50%);background:var(--paper);padding:20px 28px;border-radius:10px;max-width:80%;box-shadow:var(--shadow);text-align:center}#loading:empty{display:none}#toast{position:fixed;z-index:40;bottom:120px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;background:#294b4d;color:white;padding:12px 20px;border-radius:8px;font-size:14px;width:max-content;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
dialog{border:0;background:var(--paper);color:var(--ink);border-radius:20px;padding:30px;width:min(530px,calc(100% - 32px));max-height:calc(100svh - 40px);overflow:auto;box-shadow:0 20px 100px #163f4840}dialog::backdrop{background:#234b4a55}dialog .close{position:absolute;right:12px;top:10px;width:44px;font-size:27px;border-radius:50%;z-index:1}dialog h2{font-size:28px;margin-bottom:14px;padding-right:28px}.npc-heading{display:flex;align-items:center;gap:20px;margin-bottom:22px}.npc-heading h2{margin:3px 0;font-size:30px}.npc-heading p{font-size:12px;color:var(--muted)}.npc-activity{color:#835336!important;font-weight:bold;margin-top:4px}.portrait{width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:#e4ebd8;flex-shrink:0}.portrait svg{width:90%;height:90%}.speech{padding:19px 22px 22px;border-radius:0 17px 17px;background:#edf0e3;min-height:140px}.speech>span{font-size:11px;font-weight:bold;color:#835336}.speech p{font-size:18px;margin-top:8px;line-height:1.8}.topics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}.topics button{background:#e6eadd;border-radius:7px;font-size:13px}.topics button.active{background:#35665c;color:white}.dialogue-footer{margin-top:15px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);flex-wrap:wrap}.dialogue-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dialogue-footer button{font-size:12px;text-decoration:underline;text-underline-offset:4px}#npc-recommend{background:#f7e8d4;color:#7a4326;text-decoration:none;padding:6px 11px;border-radius:6px;min-height:34px;font-weight:bold}
#book,#jukebox{width:min(760px,calc(100% - 32px))}#book h2,#jukebox h2{margin-bottom:8px}.book-intro{font-size:14px;color:var(--muted);margin-bottom:20px}.search{width:100%;font:inherit;padding:13px;border:1px solid #acbfb0;border-radius:7px;background:white;color:var(--ink);margin:0 0 12px}.roster{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.resident-card{background:#edf0e3;border-radius:10px;padding:12px;display:flex;text-align:left;align-items:center;gap:10px}.resident-card svg{width:46px;height:46px;flex-shrink:0}.resident-card b{font-size:14px;display:block}.resident-card small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.journal-zone{padding:20px 0;border-bottom:1px solid #dbe1d0}.journal-zone h3{font-size:19px;margin-bottom:8px}.journal-zone p{font-size:13px;color:var(--muted)}.journal-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.journal-actions button{padding:9px 14px;border-radius:6px;background:#e6eadd;font-size:13px}.journal-actions button:last-child{background:#376b60;color:white}.notes-list{display:flex;gap:8px;margin-top:12px}.notes-list button{background:#fbebba;border-radius:7px;font-size:12px;padding:9px 12px}.notes-list button:disabled{background:#e6eadd;opacity:1}.help-list{padding-left:22px;line-height:1.9;font-size:15px}.help-list li{padding-bottom:14px}.help-note{font-size:12px;color:var(--muted);line-height:1.8;margin-top:15px}
.jukebox-now{background:#edf0e3;border-radius:14px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;flex-wrap:wrap}.jb-badge{display:inline-block;font-size:11px;font-weight:bold;background:#35665c;color:white;padding:3px 9px;border-radius:20px;margin-bottom:6px}.jukebox-now strong{display:block;font-size:19px}.jb-now-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.jb-secondary{background:#dce3d3;border-radius:7px;padding:10px 14px;font-size:13px;font-weight:bold;text-decoration:none;display:inline-flex;align-items:center;min-height:42px}.jb-options{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:12px}.jb-check,.jb-vol{display:inline-flex;align-items:center;gap:6px}.jb-stations{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.jb-stations button{min-height:34px;padding:6px 11px;border-radius:20px;background:#e8ede0;font-size:12px}.jb-stations button::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--zone-color);margin-right:5px}.jb-stations button.active{background:#35665c;color:white}.jb-song-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;max-height:330px;overflow:auto;padding-right:4px}.jb-song-card{background:#edf0e3;border-radius:10px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:2px solid transparent}.jb-song-card.active{border-color:#c75a36;background:#f8efe4}.jb-song-info{min-width:0;display:flex;flex-direction:column;gap:2px}.jb-zone-dot{font-size:10px;color:var(--muted);display:inline-flex;align-items:center;gap:4px}.jb-zone-dot::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--zone-color)}.jb-song-info strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jb-song-info small{font-size:11px;color:var(--muted)}.jb-song-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.jb-play-btn{min-height:34px;padding:5px 10px;border-radius:6px;background:#35665c;color:white;font-size:12px;font-weight:bold}.jb-song-card.active .jb-play-btn{background:var(--orange)}.jb-rhythm-link{font-size:11px;padding:6px 8px;border-radius:6px;background:#e0e6d6;text-decoration:none;font-weight:bold}
#rhythm{text-align:center}#rhythm h2{padding:0;margin-top:12px}#rhythm-instruction{font-size:14px;color:var(--muted)}#beat-lights{display:flex;justify-content:center;gap:18px;margin:25px 0}
.rhythm-score{display:flex;align-items:center;justify-content:center;gap:12px;margin:2px 0 6px;flex-wrap:wrap}
.rhythm-score b{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#e6eddf;color:#35665c;font-size:24px;line-height:1}
.rhythm-score span{font-size:26px;font-weight:700;font-variant-numeric:tabular-nums;color:#9b4b31}
.rhythm-score small{flex-basis:100%;text-align:center;font-size:.875rem;color:#6b7d72}#beat-lights i{display:block;width:28px;height:28px;background:#d7ddce;border-radius:50%;transition:background .06s}#beat-lights i.on{background:#d17b39;outline:6px solid #edd9b8}#beat-lights i.hit{background:#477e65}#rhythm-status{min-height:50px;font-size:14px}.tap{display:block;margin:12px auto 20px;width:160px;height:160px;border-radius:50%;background:#edc78d;box-shadow:inset 0 -10px #d3a76d;border:8px solid #f5e6c6;font-size:17px;font-weight:bold;touch-action:manipulation}.tap:enabled:active{transform:scale(.95)}.tap.pulse{background:#fff1c4}.noscript{position:fixed;z-index:50;inset:20% 15%;padding:30px;background:var(--paper)}body.night{--sea:#477581}body.night .zone-label,body.night .npc-bubble{background:#fff7e3ef}#game.celebrating::after{content:'♪  ♫  ♪  ♫  ♪';position:absolute;inset:30% 0 auto;text-align:center;color:#fff7d9;font-size:clamp(45px,7vw,110px);letter-spacing:.3em;pointer-events:none;animation:celebrate 3s both}@keyframes celebrate{0%{opacity:0;transform:translateY(60px)}30%{opacity:1}100%{opacity:0;transform:translateY(-130px)}}
@media(min-width:1650px){.welcome{left:48px;top:44px}.island-nav{left:48px;right:48px;bottom:30px}.map-hint{left:48px;bottom:112px}.radio-bar{left:48px;bottom:158px}}
@media(max-width:1050px){.nav-title{display:none}.island-nav{gap:10px}#zones button{padding:7px;font-size:12px}.welcome{width:282px;padding:21px}.welcome h1{font-size:31px}.progress{right:20px}.map-tools{right:20px}}
@media(max-width:720px){.topbar{height:58px;padding:0 16px}.home span,.wordmark>span,.topbar nav span{display:none}.wordmark{font-size:17px}.topbar nav{gap:5px}.topbar nav button{min-width:38px}.wordmark i{width:24px;height:24px;font-size:17px}#game{height:calc(100svh - 58px);min-height:520px}.welcome{left:15px;top:16px;width:247px;padding:18px;transform:none}.welcome h1{font-size:28px;margin:7px 0}.welcome .intro{font-size:12px}.welcome .eyebrow{font-size:10px}.welcome .postmark{font-size:29px}.welcome .tiny{font-size:10px}.welcome-actions{margin-top:12px;gap:7px}.primary{font-size:12px;padding:10px 12px;gap:13px}#collapse{width:35px}.welcome.compact{padding:9px 12px;gap:10px;max-width:220px}.welcome.compact h1{font-size:20px}.progress{right:12px;top:16px;padding:3px;flex-direction:column;gap:0;border-radius:9px}.progress button{min-width:70px;padding:8px 4px;gap:4px;min-height:55px}.progress b{font-size:17px}.progress button span{font-size:10px}.progress-line{height:1px;width:37px}.map-tools{right:12px;bottom:186px}.map-tools button{width:38px;min-height:40px;font-size:21px}.radio-bar{left:12px;right:60px;bottom:150px;padding:5px 8px;gap:6px}.radio-play{width:32px;min-height:32px;font-size:12px}.radio-title{font-size:11px;max-width:135px}.radio-link{display:none}.island-nav{left:12px;right:12px;bottom:12px;flex-direction:column;padding:9px;gap:6px}#zones{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:2px}#zones button{min-height:34px;font-size:11px;padding:5px}#festival{min-height:34px;width:100%;padding:7px}.map-hint{left:12px;bottom:112px;max-width:calc(100% - 75px);font-size:10px;padding:6px 10px}.zone-label{font-size:10px;padding:5px 8px}.npc-bubble{font-size:10px;padding:3px 7px;max-width:150px}#toast{bottom:195px}.roster,.jb-song-list{grid-template-columns:1fr}.resident-card{padding:9px;gap:6px}.resident-card svg{width:36px;height:36px}.resident-card small{font-size:9px}dialog{padding:23px;max-height:calc(100svh - 24px)}.portrait{width:80px;height:80px}.npc-heading{gap:13px}.speech p{font-size:16px}.topics{gap:6px}.topics button{font-size:12px}.dialogue-footer{font-size:10px}.welcome.compact .welcome-actions button{min-height:32px}.journal-zone h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 玩家以音名與順序辨識按鍵，不依賴顏色或聲音。 */
#partner-count{color:#a35a35;font-weight:bold;font-size:10px}.dialogue-actions #npc-invite{background:#35665c;color:white;text-decoration:none;padding:8px 13px;border-radius:7px;min-height:40px;font-weight:bold}.timing-label{display:inline-flex;gap:8px;align-items:center;font-size:13px;margin-top:15px}.timing-label select{font:inherit;padding:7px;border:1px solid #a4b8a5;border-radius:6px;background:#fffdf4;color:var(--ink)}#beat-lights i.missed{background:#c78a73;box-shadow:inset 0 0 0 4px #f2ddd4}#melody{text-align:center}#melody h2{padding:0;margin:10px 0}#melody-intro{font-size:14px;color:var(--muted)}.melody-round{margin:18px 0 10px;font-size:13px;font-weight:bold}.melody-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:0 auto 16px}.melody-keys button{min-height:94px;border-radius:12px;background:#e8eee0;border:3px solid transparent;color:#36534b;font-size:12px}.melody-keys button:nth-child(2){background:#f6e4cf}.melody-keys button:nth-child(3){background:#f2dedc}.melody-keys button:nth-child(4){background:#dce9ed}.melody-keys button b{display:block;font-family:Island,sans-serif;font-size:23px;margin-top:6px}.melody-keys button:disabled{opacity:1}.melody-keys button.lit{border-color:#8b4c2d;box-shadow:0 0 0 4px #e9cda6;transform:translateY(-3px)}.melody-keys button.correct{border-color:#35665c}.melody-keys button.wrong{border-color:#b2543e}#melody-status{min-height:50px;margin-bottom:12px;font-size:14px}.melody-next{display:block;margin:10px auto 0;text-decoration:underline;text-underline-offset:4px;font-size:13px}.melody-next[hidden]{display:none}@media(max-width:720px){#partner-count{font-size:9px}.melody-keys{gap:6px}.melody-keys button{min-height:74px}.melody-keys button b{font-size:20px}#melody-status{min-height:42px}}
#quick-rhythm{position:absolute;left:32px;bottom:216px;z-index:3;background:#35665c;color:#fffdf4;border-radius:8px;padding:10px 15px;font-size:13px;font-weight:bold;box-shadow:var(--shadow)}#quick-rhythm[hidden]{display:none}@media(max-width:720px){#quick-rhythm{left:12px;bottom:207px;max-width:calc(100% - 76px);font-size:12px}}
.experience-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.experience-list button{text-align:left;background:#e5eddf;padding:18px;border-radius:12px}.experience-list b,.experience-list span{display:block}.experience-list span{font-size:13px;margin-top:8px;line-height:1.7}.experience-board{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0}.experience-board button,.experience-board label{padding:18px;background:#e5eddf;border-radius:10px;font-weight:bold}.experience-board label{display:flex;align-items:center;gap:12px}.experience-board input{width:22px;height:22px}#experience-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}#experience-actions button,#secret-find{background:#35665c;color:white;border-radius:8px;padding:10px 16px}#experience-feedback{min-height:28px;line-height:1.8}.secret-search{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 12px}.secret-search input{font:inherit;padding:10px;border:1px solid #a9b7a0;border-radius:6px}#easter{text-align:center}#kboy-portrait{margin:15px auto;background:#d9edf1}#kboy-joke{white-space:pre-line;font-size:19px;line-height:1.9;margin:18px 0}#kboy-action{font-size:13px;color:#547478;margin-bottom:18px}#kboy-map{display:block;margin:10px auto}#kboy-portrait[data-act=bow]{animation:kboy-bow 1s 2}#kboy-portrait[data-act=spin]{animation:kboy-spin 1.5s}#kboy-portrait[data-act=shiver]{animation:kboy-shiver .13s 18}#kboy-portrait[data-act=hop]{animation:kboy-hop .5s 3}#kboy-portrait[data-act=shrug]{transform:rotate(-12deg)}#kboy-portrait[data-act=freeze]{filter:saturate(.1);outline:4px solid #b5dce9}@keyframes kboy-spin{to{transform:rotate(360deg)}}@keyframes kboy-shiver{50%{transform:translateX(4px)}}@keyframes kboy-bow{50%{transform:perspective(180px) rotateX(-30deg)}}@keyframes kboy-hop{50%{transform:translateY(-15px)}}@media(max-width:720px){.experience-list{grid-template-columns:1fr}.topbar{padding:0 10px}.topbar nav{gap:0}.topbar nav button{min-width:34px}.wordmark{font-size:14px;gap:3px}#kboy-joke{font-size:17px}}

/* 繁體中文閱讀層級；沿用站內完整 TC variable font，避免日文字形混入。 */
:root{--dialog-size:1.375rem;--bubble-size:1rem;font-family:'Noto Sans TC Variable','Microsoft JhengHei','PingFang TC',sans-serif;font-weight:450;-webkit-font-smoothing:antialiased}
h1,h2,h3,.wordmark,.melody-keys button b{font-family:'Noto Sans TC Variable','Microsoft JhengHei',sans-serif;font-weight:750;letter-spacing:0}button,input,select{font-family:inherit}.large-text{--dialog-size:1.75rem;--bubble-size:1.25rem}
dialog{width:min(44rem,calc(100% - 24px));padding:2rem;max-height:calc(100svh - 24px);font-size:1rem}#book,#jukebox{width:min(54rem,calc(100% - 24px))}dialog h2{font-size:1.875rem;line-height:1.35}.speech p,#kboy-joke{font-size:var(--dialog-size);line-height:1.85;text-align:start;overflow-wrap:anywhere}.speech{padding:1.25rem 1.5rem}.npc-heading p,#reaction,.dialogue-footer,.dialogue-footer button,#kboy-action{font-size:.875rem;line-height:1.7}.topics button,.journal-actions button,.experience-list span,.book-intro,#melody-intro,#melody-status,#rhythm-instruction,#rhythm-status,#experience-goal,#experience-feedback{font-size:1rem;line-height:1.7}.tiny,.help-note{font-size:.875rem;line-height:1.7}.portrait{width:104px;height:104px}.resident-card small,.jb-song-info small{font-size:.875rem;line-height:1.6}.resident-card b,.jb-song-info strong{font-size:1.0625rem}.npc-bubble{font-size:var(--bubble-size);line-height:1.6;white-space:normal;width:max-content;max-width:min(20rem,calc(100vw - 24px));overflow:visible;text-overflow:clip;padding:.5rem .75rem;border-radius:12px}.zone-label{font-size:.9375rem;letter-spacing:0}.progress b,.progress span{font-variant-numeric:tabular-nums}.progress span{font-size:.875rem}.search,.secret-search input,.timing-label select{font-size:1rem}.topbar nav span{font-size:.875rem}.topbar nav{gap:6px}.topbar nav button{min-width:40px}.radio-station{font-size:.8125rem}.radio-title{font-size:.9375rem}.jb-song-info strong{white-space:normal}.jb-song-list{max-height:45svh}.intro{font-size:1rem}.theme-tag{display:block;margin-bottom:8px;font-weight:700;color:#9b4b31}.large-text dialog .tiny{font-size:1rem}
@media(max-width:720px){dialog{padding:1.5rem}dialog h2{font-size:1.625rem}.npc-heading{gap:12px}.portrait{width:84px;height:84px}.speech{padding:1rem}.topics button{font-size:.9375rem}.zone-label{font-size:.875rem}.progress button{padding:7px 5px}.progress span,#partner-count{font-size:.75rem}.progress b{font-size:1.125rem}.map-tools button{min-height:44px}.map-hint{font-size:.8125rem}.radio-station{font-size:.75rem}.radio-title{font-size:.875rem}.welcome .intro{font-size:.9375rem}.welcome .eyebrow,.welcome .tiny{font-size:.8125rem}.primary{font-size:1rem}.dialogue-actions{gap:6px}.dialogue-footer button{font-size:.875rem}.island-nav #zones button{font-size:.8125rem}.large-text .npc-heading{align-items:start}.large-text .portrait{width:64px;height:64px}}
@media(max-width:480px){.topbar .wordmark{display:none}.topbar nav{gap:2px}.topbar nav button{min-width:36px}.topbar{gap:8px}.topbar nav{flex:1;justify-content:flex-end}}
.experience-list>section{background:#e9eee1;border-radius:12px;padding:6px}.experience-list>section>button{width:100%}.experience-list [data-preview]{font-size:.9375rem;color:#284e49;background:#d9e3d0;border-radius:8px}.theme-tag{font-size:1rem}.experience-list span{letter-spacing:0}

/* 對話像島上的小劇場，選項是玩家的台詞。 */
.welcome{width:284px;border-radius:3px 3px 22px 3px;box-shadow:4px 5px 0 #294b4d18}.welcome .postmark{display:none}.welcome .eyebrow{color:#a64326;font-weight:700}.welcome h1{font-size:1.8rem}.welcome .intro{font-size:.9375rem}.welcome .tiny{font-size:.75rem}.topbar .wordmark{letter-spacing:.06em}
#conversation{inset:auto 0 24px;margin:0 auto;width:min(820px,calc(100% - 24px));border-radius:4px 4px 20px 4px;border-top:5px solid var(--ink);box-shadow:8px 9px 0 #183d3b30;padding:24px 32px}.npc-heading{padding-bottom:14px;border-bottom:1px solid #294b4d30}.npc-heading .portrait{width:76px;height:76px;border-radius:50%}#npc-activity{display:none}#conversation .speech{background:transparent;border-radius:0;padding:20px 0 12px;min-height:0}#reaction{display:block;color:#9a442d;font-weight:650;margin-bottom:6px}.speech p{margin:0}
.banter-bar{display:flex;align-items:center;gap:14px;padding:10px 0}.banter-bar>button{background:#b34b2d;color:#fffdf4;padding:8px 16px;border-radius:4px;font-weight:700}.banter-bar>span{font-size:.875rem;color:var(--muted)}.banter-choices{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.banter-choices:empty{display:none}.banter-choices button{border:1px solid #294b4d60;border-left:4px solid #294b4d;background:#fffdf4;border-radius:3px;padding:10px 14px;text-align:left;line-height:1.6;font-size:1rem;flex:1 1 180px}.banter-choices button:hover,.banter-choices button[aria-pressed=true]{background:#294b4d;color:#fffdf4}.banter-choices button:disabled{opacity:.55}#banter-again{color:#9a442d;text-decoration:underline;text-underline-offset:5px;margin-bottom:12px;font-weight:650}#banter-again[hidden]{display:none}.topics{border-top:1px dashed #294b4d45;padding-top:14px;gap:6px}.topics button{background:transparent;padding:6px 10px;min-height:44px;font-size:.875rem}.topics button.active{background:#294b4d;color:#fffdf4}.dialogue-footer{margin-top:12px}.dialogue-footer>span{font-size:.75rem}#easter{border-radius:4px 4px 20px 4px;border-top:5px solid #294b4d}#easter h2{font-size:1.7rem}#kboy-joke{font-size:var(--dialog-size);line-height:1.75}#kboy-action{font-size:1rem}.experience-list{display:block;counter-reset:gig}.experience-list>section{counter-increment:gig;position:relative;display:grid;grid-template-columns:1fr auto;gap:12px;border-radius:0;border-top:1px solid #294b4d40;background:transparent;padding:14px 0 14px 38px}.experience-list>section:before{content:counter(gig,decimal-leading-zero);position:absolute;left:0;top:30px;font-size:.875rem;color:#9a442d}.experience-list>section>button{background:transparent;border-radius:0;padding:8px;text-align:left}.experience-list [data-preview]{align-self:center;font-size:.875rem;background:transparent;border:1px solid #294b4d50;border-radius:3px;max-width:112px}.experience-list .theme-tag{margin:0 0 4px}.experience-list span{margin-top:4px}
@media(max-width:720px){.welcome{width:242px}#conversation{bottom:12px;padding:20px;max-height:calc(100svh - 24px)}.banter-bar{align-items:start;gap:10px}.banter-bar>span{flex:1;font-size:.8125rem}.banter-choices{flex-direction:column}.banter-choices button{flex:auto;width:100%}.npc-heading .portrait{width:60px;height:60px}.experience-list>section{gap:4px;grid-template-columns:1fr}.experience-list [data-preview]{max-width:none;width:fit-content}.topics{grid-template-columns:repeat(3,1fr)}.topics button{font-size:.875rem;padding:6px}.dialogue-actions{flex-wrap:wrap}}
