/* Everpatch: the world comes first. Navigation lives in the traveller's kit. */
:root{--game-gold:#dfc58d;--game-white:#fff4d8;--game-shadow:0 2px 3px #101e1de6,0 0 12px #101e1d99;--game-title:Georgia,'Times New Roman',serif}
.game-ui .player-hud{width:70px;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none;transform:none;top:var(--ui-top);left:var(--ui-left)}
.player-hud .brand.glass{padding:0;min-height:0;gap:0;border:0;background:none;box-shadow:none}
.player-hud .brand .crest{width:64px;height:64px;border:2px solid #d6bc83;background:conic-gradient(from 225deg,#ead89c var(--xp-angle,0deg),#29372b 0);box-shadow:0 0 0 3px #27342f99,0 3px 8px #12251c66}
.player-hud .brand .crest:before{inset:4px;background:#324737;border:1px solid #d9c39655}
.player-hud .crest img{inset:5px;width:calc(100% - 10px);height:calc(100% - 10px);transform:none}
.player-hud .brand-copy{position:absolute;inset:0;padding:0;pointer-events:none;filter:none}
.player-hud .brand strong,.player-hud .xp-caption,.player-hud .brand .meter{display:none}
.player-hud .rank-line{display:block;position:absolute;top:56px;left:0;width:64px;text-align:center;color:var(--game-white);font-size:14px;text-shadow:var(--game-shadow)}
.player-hud #hudLevel{display:inline}.player-hud .rank-line>span:last-child{display:none}
.game-ui .resource-cluster{background:none;border:0;box-shadow:none;backdrop-filter:none;padding:0;gap:14px;filter:drop-shadow(0 2px 3px #15251a)}
.resource-cluster .harvest,.resource-cluster .tomato-balance{padding:4px 0;gap:6px;border:0;color:var(--game-white)}
.resource-cluster .harvest>span:first-child,.resource-cluster .harvest-label{color:#e6d3a0}.resource-cluster strong{font-size:20px}.resource-cluster .harvest-label{display:none}
.location{pointer-events:none}.location h2{font-family:var(--game-title);font-weight:400;font-size:26px;letter-spacing:.04em;text-shadow:var(--game-shadow)}.location .eyebrow{display:none}
#miniMap{border:2px solid #d7c08b99;box-shadow:0 0 0 3px #23382e66,0 3px 14px #1a2c1c55;width:140px;height:140px;opacity:.88}
.action-hud{width:auto;max-width:280px;gap:10px;background:none;border:0;box-shadow:none;padding:0;align-items:flex-end}
.hud-menu>summary{width:52px;height:52px;border:1px solid #d9c18a88;border-radius:50%;background:#26392dd9;color:var(--game-white);box-shadow:0 3px 8px #172b2766,inset 0 0 0 3px #c9b98419}
.hud-menu>summary .hud-icon{width:27px;height:27px}.hud-menu[open]>summary{background:#536046}
.action-hud .focus-dock.glass{width:auto;min-width:140px;padding:0;gap:0;background:none;border:0;box-shadow:none;backdrop-filter:none}
.action-hud .dock-copy{display:none}.action-hud .dock-buttons .primary{min-height:44px;width:auto;padding:8px 17px;border:1px solid #e6ce9b77;border-radius:3px;background:#20352cd9;color:var(--game-white);box-shadow:0 2px 6px #12251a55;font-size:16px;font-weight:500;text-align:center}
.action-hud .dock-buttons .primary:after{display:none}.action-hud .dock-buttons .primary:hover{background:#3a503b;box-shadow:0 0 0 1px #e6ce9b}
.action-hud .dock-progress{left:0;right:0;bottom:-3px;height:2px}.dock-progress i{background:#e2c687}
.hud-menu-panel{width:280px;background:#23372cf5;color:#f4e7c6;border:1px solid #bdab7988;border-radius:5px;padding:18px;box-shadow:0 8px 25px #11221a66}
.action-hud .hud-menu-panel .quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;border:0;padding:0 0 14px}
.action-hud .hud-menu-panel .quick-actions button{background:none;color:#f4e7c6;border:0;border-radius:0;min-height:64px;padding:4px;gap:5px;font-size:14px}
.action-hud .hud-menu-panel .quick-actions button:hover{background:#d7c18a20;transform:none}.hud-menu-panel .daily-tasks{color:#f4e7c6;background:none;border-top:1px solid #d7c18a44;padding-top:10px}.hud-menu-panel .daily-tasks :is(header strong,button,small,p,.task-total){color:#f4e7c6}.hud-menu-panel .daily-task[aria-pressed=true]{background:#d7c18a22}.hud-menu-panel .action-footer{border-color:#d7c18a44}.hud-menu-panel .action-footer :is(button,kbd){color:#ead5a5!important}
/* A world-space affordance, not a tutorial window. */
.camp-objective{position:fixed;bottom:auto;right:auto;top:50%;left:50%;transform:translate(-50%,-100%);width:220px;padding:0;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;text-align:center;pointer-events:none;color:var(--game-white);z-index:12;text-shadow:var(--game-shadow)}
.camp-objective>.eyebrow,.camp-objective>p{display:none}.camp-objective strong{font:400 19px/1.3 var(--game-title);margin:0 0 5px;color:var(--game-white)}
.camp-objective button{pointer-events:auto;min-height:44px;padding:7px 13px;border:1px solid #e8d8aa88;border-radius:3px;background:#172c24de;color:#fff1cd;box-shadow:0 2px 5px #14251f55;font:500 15px/1.3 var(--ui-font);text-shadow:none}
.camp-objective button:hover{background:#475d3a}.camp-objective:after{content:'';display:block;width:1px;height:22px;background:linear-gradient(#ebd39a99,transparent);margin:2px auto 0}.camp-objective.offscreen:after{display:none}
.camp-objective small{position:fixed;top:calc(100% + 28px);left:50%;transform:translateX(-50%);width:260px;margin:0;font-size:14px;color:#fff3d4;pointer-events:none}
.camp-objective[data-phase=lit] strong{font-size:28px}.camp-objective[data-phase=lit] p{display:block;font-size:14px}.camp-objective[data-phase=lit]:after{display:none}
.first-clearing .player-hud{transform:none}.first-clearing .rank-line{display:none}
/* Paper for writing; dark, recessed slots for belongings. */
dialog:not(.zen-dialog),#shopModal{border:1px solid #a9905d;border-radius:5px;box-shadow:0 18px 75px #0d211980,inset 0 0 0 5px #b49a5a26;background:#e9ddb9;color:#383d2c}
dialog:not(.zen-dialog)::backdrop{background:#14281c4d;backdrop-filter:blur(2px)}
dialog :is(.dialog-head h2,.adventure-head h2,h3),.shop-header h2{font-family:var(--game-title);font-weight:400;letter-spacing:.01em}
dialog .dialog-head{border-bottom:1px solid #88794c44;padding-bottom:15px}dialog .eyebrow{letter-spacing:.12em;color:#696549}
dialog :is(.primary,.secondary){border-radius:3px;min-height:44px;box-shadow:none}dialog .primary{background:#3c5235;border-color:#657246;color:#fff2cd}dialog .primary:hover:not(:disabled){background:#506740}
dialog .secondary{background:#d4c8a5;border-color:#948762;color:#39432d}
dialog :is(input,textarea,select){border:0;border-bottom:1px solid #8e835d;border-radius:0;background:#fff7dc55;color:#343d2c;box-shadow:none}
.journal-tabs,.adventure-tabs{gap:14px;border-bottom:1px solid #8e835d55}.journal-tabs button,.adventure-tabs button,.duration-presets button{border-radius:0;background:none;border:0;border-bottom:2px solid transparent;font-size:16px}
.journal-tabs button[aria-selected=true],.adventure-tabs button[aria-current=page],.duration-presets button[aria-pressed=true]{background:#827b4020;border-color:#647444;color:#37482d}
.journal-summary{background:none;border-radius:0}.journal-xp-help{display:none}.quest-card,.quest-row,.request,.restoration-card{border-radius:0;box-shadow:none;background:transparent;border-width:0 0 1px;border-color:#8e835d55}
#journalModal{background:linear-gradient(90deg,#c4b58c 0, #e9ddb9 12px,#eee2be 50%,#e5d8b2 100%);padding-left:30px}.sheet-handle{display:none}
#focusModal{background:#20362eef;color:#fff0ce;border-color:#cebb8699;box-shadow:0 12px 65px #0c211866}#focusModal :is(h2,.eyebrow,.focus-copy,.text-button,.timer-caption){color:#eee0b9}#focusModal h2{font-family:var(--game-title);font-weight:400}.timer-ring{background:none;border:1px solid #cfbc7b77;box-shadow:none}.timer-ring>div{background:transparent}.timer{font-family:var(--game-title);font-weight:400;color:#fff1cf}.focus-recovery{border:0;background:none;border-radius:0;color:#e2d5ad}.focus-recovery small{color:#bdbb94}
#rewardModal{background:radial-gradient(ellipse at top,#44553bf5,#1e352ff5);color:#fff0ca;border:1px solid #ddc89488;text-align:center}#rewardModal :is(h2,p,.eyebrow,.text-button){color:#fff0ca}#rewardModal h2{font-family:var(--game-title);font-size:32px}.earned,.reward-recovery{background:transparent;border-radius:0;border-color:#d6bd7e55;color:#ead9ae}
.adventure-modal .knight-preview{background:radial-gradient(ellipse at 50% 70%,#526247,#23352c);border:1px solid #ad986655;border-radius:2px;color:#f1e3bc}.knight-preview :is(.preview-name,.preview-turn,.preview-mode){color:#eee0b9}
.equipment-slots button,.item-card,.shop-card{border-radius:2px;box-shadow:inset 0 0 12px #152c1a33;background:#344332;color:#f3e3bc;border:1px solid #ad986677}.item-card small,.shop-card-price{color:#d1c8a6}.item-card[aria-pressed=true],.shop-card[aria-pressed=true]{background:#4d5c3e;border-color:#e2c784;box-shadow:inset 0 0 0 1px #d7bd7f}.item-card.locked{background:#b6b295}.item-seal,.shop-card-art{border-radius:0;background:#1b302744}.item-detail,.shop-detail,.shop-showcase,.map-paper,.map-paper canvas{border-radius:2px}.shop-header{background:#263a2d;border-bottom:2px solid #ad9866}.shop-toolbar,.shop-footer{border-color:#8e835d44}.shop-category{border-radius:0}.shop-category[aria-pressed=true]{background:none;border-bottom:2px solid #586f3b}.shop-detail{background:#d9cda9}.shop-showcase{background:radial-gradient(#f0e4bf,#c4b78f);box-shadow:none}#shopBalance{border:0;background:none;border-radius:0}.shop-purchase .primary{border-radius:3px;background:#3c5235;border-color:#657246;box-shadow:none}
.world-menu{background:#25392eed;color:#f3e4bf;border:1px solid #c4ae7988;border-radius:4px;box-shadow:0 8px 20px #12251a55}.world-menu :is(button,.menu-heading,.menu-heading span,kbd){color:#f3e4bf}.world-menu button:hover{background:#d1bd8122}
.speech-bubble{border-radius:5px;background:#eee0bddf;border:1px solid #d8bd7b;box-shadow:0 8px 25px #13251f55}.speech-name{color:#4f5937;font-family:var(--game-title);font-size:19px}.speech-choices button{border-radius:2px}.toast{border-radius:2px;background:#25392eee;color:#f9e8bd;border:1px solid #bca56e66;box-shadow:0 3px 12px #12251a44}
@media(max-width:760px){
 .player-hud .brand .crest{width:50px;height:50px}.player-hud .rank-line{top:45px;width:50px}.game-ui .player-hud{width:54px}.resource-cluster strong{font-size:18px}
 .location{top:calc(var(--ui-top) + 72px);left:var(--ui-left)}.location h2{font-size:21px}
 #miniMap{width:108px;height:108px;border-width:2px}.action-hud{width:auto;max-width:calc(100% - 146px)}.action-hud .focus-dock.glass{width:auto;padding:0}.action-hud .dock-buttons .primary{font-size:15px;padding:8px 12px}
 .hud-menu-panel{width:280px;max-height:calc(var(--screen-height) - 160px)}
 .camp-objective{width:220px;padding:0;bottom:auto}.camp-objective strong{font-size:18px}.camp-objective small{font-size:14px}
 #journalModal{border-radius:4px;height:auto;min-height:min(540px,var(--sheet-height));padding-left:24px}#shopModal{border-radius:4px}.adventure-modal{padding:18px 14px}.shop-card strong{font-size:14px}.shop-detail-copy p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.camp-objective,.hud-menu-panel{animation:none;transition:none}}
.hud-menu-panel .chapter-pocket{border-color:#ddc89244}.hud-menu-panel .chapter-pocket :is(span,small){color:#d8c898}
#addModal .field input{border:0;border-bottom:1px solid #8e835d;border-radius:0;background:#fff7dc55;box-shadow:none;color:#343d2c}#addModal .custom-duration input{border-radius:2px}
#journalModal .empty.quest-empty{background:none;border:0;border-radius:0;padding:24px 8px}.quest-empty .empty-stamp{display:none}.quest-empty h3{margin-top:6px}.quest{border-radius:0;border-bottom:1px solid #8e835d33}.quest.active{background:#78844718;border-color:#78844755}
#journalModal .journal-summary{font-size:14px}.journal-footer small{font-size:13px}
.camp-objective small{width:220px;line-height:1.4}
#focusModal .timer-ring{background:conic-gradient(#e1c987 var(--p),#63735c55 0);border:0;box-shadow:0 0 0 1px #d3be7f55}#focusModal .timer-ring:before{background:#233a30;inset:3px}#focusModal .timer-caption{font-size:14px}#rewardModal .earned :is(strong,span){color:#e7ce93}#focusModal .end-confirm{color:#35432d}
