*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#071411;color:#f8edcb;font-family:var(--font-ui)}button{font:inherit;color:inherit;cursor:pointer}#game{position:relative;width:min(100vw,500px);height:100dvh;margin:auto;overflow:hidden;background:#498855;box-shadow:0 0 80px #000}#field{position:absolute;width:100%;height:100%;inset:0}.shade{position:absolute;left:0;right:0;pointer-events:none}.top{top:0;height:34%;background:linear-gradient(#081a17b8,transparent)}header{position:absolute;top:env(safe-area-inset-top);left:0;right:0;height:83px;display:flex;align-items:center;gap:8px;padding:9px 11px}.portrait{flex:none;width:48px;height:48px;border:2px solid #d9b86d;border-radius:50%;background:#263c35;text-align:center;line-height:44px;font-size:26px}.identity{min-width:0;flex:1;text-shadow:0 2px 3px #000}.identity strong{display:block;font-size:15px}.identity span{font-size:12px}.bars{height:11px;border:1px solid #dcc584;border-radius:10px;background:#182822;position:relative;overflow:hidden;margin-top:4px}.bars i,.bars em{position:absolute;left:0;height:5px;background:#d94e41;top:0;width:100%;transition:width .25s}.bars em{background:#55b9cd;top:5px;width:0}.currency{white-space:nowrap;font-size:13px;background:#14221dca;border:1px solid #a99766;border-radius:15px;padding:5px}.round{border:1px solid #c0a467;background:#17261eca;border-radius:50%;width:35px;height:35px}#quest{position:absolute;top:87px;left:10px;padding:10px 12px;max-width:215px;border-left:2px solid #d5bd78;background:linear-gradient(90deg,#15251cbb,#15251c22);text-shadow:0 1px #000}#quest small,#quest strong,#quest span{display:block}#quest small{font-size:12px;color:#eccb83}#quest strong{font-size:13px;margin:3px 0}#quest span{font-size:12px}.side{position:absolute;right:9px;top:22%;display:grid;gap:8px}.side button{width:43px;height:43px;border-radius:50%;border:2px solid #ddc181;background:#182a24d9;font-size:12px;box-shadow:0 3px 7px #142016}.bottom{position:absolute;bottom:82px;left:15px;right:15px;display:flex;align-items:end;justify-content:space-between;pointer-events:none}#pad{position:relative;pointer-events:auto;width:100px;height:100px;border:2px solid #e9e8c77d;border-radius:50%;background:#1c3c3970;touch-action:none}#pad:before{content:"";position:absolute;inset:25px;border:1px solid #c5e3b78a;border-radius:50%}#nub{position:absolute;left:35px;top:35px;width:28px;height:28px;border-radius:50%;background:#e7dfbcaa;box-shadow:0 0 14px #fff8}.controls{pointer-events:auto;display:flex;align-items:end;gap:7px}.controls button{display:flex;align-items:center;justify-content:center;flex-direction:column;border:2px solid #d9bd7f;border-radius:50%;background:#283e34e6;box-shadow:0 3px 7px #162522;font-size:22px;width:54px;height:54px}.controls button small{font-size:11px}.controls .attack{width:72px;height:72px;font-size:29px;background:#704638e9}.controls .auto.on{border-color:#9be8b5;color:#a9efc3}.dock{position:absolute;bottom:0;left:0;right:0;height:69px;padding-bottom:env(safe-area-inset-bottom);display:flex;background:linear-gradient(#1a2820ed,#0c1715);border-top:2px solid #ad9160}.dock button{flex:1;background:none;border:0;border-right:1px solid #76684b6b;font-size:13px}.dock button:last-child{border:0}#feed{position:absolute;left:18%;right:18%;bottom:205px;text-align:center;font-size:13px;font-weight:700;text-shadow:0 2px 4px #000;pointer-events:none}.hit{position:absolute;color:#fff0a0;pointer-events:none;animation:rise .7s forwards;font-size:20px;font-weight:900;text-shadow:2px 2px #502c21}@keyframes rise{to{transform:translateY(-35px);opacity:0}}#panel{position:absolute;z-index:5;inset:13% 5% 8%;border:3px solid #a88750;border-radius:9px;background:#e9dfc1;color:#332c21;box-shadow:0 8px 0 #2c3028,0 0 0 200vmax #07130ba8;overflow:auto}.hidden{display:none!important}.panelHead{position:sticky;top:0;background:#2b3d32;color:#f9e5ab;padding:11px 16px;display:flex;justify-content:space-between;align-items:center;font-size:20px;font-weight:800;z-index:1}.panelHead button{border:1px solid #dfc380;background:#182b23;border-radius:50%;font-size:22px;width:34px;height:34px}#panelBody{padding:16px}.card{padding:14px;margin-bottom:10px;border:1px solid #ae9d78;background:#f9f0d9;box-shadow:0 2px 1px #c7b997}.card h3{margin:0 0 8px;color:#305343}.card p{margin:6px 0;font-size:14px}.card button{padding:9px 14px;background:#31594a;border:1px solid #a38549;color:#fff;border-radius:4px;margin-top:8px}.stat{display:flex;justify-content:space-between;border-bottom:1px solid #c8b995;padding:7px 0}#sleepView{position:absolute;z-index:7;inset:0;background:#020607;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}#clock{font-size:56px;font-weight:300}#sleepView p{font-size:13px;color:#aaa}#sleepView strong{margin-top:24px}#sleepTime{font-size:14px;margin:8px}.sleepStats{margin:35px 0;padding:22px;width:75%;border:1px solid #555;border-radius:9px;text-align:left;color:#ccc}#wake{position:absolute;bottom:9%;border:1px solid #888;background:#1b1d1d;border-radius:25px;padding:12px 24px}.notice{position:absolute;top:45%;left:12%;right:12%;text-align:center;background:#0e231de8;border:1px solid #c1a36e;border-radius:6px;padding:10px;opacity:0;transition:opacity .2s;pointer-events:none}.notice.show{opacity:1}@media(max-height:650px){.side{top:30%}#quest{top:75px}.bottom{bottom:66px}#pad{width:76px;height:76px}#nub{left:24px;top:24px}.dock{height:55px}}
/* Joseon chapter: preserve the original play surface and controls. */
#game{height:100dvh;min-height:440px}.portrait{position:relative;overflow:hidden;background:#345548}.portrait img{position:absolute;width:171px;height:114px;max-width:none;left:-6px;top:-2px}.identity strong{font-size:14px}.currency{font-size:12px}#quest{color:#f5e5bd;text-align:left;cursor:pointer;border:0;border-left:2px solid #d5bd78;max-width:250px;width:62%;font-family:inherit}#quest strong{font-size:14px;line-height:1.45}#quest span{line-height:1.4}#quest small{color:#e7cd8c}.location{position:absolute;top:153px;left:12px;font-size:12px;letter-spacing:.5px;color:#fff2c9;text-shadow:0 2px 3px #14291a}.location span{color:#cfdfc7}.side{top:24%;gap:9px}.side button{min-height:43px}.side #herb{background:#3b5634;position:relative}.side #herb span{position:absolute;bottom:-5px;right:-2px;min-width:18px;border-radius:9px;background:#ead7a2;color:#243524;font-weight:800;font-size:11px}#interact{position:absolute;bottom:205px;left:50%;transform:translateX(-50%);width:205px;padding:11px 12px;background:#172f24ed;border:1px solid #dec58a;border-radius:6px;font-size:14px}.controls button:disabled{opacity:.55;filter:grayscale(.7)}.controls .skill{position:relative}#cooldown{position:absolute;top:4px;right:5px;font-size:14px;color:#fff;background:#172521;border-radius:9px;padding:0 4px}.controls button small{font-size:12px}.guideFocus{box-shadow:0 0 0 3px #ffd981,0 0 20px #fff0a688!important;animation:guidePulse 1.2s ease-in-out infinite}@keyframes guidePulse{50%{box-shadow:0 0 0 5px #ffde9766,0 0 20px #fff0a688}}#panel{inset:10% 5% 10%;overflow:auto}.card button:disabled{opacity:.5;cursor:default}.card p{line-height:1.65}.card .badge{display:inline-block;background:#365642;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px}.heroPreview{height:145px;position:relative;overflow:hidden;margin:0 auto;width:145px}.heroPreview img{position:absolute;width:435px;height:290px;left:0;top:0}.atlasThumb{display:inline-block;width:72px;height:72px;background-image:url('assets/joseon-sprite-atlas.webp');background-size:216px 144px;vertical-align:middle;margin-right:12px}.monsterCard{display:flex;align-items:center}.monsterCard h3{font-size:16px}.miniMap{width:100%;max-height:280px;object-fit:cover;object-position:50% 20%;border:1px solid #9c8253}.muted{color:#786b50;font-size:12px!important}.primaryAction{display:block;width:100%;text-align:center}.panelHead{font-size:19px}#dialogue{position:absolute;z-index:8;left:6%;right:6%;bottom:11%;padding:18px 19px;background:linear-gradient(140deg,#ede3c4,#d9cdac);color:#342d22;border:2px solid #b09658;border-radius:8px;box-shadow:0 10px 50px #08160c99}#dialogue:before{content:"";position:fixed;inset:0;z-index:-1;background:#08160c33;pointer-events:none}.dialogueTop{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #af9c71;padding-bottom:10px;gap:8px}.dialogueTop span{font-weight:800;color:#38543f;font-size:17px}.dialogueTop small{font-size:12px}#dialogueText{font-size:16px;line-height:1.75;word-break:keep-all;margin:13px 0}#dialogueNext{display:block;margin-left:auto;padding:9px 20px;background:#284d3e;color:#fff2d0;border:1px solid #a48a50;border-radius:4px;font-size:14px;min-height:44px}#loading{position:absolute;inset:0;background:#0e211b;z-index:20;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#ddc080}#loading b{font-family:var(--font-display);font-size:44px;letter-spacing:12px}#loading span{font-size:14px}#retry{padding:12px 24px;background:#284d3e;border:1px solid #bc9958;border-radius:5px}#sleepView small{font-size:12px;color:#8f9b92;max-width:80%;line-height:1.5}button:focus-visible,#pad:focus-visible{outline:3px solid #f1cd75;outline-offset:3px}.notice{z-index:15;line-height:1.5}#pad{user-select:none;-webkit-user-select:none;touch-action:none}canvas{touch-action:none}#feed{bottom:205px;color:#fff3d1}.sleepStats{line-height:2}.controls .skill small{font-size:11px}@media(max-height:650px){#dialogue{bottom:9%;padding:12px}#dialogueText{font-size:14px;line-height:1.5}.location{top:143px}.side{top:29%;gap:5px}.side button{width:39px;min-height:39px;height:39px}.bottom{bottom:68px}#interact{bottom:170px}.controls button{width:48px;height:48px}.controls .attack{width:62px;height:62px}}@media(prefers-reduced-motion:reduce){.guideFocus{animation:none}*{scroll-behavior:auto}}
/* v0.3: flow-based HUD and non-wrapping skill labels */
.fieldHud{position:absolute;top:calc(env(safe-area-inset-top) + 86px);left:11px;display:flex;flex-direction:column;gap:8px;width:min(260px,68%);pointer-events:none}.fieldHud .location{position:static;display:flex;align-items:center;gap:6px;align-self:flex-start;max-width:100%;padding:5px 9px;border:1px solid #b59c6680;border-radius:5px;background:#122b22df;white-space:nowrap;line-height:1.3;font-size:13px;letter-spacing:0;color:#fff1ce}.fieldHud .location span{color:inherit}.fieldHud .locationMark{color:#e8c982}.fieldHud .locationDivider{color:#afc3af}.fieldHud #quest{position:static;pointer-events:auto;width:100%;max-width:none;margin:0;padding:9px 11px;box-sizing:border-box}.fieldHud #quest small{font-size:12px;line-height:1.4}.fieldHud #quest strong{font-size:14px;line-height:1.45;word-break:keep-all;overflow-wrap:break-word}.fieldHud #quest span{font-size:12px;line-height:1.4}.controls{gap:9px;padding-right:4px}.controls .skill{width:60px;height:60px;flex-shrink:0;margin-bottom:9px}.controls .skill small{position:absolute;left:50%;bottom:-19px;transform:translateX(-50%);white-space:nowrap;word-break:keep-all;overflow-wrap:normal;line-height:1.2;font-size:12px;width:max-content;max-width:none;text-shadow:0 2px 3px #11261b;color:#f7e7be}.controls .attack{margin-bottom:9px}.controls .auto{margin-bottom:9px}.controls button{flex-shrink:0}#cooldown{top:5px;right:4px;font-size:14px}#nub{left:50%;top:50%;margin:-14px 0 0 -14px}#feed{pointer-events:none}@media(max-width:370px){.bottom{left:10px;right:8px}.controls{gap:7px}.controls .attack{width:62px;height:62px}.controls .skill{width:53px;height:53px}.controls .auto{width:48px;height:48px}#pad{width:83px;height:83px}}@media(max-height:650px){.fieldHud{top:calc(env(safe-area-inset-top) + 75px);gap:5px}.fieldHud .location{font-size:12px;padding:4px 7px}.controls .skill{width:50px;height:50px}.controls .skill small{font-size:12px;bottom:-18px}}

/* Keep the skill caption readable even when the action is locked. */
.controls .skill:disabled{opacity:1;filter:none;background:#4a5147e6;border-color:#9d967b;color:#bebfa7}
.controls .skill small{background:#15251de8;border:1px solid #aa935a80;border-radius:4px;padding:3px 6px;bottom:-24px;font-weight:600}
@media(max-height:650px){.controls .skill small{bottom:-20px;padding:2px 6px}}

/* Server entry uses the established ink, forest green and brass palette. */
.sessionStatus{align-self:flex-start;max-width:100%;background:#12281dde;border:1px solid #a7966470;border-radius:4px;padding:4px 7px;color:#e5e3cc;font-size:12px;line-height:1.35;text-shadow:0 1px 2px #000;pointer-events:none}
.accountGate{position:absolute;inset:0;z-index:25;background:linear-gradient(#0b1c16db,#07140ff2);display:flex;align-items:center;justify-content:center;padding:22px;overflow:auto}
.accountCard{width:100%;max-width:350px;margin:auto;border:1px solid #b49b63;border-radius:10px;background:#172d23f5;padding:25px 22px;box-shadow:0 18px 60px #0008;color:#f3e8c9}
.accountEyebrow{font-size:12px;color:#d4bb82;letter-spacing:1px}.accountCard h1{font-family:var(--font-display);font-size:44px;letter-spacing:10px;font-weight:600;margin:8px 0}.accountCard p{font-size:14px;line-height:1.6}.accountTabs{display:flex;gap:0;border-bottom:1px solid #9c875755;margin:21px 0 17px}.accountTabs button{flex:1;padding:10px 4px;background:none;border:0;border-bottom:2px solid transparent;color:#a3b4a5;font-size:14px}.accountTabs button.selected{border-color:#e3c183;color:#ffe3a8}.accountCard label{display:block;font-size:14px;margin:13px 0 7px}.accountCard input{display:block;width:100%;height:43px;padding:9px 10px;background:#091e16;border:1px solid #637d65;border-radius:5px;color:#f9eed1;font:inherit;font-size:16px}.accountCard input::placeholder{color:#93a794;font-size:13px}.accountCard input:focus{outline:2px solid #e6c67d;outline-offset:1px}.accountCard #accountSubmit,.accountCard #connectionReload{width:100%;padding:12px;border:1px solid #e0bd76;border-radius:5px;background:#bea06b;color:#10271b;font-size:16px;font-weight:700}.accountCard button:disabled{opacity:.5}.accountCard #accountError{color:#ffb6a1;min-height:20px;font-size:13px;margin:12px 0}.accountCard .accountFootnote{font-size:12px;color:#b2c0ad;text-align:center;margin:16px 0 0}@media(max-height:650px){.accountGate{padding:12px}.accountCard{padding:14px 20px}.accountCard h1{font-size:32px}.accountTabs{margin:12px 0 10px}.accountCard label{margin-top:9px}}

.fieldEntry{pointer-events:auto;align-self:flex-start;border:1px solid #d0b579;border-radius:5px;background:#274f3fea;color:#ffedb9;font-size:14px;padding:9px 12px;min-height:40px;text-align:left}.fieldEntry:focus-visible{outline:2px solid #fae6a6}#areaArrival{position:absolute;z-index:3;top:41%;left:0;right:0;text-align:center;padding:22px 12px;background:linear-gradient(90deg,transparent,#10281dee,transparent);color:#f6e5b9;font-size:22px;letter-spacing:2px;pointer-events:none;opacity:0}#areaArrival.arrived{animation:areaArrival 1.5s ease both}@keyframes areaArrival{0%{opacity:0}15%,65%{opacity:1}100%{opacity:0}}@media(max-height:650px){}@media(prefers-reduced-motion:reduce){#areaArrival.arrived{animation-duration:.8s}}

.ridgeThumb{background-image:url(assets/solbaram-monsters.webp);background-size:432px 288px}.ridgeMap{max-height:300px;object-position:50% 40%}
/* Playable roster: ink green, paper and warm brass. */
.rosterGate{position:absolute;inset:0;z-index:22;overflow:auto;background:radial-gradient(ellipse at 80% 0%,#304536,#112a23 45%,#091b16);color:#f4e7c9}.rosterInner{max-width:480px;margin:auto;padding:22px 18px calc(20px + env(safe-area-inset-bottom))}.rosterHeading{position:relative;margin:0 4px 20px}.rosterHeading>span{font-size:11px;letter-spacing:2px;color:#c6ad77}.rosterHeading h1{font:700 28px var(--font-display);letter-spacing:2px;margin:12px 0 8px}.rosterHeading p{font-size:13px;color:#b9c6b5;margin:0;line-height:1.5}#rosterBack{position:absolute;right:0;top:0;width:32px;height:32px;border:1px solid #8d946e;border-radius:50%;background:#1a3127;font-size:23px}.rosterCards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.classCard{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:7px 6px 12px;border:1px solid #66755c;border-radius:9px;background:linear-gradient(150deg,#39544480,#0b201bcc);transition:border-color .15s,background .15s}.classCard[aria-pressed=true]{border:2px solid #e9cc89;padding:6px 5px 11px;background:radial-gradient(ellipse at 50% 25%,#526046,#213e31 70%);box-shadow:inset 0 0 18px #ebce9820}.classCard[aria-pressed=true]:after{content:'선택';position:absolute;right:7px;top:7px;font-size:10px;padding:3px 6px;border-radius:3px;background:#dfc286;color:#1b3022}.classCard strong{font-size:16px;line-height:1.5}.classCard>span:last-child{font-size:12px;color:#b6c8b4;margin-top:2px}.classPortrait{display:block;width:124px;height:124px;background-size:744px 496px;background-repeat:no-repeat;background-position:0 0;flex-shrink:0;filter:drop-shadow(0 7px 5px #05120b75)}.classPortrait.sword{background-size:372px 248px}.classPortrait.big{width:160px;height:160px;background-size:960px 640px;margin:0 auto}.classPortrait.big.sword{background-size:480px 320px}.classCard.upcoming{grid-column:1/-1;min-height:65px;flex-direction:row;gap:12px;background:#0c201960;border-style:dashed;opacity:.65}.classCard.upcoming>span:last-child{margin:0;margin-left:auto;padding-right:10px}.futureSeal{font:700 28px var(--font-display);width:43px;height:43px;line-height:43px;border:1px solid #748064;border-radius:50%;color:#a8b49c}.rosterFooter{margin-top:18px;padding-top:15px;border-top:1px solid #6c7b5d}.rosterFooter>strong{color:#edcf8f;font-size:14px}.rosterFooter p{font-size:13px;line-height:1.7;color:#c9d1bb;min-height:44px;margin:7px 0 12px}.rosterFooter>button{width:100%;min-height:46px;padding:12px;background:#dfc08a;color:#163326;border:1px solid #f5dcac;border-radius:5px;font-weight:750}.rosterFooter small{display:block;font-size:11px;text-align:center;color:#a5b69f;line-height:1.6;margin-top:10px}.portrait.rosterPortrait{background-size:324px 216px;background-position:-4px -2px}.portrait.rosterPortrait img{display:none}.legendThumb{background-image:url(assets/legends-motion.webp);background-size:432px 216px}.notice{z-index:26}.rosterFooter>button:disabled{opacity:.55}@media(max-width:370px),(max-height:720px){.rosterInner{padding:15px 13px}.rosterHeading{margin-bottom:13px}.rosterHeading h1{font-size:24px;margin:8px 0 6px}.classPortrait{width:94px;height:94px;background-size:564px 376px}.classPortrait.sword{background-size:282px 188px}.classCard strong{font-size:14px}.classCard{padding-bottom:8px}.classCard[aria-pressed=true]{padding-bottom:7px}.rosterFooter{margin-top:12px;padding-top:12px}.rosterFooter p{margin:6px 0 10px}.rosterHeading p{font-size:12px}}@media(max-height:650px){}

/* Equipment and forge: real text, fluid widths and grade accents. */
.gearIntro{padding:5px 2px 15px}.gearEyebrow{font-size:11px;letter-spacing:1px;color:#59654d}.gearIntro h3{font:700 23px var(--font-display);margin:8px 0 14px;color:#264436}.gearIntro p{font-size:13px;line-height:1.65}.gearWallet{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 13px;border:1px solid #b4a071;background:#e5d7b8;border-radius:6px;font-size:13px}.gearWallet b{margin-left:5px;font-variant-numeric:tabular-nums}.gearSlots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.gearSlots .gearSlot{min-width:0;margin:0;padding:13px 8px;text-align:left;background:#ded8bf;border:1px solid #aca17b;border-top:3px solid #7a8063;border-radius:5px;color:#243b2b;min-height:119px}.gearSlot small{display:block;font-size:11px;color:#62674e}.gearSlot b{display:block;margin:8px 0;font-size:13px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}.gearSlot span{display:block;font-size:11px;line-height:1.5}.gearSummary{font-size:12px;padding:14px 0;color:#36523b;border-bottom:1px solid #b5a783}.gearFilters{display:flex;gap:6px;margin:17px 0 10px}.gearFilters button{flex:1;min-width:0;border:1px solid #9c9e7d;padding:10px 2px;margin:0;background:transparent;color:#41573e;border-radius:4px;font-size:12px}.gearFilters button[aria-pressed=true]{background:#2c503e;border-color:#2c503e;color:#fff0cf}.gearNote{font-size:12px;line-height:1.65;color:#60674f;margin:10px 0 14px}.gearItem{border-left:3px solid #7a8063}.gearItemTop{display:flex;gap:7px;justify-content:space-between;flex-wrap:wrap;align-items:center}.gearGrade{font-size:11px;color:#546b49}.gearItemTop small{font-size:11px;color:#636c55}.gearItem h3{font-size:17px!important;margin:11px 0 6px!important}.gearItem p{margin:6px 0!important;font-size:13px;line-height:1.65}.gearItem .gearCompare{font-size:12px;padding:8px 0;border-top:1px dashed #baa67b}.statGain{color:#24604e}.statLoss{color:#9c3f2f}.gearItem.grade1,.gearSlot.grade1{border-color:#47858a}.grade1 .gearGrade{color:#22696e}.gearItem.grade2,.gearSlot.grade2{border-color:#9473a0}.grade2 .gearGrade{color:#765082}.gearItem button{display:block;width:100%;min-height:42px;text-align:center;white-space:normal;word-break:keep-all}.gearItem button:disabled{opacity:.55;cursor:default}.gearCost{color:#695532}.monsterCard>div{min-width:0}.monsterCard .muted{font-size:11px;line-height:1.6}@media(max-width:350px){.gearSlots{gap:5px}.gearSlots .gearSlot{padding:11px 6px}.gearSlot b{font-size:12px}.gearSlot span{font-size:10px}.gearWallet{padding:10px}.gearIntro h3{font-size:21px}}

/* Martial arts use the existing ink-and-paper panels and one combat button. */
.martialIntro{padding:3px 1px 14px}.martialEyebrow{font-size:12px;letter-spacing:1px;color:#56634a}.martialIntro h3{font:700 24px var(--font-display);margin:9px 0 12px;color:#244534}.martialIntro p,.martialGuide p{font-size:14px;line-height:1.75}.selectedTechnique{display:flex;flex-direction:column;gap:6px;margin:18px 0 12px;padding:15px 16px;background:#2c4d3e;border:1px solid #bc9a5c;border-radius:6px;color:#f8eaca}.selectedTechnique small{color:#d1bd8d;font-size:12px}.selectedTechnique b{font-size:20px}.selectedTechnique span{color:#d8dfc9;font-size:13px}.martialWallet{display:flex;justify-content:space-between;font-size:14px;padding:6px 2px}.techniqueCard{border:1px solid #b5a17a;border-left:3px solid #a69972}.techniqueCard.chosen{border-left-color:#315e45}.techniqueTop{display:flex;align-items:center;gap:11px}.techniqueNumber{font:italic 28px var(--font-display);color:#8d805e}.techniqueTop>div{flex:1;min-width:0}.techniqueTop small{font-size:12px;color:#607151}.techniqueTop h3{font-size:19px!important;margin:5px 0!important}.techniqueState{font-size:12px;color:#48674c;white-space:nowrap}.techniqueCard p{font-size:14px;line-height:1.75;margin:12px 0}.techniqueStats{display:flex;flex-direction:column;gap:5px;padding:11px 0;border-top:1px dashed #b7a983;border-bottom:1px dashed #b7a983;color:#365740;font-size:13px;line-height:1.6}.techniqueCard p.muted{font-size:12px}.techniqueCost{color:#685836}.techniqueCard button{width:100%;min-height:44px;margin-bottom:0;white-space:normal;font-size:14px}.techniqueCard button:disabled{opacity:.55}.martialGuide h3{font-size:17px}#activeEffect{position:absolute;left:50%;bottom:174px;transform:translateX(-50%);max-width:90%;padding:5px 9px;background:#183a2ded;border:1px solid #b5daba99;border-radius:4px;font-size:12px;white-space:nowrap;pointer-events:none;color:#e3f0cf}@media(max-width:350px){.techniqueTop{gap:7px}.techniqueTop h3{font-size:17px!important}.techniqueNumber{font-size:24px}.techniqueState{font-size:11px}.martialIntro h3{font-size:22px}}

/* v0.14: combat guidance occupies the existing quest area near the boss. */
#bossHud{padding:10px 12px;border-left:2px solid #d69aa7;background:linear-gradient(90deg,#261e30ee,#201b2cba);color:#fff1df;line-height:1.5;pointer-events:none}#bossHud[hidden]{display:none}#bossName,#bossCast,#bossHint{display:block;font-size:14px;word-break:keep-all}#bossHp{font-size:12px;font-variant-numeric:tabular-nums;color:#e8c2c3}.bossHpBar{height:6px;border-radius:4px;background:#100e17;margin:4px 0 8px;overflow:hidden}.bossHpBar i{display:block;height:100%;background:#df797c;width:100%}#bossHint{color:#e5d5bc;font-size:13px;margin-top:3px}#bossHud.warning{border-color:#ffba92}#bossCast{color:#ffd5a4}#dodge{position:absolute;left:0;bottom:calc(100% + 10px);pointer-events:auto;min-width:83px;min-height:44px;padding:8px 10px;background:#243d3ae8;border:1px solid #d3c69c;border-radius:22px;color:#fff0d0;font-size:14px;font-variant-numeric:tabular-nums}#dodge:disabled{color:#d0d2c5;border-color:#708e80;background:#1a302bd9;cursor:default}

/* v0.15: party status and roster use the existing mobile panel. */
.partyIntro{padding:4px 0 14px}.partyEyebrow{font-size:12px;color:#666644;letter-spacing:1px}.partyIntro h3{font-size:23px;color:#274d3e;margin:10px 0}.partyIntro p,.partyRules p,.partyNearby>p,.partyCreate p{font-size:14px;line-height:1.7;margin:9px 0}.partyMember,.partyInvite{padding:14px;margin:10px 0;border:1px solid #b3a074;border-left:3px solid #517764;background:#f8efd7}.partyMember.offline{border-left-color:#999281;background:#e4ddc9}.partyMemberTop{display:flex;gap:10px;align-items:center;justify-content:space-between}.partyMemberTop small{font-size:12px;color:#5a694d}.partyMemberTop h3{font-size:18px;color:#284938;margin:5px 0;overflow-wrap:anywhere}.partyClass{font-size:12px;white-space:nowrap;color:#4f654d}.partyMember p,.partyInvite p{font-size:13px;line-height:1.6;margin:5px 0 10px}.partyMemberHp>span{font-size:12px;color:#47563f;font-variant-numeric:tabular-nums}.partyMemberHp>div{height:7px;background:#d1ccb6;border-radius:5px;overflow:hidden;margin:5px 0}.partyMemberHp i{display:block;height:100%;background:#628779}.partyActions{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.partyActions button,.partyCreate button,.partyInvite>button,.partyNearbyRow button{min-height:44px;padding:9px 13px;border:1px solid #a28b59;border-radius:5px;background:#315747;color:#fff2d6;font-size:14px}.partyActions button{flex:1}.partyActions.secondary button,.leaveActions button,.partyInvite>button{background:transparent;color:#46523a}.partyActions button:disabled,.partyCreate button:disabled,.partyInvite>button:disabled,.partyNearbyRow button:disabled{opacity:.5;cursor:default}.partyCreate button{width:100%}.partyNearby,.partyInvitations,.partyRules{margin-top:23px}.partyNearby h3,.partyInvitations h3,.partyRules h3{font-size:17px;color:#2c4b37;margin:10px 0}.partyNearbyRow{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #b5a681}.partyNearbyRow>div{min-width:0}.partyNearbyRow strong{font-size:15px;overflow-wrap:anywhere}.partyNearbyRow small{display:block;margin-top:5px;font-size:12px;color:#596448}.partyNearbyRow button{flex:none;max-width:110px}.partyRules{padding:13px;border:1px solid #b7a781;background:#e2d8bb}.partyRules p{font-size:13px;color:#5b5c43}.partyAlert{color:#8d492c}#partyDock{position:relative}.partyBadge{display:inline-block;margin-left:3px;padding:0 4px;min-width:15px;line-height:16px;border-radius:9px;background:#e0be78;color:#243c2f;font-size:11px}#partyMini{position:absolute;right:10px;top:calc(env(safe-area-inset-top) + 86px);width:105px;padding:6px 8px;background:#152b27eb;border:1px solid #b9ad777f;border-radius:5px;text-align:left;color:#f5e8c1;pointer-events:auto}#partyMini[hidden]{display:none}#partyMini>strong{font-size:12px;font-weight:500;display:block;margin-bottom:4px}.partyMiniRow{display:block;margin:4px 0}.partyMiniRow>span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.3}.partyMiniRow i{display:block;height:3px;margin-top:2px;background:linear-gradient(90deg,#93caaa var(--party-hp),#33443b var(--party-hp))}.partyMiniRow.offline{color:#a6aa99}.hasParty .fieldHud{width:calc(100% - 134px);max-width:260px}.hasParty .fieldHud .location{white-space:normal;flex-wrap:wrap;gap:3px 5px}.hasParty .side{top:max(24%,calc(env(safe-area-inset-top) + 205px))}@media(max-height:650px){#partyMini{top:calc(env(safe-area-inset-top) + 75px)}.hasParty .side{top:calc(env(safe-area-inset-top) + 195px);gap:5px}}@media(max-width:350px){.partyMember{padding:11px}.partyClass{font-size:12px}.partyActions button{padding:8px;font-size:13px}#partyMini{width:104px}.partyMemberTop{flex-wrap:wrap;gap:3px}}
/* v0.16: a folding map and party rail; duplicate menus remain in the dock. */
#game{--map-height:156px;--party-height:0px;--map-top:86px}#game.hasParty{--party-height:120px}#game.mapFolded{--map-height:44px}#mapRail{position:absolute;right:10px;top:calc(env(safe-area-inset-top) + var(--map-top));width:104px;display:flex;flex-direction:column;gap:8px;z-index:3}#miniMapBox{border:1px solid #a89d7180;border-radius:5px;background:#152b27ee;overflow:hidden;height:var(--map-height);box-sizing:border-box}#miniMapToggle{display:block;width:100%;height:42px;border:0;background:#234137;color:#f4e6c4;font-size:13px}#miniMapOpen{display:block;border:0;padding:5px 6px 7px;width:100%;height:112px;background:#172e27}#miniMapOpen[hidden]{display:none}#miniMapCanvas{display:block;width:100%;height:100px}#mapRail #partyMini{position:static;width:104px;height:112px;box-sizing:border-box;margin:0}#game .fieldHud{width:calc(100% - 134px);max-width:260px}#game .fieldHud .location{white-space:normal;flex-wrap:wrap;gap:3px 5px}#game .side{top:calc(env(safe-area-inset-top) + var(--map-top) + var(--map-height) + var(--party-height) + 8px)}#game:not(.mapFolded) .side button[data-panel]{display:none}.fieldEntry{white-space:normal;overflow-wrap:anywhere;line-height:1.5;min-height:44px;font-size:13px}
.mapGuide{margin-bottom:24px}.mapGuide h3{font-size:23px;color:#264b3b;margin:6px 0 14px}.guideEyebrow{font-size:13px;color:#687053;margin:0}.mapGuide canvas{display:block;width:100%;height:290px;background:#152b26;border:1px solid #a49165;border-radius:6px;box-sizing:border-box}.mapLegend{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#213e33;color:#f5e5c5;padding:12px;margin-top:8px;border-radius:5px;font-size:13px}.mapLegend span:nth-child(2){color:#ffde75}.mapLegend span:nth-child(3){color:#9ad6fa}.mapLegend span:nth-child(4){color:#87edd6}.guideMapNote{font-size:12px!important;color:#60694b;line-height:1.6!important;margin:9px 0 17px!important}.guideObjective{border-left:3px solid #b79543;background:#f8efd7;padding:14px;margin:12px 0 22px}.guideObjective small{display:block;font-size:13px;color:#76734e}.guideObjective strong{display:block;font-size:18px;color:#304d38;line-height:1.5;margin:6px 0}.guideObjective p{font-size:14px;line-height:1.6;margin:9px 0}.guideObjective button{width:100%;min-height:44px;border:1px solid #a48b58;border-radius:5px;background:#315747;color:#fff2d6;font-size:14px;padding:10px}.mapGuide h4{font-size:17px;color:#2d4c38;margin:12px 0}.guideExits article{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #b4a780}.guideExits strong{display:block;font-size:15px;line-height:1.5}.guideExits small{display:block;font-size:12px;line-height:1.6;color:#647050;margin-top:4px}.guideExits button{flex:none;min-height:44px;padding:8px 12px;border:1px solid #9c895d;border-radius:5px;color:#f5e8c9;background:#315747;font-size:14px}.guideExits button:disabled,.guideObjective button:disabled{opacity:.55;cursor:default}@media(max-height:650px){#game{--map-top:75px}.mapGuide canvas{height:250px}}@media(max-width:350px){.guideExits article{gap:7px}.guideExits button{padding:8px}.mapGuide canvas{height:260px}}

.mapLegend span:nth-child(5){color:#e0bc77}.mapLegend span:nth-child(6){color:#ffab9d}
@media(max-height:650px){#game.hasParty{--party-height:80px}#mapRail #partyMini{height:72px;padding:4px 6px}#partyMini>strong{line-height:14px;margin-bottom:2px}.partyMiniRow{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:5px;margin:2px 0}.partyMiniRow>span{font-size:12px;line-height:12px}.partyMiniRow i{margin-top:4px;height:3px}#game .side button[data-panel]{display:none}}
/* v0.19 conversation: keep the field controls and use one focused parchment panel. */
#chatDock{min-height:40px;width:100%;border:1px solid #c6b47b;background:#234137;color:#f9eacb;border-radius:5px;font-size:14px}#game .side{top:calc(env(safe-area-inset-top) + var(--map-top) + var(--map-height) + var(--party-height) + 56px)}
#panel.chatPanel{inset:6% 3% 6%;display:flex;flex-direction:column;overflow:hidden}#panel.chatPanel .panelHead{flex:none}#panel.chatPanel #panelBody{flex:1;min-height:0;padding:12px;display:flex;flex-direction:column}.chatShell{display:flex;flex-direction:column;flex:1;min-height:0;gap:8px}.chatTabs{display:flex;gap:6px;flex:none}.chatTabs button{flex:1;min-height:44px;padding:7px 4px;border:1px solid #ad9967;border-radius:5px;background:transparent;color:#2c493a;font-size:14px}.chatTabs button[aria-pressed=true]{background:#2c5141;color:#fff0cc}.chatContext{font-size:14px;line-height:1.5;margin:0;color:#4b5b40;flex:none}.chatLog{overflow:auto;min-height:60px;flex:1;padding:8px;background:#f6edd4;border:1px solid #c6b78d;border-radius:5px;overscroll-behavior:contain}.chatEmpty{font-size:16px;line-height:1.7;color:#69715b;text-align:center;margin:25px 8px}.chatMessage{padding:9px 0;border-bottom:1px solid #cbbb9255}.chatMessage.self{border-left:3px solid #658675;padding-left:9px}.chatMeta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#345440;font-size:14px}.chatMeta strong{overflow-wrap:anywhere;max-width:65%}.chatMeta time{font-size:12px;color:#69705e}.chatMeta button,.chatBlocked button{margin-left:auto;min-height:36px;border:1px solid #a99b76;border-radius:4px;background:transparent;color:#5c583f;padding:5px 8px;font-size:14px}.chatMessage p{margin:4px 0;font-size:16px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.chatBlocked{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #c4b587;font-size:16px}.chatBlocked strong{overflow-wrap:anywhere}.chatForm{flex:none}.chatForm[hidden]{display:none}.chatForm label{font-size:14px;display:flex;justify-content:space-between;margin:3px 0 6px}.chatCount{color:#667155}.chatCompose{display:flex;gap:7px}.chatCompose textarea{flex:1;min-width:0;min-height:64px;resize:none;border:1px solid #9c916b;border-radius:5px;padding:9px;font:16px/1.5 var(--font-ui);background:#fff8e5;color:#25392d}.chatCompose button{flex:none;min-width:64px;border:1px solid #9b8755;border-radius:5px;background:#2e5745;color:#fff3d6;font-size:14px}.chatShell button:disabled,.chatCompose textarea:disabled{opacity:.55;cursor:default}.chatStatus{min-height:20px;margin:5px 0 0;font-size:13px;line-height:1.4;color:#824b2d}.chatFoot{flex:none;margin:0;font-size:12px;line-height:1.45;color:#5e6750}.chatShell :focus-visible{outline:3px solid #9c7427;outline-offset:2px}@media(max-height:650px){#panel.chatPanel{inset:2% 2% 2%}#panel.chatPanel #panelBody{padding:8px}.chatShell{gap:6px}.chatCompose textarea{min-height:48px;height:48px}.chatFoot{font-size:12px}}@media(max-height:440px){#game:has(.chatPanel:not(.hidden)){min-height:0}.chatFoot{display:none}#panel.chatPanel .panelHead{padding:5px 12px}.chatTabs button{min-height:36px}}
/* v0.20 reports share the conversation panel and retain readable evidence. */
.chatMessageActions{margin-left:auto;display:flex;gap:5px}.chatMessageActions button{margin:0}.chatLog[hidden],.reportBox[hidden],.reportReceipt[hidden],.chatFoot[hidden]{display:none}.reportBox{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.reportBox h3{font-size:19px;color:#31513e;margin:8px 0 12px}.reportBox blockquote,.reportItem blockquote{margin:8px 0 16px;padding:12px;border-left:3px solid #8a7952;background:#f8efd7;font-size:16px;line-height:1.6;overflow-wrap:anywhere}.reportBox blockquote p{margin:5px 0 0}.reportForm label{display:block;margin:13px 0 6px;font-size:14px;font-weight:600}.reportForm label span{float:right;font-weight:400;font-size:12px}.reportForm select,.reportForm textarea{display:block;width:100%;border:1px solid #9c916b;border-radius:5px;padding:10px;background:#fff8e5;color:#25392d;font:16px/1.5 var(--font-ui)}.reportForm textarea{min-height:88px;resize:vertical}.reportNotice{font-size:13px;line-height:1.6;color:#58634d;margin:12px 0}.reportFeedback,.reportReceipt{font-size:14px;line-height:1.5;color:#764829;margin:7px 0}.reportActions{display:flex;gap:8px;padding:8px 0;position:sticky;bottom:0;background:#e9dfc1}.reportActions button{flex:1;min-height:44px;border:1px solid #a18a58;border-radius:5px;background:#2f5543;color:#fff0cf;font-size:15px}.reportActions button[type=button]{background:#e9dfc1;color:#40523b}.reportItem{padding:12px 4px;border-bottom:1px solid #bfaf85}.reportItemTop{display:flex;gap:8px;justify-content:space-between;align-items:center}.reportItemTop strong{font-size:16px;overflow-wrap:anywhere}.reportState{flex:none;border:1px solid #ac9b6e;background:#e9dfbd;color:#44533b;font-size:13px;padding:4px 7px;border-radius:4px}.reportState.resolved,.reportState.dismissed{background:#d8e3d2}.reportItem>p,.reportItem details p{font-size:14px;line-height:1.5;color:#5a654e;overflow-wrap:anywhere}.reportItem summary{font-size:14px;padding:8px 0;color:#315440;cursor:pointer;min-height:36px}.reportItem small{font-size:12px;color:#68715e}.reportItem blockquote{margin-bottom:8px}.reportReceipt{flex:none}@media(max-width:350px){.chatTabs{gap:4px}.chatTabs button{font-size:14px}.chatMeta{gap:5px}.chatMessageActions button{padding:5px 6px}.reportForm label span{float:none;display:block;margin-top:3px}}@media(max-height:440px){.reportBox h3{margin-top:2px}.reportActions{padding:5px 0}.reportForm textarea{min-height:64px}}

/* v0.21: account chat restriction, in the existing conversation composer. */
.chatRestriction{padding:10px 12px;border:1px solid #9b6849;border-left:3px solid #915b38;border-radius:4px;background:#f1e0bb;color:#553d27;margin:0 0 8px;max-height:180px;overflow:auto}.chatRestriction[hidden]{display:none}.chatRestriction strong{font-size:16px}.chatRestriction p{font-size:14px;line-height:1.5;margin:5px 0;overflow-wrap:anywhere}.chatRestriction small{display:block;font-size:12px;line-height:1.5}.chatShell:has(.chatRestriction:not([hidden])){overflow:auto}.chatShell:has(.chatRestriction:not([hidden])) .chatLog{flex-basis:100px;flex-shrink:0}@media(max-height:440px){.chatRestriction{max-height:115px}.chatShell:has(.chatRestriction:not([hidden])) .chatLog{flex-basis:70px}}

/* Keep report retention information visible in short conversation panels. */
.chatFoot.reportFoot:not([hidden]){display:block}

/* v0.23: daily requests use the existing ink and paper panel. */
#dailyDock{width:100%;padding:8px 5px;background:#243e32ed;border:1px solid #c6b37a;border-radius:5px;color:#f4e6bd;font-family:inherit;font-size:14px;font-weight:600;min-height:36px}
.dailyIntro{padding:8px 4px 18px;border-bottom:1px solid #b9a66d;margin-bottom:16px}.dailyIntro h3{font-size:26px;margin:12px 0 6px;color:#284333}.dailyIntro p{font-size:14px;margin:5px 0 12px}.dailyIntro strong{font-size:16px;color:#36533e}.dailyList{display:grid;gap:14px}.dailyCard{padding:16px 14px;background:#f7edcf;border:1px solid #cbb984;border-radius:6px;box-shadow:0 2px 5px #59432a10}.dailyCard.ready{border:2px solid #537453;padding:15px 13px}.dailyCard.claimed{background:#e6e5d0}.dailyCardHead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dailyNumber{font-size:13px;color:#806b3f}.dailyCardHead h3{font-size:18px;margin:0;flex:1}.dailyState{font-size:14px;color:#405a3c}.dailyCard p{font-size:16px;line-height:1.5;margin:10px 0}.dailyCard .dailyReward{font-size:14px;color:#775b2d}.dailyProgress{display:flex;align-items:center;gap:12px}.dailyProgress progress{width:100%;min-width:0;height:8px;accent-color:#496a49}.dailyProgress b{white-space:nowrap;font-size:14px;color:#405039}.dailyActions{display:flex;gap:8px;flex-wrap:wrap}.dailyActions button{flex:1;min-height:42px;font-size:14px;margin:0!important}.dailyCard.ready [data-daily-claim]{background:#31533b;color:#fff3d2;border-color:#31533b}.dailyFoot{font-size:14px;line-height:1.65;color:#605c49;margin:18px 2px}.dailyWarning{padding:12px;background:#f0d8aa;border:1px solid #95753e;font-size:14px}.dailyLocked h3{font-size:22px}.dailyLocked p{font-size:16px;line-height:1.6}

@media(max-height:440px){#game:has(.dailyPanel:not(.hidden)){min-height:0}#panel.dailyPanel{inset:8px 3%}.dailyPanel .panelHead{padding:7px 12px}}

.fieldShortcuts{display:grid;grid-template-columns:1fr 1fr;gap:6px}.fieldShortcuts #chatDock,.fieldShortcuts #dailyDock{min-width:0;min-height:44px;padding:3px;line-height:18px}.fieldShortcuts small{display:block;font-size:14px;font-weight:400}#game .side{top:calc(env(safe-area-inset-top) + var(--map-top) + var(--map-height) + var(--party-height) + 60px)}

/* v0.24 sound settings: independent channels, native keyboard-accessible ranges. */
#panel.soundPanel{inset:6% 4%}.soundIntro{padding:0 0 12px}.soundIntro h3{font-size:22px;color:#294934;margin:12px 0 8px}.soundIntro p,.soundCard p{font-size:14px;line-height:1.45;margin:8px 0 10px}.nowPlaying{border-left:3px solid #60815a;background:#e0e2c9;padding:10px 12px;display:grid;gap:3px}.nowPlaying small{font-size:13px;color:#626b4c}.nowPlaying strong{font-size:16px;color:#294d36}.nowPlaying span{font-size:14px;color:#64704f}.soundCard{background:#f7edcf;border:1px solid #c8b77c;border-radius:6px;padding:12px;margin:0 0 10px}.soundCardHead{display:flex;align-items:center;justify-content:space-between;gap:10px}.soundCardHead h3{font-size:18px;margin:0}.soundCardHead button{margin:0!important;min-width:68px;min-height:44px}.soundCardHead button[aria-pressed=true]{background:#31553c!important;color:#fff1c6!important}.soundCard label{display:flex;justify-content:space-between;font-size:14px;gap:10px}.soundCard output{font-weight:700}.soundCard input[type=range]{display:block;width:100%;height:44px;margin:4px 0 0;accent-color:#385e3f;cursor:pointer}.soundStatus{font-size:14px;line-height:1.6;color:#385d3b;min-height:23px}.soundFoot{font-size:14px;line-height:1.65;color:#68634f}.soundPanel #soundStart[hidden]{display:none}@media(max-height:440px){#game:has(.soundPanel:not(.hidden)){min-height:0}#panel.soundPanel{inset:8px 3%}.soundPanel .panelHead{padding:7px 12px}}

/* Hunting records: extend the existing dark green field panels. */
#panel.huntingPanel{inset:6% 3% 8%;font-size:16px;color:#f2edda;background:#19352b}
.huntingLead{line-height:1.6;margin:4px 0 18px;color:#d8dfcf}
.huntingFilters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.huntingFilters label{display:grid;gap:7px;font-size:14px;color:#d8dfcf}
.huntingFilters select{width:100%;min-width:0;min-height:44px;padding:8px;background:#153a30;color:#fff0c7;border:1px solid #779080;border-radius:5px;font:inherit;font-size:16px}
.huntingNotice{font-size:14px;line-height:1.6;color:#cfdbce;margin:12px 0}
.huntingSummary{padding:18px 14px;background:linear-gradient(120deg,#294b3c,#142f29);border:1px solid #b79c60;border-radius:7px}
.huntingPanel dl{display:grid;grid-template-columns:1fr 1fr;gap:16px 12px;margin:18px 0 0}
.huntingPanel dl>div{min-width:0}.huntingPanel dt{color:#c4d2c3;font-size:14px;line-height:1.5}.huntingPanel dd{margin:4px 0 0;color:#fff0c9;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.huntingEmpty{padding:18px 4px}.huntingEmpty h3{font-size:18px;margin:0 0 8px}.huntingEmpty p{font-size:16px;line-height:1.65;color:#d8dfcf;margin:0}
.huntingRegions{display:grid;gap:12px;margin-top:18px}.huntingRegion{padding:16px 14px;background:#102c25;border:1px solid #4e6b57;border-radius:6px}
.huntingRegionHead{display:flex;align-items:baseline;gap:10px}.huntingRegionHead>span{color:#ccbb85;font-size:14px}.huntingRegion h3{margin:0;font-size:18px;line-height:1.5}
.huntingRegion dd{font-size:16px}.huntingRate{margin:16px 0 0;padding-top:12px;border-top:1px solid #3d5c4a;color:#dacc9f;font-size:14px;line-height:1.7}.huntingNoRecord{font-size:14px;margin:10px 0 0;color:#aebdad}
.huntingRules{margin-top:20px;border-top:1px solid #60765d;padding-top:15px}.huntingRules summary{cursor:pointer;min-height:32px;font-size:16px;color:#ead8a4}.huntingRules p{font-size:14px;line-height:1.7;color:#d3dece}
@media(max-width:340px){.huntingPanel dl{gap:12px 8px}.huntingPanel dd{font-size:16px}.huntingFilters{gap:8px}}

/* Basic story assistance: an always reachable stop control next to the quest. */
.questAutoBox{display:grid;gap:5px;padding:8px;background:#17372dec;border:1px solid #b4a06d;border-radius:5px;pointer-events:auto}
#questAuto{min-height:42px;padding:8px;border:1px solid #cbb47d;background:#315c45;color:#fff2c9;border-radius:4px;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;cursor:pointer}
#questAuto[aria-pressed="true"]{background:#77542f;border-color:#edc684}#questAuto:disabled{background:#2b4439;color:#d6dfd3;cursor:default}
#questAutoStatus{font-size:13px;line-height:1.5;color:#ecedda;overflow-wrap:anywhere}
.dialogueActions{display:flex;flex-wrap:wrap;gap:8px}.dialogueActions #dialogueNext{margin:0;flex:1}.dialogueActions #dialogueAuto{padding:10px 14px;min-height:44px;background:#efe4c4;border:1px solid #6c785a;border-radius:4px;color:#294a37;font-size:14px}
@media(max-height:680px){.questAutoBox{padding:5px;gap:3px}#questAutoStatus{font-size:12px}.fieldHud .sessionStatus{display:none}}

/* Shared regional guide catalogue; the first detailed trail is Solbaram. */
.areaGuide{margin:0 0 18px;line-height:1.65}.areaGuideNow{padding:14px;border:1px solid #a48d58;border-left:4px solid #507963;background:#f4ecd2}.areaGuideNow>small,.areaGuideNext>small{display:block;font-size:13px;color:#5b634b}.areaGuideNow>strong,.areaGuideNext>strong{display:inline-block;font-size:18px;color:#234934;margin-top:3px}.areaGuideNow>span{display:inline-block;font-size:13px;color:#5a492d;background:#e5d5ab;padding:1px 7px;margin-left:8px;border-radius:4px}.areaGuide p{font-size:14px!important;line-height:1.65!important;margin:7px 0 0!important}.areaGuideNext{padding:12px 14px;border:1px solid #b7a477;border-top:0;background:#e8e1c6}.areaTrail{margin-top:10px;border:1px solid #b7a477;background:#f6edd6}.areaTrail summary{padding:13px;font-size:14px;color:#294b38;font-weight:700;cursor:pointer;min-height:44px;box-sizing:border-box}.areaTrail ol{padding:0 14px 0 36px;margin:0 0 14px}.areaTrail li{padding:10px 0 10px 4px;border-top:1px solid #c9ba95;color:#355242}.areaTrail li::marker{font-weight:700}.areaTrail li>div{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.areaTrail strong{font-size:15px}.areaTrail li span{font-size:13px;color:#596047}.areaTrail li>small{font-size:13px;color:#686345}.areaTrail .danger span{color:#914522}.areaTrail .current{background:#e1e9cf}.areaTrail .current strong::after{content:' · 현재 위치';font-size:12px;font-weight:400}.areaBossTip{padding:12px;border-top:1px solid #c9ba95;color:#4b4935}.areaTrail summary:focus-visible{outline:2px solid #345c46;outline-offset:-3px}

.questAutoBox.needsAttention{background:#453921ed;border-color:#e2b367}
#questAutoHelp{font:inherit;font-size:12px;color:#ffe3a6;background:transparent;border:1px solid #a99163;border-radius:3px;min-height:32px;cursor:pointer}
#questAutoHelp[hidden]{display:none}

#bossPhaseHint{display:block;font-size:12px;line-height:1.5;color:#c9decf;margin-top:6px;overflow-wrap:anywhere}#bossPhaseHint[hidden]{display:none}
.bossGuide li>small{display:block;overflow-wrap:anywhere}

.worldAtlas{margin-top:18px;border-top:1px solid #a9905a;padding-top:16px}.worldAtlas>summary{font-size:16px;font-weight:700;cursor:pointer;line-height:1.6;padding:10px 0}.expeditionCard button{margin-top:8px}.expeditionCard p{overflow-wrap:anywhere}

.grade3{border-color:#b36b2c!important}.grade3 .gearGrade{color:#8c4518}.grade3 h3{color:#85451e}.expeditionPreparation{margin:12px 0 18px;border:1px solid #a98c55;background:#eee4c9;color:#304935}.expeditionPreparation summary{font-size:15px;font-weight:700;line-height:1.6;min-height:44px;padding:12px;cursor:pointer;box-sizing:border-box}.expeditionPreparation>div{padding:0 12px 12px}.expeditionPreparation h4{margin:4px 0 10px}.expeditionPreparation p,.expeditionPreparation li{font-size:14px!important;line-height:1.7!important;overflow-wrap:anywhere}.expeditionPreparation ul{padding-left:20px}.expeditionPreparation button{width:100%;font-size:14px;min-height:44px}.expeditionPreparation summary:focus-visible{outline:2px solid #345c46;outline-offset:-3px}

.investigationLog{margin:12px 0;border:1px solid #b6a16a;padding:0 10px;background:#ece2c7}.investigationLog summary{font-size:14px;line-height:1.6;padding:12px 0;min-height:44px;box-sizing:border-box;cursor:pointer}.investigationLog ol{margin:0 0 12px;padding-left:20px}.investigationLog li{font-size:14px;line-height:1.7;padding:8px 0}.investigationLog p{font-size:14px!important;line-height:1.7!important;margin:6px 0!important}.investigationLog summary:focus-visible{outline:2px solid #345c46}

.monsterPortrait{width:72px;height:82px;object-fit:contain;flex:0 0 72px;margin-right:12px}.monsterCard>div{min-width:0}

/* One-time learning and explicit auto use. */
.martialAuto{width:100%;min-height:44px;margin-top:12px;padding:10px;border:1px solid #ad995b;border-radius:5px;background:#253f35;color:#f8e7bc;font-size:15px}.martialAuto[aria-pressed=true],.techniqueAuto[aria-pressed=true]{background:#37614d;color:#e2ffcf;border-color:#aacb82}.bookTechnique{border-left-color:#cda64e}.bookSources{padding:12px 0 4px;border-top:1px solid #ac9b7055}.bookSources summary{cursor:pointer;font-weight:700;font-size:15px;min-height:30px}.techniqueCard .bookSources p,.techniqueCard p.muted{font-size:14px;line-height:1.7}.techniqueStats [data-skill-cd]:empty{display:none}.techniqueState{white-space:normal}.techniqueTop>div{min-width:0}.techniqueTop h3{overflow-wrap:anywhere}
#autoSkills{position:absolute;right:0;bottom:calc(100% + 10px);pointer-events:auto;min-height:44px;padding:8px 12px;border:1px solid #c5b385;border-radius:22px;background:#18352de8;color:#f5e9bd;font-size:14px;box-shadow:0 2px 7px #12261b}#autoSkills[aria-pressed=true]{color:#d4ffb8;border-color:#bdd88e;background:#285844ef}#autoSkills[hidden]{display:none}#activeEffect{bottom:232px;white-space:normal;text-align:center;line-height:1.5;font-size:13px;max-width:86%;width:max-content}#autoSkills:focus-visible,.martialAuto:focus-visible,.techniqueAuto:focus-visible{outline:3px solid #fff0a2;outline-offset:3px}

/* v0.41 · painted inventory, martial arts and waygates */
.artIcon{display:inline-block;flex:0 0 auto;width:52px;height:52px;background-color:#102825;background-repeat:no-repeat;vertical-align:middle;border-radius:9px;box-shadow:inset 0 0 0 1px #c4a66d66;overflow:hidden}
.artPanel{background:#112922!important;color:#f3e6c7!important;border-color:#b69759!important}
.artPanel #panelBody{padding:14px}.artPanel .panelHead{background:#18372d;border-bottom:1px solid #9e8255}
.artPanel h3,.artPanel .card h3{color:#ffe7b0}.artPanel .muted,.artPanel .gearNote,.artPanel .gearEyebrow,.artPanel .martialEyebrow{color:#c1cbb7!important;font-size:13px!important}
.artPanel .gearIntro,.artPanel .martialIntro{padding-bottom:10px}.artPanel .gearIntro h3,.artPanel .martialIntro h3{margin:6px 0 12px;font:700 25px var(--font-display)}
.artPanel .card{background:#203c31;color:#ebead6;border:1px solid #69866b;box-shadow:none;border-radius:7px}
.artPanel .card p{font-size:14px;line-height:1.6}.artPanel .card button{font-size:14px;min-height:44px;background:#376652;border-color:#a3bc91}
.artPanel .gearWallet{background:#0d231d;border-color:#536c52;padding:8px;gap:8px;font-size:14px}.gearWallet>span{display:flex;align-items:center;gap:5px}.gearWallet .artIcon{width:27px;height:27px;border-radius:5px}.gearWallet b{margin-left:0}
.artPanel .gearSlots{gap:7px}.artPanel .gearSlot{display:flex;flex-direction:column;align-items:center;text-align:center;padding:9px 5px;min-height:0;background:#1b322a;color:#f3e6c7}
.artPanel .gearSlot .artIcon{width:54px;height:54px;margin:7px 0 2px;flex:none}.artPanel .gearSlot b{font-size:14px;margin:5px 0;line-height:1.35}.artPanel .gearSlot small,.artPanel .gearSlot>span:not(.artIcon){font-size:12px;color:#cbd4bd}
.artPanel .gearSummary{font-size:14px;color:#e2e6cb;border-color:#567458;line-height:1.6;padding:11px 0}.artPanel .gearFilters{margin:12px 0;gap:5px}.artPanel .gearFilters button{color:#dedfc7;font-size:14px;border-color:#637b5f;min-height:42px}.artPanel .gearFilters button[aria-pressed=true]{background:#466b4d;color:#fff2c9;border-color:#c9b16c}
.inventoryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}.itemTile,.techniqueTile{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;background:#132b24;border:1px solid #687e68;border-radius:7px;color:#f5eacb;min-width:0}
.itemTile .artIcon{width:60px;height:60px}.itemTile strong,.techniqueTile strong{font-size:14px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}.itemTile small,.techniqueTile small{font-size:12px;color:#c9d6bd;line-height:1.35}.itemTile[aria-pressed=true],.techniqueTile[aria-pressed=true]{outline:2px solid #f0d69a;outline-offset:1px;background:#304b37}
.itemTile.grade1,.artPanel .gearSlot.grade1,.artPanel .gearItem.grade1{border-color:#72bcca}.itemTile.grade2,.artPanel .gearSlot.grade2,.artPanel .gearItem.grade2{border-color:#c08fda}.itemTile.grade3,.artPanel .gearSlot.grade3,.artPanel .gearItem.grade3{border-color:#efc568}
.itemDetailHead{display:flex;align-items:center;gap:12px}.itemDetailHead h3{margin:7px 0!important}.itemDetailHead .artIcon{width:64px;height:64px}.artPanel .gearItemTop{margin-bottom:10px}.artPanel .gearGrade,.artPanel .gearItemTop small{font-size:13px;color:#cedec5}.artPanel .grade1 .gearGrade{color:#a7e5ee}.artPanel .grade2 .gearGrade{color:#e1bdf1}.artPanel .grade3 .gearGrade{color:#ffde90}
.artPanel .gearItem .gearCompare,.artPanel .techniqueStats{border-color:#6e8565;color:#e5ebd7}.artPanel .statGain{color:#acecbe}.artPanel .statLoss{color:#ffb5a8}.artPanel .gearCost,.artPanel .techniqueCost{color:#efdaac}
.supplyCard>.artIcon{float:right;width:55px;height:55px;margin-left:8px}.manualBagRow{display:flex;align-items:center;gap:10px;margin:12px 0}.manualBagRow b{font-size:14px}.manualBagRow .artIcon{width:45px;height:45px}.manualBagRow p{margin:3px 0!important;font-size:13px!important}.manualBag button{width:100%}.gearRules summary,.martialGuide summary{font-size:14px;cursor:pointer;min-height:30px;line-height:1.6}
.artPanel .selectedTechnique{position:relative;display:block;padding:11px 12px 12px 77px;min-height:69px;margin:10px 0;background:#244737}.selectedTechnique>.artIcon{position:absolute;left:11px;top:11px;width:54px;height:54px}.selectedTechnique small,.selectedTechnique b{display:block}.artPanel .selectedTechnique b{font-size:19px;margin-top:6px}.artPanel .martialWallet{font-size:14px;padding:10px 2px 0}.artPanel .martialAuto{font-size:14px;min-height:44px}
.techniqueGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 16px}.techniqueTile{display:grid;grid-template-columns:53px 1fr;text-align:left;justify-items:start;padding:10px;gap:5px 9px}.techniqueTile .artIcon{grid-row:span 2;width:53px;height:53px}.techniqueTile small{align-self:start}.techniqueTile strong{align-self:end}.techniqueTile.unlearned .artIcon{filter:saturate(.4)}.techniqueTile.unlearned small{color:#ecd4a1}
.artPanel .techniqueTop{flex-wrap:wrap;gap:10px}.techniqueTop>.artIcon{width:52px;height:52px}.artPanel .techniqueTop small{color:#c0d0b6;font-size:13px}.artPanel .techniqueTop h3{font-size:19px!important}.artPanel .techniqueState{font-size:12px;color:#e3d398}.artPanel .techniqueStats{font-size:14px}.artPanel .bookSources{background:#172d27;border-color:#7f8e66;color:#e9debd}.artPanel .bookSources summary{color:#f3d99f;font-size:14px}.artPanel .techniqueAuto[aria-pressed=true]{background:#57764a;color:#fff9df}
.dock button:has(.artIcon){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.dock .artIcon{width:28px;height:28px;border-radius:5px}.dock button{font-size:13px}.side button[data-panel] .artIcon{width:26px;height:26px}.side #herb{width:45px;height:55px;font-size:12px;padding:3px}.side #herb>.artIcon{position:static;display:block;width:30px;height:30px;min-width:0;border-radius:6px;margin:auto;background-color:#142b24}.side #herb>.herbCount{bottom:0;right:-3px;font-size:12px}
.controls .artIcon{width:100%;height:100%;border-radius:50%;box-shadow:none}.controls button{position:relative;overflow:visible}.controls .attack,.controls .skill,.controls .auto{padding:3px;background:#192e24;border:2px solid #c4a775;box-shadow:0 3px 7px #0009}.controls button small{position:absolute;left:50%;bottom:-13px;transform:translateX(-50%);padding:2px 6px;border-radius:4px;background:#13241ef0;color:#fff1cd;font-size:12px;line-height:1.3;white-space:nowrap}.controls .skill small{bottom:-23px}.controls .auto.on{border-color:#aff7d7;box-shadow:0 0 12px #79ffd799}#cooldown{top:50%;left:50%;right:auto;transform:translate(-50%,-50%);background:#071a12d9;font-size:22px;min-width:31px;text-align:center;z-index:1;border-radius:50%;line-height:1.4}
#dodge{display:flex;align-items:center;justify-content:center;gap:5px;padding:4px 9px;font-size:14px}#dodge .artIcon{width:29px;height:29px;border-radius:50%}.currency{display:flex;flex-wrap:wrap;gap:3px;align-items:center;max-width:98px}.currency .artIcon{width:21px;height:21px}.currency b{min-width:100%;text-align:center}
#activeEffect{display:flex;gap:6px;background:none;border:0;padding:0;left:auto;right:12px;transform:none;bottom:247px;max-width:200px;white-space:normal}.buffBadge{position:relative;display:block}.buffBadge .artIcon{width:39px;height:39px;border:1px solid #d5df94}.buffBadge b{position:absolute;bottom:-5px;right:-3px;background:#14261d;color:#fff3c9;border:1px solid #95b18a;border-radius:4px;padding:0 3px;font-size:12px}
.guideExits article>.artIcon{width:43px;height:43px}.guideExits article{gap:9px}.guideExits article>div{min-width:0;flex:1}.guideExits strong{font-size:14px}.guideExits small{font-size:13px}
@media(max-width:370px){.artPanel #panelBody{padding:11px}.techniqueTile{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 4px;gap:6px}.techniqueTile strong,.techniqueTile small{align-self:center}.techniqueTile .artIcon{width:58px;height:58px}.itemTile .artIcon{width:54px;height:54px}.artPanel .gearSlots{gap:5px}.artPanel .gearSlot b{font-size:13px}.artPanel .gearSlot .artIcon{width:46px;height:46px}.currency{max-width:77px}}
@media(max-height:650px){#activeEffect{bottom:217px}}
.panelHead #panelTitle{display:flex;align-items:center;gap:9px}.panelHead .artIcon{width:30px;height:30px;border-radius:5px}

/* v0.42: expressive headings, readable Korean UI; all fonts ship locally. */
html,body{font-synthesis:none;line-height:1.5}button,input,textarea,select{font-family:var(--font-ui)}
#loading b,.accountCard h1{font-weight:700;line-height:1.35;letter-spacing:.15em;padding-left:.15em}
#panelTitle,.rosterHeading h1,.classCard strong,.gearIntro h3,.martialIntro h3,.itemDetailHead h3,.techniqueTop h3,#areaArrival{font-family:var(--font-display);font-weight:700;line-height:1.4;letter-spacing:.025em}
#panelTitle{min-width:0;overflow-wrap:anywhere;font-size:22px}.panelHead{gap:10px;line-height:1.4}.panelHead button{flex:none;font-family:var(--font-ui)}
.artPanel .gearIntro h3,.artPanel .martialIntro h3{line-height:1.45;letter-spacing:.02em}.techniqueNumber{font-family:var(--font-ui);font-style:normal;font-weight:700}
.fieldHud .location{flex-wrap:wrap;row-gap:2px;white-space:normal;font-size:14px;line-height:1.45}.fieldHud .location span:not(.locationDivider){white-space:nowrap}
.controls button small,.controls .skill small{font-family:var(--font-ui);font-weight:700;font-size:14px;line-height:1.45;letter-spacing:0;padding:3px 6px}.controls .skill small{max-width:104px;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;text-align:center;bottom:-30px}
.currency,#level,#cooldown,.gearWallet,.techniqueStats,#clock,.hit{font-variant-numeric:tabular-nums}.identity strong{line-height:1.45}
#dialogueText{line-height:1.8}.card p{line-height:1.7}.dock button{font-size:14px}.fontCredits a{color:#285848;text-underline-offset:3px;line-height:1.6;font-size:14px}
@media(max-width:370px){#panelTitle{font-size:20px}.fieldHud .location{font-size:13px}.controls .skill small{max-width:92px}.artPanel .gearIntro h3,.artPanel .martialIntro h3{font-size:23px}}

/* v0.43: portal names belong to a fixed map rail, not to the moving playfield. */
#game{--portal-height:0px}#game.hasPortalHint{--portal-height:70px}
#miniMapBox{height:auto;min-height:42px}
#mapRail #travel{position:static;transform:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;min-height:70px;margin:0;padding:7px 5px;border:0;border-top:1px solid #a6ba8277;border-bottom:1px solid #a6ba8277;border-radius:0;background:#17372c;color:#f9e8b4;box-shadow:none;font-size:14px;line-height:1.4;text-align:center}
#travel .travelText{font-size:14px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}#travel .travelState{font-size:12px;line-height:1.35;color:#c2d9b9}#mapRail #travel.ready{background:#3e6245;box-shadow:inset 3px 0 #ead197}#mapRail #travel:disabled{background:#29372c;color:#c6c8b3}#travel:disabled .travelState{color:#b4bdac}
#game .side{top:calc(env(safe-area-inset-top) + var(--map-top) + var(--map-height) + var(--party-height) + var(--portal-height) + 60px)}

/* v63 frontier atlas */
.frontierAtlas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.frontierCard{position:relative;min-height:112px;padding:0;overflow:hidden;border:1px solid #806c45;border-radius:8px;background:#172224}.frontierCard img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 64%}.frontierCard span{position:absolute;inset:auto 0 0;padding:16px 4px 8px;background:linear-gradient(transparent,#081619eF);display:grid;gap:3px;color:#f2e5c8}.frontierCard strong{font-size:14px}.frontierCard small{font-size:12px}.frontierCard.here{box-shadow:0 0 0 2px #d9bb79}.frontierCard:disabled{opacity:.6}

.updateNotice{position:fixed;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:10000;width:min(460px,calc(100vw - 24px));box-sizing:border-box;padding:16px;border:1px solid #d3b378;border-radius:12px;background:#242320;color:#fff5df;box-shadow:0 8px 32px #0009;font-size:14px}.updateNotice[hidden]{display:none}.updateNotice p{line-height:1.5;margin:10px 0}.updateNotice div{display:flex;gap:10px}.updateNotice button{padding:10px 16px;min-height:40px}

.updateNotice button{background:#ead4a2;color:#1b2925;border:1px solid #c7ab72;border-radius:6px;font:inherit;cursor:pointer}.updateNotice button:disabled{background:#3b423b;color:#d5d0bd;opacity:.8;cursor:wait}

#sleepLabel.sleepWarning{color:#ff9786;max-width:90vw;font-size:clamp(17px,4vw,24px);line-height:1.5}
