@font-face{font-family:TownSerif;src:url('../assets/fonts/display.woff2') format('woff2');font-display:swap;font-weight:400}
@font-face{font-family:TownSans;src:url('../assets/fonts/body.woff2') format('woff2');font-display:swap;font-weight:400}
:root{--ink:#172a28;--deep:#101d1c;--panel:#20332f;--paper:#f3ecdc;--muted:#b6bdac;--gold:#c6aa71;--line:rgba(198,170,113,.24);--leaf:#91ae83;--serif:TownSerif,'Yu Mincho',serif;--sans:TownSans,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;color-scheme:dark}
*{box-sizing:border-box}html,body{margin:0;background:var(--deep);color:var(--paper);font-family:var(--sans);height:100%;overscroll-behavior:none}body{font-size:14px;line-height:1.6}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.46}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button svg,svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{border:0}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}ruby{ruby-align:center}rt{font-family:var(--sans);font-size:.52em;letter-spacing:0;font-weight:400;opacity:.8}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.eyebrow{font-size:10px;letter-spacing:.23em;color:var(--gold);font-family:Georgia,serif}.primary{background:var(--gold);color:var(--deep);border:1px solid #dfc997;min-height:50px;padding:10px 20px;display:flex;align-items:center;justify-content:center;gap:12px;letter-spacing:.08em;border-radius:3px;box-shadow:inset 0 0 0 3px rgba(23,42,40,.12);font-weight:600}.primary:hover:not(:disabled){background:#dac291}.icon-button{width:44px;height:44px;display:grid;place-items:center;background:transparent;border:1px solid var(--line);border-radius:50%}.text-button{min-height:44px;background:transparent;display:flex;gap:8px;align-items:center;justify-content:center;color:var(--muted);font-size:12px}.sound-button[aria-pressed=false] svg{opacity:.5}.sound-button[aria-pressed=true]{color:var(--gold)}
/* A quiet copper-and-pine frame around the living landscape. */
.title-screen{position:relative;height:100svh;min-height:640px;overflow:hidden}.title-art,.title-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.title-art{object-position:55% 50%;animation:opening-drift 18s ease-out both}.title-shade{background:linear-gradient(90deg,rgba(11,23,22,.88),rgba(11,23,22,.55) 38%,rgba(11,23,22,.02) 75%),linear-gradient(0deg,rgba(11,23,22,.85),transparent 32%)}.title-top{position:absolute;top:36px;left:5%;right:5%;display:flex;align-items:center;gap:15px;font-size:11px;letter-spacing:.18em;color:#e4dece}.title-top img{filter:drop-shadow(0 2px 6px #0006)}.edition{margin-left:auto;font-family:Georgia,serif;letter-spacing:.22em;font-size:10px}.title-copy{position:absolute;top:28%;left:10%;width:420px;animation:arrive .9s ease-out both}.title-copy h1{font-family:var(--serif);font-size:clamp(44px,5.2vw,76px);font-weight:400;letter-spacing:.13em;line-height:1.7;margin:16px 0 2px;white-space:nowrap;text-shadow:0 2px 20px #07141077}.title-copy h1 rt{font-size:12px}.title-rule{display:flex;align-items:center;gap:12px;width:270px;margin:6px 0 20px}.title-rule span{height:1px;background:var(--gold);flex:1;opacity:.65}.title-rule i{width:5px;height:5px;transform:rotate(45deg);border:1px solid var(--gold)}.title-tag{font-family:var(--serif);font-size:22px;letter-spacing:.25em}.title-description{font-size:13px;line-height:2.5;color:#dfdfd0;margin:22px 0 27px;letter-spacing:.08em}.title-start{width:285px;justify-content:space-between}.title-copy>.sound-button{width:285px;margin-top:8px}.title-foot{position:absolute;bottom:30px;left:5%;right:5%;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.14em;color:#d5d7c9}.title-foot span{opacity:.7}
.copyright{position:absolute;right:5%;bottom:8px;font-size:10px;letter-spacing:.08em;color:#d5d7c9;opacity:.75;font-family:var(--sans)}
.game{max-width:1440px;margin:0 auto;height:100dvh;min-height:560px;display:flex;flex-direction:column;background:var(--ink)}.game-header{height:70px;flex:none;padding:10px 28px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:24px;padding-top:max(10px,env(safe-area-inset-top))}.wordmark{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-size:25px;letter-spacing:.16em;white-space:nowrap}.wordmark rt{font-size:8px}.day-tag{font-family:var(--serif);font-size:13px;color:var(--gold);letter-spacing:.1em}.header-actions{display:flex;gap:8px;margin-left:auto}.header-actions .icon-button{border:0}.menu-lines,.menu-lines:before,.menu-lines:after{height:1px;width:18px;background:var(--gold);display:block;position:relative}.menu-lines:before,.menu-lines:after{content:'';position:absolute;left:0}.menu-lines:before{top:-6px}.menu-lines:after{top:6px}.resource-bar{height:64px;display:flex;align-items:center;justify-content:center;gap:45px;flex-shrink:0;background:#1c2f2c;border-bottom:1px solid var(--line)}.resource{display:flex;align-items:center;gap:12px;min-width:125px}.resource .icon{color:var(--gold);width:23px;height:23px}.resource-info{display:flex;align-items:baseline;gap:10px}.resource-name{font-size:12px;color:var(--muted)}.resource b{font-family:Georgia,serif;font-size:24px;font-weight:400}.resource small{font-size:10px;color:var(--muted);margin-left:3px}.resource-rate{font-size:10px;color:var(--leaf)}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;flex:1;min-height:0}.stage{position:relative;overflow:hidden;isolation:isolate;min-height:0;background:#667967}.stage:before{content:'';position:absolute;inset:-30px;background:linear-gradient(#172a2811,#172a2844),url('../assets/map-forest.webp') center/cover;filter:blur(24px);transform:scale(1.1);z-index:-1}.stage:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0b24247a,transparent 27%,transparent 77%,#112623cc);z-index:2}.terrain{position:absolute;left:50%;top:50%;width:min(100%,630px);aspect-ratio:4/5;transform:translate(-50%,-50%)}.terrain>img{width:100%;height:100%;object-fit:fill;display:block;transition:opacity .6s}.plot-layer{position:absolute;inset:0}.plot{position:absolute;width:22%;aspect-ratio:1;transform:translate(-50%,-82%);padding:0;display:flex;align-items:center;justify-content:center;background:transparent;z-index:1}.plot:active:not(:disabled){transform:translate(-50%,-82%)}.plot.empty{width:48px;height:48px;aspect-ratio:auto;transform:translate(-50%,-50%);border:1px solid #f5e4b799;background:#243f32a3;box-shadow:0 2px 12px #0003;border-radius:50%;color:#eee2be}.plot.empty:active{transform:translate(-50%,-50%)}.plot.empty:hover,.plot.empty.selected{background:#c6aa71;color:var(--ink)}.plot .building-art{width:100%;height:100%;transition:filter .2s;filter:drop-shadow(0 6px 4px #162b2580)}.plot:hover .building-art,.plot.selected .building-art{filter:drop-shadow(0 0 5px #ffdb98)}.plot-label{position:absolute;bottom:0;left:50%;transform:translate(-50%,80%);background:#162b25e8;padding:2px 7px;border:1px solid #b89d6977;color:#f3ecdc;font-size:10px;white-space:nowrap;border-radius:2px;pointer-events:none;line-height:1.5}.plot-label small{color:var(--gold);margin-left:4px}.building-art{display:block;background-image:url('../assets/buildings.webp');background-size:300% 200%;background-repeat:no-repeat}.building-art[data-art="0"]{background-position:0 0}.building-art[data-art="1"]{background-position:50% 0}.building-art[data-art="2"]{background-position:100% 0}.building-art[data-art="3"]{background-position:0 100%}.building-art[data-art="4"]{background-position:50% 100%}.building-art[data-art="5"]{background-position:100% 100%}.built-now{animation:build-arrive .55s ease-out}.stage-top{position:absolute;top:26px;left:28px;right:24px;z-index:3;display:flex;justify-content:space-between;align-items:start;pointer-events:none}.stage-top>div{text-shadow:0 2px 6px #10262199}.stage-top h2{font-family:var(--serif);font-size:28px;letter-spacing:.1em;font-weight:400;margin:6px 0}.stage-top h2 rt{font-size:9px}.region-caption{font-size:11px;color:#e1e4d4;letter-spacing:.03em}.view-button{pointer-events:auto;background:#10252266;color:var(--paper);border-color:#e7d7b055}.stage-bottom{position:absolute;left:26px;right:26px;bottom:19px;z-index:3;display:flex;justify-content:space-between;font-size:11px;color:#e4e7d4}.stage-bottom span{display:flex;gap:7px;align-items:center}.stage-bottom .icon{width:16px;height:16px;color:var(--gold)}.journey-ribbon{position:absolute;top:120px;left:28px;z-index:3;background:#18342cdc;border:1px solid var(--line);font-size:11px;color:var(--paper);padding:5px 12px;border-radius:20px}.journey-ribbon:empty{display:none}.map-hint{position:absolute;bottom:56px;left:50%;transform:translateX(-50%);z-index:3;font-size:11px;white-space:nowrap;padding:6px 15px;background:#152e29c9;border:1px solid var(--line);border-radius:20px}.map-hint:empty{display:none}.map-toast{position:absolute;left:12%;right:12%;top:45%;z-index:5;background:#18332af0;border:1px solid var(--gold);border-radius:3px;padding:14px;text-align:center;animation:arrive .3s ease-out;font-size:13px;pointer-events:none}
.fieldbook{background:var(--ink);border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;overflow:hidden}.companion{padding:22px 22px 18px;border-bottom:1px solid var(--line)}.companion-top{display:flex;gap:12px;align-items:center}.companion-portrait{width:50px;height:50px;border:1px solid var(--gold);border-radius:50%;object-fit:cover;object-position:90% 8%;background-image:url('../assets/map-forest.webp');background-size:260%;background-position:100% 4%}.companion-name{font-family:var(--serif);font-size:17px;letter-spacing:.08em}.companion-state{font-size:11px;color:var(--muted)}.energy-row{display:flex;gap:9px;align-items:center;margin-top:12px;font-size:10px;color:var(--muted)}.energy-track{height:3px;background:#ffffff16;flex:1;border-radius:3px;overflow:hidden}.energy-track span{display:block;height:100%;background:var(--leaf);transition:width .4s}.energy-row b{font-family:Georgia,serif;font-size:14px;color:var(--paper);font-weight:400}.companion-note{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.9}.tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:0 20px;border-bottom:1px solid var(--line);flex:none}.tab{background:transparent;min-height:58px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:12px;border-bottom:2px solid transparent}.tab svg{width:18px;height:18px}.tab.active{color:var(--gold);border-color:var(--gold)}.action-panel{padding:20px;overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#b29a6155 transparent}.panel-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:13px;font-family:var(--serif);font-size:16px;letter-spacing:.06em}.panel-heading small{font-family:var(--sans);color:var(--muted);font-size:10px;letter-spacing:0}.gather-list{display:grid;gap:8px}.gather-card{display:flex;align-items:center;gap:13px;text-align:left;min-height:61px;width:100%;background:#263b35;border:1px solid #b7b7982e;padding:8px 12px;border-radius:3px}.gather-card:hover:not(:disabled){border-color:var(--gold);background:#2d443b}.gather-card .icon{color:var(--gold);width:24px;height:24px}.gather-copy{flex:1}.gather-copy strong{display:block;font-size:13px;font-weight:400}.gather-copy small{display:block;color:var(--muted);font-size:10px;margin-top:1px}.gain{font-family:Georgia,serif;font-size:23px;color:var(--gold)}.care-button{width:100%;min-height:56px;margin-top:12px;display:flex;gap:12px;align-items:center;background:transparent;border:1px solid var(--line);padding:9px 12px;text-align:left;border-radius:3px}.care-button .icon{color:var(--gold)}.care-button strong{font-size:12px;font-weight:400;display:block}.care-button small{display:block;font-size:10px;color:var(--muted)}.build-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.building-card{position:relative;min-height:132px;padding:8px 6px;background:#263b35;border:1px solid var(--line);border-radius:3px;text-align:center}.building-card .building-art{width:70px;height:70px;margin:0 auto 4px}.building-card.selected{border-color:var(--gold);background:#374939}.building-card strong{font-weight:400;font-size:12px;display:block}.building-card small{font-size:10px;color:var(--gold);display:block}.panel-note{color:var(--muted);font-size:11px;margin-bottom:12px;line-height:1.9}.day-footer{padding:12px 20px 20px;border-top:1px solid var(--line);background:var(--ink);flex:none}.actions-left{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:10px}.action-dots{display:flex;gap:5px}.action-dots i{width:7px;height:7px;border-radius:50%;background:var(--gold)}.action-dots i.used{background:#65706644}.end-day{width:100%;justify-content:space-between;min-height:50px;font-size:13px}.journal-list{list-style:none;padding:0;margin:8px 0 0}.journal-list li{padding:12px 0;border-top:1px solid var(--line);font-size:11px;color:var(--muted);line-height:1.9}.journal-list time{display:block;color:var(--gold);font-family:Georgia,serif;font-size:10px;margin-bottom:3px}.route{display:flex;align-items:center;justify-content:space-between;position:relative;margin:12px 2px 22px}.route:before{content:'';position:absolute;left:10%;right:10%;top:7px;height:1px;background:var(--line)}.route-stop{font-size:9px;color:var(--muted);text-align:center;z-index:1}.route-stop i{display:block;width:14px;height:14px;background:var(--ink);border:1px solid #788472;border-radius:50%;margin:0 auto 9px}.route-stop.current{color:var(--gold)}.route-stop.current i{background:var(--gold);box-shadow:0 0 0 4px #c6aa7120}.route-stop.visited i{border-color:var(--gold)}.discovery{padding:12px;border:1px solid var(--line);margin-top:12px;font-size:11px;color:var(--muted)}.discovery strong{font-family:var(--serif);color:var(--gold);font-size:14px;display:block;font-weight:400}
.sheet-dialog{border:1px solid var(--line);border-radius:6px;background:var(--ink);color:var(--paper);padding:20px 28px 28px;width:min(92vw,500px);max-height:88dvh;box-shadow:0 30px 120px #0008;overflow-y:auto}.sheet-dialog::backdrop{background:#051511b8;backdrop-filter:blur(5px)}.sheet-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.sheet-top .icon-button{border:0;margin-right:-10px}.sheet-dialog h2{font-family:var(--serif);font-size:26px;font-weight:400;line-height:1.6;margin-bottom:14px;letter-spacing:.06em}.sheet-text{font-size:13px;line-height:2.1;color:var(--muted);margin-bottom:20px}.sheet-dialog .primary{width:100%;margin-top:18px}.sheet-building{height:150px;width:150px;margin:0 auto 10px}.detail-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;display:grid;gap:8px;font-size:12px;color:var(--muted)}.detail-stats>div{display:flex;justify-content:space-between;gap:15px}.detail-stats b{font-weight:400;color:var(--gold)}.reason{font-size:11px;margin-top:10px;color:#d2bda0;line-height:1.8}.summary-art{height:140px;border-radius:3px;margin-bottom:17px;background:url('../assets/village.webp') center 40%/cover}.summary-res{display:flex;gap:10px;margin:15px 0}.summary-res span{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);padding:9px 4px;color:var(--gold);font-family:Georgia,serif}.summary-res svg{width:17px;height:17px}.settings-row{min-height:48px;width:100%;display:flex;justify-content:space-between;align-items:center;background:transparent;border-bottom:1px solid var(--line);font-size:13px;padding:12px 0;text-align:left}.settings-note{font-size:11px;color:var(--muted);line-height:2;margin-top:15px}.file-label{display:block;min-height:48px;padding:12px 0;border-bottom:1px solid var(--line);cursor:pointer;font-size:13px}.file-input{width:100%;font-size:12px;margin-top:10px}.save-warning{color:#efd195}.howto-step{display:flex;gap:14px;margin:17px 0;color:var(--muted);font-size:12px;line-height:2}.howto-step>span{font-family:Georgia,serif;font-size:25px;color:var(--gold);line-height:1.2}.howto-step strong{display:block;color:var(--paper);font-weight:400;font-size:14px}.vista{position:fixed;inset:0;z-index:30;background:var(--deep)}.vista>img{width:100%;height:100%;object-fit:cover;object-position:60% center;animation:opening-drift 16s ease-out both}.vista-shade{position:absolute;inset:0;background:linear-gradient(0deg,#10221dd9,transparent 50%)}.vista-back{position:absolute;top:max(20px,env(safe-area-inset-top));left:24px;display:flex;align-items:center;gap:8px;min-height:46px;background:#10241ec7;border:1px solid var(--line);padding:8px 16px;border-radius:25px}.vista-back svg{transform:rotate(180deg)}.vista-copy{position:absolute;left:7%;bottom:10%;right:7%;text-shadow:0 2px 14px #0008}.vista-copy h2{font-size:clamp(23px,3vw,42px);font-family:var(--serif);font-weight:400;letter-spacing:.13em;margin:15px 0}.vista-copy>p:last-child{font-size:12px;color:#d3dcca}.toast{position:fixed;z-index:99;left:50%;bottom:25px;transform:translateX(-50%);background:#0d211ff5;color:var(--paper);padding:12px 22px;border:1px solid var(--gold);border-radius:3px;max-width:90vw;width:max-content;font-size:12px;box-shadow:0 4px 25px #0005}
.file-input,.file-input::file-selector-button{min-height:44px}
@keyframes opening-drift{from{transform:scale(1.035)}to{transform:scale(1)}}@keyframes arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes build-arrive{from{opacity:0;scale:.82}to{opacity:1;scale:1}}
@media(min-width:1100px){.stage{border-right:1px solid var(--line)}.companion{padding:25px}.fieldbook{width:340px}.action-panel{padding:24px}.stage-top h2{font-size:31px}}
@media(max-width:760px){
 .title-screen{min-height:580px}.title-art{object-position:62% center}.title-shade{background:linear-gradient(0deg,#0b201ff5 0%,#0c211fbf 36%,#11232105 80%),linear-gradient(90deg,#15261f3d,transparent)}.title-top{top:max(22px,env(safe-area-inset-top));left:22px;right:22px;font-size:9px;gap:10px}.title-top .edition{display:none}.title-top img{width:28px;height:28px}.title-copy{left:28px;right:28px;width:auto;top:auto;bottom:70px}.title-copy .eyebrow{font-size:8px}.title-copy h1{font-size:45px;line-height:1.65;letter-spacing:.12em;margin-top:10px}.title-copy h1 rt{font-size:9px}.title-rule{width:240px;margin:5px 0 14px}.title-tag{font-size:18px}.title-description{font-size:12px;margin:17px 0 22px}.title-start{width:100%;max-width:340px;min-height:53px}.title-copy>.sound-button{width:100%;max-width:340px}.title-foot{bottom:21px;left:28px;right:28px;font-size:8px}.title-foot{right:auto}.copyright{right:28px;bottom:21px;font-size:8px;line-height:1.6}.title-foot span{display:none}
 .game{min-height:590px}.game-header{height:58px;padding:5px 14px;padding-top:max(5px,env(safe-area-inset-top));gap:12px}.wordmark{font-size:19px;gap:7px;letter-spacing:.08em}.wordmark img{width:26px;height:26px}.wordmark rt{font-size:7px}.day-tag{font-size:11px}.header-actions{gap:0}.header-actions .icon-button{width:44px;height:44px}.resource-bar{height:57px;gap:0;justify-content:space-around;padding:0 8px}.resource{gap:7px;min-width:0}.resource .icon{width:18px;height:18px}.resource-info{gap:6px}.resource-name{font-size:10px}.resource b{font-size:21px}.resource small{font-size:8px}.resource-rate{display:none}.game-layout{display:flex;flex-direction:column}.stage{flex:1;min-height:235px}.terrain{width:100%;max-width:520px;top:53%}.stage-top{left:17px;right:13px;top:14px}.stage-top .eyebrow{font-size:8px}.stage-top h2{font-size:20px;margin:3px 0}.stage-top h2 rt{font-size:7px}.region-caption{display:none}.view-button{width:44px;height:44px}.stage-bottom{bottom:10px;left:16px;right:16px;font-size:9px}.stage-bottom .icon{width:13px;height:13px}.map-hint{bottom:36px;font-size:10px;padding:3px 12px}.journey-ribbon{top:74px;left:16px;font-size:10px;padding:3px 9px}.plot-label{font-size:8px;padding:1px 4px}.plot.empty{width:44px;height:44px}.map-toast{left:7%;right:7%;font-size:11px}
 .fieldbook{border-left:0;border-top:1px solid var(--line);height:302px;flex:none;position:relative;padding-top:0}.companion{padding:10px 15px;height:64px;display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);flex:none}.companion-top{gap:9px;min-width:160px}.companion-portrait{width:35px;height:35px}.companion-name{font-size:12px}.companion-state{font-size:9px}.energy-row{flex:1;margin:0;min-width:85px;font-size:8px;flex-wrap:wrap;gap:5px}.energy-row b{font-size:12px}.energy-track{min-width:40px}.companion-note{display:none}.tabs{padding:0 12px;height:44px;flex:none}.tab{min-height:44px;font-size:11px;gap:6px}.tab svg{width:16px;height:16px}.action-panel{padding:9px 13px;overflow-y:auto}.panel-heading{font-size:12px;margin:0 0 6px}.panel-heading small{font-size:9px}.gather-list{grid-template-columns:repeat(3,1fr);gap:6px}.gather-card{min-height:62px;gap:5px;padding:6px;align-items:center;position:relative}.gather-card .icon{width:16px;height:16px}.gather-copy strong{font-size:10px;white-space:nowrap}.gather-copy small{font-size:8px}.gain{font-size:17px;position:absolute;right:6px;bottom:4px}.care-button{margin-top:7px;min-height:46px;padding:5px 9px;gap:9px}.care-button strong{font-size:11px}.care-button small{font-size:9px}.care-button .icon{width:18px;height:18px}.day-footer{padding:8px 13px max(8px,env(safe-area-inset-bottom));display:flex;gap:14px;align-items:center}.actions-left{min-width:85px;margin:0;display:block;font-size:9px}.action-dots{margin-top:4px}.end-day{min-height:44px;font-size:11px;padding:7px 12px;flex:1;gap:5px}.end-day svg{width:16px;height:16px}.end-day svg:last-child{width:17px}.build-grid{grid-template-columns:repeat(6,1fr);gap:5px}.building-card{min-height:79px;padding:4px 2px}.building-card .building-art{width:42px;height:42px;margin-bottom:1px}.building-card strong{font-size:8px}.building-card small{font-size:8px}.panel-note{font-size:10px;margin-bottom:6px}.route{margin:3px 0 12px}.journal-list li{padding:8px 0;font-size:10px}.discovery{margin-top:6px;padding:7px;font-size:10px}.discovery strong{font-size:12px}.sheet-dialog{padding:12px 22px 24px;max-height:88dvh;width:94vw;border-radius:8px}.sheet-dialog h2{font-size:24px}.sheet-text{font-size:12px}.vista>img{object-position:62% center}.vista-copy{bottom:9%;left:24px}.vista-copy h2{font-size:22px;line-height:2}.vista-back{left:15px;font-size:12px}.toast{bottom:20px;font-size:11px}
}
@media(max-width:360px){.wordmark{font-size:17px}.game-header{gap:7px;padding-left:10px;padding-right:8px}.resource-name{font-size:9px}.resource b{font-size:18px}.resource{gap:5px}.fieldbook{height:296px}.companion-top{min-width:145px}.title-copy{left:22px;right:22px}.title-copy h1{font-size:39px}.build-grid{grid-template-columns:repeat(3,1fr)}.building-card{min-height:87px}.action-panel{padding:8px 10px}.gather-card .icon{display:none}.gather-copy strong{font-size:10px}}
@media(max-height:720px) and (max-width:760px){.game{min-height:590px}.fieldbook{height:277px}.companion{height:51px;padding-top:6px;padding-bottom:6px}.companion-portrait{width:31px;height:31px}.tabs{height:44px}.title-copy{bottom:54px}.title-description{margin:9px 0 15px}.title-copy h1{font-size:39px}.title-foot{bottom:12px}.copyright{bottom:12px}.stage-top h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
