@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Libre+Caslon+Display&display=swap";:root{font-family:DM Sans,sans-serif;color:#e6e4d9;background:#232b29;font-synthesis:none;font-weight:400;--bg:#232b29;--panel:#2d3632;--line:#535b50;--gold:#d7ba7f;--muted:#b5bcb2;--serif:"Libre Caslon Display",Georgia,serif;color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 35% 0,#38403966,transparent 65%),var(--bg)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:1px solid var(--line);background:#333d36;border-radius:5px}button:disabled{opacity:.42;cursor:not-allowed}button:not(:disabled){transition:background .15s,border-color .15s}button:hover:not(:disabled){border-color:#c7ad77;background-color:#454c3e}button:focus-visible,a:focus-visible{outline:2px solid #ffe1a5;outline-offset:2px}button[hidden]{display:none!important}.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}button.primary,.primary{background:#d5b87d;border-color:#e4cb91;color:#28332d;font-weight:600}button.primary:hover:not(:disabled){background:#e5cc96;border-color:#f0dab1}.eyebrow{font-size:10px;letter-spacing:1px;font-weight:550;line-height:1.4}.gold{color:var(--gold)}#app{height:100dvh;display:grid;grid-template-rows:38px minmax(0,1fr)}.topbar{display:flex;align-items:center;gap:12px;padding:2px 12px;border-bottom:1px solid #717b5a44;background:#252e2be6}.brand{display:flex;align-items:baseline;gap:5px;text-decoration:none;color:#ece4cc;white-space:nowrap;font-family:var(--serif);font-size:29px;line-height:1}.brand i{color:#c8b27c;font-size:.8em}.header-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.icon-button{display:grid;place-items:center;width:29px;height:28px;background:transparent;border-color:transparent;padding:4px;color:#c7c8af}.help-button{display:grid;place-items:center;width:33px;height:28px;background:transparent;border-color:#6c78534d;padding:4px}.help-button span{display:none}.help-button .icon{width:17px;height:17px}main{--story-height:218px;min-height:0;min-width:0;padding:6px 12px;width:100%;max-width:1600px;margin-inline:auto;display:grid;grid-template-rows:86px minmax(0,1fr);gap:6px}.game-layout{height:100%;min-height:0;min-width:0}.world-column{display:grid;height:100%;grid-template-rows:minmax(0,1fr) 22px var(--story-height) 20px;gap:4px;min-height:0;min-width:0}.map-slot{min-width:0;min-height:0}.map-frame{width:100%;height:100%;position:relative;background:#66705e;border:1px solid #a2a181;border-radius:6px;padding:4px;box-shadow:inset 0 0 0 2px #303a32;overflow:hidden}#kingdom-map{position:relative;width:100%;height:100%;border-radius:2px;overflow:hidden;background:#818582}#kingdom-map canvas{display:block;width:100%;height:100%}.map-loading{position:absolute;inset:0;display:grid;place-items:center;font:20px var(--serif);color:#e5e4d5;text-align:center;padding:20px}.legend{position:absolute;bottom:10px;left:11px;display:flex;gap:12px;align-items:center;font-size:10px;color:#e0e0d0;padding:5px 8px;background:#303b34ed;border:1px solid #c7c7aa55;border-radius:4px;pointer-events:none}.legend>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.legend i{width:9px;height:9px;display:inline-block}.legend-village{background:#cfa274;clip-path:polygon(50% 0,100% 40%,85% 40%,85% 100%,15% 100%,15% 40%,0 40%)}.legend-castle{background:#cdd4bb;clip-path:polygon(0 0,30% 0,30% 30%,70% 30%,70% 0,100% 0,100% 100%,0 100%)}.legend-mystery{color:#ead39b;font:14px/9px Georgia,serif}.legend-you{border-radius:50%;border:2px solid #ffe0a0;background:#818c64}.legend-fog{background:#98a09b;clip-path:polygon(50% 0,100% 85%,60% 85%,60% 100%,40% 100%,40% 85%,0 85%)}.map-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;min-height:21px;color:var(--muted);padding:0 2px}.map-meta>span:first-child{display:flex;align-items:center;gap:7px;white-space:nowrap}.map-meta .icon{width:14px;height:14px;color:#c7bf92}.map-meta strong{font-size:12px;font-weight:500;color:#dedccb}#coordinates{font-size:10px;border-left:1px solid #737c62;padding-left:7px}#map-hint{text-align:right;line-height:1.3}.panel{background:linear-gradient(135deg,#303a33,#29322e);border:1px solid #5e675493;border-radius:6px}.panel-label{display:flex;align-items:center;justify-content:space-between;min-height:34px;border-bottom:1px solid #6a73554f;padding:0 12px;color:#c4c7b5;font-size:10px;letter-spacing:1.1px;font-weight:550}.panel-label>span{display:flex;gap:7px;align-items:center}.panel-label .icon{width:14px;height:14px;color:#cbbb8a}.journey-header{gap:12px;padding:3px 12px;min-height:35px}.journey-tools{display:flex;gap:6px}.quiet-button{font-size:12px;padding:5px 8px;display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;min-height:28px}.quiet-button .icon{height:14px;width:14px;color:#d0c79b}.quiet-button small{font-size:10px;color:#bfc5b0}#encounter{min-width:0;min-height:0;display:block;padding:9px 13px 10px}.portrait{display:block;width:100%;height:100%;object-fit:contain}.encounter-art{display:none}.story-copy{min-width:0}.story-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:5px}.story-heading h2{font-size:29px;line-height:1.05;color:#ede6cf}.story-copy p{font-size:14px;line-height:1.45;color:#c0c7bb;max-width:95ch}.story-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px 14px;margin-top:10px}.action-button{display:flex;align-items:center;text-align:left;gap:8px;padding:8px 12px;min-height:35px;font-size:13px}.action-button>.icon{width:17px;height:17px}.action-button span{display:block}.action-button small{display:block;font-size:10px;font-weight:400;margin-top:3px;opacity:.85;line-height:1.25}.story-heading .action-button{padding:6px 10px;min-height:30px}.meter{height:5px;background:#1d2923;border-radius:10px;overflow:hidden}.meter i{display:block;height:100%;background:linear-gradient(90deg,#a19767,#dbc18b);border-radius:10px;transition:width .3s}.enemy-status{display:flex;gap:10px;align-items:center;margin-top:7px;font-size:11px;color:#c5cbb9}.enemy-status .meter{width:125px}.meter.enemy i{background:#c29a78}.choices{display:grid;grid-template-columns:repeat(var(--choice-count,4),minmax(0,1fr));gap:8px;margin-top:10px}.choices button{display:flex;text-align:left;gap:8px;align-items:center;padding:8px 10px;min-height:42px}.choices button>.icon{width:18px;height:18px;color:#dac592}.choices button span{font-size:14px;font-weight:500}.choices button small{display:block;font-size:10px;font-weight:400;color:#c2cbb4;margin-top:3px;line-height:1.25}.result-emblem,.settlement-emblem{display:none}.result-emblem .icon,.settlement-emblem .icon{width:27px;height:27px;color:#dbc28d}.reward{font-size:12px;color:#e3ce9c;line-height:1.4}.shop-list{margin-top:9px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.shop-list .action-button{padding:7px 10px;min-height:43px;font-size:12px}.shop-list .action-button small{font-size:10px;color:#c3cbb2}.shop-list .action-button>.icon{color:#d3bf89}.road-tip{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.4;color:#c0c7b1}.road-tip .icon{width:16px;height:16px;color:#c3c48f}.hero-panel{display:grid;grid-template-rows:minmax(0,1fr) 26px;padding:5px 12px 4px;gap:4px;min-height:0}.hero-overview{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;min-height:0}.hero-day{display:flex;align-items:center;gap:7px;color:#d9c58c;font-size:12px;white-space:nowrap}.hero-day .icon{width:17px;height:17px}#hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 20px;align-items:center;min-width:0}.hero-name{min-width:0}.hero-name .eyebrow{font-size:9px;letter-spacing:.8px}.hero-name h2{font-size:22px;line-height:1.05;margin-top:2px}.rank-progress{grid-row:2;grid-column:1}.rank-progress>div:first-child,.rank-progress>small{display:none}.rank-progress .meter{height:4px}.equipment{grid-column:2;grid-row:1/3;display:flex;align-items:center;gap:20px}.equipment>div{display:flex;align-items:center;gap:7px}.equipment .icon{width:19px;height:19px;color:#c5c29a}.equipment small{display:block;font-size:8px;letter-spacing:.8px;color:#aebda2;margin-bottom:3px}.equipment strong{display:block;font-size:12px;font-weight:500;color:#dedfca}.equipment-level{display:none}.resource-bar{display:flex;align-items:center;border-top:1px solid #717c5933;padding-top:4px;gap:0;min-width:0}.resource{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 17px;flex:1;min-width:0;border-left:1px solid #737c5d44}.resource:first-child{border:0;padding-left:0}.resource.health{position:relative}.resource>.icon{width:17px;height:17px;color:#d6bc85}.resource.health>.icon{color:#b8c0a3}.resource>div:not(.resource-meter){display:flex;align-items:baseline;gap:7px;white-space:nowrap}.resource span{font-size:9px;letter-spacing:.6px;color:#b9c0b3}.resource strong{font-size:18px;font-weight:500;line-height:1}.resource strong small{font-size:10px;font-weight:400;color:#aeb7a7}.resource.fame strong{color:#e6ca92}.resource-meter{position:absolute;left:50%;bottom:-5px;transform:translate(-50%);width:60%;max-width:100px;height:3px;background:#1c2821;border-radius:20px}.resource-meter i{height:100%;display:block;background:#a1b48a;border-radius:20px;transition:width .3s}.resource.low strong,.resource.low>.icon{color:#efae90}.resource.low .resource-meter i{background:#dc9c7c}.encounter-panel{min-height:0;display:grid;grid-template-rows:35px minmax(0,1fr)}.chronicle{display:flex;align-items:center;gap:12px;min-height:0;color:#cdd4bb}.chronicle-title{display:flex;align-items:center;gap:6px;font-size:8px;letter-spacing:1px;white-space:nowrap;color:#c9c6a2}.chronicle-title .icon{width:14px;height:14px;color:#c3bc8c}#chronicle{font-size:11px;flex:1;color:#c5cdbb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.text-button{border:none;background:transparent;font-size:10px;color:#d2c796;text-decoration:underline;text-underline-offset:3px;padding:4px;white-space:nowrap}.victory-banner{position:absolute;top:10px;left:50%;transform:translate(-50%);background:#303b33f5;border:1px solid #e0c593;display:flex;align-items:center;gap:10px;padding:9px 14px;color:#f0dcb5;font-size:11px;letter-spacing:1px;white-space:nowrap;pointer-events:none}dialog{width:min(760px,calc(100vw - 32px));max-height:90dvh;border:1px solid #a2a0797d;border-radius:10px;padding:32px;background:linear-gradient(130deg,#3b443a,#29342f);color:#e2e5d3;box-shadow:0 20px 100px #17232499}dialog::backdrop{background:#16231fcf;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}dialog h2{font-size:36px;line-height:1.1;margin:10px 0 20px;color:#f0e7d0}dialog p{font-size:15px;line-height:1.6;color:#c5cfb9}.close-modal{position:absolute;right:10px;top:10px}.dialog-emblem{color:#d3c48b;margin-bottom:16px}.dialog-emblem .icon{width:28px;height:28px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.help-grid .icon{color:#d8c392}.help-grid h3{font-size:25px;margin:8px 0}.help-grid p{font-size:14px;line-height:1.6}.help-footer{display:flex;gap:12px;font-size:13px;line-height:1.6;color:#c1cbb2;border-top:1px solid #8188666b;padding:16px 0}.help-footer .icon{color:#d6c791}.dialog-button{padding:11px 22px;font-size:14px;display:block;margin:10px auto 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-actions button{padding:11px 15px;font-size:14px}.journal-subtitle{font-size:14px!important;color:#caba91!important}.journal{padding-left:22px;margin:24px 0}.journal li{padding:9px 0 9px 10px;font-family:var(--serif);font-size:22px;border-bottom:1px solid #848d693d;color:#d8dfc7}.journal li::marker{color:#b6b388;font-size:11px;font-family:DM Sans,sans-serif}.microcopy{font-size:11px!important;color:#aebaa3!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:950px){.resource{padding-inline:10px;gap:7px}.resource.exploration-resource{display:none}.resource strong{font-size:18px}}@media(max-width:650px){#app{grid-template-rows:34px minmax(0,1fr)}.topbar{padding-inline:8px}.brand{font-size:27px}.header-actions{gap:3px}main{--story-height:208px;padding:5px 8px;grid-template-rows:82px minmax(0,1fr);gap:5px}.hero-panel{padding:5px 9px 4px;grid-template-rows:minmax(0,1fr) 28px;gap:4px}.hero-overview{gap:9px}.hero-day{font-size:11px;gap:5px}.hero-day .icon{width:14px;height:14px}#hero{gap:3px 14px}.hero-name h2{font-size:21px}.hero-name .eyebrow{font-size:8px;letter-spacing:.5px}.equipment{gap:13px}.equipment strong{font-size:11px}.equipment small{font-size:7px}.equipment .icon{width:16px;height:16px}.resource{gap:5px;padding-inline:8px}.resource>div:not(.resource-meter){gap:5px}.resource span{font-size:8px;letter-spacing:.4px}.resource strong{font-size:17px}.resource strong small{font-size:9px}.resource>.icon{width:14px;height:14px}.world-column{grid-template-rows:minmax(0,1fr) 20px var(--story-height) 18px}.map-meta{min-height:0;font-size:10px;gap:7px}.map-meta strong{font-size:11px}.map-meta .icon{width:12px;height:12px}#map-hint{max-width:60%;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.encounter-panel{grid-template-rows:32px minmax(0,1fr)}.journey-header{min-height:0;padding:2px 9px;font-size:9px;letter-spacing:.8px}.journey-tools{gap:4px}.quiet-button{padding:4px 6px;min-height:25px;font-size:11px}.quiet-button small{font-size:9px}.quiet-button .icon{width:13px;height:13px}#encounter{padding:8px 10px}.story-heading{margin-bottom:4px}.story-heading h2{font-size:26px}.story-copy p{font-size:13px;line-height:1.4}.story-actions{margin-top:8px;gap:7px 10px}.action-button{font-size:12px;padding:7px 10px;min-height:32px}.road-tip,.reward{font-size:11px}.choices{margin-top:8px;gap:5px}.choices button{padding:7px 6px;min-height:39px;gap:5px}.choices button span{font-size:12px}.choices button small{font-size:9px}.choices button>.icon{width:14px;height:14px}.enemy-status{font-size:10px;margin-top:6px}.shop-list{margin-top:7px;gap:5px}.shop-list .action-button{min-height:39px;font-size:11px;padding:6px 7px}.shop-list .action-button small{font-size:9px;line-height:1.25}.shop-list .action-button>.icon{display:none}.chronicle{gap:7px}#chronicle{font-size:10px}.chronicle .text-button{font-size:9px}.chronicle-title{display:none}.legend{left:8px;bottom:8px;padding:4px 6px;gap:8px;font-size:9px}.legend>span{gap:3px}.legend i{width:8px;height:8px}.legend-mystery{font-size:12px;line-height:8px}dialog{padding:25px 20px}.help-grid{grid-template-columns:1fr;gap:18px}dialog h2{font-size:30px}.dialog-actions{flex-direction:column}.victory-banner{font-size:9px;letter-spacing:.4px;padding:7px}}@media(max-width:500px){.resource{padding-inline:6px;gap:4px}.resource strong{font-size:16px}.resource span{font-size:7px}.resource>div:not(.resource-meter){gap:4px}.equipment{gap:9px}.equipment .icon{display:none}.equipment strong{font-size:10px}.hero-name h2{font-size:20px}.hero-day{font-size:10px}}@media(max-width:400px){main{--story-height:253px}.resource strong small{display:none}.resource strong{font-size:16px}.resource>.icon{width:13px;height:13px}.hero-panel{padding-inline:8px}.hero-overview{gap:8px}#hero{gap:3px 10px}.hero-name h2{font-size:19px}.equipment strong{font-size:9px}.hero-name .eyebrow{font-size:7px}.journey-header{font-size:8px;letter-spacing:.5px}.journey-tools small{display:none}.quiet-button{font-size:10px}.choices button>.icon{display:none}.shop-list{grid-template-columns:repeat(2,minmax(0,1fr))}.story-copy p{font-size:12px}.story-heading h2{font-size:24px}.legend{gap:6px;font-size:8px}}@media(max-height:560px){#app{grid-template-rows:32px minmax(0,1fr)}.brand{font-size:25px}main{--story-height:191px;grid-template-rows:75px minmax(0,1fr);padding-block:4px;gap:4px}.hero-panel{grid-template-rows:minmax(0,1fr) 25px;padding-block:4px;gap:3px}.hero-name h2{font-size:20px}.hero-name .eyebrow{font-size:8px}.resource strong{font-size:16px}.encounter-panel{grid-template-rows:30px minmax(0,1fr)}.journey-header{min-height:0;padding-block:2px}.quiet-button{min-height:24px;padding-block:3px}#encounter{padding-block:7px}.story-heading h2{font-size:24px}.story-copy p{font-size:12px;line-height:1.35}.story-actions,.shop-list{margin-top:6px}.shop-list .action-button{min-height:35px;padding-block:5px}.choices button{min-height:38px;padding-block:6px}}@media(max-height:560px)and (max-width:400px){main{--story-height:238px}.hero-name .eyebrow{font-size:7px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.hero-day small{display:block;font-size:9px;font-weight:400;color:#b8bead;margin-top:3px}.rank-name{display:flex;align-items:baseline;gap:8px;border:0;background:transparent;padding:0;text-align:left;max-width:100%}.rank-name .eyebrow{white-space:nowrap;font-size:8px}.rank-name h2{margin:0;line-height:1.1}.rank-progress>div.rank-caption{display:flex;justify-content:space-between;gap:5px;font-size:9px;line-height:1.25;color:#bdc4b4;margin-bottom:3px}.rank-caption strong{font-weight:500;white-space:nowrap;color:#e0c892}.rank-caption span{min-width:0}.heading-actions{display:flex;gap:5px}.damage-badge{margin-left:auto;color:#c8bb96;font-size:10px;white-space:nowrap}.court-copy .story-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.court-copy:has([data-action^=story-]) .story-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.court-copy .story-actions .action-button{min-width:0;padding:7px 9px;min-height:48px}.rank-list{list-style:none;padding:0;display:grid;gap:12px;margin:22px 0}.rank-list>li{padding:11px 13px;border:1px solid #82907344;border-radius:5px}.rank-list>li.current-rank{border-color:#d7ba7f;background:#cbb4770c}.rank-line{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.rank-line>span{color:#c5b68d;font-size:11px;text-align:right}.story-entry{margin-top:10px;border-top:1px solid #82907333;padding-top:9px}.story-entry>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}.story-entry>div>span{color:#d7ba7f;font-size:10px;white-space:nowrap}.story-entry p{font-size:12px;margin:4px 0}.story-entry small{color:#c4b98f;font-size:10px}@media(max-width:650px){.rank-name{gap:5px}.rank-name h2{font-size:19px}.rank-name .eyebrow{font-size:7px}.rank-progress>div.rank-caption{font-size:8px;margin-bottom:2px}.hero-day small{font-size:8px}.court-copy .story-actions .action-button{font-size:11px;padding:6px}.court-copy .story-actions .icon{display:none}.court-copy .action-button small{font-size:9px}.heading-actions .action-button{font-size:10px;padding:5px 6px}.heading-actions .icon{display:none}}@media(max-width:500px){.hero-day>.icon{display:none}.hero-overview{gap:8px}.hero-day small{font-size:7px}.equipment{flex-direction:column;align-items:flex-start;gap:4px}.equipment>div{gap:0}.equipment small{display:none}.equipment strong{font-size:9px}.rank-name h2{font-size:19px}.rank-name .eyebrow{font-size:6px}.rank-name{gap:5px}.rank-progress>div.rank-caption{font-size:8px}.court-copy .story-heading h2{font-size:24px}.court-copy .story-heading .action-button{font-size:10px;padding:5px}.court-copy .story-heading .icon{display:none}}@media(max-width:400px){.rank-name h2{font-size:17px}.rank-name{gap:4px}.hero-day small{font-size:6px}.hero-overview{gap:6px}#hero{column-gap:7px}.court-copy .story-actions .action-button{font-size:10px}.court-copy .action-button small,.damage-badge{font-size:8px}.story-heading:has(.heading-actions){gap:5px}.story-heading:has(.heading-actions) h2{font-size:21px}.story-entry>div{flex-direction:column;gap:3px}}[hidden]{display:none!important}#final-screen{min-height:0;display:grid;place-items:center;padding:12px 20px;background:radial-gradient(ellipse at 50% 20%,#7e70432c,transparent 70%)}.final-card{width:min(700px,100%);padding:22px 32px;text-align:center;box-shadow:0 16px 60px #16201b66;border-color:#b09e6b88}.final-emblem{color:#e0c68e;margin-bottom:7px}.final-emblem .icon{width:32px;height:32px}.final-card h1{font-size:49px;color:#f1e6c9;line-height:1.05;margin:5px 0}.final-subtitle{font-size:13px;color:#bfc6b6;margin-top:8px}.final-total{margin:17px 0 12px;padding:13px 0;border-block:1px solid #ab98714d;display:grid;gap:3px}.final-total>span{font-size:11px;letter-spacing:2px;color:#cfbd91}.final-total>strong{font-family:var(--serif);font-weight:400;font-size:64px;line-height:1.05;color:#edd49b;font-variant-numeric:tabular-nums}.final-total>small{font-size:11px;color:#b4bdad}.score-breakdown{margin:0;display:grid;gap:8px;text-align:left}.score-breakdown>div{display:flex;align-items:center;justify-content:space-between;padding:7px 4px;border-bottom:1px solid #7e8a6840}.score-breakdown dt{display:flex;gap:10px;align-items:center;font-size:14px}.score-breakdown dt>.icon{color:#c8b580}.score-breakdown dt small{display:block;color:#aebba7;font-size:11px;margin-top:2px}.score-breakdown dd{font-size:20px;color:#e4d6b2;font-variant-numeric:tabular-nums}.final-achievements{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 10px}.achievement{display:flex;align-items:center;gap:9px;text-align:left;padding:11px;border:1px solid #7b85604d;border-radius:5px;background:#202b2633;color:#9da794}.achievement>.icon{width:22px;height:22px}.achievement>div{flex:1}.achievement strong{display:block;font-size:12px;font-weight:550}.achievement small{display:block;font-size:10px;line-height:1.35;margin-top:3px}.achievement>b{font-size:14px;font-weight:500;white-space:nowrap}.achievement.earned{border-color:#d6b96e;background:linear-gradient(120deg,#af8e382e,#71653220);color:#e4ce9a;box-shadow:inset 0 0 18px #c6a35b12}.score-note{font-size:11px;line-height:1.5;color:#b1bca8}.final-actions{display:flex;justify-content:center;gap:10px;margin-top:16px}.final-actions button{padding:9px 14px;font-size:13px}@media(max-height:700px){.final-card{padding:13px 25px}.final-emblem{display:none}.final-card h1{font-size:38px}.final-total{margin:10px 0;padding:7px 0}.final-total>strong{font-size:49px}.score-breakdown{gap:3px}.score-breakdown>div{padding:5px 3px}.final-achievements{margin:10px 0 7px}.achievement{padding:8px}.final-actions{margin-top:10px}}@media(max-width:650px){#final-screen{padding:9px}.final-card{padding:15px 17px}.final-card h1{font-size:38px}.final-achievements{grid-template-columns:1fr;gap:6px}.achievement{padding:8px 10px}.achievement strong{font-size:12px}.achievement small,.score-note{font-size:10px}.final-subtitle{font-size:12px}.final-total>small{font-size:10px}.court-copy .story-heading h2{font-size:23px}.court-copy .story-heading{gap:6px}.court-copy .story-heading .action-button{padding:5px 7px;font-size:10px}.court-copy .story-heading .icon{display:none}}@media(max-height:560px){#final-screen{padding:6px}.final-card{padding:10px 17px;max-width:640px}.final-card>.eyebrow{font-size:8px}.final-card h1{font-size:31px}.final-subtitle{margin-top:4px;font-size:11px}.final-total{margin:7px 0;padding:5px 0}.final-total>strong{font-size:40px}.final-total>small{display:none}.score-breakdown>div{padding:4px 3px}.score-breakdown dt{font-size:12px}.score-breakdown dt small{font-size:10px}.score-breakdown dd{font-size:17px}.final-achievements{margin:8px 0 6px}.achievement{padding:6px 8px}.achievement>.icon{width:18px;height:18px}.final-actions{margin-top:8px}.final-actions button{padding:7px 10px}.score-note{font-size:9px}}.promotion-message{margin:20px 0;color:#e0cc9b}main{--story-height:250px;grid-template-rows:108px minmax(0,1fr)}#app{grid-template-rows:42px minmax(0,1fr)}.brand{font-size:32px}.icon-button,.help-button{width:34px;height:32px}.world-column{grid-template-rows:minmax(0,1fr) 26px var(--story-height) 26px}.hero-panel{grid-template-rows:minmax(0,1fr) 40px;padding:7px 12px 6px}.hero-day{font-size:16px}.hero-day small{font-size:12px;line-height:1.3}.rank-name .eyebrow,.hero-name .eyebrow{font-size:12px;letter-spacing:.4px}.rank-name h2,.hero-name h2{font-size:26px}.rank-progress>div.rank-caption{font-size:13px;margin-bottom:4px;line-height:1.25}.rank-progress .meter{height:5px}.equipment strong{font-size:15px}.equipment small{font-size:11px}.resource span{font-size:12px;letter-spacing:.2px;color:#ccd1c6}.resource strong{font-size:24px}.resource strong small{font-size:13px}.resource>div:not(.resource-meter){gap:7px}.resource-meter{bottom:-3px}.resource>.icon{width:20px;height:20px}.legend{font-size:13px;padding:6px 8px;gap:12px}.legend i{width:11px;height:11px}.map-meta,.map-meta strong,#coordinates,#map-hint{font-size:14px}.encounter-panel{grid-template-rows:40px minmax(0,1fr)}.journey-header,.panel-label{font-size:12px;letter-spacing:.5px}.journey-header{min-height:40px}.quiet-button{font-size:15px;min-height:32px}.quiet-button small{font-size:12px}.story-heading h2{font-size:32px;line-height:1.1}.story-copy p{font-size:17px;line-height:1.4;color:#d1d6ca}.action-button,.shop-list .action-button{font-size:15px;min-height:46px}.action-button small,.shop-list .action-button small{font-size:12px;line-height:1.3}.choices button{min-height:52px}.choices button span{font-size:17px}.choices button small{font-size:13px;line-height:1.3}.enemy-status,.damage-badge{font-size:13px}.reward,.road-tip{font-size:15px}#chronicle,.text-button,.chronicle .text-button{font-size:13px}.chronicle-title{font-size:11px}.court-copy .story-actions .action-button{font-size:15px;min-height:53px}.court-copy .action-button small{font-size:12px}.heading-actions .action-button,.court-copy .story-heading .action-button{font-size:14px}.victory-banner{font-size:13px}dialog p,.help-grid p{font-size:17px}.help-footer{font-size:15px}.dialog-actions button,.dialog-button{font-size:16px}.eyebrow{font-size:12px}.rank-line{font-size:16px}.rank-line>span{font-size:14px}.story-entry>div{font-size:16px}.story-entry>div>span{font-size:13px}.story-entry p{font-size:16px}.story-entry small{font-size:13px}.microcopy{font-size:14px!important}.journal-subtitle{font-size:16px!important}.final-subtitle{font-size:16px}.final-total>span{font-size:14px}.final-total>small{font-size:13px}.score-breakdown dt{font-size:17px}.score-breakdown dt small{font-size:14px}.achievement strong{font-size:16px}.achievement small{font-size:13px}.achievement>b{font-size:17px}.score-note{font-size:13px}.final-actions button{font-size:16px}@media(max-width:950px){.resource{padding-inline:10px}.resource>div:not(.resource-meter){display:grid;gap:2px}.resource-bar{padding-top:5px}.resource strong{font-size:23px}}@media(max-width:650px){#app{grid-template-rows:38px minmax(0,1fr)}main{--story-height:284px;grid-template-rows:113px minmax(0,1fr)}.hero-panel{grid-template-rows:minmax(0,1fr) 43px;padding:6px 9px}.hero-overview{gap:12px}.hero-day{font-size:14px}.hero-day small{font-size:11px}.hero-day>.icon{display:none}.rank-name h2,.hero-name h2{font-size:25px}.rank-name .eyebrow{font-size:11px}.rank-progress>div.rank-caption{font-size:12px}.equipment{flex-direction:column;align-items:flex-start;gap:5px}.equipment strong{font-size:13px}.equipment small,.equipment .icon{display:none}.resource{padding-inline:6px;gap:5px}.resource span{font-size:11px}.resource strong{font-size:23px}.resource strong small{font-size:12px}.resource>.icon{width:17px;height:17px}.map-meta,.map-meta strong,#coordinates,#map-hint{font-size:13px}.legend{font-size:12px;gap:9px}.legend>span{gap:4px}.journey-header{font-size:11px;padding-inline:9px;gap:6px}.quiet-button{font-size:14px;padding:4px 7px}.quiet-button small{font-size:12px}.story-heading h2,.court-copy .story-heading h2,.story-heading:has(.heading-actions) h2{font-size:29px}.story-copy p{font-size:16px;line-height:1.35}.choices{gap:6px}.choices button{padding:7px;min-height:51px}.choices button span{font-size:16px}.choices button small{font-size:12px}.choices button>.icon{display:none}.shop-list .action-button{font-size:14px;min-height:51px}.shop-list .action-button small{font-size:12px}.reward,.road-tip{font-size:14px}.damage-badge,.enemy-status{font-size:12px}.court-copy .story-actions .action-button{font-size:14px;padding:7px;min-height:58px}.court-copy .action-button small{font-size:12px}.heading-actions .action-button,.court-copy .story-heading .action-button{font-size:13px}#chronicle,.text-button,.chronicle .text-button{font-size:12px}}@media(max-width:440px){main{--story-height:300px;grid-template-rows:140px minmax(0,1fr)}.hero-panel{grid-template-rows:minmax(0,1fr) 44px}.hero-overview{gap:10px}#hero{grid-template-columns:minmax(0,1fr);gap:4px}.hero-name{grid-column:1}.rank-name{display:block}.rank-name .eyebrow{display:block;font-size:11px}.rank-name h2{font-size:24px}.equipment{grid-row:3;grid-column:1;flex-direction:row;gap:12px}.equipment strong{font-size:12px}.rank-progress>div.rank-caption{font-size:12px}.hero-day{font-size:14px}.hero-day small{font-size:10px}.resource>.icon{display:none}.resource span{font-size:11px}.resource strong{font-size:23px}.resource strong small{display:inline;font-size:11px}.world-column{grid-template-rows:minmax(0,1fr) 24px var(--story-height) 24px}.map-meta>span:first-child{gap:4px}.map-meta .icon{display:none}#map-hint{font-size:12px;max-width:52%}.legend{font-size:11px;gap:7px;padding:5px}.legend i{width:9px;height:9px}.legend>span{gap:3px}.journey-header{font-size:10px}.journey-tools small{display:none}.quiet-button{font-size:14px}.choices{grid-template-columns:repeat(2,minmax(0,1fr))}.choices button{min-height:44px}.choices button span{font-size:16px}.choices button small{font-size:12px}.shop-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.shop-list .action-button{min-height:48px;padding:5px 7px}.story-heading h2{font-size:28px}.court-copy:has([data-action^=story-]) .story-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.court-copy .story-actions{gap:5px}.court-copy .story-actions .action-button{min-height:50px;font-size:14px}.court-copy .action-button small{font-size:11px}}@media(max-height:560px)and (min-width:441px){#app{grid-template-rows:34px minmax(0,1fr)}main{--story-height:230px;grid-template-rows:101px minmax(0,1fr)}.hero-panel{grid-template-rows:minmax(0,1fr) 40px}.rank-name h2{font-size:24px}.hero-day{font-size:14px}.encounter-panel{grid-template-rows:36px minmax(0,1fr)}.journey-header{min-height:36px}.story-heading h2{font-size:28px}.story-copy p{font-size:16px}.shop-list .action-button{min-height:45px;padding:5px 7px}.choices button{min-height:46px}.court-copy .story-actions .action-button{min-height:52px}}@media(max-height:560px)and (max-width:440px){main{--story-height:290px;grid-template-rows:133px minmax(0,1fr)}}@media(min-width:441px){.final-achievements{grid-template-columns:1fr 1fr}.achievement>.icon{display:none}}@media(max-height:560px)and (min-width:441px){.score-breakdown dt span{display:flex;align-items:baseline;gap:8px}.score-breakdown dt small{margin:0}.score-breakdown{gap:0}.score-breakdown>div{padding:7px 3px}.score-note{font-size:12px}.final-achievements{margin-block:7px}.final-total{margin-block:5px}.final-actions{margin-top:6px}}@media(max-width:440px){main{--story-height:316px;grid-template-rows:152px minmax(0,1fr)}.choices{grid-template-columns:repeat(var(--choice-count,4),minmax(0,1fr))}.choices[style*="--choice-count:4"]{grid-template-columns:repeat(2,minmax(0,1fr))}.choices button{padding:5px 6px}.damage-badge{display:none}.enemy-status{gap:6px}.enemy-status .meter{width:75px;flex-shrink:1}}@media(max-width:650px){.final-card{padding:12px 15px}.final-card>.eyebrow{display:none}.final-card h1{font-size:34px}.final-subtitle{font-size:14px;line-height:1.3;margin-top:5px}.final-total{margin:8px 0;padding:7px 0;gap:2px}.final-total>strong{font-size:46px}.final-total>small{display:none}.score-breakdown{gap:0}.score-breakdown>div{padding:5px 3px}.score-breakdown dt{font-size:16px}.score-breakdown dt small{font-size:13px}.score-breakdown dd{font-size:22px}.achievement>.icon{display:none}.achievement{padding:7px 9px;gap:7px}.achievement strong{font-size:15px}.achievement small{font-size:12px;line-height:1.25}.achievement>b{font-size:16px}.final-achievements{margin:9px 0 7px}.score-note{font-size:12px;line-height:1.35}.final-actions{gap:7px;margin-top:9px}.final-actions button{font-size:14px;padding:8px 9px}.final-actions .icon{display:none}}@media(max-width:440px){main{--story-height:300px}.shop-list{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-list .action-button{min-height:58px;padding:5px}.shop-list .action-button small{font-size:12px}.court-copy .story-actions .action-button{padding-block:5px;min-height:47px}}.resource:nth-child(2) strong small{display:none}button:disabled{opacity:.6}@media(max-width:440px){.resource span{font-size:12px;letter-spacing:0}.equipment strong{font-size:13px}}.rank-summary{gap:6px;margin:16px 0 0}.rank-summary>li{padding:7px 10px}.rank-summary .rank-line{font-size:16px}.rank-summary .rank-line>span{font-size:14px}@media(min-width:480px){.rank-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.rank-summary>li{padding:6px 9px}.rank-summary .rank-line{display:grid;gap:2px}.rank-summary .rank-line>span{text-align:left}}
