:root{--ink:#263d2c;--muted:#536745;--paper:#fff0cf;--shade:#e8d2a7;--gold:#eab44d;--green:#527e3c;--outline:#39422a;--safe-bottom:env(safe-area-inset-bottom,0px);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#087c91;color:var(--ink);font-family:'Segoe UI',Tahoma,Arial,sans-serif;font-size:16px;font-weight:600;line-height:1.45}button,input,select{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #24685b}button:active:not(:disabled){transform:translateY(1px)}.is-hidden{display:none!important}#game{position:absolute;inset:0;display:block;width:100%;height:100%;outline:none;image-rendering:pixelated;touch-action:none}.game-ui{position:absolute;inset:0;pointer-events:none;user-select:none}.game-ui button,.game-ui input,.game-ui select,.game-ui a{pointer-events:auto}.parchment{background:linear-gradient(120deg,#fff6df,#fff0cf 55%,#f4e1b9);border:2px solid var(--outline);box-shadow:inset 0 0 0 2px #fff9e8,inset 0 0 0 4px #d3b78188,0 4px 0 #173f3266;border-radius:8px}.pixel-icon{width:28px;height:28px;display:inline-block;vertical-align:middle;flex-shrink:0;shape-rendering:crispEdges;image-rendering:pixelated}
.hud{position:absolute;inset:0}.resource-bar{position:absolute;top:18px;left:18px;display:flex;gap:0;align-items:center;padding:9px 8px;min-height:52px}.resource-count{display:flex;align-items:center;gap:8px;padding:0 13px;font-size:24px;font-weight:800;line-height:1.2;border-right:1px solid #ad915b80;font-variant-numeric:tabular-nums}.resource-count:last-child{border:0}.resource-count .pixel-icon{width:29px;height:29px}.top-right{position:absolute;top:18px;right:18px;display:flex;gap:10px;align-items:flex-start}.coin-display{display:flex;align-items:center;gap:9px;padding:9px 16px;min-height:52px;font-size:24px;font-weight:800}.skill-shortcut{position:relative;width:58px;height:61px;border:0;clip-path:polygon(50% 0,96% 25%,96% 75%,50% 100%,4% 75%,4% 25%);background:#344735;padding:0}.skill-shortcut:before,.skill-shortcut:after{content:'';position:absolute;inset:3px;clip-path:inherit;background:#d8a543}.skill-shortcut:after{inset:7px;background:#345b37}.skill-shortcut .pixel-icon{position:relative;z-index:2;width:32px;height:32px}.skill-points{position:absolute;z-index:3;right:5px;bottom:5px;color:#fff9dc;font-size:16px;font-weight:800;line-height:1;text-shadow:1px 1px #25472a}.small-round{border:2px solid var(--outline);background:#f8e8c3;box-shadow:inset 0 0 0 2px #fff8e3,0 3px 0 #173f3255;border-radius:7px;width:42px;height:42px;font-size:24px;font-weight:700}.menu-shortcut{margin-top:5px}.objective{position:absolute;top:18px;left:50%;transform:translateX(-50%);background:#173f37f2;color:#fff6d9;border:1px solid #b7d19a80;border-radius:9px;padding:9px 17px;font-size:16px;font-weight:700;max-width:370px;text-align:center;line-height:1.3;box-shadow:0 3px 0 #11342b55}.objective:active:not(:disabled){transform:translateX(-50%) translateY(1px)}.objective-title{display:block}.objective-progress{display:block;margin-top:4px;color:#e2e8bc;font-size:14px;font-weight:700}.objective-detail{display:block;margin-top:7px;font-size:15px;color:#eef1d7;line-height:1.45}.bottom-center{position:absolute;bottom:calc(19px + var(--safe-bottom));left:50%;transform:translateX(-50%);width:274px;text-align:center}.xp-wrap{margin-bottom:10px}.xp-wrap>span{display:inline-block;padding:4px 14px;border:2px solid var(--outline);border-bottom:0;border-radius:6px 6px 0 0;background:var(--paper);font-size:16px;font-weight:800}.xp-track{height:15px;background:#163c38;border:2px solid var(--outline);outline:2px solid #fff4d1;box-shadow:0 0 0 4px var(--outline);border-radius:3px;overflow:hidden}.xp-track>div{height:100%;background:linear-gradient(#c3de88,#85ac50);box-shadow:inset 0 2px #d9e8a5;transition:width .2s}.quickbar{display:flex;justify-content:center;gap:8px}.quickbar button{display:flex;align-items:center;justify-content:center;position:relative;width:58px;height:60px;background:#fff0cf;border:2px solid var(--outline);border-radius:8px;box-shadow:inset 0 0 0 2px #fffae8,0 3px 0 #173f3255}.quickbar button:hover{background:#fff9e5}.quickbar .pixel-icon{width:31px;height:31px;margin-top:-8px}.quickbar kbd{position:absolute;bottom:2px;font-size:12px;padding:0;border:0;background:none;box-shadow:none;font-weight:800}.controls-hint{position:absolute;bottom:23px;left:20px;display:flex;align-items:center;gap:10px;color:#fff6d9;font-size:14px;text-shadow:1px 2px #17483c}.controls-hint span{white-space:nowrap}.controls-hint kbd{color:#fff8df;border-color:#c6dfae99;background:#173f38eb}.controls-hint button{width:30px;height:30px;border:1px solid #c3d8a8;background:#173f38eb;color:#fff8db;font-size:17px;font-weight:800;border-radius:50%}.save-status{position:absolute;right:20px;bottom:20px;font-size:12px;color:#edf2d7;text-shadow:1px 1px #153e36}.location-label{position:absolute;right:20px;bottom:41px;font-size:15px;font-weight:700;color:#fff4d4;text-shadow:1px 1px #153e36}kbd{display:inline-block;padding:2px 5px;border:1px solid #89986d;border-radius:4px;background:#e8e7c5;font-family:inherit;font-size:14px;font-weight:700;box-shadow:0 1px 0 #76845655}
.loading{position:absolute;inset:0;z-index:15;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#103f44;color:#fff0cb;pointer-events:none;transition:opacity .3s}.loading p{font-size:18px;font-weight:700}.loading-leaf{font-size:48px;color:#c6d785}.loading.done{opacity:0}.title-screen{position:absolute;inset:0;background:linear-gradient(90deg,#103c38cf,#0c343456 45%,#0c34340a 75%);pointer-events:auto;display:flex;align-items:center;padding:6vw;z-index:10}.title-card{text-align:center;color:#fff4d4;width:370px;text-shadow:0 2px #173d32}.title-card h1{font-family:Georgia,'Times New Roman',serif;font-size:74px;font-weight:700;letter-spacing:-4px;margin:12px 0 8px;line-height:1.1}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.11em;color:#597145}.title-card .eyebrow{color:#e2ebc3;font-size:13px}.title-rule{display:flex;align-items:center;justify-content:center;gap:16px;color:#e3c878;margin:17px 35px}.title-rule:before,.title-rule:after{content:'';height:1px;flex:1;background:#d7c48199}.title-intro{font-size:23px;font-weight:700;margin:20px 0 12px;color:#fff0c7}.title-description{font-size:17px;line-height:1.6;color:#edf0d7;margin:0 0 24px}.title-card .button.big{width:100%;margin-bottom:10px}.title-card .text-button{color:#fff4d1;font-size:16px}.edition{display:block;font-size:12px;font-weight:700;letter-spacing:.1em;color:#d4e1c2;margin-top:20px}.title-note{position:absolute;bottom:24px;left:6vw;color:#f0eed4;font-size:14px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 19px;border:2px solid #3c5332;border-radius:8px;background:#e5e7bf;box-shadow:inset 0 1px #ffffff88,0 2px 0 #3b4d2d44;font-size:16px;font-weight:750;line-height:1.3}.button:hover{background:#f5f0d1}.button.primary{background:linear-gradient(#86af52,#638c38);color:#fffce5;border-color:#34512b;box-shadow:inset 0 2px #bedb8a88,0 3px 0 #27462b;text-shadow:0 1px #355028}.button.primary:hover{background:linear-gradient(#98be64,#739c43)}.button.secondary{background:#f7e8c5;border-color:#8a9168;box-shadow:none;color:#334c30}.button.gold{background:#f1cb73;border-color:#8d6e35;color:#45391e}.button.big{min-height:52px;font-size:18px;font-weight:800;padding:13px 22px}.button:disabled{background:#e3d8b8;color:#6d725a;border-color:#a6aa8a;box-shadow:none;text-shadow:none;opacity:.85}.button .pixel-icon{width:25px;height:25px}.text-button{border:0;background:transparent;padding:10px 4px;font-size:15px;font-weight:700;color:#465f38;text-decoration:underline;text-underline-offset:4px}.button-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}.centered{justify-content:center}.modal-backdrop{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:26px;background:#0c302b99;pointer-events:auto;z-index:30}.modal{width:min(940px,100%);max-height:calc(100dvh - 52px);display:flex;flex-direction:column;overflow:hidden;outline:none;border-radius:12px;box-shadow:inset 0 0 0 2px #fff9e8,inset 0 0 0 5px #d9bb85,0 8px 0 #163c2d70}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:22px 28px 18px;border-bottom:1px solid #b1ad7c99;background:#fff3d6}.modal-header h2{margin:0;font-size:28px;line-height:1.2;font-weight:800;letter-spacing:-.5px}.modal-header .eyebrow:empty{display:none}.close-button{width:42px;height:42px;border:1px solid #8f9871;border-radius:7px;background:#f3e8c5;font-size:30px;line-height:1;color:#405835;font-weight:700}.close-button:hover{background:#fff9e4}.modal-content{padding:26px 28px;overflow:auto;overscroll-behavior:contain;scrollbar-color:#9c9c67 #ead9b0;scrollbar-width:thin;min-height:0}.modal-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 28px;border-top:1px solid #b1ad7c77;font-size:14px;color:#536742}.modal-footer kbd{font-size:13px}.modal-footer #modal-footer-note:empty{display:none}.modal p{font-size:16px;line-height:1.5;font-weight:600;color:#465e36;margin:0 0 17px}.modal h3{font-size:24px;font-weight:800;line-height:1.2;margin:0 0 12px}.modal .small-muted{font-size:14px;color:#536742}.modal .inline-note{margin:14px 0 0;font-size:15px;color:#655b35}.empty-state{padding:28px;text-align:center;font-size:18px}.large-emblem{display:flex;align-items:center;justify-content:center;width:82px;height:82px;background:#e4e8be;border:2px solid #b8c18c;border-radius:24px;margin-bottom:18px;flex-shrink:0}.large-emblem .pixel-icon{width:52px;height:52px}.detail-status{padding:12px 15px;background:#dce8b9;border:1px solid #9fb278;border-radius:7px;color:#385a2d;font-size:17px;font-weight:800}.coin-inline{display:inline-flex;align-items:center;gap:7px;font-size:20px;font-weight:800;color:#665021}.coin-inline .pixel-icon{width:25px;height:25px}
.inventory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.item-card{display:grid;grid-template-columns:44px 1fr;gap:2px 12px;align-items:center;border:1px solid #b3b58b;border-radius:9px;padding:17px;background:#fff9e444}.item-card>.pixel-icon{width:42px;height:42px;grid-row:1/3}.item-amount{font-size:26px;font-weight:800;line-height:1.1}.item-name{font-size:16px;font-weight:700;color:#48613a}.inventory-summary{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #b4b58b;margin-top:24px;padding-top:17px;font-size:17px}.inventory-summary>span{display:flex;align-items:center;gap:9px}.sale-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;font-size:16px}.row-list{display:flex;flex-direction:column;gap:10px}.item-row{display:flex;align-items:center;gap:16px;border:1px solid #b2b68a;border-radius:9px;padding:14px 16px;background:#fff8e344}.item-row>.pixel-icon{width:39px;height:39px}.row-info{flex:1;min-width:0}.row-info h3{font-size:19px;margin-bottom:4px}.row-info p{font-size:15px;margin:0;color:#526642}.sell-controls{display:flex;gap:8px}.sell-controls .button{padding:9px 11px;min-width:100px}.sell-controls .pixel-icon{width:20px;height:20px}
.craft-layout{display:grid;grid-template-columns:1fr 1.25fr;gap:28px;align-items:start}.recipe-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.recipe-card{position:relative;min-height:132px;padding:14px 10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;border:2px solid #b2b68b;border-radius:10px;background:#f4e9c9;color:#425a33;font-size:16px;font-weight:800;line-height:1.25}.recipe-card .pixel-icon{width:43px;height:43px}.recipe-card:hover{background:#fff6da}.recipe-card.selected{border:3px solid #567e3c;background:#e0e9b7;box-shadow:0 3px 0 #78965444;padding:13px 9px}.recipe-done{position:absolute;right:8px;top:5px;color:#416d35;font-size:19px}.craft-detail{border-left:1px solid #b4b88b;padding-left:28px;min-height:310px}.craft-detail .large-emblem{display:none}.craft-detail .recipe-benefit{min-height:44px}.craft-detail .button.big{width:100%;margin-top:22px}.cost{display:flex;flex-direction:column;gap:9px;margin:18px 0}.ingredient{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #acb97f;border-radius:7px;background:#e6ecc8;color:#36562d;font-size:16px}.ingredient>.pixel-icon{width:28px;height:28px}.ingredient-name{flex:1;font-weight:750}.ingredient strong{font-size:20px;font-weight:800;white-space:nowrap}.ingredient .of{font-size:17px;font-weight:700;color:#536b40}.ingredient.missing{border-color:#bb8e64;background:#f4dfbb;color:#744a28}.ingredient.missing .of{color:#7b5b35}.quantity-choice{display:flex;gap:0;border:1px solid #a2af7c;border-radius:7px;overflow:hidden;width:fit-content;margin-top:15px}.quantity-choice button{border:0;border-right:1px solid #a2af7c;padding:8px 17px;background:#f4e7c4;font-size:15px;font-weight:750}.quantity-choice button:last-child{border:0}.quantity-choice .selected{background:#d5e5a7;color:#34552a}.craft-layout.single-recipe{display:block;max-width:400px;margin:auto}.single-recipe .recipe-grid{display:none}.single-recipe .craft-detail{border:0;padding:0;min-height:0;text-align:center}.single-recipe .large-emblem{display:flex;margin:0 auto 16px}.single-recipe .recipe-benefit{min-height:0}.single-recipe .ingredient{text-align:left}
.skills-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:3px;font-size:16px}.skills-intro p{margin:0}.skill-point-count{display:flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid #a3b47c;background:#e1e8bb;border-radius:7px;font-size:21px;font-weight:800}.skill-point-count .pixel-icon{width:25px;height:25px}.split-panel{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(245px,1fr);gap:22px;align-items:center}.hex-board{position:relative;width:100%;aspect-ratio:1.07;isolation:isolate}.hex{position:absolute;width:17.3%;height:22.7%;transform:translate(-50%,-50%);clip-path:polygon(50% 0,98% 25%,98% 75%,50% 100%,2% 75%,2% 25%);border:0;background:#a1b082;padding:0;text-align:center}.hex:active:not(:disabled){transform:translate(-50%,-50%)}.hex:before{content:'';position:absolute;inset:2px;clip-path:inherit;background:#f5edcd}.hex-inner{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 4px;height:100%;line-height:1.1}.hex .pixel-icon{width:33px;height:33px}.hex-name{font-size:14px;line-height:1.15;font-weight:800;max-width:85px}.hex-cost{font-size:15px;font-weight:800;line-height:1;color:#41662f}.hex.available{background:#ad862f}.hex.available:before{background:#f6e5ac}.hex.owned{background:#4c733b}.hex.owned:before{background:#b0ce82}.hex.hidden{background:#91a890}.hex.hidden:before{background:#c8d8c2}.hex.hidden .hex-symbol{color:#5a7c67}.hex-symbol{font-size:32px;font-weight:800;line-height:1}.hex.selected{background:#355c32}.hex.selected:before{inset:4px;background:#e5edb7}.hex.camp{background:#597244;pointer-events:none}.hex.camp:before{background:#3c5937}.hex.camp .pixel-icon{width:36px;height:36px}.detail-card{border-left:1px solid #b5b88a;padding:15px 0 15px 24px;min-height:250px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.detail-card .large-emblem{width:66px;height:66px;border-radius:18px;margin-bottom:15px}.detail-card .large-emblem .pixel-icon{width:42px;height:42px}.detail-card p{font-size:17px;line-height:1.5;margin-bottom:22px}.detail-card .button{margin-top:7px}.detail-card h3{font-size:25px}.first-choices{aspect-ratio:1.1}.first-choices .hex{width:25%;height:32%}.first-choices .hex-name{font-size:17px;max-width:110px}.first-choices .hex .pixel-icon{width:39px;height:39px}.first-choices .hex.camp{width:21%;height:27%}.map-board .hex-name{font-size:14px;max-width:115px}.map-board .hex .pixel-icon{width:37px;height:37px}.map-board .hex-cost{font-size:14px}.land-price{font-size:25px;margin:4px 0 18px}.landmark-hero{display:flex;align-items:center;gap:22px}.landmark-hero .large-emblem{margin:0}.landmark-hero p{margin:0;font-size:18px}.modal-landmark{max-width:590px}.modal-landmark .cost{margin-top:25px}.modal-landmark .detail-status{margin-top:22px}
.modal-bed{max-width:500px}.farm-focus{text-align:center;display:flex;align-items:center;flex-direction:column;gap:0;padding:5px 5px 0}.farm-focus h3{font-size:25px}.crop-emblem{width:102px;height:102px;display:flex;align-items:center;justify-content:center;border:2px solid #adbf80;background:#e4ecc4;border-radius:30px;margin:0 0 20px}.crop-emblem .pixel-icon{width:66px;height:66px}.crop-yield{display:flex;align-items:center;justify-content:center;gap:14px;margin:5px 0 25px;font-size:24px;font-weight:800}.crop-yield span{display:flex;align-items:center;gap:5px}.crop-yield .pixel-icon{width:30px;height:30px}.crop-yield .yield-bonus{font-size:19px}.farm-focus>.button.big{min-width:240px}.bed-move{margin-top:17px;font-size:15px}.crop-choices{display:flex;gap:16px;margin-bottom:23px}.crop-choice{width:145px;height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:2px solid #abb887;border-radius:12px;background:#f5e9ca;font-size:18px}.crop-choice .pixel-icon{width:50px;height:50px}.crop-choice.selected{border:3px solid #547d3d;background:#dfeabd}
.modal-pause{max-width:690px}.resume-button{width:100%;margin-bottom:24px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.setting-card{padding:16px;border:1px solid #b2b88a;border-radius:9px;background:#fff7df55;display:flex;flex-direction:column;gap:12px;align-items:flex-start}.setting-card.full{grid-column:1/-1}.setting-card label{font-size:17px;font-weight:800}.setting-card select{width:100%;padding:9px;border:1px solid #93a174;border-radius:6px;background:#f9efd3;font-size:16px;font-weight:700}.setting-card .button{min-height:40px}.setting-card input[type=range]{width:100%;accent-color:#648d40}.setting-card label span{color:#5c703f;margin-left:6px;font-size:15px}.save-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}.save-explainer{font-size:14px!important;margin:11px 0 0!important}.danger{color:#845036!important}.reset-confirm{padding:17px;border:1px solid #b88e63;background:#f0dcb7;border-radius:9px;margin-top:18px}.reset-confirm p{font-size:16px;margin:0}.modal-help{max-width:650px}.help-grid{display:grid;grid-template-columns:1fr;gap:0}.help-control{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #b4b88b80;gap:20px;font-size:18px}.help-control kbd{font-size:16px}.help-note{margin:22px 0 0!important;text-align:center}.victory{text-align:center;padding:0 15px 10px}.victory-emblem{font-size:76px;color:#bd9546;line-height:1.1}.victory h3{font-size:28px;margin:15px 0}.victory-stats{display:flex;justify-content:center;gap:40px;margin:24px 0}.victory-stats b{display:block;font-size:33px;font-weight:800}.victory-stats span{font-size:16px;color:#4c6438}.toast-stack{position:absolute;top:94px;left:50%;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;gap:8px;z-index:50;max-width:min(90vw,480px);pointer-events:none}.toast{padding:12px 18px;border:1px solid #d3e1aa;border-radius:9px;background:#214e3ff5;color:#fff1cf;font-size:16px;font-weight:700;line-height:1.4;text-align:center;box-shadow:0 3px 0 #143f2f66}.toast.special{background:#fff0cf;color:#345c35;border:2px solid #a88b3e}.toast.out{opacity:0;transition:opacity .2s}.no-script{position:absolute;inset:20%;background:var(--paper);padding:30px;font-size:20px}
@media(min-width:1500px){.title-screen{padding-left:9vw}.title-note{left:9vw}.title-card{width:410px}.title-card h1{font-size:84px}.resource-bar{top:23px;left:24px}.top-right{top:23px;right:24px}.objective{top:23px}.bottom-center{bottom:25px}}
@media(max-width:1050px){.objective{top:83px;font-size:15px;max-width:370px}.objective-progress{font-size:14px}.toast-stack{top:153px}.controls-hint{gap:6px;left:13px;font-size:12px}.controls-hint span:nth-child(3){display:none}.modal{width:min(860px,100%)}.split-panel{grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);gap:12px}.modal-content{padding:23px}.detail-card{padding-left:19px}.hex-name{font-size:14px}.first-choices .hex-name{font-size:16px}}
@media(max-width:760px){.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px)}.modal-header{padding:17px 20px}.modal-header h2{font-size:25px}.modal-content{padding:20px}.modal-footer{padding:11px 20px;font-size:14px}.modal-footer #modal-footer-note{display:none}.craft-layout{grid-template-columns:1fr;gap:20px}.recipe-grid{display:flex;overflow-x:auto;padding-bottom:4px}.recipe-card{min-width:120px;min-height:115px;font-size:15px}.recipe-card .pixel-icon{width:37px;height:37px}.craft-detail{border-left:0;border-top:1px solid #b4b88b;padding:20px 0 0;min-height:0}.craft-detail .recipe-benefit{min-height:0}.craft-layout.single-recipe .craft-detail{border:0}.split-panel{grid-template-columns:1fr;gap:7px}.hex-board{max-width:490px;margin:auto;aspect-ratio:1.1}.detail-card{border-left:0;border-top:1px solid #b4b88b;padding:20px 0 0;min-height:0}.detail-card .large-emblem{display:none}.detail-card p{font-size:16px;margin-bottom:13px}.hex-name{font-size:14px}.first-choices .hex-name{font-size:16px}.inventory-grid{grid-template-columns:repeat(3,1fr)}.item-card{display:flex;flex-direction:column;gap:7px;padding:13px 8px}.item-name{font-size:14px}.item-amount{font-size:23px}.sell-controls .button{min-width:72px;padding:8px;font-size:14px}.item-row{gap:10px;padding:11px}.item-row>.pixel-icon{width:30px;height:30px}.row-info h3{font-size:17px}.row-info p{font-size:14px}.resource-bar{top:12px;left:12px;padding:8px 4px;min-height:47px}.resource-count{font-size:20px;gap:5px;padding:0 8px}.resource-count .pixel-icon{width:25px;height:25px}.top-right{top:12px;right:12px;gap:6px}.coin-display{min-height:47px;padding:9px 10px;font-size:20px}.skill-shortcut{width:45px;height:50px}.skill-shortcut .pixel-icon{width:26px;height:26px}.small-round{width:37px;height:38px;font-size:22px}.objective{top:76px;max-width:310px;font-size:14px;padding:8px 12px}.objective-progress{font-size:13px}.toast-stack{top:143px}.controls-hint{bottom:15px}.controls-hint span{display:none}.bottom-center{bottom:17px;width:248px}.quickbar button{width:52px;height:56px}.quickbar .pixel-icon{width:29px;height:29px}.xp-wrap>span{font-size:14px}.save-status{font-size:11px;right:13px;bottom:16px}.location-label{font-size:13px;right:13px;bottom:36px}.title-screen{padding:30px;justify-content:center;background:#0c34348c}.title-card{width:350px;max-width:90vw}.title-card h1{font-size:68px}.title-note{left:0;right:0;text-align:center;font-size:13px;bottom:16px}.settings-grid{grid-template-columns:1fr}.skills-intro{font-size:15px}.skills-intro p{font-size:15px}.map-board .hex-name{font-size:14px}.title-card .eyebrow{font-size:12px}.title-description{font-size:16px}}
@media(max-height:650px){.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px)}.modal-header{padding-top:15px;padding-bottom:12px}.modal-content{padding-top:18px;padding-bottom:18px}.modal-footer{padding-top:9px;padding-bottom:9px}.title-card h1{font-size:58px}.title-rule{margin:10px 35px}.title-intro{margin:12px 0}.title-description{margin-bottom:15px}.edition{margin-top:10px}.title-note{bottom:12px}.crop-emblem{width:82px;height:82px;margin-bottom:13px}.crop-emblem .pixel-icon{width:54px;height:54px}.craft-detail .recipe-benefit{min-height:0}.hex-board{max-width:440px}.modal-header h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}.modal.compact-craft{width:min(520px,100%)}
.modal-sell{width:min(480px,100%)}.sell-focus{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:360px;margin:auto}.sale-balance{display:flex;align-items:center;gap:7px;align-self:flex-end;font-size:18px;font-weight:800;color:#655224;margin-bottom:6px}.sale-balance .pixel-icon{width:23px;height:23px}.resource-picker{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;margin:0 0 15px}.resource-picker .text-button{font-size:16px;white-space:nowrap;text-decoration:none}.resource-picker>span{font-size:14px;color:#60734c;white-space:nowrap}.sell-focus .crop-emblem{width:90px;height:90px;margin-bottom:13px}.sell-focus .crop-emblem .pixel-icon{width:55px;height:55px}.sell-focus h3{font-size:27px;margin-bottom:6px}.modal .sale-owned{margin:0 0 23px;font-size:17px}.sale-quantity-label{font-size:16px;margin-bottom:9px}.sale-stepper{display:flex;align-items:center;gap:12px}.sale-stepper .button{width:45px;height:46px;min-height:46px;padding:0;font-size:25px}.sale-stepper input{width:88px;height:46px;text-align:center;border:2px solid #a5b07b;background:#fff7de;border-radius:8px;font-size:23px;font-weight:800;-moz-appearance:textfield}.sale-stepper input::-webkit-inner-spin-button,.sale-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.sale-confirm{width:100%;max-width:320px;margin-top:22px}.modal .sale-note{font-size:15px;color:#546940;margin:15px 0 0}.modal-inventory{max-width:720px}
.quiet-tabs{display:flex;gap:5px;justify-content:center;padding:5px;border:1px solid #aab587;border-radius:10px;background:#e5e2bc;margin-bottom:22px}.quiet-tabs button{flex:1;min-height:43px;border:1px solid transparent;border-radius:7px;padding:8px 12px;background:transparent;color:#4b653a;font-size:16px;font-weight:800}.quiet-tabs button.selected{background:#fbf2d5;border-color:#92a66e;box-shadow:0 2px 0 #718a4a33;color:#2e532b}.quiet-links{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin-top:18px;border-top:1px solid #b5b78b88;padding-top:10px}.quiet-links .text-button{font-size:15px}.craft-focus{display:flex;align-items:center;flex-direction:column;text-align:center;max-width:420px;margin:auto}.craft-focus>.large-emblem{margin:0 auto 16px}.craft-focus>p{max-width:360px}.craft-focus>.cost{align-self:stretch;width:100%;text-align:left;margin:8px 0 18px}.craft-focus>.button.big{width:100%;margin-top:18px}.craft-focus>.quantity-choice{margin:0 auto}.craft-focus>.detail-status{width:100%}.craft-focus>.text-button{margin-top:12px}.modal-inventory .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.modal-inventory .resource-picker{margin:12px 0 0}.modal-station,.modal-commissions,.modal-mastery{width:min(540px,100%)}.modal-journal{width:min(740px,100%)}.modal-journal:has(.style-preview){width:min(540px,100%)}.material-line{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px 16px}.material-line>span{display:inline-flex;align-items:center;gap:7px;font-size:16px;line-height:1.5}.material-line .pixel-icon{width:29px;height:29px}.material-line b{font-size:19px}.production-recipe{display:flex;flex-direction:column;align-items:center;gap:9px;border:1px solid #b0ba88;border-radius:10px;background:#ebedcc;padding:16px;width:100%;margin-bottom:14px}.recipe-arrow{font-size:22px;color:#6a8150}.modal p.batch-note{font-size:15px;margin:0 0 17px}.station-level{align-self:flex-end;font-size:15px;color:#5b7546;margin-bottom:-15px}.work-progress{height:12px;width:100%;border:1px solid #96a374;border-radius:8px;background:#d6dbb7;overflow:hidden;margin:12px 0}.work-progress>span{display:block;height:100%;background:#7ca359;border-radius:inherit}.station-status{font-size:17px;font-weight:800;color:#436333;margin:12px 0 0}.workshop-upgrade{border-top:1px solid #adb58788;padding:17px 8px 5px;width:100%}.reward-line{display:flex;align-items:center;justify-content:center;gap:9px 14px;flex-wrap:wrap;font-size:18px;font-weight:800;color:#58672e;min-height:34px}.reward-line .pixel-icon{width:30px;height:30px}.modal p.reward-caption{font-size:14px;font-weight:700;color:#67754f;margin:14px 0 8px}.mastery-points{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:800;margin:5px 0}.mastery-points .pixel-icon{width:25px;height:25px}.skill-preview{display:flex;flex-direction:column;gap:9px;width:100%;padding:12px;border:1px solid #b3bf8c;border-radius:8px;background:#e9edc8;margin:-8px 0 17px;font-size:15px}.skill-preview>span{display:flex;flex-direction:column;gap:3px}.skill-preview b{font-size:18px;color:#3e652f}
.hex-viewport{height:432px;max-width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#98a16a #e6e3bf;border:1px solid #bdc49a;border-radius:13px;background:radial-gradient(ellipse at center,#e7edcc,#e0dfb961);cursor:grab;touch-action:none;user-select:none;outline-offset:3px;margin-top:17px}.hex-viewport.dragging,.hex-viewport.dragging .hex{cursor:grabbing}.hex-board.pannable-board{aspect-ratio:auto;max-width:none;margin:0;position:relative}.pannable-board .hex{width:108px;height:124px}.pannable-board .hex-name{font-size:14px;max-width:88px;line-height:1.12}.pannable-board .hex-inner{gap:4px;padding:10px 6px}.pannable-board .hex .pixel-icon{width:31px;height:31px}.pannable-board .hex-cost{font-size:14px}.pannable-board .island-extension .hex-symbol{font-size:32px;color:#738c4c}.pannable-board.map-board .hex{width:112px;height:128px}.pannable-board.map-board .hex-name{max-width:92px}.pannable-board.map-board .hex .pixel-icon{width:30px;height:30px}.modal-skills .split-panel,.modal-map .split-panel{align-items:start}.modal-skills .detail-card,.modal-map .detail-card{margin-top:20px;min-height:360px}.milestone-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:26px;align-items:start}.milestone-list{display:flex;flex-direction:column;gap:12px}.milestone-choice{display:flex;flex-direction:column;gap:7px;text-align:left;border:2px solid #b3bb8c;border-radius:9px;background:#f7eccf;padding:15px;font-size:16px;line-height:1.3;color:#3e5e34;min-height:89px}.milestone-choice.selected{border-color:#628448;background:#e1e9ba}.milestone-choice strong{font-size:17px}.milestone-choice>span{font-size:14px;color:#63754a}.milestone-detail{border-left:1px solid #b4b88b;padding-left:25px;min-height:270px}.milestone-detail h3{font-size:23px}.milestone-detail .reward-line{justify-content:flex-start;font-size:17px}.milestone-detail>.button{margin-top:20px}.modal p.milestone-progress{font-size:15px;margin:0}.style-preview{position:relative;width:164px;height:166px;margin:-3px auto 19px;border:1px solid #b4c197;border-radius:36px;background:radial-gradient(ellipse,#f3f0cf,#d8e4b8);display:flex;align-items:center;justify-content:center}.style-preview>svg{width:139px;height:143px;image-rendering:pixelated}.preview-companion{position:absolute;right:-13px;bottom:15px;width:52px;height:52px;padding:9px;border:1px solid #a6b482;background:#e9edc8;border-radius:18px}.preview-companion .pixel-icon{width:100%;height:100%}.reward-locked{font-size:16px;font-weight:650;background:#eee5c3;border-color:#b7ac7d}.reward-locked>span{display:block;margin-top:9px;font-size:17px;font-weight:800}.achievement-banner{position:fixed;left:24px;bottom:85px;z-index:55;max-width:min(390px,calc(100vw - 48px));display:flex;align-items:center;gap:15px;padding:17px 20px;border:2px solid #9b9b5e;border-radius:12px;background:#fcf0cd;box-shadow:0 4px 0 #34533b44;color:#3b5a32;pointer-events:auto}.achievement-banner>.pixel-icon{width:44px;height:44px;flex-shrink:0}.achievement-banner>div{display:flex;flex-direction:column;gap:6px}.achievement-banner strong{font-size:18px;font-weight:800}.achievement-banner span{font-size:15px;line-height:1.4}.achievement-banner .text-button{text-align:left;align-self:flex-start;padding:4px 0;margin:0;font-size:15px}
@media(max-width:760px){.hex-viewport{height:340px}.modal-skills .detail-card,.modal-map .detail-card{margin-top:12px;min-height:0}.milestone-layout{grid-template-columns:1fr;gap:20px}.milestone-list{gap:8px}.milestone-choice{min-height:64px;flex-direction:row;align-items:center;justify-content:space-between;padding:12px}.milestone-choice>span{white-space:nowrap}.milestone-detail{border-left:0;border-top:1px solid #b4b88b;padding:20px 0 0;min-height:0}.quiet-tabs{margin-bottom:16px}.quiet-tabs button{padding:7px;font-size:15px}.achievement-banner{left:15px;bottom:87px;padding:13px 15px;max-width:calc(100vw - 30px)}.modal-inventory .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-height:700px){.hex-viewport{height:335px}.modal-skills .detail-card,.modal-map .detail-card{min-height:290px}.craft-focus>.large-emblem{width:65px;height:65px;margin-bottom:12px}.craft-focus>.large-emblem .pixel-icon{width:42px;height:42px}.style-preview{width:135px;height:137px}.style-preview>svg{width:115px;height:120px}}
.style-character{width:160px;height:160px;image-rendering:pixelated}@media(max-height:700px){.style-character{width:130px;height:130px}}
.mastery-points.missing{color:#855432}
.upgrade-preview{width:100%;border:1px solid #aebc84;background:#e7edc7;border-radius:8px;padding:14px;margin:0 0 15px;display:flex;flex-direction:column;gap:12px;text-align:left}.upgrade-preview>span{display:flex;align-items:center;gap:8px;font-size:16px}.upgrade-preview b{margin-left:auto;white-space:nowrap;font-size:18px}.upgrade-preview .pixel-icon{width:25px;height:25px}
.modal-mastery .modal-content{padding-top:18px;padding-bottom:18px}.modal-mastery .quiet-tabs{margin-bottom:14px}.modal-mastery .large-emblem{width:50px;height:50px;margin-bottom:10px;border-radius:16px}.modal-mastery .large-emblem .pixel-icon{width:33px;height:33px}.modal-mastery h3{margin-bottom:8px}.modal-mastery .craft-focus>p{margin-bottom:8px}.modal-mastery .craft-focus>.cost{margin:8px 0 10px;gap:7px}.modal-mastery .ingredient{padding:8px 12px}.modal-mastery .mastery-points{margin:3px 0}.modal-mastery .craft-focus>.button.big{margin-top:12px}@media(max-height:650px){.modal-mastery .large-emblem{display:none}.modal-mastery .modal-content{padding-top:12px;padding-bottom:12px}.modal-mastery .quiet-tabs{margin-bottom:10px}}
.workshop-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #adb58788;padding-top:7px;margin-top:17px;width:100%}.workshop-options .text-button{padding:8px 2px;margin:0;font-size:15px}.salvage-preview{width:100%;border:1px solid #b2bc8a;border-radius:10px;background:#e8edc9;padding:18px;margin:8px 0 3px}.salvage-preview h3{font-size:17px;margin:0 0 13px}.salvage-preview .material-line+h3{margin-top:23px}.salvage-preview .material-line{gap:10px 18px}.dismantle-focus>p{max-width:390px}.modal-station .workshop-options{margin-top:12px}
.title-actions{display:flex;flex-direction:column;gap:10px;margin-bottom:8px}.title-card .title-actions .button.big{margin:0}.title-actions .secondary{text-shadow:none}.pause-adventure-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.pause-adventure-actions .button{width:100%;margin:0}.modal-reset{width:min(510px,100%)}.restart-focus{display:flex;flex-direction:column;gap:13px;text-align:center}.restart-focus>p{margin:0;font-size:18px}.restart-focus .restart-backup-note{font-size:16px;margin:0 0 8px}.restart-focus>.button{width:100%}.restart-focus>.text-button{align-self:center}.modal-reset .modal-content{padding-top:24px;padding-bottom:22px}@media(max-width:500px){.pause-adventure-actions{grid-template-columns:1fr}}@media(max-height:650px){.title-actions{gap:8px}.title-card .title-actions .button.big{min-height:45px;padding:10px 18px}.title-description{margin-bottom:12px}}
.garden-recipe{width:100%;margin:2px 0 20px;text-align:left}.garden-recipe .cost{margin:7px 0 15px}.garden-recipe .recipe-label{display:block;font-size:15px;font-weight:750;color:#526d3e}.garden-recipe .material-line{justify-content:flex-start;margin-top:7px}.modal .garden-benefit{font-size:16px;max-width:375px;margin-bottom:17px}.farm-focus>.material-line{margin:0 0 20px}
.skill-prompt{position:absolute;right:0;top:calc(100% + 10px);display:flex;align-items:center;gap:9px;white-space:nowrap;padding:11px 14px;border:2px solid #a6b76d;border-radius:10px;color:#345b30;font-size:16px;font-weight:700;box-shadow:0 3px 0 #264f3344;pointer-events:auto}.skill-prompt strong{font-weight:850}.skill-prompt>span{display:flex;align-items:center;gap:6px}.skill-prompt kbd{font-size:15px;background:#e2eab9}.skill-prompt:hover{background:#fff8da}.level-ribbon{padding:9px 14px;margin:0 -35px 9px;border:1px solid #a6bf72;border-radius:9px;background:#f6edc7;color:#365b2f;font-size:16px;font-weight:800;text-align:center;box-shadow:0 2px 0 #214a3433}.objective-cta{display:flex;align-items:center;justify-content:center;gap:7px;font-size:15px;font-weight:800;color:#f4e8ad;margin-top:6px}.objective-cta kbd{font-size:14px;color:#2f542f;background:#e7e5b7}.guided-action{outline:2px solid #e5cd79;outline-offset:3px}.quickbar button.guided-action{background:#718f44}@media(max-width:1050px){.skill-prompt{top:calc(100% + 8px);font-size:15px;padding:9px 11px}.objective:has(.objective-cta){max-width:330px;top:141px}}@media(max-width:760px){.skill-prompt{font-size:14px;gap:6px;top:calc(100% + 8px);padding:8px 10px}.skill-prompt kbd{font-size:14px}.objective:has(.objective-cta){top:130px;max-width:300px}.level-ribbon{font-size:15px;margin-left:-22px;margin-right:-22px}}
.learned-ribbon{position:relative;left:50%;transform:translateX(-50%);width:min(420px,calc(100vw - 30px));padding:12px 16px;margin:0 0 10px;border:1px solid #9fb66e;border-radius:10px;background:#f6efcf;color:#355a2f;text-align:center;box-shadow:0 3px 0 #234c3444}.learned-ribbon strong{display:block;font-size:17px;font-weight:850;margin-bottom:5px}.learned-ribbon span{display:block;font-size:15px;font-weight:650;line-height:1.4}.region-navigation{display:flex;align-items:center;gap:12px;margin-bottom:8px}.region-navigation label{font-size:16px;font-weight:800}.region-navigation select{flex:1;min-width:0;padding:10px 12px;border:1px solid #98aa75;border-radius:8px;background:#fcf2d4;color:#395c30;font-size:16px;font-weight:750}.region-navigation .text-button{padding:10px;font-size:16px}.modal p.region-location{margin:0 0 14px;font-size:14px;color:#5a7246}.regional-map .hex-viewport{height:340px}.modal-map.regional-map .detail-card{min-height:300px;margin-top:13px;padding-top:8px}.ferry-route{display:flex;align-items:center;gap:8px;font-size:16px!important;margin-bottom:12px!important}.ferry-route .pixel-icon{width:29px;height:29px;flex-shrink:0}.ferry-fare{display:flex;align-items:center;gap:7px;font-size:16px;font-weight:800;margin:3px 0 14px;color:#66562d}.ferry-fare .pixel-icon{width:24px;height:24px}.map-return{display:flex;justify-content:flex-end;margin-top:16px;border-top:1px solid #b3bb8b;padding-top:13px}.map-return .button{min-height:43px}.modal-animal,.modal-museum,.modal-maker,.modal-puzzle{width:min(540px,100%)}.animal-focus .crop-emblem{width:88px;height:88px;margin-bottom:17px}.animal-focus .crop-emblem .pixel-icon{width:60px;height:60px}.animal-output{padding:14px;border:1px solid #b1bf89;border-radius:9px;background:#e8edc7;width:100%;margin:0 0 10px}.animal-output .recipe-label{display:block;font-size:15px;font-weight:750;margin-bottom:9px;color:#536f40}.animal-focus>.work-progress{margin:11px 0 0}.animal-focus .detail-status{margin-top:10px}.collection-focus{text-align:center;max-width:430px;margin:auto}.collection-focus .collection-reward{font-size:16px;margin:0 0 18px}.donation-list{display:flex;flex-direction:column;gap:9px;margin:15px 0 20px}.donation-row{display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid #b5bc90;border-radius:8px;background:#f9eed1;text-align:left}.donation-row>.pixel-icon{width:32px;height:32px;flex-shrink:0}.donation-row>div{flex:1;display:flex;flex-direction:column;gap:4px}.donation-row strong{font-size:16px;font-weight:800}.donation-row span{font-size:14px;color:#65764e}.donation-row>b{font-size:19px;white-space:nowrap}.donation-row.complete{background:#e0e8be;border-color:#a7bb7e}.collection-focus>.button{width:100%}.modal p.collection-count{font-size:14px;margin:17px 0 0;color:#64794a}.modal p.puzzle-clue{font-size:19px;font-weight:700;line-height:1.55}.puzzle-focus .detail-status{margin-bottom:12px}.station-recipe-line{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0 0 12px;font-size:17px}.station-recipe-line .text-button{font-size:15px;padding:5px 0}.modal-station.has-recipes .large-emblem{width:55px;height:55px;margin-bottom:12px}.modal-station.has-recipes .large-emblem .pixel-icon{width:35px;height:35px}.modal p.next-recipe-note{font-size:15px;margin:8px 0 0;color:#586f3f}.modal-maker .craft-focus>.large-emblem{width:60px;height:60px;margin-bottom:13px}.modal-maker .craft-focus>.large-emblem .pixel-icon{width:38px;height:38px}@media(max-width:760px){.region-navigation{gap:8px}.region-navigation label{display:none}.region-navigation select{font-size:15px}.regional-map .hex-viewport{height:280px}.modal-map.regional-map .detail-card{min-height:0;margin-top:9px}.map-return{justify-content:center}.donation-row{padding:9px}.donation-row>b{font-size:17px}.donation-row span{font-size:14px}.station-recipe-line{font-size:16px}.learned-ribbon strong{font-size:16px}}

/* A quiet garden of skills: color describes the kind of discovery, never its cost. */
.skill-garden .hex-board.pannable-board{margin:0 auto}
.family-gather{--branch:#96723d;--branch-ink:#6e512c;--branch-soft:#f4e8ce;--branch-wash:#e8d4aa}
.family-grow{--branch:#678353;--branch-ink:#3e613b;--branch-soft:#eaf0dc;--branch-wash:#cdddb8}
.family-make{--branch:#a06d59;--branch-ink:#80533f;--branch-soft:#f5e7dc;--branch-wash:#e3c6b4}
.family-explore{--branch:#5f8290;--branch-ink:#3d6371;--branch-soft:#e4eef0;--branch-wash:#c3d9dd}
.modal-skills{width:min(1080px,100%);background:#f6f0dd}.modal-skills .modal-header{background:#fcf7e9;padding:20px 26px 16px}.modal-skills .modal-kicker{color:#738264}.modal-skills .modal-content{padding:19px 26px 20px}.modal-skills .modal-footer{background:#f7f1df}.modal-skills .skills-intro{margin-bottom:15px}.modal-skills .skills-intro p{margin:0;color:#607158;font-size:16px}.modal-skills .skill-point-count{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#e7edda;border:1px solid #c1cdb0;border-radius:20px;color:#42613b;font-size:15px;white-space:nowrap}.modal-skills .skill-point-count>.pixel-icon{width:23px;height:23px}.modal-skills .skill-point-count b{font-size:19px}.modal-skills .skill-garden-layout{grid-template-columns:minmax(0,1fr) 290px;gap:22px}.garden-area{min-width:0}.garden-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:29px}.garden-legend{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.garden-legend>span{display:flex;align-items:center;gap:5px;color:var(--branch-ink);font-size:14px;font-weight:750}.garden-legend .pixel-icon{width:21px;height:21px}.garden-toolbar>.text-button{font-size:14px;white-space:nowrap;padding:4px 0;color:#66715a}.modal-skills .skill-garden{height:clamp(280px,calc(100dvh - 390px),450px);margin-top:9px;border-color:#c4ccb5;border-radius:18px;background:radial-gradient(circle at 50% 45%,#f6f7eb,#e8eddd);scrollbar-color:#b1bda0 #eaf0df}.garden-paths{position:absolute;inset:0;overflow:visible;pointer-events:none}.garden-link{stroke:#c4ccb4;stroke-width:4;stroke-linecap:round}.garden-link.is-grown{stroke:#a5b293;stroke-width:5}.garden-link.is-selected{stroke:var(--branch);stroke-width:5;opacity:.7}.skills-board .skill-tile{width:124px;height:142px;background:#bbc6aa;color:#3b5336}.skills-board .skill-tile:before{inset:2px;background:#fcf9eb}.skills-board .skill-tile .hex-inner{padding:13px 10px 12px;gap:7px}.skills-board .skill-tile .pixel-icon{width:34px;height:34px}.skills-board .skill-tile .hex-name{font-size:14px;line-height:1.17;max-width:102px;font-weight:800}.skills-board .skill-tile.available{background:var(--branch);color:var(--branch-ink)}.skills-board .skill-tile.available:before{background:var(--branch-soft)}.skills-board .skill-tile.owned{background:var(--branch);color:var(--branch-ink)}.skills-board .skill-tile.owned:before{background:var(--branch-wash)}.skills-board .skill-tile.selected{background:#3e5940}.skills-board .skill-tile.selected:before{inset:5px;background:#fffdf1}.skills-board .skill-tile:hover:before{background:#fffdf5}.skills-board .skill-tile:focus-visible{background:#294d3b;outline:0}.skills-board .skill-tile:focus-visible:before{inset:6px}.skill-node-state{font-size:14px;font-weight:850;height:14px;line-height:14px;color:var(--branch-ink)}.skill-tile.available .skill-node-state{font-size:23px;line-height:10px;opacity:.6}.skills-board .skill-tile.camp{width:100px;height:114px;background:#bfcca9;color:#63794e}.skills-board .skill-tile.camp:before{inset:2px;background:#e2e9cf}.skills-board .skill-tile.camp .pixel-icon{width:31px;height:31px}.skills-board .skill-tile.camp .hex-name{font-size:14px}.garden-key{display:flex;align-items:center;gap:15px;margin-top:11px;font-size:14px;color:#67735b}.garden-key>span{display:flex;align-items:center;gap:6px}.garden-key>span:last-child{margin-left:auto}.garden-key i{width:16px;height:17px;border:1px solid #98a889;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-style:normal}.key-available{background:#fcfaee}.key-learned{background:#cdddb8;color:#42613c}.modal-skills .skill-detail{margin-top:0;min-height:0;border:1px solid #c7cdb9;border-radius:16px;background:#fffaf0;padding:21px;display:flex;align-items:flex-start;justify-content:flex-start;box-shadow:0 3px 0 #c8c8aa33}.skill-family-label{display:inline-block;border-radius:20px;padding:5px 10px;background:var(--branch-soft);color:var(--branch-ink);font-size:14px;font-weight:800;margin-bottom:16px}.modal-skills .skill-detail .large-emblem{width:63px;height:63px;margin:0 0 15px;border:1px solid var(--branch-wash);border-radius:20px;background:var(--branch-soft)}.modal-skills .skill-detail .large-emblem .pixel-icon{width:40px;height:40px}.modal-skills .skill-detail h3{font-size:25px;line-height:1.15;margin:0 0 12px;color:#314b35}.modal-skills .skill-detail p{font-size:16px;line-height:1.5;margin:0 0 20px;color:#50664a}.modal-skills .skill-detail .skill-preview{background:#f1f3e6;border-color:#d1d8c0;margin:0 0 18px;padding:12px;font-size:14px;gap:12px}.modal-skills .skill-preview b{display:flex;align-items:center;gap:10px;font-size:18px;color:#627354}.modal-skills .skill-preview b>strong{color:#355d36;font-weight:850}.modal-skills .skill-detail .button{width:100%;margin:0;font-size:16px;min-height:50px;padding:13px 10px}.modal-skills .skill-detail .inline-note{font-size:14px;margin:12px 0 0}.modal-skills .skill-detail .detail-status{font-size:15px;background:#e5ecd7;border-color:#c0cbaa;padding:11px 12px}.modal-skills .quiet-links{margin-top:15px;padding-top:8px}
.modal-ferry{width:min(520px,100%)}.ferry-focus{max-width:400px}.ferry-destination-label{font-size:16px;font-weight:800;margin:0 0 9px;align-self:flex-start}.ferry-focus>select{width:100%;padding:12px 14px;border:1px solid #aab997;border-radius:9px;background:#fff8e4;color:#3c5d36;font-size:16px;font-weight:750}.ferry-postcard{width:100%;margin:20px 0 15px;padding:20px 18px 0;text-align:center}.ferry-postcard .large-emblem{width:77px;height:77px;margin:0 auto 13px;background:#e3ece0;border-color:#a8c2b2;border-radius:24px}.ferry-postcard .large-emblem .pixel-icon{width:46px;height:46px}.ferry-from{display:block;font-size:14px;color:#6b785c;margin-bottom:7px}.ferry-postcard h3{font-size:25px;margin:0 0 11px}.ferry-postcard p{font-size:16px;margin:0;line-height:1.5}.crossing-cost{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px 10px;width:100%;padding:14px 12px;border:1px solid #bdc69d;border-radius:10px;background:#ebeed3;color:#4b6339}.crossing-cost>.pixel-icon{width:25px;height:25px}.crossing-cost>strong{font-size:19px}.crossing-cost>span{flex-basis:100%;font-size:15px;line-height:1.4}.ferry-focus>.button.big{margin-top:18px}.ferry-focus>.inline-note{font-size:15px;margin:13px 0 0}.ferry-link{display:inline-flex;align-items:center;gap:8px}.ferry-link>.pixel-icon{width:25px;height:25px}
@media(max-width:1000px){.modal-skills .skill-garden-layout{grid-template-columns:minmax(0,1fr) 260px;gap:15px}.modal-skills .skill-detail{padding:17px}.garden-legend{gap:8px}.garden-legend>span{font-size:14px}.garden-legend .pixel-icon{display:none}}@media(max-width:760px){.modal-skills .modal-content{padding:18px}.modal-skills .skill-garden-layout{grid-template-columns:1fr}.modal-skills .skill-garden{height:360px}.modal-skills .skill-detail{margin-top:10px}.modal-skills .skill-detail .large-emblem{display:none}.modal-skills .skills-intro{align-items:flex-start;gap:10px}.modal-skills .skills-intro p{font-size:15px;max-width:180px}.modal-skills .skill-point-count{font-size:14px;padding:6px 9px}.modal-skills .skill-point-count>.pixel-icon{display:none}.garden-key{gap:10px;font-size:14px}.garden-key>span:last-child{margin-left:auto}.ferry-postcard{padding-top:9px}}@media(max-height:700px) and (min-width:761px){.modal-skills .modal-header{padding-top:15px;padding-bottom:12px}.modal-skills .modal-content{padding-top:14px;padding-bottom:14px}.modal-skills .skills-intro{margin-bottom:8px}.modal-skills .skill-garden{height:300px}.modal-skills .skill-detail .large-emblem{display:none}.modal-skills .skill-family-label{margin-bottom:10px}.modal-skills .skill-detail p{margin-bottom:13px}.modal-ferry .ferry-postcard{margin:9px 0;padding-top:8px}.modal-ferry .ferry-postcard .large-emblem{width:55px;height:55px;margin-bottom:9px}.modal-ferry .ferry-postcard .large-emblem .pixel-icon{width:34px;height:34px}}
.modal-tidepool,.modal-visitor,.modal-trail{width:min(520px,100%)}.activity-focus{max-width:400px}.activity-focus>.large-emblem{width:66px;height:66px;margin-bottom:16px;border-radius:22px}.activity-focus>.large-emblem>.pixel-icon{width:42px;height:42px}.activity-focus>.quiet-tabs{width:100%;margin:0 0 18px}.activity-focus>.activity-label{font-size:15px;font-weight:750;color:#65724d;align-self:flex-start;margin:0 0 10px}.activity-reward{width:100%;padding:15px 12px;border:1px solid #bec89d;border-radius:10px;background:#ebeed3;margin:0 0 4px}.activity-focus>.inline-note{font-size:15px;margin:13px 0 0}.activity-focus>.button.big{margin-top:19px}.activity-focus>.cost{margin:3px 0 18px}.modal .ripple-bonus{font-size:16px;font-weight:750;color:#697136;margin:14px 0 0}.modal .trail-clue{font-size:19px;line-height:1.6;font-weight:700;margin:9px 0 18px;max-width:370px}.trail-step{font-size:14px;font-weight:750;color:#6b7953;margin-bottom:5px}.trail-reward-description{font-size:17px;line-height:1.5;max-width:360px;margin:0 0 20px;color:#4c683f}.visitor-focus>.large-emblem{width:50px;height:50px;margin-bottom:12px}.visitor-focus>.large-emblem>.pixel-icon{width:32px;height:32px}.visitor-focus>p{font-size:16px;margin-bottom:15px}.visitor-focus>.quiet-tabs{margin-bottom:12px}.visitor-focus>.text-button{font-size:15px;margin-top:10px}@media(max-height:700px){.activity-focus>.large-emblem{width:48px;height:48px;margin-bottom:11px}.activity-focus>.large-emblem>.pixel-icon{width:30px;height:30px}.activity-focus>.quiet-tabs{margin-bottom:12px}.activity-focus>.activity-label{margin-bottom:7px}.activity-focus>.button.big{margin-top:14px}.trail-reward-description{margin-bottom:14px}}
.modal-skills.has-mastery .skill-garden{height:clamp(270px,calc(100dvh - 435px),410px)}
@media(max-width:760px){.modal-skills.has-mastery .skill-garden{height:340px}}
@media(min-width:761px) and (min-height:740px) and (max-height:799px){.modal-skills.initial-garden .skill-garden{height:410px}.modal-skills.initial-garden .modal-content{padding-top:15px;padding-bottom:16px}}

/* A quiet journey, and a lasting record of the world the player made. */
.modal-journey,.modal-victory{width:min(620px,100%);background:#f7f1df}
.modal-journey .modal-header,.modal-victory .modal-header{background:#fff9e9}
.modal-journey .modal-content,.modal-victory .modal-content{padding:22px 26px}
.modal-journey .modal-footer,.modal-victory .modal-footer{background:#f7f1df}
.journey-focus,.completion-focus{max-width:510px;margin:0 auto}
.journey-heading{display:flex;align-items:center;gap:17px;margin-bottom:18px}
.journey-heading>.large-emblem{width:64px;height:64px;min-width:64px;margin:0;border-radius:22px;background:#e7edda;border-color:#becdab}
.journey-heading>.large-emblem>.pixel-icon{width:39px;height:39px}
.journey-heading h3{font-size:25px;line-height:1.2;margin:5px 0 0;color:#304f3a}
.chapter-label{display:block;font-size:13px;letter-spacing:1px;font-weight:850;text-transform:uppercase;color:#6d795b}
.modal p.journey-description{font-size:17px;line-height:1.5;margin:0 0 19px;color:#4e6448}
.journey-progress{display:flex;align-items:center;gap:13px;margin-bottom:19px;font-size:14px;font-weight:800;color:#5a704a}
.journey-progress-track{height:7px;flex:1;overflow:hidden;background:#dce2cb;border-radius:5px}
.journey-progress-track>span{display:block;height:100%;background:#789c62;border-radius:inherit}
.journey-requirements{list-style:none;display:flex;flex-direction:column;gap:10px;padding:0;margin:0 0 21px}
.journey-requirements>li{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #c4ccb3;border-radius:10px;background:#fffaef;color:#48603e}
.journey-requirements .requirement-mark{width:26px;height:26px;flex-shrink:0;border:1px solid #b5c39e;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;background:#f4f5e7;font-weight:850}
.journey-requirements .requirement-mark>.pixel-icon{width:19px;height:19px}
.journey-requirements>li.is-complete{background:#eaf0de;border-color:#becfac}
.journey-requirements>li.is-complete .requirement-mark{background:#718f58;border-color:#718f58;color:#fffce9}
.journey-requirements .requirement-copy{flex:1;min-width:0}
.journey-requirements strong{display:block;font-size:16px;line-height:1.35;font-weight:800}
.journey-requirements .requirement-note{display:block;margin-top:4px;font-size:14px;font-weight:650;color:#63745a;line-height:1.4}
.journey-requirements .requirement-progress{font-size:15px;font-weight:850;white-space:nowrap;color:#547043}
.journey-focus>.button{width:100%;margin:0}
.journey-chapters,.score-details{border-top:1px solid #c9cdb6;margin-top:20px;padding-top:13px;color:#566c4a}
.journey-chapters summary,.score-details summary{cursor:pointer;font-size:15px;font-weight:800;padding:5px 0;list-style-position:inside;text-underline-offset:4px}
.journey-chapters summary:hover,.score-details summary:hover{color:#304e39}
.journey-chapter-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.journey-chapter-list>li{display:flex;align-items:center;gap:11px;font-size:15px;line-height:1.4}
.journey-chapter-list .chapter-number{width:25px;height:25px;display:flex;align-items:center;justify-content:center;border:1px solid #bdc7a9;border-radius:50%;font-size:13px;font-weight:850;flex-shrink:0}
.journey-chapter-list .is-complete{color:#4c7143}
.journey-chapter-list .is-current{font-weight:850;color:#304e39}
.journey-chapter-list .is-current .chapter-number{background:#58784b;color:#fffbe8;border-color:#58784b}
.journey-all-milestones{margin-top:17px;margin-bottom:0;gap:7px}
.journey-all-milestones>li{padding:10px 12px}
.journey-all-milestones strong{font-size:14px}
.journey-finale-cost{margin:0 0 20px}
.journey-finale-cost>.recipe-label{display:block;font-size:15px;font-weight:800;color:#5f7250;margin-bottom:10px}
.journey-finale-cost>.cost{display:grid;grid-template-columns:1fr 1fr;margin:0;gap:8px}
.journey-finale-cost .ingredient{min-width:0;display:grid;grid-template-columns:24px 1fr;gap:2px 8px;padding:9px 11px;align-items:center}
.journey-finale-cost .ingredient>.pixel-icon{grid-row:1/3;width:24px;height:24px}
.journey-finale-cost .ingredient-name{display:block;font-size:13px;white-space:normal;line-height:1.3}
.journey-finale-cost .ingredient>strong{font-size:15px;line-height:1.3}
.modal p.journey-note{font-size:14px;line-height:1.5;color:#6a795d;margin:16px 0 0;text-align:center}
.completion-heading{text-align:center;margin-bottom:19px}
.completion-emblem{display:flex;align-items:center;justify-content:center;width:72px;height:72px;margin:0 auto 12px;border:1px solid #ccd2aa;border-radius:25px;background:radial-gradient(circle,#fffbdf,#e5eacb)}
.completion-emblem>.pixel-icon{width:47px;height:47px}
.completion-heading h3{font-size:27px;line-height:1.2;color:#304f3a;margin:0 0 8px}
.modal p.completion-description{font-size:16px;line-height:1.5;margin:0;color:#5c6d4f}
.adventure-score{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 25px;border:1px solid #3a6250;border-radius:16px;background:radial-gradient(ellipse at top right,#507454,#294d40 80%);color:#fff4d5;box-shadow:inset 0 1px #a3b88a55}
.adventure-score-label{display:block;font-size:15px;font-weight:800;letter-spacing:.3px;color:#dce8c2;margin-bottom:4px}
.adventure-score-value{display:block;font-size:48px;font-weight:850;line-height:1.05;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}
.adventure-score-seal{display:flex;align-items:center;flex-direction:column;gap:6px;min-width:75px;text-align:center;color:#e5d79a;font-size:12px;font-weight:850;letter-spacing:1px;text-transform:uppercase}
.adventure-score-seal>.pixel-icon{width:38px;height:38px}
.score-details{margin-top:14px;padding-top:9px}
.score-breakdown{margin:12px 0 0}
.score-breakdown>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 18px;padding:10px 0;border-bottom:1px solid #d6dac633}
.score-breakdown dt{font-size:15px;font-weight:750;color:#4c6244}
.score-breakdown dd{margin:0;font-size:16px;font-weight:850;font-variant-numeric:tabular-nums;color:#37573b}
.score-maximum{font-size:13px;font-weight:650;color:#718063}
.score-breakdown .score-row-note{grid-column:1/-1;font-size:13px;font-weight:650;color:#6a795f;line-height:1.4}
.score-footnote{font-size:14px;line-height:1.5;color:#68775b;margin-top:13px}
.completion-hub{margin-top:18px;padding:16px 17px;border:1px solid #c6cfb4;border-radius:11px;background:#ecf0dd}
.completion-hub .hub-status{font-size:15px;font-weight:750;line-height:1.45;color:#46613e;margin:0}
.completion-hub.is-posted{background:#e3edda;border-color:#abc39d}
.completion-hub.is-error{background:#f7edce;border-color:#cbbd8b}
.hub-guest-form{display:flex;align-items:flex-end;gap:11px;margin-top:13px}
.hub-initials-label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:800;color:#5b704e}
.hub-initials-input{width:102px;min-height:46px;border:1px solid #a6b793;border-radius:8px;background:#fffbec;padding:8px 10px;text-transform:uppercase;text-align:center;font-size:21px;font-weight:850;letter-spacing:4px;color:#35563b}
.hub-guest-form>.button{flex:1;margin:0;min-height:46px}
.completion-hub>.button{margin-top:13px;width:100%}
.completion-hub .hub-board-link{display:inline-flex;margin:9px 0 0;padding:2px 0;font-size:14px}
.completion-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}
.completion-actions>.button{width:100%;font-size:16px;min-height:48px;padding:11px 12px}
.completion-return{text-align:center;margin-top:12px}
.completion-return>.text-button{font-size:14px;padding:5px 0}
.hub-library-link{display:inline-flex;align-items:center;gap:7px}
.game-ui a.button{text-decoration:none}
.game-ui a:focus-visible,.modal summary:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #24685b;border-radius:4px}
@media(max-width:520px){.modal-journey .modal-content,.modal-victory .modal-content{padding:18px}.journey-heading{gap:12px}.journey-heading h3{font-size:23px}.journey-heading>.large-emblem{width:52px;height:52px;min-width:52px}.journey-requirements>li{padding:11px 10px;gap:9px}.journey-requirements strong{font-size:15px}.adventure-score{padding:20px}.adventure-score-value{font-size:43px}.completion-actions{grid-template-columns:1fr}.completion-hub{padding:14px}.hub-guest-form{gap:9px}.hub-guest-form>.button{font-size:15px;padding:10px}.completion-heading h3{font-size:25px}}
@media(max-height:740px){.completion-heading{display:grid;grid-template-columns:48px 1fr;gap:0 14px;text-align:left;margin-bottom:16px}.completion-emblem{grid-row:1/3;width:48px;height:48px;margin:0;border-radius:17px}.completion-emblem>.pixel-icon{width:32px;height:32px}.completion-heading h3{font-size:23px;margin-bottom:5px}.modal p.completion-description{font-size:15px}.adventure-score{padding:17px 22px}.adventure-score-value{font-size:42px}.completion-hub{margin-top:14px;padding:13px 15px}.completion-actions{margin-top:16px}.modal-victory .modal-header,.modal-journey .modal-header{padding-top:17px;padding-bottom:15px}}

.touch-controls{position:absolute;inset:0;pointer-events:none;z-index:9;touch-action:none}
.touch-controls button{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.touch-stick{position:absolute;left:max(22px,env(safe-area-inset-left));bottom:calc(27px + var(--safe-bottom));width:112px;height:112px;padding:0;border:2px solid #dce8bd8c;border-radius:50%;background:#254b40b8;color:#f7f0cf;box-shadow:0 3px 0 #143d3533;display:flex;align-items:center;justify-content:center}
.touch-stick:active:not(:disabled){transform:none}
.touch-stick-directions{font-size:85px;line-height:1;color:#c3d4a749;pointer-events:none}
.touch-stick-knob{position:absolute;left:calc(50% - 24px);top:calc(50% - 24px);width:48px;height:48px;background:#f3e9cce6;border:2px solid #557455;border-radius:50%;box-shadow:inset 0 2px #fff9e6,0 2px 0 #234a3d55;pointer-events:none}
.touch-control-label{position:absolute;bottom:-23px;left:0;right:0;text-align:center;color:#fff6db;font-size:13px;font-weight:800;text-shadow:0 1px 2px #153c32;pointer-events:none}
.touch-actions{position:absolute;right:max(22px,env(safe-area-inset-right));bottom:calc(28px + var(--safe-bottom));display:flex;align-items:flex-end;gap:12px}
.touch-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:2px solid #47623e;border-radius:24px;background:#f4ebceee;box-shadow:inset 0 2px #fff9e5,0 3px 0 #1e463b66;color:#365337;width:71px;height:76px;font-size:13px;font-weight:850}
.touch-action .pixel-icon{width:27px;height:27px;pointer-events:none}
.touch-gather{width:83px;height:89px;background:#e1e8c7f2}
.touch-gather.is-held{background:#bed89a;border-color:#365c3a;box-shadow:inset 0 2px 5px #31533344}
.touch-mode .controls-hint{display:none}
.touch-mode .skill-prompt kbd,.touch-mode .objective-cta kbd{display:none}
.touch-mode .save-status{bottom:calc(125px + var(--safe-bottom));right:22px}
.touch-mode .location-label{bottom:calc(144px + var(--safe-bottom));right:22px}
@media(max-width:680px){.touch-mode .bottom-center{bottom:calc(135px + var(--safe-bottom));width:248px}.touch-mode .quickbar{gap:8px}.touch-mode .quickbar button{width:49px;height:52px}.touch-mode .quickbar kbd{display:none}.touch-mode .quickbar .pixel-icon{margin-top:0}.touch-mode .save-status{bottom:calc(10px + var(--safe-bottom));right:18px}.touch-mode .location-label{bottom:calc(264px + var(--safe-bottom));left:12px;right:12px;text-align:center;font-size:12px}.touch-mode .achievement-banner{bottom:calc(300px + var(--safe-bottom));left:16px;max-width:calc(100vw - 32px)}.touch-stick{left:20px;width:104px;height:104px}.touch-actions{right:18px;gap:9px}.touch-action{width:62px;height:68px;border-radius:21px}.touch-gather{width:76px;height:82px}}
@media(max-height:500px) and (min-width:681px){.touch-mode .bottom-center{bottom:18px}.touch-mode .quickbar button{height:49px;width:47px}.touch-mode .quickbar kbd{display:none}.touch-mode .quickbar .pixel-icon{margin-top:0}.touch-stick{width:96px;height:96px;bottom:24px}.touch-action{height:66px;width:61px}.touch-gather{height:77px;width:73px}.touch-mode .location-label{bottom:124px;font-size:12px}.touch-mode .save-status{display:none}}
@media(max-width:480px){.touch-mode .resource-count:nth-child(n+3){display:none}.touch-mode .resource-count:nth-child(2){border-right:0}.touch-mode .resource-bar{left:10px;padding:8px 3px;min-height:45px}.touch-mode .resource-count{font-size:18px;padding:0 7px;gap:4px}.touch-mode .resource-count .pixel-icon{width:22px;height:22px}.touch-mode .top-right{right:10px;gap:5px}.touch-mode .coin-display{min-height:45px;font-size:18px;padding:8px;gap:6px}.touch-mode .coin-display .pixel-icon{width:22px;height:22px}.touch-mode .skill-shortcut{width:39px;height:47px}.touch-mode .skill-shortcut .pixel-icon{width:23px;height:23px}.touch-mode .skill-points{font-size:13px;right:4px;bottom:5px}.touch-mode .menu-shortcut{width:34px;height:36px;font-size:21px}.touch-mode .skill-prompt{top:57px}}
@media(max-width:360px){.touch-mode .resource-count{font-size:15px;padding:0 4px;gap:3px}.touch-mode .resource-count .pixel-icon{width:18px;height:18px}.touch-mode .coin-display{font-size:16px;padding:8px 7px;gap:5px}.touch-mode .coin-display .pixel-icon{width:20px;height:20px}.touch-mode .skill-shortcut{width:34px}.touch-mode .menu-shortcut{width:32px}.touch-mode .top-right{gap:4px}.touch-actions{right:12px;gap:6px}.touch-stick{left:12px;width:96px;height:96px}.touch-gather{width:70px}.touch-use{width:58px}}

/* Endless score stays quiet until the player opens it. */
.quickbar .slot-label{position:absolute;bottom:3px;font-size:11px;line-height:1;font-weight:850}
.adventure-score>div:first-child{min-width:0}
.adventure-score-value{overflow-wrap:anywhere}
.modal p.homecoming-score-note{margin:11px 0 0;text-align:center;font-size:14px;font-weight:750;color:#587348}
.modal p.hub-posted-best{display:flex;justify-content:space-between;gap:10px;margin:9px 0 0;font-size:14px;color:#536e49}.hub-posted-best strong{font-variant-numeric:tabular-nums}
@media(max-width:680px){.touch-mode .bottom-center{width:min(274px,calc(100vw - 32px))}.touch-mode .quickbar{gap:6px}.touch-mode .quickbar button{flex-shrink:0;width:48px}.touch-mode .quickbar .slot-label{bottom:5px}}

.adventure-score-exact{display:block;margin-top:7px;font-size:14px;font-weight:750;color:#dce8c2;font-variant-numeric:tabular-nums}
.touch-mode .quickbar [data-open="victory"] .pixel-icon{margin-top:-10px}

@media(max-width:380px){.adventure-score{padding:18px 16px;gap:10px}.adventure-score-seal{min-width:34px}.adventure-score-seal>span{display:none}.adventure-score-seal>.pixel-icon{width:32px;height:32px}.adventure-score-exact{font-size:13px}}
.bed-placement-bar{position:absolute;z-index:6;left:50%;bottom:calc(145px + var(--safe-bottom));transform:translateX(-50%);display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px 12px;align-items:center;width:min(590px,calc(100vw - 32px));padding:12px 14px;border:2px solid var(--outline);border-radius:10px;background:#fff3d9;box-shadow:inset 0 0 0 2px #fff9e8,0 4px 0 #173f3255;pointer-events:auto}
.bed-placement-bar[hidden]{display:none}
.bed-placement-bar>strong{grid-column:1;font-size:17px;line-height:1.3;font-weight:850;color:#304f3a}
.bed-placement-bar>span{grid-column:1;font-size:13px;line-height:1.35;font-weight:700;color:#536745}
.bed-placement-bar>.button{grid-row:1/3;min-height:44px;margin:0;padding:8px 13px;font-size:15px;white-space:nowrap}
#bed-placement-confirm{grid-column:2}#bed-placement-cancel{grid-column:3}
@media(max-width:680px){.bed-placement-bar{grid-template-columns:1fr 1fr;gap:7px 10px;padding:11px 13px;text-align:center;width:min(360px,calc(100vw - 24px))}.bed-placement-bar>strong,.bed-placement-bar>span{grid-column:1/-1}.bed-placement-bar>.button{grid-row:3}#bed-placement-confirm{grid-column:1}#bed-placement-cancel{grid-column:2}.touch-mode .bed-placement-bar{bottom:calc(255px + var(--safe-bottom))}}
@media(max-height:500px) and (min-width:681px){.bed-placement-bar{bottom:calc(124px + var(--safe-bottom));padding:9px 12px}}

.sale-max{width:100%;max-width:320px;min-height:46px;margin-top:10px;font-size:16px;padding:10px 14px}.sale-max:disabled{opacity:.55}
.placing-bed .touch-controls{visibility:hidden;pointer-events:none}
@media(max-height:740px){.sell-focus .crop-emblem{width:64px;height:64px;margin-bottom:9px}.sell-focus .crop-emblem .pixel-icon{width:42px;height:42px}.modal .sale-owned{margin-bottom:15px}.sale-confirm{margin-top:16px}}

/* Learned skills keep their deep leaf fill, including while selected. */
.skills-board .skill-tile.available{background:#829676;color:#263e2c}
.skills-board .skill-tile.available:before{background:#fff8e6}
.skills-board .skill-tile.owned{background:#1f3f2c;color:#fff6d8}
.skills-board .skill-tile.owned:before{background:#355d45}
.skills-board .skill-tile.owned .hex-name{color:#fff6d8;font-weight:850}
.skills-board .skill-tile.owned .skill-node-state{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;line-height:1;border-radius:50%;background:#e1e9bc;color:#24452e;font-size:17px;font-weight:900}
.skills-board .skill-tile.available .skill-node-state{font-size:21px;line-height:14px;font-weight:900;color:#365a3e;opacity:1}
.skills-board .skill-tile.selected{background:#d2a044}
.skills-board .skill-tile.selected:before{inset:5px;background:#fff9e4}
.skills-board .skill-tile.owned.selected:before{background:#2b503b}
.skills-board .skill-tile.available:hover:before{background:#fffdf2}
.skills-board .skill-tile.owned:hover:before{background:#416e50}
.skills-board .skill-tile:focus-visible{background:#f0c567}
.garden-key{color:#465c3e;font-weight:750}.garden-key .key-learned{background:#355d45;border-color:#1f3f2c;color:#fff6d8;font-weight:900}.garden-key .key-available{background:#fff8e6;border-color:#829676}
.garden-link.is-grown{stroke:#728e62;stroke-width:5}.garden-link.is-selected{opacity:1}

.touch-mode .modal-footer kbd{display:none}
@media(max-width:480px){.touch-mode .skill-shortcut{width:44px;min-width:44px;height:47px}.touch-mode .menu-shortcut{width:44px;min-width:44px;height:44px;margin-top:0}}
@media(max-width:360px){.touch-mode .resource-count{font-size:14px;padding:0 2px;gap:2px}.touch-mode .resource-count .pixel-icon{width:16px;height:16px}.touch-mode .coin-display{font-size:14px;padding:8px 4px;gap:3px}.touch-mode .coin-display .pixel-icon{width:16px;height:16px}.touch-mode .top-right{gap:2px}}
.touch-mode.placing-bed .bottom-center,.touch-mode.placing-bed .location-label{visibility:hidden;pointer-events:none}
.touch-mode.placing-bed .bed-placement-bar{bottom:calc(24px + var(--safe-bottom))}

/* v1.2: four readable skill paths, a small next choice, and a quiet first-use cue. */
.family-gather{--branch:#94612e;--branch-ink:#69431f;--branch-owned:#795027;--branch-soft:#fff1d8;--branch-wash:#ead0a5}
.family-grow{--branch:#547541;--branch-ink:#34592e;--branch-owned:#365d39;--branch-soft:#edf4df;--branch-wash:#c9deb3}
.family-make{--branch:#9a594b;--branch-ink:#753e35;--branch-owned:#80463c;--branch-soft:#fce9e1;--branch-wash:#e9beb0}
.family-explore{--branch:#46778b;--branch-ink:#28576a;--branch-owned:#315f72;--branch-soft:#e7f2f6;--branch-wash:#bcd9e4}
.skill-family-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 17px}
.skill-family-tab{display:flex;align-items:center;justify-content:center;gap:9px;min-height:62px;border:2px solid var(--branch-wash);border-radius:13px;background:var(--branch-soft);color:var(--branch-ink);padding:8px;font-size:17px;font-weight:850;text-align:left}
.skill-family-tab>.pixel-icon{width:29px;height:29px}.skill-family-tab span{display:flex;flex-direction:column;gap:3px}.skill-family-tab small{font-size:12px;font-weight:750;opacity:.85}.skill-family-tab.active{border-color:var(--branch);box-shadow:inset 0 -4px var(--branch);background:var(--branch-soft)}.skill-family-tab:focus-visible{outline:3px solid #bd8a36;outline-offset:2px}
.skill-path-summary{font-size:15px;font-weight:800;color:var(--branch-ink)}.skill-view-actions{display:flex;gap:13px}.skill-view-actions .text-button{font-size:13px;min-height:36px;padding:3px 0}.skill-view-actions [aria-current]{color:#344d36;font-weight:850;text-decoration:underline}
.modal-skills .skill-garden{background:var(--branch-soft);border:2px solid var(--branch-wash)}.modal-skills .skill-garden.next-choices{height:250px}.modal-skills .skill-garden.all-paths{background:#f5f2e8}
.skills-board .skill-tile.available{background:var(--branch);color:var(--branch-ink)}.skills-board .skill-tile.available:before{background:var(--branch-soft)}.skills-board .skill-tile.owned{background:var(--branch-ink);color:#fff9e9}.skills-board .skill-tile.owned:before{background:var(--branch-owned)}.skills-board .skill-tile.owned.selected:before{background:var(--branch-owned)}.skills-board .skill-tile.owned:hover:before{background:var(--branch-ink)}.skills-board .skill-tile.selected{background:#d5a32e}.skills-board .skill-tile.selected:before{inset:6px}.skills-board .skill-tile.owned .skill-node-state{background:#fff4d1;color:var(--branch-ink)}.skills-board .skill-tile.available .skill-node-state{color:var(--branch-ink);opacity:1}.garden-link,.garden-link.is-grown{stroke:var(--branch-wash)}.garden-link.is-selected{stroke:var(--branch)}
.skill-section{position:absolute;left:8px;right:8px;border:2px solid var(--branch-wash);border-radius:24px;background:var(--branch-soft);pointer-events:none}.skill-section>strong{position:absolute;top:14px;left:20px;color:var(--branch-ink);display:flex;gap:8px;align-items:center;font-size:18px}.skill-section .pixel-icon{width:24px;height:24px}.skill-path-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:230px;color:#735143;background:#f5e8dd;border-radius:18px;margin-top:9px}.skill-path-empty>.pixel-icon{width:54px;height:54px}.skill-path-empty p{max-width:220px;text-align:center;line-height:1.5}
.modal-skills .skill-detail{border-color:var(--branch-wash);border-top:5px solid var(--branch);background:#fffaf0}.modal-skills .skill-detail h3{color:var(--branch-ink)}.modal-skills .skill-detail .skill-preview{background:var(--branch-soft);border-color:var(--branch-wash);gap:9px}.modal-skills .skill-preview b>strong{color:var(--branch-ink)}.modal-skills .skill-detail .skill-try{padding:12px;border-left:3px solid var(--branch);border-radius:0 8px 8px 0;background:var(--branch-soft);color:var(--branch-ink);font-size:15px;line-height:1.45;margin-bottom:16px}.skill-try>b{display:block;font-size:12px;letter-spacing:.05em;text-transform:uppercase;margin-bottom:5px}.modal-skills .skill-detail .detail-status{background:var(--branch-owned);color:#fff6df;border-color:var(--branch-ink)}
#skill-learned-ribbon{border-color:var(--branch);background:var(--branch-soft);color:var(--branch-ink)}#skill-learned-ribbon strong{color:var(--branch-ink)}
@media(max-width:760px){.skill-family-tabs{gap:5px;margin-bottom:12px}.skill-family-tab{font-size:14px;min-height:62px;gap:0;flex-direction:column;padding:7px 2px;text-align:center}.skill-family-tab>.pixel-icon{width:23px;height:23px}.skill-family-tab span{gap:1px}.skill-family-tab small{font-size:11px}.modal-skills .skills-intro p{font-size:14px}.modal-skills .skill-point-count{font-size:13px}.modal-skills .skill-garden.next-choices{height:220px}.garden-toolbar{align-items:flex-start;gap:4px;flex-direction:column}.skill-view-actions{gap:18px}.skill-view-actions .text-button{min-height:44px;font-size:13px}.modal-skills .skill-detail{padding:16px;margin-top:3px}.modal-skills .skill-detail .skill-family-label{margin-bottom:9px}.modal-skills .skill-detail h3{font-size:23px}.modal-skills .skill-detail .skill-try{font-size:14px}.modal-skills .skill-detail .skill-preview{margin-bottom:12px}.garden-key{font-size:12px}.skill-path-summary{font-size:14px}}

/* Quiet field notes opened only at the player's request. */
.discovery-notes { max-width: 550px; margin: 0 auto; }
.discovery-notes p { color: #3d5747; font-weight: 700; line-height: 1.6; }
.discovery-cue { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 18px 0; }
.discovery-cue span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 2px solid #b6bf97; border-radius: 13px; background: #f4efce; color: #334f42; font-weight: 800; }
.discovery-cue b { color: #56704b; }
@media(max-width:760px){.modal-skills .skill-garden.next-choices{height:auto;max-height:286px}.next-choices .skills-board{width:100%!important;height:auto!important;min-height:120px;display:grid;gap:8px;padding:12px}.next-choices .skills-board .skill-tile{position:relative;left:auto!important;top:auto!important;transform:none!important;clip-path:none;width:100%;height:78px;border-radius:12px}.next-choices .skills-board .skill-tile:before{clip-path:none;border-radius:9px}.next-choices .skills-board .skill-tile .hex-inner{flex-direction:row;justify-content:flex-start;padding:13px;gap:12px}.next-choices .skills-board .skill-tile .hex-name{text-align:left;max-width:none;flex:1;font-size:15px}.next-choices .skills-board .skill-tile .pixel-icon{width:31px;height:31px;flex-shrink:0}.next-choices .garden-paths{display:none}.next-choices .skill-node-state{flex-shrink:0}}

/* Readable startup progress and recovery on slow mobile connections. */
.loading{padding:24px;text-align:center;gap:14px}.loading p{max-width:360px;margin:0;font-weight:750;line-height:1.5}.loading progress{width:min(270px,75vw);height:12px;accent-color:#a9ca73}.loading .loading-detail{font-size:14px;color:#efe3be;overflow-wrap:anywhere;max-width:340px}.loading small{font-size:14px;color:#e7ead1}.loading .button{min-height:48px;padding:12px 28px}.loading [hidden]{display:none!important}

/* v1.6: one reading surface, a quiet guide, and native mobile skill pages. */
.objective{padding:0;overflow:hidden;max-width:min(390px,calc(100vw - 32px));top:max(18px,env(safe-area-inset-top));cursor:default}
.objective-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:44px;padding:10px 15px;background:transparent;border:0;border-radius:0;color:inherit;text-align:left;box-shadow:none}
.objective-toggle:hover,.objective-toggle:active{background:#ffffff0b;transform:none}
.objective-title{font-size:14px;line-height:1.35}.objective-chevron{font-size:20px;flex:none;color:#d6e3b6}
#objective-detail{padding:0 15px 12px;text-align:left}#objective-detail[hidden]{display:none}
.objective .objective-detail{font-size:14px;line-height:1.5;margin:6px 0;color:#e1e7ce}
.objective .objective-cta{display:block;min-height:42px;width:100%;margin:9px 0 0;padding:9px 10px;border:1px solid #b9cf9a77;border-radius:7px;background:#496d4e;color:#fff7df;box-shadow:none;text-align:left;font-size:14px}
.objective .objective-cta kbd{display:none}
.toast-stack{top:auto;bottom:calc(143px + var(--safe-bottom));max-width:min(480px,calc(100vw - 36px));z-index:12}
.toast-stack .toast{font-size:15px;line-height:1.5;text-wrap:pretty;animation:none}
.has-modal .toast-stack,.has-modal .achievement-banner,.reading-dialogue .toast-stack,.reading-dialogue .achievement-banner{visibility:hidden;pointer-events:none}
.reading-dialogue #hud{visibility:hidden;pointer-events:none}
.dialogue-backdrop{position:absolute;inset:0;z-index:35;display:flex;align-items:center;justify-content:center;padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));background:#163b304d;pointer-events:auto}
.dialogue-card{display:flex;flex-direction:column;width:min(510px,100%);max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:0;padding:24px 26px 15px;border-radius:15px;box-shadow:0 8px 0 #173e3544,0 16px 45px #102c3855;color:#354c36;outline:none}
.dialogue-card header{flex:none}.dialogue-card h2{font-size:25px;line-height:1.2;margin:8px 0 16px}.dialogue-card .eyebrow{font-size:11px;letter-spacing:1.7px}
.dialogue-text{overflow:auto;overscroll-behavior:contain;min-height:0;white-space:pre-line;overflow-wrap:anywhere;font-size:18px;line-height:1.65;padding:0 3px 8px 0;scrollbar-gutter:stable}
.dialogue-card footer{display:flex;gap:12px;align-items:center;justify-content:space-between;flex:none;padding-top:16px}.dialogue-card footer button{min-height:44px;font-size:15px;margin:0}.dialogue-card footer .text-button{padding:8px 0}
.dialogue-count{font-size:12px;line-height:1.4;color:#6d7a5e;display:block;margin-top:12px;text-align:right}
.dialogue-journal-list{display:grid;gap:14px}.dialogue-entry{padding:17px 18px;background:#fff8e3;border:1px solid #d7ddc0;border-radius:10px}.modal .dialogue-entry h3{font-size:20px;margin:0 0 9px}.modal .dialogue-entry p{white-space:pre-line;overflow-wrap:anywhere;font-size:17px;line-height:1.65;margin:0 0 10px}.dialogue-entry button{min-height:44px}.dialogue-journal-intro{color:#66775c}
.skill-family-tabs{grid-template-columns:repeat(auto-fit,minmax(108px,1fr))}.skill-family-tabs:empty{display:none}
.family-coast{--branch:#43888e;--branch-ink:#245c64;--branch-owned:#31686b;--branch-soft:#e4f2ed;--branch-wash:#b5dbd5}
.family-stewardship{--branch:#918341;--branch-ink:#665c2e;--branch-owned:#6f663a;--branch-soft:#f4f0da;--branch-wash:#ded7ae}
.family-artisan{--branch:#82709c;--branch-ink:#5c4a77;--branch-owned:#63527d;--branch-soft:#f1eaf7;--branch-wash:#d5c7e1}
.skill-detail-navigation,.skill-card-family{display:none}
.hex-viewport{touch-action:pan-x pan-y}
.modal-backdrop{padding-top:max(26px,env(safe-area-inset-top));padding-right:max(26px,env(safe-area-inset-right));padding-bottom:max(26px,env(safe-area-inset-bottom));padding-left:max(26px,env(safe-area-inset-left))}
.modal-content{overflow-anchor:none}
@media(max-width:1050px){.objective,.objective:has(.objective-cta){top:calc(82px + env(safe-area-inset-top))}}
@media(max-width:760px),(max-height:500px) and (max-width:1000px){
 .resource-bar,.touch-mode .resource-bar{top:calc(12px + env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left))}.top-right,.touch-mode .top-right{top:calc(12px + env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}
 .objective,.objective:has(.objective-cta){top:calc(72px + env(safe-area-inset-top));width:min(330px,calc(100vw - 24px));max-width:none}.objective-toggle{padding:8px 12px;min-height:44px}.objective-title{font-size:13px}#objective-detail{padding:0 12px 10px}
 .touch-mode .skill-prompt{display:none}.touch-mode .toast-stack{top:auto;bottom:calc(268px + var(--safe-bottom))}
 .modal-backdrop{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
 .modal{max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:100%;border-radius:12px}.modal-header{padding:14px 16px 12px}.modal-header h2{font-size:25px}.modal-content{padding:16px;min-height:0;overscroll-behavior-y:contain;scrollbar-gutter:stable}.modal-footer{padding:9px 14px;font-size:12px}.close-button{min-width:44px;min-height:44px}
 .dialogue-backdrop{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.dialogue-card{padding:20px 19px 14px;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.dialogue-card h2{font-size:24px}.dialogue-text{font-size:17px}.dialogue-card footer{gap:8px;flex-wrap:wrap}.dialogue-card footer .button{margin-left:auto}
 .modal-skills .modal-content{padding:14px 16px 20px}.modal-skills .skill-garden-layout{display:block}.modal-skills .skills-intro{margin-bottom:12px}.modal-skills .skills-intro p{font-size:14px;line-height:1.4}.modal-skills .skill-family-tabs{display:flex;overflow-x:auto;gap:8px;padding:2px 1px 10px;margin-bottom:5px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}.modal-skills .skill-family-tabs:empty{display:none}.modal-skills .skill-family-tab{flex:0 0 auto;min-width:110px;min-height:56px;scroll-snap-align:start;padding:8px 10px}.modal-skills .skill-family-tab .pixel-icon{width:26px;height:26px}
 .modal-skills .garden-toolbar{gap:8px;margin-bottom:8px}.modal-skills .garden-toolbar .text-button{min-height:44px}.modal-skills .skill-garden,.modal-skills .skill-garden.next-choices{height:auto;max-height:none;overflow:visible;cursor:default;touch-action:pan-y;border:0;background:none;box-shadow:none}
 .modal-skills .skill-garden .skills-board{display:grid;gap:9px;padding:0;width:100%!important;height:auto!important;min-height:0;position:static}.modal-skills .garden-paths,.modal-skills .skill-section{display:none}
 .modal-skills .skills-board .skill-tile{position:relative;left:auto!important;top:auto!important;transform:none!important;width:100%;height:auto;min-height:82px;clip-path:none;border-radius:10px;margin:0}.modal-skills .skills-board .skill-tile:before{clip-path:none;border-radius:8px;inset:2px}.modal-skills .skills-board .skill-tile.selected:before{inset:4px}.modal-skills .skills-board .skill-tile .hex-inner{display:grid;grid-template-columns:36px minmax(0,1fr) 24px;grid-template-rows:auto auto;align-content:center;align-items:center;gap:3px 12px;position:relative;padding:14px 16px;width:100%;height:auto;text-align:left}.modal-skills .skills-board .skill-tile .pixel-icon{grid-row:1/3;width:34px;height:34px;margin:0}.modal-skills .skills-board .skill-tile .hex-name{font-size:17px;line-height:1.3;max-width:none;margin:0;white-space:normal}.modal-skills .skill-card-family{display:block;grid-column:2;font-size:12px;opacity:.8}.modal-skills .skill-node-state{grid-column:3;grid-row:1/3;justify-self:center}
 .modal-skills .skill-detail{display:none;min-height:0;margin:0;padding:0;border:0;background:none;box-shadow:none}.modal-skills.skills-show-detail .skill-detail{display:block}.modal-skills.skills-show-detail .garden-area,.modal-skills.skills-show-detail .skills-intro,.modal-skills.skills-show-detail .skill-family-tabs,.modal-skills.skills-show-detail .quiet-links{display:none}
 .skill-detail-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-6px 0 14px;color:#65765c;font-size:14px}.skill-detail-navigation button{min-height:44px}.modal-skills .skill-detail h3{font-size:27px;margin:9px 0 14px;outline:none}.modal-skills .skill-detail p{font-size:17px;line-height:1.6}.modal-skills .skill-preview{margin:15px 0}.modal-skills .skill-detail .button{width:100%;min-height:48px;font-size:16px}.modal-skills .skill-detail .skill-try{padding:12px 14px;margin:17px 0}.modal-skills .garden-key{padding-top:14px}
}
@media(max-height:500px){.dialogue-card{padding:14px 20px 10px}.dialogue-card h2{font-size:21px;margin:4px 0 10px}.dialogue-text{font-size:16px;line-height:1.5}.dialogue-card footer{padding-top:8px}.dialogue-count{margin-top:5px}.touch-mode .toast-stack{bottom:calc(118px + var(--safe-bottom));max-width:min(420px,calc(100vw - 250px))}.objective,.objective:has(.objective-cta){width:clamp(180px,calc(100vw - 300px),330px)}.modal-skills .modal-footer{display:none}}

@media(max-width:760px),(max-height:500px) and (max-width:1000px){
 .modal-skills{height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
 .modal-skills .modal-content{flex:1}.modal-skills .modal-footer{display:none}
 .modal-skills.skills-show-detail .modal-content{display:flex;flex-direction:column;overflow:hidden}
 .modal-skills.skills-show-detail .skill-garden-layout{flex:1;min-height:0}
 .modal-skills.skills-show-detail .skill-detail{display:flex;flex-direction:column;height:100%;min-height:0;align-items:stretch;justify-content:flex-start}
 .modal-skills .skill-detail-navigation{flex:none;margin-bottom:8px}
 .modal-skills .skill-detail-body{flex:1;min-height:0;overflow:auto;overscroll-behavior-y:contain;padding-right:5px;scrollbar-gutter:stable}
 .modal-skills .skill-detail-actions{flex:none;padding-top:12px;background:#fff0cf}
 .modal-skills .skill-detail-actions .inline-note{margin:8px 0 0;font-size:14px;line-height:1.4}
}
@media(max-height:640px){.modal-skills .modal-header{padding:10px 14px}.modal-skills .modal-header .eyebrow{display:none}.modal-skills .modal-header h2{font-size:23px;margin:0}.modal-skills .modal-content{padding-top:10px;padding-bottom:12px}.modal-skills .skill-detail h3{font-size:24px;margin:6px 0 10px}.modal-skills .skill-detail p{font-size:16px;line-height:1.5}.modal-skills .skill-detail .skill-try{padding:10px 12px;margin:12px 0}.modal-skills .skill-detail-navigation{margin-bottom:5px}}

.skill-detail-actions{width:100%}.dialogue-text,.dialogue-entry p{user-select:text}

.dialogue-text:focus-visible,.skill-detail-body:focus-visible{outline:2px solid #648455;outline-offset:-2px;border-radius:5px}

/* v1.7: a compact skill catalogue, one family and one branch at a time. */
.modal-skills{width:min(1160px,100%);height:min(800px,calc(100dvh - 52px))}
.modal-skills .modal-header{padding:18px 22px 15px}.modal-skills .modal-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;padding:16px 20px 20px}.modal-skills .modal-footer{display:none}
.modal-skills .skills-intro{flex:none;margin:0 0 14px;gap:12px}.modal-skills .skills-intro p{font-size:14px;color:#65745b;line-height:1.4}.modal-skills .skill-point-count{font-size:14px;padding:7px 10px;gap:6px;background:#e9efdb;border-color:#bbc9a4}.modal-skills .skill-point-count .pixel-icon{width:20px;height:20px}
.skill-workspace{display:grid;grid-template-columns:142px minmax(0,1fr);gap:18px;flex:1;min-height:0}.single-skill-family .skill-workspace{grid-template-columns:1fr}
.modal-skills .skill-family-tabs{display:flex;flex-direction:column;gap:7px;min-height:0;margin:0;overflow:auto;padding:0 5px 3px 0;overscroll-behavior:contain}.modal-skills .skill-family-tabs:empty{display:none}
.modal-skills .skill-family-tab{flex:1 1 0;justify-content:flex-start;min-width:0;min-height:44px;max-height:58px;padding:6px 8px;gap:9px;font-size:14px;border:1px solid transparent;border-radius:9px;background:#e9e4d15c;color:#5a674f;box-shadow:none}.modal-skills .skill-family-tab span{gap:2px;line-height:1.2}.modal-skills .skill-family-tab .pixel-icon{width:25px;height:25px}.modal-skills .skill-family-tab small{font-size:11px;line-height:1.2;font-weight:600;color:inherit}.modal-skills .skill-family-tab.active{background:var(--branch-soft);color:var(--branch-ink);border-color:var(--branch-wash);box-shadow:inset 3px 0 var(--branch)}.modal-skills .skill-family-tab:hover{background:var(--branch-soft)}
.skill-family-mobile{display:none}.modal-skills .skill-garden-layout{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:18px;align-items:stretch;min-height:0}.modal-skills .garden-area{display:flex;flex-direction:column;min-width:0;min-height:0}
.skill-family-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;flex:none;margin:0 0 12px}.skill-family-heading>div{display:flex;gap:8px;align-items:center}.modal-skills .skill-family-heading h3{font-size:22px;color:var(--branch-ink);margin:0}.skill-family-heading .pixel-icon{width:25px;height:25px}.skill-family-heading>span{align-self:center;font-size:12px;color:#6c795f;font-variant-numeric:tabular-nums}.modal-skills .skill-family-heading p{grid-column:1/-1;font-size:13px;line-height:1.4;color:#67775b;margin:0}
.skill-branch-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 12px;flex:none}.skill-branch-tabs>button{min-height:38px;padding:7px 10px;border:1px solid #c4cdb1;border-radius:7px;background:#fbf5e5;color:#53664a;font-size:12px;font-weight:750;line-height:1.3;box-shadow:none}.skill-branch-tabs>button[aria-pressed="true"]{background:#375b42;color:#fff9e8;border-color:#375b42}.skill-branch-tabs>button>span{font-size:11px;margin-left:3px;opacity:.8}
.skill-tree-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:1px 5px 3px 1px;outline:none}.skill-tree-scroll:focus-visible{outline:2px solid #7d996b;outline-offset:1px;border-radius:7px}
.skill-next-list{display:grid;gap:9px}.skill-foundation{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;margin:0 0 12px;padding:9px 12px;border:1px solid #c2cfb0;border-radius:8px;background:#e8efdc;color:#42613c;box-shadow:none;text-align:left}.skill-foundation>span:first-child{font-size:20px}.skill-foundation>span:nth-child(2){flex:1}.skill-foundation strong{display:block;font-size:14px}.skill-foundation small{display:block;font-size:11px;font-weight:650;color:#65785c}.skill-foundation.selected{border-color:#b18b43;box-shadow:inset 3px 0 #c69d4b}
.skill-choice{position:relative;display:flex;align-items:flex-start;gap:11px;width:100%;min-height:84px;padding:13px 12px;text-align:left;border:1px solid #c5d1b4;border-radius:9px;background:#fffaf0;box-shadow:0 2px 0 #4152390b;clip-path:none;color:#345036;transform:none}.skill-choice:hover{background:#fffdf6;border-color:#859c70}.skill-choice.owned{background:#edf2e3;color:#476243}.skill-choice.locked{background:#f0edde;color:#69705c;border-color:#d5d5c2}.skill-choice.selected{border-color:#b18b43;box-shadow:inset 3px 0 #c69d4b;background:#fff8df}.skill-choice.owned.selected{background:#e7efdb}.skill-choice:focus-visible{outline:3px solid #688e57;outline-offset:2px}
.skill-step-mark{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border:1px solid var(--branch-wash);border-radius:9px;background:var(--branch-soft);color:var(--branch-ink);font-size:14px;font-weight:850}.skill-step-mark>.pixel-icon{width:23px;height:23px}.skill-choice.owned .skill-step-mark{background:#537b49;border-color:#537b49;color:#fff8e8}.skill-choice.locked .skill-step-mark{background:#e2e1d1;border-color:#cecfbd;color:#727b65}
.skill-choice-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.skill-choice-copy>strong{font-size:15px;line-height:1.25;font-weight:800}.skill-choice-branch{font-size:10px;font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:var(--branch-ink)}.skill-choice-requires{font-size:11px;line-height:1.4;color:#69775d}.skill-choice-effect{font-size:12px;line-height:1.45;color:#596d4e}.skill-state-label{flex:none;margin-top:2px;font-size:10px;font-weight:800;color:#65765a}.skill-choice.available .skill-state-label{color:#426d37}.skill-choice.is-compact{min-height:71px;padding:11px 12px}
.skill-branch-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.modal-skills .skill-branch-heading h3{font-size:16px;margin:0}.skill-branch-heading>span{font-size:11px;color:#6f7a62}.modal-skills .skill-order-note{margin:5px 0 12px;font-size:12px;color:#708065;line-height:1.4}.skill-step-list{list-style:none;padding:0;margin:0;display:grid;gap:9px}.skill-step-list>li{position:relative}.skill-step-list>li:not(:last-child):after{content:'';position:absolute;left:27px;top:100%;height:9px;border-left:2px solid #bbc8a7}
.skill-state-key{display:flex;gap:16px;flex-wrap:wrap;padding:12px 1px 0;font-size:11px;color:#7a826e;flex:none}.skill-family-rest{text-align:center;border:1px dashed #bdcaaa;border-radius:9px;padding:23px 18px;background:#edf1df6b}.skill-family-rest>.pixel-icon{width:30px;height:30px}.modal-skills .skill-family-rest h3{font-size:18px;line-height:1.35;margin:10px 0}.modal-skills .skill-family-rest p{font-size:14px;line-height:1.5;margin:0;color:#63775a}
.modal-skills .skill-detail{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;height:100%;margin:0;padding:18px;border:1px solid var(--branch-wash);border-top:4px solid var(--branch);border-radius:11px;background:#fffaf0;box-shadow:none}.modal-skills .skill-detail-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}.modal-skills .skill-detail h3{font-size:25px;line-height:1.2;margin:8px 0 10px}.modal-skills .skill-detail p{font-size:15px;line-height:1.6;margin:12px 0}.modal-skills .skill-family-label{font-size:11px;line-height:1.5;margin:0}.skill-detail-state{display:inline-flex;font-size:11px;line-height:1.4;font-weight:800;padding:4px 7px;border-radius:5px;background:#ecf1df;color:#4a6c3c}.skill-detail-state.locked{background:#e9e6d9;color:#767c68}
.skill-requirement{padding:10px 0;border-top:1px solid #d5ddc6;border-bottom:1px solid #d5ddc6;margin:15px 0}.skill-requirement>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#7c846e;margin-bottom:3px}.skill-requirement .text-button{display:block;padding:4px 0;min-height:32px;font-size:13px;color:#536d45;text-align:left}.modal-skills .skill-foundation-note{font-size:12px;color:#738366;margin:10px 0}.modal-skills .skill-preview{padding:11px 10px;margin:15px 0;border-radius:7px}.modal-skills .skill-preview>span{font-size:12px}.modal-skills .skill-preview b{font-size:14px;gap:7px}.modal-skills .skill-detail .skill-try{font-size:13px;line-height:1.5;padding:11px 12px;margin:15px 0 0}.modal-skills .skill-detail-actions{flex:none;padding-top:14px;background:transparent}.modal-skills .skill-detail-actions .button{min-height:48px;font-size:15px}.skill-locked-note{padding:11px 13px;border:1px solid #d8d1b9;border-radius:8px;background:#f2eddd;color:#6e6c53;font-size:14px;line-height:1.5}.modal-skills .skill-detail-navigation{display:none}.modal-skills .quiet-links{flex:none;margin:10px 0 0;padding:0}
@media(min-width:761px) and (max-width:1000px) and (min-height:501px){.skill-workspace{grid-template-columns:120px minmax(0,1fr);gap:12px}.modal-skills .skill-garden-layout{grid-template-columns:minmax(0,1fr) 263px;gap:12px}.modal-skills .skill-family-tab{padding:8px 7px;gap:6px;font-size:13px}.modal-skills .skill-family-tab .pixel-icon{width:22px;height:22px}.modal-skills .skill-detail{padding:14px}.skill-state-label{display:none}.skill-choice{gap:8px;padding:11px 9px}}
@media(max-width:760px),(max-height:500px) and (max-width:1000px){
 .modal-skills{height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.modal-skills .modal-header{padding:11px 15px}.modal-skills .modal-header .eyebrow{display:none}.modal-skills .modal-header h2{font-size:24px}.modal-skills .modal-content{padding:13px 15px 16px}.modal-skills:not(.skills-show-detail) .modal-content{display:block;overflow:auto}.modal-skills .skills-intro{margin-bottom:14px}.modal-skills .skills-intro p{font-size:13px;max-width:175px}
 .skill-workspace,.single-skill-family .skill-workspace{display:block;min-height:0}.modal-skills .skill-family-tabs{display:none}.skill-family-mobile{display:flex;align-items:center;gap:12px;padding:0 0 15px}.skill-family-mobile>span{font-size:12px;color:#617456;white-space:nowrap}.skill-family-mobile select{flex:1;min-width:0;width:100%;min-height:44px;font-size:16px;font-weight:750;background:#fff9e7;border:1px solid #b6c3a2;border-radius:8px;padding:9px 10px}
 .modal-skills .skill-garden-layout{display:block;min-height:0}.modal-skills .garden-area{display:block;min-height:0}.skill-family-heading{margin-bottom:13px}.modal-skills .skill-family-heading h3{font-size:23px}.modal-skills .skill-family-heading p{font-size:14px}.skill-family-heading>span{font-size:11px}.skill-branch-tabs{gap:7px;padding-bottom:14px}.skill-branch-tabs>button{min-height:42px;font-size:12px;padding:8px 11px}.skill-tree-scroll{overflow:visible;max-height:none;height:auto;padding:1px;scrollbar-gutter:auto}.skill-step-list{gap:10px}.skill-choice{padding:13px 11px;gap:10px}.skill-choice-copy>strong{font-size:16px}.skill-choice-requires{font-size:12px}.skill-choice-effect{font-size:13px}.skill-choice.is-compact{min-height:76px}.skill-state-label{font-size:10px}.skill-state-key{padding-top:15px;font-size:12px}
 .modal-skills .skill-detail{display:none}.modal-skills.skills-show-detail .skill-workspace{flex:1;min-height:0}.modal-skills.skills-show-detail .skill-garden-layout{height:100%}.modal-skills.skills-show-detail .skill-detail{display:flex;height:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent}.modal-skills.skills-show-detail .skill-family-mobile{display:none}.modal-skills .skill-detail-navigation{display:flex;flex:none;justify-content:space-between;align-items:center;gap:12px;margin:-5px 0 12px;font-size:13px;color:#6b7a60}.skill-detail-navigation .text-button{min-height:44px;font-size:14px}.modal-skills .skill-detail h3{font-size:27px;margin:8px 0 10px}.modal-skills .skill-detail p{font-size:16px;line-height:1.6}.modal-skills .skill-detail .skill-try{font-size:15px}.modal-skills .skill-detail-actions{padding-top:13px}.modal-skills .skill-detail-actions .button{font-size:16px;min-height:49px}.modal-skills .skill-requirement .text-button{font-size:14px;min-height:40px}.modal-skills .skill-detail-body{padding-right:5px}.modal-skills .skill-detail .skill-preview>span{font-size:13px}.modal-skills .skill-preview b{font-size:16px}.modal-skills .skill-detail-actions .detail-status{display:block}
}
@media(max-height:640px){.modal-skills .skill-detail-navigation{margin-bottom:7px}.modal-skills .skill-detail h3{font-size:24px}.modal-skills .skill-detail p{font-size:16px}.modal-skills .skill-detail .skill-try{margin:12px 0 0}.modal-skills .modal-header{padding-top:9px;padding-bottom:9px}}

/* v1.8: compare useful branches, keep the selected skill within reach. */
.modal-skills .modal-kicker:empty,.modal-field-guide .modal-kicker:empty{display:none}
.modal-skills .modal-header{padding:13px 22px}.modal-skills .skill-family-heading{margin-bottom:11px}.modal-skills .skill-family-heading h3{font-size:23px}.modal-skills .skill-family-heading .skill-point-count{font-size:12px;color:#47633e;padding:5px 8px;gap:4px}.modal-skills .skill-point-count b{font-size:15px}
.modal-skills .skill-foundation{min-height:36px;padding:7px 10px;margin-bottom:10px;gap:8px;box-shadow:none}.modal-skills .skill-foundation>strong{flex:1;font-size:12px}.modal-skills .skill-foundation>small{font-size:10px}.modal-skills .skill-foundation>span:first-child{font-size:15px}
.skill-branch-overview{display:grid;gap:11px}.skill-lane{border:1px solid #c4ceb1;border-radius:10px;background:#fff9e9;overflow:hidden}.skill-lane.is-expanded{border-color:#7a9666;box-shadow:0 2px 0 #4c6b4112}
.skill-lane-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:9px 12px;border:0;border-radius:0;background:var(--branch-soft);color:var(--branch-ink);text-align:left;box-shadow:none}.skill-lane-toggle:hover{background:var(--branch-wash);transform:none}.skill-lane-toggle:focus-visible{outline:3px solid #a17c36;outline-offset:-3px}.skill-lane-toggle>.pixel-icon{width:26px;height:26px;flex:none}.skill-lane-toggle>span:nth-child(2){flex:1;min-width:0}.skill-lane-toggle strong{display:block;font-size:14px;line-height:1.25}.skill-lane-toggle small{display:block;font-size:11px;line-height:1.3;font-weight:500;margin-top:3px;color:#5e7254}.skill-lane-progress{display:flex;align-items:center;gap:9px;flex:none}.skill-lane-progress b{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.skill-lane-progress i{font-size:19px;font-weight:500;font-style:normal}
.skill-path-marks{display:flex;gap:3px;padding:0 12px 0;background:var(--branch-soft)}.skill-path-marks i{height:3px;flex:1;background:#ccd1bb}.skill-path-marks i.owned{background:#53774a}.skill-path-marks i.available{background:#b4883d}
.skill-lane-choices{padding:7px}.skill-lane .skill-choice{min-height:0;border:1px solid transparent;background:transparent;box-shadow:none;padding:7px 6px;gap:9px}.skill-lane .skill-choice.selected{border-color:#c29d53;background:#fff3d3;box-shadow:inset 3px 0 #c69d4b}.skill-lane .skill-choice:hover{border-color:#b2c39e;background:#fffdf5}.skill-lane .skill-choice.locked{background:#ebe9dd}.skill-lane .skill-choice.owned{background:#edf1e3}.skill-lane .skill-choice-copy{gap:3px}.skill-lane .skill-choice-copy>strong{font-size:14px}.skill-lane .skill-choice-effect{font-size:12px;line-height:1.4}.skill-lane .skill-choice-branch{display:none}.skill-lane:not(.is-expanded) .skill-choice.available .skill-choice-requires{display:none}.skill-lane .skill-state-label{font-size:10px}.skill-step-mark{position:relative;border-radius:8px;width:32px;height:32px}.skill-step-mark>i{position:absolute;right:-4px;bottom:-5px;min-width:15px;padding:1px 3px;background:#567647;color:#fffbea;border-radius:4px;font-size:10px;font-style:normal;line-height:1.3}.skill-choice.locked .skill-step-mark>i{background:#77816b}.skill-choice.available .skill-step-mark>i{background:#a17d39}.skill-lane .skill-step-list{gap:6px}.skill-lane .skill-step-list>li:not(:last-child):after{height:6px;left:21px}.skill-lane-complete{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:4px 6px!important;font-size:12px!important;color:#507044!important}.skill-lane-complete span{font-size:11px;color:#738065}.modal-skills .skill-start-note{font-size:13px;color:#6c795e;margin:13px 4px;line-height:1.5}
.modal-skills .skill-detail{padding:16px;border-top-width:3px}.modal-skills .skill-detail-state.available{background:#e7edcc;color:#3d602f}.modal-skills .skill-detail-state.owned{background:#dfead4;color:#38592c}

.modal-field-guide{width:min(1020px,100%);height:min(760px,calc(100dvh - 52px));background:#f6f0dd}.modal-field-guide .modal-header{padding:14px 22px;background:#fcf7e9}.modal-field-guide .modal-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;padding:15px 20px 20px}.modal-field-guide .modal-footer{display:none}
.field-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin-bottom:15px}.field-toolbar .quiet-tabs{margin:0;display:flex;gap:5px}.field-toolbar .quiet-tabs button{min-height:40px;padding:8px 11px;font-size:13px;white-space:nowrap;border-radius:7px}.field-history{font-size:12px;min-height:40px;white-space:nowrap}.field-workspace{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.4fr);gap:19px;flex:1;min-height:0}.field-list-region{display:flex;flex-direction:column;min-height:0}.field-list{overflow:auto;min-height:0;overscroll-behavior:contain;padding:2px 4px 2px 2px;display:flex;flex-direction:column;gap:7px}.field-entry{display:flex;align-items:center;gap:10px;flex:none;width:100%;min-height:65px;background:#eee9d7;border:1px solid #d1d1bb;border-radius:8px;padding:10px;color:#3c573d;text-align:left;box-shadow:none}.field-entry.selected{background:#e5eddb;border-color:#849d71;box-shadow:inset 3px 0 #6f8d59}.field-entry:hover{background:#f9f4e4}.field-entry>span:nth-child(2){flex:1;min-width:0}.field-entry strong{display:block;font-size:14px;line-height:1.3}.field-entry small{display:block;font-size:11px;font-weight:500;color:#6e7b62;margin-top:4px}.field-entry-icon>.pixel-icon{width:26px;height:26px}.field-pinned-label{font-size:10px;background:#d9e5c8;color:#476538;border-radius:4px;padding:3px 5px}.field-pagination{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:9px;flex:none;font-size:12px;color:#748165}.field-pagination .text-button{min-height:44px;font-size:12px}.modal .field-list-empty{font-size:14px;color:#718265;line-height:1.5;padding:15px}
.field-detail{display:flex;flex-direction:column;min-height:0;background:#fff9eb;border:1px solid #c9d0b7;border-radius:11px;padding:20px}.field-detail-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:5px}.field-detail-body:focus-visible{outline:2px solid #7c946a;outline-offset:1px;border-radius:5px}.field-place{display:block;font-size:11px;letter-spacing:.025em;color:#748364;line-height:1.5}.field-detail h3{font-size:25px;line-height:1.2;margin:7px 0 11px;color:#334e34}.field-status{display:inline-block;font-size:11px;line-height:1.3;font-weight:750;color:#7d693e;background:#f0e7cc;padding:4px 7px;border-radius:5px}.field-status.completed{background:#e2ecd4;color:#4a6a3d}.modal .field-detail p{font-size:15px;line-height:1.6;color:#5b6d50;margin:13px 0}.field-progress{display:flex;align-items:center;gap:9px;margin:12px 0}.field-progress progress{width:70px;height:7px;accent-color:#748f5e}.field-progress>span{font-size:12px;color:#6c795e}.field-next{border-left:3px solid #b79b60;padding:3px 0 3px 13px;margin:18px 0}.field-next>strong{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#897240}.modal .field-next p{margin:5px 0;font-size:14px;color:#566c47}.field-clues{margin-top:20px;border-top:1px solid #dedec8;padding-top:14px}.field-clues h4{font-size:13px;color:#526a42;margin:0 0 8px}.field-clues ol{margin:0;padding-left:21px}.field-clues li{font-size:14px;line-height:1.65;padding:5px 0;color:#596e4f}.modal .field-clues .field-no-clues{font-size:13px;color:#7c866f}.field-detail-actions{flex:none;padding-top:14px;border-top:1px solid #dedec8;margin-top:14px}.field-detail-actions .button{width:100%;min-height:46px;font-size:15px}.field-detail-actions small{display:block;text-align:center;font-size:11px;line-height:1.4;color:#7b876d;margin-top:7px}.field-back{display:none}.field-empty{margin:auto;text-align:center;max-width:290px}.field-empty .pixel-icon{width:45px;height:45px}.field-empty h3{font-size:22px;margin-top:13px}.field-empty p{font-size:14px!important;line-height:1.65!important}
.objective.is-pinned .objective-title:before{content:'◇';font-size:16px;color:#ebce84;margin-right:8px}.objective-clear{min-height:38px;padding:6px 3px;margin-top:2px;border:0;background:none;color:#d1ddc3;text-decoration:underline;font-size:12px;box-shadow:none}.objective-clear:hover{background:#ffffff0b}
.field-guardian-link{font-size:13px;line-height:1.5;min-height:44px;text-align:left}.guardian-invitation{max-width:480px;margin:auto}.guardian-invitation-notes{padding:12px 17px;border:1px solid #ced6bb;border-radius:10px;background:#eaf0dc;text-align:left;margin:19px 0}.modal .guardian-invitation-notes p{font-size:15px;line-height:1.6;margin:7px 0}.guardian-invitation>.button{display:block;width:100%;margin-top:12px}.guardian-invitation .field-place{font-size:13px}
@media(max-width:760px),(max-height:500px) and (max-width:1000px){
 .modal-skills .modal-header{padding:10px 15px}.modal-skills .skill-family-mobile{padding-bottom:12px}.modal-skills .skill-family-mobile>span{font-size:12px}.modal-skills .skill-family-heading h3{display:none}.modal-skills .skill-family-heading>div{display:none}.modal-skills .skill-family-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin-bottom:12px}.modal-skills .skill-family-heading p{grid-column:1;grid-row:1;font-size:14px;line-height:1.4}.modal-skills .skill-family-heading .skill-point-count{grid-column:2;grid-row:1;margin:0}.modal-skills.single-skill-family .skill-family-heading>div{display:flex}.modal-skills.single-skill-family .skill-family-heading h3{display:block}.modal-skills.single-skill-family .skill-family-heading p{grid-column:1/-1;grid-row:2}.modal-skills .skill-lane-toggle{min-height:51px;padding:10px}.modal-skills .skill-lane-toggle strong{font-size:15px}.modal-skills .skill-lane-toggle small{font-size:12px}.modal-skills .skill-lane .skill-choice{padding:9px 6px}.modal-skills .skill-lane .skill-choice-copy>strong{font-size:15px}.modal-skills .skill-lane .skill-choice-effect{font-size:13px;line-height:1.5}.modal-skills .skill-lane .skill-state-label{font-size:10px}.modal-skills.skills-show-detail .skill-detail{padding:0}.skill-lane-complete{align-items:flex-start;flex-direction:column}.modal-skills .skill-foundation>small{font-size:10px}.modal-skills .skill-detail .skill-family-label{font-size:11px}.modal-skills .skill-detail-navigation{margin-bottom:9px}.modal-skills .skill-detail-body{scrollbar-gutter:auto}
 .modal-field-guide{height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.modal-field-guide .modal-header{padding:10px 15px}.modal-field-guide .modal-content{display:block;overflow:auto;padding:12px 15px 16px}.field-toolbar{display:block;margin-bottom:10px}.field-toolbar .quiet-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.field-toolbar .quiet-tabs button{font-size:11px;line-height:1.35;white-space:normal;min-height:44px;padding:7px 3px}.field-history{display:block;margin:4px 0 0;min-height:40px;font-size:13px}.field-workspace{display:block;min-height:0}.field-list{overflow:visible;padding:2px}.field-entry{min-height:70px}.field-entry strong{font-size:15px}.field-entry small{font-size:12px}.field-detail{display:none}.field-detail:has(.field-empty){display:flex;margin-top:10px;padding:20px 15px}.field-list-empty{display:none}.modal-field-guide.field-show-detail .modal-content{display:flex;flex-direction:column;overflow:hidden}.field-show-detail .field-toolbar,.field-show-detail .field-list-region{display:none}.field-show-detail .field-workspace{flex:1;min-height:0;display:flex;flex-direction:column}.field-show-detail .field-detail{display:flex;flex:1;min-height:0;padding:0;border:0;border-radius:0;background:transparent}.field-detail-body{padding-right:3px;scrollbar-gutter:auto}.field-back{display:block;min-height:44px;font-size:14px;margin:-4px 0 8px}.field-place{font-size:12px}.field-detail h3{font-size:24px}.modal .field-detail p,.field-clues li{font-size:16px;line-height:1.6}.field-clues h4{font-size:14px}.field-detail-actions{padding-top:10px;margin-top:10px}.field-detail-actions .button{min-height:48px;font-size:16px}.field-detail-actions small{font-size:11px}.field-pagination .text-button{font-size:14px}
}
