@font-face{font-family:PawnPixel;src:url(./pawn-pixel-DW1lc7ml.woff2) format("woff2");font-display:swap;font-weight:100 900}:root{font-family:PawnPixel,Microsoft YaHei,sans-serif;color:#36372e;font-synthesis:none;--wood:#6d482b;--stone:#c6c6c6;--ink:#292a25;--green:#39794b;--paper:#e7dbb4;--outer:#352b22}*{box-sizing:border-box}body{margin:0;background:#443421}button,input,a{font:inherit}button{cursor:pointer}button:disabled{cursor:default;filter:saturate(.35);opacity:.55}button:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #f5d47a;outline-offset:3px}button{touch-action:manipulation}button,a,input{-webkit-tap-highlight-color:transparent}button:disabled:hover{transform:none}img.pixel{image-rendering:pixelated;object-fit:contain;vertical-align:middle;pointer-events:none}button img{width:24px;height:24px}h1,h2,h3,p{margin:0}button{color:inherit}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}.game-shell{height:100svh;min-height:640px;position:relative;isolation:isolate;overflow:hidden}.scene,.scene-shade{position:absolute;inset:0;z-index:-2}.scene canvas{display:block;width:100%;height:100%;touch-action:manipulation}.scene-shade{z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(30,25,18,.24),transparent 28%,transparent 70%,rgba(30,25,18,.22)),linear-gradient(0deg,rgba(37,25,15,.48),transparent 20%,transparent 85%,rgba(37,25,15,.15))}.topbar{position:absolute;top:24px;left:28px;right:28px;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#fff7df;z-index:3;text-shadow:2px 2px #443321}.shop-brand{display:flex;align-items:center;gap:13px}.brand-mark{background:#6d482b;border:3px solid #35271c;box-shadow:inset 3px 3px #ad8656,inset -3px -3px #4c3424,3px 3px #30271e55;padding:9px}.brand-mark img{width:32px;height:32px}.shop-brand h1{font-size:32px;line-height:1.1;font-weight:400;letter-spacing:2px}.shop-brand p{font-size:12px;margin-top:7px;color:#e5d7b6}.day-clock{display:flex;align-items:center;gap:12px;font-size:16px;position:absolute;left:48%;transform:translate(-50%);top:10px}.sun-icon{color:#ffe0a1;font-size:29px;text-shadow:2px 2px #826d40}.day-clock #period-label{font-size:13px;color:#e5dfc8;padding-left:12px;border-left:1px solid #fff4}.top-actions{display:flex;gap:8px;align-items:center}.wallet{display:flex;align-items:center;gap:10px;padding:10px 17px;background:#292a25bf;border:2px solid #c4b38c55;box-shadow:0 3px #30271e33;min-height:48px}.wallet img{width:26px;height:26px}.wallet strong{font-size:27px;line-height:1;font-weight:400}.wallet span{font-size:13px;color:#d4d0b8}.icon-button{background:#332b21a6;border:2px solid #bca88355;width:42px;height:45px;color:#f3e9cd;font-size:24px;text-shadow:2px 2px #30271c}.icon-button:hover{background:#65533ada}.icon-button.muted{color:#c1ac8b}.day-board{position:absolute;top:128px;left:30px;width:172px;background:#33382ddd;border:5px solid #765337;outline:2px solid #3d2c1f;box-shadow:inset 0 0 0 2px #262920,4px 5px #32241933;padding:13px 14px 12px;color:#e6dbb5;font-size:14px}.board-heading{font-size:16px;position:relative;padding-bottom:10px;border-bottom:1px solid #b7bba138}.nail{position:absolute;right:0;top:3px;width:5px;height:5px;background:#9c9b83;box-shadow:1px 1px #21241d}.day-board dl{margin:12px 0}.day-board dl>div{display:flex;justify-content:space-between;margin:12px 0;gap:8px}.day-board dd{margin:0;font-size:16px}.day-board dt{color:#b9bca4}.board-note{font-size:12px;line-height:1.6;border-top:1px solid #b7bba138;padding-top:10px;color:#b8bea1}.positive{color:#39794b}.negative{color:#a34a3e}.day-board .positive{color:#a3d08b}.day-board .negative{color:#eea18c}.customer-label{position:absolute;top:26%;left:40%;transform:translate(-50%);background:#2d302acc;border:1px solid #e0dfbb35;color:#f5edcf;padding:8px 14px;font-size:16px;white-space:nowrap;text-align:center;box-shadow:3px 3px #29281f33}.customer-label>span{font-size:10px;color:#9fcb71;margin-right:6px}.customer-label small{display:block;font-size:11px;margin-top:5px;color:#d1c9ac}.scene-caption{position:absolute;bottom:204px;left:39%;transform:translate(-50%);font-size:13px;white-space:nowrap;color:#f4e8c7;text-shadow:1px 2px #443421;background:#3f342778;padding:6px 10px;border:1px solid #d2c29b22}.trade-panel{position:absolute;top:110px;right:30px;bottom:80px;width:336px;overflow-y:auto;padding:17px 20px 16px;background:#d4d1c5;border:3px solid #352d24;box-shadow:inset 3px 3px #f5f1e2,inset -3px -3px #929085,6px 6px #2c221a55;scrollbar-width:thin;scrollbar-color:#8c8c7e #c7c5b7}.panel-top{display:flex;justify-content:space-between;font-size:12px;color:#727365;padding-bottom:10px;border-bottom:1px solid #a5a699}.customer-heading{display:flex;justify-content:space-between;align-items:center;margin:15px 0 8px}.customer-heading h2{font-size:24px;font-weight:400}.patience{display:flex;gap:5px}.patience i{width:7px;height:7px;background:#adab9e;display:block}.patience i.filled{background:#6a8a51;box-shadow:1px 1px #516542}.customer-quote{font-size:14px;line-height:1.7;color:#6a6759;min-height:48px}.item-summary{display:flex;align-items:center;gap:13px;padding:14px 0;margin-bottom:11px;border-bottom:2px solid #aaa99a}.item-slot{width:68px;height:68px;flex:0 0 auto;display:grid;place-items:center;background:#8c8d7f;box-shadow:inset 3px 3px #53584d,inset -3px -3px #f3efe0;border:2px solid #6e7062}.item-slot img{width:49px;height:49px;filter:drop-shadow(3px 4px #3e3d3440)}.item-slot.enchanted{background:#9b91a1}.item-category{font-size:11px;color:#757765}.item-summary h3{font-size:18px;font-weight:400;margin:4px 0 8px;line-height:1.2}.item-summary p{color:#6a6c5c;font-size:13px}.item-summary p b{color:#454f34;font-size:16px;font-weight:400}.item-summary p img{width:15px;height:15px;margin-left:2px}.inspection-heading{display:flex;justify-content:space-between;font-size:14px;margin:0 0 8px}.inspection-heading small{font-size:12px;color:#82806c}.inspect-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.small-button{font-size:13px;padding:8px 3px;background:#c2c2b4;border:2px solid #777d6b;box-shadow:inset 1px 1px #f3eee0,inset -1px -1px #8a8e7e}.small-button:hover{background:#d3d4bd}.small-button.checked{color:#3f6032;border-color:#778b60;background:#cbd2b8}.clue-box{margin:9px 0 12px;padding:10px 11px;background:#c4c3b4;border-left:3px solid #a5a693;font-size:12px;line-height:1.65;min-height:57px;color:#686b58}.clue-box.good{color:#406537;border-color:#6e8b53;background:#c7d0b7}.clue-box.warn{color:#856239;border-color:#ab8853;background:#d4c9b0}.clue-box.danger{color:#8c4937;border-color:#ad6a50;background:#d7beb0}.valuation{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:5px 8px;font-size:13px;margin-bottom:15px}.valuation strong{font-weight:400;color:#4f6f3d;font-size:17px}.valuation strong img{width:17px;height:17px}.valuation small{width:100%;text-align:right;font-size:11px;color:#858271}.offer-heading{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:8px}.offer-heading>span{font-size:11px;color:#83826f}.offer-control{display:grid;grid-template-columns:38px 1fr 38px;gap:5px;height:43px}.offer-control>button{font-size:23px;background:#b2b8a1;border:2px solid #70785f;box-shadow:inset 2px 2px #dbe0c8,inset -2px -2px #92997e}.offer-control>div{display:flex;align-items:center;justify-content:center;background:#eeeece;border:2px solid #838872;box-shadow:inset 2px 2px #b7b99e}.offer-control img{width:23px;height:23px}.offer-control input{width:75px;color:#3f5631;text-align:center;font-size:26px;background:none;border:0;outline-offset:0;-moz-appearance:textfield}.offer-control input::-webkit-inner-spin-button,.offer-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.offer-range{appearance:none;width:100%;height:5px;background:#969d81;border:1px solid #767d63;margin:16px 0 5px;display:block;cursor:pointer}.offer-range::-webkit-slider-thumb{appearance:none;width:12px;height:15px;background:#c8d2a6;border:2px solid #5a6c46;box-shadow:inset 1px 1px #f5f3d4}.offer-range::-moz-range-thumb{width:10px;height:13px;border-radius:0;background:#c8d2a6;border:2px solid #5a6c46}.negotiation-message{font-size:11px;line-height:1.6;color:#86816d;margin:9px 0 13px;min-height:18px}.negotiation-message.active{color:#955b35;font-size:12px}.trade-actions{display:grid;grid-template-columns:1.7fr 1fr;gap:8px}.mc-button{padding:11px 13px;background:#b6b8ab;border:2px solid #5f6554;box-shadow:inset 2px 2px #e5e8d4,inset -2px -2px #929780,0 2px #413e31;font-size:14px;line-height:1.3;text-align:center;min-height:44px}.mc-button:hover{background:#c3c7b2}.mc-button.primary{background:#627d48;border-color:#354b2a;box-shadow:inset 2px 2px #95a970,inset -2px -2px #445b32,0 2px #2d3b23;color:#fbf3d6;text-shadow:1px 1px #3b5129}.mc-button.primary:hover{background:#728c56}.mc-button.wide{width:100%;display:block;margin-top:12px}.report-button{display:block;width:100%;min-height:48px;margin-top:12px;padding:12px 10px;background:#d6b6a0;border:2px solid #815745;box-shadow:inset 2px 2px #f1d9bd,inset -2px -2px #aa8068,0 2px #654638;color:#613a2d;font-size:16px;line-height:1.3;text-align:center}.report-button:hover{background:#e2c5ad;color:#4c2b20}.mirror-reveal{background:#b2c5be;border:2px solid #64877b;padding:10px;display:grid;gap:6px;font-size:13px;margin-bottom:12px}.mirror-reveal b{font-weight:400;color:#406557}.trade-result{padding:20px 0 8px;text-align:center}.result-icon{display:block;margin-bottom:14px}.result-icon img{height:58px;width:58px}.trade-result h3{font-size:21px;line-height:1.4;color:#4a6a37;font-weight:400;margin-bottom:14px}.trade-result.bad h3{color:#a14c3d}.trade-result p{font-size:14px;line-height:1.8;color:#72705d;margin-bottom:24px}.ownership-note{font-size:12px;margin-top:12px;color:#85806a}.bonus-note{font-size:13px;line-height:1.6;color:#47713b;margin:13px 0;display:block}.trade-result .mc-button{margin-top:14px}.player-badge{position:absolute;left:28px;bottom:28px;display:flex;align-items:center;gap:11px;color:#f0e6c9;text-shadow:1px 2px #33261b}.portrait{width:46px;height:48px;border:3px solid #c2af7a;box-shadow:3px 3px #30261d66;image-rendering:pixelated;background-color:#6b533b}.villager-face{background-image:var(--villager-skin);background-size:320px 320px;background-position:-40px -41px}.player-badge strong{font-size:16px;font-weight:400;display:block}.player-badge span{display:block;font-size:11px;color:#c8ba98;margin-top:6px}.player-badge.perk-active .portrait{border-color:#9dbc7b}.player-badge.perk-active span{color:#bcd38f}.hotbar{position:absolute;left:44%;transform:translate(-50%);bottom:31px;display:flex;background:#4d4c41;border:3px solid #27281f;box-shadow:inset 2px 2px #c0b9a1,3px 3px #241f1a55;padding:4px;gap:3px;z-index:2}.hotbar>button{position:relative;background:#777b6c;border:2px solid #333a2b;box-shadow:inset 2px 2px #a9ac95,inset -2px -2px #565e4d;width:59px;height:59px;display:flex;align-items:center;justify-content:center}.hotbar>button:hover{background:#999d83;border-color:#c7cca9}.hotbar>button>img{width:33px;height:33px;filter:drop-shadow(2px 3px #32372a66)}.hotbar>button>span:not(.chest-icon){position:absolute;top:67px;color:#e9dfbc;font-size:11px;white-space:nowrap;text-shadow:1px 2px #2c241b}.hotbar kbd{position:absolute;top:1px;left:3px;color:#cecfb7;font:10px PawnPixel,sans-serif}.slot-count{position:absolute;bottom:1px;right:3px;font-size:14px;color:#fffde5;font-weight:400;text-shadow:2px 2px #263022}.slot-dot{position:absolute;right:3px;top:3px;width:7px;height:7px;background:#b8df76;border:1px solid #6a8a3e}.chest-icon{width:30px;height:25px;position:relative;background-image:var(--oak-texture);background-size:32px;image-rendering:pixelated;border:3px solid #4e3a24;box-shadow:inset 2px 2px #bd8b4a}.chest-icon:before{content:"";position:absolute;left:-1px;right:-1px;top:6px;border-top:3px solid #4e3a24}.chest-icon:after{content:"";position:absolute;width:5px;height:9px;left:9px;top:5px;background:#d0c9b1;box-shadow:1px 1px #706a54}.help-button{position:absolute;bottom:27px;right:31px;font-size:12px;color:#d9c7a2;background:none;border:0;display:flex;align-items:center;gap:10px;text-shadow:1px 1px #332419}.help-button span{padding:5px 9px;border:2px solid #a48c6555;background:#47382499;color:#ecdfb8;font-size:15px}.loading{position:absolute;inset:0;background:#3c3e32;z-index:20;display:grid;place-content:center;text-align:center;color:#d4d7b3;gap:22px}.loading img{width:56px;height:56px}.loading p{font-size:16px}.toast{position:absolute;z-index:15;left:44%;bottom:138px;transform:translate(-50%);max-width:min(480px,90vw);width:max-content;padding:13px 19px;color:#fff1c7;background:#343d2bef;border:2px solid #b8bb8155;font-size:14px;line-height:1.5;box-shadow:4px 4px #29251b44;pointer-events:none}.scene-fallback{background:#7e9470}.fallback-message{position:absolute;top:40%;left:25%;color:#fff2cd;font-size:22px;text-align:center;line-height:1.8;text-shadow:2px 2px #49432e}.fallback-message small{font-size:14px}.modal-backdrop{position:fixed;inset:0;z-index:30;background:#211b16b8;display:flex;align-items:center;justify-content:center;padding:24px}.mc-modal{width:min(480px,100%);max-height:calc(100svh - 48px);overflow:auto;background:#d4d1c5;border:3px solid #332b22;box-shadow:inset 3px 3px #f0efdf,inset -3px -3px #949587,8px 8px #17181266;scrollbar-width:thin}.mc-modal.wide-modal{width:700px}.mc-modal>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 16px;border-bottom:2px solid #b2b3a3;position:sticky;top:0;background:#d4d1c5;z-index:1}.mc-modal>header h2{font-size:22px;font-weight:400}.close-modal{font-size:24px;border:0;background:none;color:#787d69;padding:0 4px;line-height:1.3}.modal-content{padding:22px}.modal-intro{font-size:14px;line-height:1.8;color:#747460;margin-bottom:20px}.modal-footnote{font-size:12px;color:#82816e;margin-top:22px;line-height:1.7}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.guide-entry{display:flex;align-items:start;gap:11px;padding:18px 0;border-bottom:1px solid #adaf9c}.guide-entry>img{width:35px;height:35px;flex:0 0 auto;margin-top:2px}.guide-entry strong{font-weight:400;display:block;font-size:16px;margin-bottom:7px}.guide-entry span{display:block;font-size:11px;color:#85816b}.guide-entry p{font-size:12px;line-height:1.6;color:#68705a;margin-top:9px}.empty-state{text-align:center;padding:25px 0 32px}.empty-state>img{width:64px;height:64px;opacity:.65}.empty-state h3{font-size:21px;font-weight:400;margin:18px 0 12px}.empty-state p{font-size:14px;color:#80806a;line-height:1.8}.stock-entry{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid #b7b6a5}.stock-entry>img{width:40px;height:40px}.stock-entry>div{flex:1}.stock-entry strong{font-size:15px;display:block;font-weight:400;line-height:1.4}.stock-entry span{font-size:12px;color:#81816d;display:block;margin-top:7px}.stock-entry button{font-size:12px;padding:10px}.ledger-total{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;font-size:14px;color:#72765f}.ledger-total strong{font-size:27px;font-weight:400;color:#466137}.ledger-total img{width:24px;height:24px}.ledger-entries>div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #b6b8a5;font-size:13px}.ledger-entries b{font-weight:400;color:#868570;margin-right:6px}.ledger-entries strong{font-weight:400;font-size:16px}.empty-line{font-size:14px;color:#81826b;text-align:center;padding:30px 0}.reward-hero{text-align:center;padding:8px 0}.reward-hero>img{width:72px;height:72px;filter:drop-shadow(4px 5px #6e6d5430);margin:10px 0 20px}.reward-hero h3{font-size:23px;font-weight:400;line-height:1.4;margin-bottom:16px}.reward-hero p{font-size:14px;line-height:1.9;color:#73755e}.reward-hero p b{font-weight:400;color:#505e41}.reward-tabs{display:flex;border-bottom:2px solid #acaf9b;gap:20px;margin-bottom:15px}.reward-tabs button{font-size:14px;padding:3px 3px 12px;border:0;border-bottom:3px solid transparent;background:none;color:#858771}.reward-tabs button.selected{border-bottom-color:#65804c;color:#405a32}.reward-tag{display:block;color:#6c7f54;font-size:13px;margin-bottom:9px}.reward-status{background:#c2c6b3;border:1px solid #abb19a;padding:13px;text-align:center;font-size:13px;color:#687951;line-height:1.7;margin:20px 0}.reward-actions{display:flex;gap:10px;margin-top:18px}.reward-actions>*{flex:1}.bell-progress{display:flex;justify-content:center;gap:10px;margin:24px 0 15px}.bell-progress>span{width:36px;height:37px;border:2px solid #8d947a;background:#bcc0a9;display:grid;place-items:center;color:#8d947a;font-size:20px}.bell-progress>span.lit{background:#7f955b;color:#f1e8ba;border-color:#5d7545}.centered{text-align:center;color:#7e806b;font-size:14px;line-height:1.8;margin:20px 0}.summary-hero{text-align:center}.summary-hero>img{display:block;width:56px;height:56px;margin:4px auto 20px}.summary-hero>span{font-size:13px;color:#81836f}.summary-hero h3{font-size:25px;font-weight:400;margin:16px 0 5px}.summary-profit{font-size:57px;color:#47703c;font-weight:400;display:block;margin:18px 0}.summary-profit small{display:block;font-size:13px;margin-top:9px;color:#6b7f52}.summary-details{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px;font-size:12px;color:#7b7b68;padding:16px 0;border-top:1px solid #b4b7a0;border-bottom:1px solid #b4b7a0}.summary-line{text-align:center;font-size:14px;color:#79775e;line-height:1.8;margin:22px 0}.summary-hero+.summary-details+.summary-line+.mc-button{margin-top:10px}.help-copy{font-size:14px;line-height:1.9;color:#74745f}.help-copy p{margin-bottom:20px}.help-copy b{font-weight:400;color:#455538}.help-copy ol{padding-left:23px}.help-copy li{padding:0 0 15px}.credits{margin-top:24px;padding-top:16px;border-top:1px solid #b1b59b;font-size:12px;color:#85816a;line-height:1.8}.credits summary{cursor:pointer}.credits p{margin:12px 0}.credits a{color:#577447}.qa-tools{position:fixed;bottom:0;left:0;z-index:100;background:#151515;color:#fff;font:12px sans-serif;display:flex;align-items:center;gap:5px;padding:5px}.qa-tools button{font:12px sans-serif}@media(min-width:1500px){.trade-panel{right:40px;width:356px;top:120px;bottom:118px;padding:22px 24px}.customer-quote{font-size:16px}.clue-box{font-size:14px;min-height:63px}.item-summary{padding:19px 0}.inspect-actions button{font-size:14px;padding:10px 3px}.trade-actions button{font-size:16px}.day-board{top:140px;left:40px;width:185px}.hotbar{left:44%;bottom:42px}.customer-label{left:40%;top:25%}.topbar{left:40px;right:40px;top:30px}}@media(max-height:800px)and (min-width:761px){.topbar{top:17px}.trade-panel{top:90px;bottom:50px;padding:12px 16px;width:316px;right:24px}.customer-heading{margin-top:10px}.customer-heading h2{font-size:21px}.customer-quote{font-size:13px;min-height:42px;line-height:1.6}.item-summary{padding:10px 0;margin-bottom:9px}.item-slot{width:57px;height:57px}.item-slot img{width:41px;height:41px}.item-summary h3{font-size:16px}.clue-box{min-height:47px;font-size:11px;padding:7px 10px;margin:8px 0}.valuation{margin-bottom:9px}.valuation small{font-size:10px}.offer-control{height:37px}.offer-range{margin-top:12px}.negotiation-message{margin:7px 0 9px;min-height:17px}.trade-actions .mc-button{min-height:39px;padding:8px 5px}.report-button{margin-top:7px}.hotbar{bottom:25px}.hotbar>button{width:51px;height:49px}.hotbar>button>img{width:30px;height:30px}.hotbar>button>span:not(.chest-icon){top:55px}.player-badge{bottom:21px}.scene-caption{bottom:168px}.day-board{top:117px;width:155px;left:27px;font-size:12px}.board-heading{font-size:14px}.day-clock{left:46%}.customer-label{font-size:14px}}@media(max-width:1100px)and (min-width:761px){.shop-brand h1{font-size:26px}.brand-mark{padding:7px}.brand-mark img{width:26px;height:26px}.shop-brand p{font-size:10px}.day-clock{left:48%;font-size:13px;gap:8px}.day-clock #period-label{font-size:11px;padding-left:8px}.wallet{padding:10px;gap:7px}.wallet span{display:none}.wallet strong{font-size:24px}.icon-button{width:35px}.trade-panel{width:306px;right:22px;padding:15px 16px}.day-board{width:137px;left:24px;padding:10px}.board-note{font-size:10px}.customer-label{left:37%;top:25%;font-size:14px}.customer-label small{font-size:10px}.hotbar{left:44%;bottom:27px}.hotbar>button{width:48px;height:48px}.hotbar>button>span:not(.chest-icon){top:55px}.player-badge{left:22px;bottom:25px}.player-badge>div:last-child{display:none}.scene-caption{left:37%;font-size:11px;bottom:182px}.trade-actions{grid-template-columns:1.6fr 1fr}.mc-button{font-size:13px}}@media(max-width:760px){body{overflow-x:hidden}.game-shell{height:auto;min-height:100svh;padding:310px 12px 110px;overflow:visible}.scene{height:340px;bottom:auto}.scene-shade{height:350px;bottom:auto;background:linear-gradient(0deg,#443421,transparent 28%,transparent 80%,#30291f55)}.topbar{top:14px;left:15px;right:15px;gap:10px}.brand-mark{padding:5px;border-width:2px}.brand-mark img{width:24px;height:24px}.shop-brand{gap:8px}.shop-brand h1{font-size:24px;letter-spacing:1px}.shop-brand p{font-size:9px;margin-top:5px}.wallet{padding:8px;gap:4px;min-height:38px}.wallet strong{font-size:22px}.wallet img{width:20px;height:20px}.wallet span{display:none}.top-actions{gap:5px}.icon-button{width:32px;height:37px;font-size:20px}#fullscreen-button{display:none}.day-clock{top:58px;left:0;transform:none;gap:8px;font-size:12px}.day-clock .sun-icon{font-size:22px}.day-clock #period-label{font-size:11px;padding-left:8px}.day-board{display:none}.customer-label{top:122px;left:50%;padding:6px 12px;font-size:13px}.customer-label small{font-size:9px;margin-top:4px}.scene-caption{top:280px;bottom:auto;left:50%;font-size:10px;padding:4px 8px}.trade-panel{position:relative;top:auto;right:auto;bottom:auto;width:100%;padding:18px 19px;max-height:none;overflow:visible;box-shadow:inset 3px 3px #f5f1e2,inset -3px -3px #929085,4px 4px #241b1444;z-index:1}.customer-heading{margin-top:12px}.customer-heading h2{font-size:23px}.customer-quote{font-size:14px;min-height:auto;line-height:1.7}.item-summary{padding:13px 0}.item-slot{width:62px;height:62px}.item-slot img{width:44px;height:44px}.clue-box{font-size:13px;min-height:59px}.small-button{min-height:39px}.offer-control{height:44px;grid-template-columns:44px 1fr 44px}.offer-control input{font-size:27px}.offer-range{height:8px;margin:21px 0 12px}.offer-range::-webkit-slider-thumb{width:20px;height:24px}.negotiation-message{font-size:12px}.trade-actions .mc-button{min-height:47px;font-size:15px}.report-button{min-height:52px;padding:14px 10px;font-size:16px}.player-badge{display:none}.hotbar{position:fixed;bottom:env(safe-area-inset-bottom,0px);left:0;transform:none;right:0;justify-content:center;padding:7px 8px 24px;background:#504936;box-shadow:0 -3px #2e291d;gap:5px;border-left:0;border-right:0;z-index:10}.hotbar>button{width:49px;height:48px;flex:0 1 54px}.hotbar>button>img{width:29px;height:29px}.hotbar>button>span:not(.chest-icon){top:52px;font-size:10px}.hotbar kbd{display:none}.help-button{position:absolute;right:19px;top:80px;bottom:auto;font-size:10px}.help-button span{font-size:12px;padding:2px 6px}.toast{position:fixed;left:50%;bottom:110px;font-size:13px;max-width:calc(100vw - 30px);text-align:center}.modal-backdrop{padding:15px}.mc-modal{max-height:calc(100svh - 30px)}.mc-modal>header{padding:17px}.mc-modal>header h2{font-size:21px}.modal-content{padding:18px}.guide-grid{grid-template-columns:1fr}.reward-hero h3{font-size:22px}.reward-hero p,.reward-actions .mc-button{font-size:13px}.reward-hero>img{width:60px;height:60px}.stock-entry{gap:10px}.stock-entry strong{font-size:14px}.ledger-entries>div{font-size:12px}.summary-hero h3{font-size:23px}.summary-details{font-size:11px;gap:8px 13px}.loading{position:fixed}.fallback-message{top:170px;left:0;width:100%;font-size:20px}.fallback-message small{font-size:12px}}@media(max-height:550px)and (min-width:761px){.game-shell{min-height:480px}.topbar{top:12px}.shop-brand h1{font-size:23px}.shop-brand p{display:none}.trade-panel{top:73px;bottom:18px;width:300px}.day-board{top:88px;width:135px}.hotbar{left:36%;bottom:28px}.player-badge{display:none}.customer-label{top:22%;left:37%}.scene-caption{display:none}.help-button{right:350px;bottom:24px}.day-clock{left:44%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}button:active:not(:disabled){transform:none}}@media(max-width:760px){.customer-label{top:91px;left:54%}}.title-mode.game-shell{height:100svh;min-height:660px;padding:0;overflow:hidden}.title-mode .scene,.title-mode .scene-shade{height:100%;bottom:0}.title-screen{position:absolute;inset:0;z-index:5;color:#fff2cd}.title-screen:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#1f1b16d9,#211c167a,#211c1600 72%),linear-gradient(0deg,#211b1680,transparent 20%)}.title-menu{position:relative;top:48%;transform:translateY(-50%);width:clamp(330px,30vw,410px);margin-left:7%;z-index:1;text-align:center}.shop-sign{position:relative;padding:32px 10px 23px;background:#90643c var(--oak-texture);background-size:128px;image-rendering:pixelated;border:7px solid #3a2a1c;box-shadow:inset 3px 3px #c29a62,inset -3px -3px #5e3e24,6px 7px #17171066;text-shadow:3px 3px #49301d}.shop-sign:before,.shop-sign:after{content:"";position:absolute;bottom:100%;height:35px;width:9px;background:#242720;border:2px solid #6c6c56;box-shadow:2px 0 #151812}.shop-sign:before{left:37px}.shop-sign:after{right:37px}.shop-sign h1{font-size:clamp(54px,4.5vw,68px);font-weight:400;line-height:1.1;letter-spacing:3px;color:#fff3cf;white-space:nowrap}.sign-emblem{position:absolute;top:-24px;left:calc(50% - 23px);width:46px;height:46px;border:3px solid #3c2b1d;background:#634128;box-shadow:inset 2px 2px #b18b52,3px 3px #261b17;display:grid;place-items:center}.sign-emblem img{width:30px;height:30px;filter:drop-shadow(2px 2px #2d3219)}.sign-nail{position:absolute;bottom:9px;width:6px;height:6px;background:#473525;box-shadow:1px 1px #d2ae72}.nail-left{left:9px}.nail-right{right:9px}.title-actions{display:grid;gap:10px;padding:0 14px;margin-top:26px}.menu-button{display:flex;align-items:center;justify-content:center;position:relative;min-height:54px;width:100%;padding:10px 36px;background:#78786a var(--mc-button-texture) center/100% 100%;image-rendering:pixelated;border:2px solid #24251d;box-shadow:3px 3px #19191280;color:#f5f1dc;text-shadow:2px 2px #35372b;font-size:20px;line-height:1.35}.menu-button>img{position:absolute;left:15px;width:25px;height:25px;filter:drop-shadow(2px 2px #343526)}.menu-button:hover{background-image:var(--mc-button-highlight);color:#fff1aa;border-color:#c2bc82}.menu-button.menu-start{color:#f8edb3;border-color:#91a368;box-shadow:0 0 0 1px #303f25,3px 3px #19191280}.menu-button:focus-visible{outline:3px solid #f5d47a;outline-offset:3px}.title-save{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;line-height:1.5;color:#d8d8b9;min-height:20px;margin:18px -10px 8px;text-shadow:1px 2px #24251a}.title-save img{width:17px;height:17px}.title-secondary{display:flex;justify-content:center;align-items:center;gap:24px;color:#aaa98d}.title-secondary button{padding:10px 8px;min-height:40px;font-size:14px;border:0;background:none;color:#d6d0b7;text-shadow:1px 2px #292a20}.title-secondary button:hover{color:#fff2b3}.title-counter-sign{position:absolute;right:12%;bottom:16%;width:156px;padding:15px 12px;background:#91683e var(--oak-texture);background-size:128px;image-rendering:pixelated;border:5px solid #3e2d1d;box-shadow:inset 2px 2px #d1a86d,4px 5px #28201670;transform:rotate(3deg);text-align:center;text-shadow:2px 2px #392819,-1px -1px #59402a;color:#fff}.title-counter-sign>span{display:block;font-size:12px;border-bottom:2px solid #61452b66;padding-bottom:8px;margin-bottom:9px}.title-counter-sign strong{font-size:24px;line-height:1.4;font-weight:400}.title-footer{position:absolute;left:28px;right:28px;bottom:20px;display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#c9c4a7;text-shadow:2px 2px #29271c}.title-mode .toast{position:fixed;left:50%;bottom:45px;z-index:31}.title-mode .fallback-message{left:53%;top:36%;font-size:18px;width:40%}.menu-return:hover{filter:brightness(1.2)}.brand-mark{background-image:var(--spruce-texture);background-size:96px;image-rendering:pixelated}.day-board{border-image-source:var(--oak-texture);border-image-slice:4;border-image-repeat:repeat;image-rendering:pixelated}.hotbar{background-image:var(--spruce-texture);background-size:96px;image-rendering:pixelated}.hotbar>button{background-image:var(--slot-texture);background-size:100% 100%;image-rendering:pixelated}.mc-button:not(.primary){background-image:var(--mc-button-texture);background-size:100% 100%;image-rendering:pixelated;color:#fff3d8;text-shadow:1px 1px #3c3e31;border-color:#414436;box-shadow:0 2px #38392c}.mc-button:not(.primary):hover{background-image:var(--mc-button-highlight)}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 0 20px;margin-bottom:18px;border-bottom:1px solid #a5a98f}.settings-row strong{font-size:18px;font-weight:400}.settings-row p{font-size:12px;color:#757863;margin-top:9px;line-height:1.5}.settings-row .mc-button{min-width:82px}.about-shop{text-align:center;margin-bottom:25px}.about-shop>img{width:48px;height:48px;margin:0 0 17px}.about-shop p{font-size:16px;line-height:1.9;color:#556743}.about-links{display:flex;gap:24px;margin-top:20px}.about-links a{color:#536d3d;font-size:13px;text-underline-offset:4px}@media(max-height:740px)and (min-width:761px){.title-mode.game-shell{min-height:560px}.title-menu{width:330px;top:49%}.shop-sign{padding:23px 10px 17px}.shop-sign h1{font-size:54px}.menu-button{min-height:46px;font-size:18px;padding:8px 36px}.title-actions{gap:8px}.title-save{font-size:12px;margin-top:14px}.title-secondary button{min-height:35px;padding:7px 8px}.title-footer{bottom:14px;font-size:11px}}@media(max-width:1000px)and (min-width:761px){.title-menu{margin-left:5%;width:330px}.title-counter-sign{right:7%;bottom:17%;width:136px}.title-counter-sign strong{font-size:21px}}@media(max-width:760px){.title-mode.game-shell{min-height:800px;height:100svh}.title-mode .scene{height:380px;min-height:0}.title-screen:before{background:linear-gradient(0deg,#211c16ed,#211c16d1 40%,#211c1640 85%,#211c1629)}.title-menu{top:auto;transform:none;width:min(340px,calc(100% - 44px));margin:0 auto;padding-top:215px}.shop-sign{padding:26px 8px 20px;border-width:6px}.shop-sign:before,.shop-sign:after{height:24px}.shop-sign h1{font-size:48px;letter-spacing:2px}.title-actions{padding:0 4px;gap:9px;margin-top:22px}.menu-button{min-height:52px;font-size:19px}.title-save{font-size:12px;margin-top:17px;white-space:nowrap}.title-secondary{gap:26px}.title-secondary button{font-size:14px;min-height:40px}.title-counter-sign{display:none}.title-footer{left:16px;right:16px;bottom:15px;font-size:10px}.title-mode .fallback-message{left:0;top:80px;width:100%;font-size:16px}.title-mode .fallback-message small{display:none}.settings-row{gap:10px}.settings-row strong{font-size:16px}.settings-row p{font-size:11px}}@media(max-width:760px)and (max-height:760px){.title-menu{padding-top:80px}.title-mode.game-shell{min-height:680px}.title-mode .scene{height:310px}}:root{--edge-left:max(12px,env(safe-area-inset-left));--edge-right:max(12px,env(safe-area-inset-right));--edge-top:max(12px,env(safe-area-inset-top));--edge-bottom:max(10px,env(safe-area-inset-bottom))}.orientation-gate{position:fixed;inset:0;z-index:25;display:grid;place-items:center;padding:24px;background:#211b16b8;color:#fff3d8}.orientation-panel{width:min(460px,100%);padding:28px;background:#62452e var(--spruce-texture);background-size:128px;image-rendering:pixelated;border:5px solid #30251a;box-shadow:inset 3px 3px #9d7b4e,inset -3px -3px #44311f,6px 6px #18161166;text-align:center}.orientation-panel h2{font-size:26px;font-weight:400;line-height:1.4;text-shadow:2px 2px #30251a;margin:0 0 24px}.orientation-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.orientation-options .menu-button{min-height:132px;padding:18px 8px;flex-direction:column;gap:17px;font-size:20px;background:#77796f var(--stone-texture) center/96px;box-shadow:inset 3px 3px #b9b9aa,inset -3px -3px #535748,3px 3px #17181177}.orientation-options [aria-pressed=true],.settings-orientation [aria-pressed=true]{outline:2px solid #c9d896;outline-offset:2px}.screen-icon{display:grid;place-items:center;width:70px;height:44px;background:#33432d;border:4px solid #e4debc;box-shadow:3px 3px #393b2b}.screen-icon.portrait{width:36px;height:54px;margin:-5px 0}.screen-icon img{width:25px;height:25px}.settings-orientation{display:flex;gap:10px}.settings-orientation .mc-button{min-width:66px}.title-creator{position:absolute;top:max(24px,env(safe-area-inset-top));right:max(28px,env(safe-area-inset-right));z-index:2;display:flex;align-items:center;gap:16px;padding:10px 12px;background:#302a20e8;border:2px solid #9d865755;box-shadow:3px 3px #17181155;text-shadow:1px 2px #25291b;max-width:calc(100% - 32px)}.title-creator a{display:flex;align-items:center;gap:11px;color:#fff3d8;text-decoration:none;min-width:0}.title-creator a>span{min-width:0}.title-creator img{width:44px;height:44px;object-fit:cover;border:2px solid #bcb180;flex:none}.title-creator strong{font-size:15px;font-weight:400;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.title-creator small{display:block;font-size:11px;color:#d0d8b8;margin-top:8px;white-space:nowrap}.title-creator .mc-button{min-height:44px;min-width:76px;white-space:nowrap;padding:9px 10px;font-size:14px;flex:none}.title-creator .mc-button:disabled{opacity:.8;filter:none}.close-modal{min-width:44px;min-height:44px}@media(max-width:760px){.game-shell{padding-left:var(--edge-left);padding-right:var(--edge-right);padding-bottom:calc(110px + env(safe-area-inset-bottom))}.topbar{left:var(--edge-left);right:var(--edge-right);top:var(--edge-top)}.icon-button{width:40px;height:42px}.small-button{min-height:44px}.day-board{display:block;top:267px;left:var(--edge-left);width:calc(100% - var(--edge-left) - var(--edge-right));padding:7px 10px;border-width:3px;font-size:12px}.board-heading,.board-note{display:none}.day-board dl{display:flex;justify-content:space-between;gap:8px;margin:0}.day-board dl>div{display:flex;align-items:center;gap:7px;margin:0}.day-board dd{font-size:13px}.scene-caption{display:none}.hotbar{bottom:0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.title-mode.game-shell{min-height:100svh;height:auto;padding:0;overflow:hidden}.title-screen{position:relative;min-height:100svh;padding:clamp(156px,25svh,215px) 0 60px}.title-menu{top:auto;transform:none;padding-top:0}.title-creator{top:var(--edge-top);left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));max-width:400px;margin:0 auto;justify-content:space-between;gap:10px;padding:9px 10px}.title-creator img{width:40px;height:40px}.title-creator strong{font-size:14px;max-width:150px}.title-creator small{font-size:10px;margin-top:7px}.title-creator .mc-button{font-size:13px;min-width:70px}.title-footer{bottom:max(14px,env(safe-area-inset-bottom))}.orientation-panel{padding:25px 18px}.orientation-panel h2{font-size:23px}.orientation-options{gap:13px}.settings-row{flex-wrap:wrap}}@media(max-width:360px)and (orientation:portrait){.title-menu{width:calc(100% - 32px)}.shop-sign h1{font-size:43px}.shop-brand h1{font-size:21px}.shop-brand p{font-size:8px}.wallet{padding:7px 5px}.wallet strong{font-size:20px}.title-save{font-size:11px;margin-left:0;margin-right:0}.title-creator,.title-creator a{gap:7px}.title-creator strong{font-size:13px}.title-creator img{width:36px;height:36px}}@media(max-width:760px)and (orientation:portrait)and (max-height:700px){.title-screen{padding-top:112px;padding-bottom:40px}.shop-sign{padding:16px 8px 15px}.shop-sign h1{font-size:43px}.title-actions{margin-top:18px;gap:8px}.title-actions .menu-button{min-height:48px;font-size:18px;padding-top:8px;padding-bottom:8px}.title-save{margin-top:12px;margin-bottom:4px}.title-secondary button{min-height:40px}}@media(orientation:landscape)and (max-height:600px){.game-shell{--trade-width:clamp(280px,40vw,350px);height:100svh;min-height:0;padding:0;overflow:hidden}.game-shell:not(.title-mode) .scene,.game-shell:not(.title-mode) .scene-shade{width:calc(100% - var(--trade-width) - var(--edge-right));height:100%;bottom:0}.scene-shade{background:linear-gradient(0deg,#30291fa8,transparent 35%,transparent 75%,#30291f55)}.topbar{top:var(--edge-top);left:var(--edge-left);right:var(--edge-right);gap:12px}.shop-brand{gap:8px}.brand-mark{padding:6px;border-width:2px}.brand-mark img{width:24px;height:24px}.shop-brand h1{font-size:23px;letter-spacing:1px}.shop-brand p{display:none}.day-clock{position:static;transform:none;gap:7px;font-size:13px}.day-clock .sun-icon{font-size:22px}.day-clock #period-label{font-size:11px;padding-left:7px}.wallet{min-height:42px;padding:7px 9px;gap:6px}.wallet strong{font-size:23px}.wallet img{width:22px;height:22px}.wallet span{display:none}.top-actions{gap:5px}.icon-button{width:40px;height:42px;font-size:22px}#fullscreen-button{display:none}.day-board{display:block;top:66px;left:var(--edge-left);width:calc(100% - var(--trade-width) - var(--edge-left) - var(--edge-right) - 12px);padding:6px 8px;border-width:3px;font-size:12px}.board-heading,.board-note{display:none}.day-board dl{display:flex;justify-content:space-between;gap:10px;margin:0}.day-board dl>div{gap:6px;align-items:center;margin:0}.day-board dd{font-size:13px}.customer-label{top:112px;left:calc((100% - var(--trade-width) - var(--edge-right))/2);font-size:13px;padding:6px 12px}.customer-label small{font-size:10px;margin-top:3px}.scene-caption,.player-badge{display:none}.trade-panel{position:absolute;top:66px;right:var(--edge-right);bottom:var(--edge-bottom);width:var(--trade-width);padding:14px 16px;max-height:none;overflow-y:auto;overscroll-behavior:contain;scroll-padding-bottom:12px}.customer-heading h2{font-size:22px}.customer-quote{min-height:auto;font-size:14px}.item-summary{padding:12px 0}.item-slot{width:56px;height:56px}.item-slot img{width:40px;height:40px}.small-button{min-height:44px;font-size:13px}.clue-box{font-size:13px;min-height:54px;padding:9px 10px}.valuation{margin-bottom:13px}.offer-control{height:44px;grid-template-columns:44px 1fr 44px}.offer-control input{font-size:26px}.offer-range{height:8px;margin:20px 0 12px}.offer-range::-webkit-slider-thumb{width:20px;height:24px}.negotiation-message{font-size:12px}.trade-actions .mc-button{min-height:46px;font-size:14px}.report-button{min-height:50px;font-size:16px;padding:12px 10px;margin-top:12px}.hotbar{position:absolute;left:calc((100% - var(--trade-width) - var(--edge-right))/2);right:auto;transform:translate(-50%);bottom:var(--edge-bottom);width:max-content;display:flex;padding:5px;gap:4px;border:3px solid #27281f;z-index:2}.hotbar>button{flex:none;width:50px;height:59px;align-items:flex-start;padding-top:5px}.hotbar>button>img{width:28px;height:28px}.hotbar>button>span:not(.chest-icon){top:auto;bottom:4px;font-size:10px}.hotbar kbd{display:none}.chest-icon{margin-top:2px}.help-button{top:auto;right:auto;left:var(--edge-left);bottom:calc(var(--edge-bottom) + 82px);font-size:11px;min-height:40px}.help-button span{font-size:13px;padding:4px 8px}.toast{position:fixed;left:50%;bottom:20px;max-width:calc(100vw - 32px);font-size:13px;z-index:31}.modal-backdrop{padding:var(--edge-top) var(--edge-right) var(--edge-bottom) var(--edge-left)}.mc-modal{max-height:calc(100svh - var(--edge-top) - var(--edge-bottom))}.mc-modal>header{padding:8px 14px}.mc-modal>header h2{font-size:20px}.modal-content{padding:16px 20px}.title-mode.game-shell{height:100svh;min-height:0;padding:0}.title-mode .scene,.title-mode .scene-shade{height:100%;width:100%;min-height:0;bottom:0}.title-screen{position:absolute;inset:0;min-height:0;padding:0}.title-screen:before{background:linear-gradient(90deg,#1f1b16d9,#211c167a 36%,#211c1600 76%)}.title-menu{--menu-width:clamp(260px,36vw,330px);width:var(--menu-width);top:50%;transform:translateY(-50%);margin:0 0 0 max(24px,env(safe-area-inset-left));padding:0}.shop-sign{padding:13px 8px 12px;border-width:5px}.shop-sign h1{font-size:42px;letter-spacing:2px}.shop-sign:before,.shop-sign:after{height:18px}.sign-emblem{width:34px;height:34px;left:calc(50% - 17px);top:-20px}.sign-emblem img{width:23px;height:23px}.title-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px;padding:0 5px}.title-actions .menu-start,.title-actions #menu-restart{grid-column:1/-1}.title-actions .menu-button{min-height:44px;font-size:16px;padding:8px 5px 8px 25px}.title-actions .menu-button>img{width:20px;height:20px;left:8px}.title-actions .menu-start,.title-actions #menu-restart{padding-left:30px}.title-save{font-size:11px;margin:10px 0 0;min-height:20px;white-space:nowrap}.title-save img{width:14px;height:14px}.title-secondary button{font-size:13px;min-height:40px;padding:8px}.title-creator{left:auto;top:var(--edge-top);right:var(--edge-right);max-width:calc(100% - clamp(260px,36vw,330px) - 54px);gap:9px;margin:0;padding:8px}.title-creator a{gap:8px}.title-creator img{width:36px;height:36px}.title-creator strong{font-size:13px;max-width:140px}.title-creator small{font-size:10px;margin-top:6px}.title-creator .mc-button{min-width:66px;font-size:12px;padding:8px}.title-counter-sign{display:block;width:120px;right:11%;bottom:10%;padding:10px}.title-counter-sign strong{font-size:20px}.title-footer{left:16px;right:16px;bottom:8px;font-size:9px}.orientation-panel{padding:22px;width:min(410px,100%)}.orientation-panel h2{margin-bottom:18px}.orientation-options .menu-button{min-height:115px}}@media(orientation:landscape)and (max-height:600px)and (max-width:700px){.game-shell{--trade-width:280px}.shop-brand h1{font-size:19px}.day-clock .sun-icon,.day-clock #period-label{display:none}.day-board{font-size:11px;padding:6px}.day-board dl{gap:4px}.day-board dl>div{gap:4px}.day-board dd{font-size:12px}.hotbar{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:4px}.hotbar>button{width:50px;height:52px;padding-top:3px}.hotbar>button>img{width:24px;height:24px}.hotbar>button>span:not(.chest-icon){bottom:3px;font-size:9px}.chest-icon{width:26px;height:22px}.help-button{bottom:calc(var(--edge-bottom) + 121px);min-height:32px}.customer-label{top:108px}.title-creator{padding:6px;gap:7px}.title-creator a{gap:6px}.title-creator img{width:30px;height:30px}.title-creator strong{font-size:12px;max-width:100px}.title-creator small{font-size:9px}.title-creator .mc-button{min-width:58px;padding:7px 5px;font-size:12px}.title-counter-sign{display:none}}@media(orientation:landscape)and (max-height:360px){.title-menu{top:52%}.shop-sign{padding:10px 8px}.shop-sign h1{font-size:36px}.title-actions{margin-top:12px;gap:6px}.title-save{margin-top:7px}.title-secondary button{min-height:36px;padding:6px}.title-footer{display:none}.orientation-panel{padding:18px}.orientation-panel h2{font-size:23px;margin-bottom:15px}.orientation-options .menu-button{min-height:100px}}.challenge-brief{font-size:14px;line-height:1.9;color:#59634a;margin-bottom:18px}.challenge-brief strong{font-size:20px;font-weight:400;color:#3f5631}.rank-rules{font-size:12px;line-height:1.8;color:#626b56;border-top:1px solid #a6ad95;padding-top:12px;margin:15px 0}.rank-rules summary{cursor:pointer;min-height:32px;display:flex;align-items:center}.rank-rules summary:before{content:"▸";margin-right:7px}.rank-rules[open] summary:before{content:"▾"}.rank-rules p{margin:8px 0 12px}.rank-stats{display:flex;gap:24px;justify-content:space-between;margin:0 0 18px}.rank-stats>div{flex:1}.rank-stats span{font-size:12px;color:#6b725e;display:block}.rank-stats strong{font-size:27px;font-weight:400;color:#3d6334;display:block;margin-top:9px}.rank-controls{display:flex;gap:10px}.rank-controls button:first-child{flex:1}.rank-status{font-size:12px;line-height:1.7;color:#59684b;margin:16px 0 8px;min-height:22px}.rank-scroll{max-height:42svh;overflow:auto;scrollbar-width:thin;border:2px solid #9ca48b;background:#e2e2d2}.rank-scroll table{border-collapse:collapse;width:100%;font-size:14px;table-layout:fixed;text-align:left}.rank-scroll th{position:sticky;top:0;background:#bbc5a7;font-size:12px;font-weight:400;z-index:1}.rank-scroll th,.rank-scroll td{padding:12px;border-bottom:1px solid #b8bfab}.rank-scroll th:first-child,.rank-scroll td:first-child{width:66px}.rank-scroll th:last-child,.rank-scroll td:last-child{width:90px;text-align:right}.rank-scroll td:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank-top{color:#3d6635}.rank-empty{text-align:center;font-size:13px;color:#68705b;padding:24px 14px;line-height:1.7}.challenge-score{text-align:center;margin:3px 0 20px}.challenge-score>strong{display:block;font-size:52px;font-weight:400;color:#47703c}.challenge-score>span{font-size:13px;color:#6b775c}.score-breakdown{display:flex;justify-content:center;gap:28px;margin:18px 0;font-size:13px;color:#59664b}.score-breakdown strong{font-weight:400;display:block;font-size:21px;margin-top:8px}.title-actions{grid-template-columns:1fr 1fr}.title-actions .menu-start,.title-actions #menu-restart,.title-actions #menu-challenge{grid-column:1/-1}.title-actions [data-open=help],.title-actions [data-open=rewards]{font-size:16px;padding-left:28px;padding-right:6px}.title-actions [data-open=help]>img,.title-actions [data-open=rewards]>img{left:8px;width:21px;height:21px}@media(orientation:landscape)and (max-height:600px){.title-actions .menu-start,.title-actions #menu-challenge{grid-column:auto}.title-actions .menu-start,.title-actions #menu-challenge,.title-actions [data-open=help],.title-actions [data-open=rewards]{font-size:15px;padding-left:26px}.rank-scroll{max-height:45svh}.rank-stats{margin-bottom:12px}.rank-stats strong{font-size:23px}}@media(max-width:360px){.rank-scroll th,.rank-scroll td{padding:10px 8px}.rank-scroll th:first-child,.rank-scroll td:first-child{width:48px}.rank-scroll th:last-child,.rank-scroll td:last-child{width:74px}.rank-scroll table{font-size:13px}.rank-stats strong{font-size:23px}}@media(orientation:landscape)and (max-height:600px){.title-actions .menu-start{grid-row:1;grid-column:1}.title-actions #menu-challenge{grid-row:1;grid-column:2}}
