@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
:root{--ink:#213e35;--cream:#f2f0e4;--gold:#d5ba7c}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#243c38;color:var(--cream);font-family:'Noto Sans KR',sans-serif;touch-action:none;-webkit-user-select:none;user-select:none}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button{color:inherit}button:disabled{opacity:.55;cursor:wait}#scene{display:block;width:100%;height:100%;position:fixed;inset:0;outline:0}#veil{position:fixed;inset:0;background:linear-gradient(90deg,#102f31da 0%,#102f3190 30%,transparent 72%),linear-gradient(0deg,#112c3577,transparent 30%);pointer-events:none;transition:opacity 1s}.playing #veil{opacity:0}header{position:fixed;inset:0 0 auto;display:flex;align-items:center;gap:16px;padding:30px 42px;z-index:3;pointer-events:none;text-shadow:0 1px 10px #0005}header>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}.brand svg{width:37px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8}.brand span{font-size:27px;font-weight:600;line-height:1.15}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:5px}.clock{margin-left:auto;display:grid;grid-template-columns:8px auto;gap:4px 8px;align-items:center;font-size:13px}.clock i{width:5px;height:5px;border-radius:50%;background:#e8ce8c}.clock small{grid-column:2;font-size:10px;opacity:.65}.round{background:#e8eee110;border:1px solid #edf1e93a;backdrop-filter:blur(10px);border-radius:50%;width:42px;height:42px;font-size:20px}#welcome{position:fixed;left:8%;top:20%;width:360px;z-index:2;max-height:76dvh;overflow:auto;scrollbar-width:none}.eyebrow{font-size:11px;letter-spacing:2px;opacity:.8}h1{font-family:'Gowun Batang',serif;font-weight:400;font-size:clamp(45px,5.5vw,76px);line-height:1.2;letter-spacing:-3px;margin:22px 0}h1 em{font-style:normal;color:#e4d1a5}#welcome>p{font-size:14px;line-height:1.9;opacity:.78;margin:20px 0}.route-preview{border-left:2px solid #dec08a;padding-left:14px;margin:28px 0 20px;display:flex;flex-direction:column;gap:7px}.route-preview span{font-size:10px;color:#d9c69e}.route-preview strong{font-size:15px;font-weight:500}.route-preview small{font-size:9px;opacity:.6}.name-label{font-size:10px;opacity:.75;display:block;margin-bottom:7px}#name{border:0;border-bottom:1px solid #ffffff40;background:transparent;padding:7px 0;width:100%;color:#fff;outline:0;font-size:14px;user-select:text}#name::placeholder{color:#c8d2c6}.colors{display:flex;gap:9px;align-items:center;margin:15px 0}.colors button{background:var(--swatch);width:21px;height:21px;border-radius:50%;border:3px solid transparent;outline:1px solid transparent}.colors button.chosen{border-color:#29433c;outline-color:#e7dabc}.colors span{font-size:10px;opacity:.6;margin-left:4px}#start{margin-top:5px;background:#e8e4d4;border:0;color:#284238;border-radius:3px;padding:17px 20px;width:100%;text-align:left;font-size:14px;font-weight:600;display:flex;justify-content:space-between}#start span{font-size:21px}.entry-note{display:block;text-align:center;opacity:.55;font-size:9px;margin-top:12px}footer{position:fixed;bottom:24px;left:42px;right:42px;display:flex;justify-content:space-between;font-size:10px;color:#e1e7dc9a}#loading{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#173b34;z-index:8;transition:opacity .7s}#loading span{width:36px;height:36px;border:1px solid #a5bcb657;border-top-color:#eed5a1;border-radius:50%;animation:rotate 1.3s linear infinite}#loading p{font-size:12px;letter-spacing:1px;margin-top:22px}@keyframes rotate{to{transform:rotate(360deg)}}[hidden]{display:none!important}#error{position:fixed;inset:20%;padding:40px;background:#203c35;z-index:20;border:1px solid #abc2a4;border-radius:16px;line-height:1.8}#error button{padding:12px;border:1px solid #aec2ab;background:none}.trail-label{position:fixed;top:122px;left:42px;display:flex;flex-direction:column;gap:7px;text-shadow:0 2px 10px #0008}.trail-label span{font-size:9px;letter-spacing:3px;color:#e3c690}.trail-label b{font-family:'Gowun Batang',serif;font-size:21px;font-weight:400}.compass{position:fixed;top:45px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:2px}.compass i{font-size:21px;color:#e2bc77}.progress{position:fixed;top:120px;right:42px;width:150px;background:#17352c4a;padding:12px;border-radius:10px;backdrop-filter:blur(8px)}.progress>div:first-child{display:flex;justify-content:space-between;align-items:center}.progress b{font-weight:500;font-size:14px}.progress span,.progress small{font-size:9px;opacity:.8}.progress small{display:block;margin-top:6px}.progress-track{height:2px;background:#ffffff35;margin-top:9px}.progress-track i{display:block;background:#ddc38f;height:100%;width:0}#joyZone{position:fixed;bottom:max(28px,env(safe-area-inset-bottom));left:20px;width:210px;height:210px;touch-action:none;display:flex;align-items:center;justify-content:center;flex-direction:column}#joyBase{width:128px;height:128px;border:1px solid #ffffef55;border-radius:50%;background:#e2e8d311;position:relative;box-shadow:inset 0 0 30px #fff1}#joyThumb{position:absolute;left:40px;top:40px;width:46px;height:46px;border-radius:50%;background:#e4e9d8a8;border:1px solid #ffffff96;box-shadow:0 5px 15px #142c2a50;pointer-events:none}#joyZone>span{font-size:9px;letter-spacing:2px;color:#ffffec99;margin-top:14px}.actions{position:fixed;right:35px;bottom:max(53px,env(safe-area-inset-bottom));display:flex;gap:14px;align-items:flex-end}.actions button{background:#173e354d;border:1px solid #fff4;border-radius:50%;width:64px;height:64px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;backdrop-filter:blur(8px)}.actions button>span{font-size:26px;line-height:1}.actions small{font-size:9px;opacity:.8}.actions svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.4}#center{position:fixed;right:38px;bottom:150px}#gestureHint{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:1px;white-space:nowrap;color:#f4f4e6a6;transition:opacity 1s}dialog{width:min(440px,calc(100% - 32px));border:0;border-radius:20px;background:#f1f0e7;color:var(--ink);padding:32px;max-height:85dvh;overflow:auto;touch-action:pan-y;box-shadow:0 30px 100px #0005}dialog::backdrop{background:#102d2770;backdrop-filter:blur(6px)}dialog .eyebrow{font-size:9px}dialog h2{font-family:'Gowun Batang',serif;font-size:26px;font-weight:400;margin:14px 0 8px}dialog h3{font-size:12px;margin-top:24px}dialog p{font-size:12px;color:#698074;line-height:1.8}.close{position:absolute;top:15px;right:16px;width:32px;height:32px;border:0;background:transparent;font-size:25px;color:#688071}.stats{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 0;margin-top:20px;border-block:1px solid #d4dbcc}.stats div{display:flex;flex-direction:column;gap:7px}.stats b{font-size:24px;font-weight:500}.stats span{font-size:9px;color:#788476}.mountain{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #d7ddcf}.mountain>span{font-size:11px;color:#a2ac99}.mountain div{display:flex;flex-direction:column;gap:5px}.mountain b{font-size:13px}.mountain small{font-size:10px;color:#8a9587}.mountain em{margin-left:auto;font-style:normal;font-size:9px;color:#869882}.mountain.active em{color:#48765b}.notice{background:#e4e9dc;border-radius:10px;padding:13px}.setting{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding:14px 0;gap:10px}.setting select{max-width:200px;border:1px solid #ced8c7;background:transparent;border-radius:6px;padding:8px;color:var(--ink);font-size:11px}.sun-times{display:flex;justify-content:space-between;font-size:12px;background:#e7eadd;padding:12px}.sun-times b{font-weight:500;margin-left:10px}.secondary,.download{background:#2f5343;border:0;color:#f1f0e5;width:100%;border-radius:8px;padding:13px;font-size:12px;margin-top:15px}.text-button{display:block;border:0;background:none;color:#7f8b7a;padding:12px;margin:auto;font-size:11px}.muted{font-size:10px;color:#8a9586}dialog>small{display:block;text-align:center}#photoImage{width:100%;border-radius:12px;margin-top:15px}.download{display:block;text-align:center;text-decoration:none}#toast{position:fixed;bottom:235px;left:50%;transform:translateX(-50%) translateY(10px);opacity:0;background:#173a30dd;color:#fff5dc;padding:12px 20px;border:1px solid #a5b89b40;border-radius:25px;font-size:12px;transition:.3s;pointer-events:none;white-space:nowrap;z-index:30}#toast.show{opacity:1;transform:translateX(-50%)}#previewTag{position:fixed;bottom:8px;left:50%;transform:translateX(-50%);font-size:9px;color:#f5d69c;background:#233b2dcc;border-radius:5px;padding:5px 10px}.playing #welcome,.playing #welcomeFooter{display:none}.photo-mode header,.photo-mode #hud,.photo-mode #previewTag,.photo-mode #toast{visibility:hidden}
@media(max-width:700px){header{padding:22px 22px;padding-top:max(22px,env(safe-area-inset-top));gap:10px}.brand span{font-size:23px}.brand svg{width:30px}.clock{font-size:11px}.clock small{font-size:9px}.round{width:37px;height:37px}#welcome{left:8%;top:16%;width:74%;max-height:78dvh}h1{font-size:49px;line-height:1.25;margin:18px 0}#welcome>p{font-size:12px;margin:15px 0}.route-preview{margin:20px 0 14px}.route-preview small{font-size:8px}#veil{background:linear-gradient(90deg,#102f31b8,transparent 140%),linear-gradient(0deg,#102f3199,transparent 75%)}footer{left:22px;right:22px;bottom:17px;font-size:8px}footer span:last-child{display:none}.trail-label{top:105px;left:24px}.trail-label b{font-size:17px}.progress{top:105px;right:22px;width:123px;padding:9px}.compass{top:80px;font-size:8px}.actions{right:20px;bottom:64px;display:grid;grid-template-columns:repeat(2,55px);gap:12px}.actions button{width:55px;height:55px}.actions button:last-child{grid-column:2;grid-row:1}#wave{grid-column:1;grid-row:2}#rest{grid-column:2;grid-row:2}#center{right:27px;bottom:206px}#joyZone{left:4px;bottom:30px;width:180px;height:180px}#joyBase{width:116px;height:116px}#joyThumb{left:35px;top:35px}#gestureHint{bottom:20px;font-size:8px;letter-spacing:0}#toast{bottom:245px;font-size:10px}dialog{padding:27px 24px}#error{inset:15% 5%;padding:28px}}
@media(max-height:730px){#welcome{top:14%}h1{font-size:39px;margin:12px 0}#welcome>p{margin:8px 0}.route-preview{margin:14px 0}.colors{margin:10px 0}#start{padding:13px}footer{display:none}}

#joyThumb{left:50%;top:50%;transform:translate(-50%,-50%)}

#welcome{touch-action:pan-y}#error small{display:block;margin-top:15px;font-size:10px;opacity:.7}

.bag-settings{margin:14px 0;font-size:11px;border-block:1px solid #ffffff25;padding:12px 0}.bag-settings summary{cursor:pointer}.bag-settings small{font-size:9px;line-height:1.8;opacity:.7;display:block}.bag-settings .setting select{color:var(--cream);max-width:150px}.bag-settings select option{color:#213e35}.flag-preview{width:24px;height:18px;object-fit:contain;margin-left:auto}.bag-upload{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.bag-upload>img{width:80px;height:54px;object-fit:contain;border:2px solid #d0c5a5;border-radius:4px;background:#f3efe3}.photo-upload,.bag-upload button{font-size:10px;border:1px solid #8c9d88;border-radius:5px;padding:8px 10px;background:transparent;cursor:pointer}.photo-upload input{display:block;max-width:185px;font-size:9px;margin-top:6px}.bag-upload button:disabled{cursor:default;opacity:.4}.entry-sound{display:flex;align-items:center;gap:7px;font-size:10px;margin:12px 0}.entry-sound input{accent-color:#d7bd7c}#soundVolume{width:150px;accent-color:#577d5e}#welcome{max-height:73dvh;padding-bottom:20px}#welcome .setting{font-size:11px}

.country-choice{border:1px solid #8c9d8866;border-radius:7px;background:transparent;color:inherit;padding:8px 12px;min-width:140px;text-align:left}.country-choice span,.country-choice small{display:block}.country-choice small{font-size:10px;opacity:.7;margin-top:3px}.country-choice span{font-size:12px}#countryPicker{z-index:50}#countrySearch{width:100%;padding:12px;border:1px solid #c6d0c0;border-radius:7px;background:#fff8;color:var(--ink);user-select:text;touch-action:auto}.country-list{max-height:48dvh;overflow:auto;margin-top:12px;touch-action:pan-y}.country-row{display:flex;width:100%;align-items:center;gap:14px;border:0;border-bottom:1px solid #d5ddcf;background:transparent;color:var(--ink);padding:13px 10px;text-align:left}.country-row[aria-pressed=true]{background:#dde8d5;border-radius:7px}.country-row img{width:32px;height:24px;object-fit:contain}.country-row b,.country-row small{display:block}.country-row b{font-size:13px;font-weight:500}.country-row small{font-size:11px;color:#71816b;margin-top:4px}

.online-info{position:fixed;left:42px;top:185px;display:flex;flex-direction:column;gap:5px;font-size:10px;text-shadow:0 1px 5px #0009}.online-info b{font-weight:500;color:#ecd5a0}#interact{position:fixed;bottom:230px;left:50%;transform:translateX(-50%);border:1px solid #e5d2a4;background:#244637ed;color:#fff3d4;padding:13px 22px;border-radius:26px;font-size:12px;max-width:90%;white-space:nowrap}.signin-link{display:block;text-align:center;font-size:11px;color:#3c6b4d;margin:15px}header .brand span{font-size:24px}@media(max-width:700px){.online-info{left:24px;top:165px}header .brand span{font-size:20px}}

.mountain{text-decoration:none;color:inherit}.mountain-picker select{color:var(--cream);max-width:220px}.mountain-picker option{color:var(--ink)}

.bio-label{display:block;font-size:11px;margin:14px 0 6px}#bagBio,#bagBioEdit{width:100%;min-height:70px;background:#ffffff16;border:1px solid #a6b39c88;color:inherit;border-radius:6px;padding:10px;font:inherit;font-size:12px;resize:vertical;user-select:text;touch-action:pan-y}#bagProfile{width:min(350px,90%)}#profileCountry{display:flex;gap:12px;align-items:center;margin:10px 0 20px}#profileCountry img{width:40px;height:30px;object-fit:contain}#profileCountry b,#profileCountry small{display:block}#profileCountry small{font-size:11px;color:#75846f;margin-top:4px}#profileLogo{display:block;width:100%;max-height:220px;object-fit:contain;background:#f5f1e6;border-radius:9px}#profileBio{white-space:pre-wrap;overflow-wrap:anywhere;color:#3d5647;margin:20px 0 0}

header .brand span{font-size:21px}.brand small{letter-spacing:1px}@media(max-width:700px){header .brand span{font-size:17px}.brand svg{width:25px}.brand{gap:7px}.brand small{font-size:7px}.clock{font-size:10px}}
#previewStage{position:fixed;left:50%;right:4%;top:115px;height:calc(100dvh - 155px);z-index:2;touch-action:none;cursor:grab}.preview-tools{position:absolute;right:12px;top:10px;display:flex;align-items:center;gap:8px;color:#314c3c;font-size:10px}.preview-tools button{border:1px solid #84977e;border-radius:20px;background:#eef0e4;padding:6px 10px;color:#304d38;font-size:11px}.playing #previewStage{display:none}#welcome{left:4%;top:115px;width:40%;max-height:calc(100dvh - 140px);padding:24px;background:#16382eea;border-radius:16px}#welcome h1{font-size:32px;letter-spacing:-1px;line-height:1.3;margin:12px 0}#welcome h1 br{display:none}#welcome>p{font-size:11px;margin:10px 0}#veil{display:none}.dress-section>label{display:block;font-size:11px;margin-top:14px}.hat-styles{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.hat-styles button{border:1px solid #a0b19a70;background:transparent;border-radius:6px;padding:9px 3px;font-size:11px;color:#eee8d5}.hat-styles button.selected{background:#e5ddbd;color:#244333}.dress-section .colors{gap:13px;margin:10px 0}.dress-section .colors button{width:27px;height:27px}.actions button.selected{border-color:#dce5ad;background:#5d7758}#cancelStone{position:fixed;bottom:185px;left:50%;transform:translateX(-50%);background:#244637e8;color:#eee5cf;border:1px solid #a3b294;border-radius:20px;font-size:11px;padding:8px 15px}#stone{grid-column:2;grid-row:2}#rest{grid-column:1;grid-row:1}#wave{grid-column:1;grid-row:2}footer{display:none}
@media(max-width:700px){header{padding:14px 16px;padding-top:max(14px,env(safe-area-inset-top))}#previewStage{left:0;right:0;top:84px;height:30dvh;min-height:180px}#welcome{left:12px;top:max(calc(84px + 30dvh),264px);width:calc(100% - 24px);bottom:10px;height:auto;max-height:none;padding:18px;border-radius:14px}#welcome h1{font-size:24px;margin:5px 0}#welcome .eyebrow,#welcome>p{display:none}.route-preview{margin:5px 0 12px}.mountain-picker{padding:8px 0}.hat-styles button{font-size:12px}#start{position:sticky;bottom:-18px;z-index:3;box-shadow:0 -8px 20px #15392c88}.preview-tools{top:4px;right:12px}.preview-tools span{font-size:9px}.dress-section .colors{gap:14px}#stone{grid-column:2;grid-row:2}#rest{grid-column:1;grid-row:1}}

.online-info{top:86px;left:42px;flex-direction:row;align-items:center;gap:14px;font-size:11px}.online-info span{padding:6px 10px;border-radius:20px;background:#1c3f33c9;color:#fff5df}.online-info b{font-size:10px}@media(max-width:700px){.online-info{top:69px;left:16px;gap:8px;font-size:10px}.playing .compass{top:82px;left:auto;right:20px;transform:none}.playing .trail-label,.playing .progress{top:111px}}

.meal-open{position:fixed;right:22px;bottom:330px;border:1px solid #e8e7cf88;border-radius:24px;background:#294c40dd;color:#fff6dc;padding:12px 20px;z-index:12;font-size:15px}.meal-choice{display:block;width:100%;text-align:left;background:#edf0e4;color:#254638;border:1px solid #bac9af;border-radius:14px;padding:18px;margin:10px 0;font:inherit}.meal-choice:disabled{opacity:.45}#mealDialog{max-width:400px;width:calc(100% - 36px)}#mealBalance{font-weight:700;color:#32674d}@media(max-height:700px){.meal-open{bottom:240px}}

.name-label-layer{position:fixed;inset:0;pointer-events:none;z-index:2;overflow:hidden}.hiker-name{position:absolute;left:0;top:0;white-space:nowrap;font:500 11px/1.25 system-ui,sans-serif;color:#fffbed;letter-spacing:0;text-shadow:0 1px 2px #18291fd9;background:none;pointer-events:none;will-change:transform}.hiker-name[hidden],.name-label-layer[hidden]{display:none}

.gift-open{position:fixed;right:20px;bottom:350px;padding:10px 15px;border-radius:24px;background:#254b40df;color:#fff9e8;border:1px solid #dce3c277;font-size:12px}.gift-open[hidden]{display:none}.gift-options{display:flex;gap:10px;margin-top:18px}.gift-options button{flex:1;padding:15px 8px;border-radius:14px;background:#284f40;color:#fff9e8}.gift-person{padding:9px 15px;margin:4px;border-radius:20px;background:#edf0e5;border:1px solid #bdc9b7}.gift-person[aria-pressed=true]{background:#2c5445;color:white}#giftDialog{max-width:420px}#giftDialog button:disabled{opacity:.5}

.gift-cancel{position:fixed;right:20px;bottom:400px;padding:9px 14px;background:#fff9e8;color:#254b40;border-radius:20px;font-size:12px}.gift-cancel[hidden]{display:none}

/* A quiet, explicit entry screen. The 3D scene loads only after entry. */
body.intro-open> :not(#intro):not(script){visibility:hidden!important;pointer-events:none!important}
#intro{position:fixed;inset:0;z-index:1000;background:#153c32;color:#fff8e9;isolation:isolate;overflow:hidden}#intro[hidden]{display:none}
.intro-art,.intro-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 40%;z-index:-2}.intro-shade{z-index:-1;background:linear-gradient(180deg,#0b241b40 0%,transparent 28%,#0b241b99 52%,#0b241bf5 100%)}
.intro-brand{position:absolute;top:max(42px,calc(env(safe-area-inset-top) + 22px));left:7%;right:7%;text-shadow:0 2px 18px #15362f66}.intro-brand>span{font:600 11px/1.5 system-ui;letter-spacing:5px}.intro-brand h1{font-family:'Noto Sans KR',sans-serif;font-size:clamp(30px,5vw,56px);letter-spacing:-1.8px;line-height:1.25;margin:10px 0}.intro-brand p{font-size:13px;margin:0;letter-spacing:.4px}
.intro-bottom{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:7%;width:min(420px,86%)}.intro-story-window{height:230px;overflow:hidden;mask-image:linear-gradient(transparent,#000 14%,#000 82%,transparent);pointer-events:none}.intro-story{animation:trail-story 12s linear both;text-align:left;font-size:17px;line-height:1.95;font-weight:500;text-shadow:0 2px 7px #102a25}.intro-story p{margin:0 0 36px}.intro-story .intro-last{font-size:22px;font-weight:700;margin-bottom:0}.intro-controls{display:flex;flex-direction:column;gap:14px;margin-top:14px}#introReplay{align-self:flex-start;background:none;border:0;color:#eee9d6;font-size:11px;padding:6px 0;opacity:.8}#introEnter{display:flex;align-items:center;justify-content:space-between;width:100%;padding:18px 22px;border:1px solid #fff6d84d;border-radius:18px;background:#f1ecd9;color:#21493a;font-size:18px;font-weight:700;box-shadow:0 8px 30px #071c2440}#introEnter:disabled{opacity:.65}#introStatus{font-size:11px;text-align:center;color:#d9e2d4;margin:12px 0 0}
@keyframes trail-story{from{transform:translateY(120px)}to{transform:translateY(calc(-100% + 130px))}}
#welcome{background:#f7f5eaf5;color:#254536;border:1px solid #ffffffa0;box-shadow:0 14px 45px #142d2820;padding:26px}#welcome .eyebrow{font-size:11px;color:#6d806f;letter-spacing:2px}#welcome h1{font-family:'Noto Sans KR',sans-serif;font-size:28px;font-weight:700;margin:7px 0 14px}#welcome>p{color:#607568;font-size:13px}#welcome .route-preview{border-left:3px solid #789378;padding-left:13px}#welcome .route-preview span{font-size:11px;color:#6e7d6b}#welcome .route-preview strong{font-size:14px;color:#2e4d3d}#welcome .route-preview small{font-size:11px;color:#69796d;line-height:1.6}
#welcome .name-label,#welcome .mountain-picker{font-size:15px;font-weight:700;color:#284a39}#welcome #name{color:#294b3c;background:white;border:1px solid #cdd6c6;border-radius:12px;padding:13px 14px;font-size:15px;width:100%;margin-top:9px}#welcome #name::placeholder{color:#91a091;font-size:13px}#welcome .setting select{background:#fff;color:#284a39;border:1px solid #cdd6c6;border-radius:9px;padding:8px;font-size:12px}
.setup-heading{font-size:17px;line-height:1.4;font-weight:700;margin:24px 0 10px;padding-top:19px;border-top:1px solid #dce1d3;color:#244938}.dress-section>label{font-size:12px;font-weight:500;color:#697a68;margin:10px 0}.hat-styles button{color:#355542;background:#fff;border:1px solid #d5decf;border-radius:10px;padding:12px 3px}.hat-styles button.selected{background:#355d47;color:#fff9e8;border-color:#355d47}.dress-section .colors{gap:16px;padding:4px 3px}.dress-section .colors button{width:30px;height:30px;box-shadow:0 1px 3px #1a3c2920}#welcome .bag-settings{padding:17px 0;border-color:#d8dfd0}#welcome .bag-settings summary{font-size:14px;font-weight:700}#welcome .bag-settings small{font-size:11px;color:#6a7d6d;opacity:1}#welcome .photo-upload,#welcome .bag-upload button{color:#355542;border-color:#c8d2be;background:#fff;font-size:12px;border-radius:9px}#welcome .bio-label{font-size:13px;font-weight:700}#welcome textarea{background:#fff;color:#284a39;border:1px solid #cdd6c6;border-radius:10px}#welcome .entry-sound{font-size:12px;margin:20px 0}#welcome .entry-note{color:#6d7c6c;font-size:10px}#welcome #start{background:#315b45;color:#fff7e5;border-radius:13px;box-shadow:0 -7px 18px #f7f5ea;font-size:16px}#welcome .country-choice{color:#284a39;background:#fff;border-color:#cdd6c6}#welcome .country-choice small{color:#748571}.preview-tools{background:#f7f5eae0;padding:7px 10px;border-radius:22px}
@media(max-width:700px){#welcome{padding:20px;border-radius:20px 20px 12px 12px}#welcome h1{font-size:24px;margin:0 0 14px}.intro-art{object-position:57% 28%}.intro-bottom{bottom:max(18px,env(safe-area-inset-bottom))}.intro-brand{left:7%}#welcome #start{bottom:-20px}.setup-heading{margin-top:22px}}
@media(max-height:650px){.intro-story-window{height:150px}.intro-story{font-size:14px;line-height:1.8}.intro-brand{top:22px}.intro-brand h1{font-size:28px}.intro-bottom{bottom:12px}#introEnter{padding:13px 18px}.intro-controls{gap:6px}}
@media(prefers-reduced-motion:reduce){.intro-story{animation-duration:16s}}

.gear-styles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gear-styles button{background:#fff;color:#355542;border:1px solid #d5decf;padding:12px 7px;border-radius:10px;font-size:12px}.gear-styles button.selected{background:#355d47;color:#fff9e8}.dress-section .colors{display:grid;grid-template-columns:repeat(8,30px);gap:12px;max-width:100%;margin:12px 0 20px}.dress-section .colors button.chosen{outline:2px solid #315b45;outline-offset:3px}@media(max-width:380px){.dress-section .colors{grid-template-columns:repeat(6,30px)}}

.ranking-list{list-style:none;padding:0;margin:18px 0}.ranking-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #dbe1d2;font-size:13px}.ranking-list li>b{color:#7a866c}.ranking-list li:first-child>b{color:#aa7c2c}.ranking-list li>span{overflow-wrap:anywhere}.ranking-list li>strong{font-size:12px;font-variant-numeric:tabular-nums}.ranking-mine{padding:13px 15px;border-radius:12px;background:#e5ebde;font-size:13px;color:#31533d}#rankingDialog{width:min(460px,92vw)}#rankingDialog h2{font-size:23px}

.name-note{display:block;margin:8px 0;color:#6b7e6c;font-size:11px;line-height:1.6}.rename-panel{border:1px solid #d4ddcc;padding:16px;border-radius:14px;margin:16px 0}.rename-panel label{font-size:14px;font-weight:700}.rename-panel input{width:100%;padding:12px;border-radius:9px;border:1px solid #bccdb6;background:#fff;color:#254536;font-size:15px}.rename-panel .muted{font-size:11px}.rename-panel button{margin-top:10px}#name[readonly]{background:#edf0e6!important}

#nameError{font-size:12px!important;line-height:1.7;color:#a34437!important;background:#f9e8df;padding:10px 12px;border-radius:9px}#nameError[hidden]{display:none!important}

/* One layout owns all food and action buttons, so labels cannot overlap */
.trail-controls{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(32px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:none;max-width:calc(100vw - 190px)}
.trail-controls button{pointer-events:auto}.trail-controls .actions{position:static}.supply-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:142px;max-width:100%}
.trail-controls .gift-open,.trail-controls .meal-open,.trail-controls .gift-cancel{position:static;min-height:44px;width:100%;padding:10px 8px;margin:0;font-size:12px;line-height:1.4;white-space:normal;z-index:auto}
#center{right:max(20px,env(safe-area-inset-right));bottom:calc(208px + env(safe-area-inset-bottom));transform:translateX(-158px)}
@media(max-width:700px){.trail-controls .actions{display:grid;grid-template-columns:repeat(2,55px);gap:12px}.trail-controls{bottom:calc(28px + env(safe-area-inset-bottom));max-width:calc(100vw - 180px)}#center{bottom:calc(174px + env(safe-area-inset-bottom));transform:translateX(-150px)}}
@media(max-height:500px) and (min-width:701px){.trail-controls{bottom:calc(18px + env(safe-area-inset-bottom))}.supply-actions{flex-direction:row;width:300px}.supply-actions button{flex:1}#center{bottom:155px;transform:none}}

.identity-card,.photo-card{border:1px solid #c9d7bf;border-radius:16px;background:#fffdf6;padding:18px;margin:12px 0 18px}.identity-card{border:2px solid #658c6c}.identity-card h2,.photo-card h2{font:700 17px/1.4 'Noto Sans KR',sans-serif;margin:0 0 12px;color:#284c39}.photo-card h2 span,.required-label{font-size:11px;font-weight:500;margin-left:6px;color:#6b7c66}.photo-card p{font-size:12px;color:#647a66;line-height:1.6}.photo-card .bag-upload{display:flex;flex-direction:column;align-items:stretch}.photo-card .photo-upload{background:#315b45!important;color:#fff!important;text-align:center;font-size:14px!important;padding:16px!important;border:0!important}.photo-card .photo-upload input{font-size:12px;width:100%;max-width:100%;margin-top:12px;color:#fff}.photo-card .bag-upload>img{width:100%;height:110px;object-fit:contain}.photo-card>small{display:block;font-size:11px;color:#647a66;line-height:1.7}.identity-card .name-note{line-height:1.6}#welcome .identity-card #name{font-size:17px;min-height:50px}.identity-card .name-label{opacity:1}

.trail-controls #center{position:static;transform:none;flex-shrink:0}

.wardrobe-mode #welcome>*:not(.dress-section):not(#start){display:none!important}.wardrobe-mode .dress-section>.setup-heading:first-of-type{margin-top:0}.wardrobe-mode #welcome:before{content:'옷 · 액세서리';display:block;font-size:22px;font-weight:700;margin-bottom:16px}

/* Clear, aligned Korean labels with stable line breaks on narrow screens */
.trail-label b{font-family:'Noto Sans KR',sans-serif;font-weight:600;font-size:18px;line-height:1.45;letter-spacing:0;word-break:keep-all;overflow-wrap:break-word}.trail-label{max-width:calc(100vw - 220px)}
.progress{width:170px}.progress>div:first-child{display:grid;grid-template-columns:1fr;gap:7px;align-items:start}.progress b{font-size:13px;line-height:1.5;white-space:nowrap;font-weight:600}.progress span{font-size:12px;line-height:1.5;white-space:nowrap}.progress small{font-size:10px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}
dialog h2{font-family:'Noto Sans KR',sans-serif;font-weight:600;font-size:23px;line-height:1.4;word-break:keep-all}button{word-break:keep-all}#toast{max-width:calc(100vw - 32px);white-space:normal;text-align:center;line-height:1.6}
@media(max-width:700px){.trail-label{left:20px;max-width:calc(100vw - 204px)}.trail-label b{font-size:16px}.progress{right:16px;width:156px}.progress b{font-size:12px}.progress span{font-size:11px}#gestureHint{max-width:90vw;text-align:center;white-space:normal;line-height:1.5}}

.ramen-art{display:block;width:100%;aspect-ratio:1;background-image:url('/ramen-menu.webp');background-size:300% 100%;border-radius:12px;margin-bottom:10px}.meal-choice:has(.ramen-art){padding:12px;font-size:14px;font-weight:600;text-align:center}#mealList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#mealList .meal-choice{margin:0}

/* Swap the rest control in place. The label is smaller than its touch target. */
#stopMeal{grid-area:1/1;align-self:center;padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
#stopMeal span{padding:6px 4px;border:1px solid #e5eed47a;border-radius:14px;background:#244438e8;color:#fff9e9;font-size:11px;font-weight:600;line-height:14px;white-space:nowrap}
#stopMeal:active span{background:#385b48}
#stopMeal:not([hidden]) + #rest{display:none}


.hiker-speech{display:block;position:relative;max-width:min(230px,65vw);width:max-content;left:50%;transform:translateX(-50%);white-space:normal;overflow-wrap:anywhere;padding:9px 12px;margin-bottom:12px;border-radius:14px;background:#fffbed;color:#244339;text-shadow:none;font:500 13px/1.5 system-ui,sans-serif;box-shadow:0 3px 10px #0002}
.hiker-speech:after{content:'';position:absolute;left:calc(50% - 5px);bottom:-5px;width:10px;height:10px;background:#fffbed;transform:rotate(45deg)}.hiker-speech[hidden]{display:none}
#chatText{width:100%;padding:14px;border:1px solid #bcc9b9;border-radius:12px;font-size:16px;color:#213e35;background:#fffdf5;user-select:text}#chatDialog{width:min(90vw,380px)}#chatForm .secondary{margin-top:12px}


.shop-tabs{display:flex;gap:8px;margin:16px 0}.shop-tabs button{flex:1;border:1px solid #b4c2b2;padding:11px;border-radius:12px;background:#e3e8dc;color:#27493c}.shop-tabs button[aria-selected=true]{background:#284e40;color:#fff9e9}
#mealList:has(.tent-card){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tent-card{background:#e7eadf;border:1px solid #ced6c5;border-radius:16px;padding:12px;min-width:0}.tent-card img{display:block;width:100%;height:100px;object-fit:contain}.tent-card h3{font-size:14px;margin:8px 0}.tent-card p{font-size:11px;line-height:1.6;min-height:34px;margin:5px 0;color:#5a6e5d}.tent-card small{display:block;min-height:32px;font-size:11px;color:#536746}.tent-card .secondary{width:100%;padding:10px 5px;margin-top:6px;font-size:12px;min-height:42px}
#tentPlacement,#leaveTent{position:fixed;left:50%;top:32dvh;transform:translateX(-50%);pointer-events:auto;z-index:32;border:1px solid #c8d3b6;background:#24473eef;color:#fffae7;border-radius:18px;padding:12px 16px;max-width:90vw}#tentPlacement{width:320px;text-align:center}#tentPlacement p{font-size:12px;line-height:1.5;margin:0 0 10px}#tentPlacement button{border:1px solid #d8d9b8;border-radius:12px;background:#e9e8cf;color:#24473e;padding:11px 12px;min-height:44px;margin:0 3px}#leaveTent{top:auto;bottom:calc(34px + env(safe-area-inset-bottom));min-height:48px;font-size:14px}
.tent-label-layer{position:fixed;inset:0;z-index:2;pointer-events:none;overflow:hidden}.tent-name{position:absolute;left:0;top:0;color:#fff7dc;font:500 11px/1.3 system-ui,sans-serif;text-shadow:0 1px 3px #1e3228;white-space:nowrap}#tentPlacement[hidden],#leaveTent[hidden],.tent-name[hidden],.tent-label-layer[hidden],.actions[hidden]{display:none!important}
@media(max-width:360px){.tent-card{padding:9px}.tent-card h3{font-size:12px}.tent-card img{height:80px}}

/* Compact left-hand supplies leave the middle of the trail clear. */
.left-tools{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:calc(210px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(2,52px);gap:8px;pointer-events:none;z-index:12}
.left-tools button{width:52px;height:52px;border:1px solid #f2f0df75;border-radius:50%;background:#173d32b8;color:#f2f0df;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;pointer-events:auto;touch-action:manipulation;box-shadow:none}
.left-tools button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.left-tools button small{font-size:9px;line-height:12px;white-space:nowrap;letter-spacing:0}
.left-tools button:active{transform:scale(.94);background:#396b54}
.left-tools button:disabled{opacity:.45}

#runStatus{position:fixed;bottom:calc(188px + env(safe-area-inset-bottom));left:max(16px,env(safe-area-inset-left));color:#f5e8b8;font-size:11px;pointer-events:none}
.supply-art{display:block;width:100%;height:110px;background-image:url('/supplies-menu.png');background-size:200% auto;background-repeat:no-repeat;border-radius:12px;background-color:#f2f0e4}
.supply-choice{display:flex;flex-direction:column;gap:7px;text-align:left}
.supply-choice b{font-size:15px}.supply-choice small{font-size:12px;line-height:1.5}
@media(max-height:600px){.left-tools{bottom:calc(145px + env(safe-area-inset-bottom));grid-template-columns:repeat(4,46px);gap:6px}.left-tools button{width:46px;height:46px}.left-tools button svg{width:19px;height:19px}#runStatus{bottom:calc(129px + env(safe-area-inset-bottom))}}



@media(max-height:600px) and (orientation:landscape){.left-tools{bottom:calc(16px + env(safe-area-inset-bottom))}#joyZone{left:0;bottom:80px;width:150px;height:140px}#joyBase{width:100px;height:100px}#joyThumb{left:50%;top:50%}#joyZone>span{display:none}#runStatus{left:16px;bottom:68px}#gestureHint{display:none}}

/* Counts and nearby dialogue stay small and outside the central view. */
.online-info{display:grid;grid-template-columns:auto auto;gap:4px 12px;align-items:center}
#registeredStatus{grid-column:1 / -1;font-size:10px;color:#e2e9d9;font-weight:400;padding-left:3px;line-height:14px}
.playing .trail-label,.playing .progress{top:145px}
#trailChat{margin-top:5px;pointer-events:auto;max-width:100%}
#openChatHistory{display:flex;align-items:center;justify-content:space-between;gap:5px;border:0;background:transparent;color:#e7eadc;padding:3px 0 5px;width:100%;font-size:10px;text-shadow:0 1px 3px #000}
#openChatHistory span{font-size:9px;letter-spacing:0;color:#ccd9c5}
#recentChat{list-style:none;margin:0;padding:0;pointer-events:none}
#recentChat li{font-size:10px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f4f2e5;text-shadow:0 1px 4px #000,0 0 2px #000}
#recentChat strong{font-weight:600}#recentChat span{font-size:10px;letter-spacing:0;color:inherit}
#chatHistoryList{list-style:none;margin:0;padding:0;font-size:13px;line-height:1.7}#chatHistoryList li{padding:9px 0;border-bottom:1px solid #d7dfd0;overflow-wrap:anywhere}#chatHistoryList strong{font-size:11px;color:#496c53}
@media(max-width:700px){.playing .trail-label,.playing .progress{top:132px}#registeredStatus{font-size:9px;line-height:12px}.online-info{gap:3px 8px}}
@media(max-height:600px) and (orientation:landscape){#trailChat{max-width:240px}#recentChat li{line-height:15px}.playing .trail-label{left:180px;top:92px;max-width:240px}.playing .progress{top:100px}}

#tentPlacement{top:auto;bottom:calc(194px + env(safe-area-inset-bottom));padding:10px 12px;width:290px}#tentPlacement .tent-adjust{display:flex;gap:6px;margin-bottom:7px}#tentPlacement .tent-adjust button{flex:1;background:transparent;color:#eeeeda;padding:6px;font-size:11px;min-height:36px}#tentPlacement p{font-size:11px;margin-bottom:7px}#tentPlacement button{font-size:12px}#tentPlacement #placeTent{font-weight:600}@media(max-height:600px) and (orientation:landscape){#tentPlacement{bottom:16px;width:280px}}

/* Mobile GPU: HUD stays readable without repeatedly blurring the WebGL canvas */
.playing .round,.playing .progress,.playing .actions button{backdrop-filter:none;-webkit-backdrop-filter:none;background-color:#173d32b8}
@media (orientation:landscape) and (max-height:600px){
 header{padding:10px max(16px,env(safe-area-inset-right)) 6px max(16px,env(safe-area-inset-left));gap:10px}
 .brand span{font-size:18px}.brand svg{width:25px}.brand small{display:none}.clock{font-size:11px}.clock small{font-size:9px}
 .playing .trail-label{left:max(16px,env(safe-area-inset-left));top:104px;max-width:210px;gap:2px}.playing .trail-label b{font-size:15px}
 #trailChat{max-width:210px}#recentChat li{font-size:10px;line-height:14px}#recentChat li:nth-child(n+2){display:none}
 .playing .progress{top:62px;right:max(16px,env(safe-area-inset-right));width:170px;padding:8px}.progress #nextStop{display:none}
 #joyZone{left:max(8px,env(safe-area-inset-left));bottom:66px;width:132px;height:120px}#joyBase{width:100px;height:100px}#joyThumb{left:50%;top:50%}
 .left-tools{left:max(16px,env(safe-area-inset-left));bottom:max(10px,env(safe-area-inset-bottom));grid-template-columns:repeat(4,44px);gap:7px}.left-tools button{width:44px;height:44px}
 
 .trail-controls{right:max(16px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));max-width:180px}.trail-controls .actions{display:grid;grid-template-columns:repeat(2,52px);gap:10px}.trail-controls .actions button{width:52px;height:52px}
 #center{right:max(16px,env(safe-area-inset-right));bottom:140px;transform:none;width:44px;height:44px}
 #previewStage{left:max(12px,env(safe-area-inset-left));top:62px;width:39vw;height:calc(100dvh - 76px);bottom:auto}
 #welcome{left:43%;right:max(12px,env(safe-area-inset-right));top:62px;bottom:10px;width:auto;height:auto;max-height:none;padding:16px}
 #welcome #start{bottom:-16px}.intro-brand{top:20px;left:5%}.intro-brand h1{font-size:28px}.intro-bottom{left:auto;right:5%;bottom:12px;width:45%}.intro-story-window{height:130px}.intro-story{font-size:14px}.intro-controls{gap:5px}#introEnter{padding:12px 18px}
 #tentPlacement{bottom:12px;width:min(280px,40vw)}#toast{bottom:145px;max-width:65vw;white-space:normal;text-align:center}
 dialog{max-height:calc(100dvh - 24px);padding:22px}
}
@supports not (height:100dvh){#welcome,dialog{max-height:85vh}}
@media (orientation:landscape) and (max-height:600px){.online-info{top:54px;left:max(16px,env(safe-area-inset-left));gap:2px 8px;font-size:10px}.online-info #registeredStatus{padding:0;background:none;font-size:9px;line-height:12px}.online-info span{padding:4px 8px}.compass{top:18px}}

.animal-dialogue{position:fixed;z-index:18;transform:translate(-50%,-100%);max-width:min(240px,75vw);padding:10px 14px;border-radius:16px;background:#fff8e9;color:#294333;box-shadow:0 3px 12px #0003;font-size:14px;line-height:1.45;pointer-events:none;text-align:center}.animal-dialogue[hidden]{display:none}

#ownerWarpPanel{padding:18px;border:1px solid #b9bda8;border-radius:16px;margin:16px 0}#ownerWarpPanel label{display:block;margin:12px 0 6px}#ownerWarpPanel select{width:100%;padding:12px;border:1px solid #b9bda8;border-radius:10px;background:#fffdf1;color:#294333;font-size:16px}#ownerWarpPanel button{margin-top:16px}
/* Keep route progress directly below the live time caption in every orientation. */
header .clock{position:relative}
header .clock .summit-hud{display:none;position:absolute;top:calc(100% + 8px);right:0;width:180px;pointer-events:none;text-shadow:none}
header .clock .progress{position:static;width:100%;padding:9px 11px;box-sizing:border-box}
.playing header .clock .summit-hud{display:flex;flex-direction:column;align-items:stretch;gap:6px}
header .clock .progress>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
header .clock .progress b{font-size:12px;line-height:1.4}
header .clock .progress span,header .clock .progress small{font-size:10px;line-height:1.4}
@media(max-width:700px){header .clock .progress{padding:8px 10px}}
@media(max-height:600px) and (orientation:landscape){header .clock .summit-hud{width:180px}header .clock .progress #nextStop{display:none}}

.monk-greeting{position:fixed;z-index:16;transform:translate(-50%,-100%);pointer-events:none;background:rgba(249,245,228,.94);color:#284537;padding:9px 14px;border-radius:14px;font-size:13px;max-width:240px;text-align:center;box-shadow:0 3px 12px #0002}.monk-greeting[hidden]{display:none}
#wellDialog{width:min(88vw,380px);padding:28px;border-radius:24px}#wellDialog p{line-height:1.6}#wellDialog .close{float:right}.well-meter{position:relative;height:26px;background:#ced6c2;border-radius:13px;margin:22px 0;overflow:hidden}.well-target{position:absolute;left:42%;width:16%;height:100%;background:#638573}#wellCursor{position:absolute;top:2px;width:5px;height:22px;background:#e8b34b;border-radius:3px}#tossWell{padding:14px 22px;background:#2d5141;color:#fff4dd;border-radius:16px;border:0;width:100%}
/* Clear the compass and use the space underneath the right menu edge. */
.compass{display:none!important}
.playing header .clock .summit-hud{right:-58px}
@media(max-width:700px){.playing header .clock .summit-hud{right:-42px;width:158px}}

header .clock .progress #nextStop{word-break:keep-all;overflow-wrap:normal;line-height:1.5}header .clock .progress #walked,header .clock .progress #altitude{word-break:keep-all;overflow-wrap:normal}
/* Hiking clubs: a scrollable notebook, never an overlay on walking controls */
.club-dialog{width:min(94vw,620px);max-height:88dvh;padding:22px;color:#244a3d;background:#f5f2e7;border:1px solid #c2cab9;border-radius:22px;overflow:auto}
.club-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.club-heading h2{margin:0;font-size:24px}.club-dialog p{line-height:1.65}.club-dialog label{display:grid;gap:8px;margin:14px 0;font-size:14px;font-weight:600}.club-dialog input,.club-dialog textarea,.club-dialog select{box-sizing:border-box;width:100%;min-width:0;padding:12px;border:1px solid #bec9b9;border-radius:10px;background:#fff;color:#254b3e;font:inherit;font-size:16px}.club-dialog button{padding:11px 14px;border-radius:12px;margin:5px 4px 5px 0;min-height:44px}.club-tabs{display:flex;flex-wrap:wrap;gap:4px}.club-tabs [aria-pressed=true]{background:#254c3f;color:white}.club-card{border:1px solid #cbd3c4;border-radius:14px;padding:14px;margin:12px 0}.club-card h3{margin:0}.club-card small{display:block;margin:8px 0}.club-title{font-weight:700;font-size:20px}.club-messages{height:min(38dvh,300px);overflow:auto;padding:10px;background:#e8edde;border-radius:12px;overflow-wrap:anywhere}.club-messages p{margin:8px 0}.club-photo{width:100%;height:auto;border-radius:12px}.club-busy button{pointer-events:none;opacity:.6}.club-permit-art{display:grid;place-content:center;background:#e7d2a3;color:#344f3f;aspect-ratio:1.5;border:5px double #a18b5a;border-radius:12px;font-size:24px;letter-spacing:3px}.club-dialog a{display:block;padding:12px;color:#254c3f}
.club-dialog{font-size:15px}.club-dialog p,.club-dialog small{font-size:14px}.club-dialog button{width:auto;font-size:14px;background:#edf0e5;color:#244a3d;border:1px solid #bdc9b8}.club-heading{margin-bottom:18px}.club-heading h2{white-space:nowrap}.club-heading button{margin-left:auto;flex:0 0 auto}.club-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.club-tabs button{width:100%;margin:0}.club-card b{display:block;margin-bottom:8px}.club-dialog form>button{background:#2d5444;color:#fff;width:100%}.club-dialog .club-title{font-size:20px}.club-dialog .club-messages p{font-size:15px}
/* Every modal keeps its close button in a non-scrolling header */
dialog.fixed-close-dialog{padding:0!important;overflow:hidden!important;max-height:min(88dvh,calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px))!important}
dialog.fixed-close-dialog[open]{display:flex;flex-direction:column}
.dialog-close-bar{flex:0 0 auto;display:flex;justify-content:flex-end;align-items:center;padding:8px 12px;background:#f1f0e7;border-bottom:1px solid #d7ddcf;z-index:2}
dialog .dialog-close-bar>.dialog-close-button{position:static!important;float:none!important;inset:auto!important;transform:none!important;width:44px!important;min-width:44px;min-height:44px;height:44px;margin:0!important;padding:0!important;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#365544;touch-action:manipulation;opacity:1!important;pointer-events:auto!important}
.dialog-close-icon{display:grid;place-items:center;width:27px;height:27px;border:1px solid #c2cdbc;border-radius:50%;background:#e7ecdf;font:500 20px/1 system-ui}
dialog .dialog-close-bar>.dialog-close-button:focus-visible{outline:none}
.dialog-close-button:focus-visible .dialog-close-icon{outline:2px solid #52715e;outline-offset:2px}
.dialog-close-button:active .dialog-close-icon{background:#d5dfcd}
.dialog-scroll-content{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:18px 24px 26px;scroll-padding:12px}
.dialog-scroll-content>small{display:block;text-align:center}
.club-dialog .club-heading{margin-bottom:12px}.club-dialog .club-heading h2{margin-top:0}
@media(max-width:480px){.dialog-scroll-content{padding:14px 18px 22px}.dialog-close-bar{padding:6px 10px}}
@media(max-height:500px) and (orientation:landscape){.dialog-close-bar{padding:4px 10px}.dialog-scroll-content{padding-top:12px}}
/* Portable chair control follows the compact left-side tools. */
#packChair{font-size:12px!important;min-height:48px;padding:9px 12px!important;max-width:125px;white-space:normal}
#packChair{grid-column:1/-1;width:112px;height:auto;border-radius:18px;line-height:1.35}
#animalFoodDialog{max-width:420px}#animalFoodDialog .feed-options{display:grid;gap:12px;margin:20px 0}#animalFoodDialog .feed-options button{min-height:58px;font-size:16px}#animalFoodDialog small{font-size:12px;line-height:1.6;color:#64756a}
.tent-card img{height:auto;aspect-ratio:1;object-fit:contain;background:#f3f0e8;border-radius:12px}.tent-card .permit-photo-button{display:block;width:100%;padding:0;margin:0;border:0;background:transparent;min-height:0;border-radius:12px}.permit-photo-button:focus-visible{outline:3px solid #557968;outline-offset:3px}#permitInfoDialog{max-width:460px}#permitInfoDialog img{display:block;width:100%;max-height:220px;object-fit:contain;border-radius:14px;background:#f3f0e8}#permitInfoDialog dl{margin:20px 0}#permitInfoDialog dt{font-weight:700;margin-top:18px;color:#244a3a}#permitInfoDialog dd{margin:6px 0 0;font-size:14px;line-height:1.75;color:#53665a}#permitInfoDialog p{line-height:1.7}
.snack-product-photo{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:12px;margin-bottom:10px;background:#f3f0e8}.meal-choice:has(.snack-product-photo){padding:12px;font-size:14px;font-weight:600;text-align:center}

.meal-age-notice{display:block;margin:9px 0 5px;color:#973c30;font-size:13px;line-height:1.5}.meal-choice>small{display:block;margin-top:6px;line-height:1.6;font-size:12px}

#mealList .menu-section{grid-column:1/-1;margin:12px 0 0;font-size:15px;color:#294936}.shop-seat-note{font-size:13px;color:#4b6555;margin:10px 0}
.meal-choice.meal-set{grid-column:auto;background:#f6efdd;border:1px solid #b8995c}.meal-choice.meal-set img{width:100%;height:auto;aspect-ratio:1;max-height:none;object-fit:cover}.meal-choice:has(.snack-product-photo),.meal-choice:has(.ramen-art){display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
#trailFacility,#gatherPlant,#enterWashroom{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 7.8rem);transform:translateX(-50%);z-index:8;min-height:44px;padding:.45rem .9rem;border-radius:2rem;border:1px solid #dac69e;background:#23463c;color:#fff6df;font-weight:700;white-space:nowrap}

#gatherPlant{bottom:calc(env(safe-area-inset-bottom,0px) + 10.8rem);background:#485735}
.plant-bag ul{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:0;list-style:none}.plant-bag li{border-radius:8px;background:#eef0e8;padding:6px 9px;color:#616556;font-size:.85rem}.plant-bag .collected{background:#deeacb;color:#32492c;font-weight:650}

#openInventory{pointer-events:auto;display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:4px 9px;border:1px solid #e5d6b66e;border-radius:16px;color:#fff3da;background:#234438e8;font:600 11px system-ui;touch-action:manipulation}
#openInventory svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.6;fill:none}
#inventoryDialog{width:min(440px,94vw);color:#2e3c32;background:#f5f0e5}
#inventoryDialog h2{margin:2px 0 4px}#inventoryStatus{font-size:.86rem;min-height:1.3em;margin:0 0 12px;color:#536254}
#inventoryGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;list-style:none;margin:0;padding:0}
#inventoryGrid li{min-width:0;min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 2px;border-radius:10px;border:1px solid #d7cbb6;background:#fffaf0;color:#354238}
#inventoryGrid li.empty{background:#ece7db;border-color:#e2dbcb}
#inventoryGrid li b{font-size:11px;line-height:1.15;word-break:keep-all;text-align:center}#inventoryGrid li small{font-size:11px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:center}
#inventoryGrid img{height:30px;width:38px;object-fit:cover;border-radius:5px}
.inv-art{color:#96705a;height:29px;display:grid;place-items:center}.inv-art svg{height:29px}
.inv-oyster{color:#93968d}.inv-chanterelle{color:#daa63d}.inv-ear{color:#825245}.inv-coral{color:#cf9770}.inv-ginseng{color:#cfa77a}.inv-wild_ginseng{color:#c6a053}
@media(max-width:380px){#inventoryGrid{gap:4px}#inventoryGrid li{min-height:69px}#inventoryGrid li b{font-size:10px}}
@keyframes inventory-open{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){#inventoryDialog[open]{animation:inventory-open .14s ease-out}}
.ranking-switch{display:flex;gap:4px;margin:8px 0 14px;padding:3px;border-radius:12px;background:#e4e8db}
.ranking-switch button{flex:1;min-height:42px;border:0;border-radius:9px;background:transparent;color:#425349;font-weight:650}
.ranking-switch button[aria-pressed=true]{background:#315540;color:#fff9e8}
#rankingPages{display:flex;align-items:center;justify-content:space-between;gap:8px}#rankingPages button{width:auto}

#enterWashroom{background:#35554e}
#washroomDialog{width:min(350px,92vw);background:#faf7ed;color:#263c32}
.washroom-plaque{display:inline-flex;align-items:center;gap:10px;padding:6px 12px;border:1px solid #b9c8b5;border-radius:5px;background:#e3e9de;color:#3b5949;font-size:.8rem}
.washroom-plaque span{padding-right:10px;border-right:1px solid #aab8a8}
#washroomTitle{margin:14px 0 6px}#washroomStatus{min-height:2.5em;color:#4b6053;line-height:1.5}
#washroomChoices{display:grid;grid-template-columns:1fr 1fr;gap:8px}#washroomChoices button{min-height:48px;border:1px solid #acbbaa;border-radius:10px;color:#244b39;background:#e1e9dc;font-weight:700}
#washroomDialog.washroom-in-use::backdrop{background:#24392fe8}

#enterWashroom small{font-size:.73rem;margin-left:.25rem;padding-left:.45rem;border-left:1px solid #a4b4a9}

.inv-hint{margin:.15rem 0 .65rem;color:#586952;font-size:.77rem}
#inventoryGrid li:has(.inv-pole){padding:0}
.inv-pole{background:transparent;color:inherit;border:0;width:100%;height:100%;min-height:74px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:5px 2px;cursor:pointer}
#inventoryGrid li.equipped{border-color:#597d52;background:#e6eddb}.inv-pole_pine{color:#9a733c}.inv-pole_frost{color:#6197a5}.inv-pole_ridge{color:#485767}

#mealList .meal-set-info{grid-column:1/-1;background:#f5eedb;border-left:3px solid #b8995c;border-radius:6px;margin:0;padding:8px 11px;color:#48533f;font-size:11px;line-height:1.5}
.meal-set-info b,.meal-set-info strong,.meal-set-info span{display:block}.meal-set-info strong{color:#884735}

#mealList .pole-shop-card{grid-column:1/-1;display:grid;grid-template-columns:clamp(48px,14vw,76px) 1fr auto;align-items:center;gap:10px;text-align:left}
.pole-shop-card svg{display:block;width:100%;background:#e7eada;border-radius:9px}.pole-shop-card h3{margin:0 0 3px}.pole-shop-card button{width:auto}

#photoDialog{max-height:90dvh;overflow:auto}#photoImage{max-height:55dvh;object-fit:contain;user-select:auto;-webkit-touch-callout:default}#photoDialog [hidden]{display:none}#photoDialog .download,#sharePhoto{padding:10px;margin-top:6px}#trailPhotoStatus{font-size:13px}

#rangerWarning{position:fixed;z-index:8;top:24%;left:50%;transform:translateX(-50%);width:min(84vw,330px);padding:12px 16px;background:#faf3dc;color:#304938;border:1px solid #9da783;border-radius:15px;box-shadow:0 4px 20px #243c3835;pointer-events:none}#rangerWarning header{position:static;display:flex;justify-content:space-between;padding:0;background:none;color:inherit}#rangerWarning p{font-size:14px;line-height:1.55;margin:7px 0 0}#rangerWarning span{font-size:12px}#rangerWarning[hidden]{display:none}

.harvest-market{grid-column:1/-1;background:#fffdf5;border:1px solid #c8d1b9;border-radius:15px;padding:16px;color:#304c3c}
.harvest-market h3{margin:0 0 12px}.harvest-market label{display:grid;gap:5px;font-size:13px;font-weight:600}
.harvest-market select,.harvest-market input{min-width:0;font:inherit;color:#294536;background:white;border:1px solid #aebeaa;border-radius:8px;padding:9px}
.harvest-market .sale-quantity{display:flex;align-items:center;gap:7px;margin:12px 0}.sale-quantity input{width:5em;text-align:center}.harvest-market button{min-height:40px;padding:6px 11px}
.harvest-market .sell-submit{width:100%;background:#365c47;color:white;border-radius:10px}.harvest-market .sell-submit:disabled{opacity:.55}
.harvest-market .secondary{margin-top:9px}.harvest-market .sale-result{border-left:3px solid #b48948;background:#f6efd8;padding:8px 12px}
.harvest-market details{border-top:1px solid #d7dfcb;margin-top:14px;padding-top:12px;font-size:13px}.harvest-market dl{display:grid;grid-template-columns:1fr auto;gap:5px;margin-bottom:0}.harvest-market dd{margin:0}

.hiker-name{text-align:center}.hiker-club{display:block;margin-bottom:2px;color:#ffedb5;font-size:10px;font-weight:650;text-shadow:0 1px 3px #16271e,0 0 2px #16271e}.hiker-club[hidden]{display:none}.hiker-speech{text-align:left}

[data-club-mark]:not([data-club-mark=""])::before{content:'';display:inline-block;width:1.2em;height:1.2em;margin-right:.25em;vertical-align:-.18em;background:var(--club-mark) center/contain no-repeat}
.club-logo-upload{display:grid;gap:8px}.club-logo-upload img{width:52px;height:52px;object-fit:contain;background:#ecefe7;border-radius:6px}.club-logo-upload img[hidden]{display:none}.club-mark-settings summary{cursor:pointer}

#plantHint{position:fixed;top:0;left:0;pointer-events:none;z-index:2;padding:2px 6px;border-radius:8px;background:#263d31da;color:#fff4ce;font:600 11px/1.4 system-ui;white-space:nowrap}#plantHint::after{content:'';position:absolute;left:50%;bottom:-3px;margin-left:-3px;border:3px solid transparent;border-bottom:0;border-top-color:#263d31da}#plantHint[hidden]{display:none}

.gear-categories{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;border-radius:12px;background:#dfe6d8}
.gear-categories button{min-height:38px;border:0;background:none;color:#415746;font-size:clamp(11px,3vw,14px);border-radius:8px;padding:5px 2px}.gear-categories button[aria-pressed=true]{background:#fffdf6;color:#244635;box-shadow:0 1px 4px #29433226;font-weight:700}
#mealList .gear-product{grid-column:1/-1;display:grid;grid-template-columns:clamp(62px,17vw,88px) minmax(0,1fr);gap:6px 12px;padding:10px 12px;text-align:left;align-items:center;background:#fafbf4;border:1px solid #cbd4c4;border-radius:12px}
#mealList .gear-product>:first-child{grid-column:1;grid-row:1/3;align-self:center;width:100%;margin:0}#mealList .gear-product img,#mealList .gear-product svg{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:8px}
.gear-copy,.gear-actions{grid-column:2;min-width:0}.gear-copy h3,.gear-copy small,.gear-copy p{margin:0;line-height:1.45}.gear-copy h3{font-size:15px}.gear-copy p{color:#546b59;font-size:12px}.gear-copy small{color:#395840;font-weight:650}.gear-actions{display:flex;gap:5px;flex-wrap:wrap}#mealList .gear-actions button{width:auto;margin:0;padding:5px 10px;min-height:32px;font-size:12px}

.supply-buy-options{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto}.supply-buy-options button{flex:1 0 auto;min-height:38px;border:1px solid #b7c4b4;border-radius:8px;padding:6px;background:#f5f7ef;color:#264833;font-weight:650}.supply-buy-options button:disabled{opacity:.48}
.mountain-census{border:1px solid #c8d4c2;border-radius:12px;background:#fafbf4;color:#2e4939;padding:12px;margin:8px 0 14px}
.mountain-census b{font-size:13px}.mountain-census ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin:8px 0 0;padding:0;list-style:none}
.mountain-census li{display:flex;justify-content:space-between;gap:6px;padding:4px 6px;font-size:12px}.mountain-census li.current{border-radius:5px;background:#e4eddb}.mountain-census strong{font-variant-numeric:tabular-nums}
.online-info #onlineStatus{position:static;width:auto;height:auto;border:1px solid #ffffff42;border-radius:8px;min-height:30px;padding:4px 8px;background:#284938d9;color:#fff9e8;font-size:11px;pointer-events:auto;cursor:pointer}

#mealList .grill-choice{grid-column:1/-1;display:grid;grid-template-columns:minmax(105px,38%) 1fr;align-content:center;align-items:center;gap:7px 12px;text-align:left;background:#f7ecdc;border:1px solid #b78e63}
#mealList .grill-choice img{grid-column:1;grid-row:1/3;width:100%;margin:0;object-fit:cover}#mealList .grill-choice small{grid-column:2;margin:0;font-size:12px;line-height:1.5}

#nearSupper{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 8.5rem);transform:translateX(-50%);border:1px solid #d3ae7e;background:#543a2b;color:#fff6e7;border-radius:2rem;padding:10px 14px;min-height:42px;font-weight:650;white-space:nowrap}#nearSupper[hidden]{display:none}
#supperDialog label{display:grid;gap:6px}#supperDialog select,#joinSupper{width:100%;padding:10px;border-radius:9px}#joinSupper{background:#34533e;color:white}

#journal .dialog-close-bar{padding:3px 14px}
#journal .dialog-close-bar:before{content:'등산 수첩';margin-right:auto;color:#455f51;font-size:14px;font-weight:650}

#journal .eyebrow{display:none}
#journal h2{margin:6px 0 10px;font-size:clamp(22px,6vw,30px)}
#journal .stats{margin:0;padding:12px 0 14px;border-top:0}
#journalActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 0 15px}
#journalActions button{margin:0;min-height:44px;padding:8px;background:#e5eadf;color:#304f40;border:1px solid #ccd6c8}
#journalActions #openJournalInventory{background:#315644;color:#fff;border-color:#315644}
.journal-fold{border-top:1px solid #d1d8cd}
.journal-fold summary{display:flex;align-items:center;justify-content:space-between;min-height:46px;cursor:pointer;list-style:none;color:#2d493a;font-size:15px;font-weight:600}
.journal-fold summary::-webkit-details-marker{display:none}
.journal-fold summary:after{content:'+';color:#657960;font-size:19px}
.journal-fold[open] summary:after{content:'−'}
.journal-fold-body{padding-bottom:12px}
#journal .journal-fold-body>.muted:first-child{margin-top:0}

#nearCucumber{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 13.75rem);transform:translateX(-50%);border:1px solid #abc6a0;background:#365b42;color:#fff8e9;border-radius:2rem;box-sizing:border-box;width:78px;height:44px;padding:3px 2px;white-space:pre-line;font-size:12px;line-height:16px;text-align:center;font-weight:650}
@media(max-width:360px) and (orientation:portrait){#nearCucumber{left:max(50%,calc(env(safe-area-inset-left,0px) + 174px))}}
@media(max-height:500px) and (orientation:landscape){#nearCucumber{bottom:calc(env(safe-area-inset-bottom,0px) + 3.5rem)}}
#nearCucumber[hidden]{display:none}
#cucumberDialog{max-width:min(350px,92vw)}
#cucumberDialog h2{margin-bottom:.5rem}

#entryPopulationTotal{width:100%;min-height:44px;margin:.4rem 0 .8rem;border:1px solid #c8d4c2;border-radius:10px;background:#fafbf4;color:#2e4939;font-size:14px}
.trail-view-tools{display:flex;align-items:center;justify-content:flex-end;column-gap:20px}
.trail-view-tools > button{flex:none}
.trail-view-tools #center{min-width:44px;min-height:44px}
@media(pointer:coarse),(max-width:700px){.trail-view-tools{column-gap:24px;margin-bottom:4px}}
#trailLantern{display:grid;justify-items:center;align-content:center;gap:1px;width:44px;height:44px;border:1px solid #ffffff60;border-radius:50%;color:#f2f0df;background:#173d32bc;touch-action:manipulation}
#trailLantern[aria-pressed=true]{color:#fff0ac;border-color:#e7c47f;background:#60512be8}
#trailLantern svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}
#trailLantern small{font-size:9px;line-height:10px}

@media (max-width:700px) and (orientation:portrait){
 .online-info{max-width:calc(100vw - 195px - env(safe-area-inset-left) - env(safe-area-inset-right));grid-template-columns:minmax(0,auto) auto}
 .online-info #onlineStatus{min-width:0;white-space:normal;word-break:keep-all}
 #openInventory{justify-self:start;white-space:nowrap}
}
.gear-styles.outfit-gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,106px),1fr));gap:8px}
.outfit-gallery .outfit-card{position:relative;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;padding:0 0 9px;gap:0;text-align:left;white-space:normal;line-height:1.35}
.outfit-card img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;background:#eeeee6}
.outfit-card .outfit-name{margin:7px 7px 0;font-size:12px;font-weight:700;word-break:keep-all}
.outfit-card small{margin:3px 7px 0;font-size:10px;line-height:1.35;word-break:keep-all}
.outfit-gallery .outfit-card.selected{border-color:#315b45;box-shadow:0 0 0 1px #315b45}
.outfit-card.selected:after{content:'✓';position:absolute;top:6px;right:6px;display:grid;place-items:center;width:18px;height:18px;background:#315b45;color:white;border:1px solid #fff;border-radius:50%;font-size:12px;font-weight:700}
.outfit-card:focus-visible{outline:3px solid #486b9c;outline-offset:2px}

#noticeArea{position:fixed;inset:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));pointer-events:none;z-index:30}
#noticeArea #toast{position:absolute;bottom:auto;transform:none;transition:opacity .15s;max-width:100%;padding:7px 11px;font-size:12px;line-height:1.45;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;text-align:center}

.metal-pick{position:fixed;z-index:8;left:50%;top:58%;transform:translateX(-50%);max-width:45vw;padding:.55rem .85rem;border-radius:2rem;color:#fff5d5;background:#273f36ed;border:1px solid #b8ab7b;font:inherit;touch-action:manipulation}
.metal-pick[hidden]{display:none}

#openInquiry{pointer-events:auto;align-self:flex-end;background:#284a40;color:#fff6dd;border:1px solid #b2c5aa80;border-radius:12px;padding:5px 8px;font:inherit;font-size:11px;line-height:1.35}
#inquiryDialog{width:min(88vw,400px)}#inquiryDialog textarea{display:block;box-sizing:border-box;width:100%;margin:6px 0;padding:10px;font-size:16px;border-radius:8px;user-select:text}#inquiryList article{padding:10px 0;border-top:1px solid #abb7a5}#inquiryList p{white-space:pre-wrap;overflow-wrap:anywhere}

#markerOptions[hidden],#markerShot[hidden],#markerFlagPreview[hidden]{display:none}
.portrait-upload{display:grid;gap:8px;font-weight:600}.portrait-upload input{max-width:100%}
#markerFlagPreview{display:block;width:min(100%,220px);height:auto;margin:12px auto}
#markerOptions button{display:block;width:100%;margin:8px 0}

#coinMeter{align-self:flex-end;display:grid;grid-template-columns:auto auto;gap:2px 5px;align-items:center;max-width:100%;box-sizing:border-box;padding:3px 6px;border-radius:9px;background:#193d32e8;color:#fff3cc;font:inherit;font-size:9.5px;line-height:1.25;font-variant-numeric:tabular-nums;position:relative;border:0;pointer-events:auto;cursor:pointer}
#coinMeter[hidden]{display:none}#coinMeter span,#coinMeter b{font-size:inherit;color:inherit}#coinMeter b{font-weight:500}
#coinMeter i{grid-column:1/-1;width:100%;height:2px;overflow:hidden;border-radius:2px;background:#ffffff35}
#coinFill{display:block;height:100%;background:#dec286}#coinMeter.earned{background:#655125;color:#fff3b7}

#coinMeter::after{content:"";position:absolute;inset:-2px 0 auto;height:max(44px,100%)}
#coinHelp{width:min(82vw,330px)}#coinHelp p{line-height:1.55}

#hairSection>label{display:block;margin:12px 0 7px;font-size:12px;font-weight:500;color:#697a68}

#scatterSpiritGifts{display:grid;place-content:center;justify-items:center;gap:1px;min-width:64px;min-height:44px;padding:3px 7px;border:1px solid #e2cc9e;border-radius:14px;background:#304b47ed;color:#fff0ce;touch-action:manipulation}
#scatterSpiritGifts svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#scatterSpiritGifts small{font-size:10px;white-space:nowrap}
#scatterSpiritGifts:disabled{opacity:.55}
#spiritGiftHint{position:fixed;top:0;left:0;pointer-events:auto;touch-action:manipulation;border:0;padding:6px 9px;border-radius:8px;background:#38463cf0;color:#fff0c9;font:600 11px/1.4 system-ui;white-space:nowrap;z-index:3}
#scatterSpiritGifts[hidden],#spiritGiftHint[hidden]{display:none}
