.catalog-status{color:#31594f;background:#f5f3e7;border:1px solid #d9d9bf;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;padding:10px 12px;font-size:.85rem;display:flex}.catalog-status>div{gap:3px;min-width:0;display:grid}.catalog-status small{overflow-wrap:anywhere;color:#667266;font-size:.76rem}.catalog-status button{flex-shrink:0;min-height:36px;font-size:.8rem}@media (width<=480px){.catalog-status{flex-direction:column;align-items:stretch;gap:7px}.catalog-status button{align-self:flex-start}.catalog-status{flex-direction:row;align-items:center;gap:8px;padding:8px 10px}.catalog-status strong{font-size:12px}.catalog-status small{font-size:11px}.catalog-status button{align-self:center;min-height:44px;padding:6px 9px;font-size:11px}}.server-start{z-index:30;padding:20px;overflow:auto}.server-start>div{color:#284f48;background:#fffaf0;border:1px solid #dcd4bd;border-radius:24px;width:min(100%,460px);padding:28px;line-height:1.55;box-shadow:0 10px 36px #30483d12}.server-start h2{margin:0 0 16px;font-size:25px}.server-start p{margin:12px 0}.server-start button{width:100%;min-height:48px;margin-top:16px}.game-page[data-service-mode=SERVER_AUTHENTICATED][data-game-ready=false] .game-hud{visibility:hidden;pointer-events:none}.server-profile-settings{line-height:1.6}@media (width<=400px){.server-start{padding:14px}.server-start>div{padding:22px}}.server-login-link{border-radius:16px;justify-content:center;align-items:center;min-height:48px;margin-top:16px;text-decoration:none;display:flex}.backpack-dialog{width:min(980px,100%)}.backpack-panel{--bag-paper:#fffaf0;--bag-line:#d7d6bf;--bag-green:#315d4d;color:#304d40;min-width:0}.backpack-panel button{white-space:normal;overflow-wrap:anywhere;min-height:44px}.backpack-tabs{background:#e5e8d9;border:1px solid #d6d9c8;border-radius:17px;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:5px;margin-bottom:16px!important;display:grid!important}.backpack-panel .backpack-tabs>button{color:#62755f;background:0 0;justify-content:center;align-items:center;gap:8px;font-weight:650;display:flex;border-color:#0000!important;border-radius:12px!important}.backpack-panel .backpack-tabs>button[aria-selected=true]{box-shadow:none;color:#285846!important;background:#fffcf4!important;border-color:#d6d6bd!important}.backpack-tabs .game-icon{flex-shrink:0;width:20px;height:20px}.backpack-room-tabs{border-bottom:1px solid var(--bag-line);gap:6px;padding-bottom:12px;display:flex;margin-bottom:10px!important}.backpack-room-tabs>button{min-width:100px;padding:8px 14px;font-size:13px;border-radius:20px!important}.backpack-section-title{margin:20px 0 12px;font-family:Georgia,serif;font-size:21px;font-weight:500}.backpack-grid,.backpack-panel .product-grid,.backpack-panel .food-stock-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:14px;margin-bottom:20px;display:grid}.backpack-grid:empty{display:none}.backpack-card,.backpack-panel .product-card,.backpack-panel .food-card{background:var(--bag-paper);border:1px solid var(--bag-line);min-width:0;box-shadow:none;border-radius:19px;flex-direction:column;gap:0;padding:0;display:flex;overflow:hidden}.backpack-card-visual,.backpack-panel .product-image,.backpack-panel .food-card-image{aspect-ratio:1.2;background:#f1ecde;border-bottom:1px solid #e2decb;border-radius:0;flex-shrink:0;justify-content:center;align-items:center;width:100%;display:flex;position:relative;overflow:hidden}.backpack-card .inventory-image,.backpack-panel .product-image>img,.backpack-panel .food-card-image>img{object-fit:contain;box-sizing:border-box;width:100%;max-width:100%;height:100%;padding:7px;display:block}.backpack-quantity{color:#385942;font-variant-numeric:tabular-nums;background:#fffdf4ee;border:1px solid #d8d3bb;border-radius:10px;justify-content:center;align-items:center;min-width:32px;min-height:27px;padding:3px 9px;font-size:12px;font-weight:750;display:inline-flex;position:absolute;top:10px;right:10px}.backpack-card-copy,.backpack-panel .product-copy,.backpack-panel .food-card-copy{flex-direction:column;gap:7px;min-width:0;padding:13px 14px;display:flex}.backpack-category,.backpack-panel .product-slot{color:#809077;letter-spacing:.6px;text-transform:uppercase;font-size:10px;line-height:1.4}.backpack-card h3,.backpack-panel .product-card h3,.backpack-panel .food-card h3{color:#264c3d;overflow-wrap:anywhere;margin:0;font-family:Georgia,serif;font-size:18px;font-weight:500;line-height:1.25}.backpack-location{color:#355f47;background:#dfe9d9;border-radius:7px;align-self:flex-start;padding:4px 8px;font-size:11px;line-height:1.4}.backpack-location.is-stored{color:#7b755a;background:#eeeadc}.backpack-card-actions,.backpack-panel .product-buttons{flex-wrap:wrap;gap:7px;margin-top:auto;padding:0 13px 13px;display:flex}.backpack-card-actions>button,.backpack-panel .product-buttons>button{border-radius:11px;flex:100%;width:100%;min-height:44px;padding:8px 10px;font-size:12px}.backpack-panel .product-card>button{border-radius:11px;width:calc(100% - 26px);margin:0 13px 12px;font-size:12px}.backpack-panel .product-state{color:#335d46;background:#e1ebdceb;border-radius:8px;padding:4px 8px;font-size:10px;line-height:1.3;inset:auto auto 10px 10px}.backpack-panel .product-copy p{color:#6b7861;margin:0;font-size:12px;line-height:1.5}.backpack-panel .product-card>label{margin:0 13px 12px;font-size:12px;line-height:1.4}.backpack-panel .product-card>details{border-top:1px solid var(--bag-line);margin:0 13px 13px;padding-top:10px;font-size:12px}.backpack-panel .product-card>details .product-buttons{padding:10px 0 0}.backpack-panel .product-card>details summary{cursor:pointer;color:#69775f;padding:3px 0}.inventory-image-unavailable{color:#7e8b71;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;height:100%;padding:20px;display:flex}.inventory-image-unavailable .game-icon{width:38px;height:38px}.inventory-image-unavailable small{font-size:11px}.backpack-room-controls{background:#efefdf;border:1px solid #d5d8c6;border-radius:13px;margin:12px 0 16px;padding:0 13px;font-size:13px}.backpack-room-controls>summary{cursor:pointer;color:#526a50;padding:13px 0;font-weight:550}.backpack-room-controls .pillow-note{background:#fffcf1;border-color:#ddd8bd;margin:0 0 12px}.backpack-room-controls button{font-size:12px;line-height:1.4}.backpack-wardrobe-link{align-items:center;gap:7px;margin-top:18px;padding:8px 14px;font-size:13px;display:flex}.backpack-wardrobe-link .game-icon{width:19px;height:19px}.backpack-panel .food-catalog-intro{justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;display:flex}.backpack-panel .food-catalog-intro p{color:#7b876e;margin:0;font-size:12px}.backpack-panel .food-catalog-intro button{flex-shrink:0;font-size:12px}.backpack-panel .food-card .food-stock-count{color:#7d856a;margin:0;font-size:12px}.backpack-panel .food-expected{gap:6px;padding-top:9px}.backpack-panel .food-expected>strong{font-size:10px;font-weight:500}.backpack-panel .food-effects{gap:4px;font-size:10px}.backpack-panel .food-effects>span{padding:4px 5px;line-height:1.4}.backpack-panel .food-card>button{border-radius:11px;width:calc(100% - 26px);margin:auto 13px 13px;padding:8px;font-size:12px}.backpack-panel .food-blocked{margin:0 13px 12px;font-size:12px}.backpack-panel .food-empty,.backpack-panel .book-bag-empty{text-align:center;color:#6c7e62;background:#f9f8ec;border:1px dashed #cbd2bc;border-radius:16px;padding:24px;font-size:14px;line-height:1.65}.backpack-panel .collection-toolbar{margin:0 0 14px}.backpack-panel .book-bag-summary>strong{display:none}.backpack-panel .library-book-row{background:var(--bag-paper);border:1px solid var(--bag-line);border-radius:16px;gap:10px;padding:8px}.backpack-panel .library-book-row[aria-pressed=true]{outline-offset:-3px;border-color:#5b836b;outline:2px solid #83a28655}.backpack-panel .library-book-row .collection-cover{background:#eee9db;border-radius:10px;height:180px}.backpack-panel .library-book-row strong{color:#315543;font-family:Georgia,serif;font-size:15px;font-weight:500;line-height:1.3}.backpack-panel .library-book-row small{font-size:10px}.backpack-panel .library-book-detail{border-radius:18px}.backpack-panel :focus-visible{outline-offset:3px;outline:3px solid #9c814b}@media (width<=760px){.backpack-dialog{padding:16px 12px!important}.backpack-tabs{gap:3px;padding:4px;margin-bottom:12px!important}.backpack-panel .backpack-tabs>button{white-space:nowrap;flex-direction:column;gap:3px;font-size:11px;padding:7px 4px!important}.backpack-tabs .game-icon{width:18px;height:18px}.backpack-grid,.backpack-panel .product-grid,.backpack-panel .food-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.backpack-card,.backpack-panel .product-card,.backpack-panel .food-card{border-radius:15px}.backpack-card-visual,.backpack-panel .product-image,.backpack-panel .food-card-image{aspect-ratio:1.05}.backpack-card-copy,.backpack-panel .product-copy,.backpack-panel .food-card-copy{gap:6px;padding:10px}.backpack-card h3,.backpack-panel .product-card h3,.backpack-panel .food-card h3{font-size:16px}.backpack-card-actions,.backpack-panel .product-buttons{gap:6px;padding:0 9px 10px}.backpack-panel .product-card>button,.backpack-panel .food-card>button{width:calc(100% - 18px);margin-left:9px;margin-right:9px}.backpack-quantity{min-width:27px;min-height:24px;padding:2px 6px;font-size:11px;top:7px;right:7px}.backpack-panel .food-catalog-intro{flex-direction:row;align-items:center}.backpack-panel .food-catalog-intro p{font-size:11px}.backpack-panel .library-book-row .collection-cover{height:180px}.backpack-panel .library-book-row strong{font-size:14px}.backpack-panel .food-effects>span{justify-content:space-between;width:100%}}@media (width<=350px){.backpack-panel .backpack-tabs>button{gap:3px;font-size:11px}.backpack-tabs .game-icon{width:16px;height:16px}.backpack-card h3,.backpack-panel .product-card h3,.backpack-panel .food-card h3{font-size:14px}.backpack-panel .library-book-row .collection-cover{height:145px}}.game-page.has-reader-progress{--compact-actions-height:68px}.game-page.has-reader-progress[data-actions-collapsed=true]{--compact-actions-height:44px}.game-page.has-reader-progress .hud-indicators>.hud-needs-panel{pointer-events:auto;background:#eae5d4;border:0;border-radius:25px;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;gap:4px;padding:4px;display:grid}.game-page.has-reader-progress .hud-needs-panel>.hud-needs{background:0 0;border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;min-width:0;padding:0;display:grid;position:static}.game-page.has-reader-progress .hud-needs-panel .need-chip{text-align:left;border-radius:19px;grid-template-rows:auto auto;grid-template-columns:22px minmax(0,1fr);align-content:center;gap:2px 6px;min-width:0;min-height:62px;padding:8px 7px 12px;display:grid;position:relative}.game-page.has-reader-progress .hud-needs-panel .need-chip>.game-icon{grid-area:1/1/3;align-self:center;width:21px;height:21px}.game-page.has-reader-progress .hud-needs-panel .need-chip>b{white-space:nowrap;grid-area:1/2;min-width:0;font-size:14px;line-height:1.2}.game-page.has-reader-progress .hud-needs-panel .need-chip>.need-label{overflow-wrap:anywhere;grid-area:2/2;min-width:0;font-size:11px;line-height:1.2}.game-page.has-reader-progress .hud-needs-panel .need-full{display:inline}.game-page.has-reader-progress .hud-needs-panel .need-short{display:none}.game-page.has-reader-progress .hud-needs-panel .need-chip>.need-bar{background:#dbdfce;border-radius:3px;width:auto;height:3px;display:block;position:absolute;bottom:5px;left:9px;right:9px;overflow:hidden}.game-page.has-reader-progress .hud-needs-panel .need-bar>i{background:#719681;height:100%;display:block}.game-page.has-reader-progress .hud-needs-panel .need-chip.is-low{background:#fff0d0}.game-page.has-reader-progress .hud-needs-panel .need-chip.is-low>b{color:#875917}.game-page.has-reader-progress .hud-needs-panel .need-chip.is-low .need-bar>i{background:#c7913a}.game-page.has-reader-progress .hud-needs-panel>.hud-needs-toggle{background:#f7f2e3;border:0;border-radius:18px;justify-content:center;align-self:stretch;align-items:center;width:44px;min-width:44px;height:auto;min-height:44px;padding:10px;display:flex}.game-page.has-reader-progress .hud-needs-panel>.hud-needs-toggle .game-icon{width:18px;height:18px}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true]>.hud-needs-toggle .game-icon{transform:rotate(180deg)}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-chip{flex-direction:row;justify-content:center;align-items:center;gap:5px;height:44px;min-height:44px;padding:6px 3px;display:flex}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-chip>.game-icon{flex:0 0 19px;width:19px;height:19px}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-chip>b{font-size:13px}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-label,.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-bar{display:none}.compact-controls .compact-dock[data-collapsible=true]{grid-template-columns:repeat(3,minmax(0,1fr)) 44px}.compact-controls .compact-dock>button.compact-dock-collapse{background:#ecebd9;border-radius:50%;align-self:center;width:44px;min-width:44px;min-height:44px;padding:10px}.compact-controls .compact-dock>button.compact-dock-collapse>.game-icon{width:19px;height:19px}.compact-controls .compact-dock-collapse>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.compact-controls>.compact-actions-pill{left:50%;bottom:var(--compact-bottom);z-index:6;background:var(--compact-paper,#fff8e9);max-width:calc(100% - 32px);height:44px;min-height:44px;color:var(--compact-ink,#284f46);pointer-events:auto;box-shadow:none;border:0;border-radius:24px;justify-content:center;align-items:center;gap:9px;padding:9px 16px;font-size:13px;font-weight:600;display:flex;position:absolute;transform:translate(-50%)}.compact-actions-pill>.game-icon{width:21px;height:21px}.compact-actions-pill>.compact-chevron{width:14px;height:14px}.game-page.has-reader-progress[data-actions-collapsed] .library-reading-hud--compact,.game-page.has-reader-progress[data-actions-collapsed] .action-status{bottom:calc(var(--compact-bottom) + var(--compact-actions-height) + 14px)}.game-page.has-reader-progress[data-actions-collapsed] .sofa-context,.game-page.has-reader-progress[data-actions-collapsed] .hud-notice{bottom:calc(var(--compact-bottom) + var(--compact-actions-height) + 20px)}.game-page.has-reader-progress[data-actions-collapsed] .game-hud:has(.library-reading-hud--compact) .hud-notice{bottom:calc(var(--compact-bottom) + var(--compact-actions-height) + 102px)}.game-page.has-reader-progress[data-actions-collapsed] .compact-group-panel{bottom:calc(var(--compact-bottom) + var(--compact-actions-height) + 10px)}@media (width<=480px){.game-page.has-reader-progress .hud-needs-panel .need-chip{grid-template-columns:17px minmax(0,1fr);column-gap:3px;min-height:61px;padding:7px 4px 12px}.game-page.has-reader-progress .hud-needs-panel .need-chip>.game-icon{width:17px;height:17px}.game-page.has-reader-progress .hud-needs-panel .need-chip>b{font-size:12px}.game-page.has-reader-progress .hud-needs-panel .need-chip>.need-label{text-align:center;grid-column:1/-1;font-size:10px}.game-page.has-reader-progress .hud-needs-panel .need-full{display:none}.game-page.has-reader-progress .hud-needs-panel .need-short{display:inline}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-chip{gap:3px}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-chip>.game-icon{flex-basis:16px;width:16px;height:16px}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-chip>b{font-size:12px}.compact-controls .compact-dock[data-collapsible=true]{gap:2px;padding-left:6px;padding-right:6px}.compact-controls .compact-dock[data-collapsible=true]>button{padding-left:3px;padding-right:3px}}@media (width<=359px){.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-chip>b{font-size:11px}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-chip{gap:2px}.game-page.has-reader-progress .hud-needs-panel[data-collapsed=true] .need-chip>.game-icon{flex-basis:14px;width:14px;height:14px}}@media (height<=520px) and (width>=650px){.game-page.has-reader-progress[data-actions-collapsed] .library-reading-hud--compact{bottom:auto}}@media (height>=521px),(width<=649px){.game-page.has-reader-progress{--compact-open-reading-offset:104px}.game-page.has-reader-progress:has(.hud-needs-panel[data-collapsed=true]){--compact-open-reading-offset:86px}.game-page.has-reader-progress[data-actions-collapsed] .game-hud:has(.compact-controls[data-open]) .library-reading-hud--compact{top:calc(var(--compact-head-top) + var(--compact-head-height) + var(--compact-open-reading-offset));bottom:auto}.game-page.has-reader-progress[data-actions-collapsed] .game-hud:has(.library-reading-hud--compact) .compact-group-panel{max-height:min(260px,calc(100dvh - var(--compact-head-top) - var(--compact-head-height) - var(--compact-open-reading-offset) - 84px - var(--compact-bottom) - var(--compact-actions-height) - 10px))}}.game-page.has-reader-progress .hud-home-link{background:var(--compact-wash);width:44px;height:44px;min-height:44px;color:var(--compact-ink);box-shadow:none;border:0;border-radius:50%;flex:0 0 44px;justify-content:center;align-items:center;text-decoration:none;display:flex}.game-page.has-reader-progress .hud-home-link .game-icon{width:23px;height:23px;transform:rotate(180deg)}.game-page.has-reader-progress .hud-home-link:focus-visible{outline:2px solid var(--compact-ink);outline-offset:3px}.game-page.has-reader-progress .hud-home-link[aria-disabled=true]{opacity:.55;cursor:wait}.game-page.has-reader-progress[data-leaving-home=true] .game-hud,.game-page.has-reader-progress[data-leaving-home=true] .game-hud button,.game-page.has-reader-progress[data-leaving-home=true] .game-hud a{pointer-events:none}.game-page.has-reader-progress .reader-progress-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=359px){.game-page.has-reader-progress .hud-top{gap:6px;padding-inline:8px}.game-page.has-reader-progress .hud-wallets{flex-direction:column;align-items:flex-end;gap:2px}.game-page.has-reader-progress .hud-home-link{flex-basis:44px}.game-page.has-reader-progress .reader-progress-copy strong{font-size:18px}.game-page.has-reader-progress .reader-progress-total{font-size:10px}}.game-page.has-reader-progress{--room-quick-height:56px;--room-menu-height:68px;--compact-actions-height:calc(var(--room-menu-height) + var(--room-quick-height) + 8px)}.game-page.has-reader-progress[data-actions-collapsed=true]{--room-menu-height:44px;--compact-actions-height:calc(var(--room-menu-height) + var(--room-quick-height) + 8px)}.room-quick-actions{left:50%;bottom:calc(var(--compact-bottom) + var(--room-menu-height) + 8px);width:min(560px,calc(100% - 24px - var(--hud-safe-left) - var(--hud-safe-right)));min-height:var(--room-quick-height);background:var(--compact-paper,#fff8e9);z-index:6;pointer-events:auto;border:0;border-radius:24px;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px 6px;display:grid;position:absolute;transform:translate(-50%)}.room-quick-actions>button{min-width:0;min-height:48px;color:var(--compact-ink,#284f46);background:0 0;border:0;border-radius:19px;flex-direction:row;justify-content:center;gap:5px;padding:6px 4px;font-size:12px;line-height:1.2;display:flex}.room-quick-actions>button>.game-icon{flex:0 0 20px;width:20px;height:20px}.room-quick-actions>button[aria-current=location]{background:var(--compact-active,#e4ead3);opacity:1}.room-quick-actions>button:focus-visible,.reading-notice-dismiss:focus-visible{outline-offset:2px;outline:3px solid #416e5e}.library-reading-hud--compact .reading-notice-dismiss{background:0 0;border:0;border-radius:50%;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:12px}.library-reading-hud:not(.library-reading-hud--compact) .reading-notice-dismiss{width:44px;min-width:44px;height:44px;padding:12px;position:absolute;top:8px;right:8px}.is-fitting .room-quick-actions,.is-furniture-preview .room-quick-actions{display:none}@media (width<=480px){.room-quick-actions>button{flex-direction:column;gap:2px;padding:3px 1px;font-size:10px}.room-quick-actions>button>.game-icon{flex-basis:19px;width:19px;height:19px}}@media (height<=520px) and (width>=650px){.room-quick-actions{width:min(420px,calc(100% - 24px - var(--hud-safe-left) - var(--hud-safe-right)))}.room-quick-actions>button{font-size:11px}}@font-face{font-family:StorySans;src:local(Segoe UI)}*{box-sizing:border-box}body{color:#233f3a;background:#d9dfd4;margin:0;font:14px/1.45 StorySans,system-ui,sans-serif}button,input,select{font:inherit}button{cursor:pointer;color:#233f3a;touch-action:manipulation;background:#f4ebdd;border:1px solid #b2c2ae;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 15px;font-weight:600;display:inline-flex}button:hover:not(:disabled){background:#e9e4d4;border-color:#315f58}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible{outline-offset:3px;outline:3px solid #a45136}button:disabled{cursor:not-allowed;opacity:.58}h2,h3,p{margin:0}h2{font:29px/1.15 Georgia,serif}h3{font-size:16px}a{color:#315f58}.game-page{width:100%;height:100dvh;min-height:320px;margin:0;padding:0;display:block}.game-screen{isolation:isolate;width:100%;height:100%;position:relative;overflow:hidden}.game-screen>canvas{touch-action:none;outline-offset:-5px;width:100%;height:100%;display:block}.game-icon{flex-shrink:0;width:22px;height:22px}.game-hud{pointer-events:none;z-index:2;position:absolute;inset:0}.game-hud button,.hud-panel,.hud-care,.hud-menu{pointer-events:auto}.hud-panel{background:#f4ebddf7;border:1px solid #b9c8b7;border-radius:16px;box-shadow:0 3px 14px #233f3a12}.hud-top{top:max(14px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));justify-content:space-between;align-items:flex-start;gap:12px;display:flex;position:absolute}.hud-profile{align-items:center;gap:12px;min-width:255px;padding:9px 10px 9px 16px;display:flex}.hud-profile>.game-icon{color:#825f2c;width:31px;height:31px}.hud-profile>div{flex-direction:column;flex:1;display:flex}.hud-profile strong{font:22px/1.2 Georgia,serif}.hud-profile span{font-size:13px}.hud-profile small{color:#476054;font-size:12px}.icon-button{background:0 0;border-color:#0000;border-radius:11px;width:44px;height:44px;padding:10px}.hud-wallets{gap:10px;display:flex}.wallet{min-width:128px;padding:9px 16px}.wallet>span{font-size:13px;display:block}.wallet strong{align-items:center;gap:10px;font-size:21px;line-height:1.3;display:flex}.wallet .game-icon{color:#825f2c;width:20px;height:20px}.hud-needs{top:102px;left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));pointer-events:none;grid-template-columns:repeat(4,minmax(0,168px));gap:8px;display:grid;position:absolute}.need-chip{text-align:left;gap:1px 7px;justify-content:initial;border-radius:12px;grid-template-columns:20px 1fr;min-height:61px;padding:9px 12px 15px;font-size:13px;display:grid;position:relative;overflow:hidden}.need-chip>.game-icon{grid-row:1/3;align-self:center;width:19px;height:19px}.need-label{font-size:12px;font-weight:400;line-height:1.25}.need-short{display:none}.need-chip>b{font-size:14px;line-height:1.2}.need-bar{background:#ccd5c0;border-radius:3px;height:4px;position:absolute;bottom:7px;left:12px;right:12px}.need-bar>i{background:#315f58;border-radius:3px;height:100%;transition:width .3s;display:block}.hud-care,.hud-menu{flex-direction:column;gap:8px;display:flex;position:absolute;top:44%}.hud-care{left:max(14px,env(safe-area-inset-left))}.hud-menu{right:max(14px,env(safe-area-inset-right))}.hud-care button,.hud-menu button{background:#f4ebddf7;flex-direction:column;gap:4px;min-width:108px;min-height:61px;padding:8px 12px;font-size:13px;box-shadow:0 2px 8px #233f3a10}.hud-care small{font-size:12px}.hud-menu .game-icon,.hud-care .game-icon{width:23px;height:23px}.hud-view{left:max(14px,env(safe-area-inset-left));bottom:max(17px,env(safe-area-inset-bottom));pointer-events:none;gap:8px;display:flex;position:absolute}.hud-view button{background:#f4ebddf5;font-size:13px}.hud-mode{right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));color:#233f3a;background:#f4ebdded;border-radius:8px;padding:6px 9px;font-size:12px;position:absolute}.hud-notice{text-align:center;pointer-events:none;background:#f4ebddf5;border:1px solid #b9c8b7;border-radius:12px;width:max-content;max-width:min(640px,100% - 280px);padding:10px 16px;font-size:13px;position:absolute;bottom:72px;left:50%;transform:translate(-50%)}.hud-notice:empty{display:none}.hud-notice.notice-error{color:#762e1d;pointer-events:auto;background:#fff0e8;border-color:#a45136;align-items:center;gap:12px;display:flex}.hud-notice button{background:0 0;border:0;min-width:44px;min-height:44px;padding:5px}.action-status{text-align:center;flex-direction:column;align-items:center;gap:5px;max-width:calc(100% - 260px);padding:11px 15px;font-size:13px;display:flex;position:absolute;bottom:124px;left:50%;transform:translate(-50%)}.action-status button{min-height:44px;padding:8px 14px;font-size:12px}.lease-notice{text-align:center;max-width:calc(100% - 250px);padding:8px 12px;font-size:12px;position:absolute;top:173px;left:50%;transform:translate(-50%)}.sofa-context{width:260px;padding:20px;font-size:13px;position:absolute}.sofa-context p{margin:8px 0 12px}.context-close{position:absolute;top:3px;right:3px}.sofa-context h3{padding-right:25px}.button-primary{color:#fff8ec;background:#315f58;border-color:#315f58}.button-primary:hover:not(:disabled){color:#fff8ec;background:#234943}.loading{z-index:4;background:#eeeaddf5;justify-content:center;align-items:center;gap:12px;font-size:15px;display:flex;position:absolute;inset:0}.spinner{border:3px solid #b9c8b7;border-top-color:#315f58;border-radius:50%;width:24px;height:24px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.dialog-backdrop{z-index:5;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));pointer-events:auto;touch-action:none;background:#15342f70;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.game-dialog{background:#f4ebdd;border:1px solid #bdc6b4;border-radius:22px;flex-direction:column;width:min(980px,100%);max-height:100%;display:flex;overflow:hidden;box-shadow:0 16px 65px #1029234d}.dialog-header{border-bottom:1px solid #bdc6b4;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;display:flex}.dialog-header p{color:#476054;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:4px;font-size:12px}.dialog-body{overscroll-behavior:contain;touch-action:pan-y;min-height:0;padding:20px 24px;overflow:auto}.dialog-tabs{gap:8px;margin-bottom:16px;display:flex}.dialog-tabs button{background:0 0;flex:1}.dialog-tabs [aria-selected=true]{color:#fff8ec;background:#315f58;border-color:#315f58}.shop-wallets{margin-bottom:14px}.dialog-hint{color:#476054;margin:0 0 17px;font-size:13px;line-height:1.6}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.product-card{background:#fffbf1;border:1px solid #c6cebf;border-radius:16px;flex-direction:column;gap:8px;padding:12px;display:flex;overflow:hidden}.product-image{aspect-ratio:1.3;background:#e6e3d5;border-radius:11px;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.product-image img{object-fit:cover;width:100%;height:100%}.product-state{color:#fff8ec;background:#315f58;border-radius:9px;padding:4px 8px;font-size:12px;position:absolute;top:7px;right:7px}.product-placeholder{flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.product-placeholder .game-icon{color:#476054;width:45px;height:45px}.product-placeholder small{font-size:12px}.product-copy h3{margin-bottom:6px;font-size:16px;line-height:1.35}.product-copy p{font-size:13px}.product-slot{color:#476054;font-size:12px}.muted{color:#476054}.product-buttons{align-items:center;gap:8px;margin-top:auto;display:flex}.product-buttons button{flex:1;min-width:0;padding:8px;font-size:13px}.owned-label{flex:1;justify-content:center;align-items:center;gap:5px;min-height:44px;font-size:12px;display:flex}.shortage{color:#762e1d;font-size:12px;line-height:1.5}.preview-banner{background:#fff3d4;border:1px solid #b98b43;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:10px 12px;font-size:13px;display:flex}.preview-banner button{flex-shrink:0;font-size:12px}.gift-note{background:#ece5d4;border-left:3px solid #825f2c;margin-bottom:18px;padding:10px 14px;font-size:13px}.equipment-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:18px;display:grid}.equipment-summary>div{background:#e7e6d8;border-radius:10px;flex-direction:column;gap:4px;padding:10px;font-size:12px;display:flex}.equipment-summary strong{font-size:12px}.inventory-list,.rooms-list{flex-direction:column;gap:10px;margin-bottom:20px;display:flex}.inventory-list article,.rooms-list article,.food-choice{background:#fffbf1;border:1px solid #c6cebf;border-radius:14px;align-items:center;gap:16px;padding:16px;display:flex}.inventory-list article>div,.rooms-list article>div,.food-choice>div{flex:1;min-width:0}.inventory-list p,.rooms-list p,.food-choice p{color:#476054;margin-top:4px;font-size:13px}.food-choice{margin-bottom:10px}.need-detail-value{margin:18px 0;font-size:22px;display:block}.settings-dialog{max-width:850px}.build-details h3{margin-bottom:14px}.build-details dl{grid-template-columns:155px minmax(0,1fr);gap:9px 15px;margin:0 0 20px;font-size:13px;display:grid}.build-details dt{color:#476054}.build-details dd{overflow-wrap:anywhere;margin:0}.settings-buttons{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.settings-buttons button{font-size:13px}.dialog-body select{color:#233f3a;background:#fffbf1;border:1px solid #b2c2ae;border-radius:10px;max-width:100%;min-height:44px;margin:10px 8px 10px 0;padding:8px}.dialog-body pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#e6e5d7;border-radius:12px;padding:14px;font:12px/1.5 ui-monospace,monospace}.dialog-body details{margin-top:18px}.dialog-body summary{cursor:pointer;min-height:44px;padding:10px 0}.sr-only{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=760px){.hud-top{top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));gap:8px}.hud-profile{flex:1;gap:5px;min-width:0;padding:7px 5px 7px 9px}.hud-profile>.game-icon{display:none}.hud-profile strong{font-size:16px}.hud-profile span{font-size:12px}.hud-profile small{display:none}.hud-profile .icon-button{width:44px;height:44px;padding:8px}.hud-wallets{gap:6px}.wallet{border-radius:13px;min-width:77px;padding:7px 9px}.wallet>span{font-size:12px}.wallet strong{gap:5px;font-size:18px}.wallet .game-icon{width:16px;height:16px}.hud-needs{top:84px;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.need-chip{text-align:center;flex-direction:column;align-items:center;gap:2px;min-height:74px;padding:7px 3px 14px;display:flex}.need-chip>.game-icon{align-self:center;width:16px;height:16px}.need-chip>b,.need-label{font-size:12px}.need-full{display:none}.need-short{display:inline}.need-bar{bottom:6px;left:6px;right:6px}.hud-care,.hud-menu{gap:8px;top:38%}.hud-care{left:max(10px,env(safe-area-inset-left))}.hud-menu{right:max(10px,env(safe-area-inset-right))}.hud-care button,.hud-menu button{border-radius:13px;min-width:69px;min-height:57px;padding:7px 5px;font-size:12px}.hud-care .game-icon,.hud-menu .game-icon{width:21px;height:21px}.hud-view{left:10px;bottom:max(12px,env(safe-area-inset-bottom));gap:6px}.hud-view button{min-width:44px;padding:9px;font-size:12px}.hud-view .game-icon{width:19px;height:19px}.hud-view button:first-child span{display:none}.hud-mode{right:10px;bottom:max(65px,env(safe-area-inset-bottom));text-align:right;max-width:150px;font-size:12px}.hud-notice{width:calc(100% - 32px);max-width:calc(100% - 32px);padding:8px 11px;font-size:12px;bottom:116px}.action-status{gap:3px;max-width:calc(100% - 170px);padding:9px 10px;font-size:12px;bottom:170px}.action-status button{padding:7px 8px;font-size:12px;line-height:1.2}.lease-notice{max-width:calc(100% - 32px);top:170px}.sofa-context{width:min(280px,100% - 28px);bottom:175px;transform:translate(-50%);top:auto!important;left:50%!important}.dialog-backdrop{padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.game-dialog{border-radius:18px}.dialog-header{padding:14px 16px}.dialog-header h2{font-size:25px}.dialog-header p{letter-spacing:1px;font-size:12px}.dialog-body{padding:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{gap:6px;padding:9px}.product-copy h3{font-size:14px}.product-buttons{flex-direction:column;align-items:stretch;gap:5px}.product-buttons button{min-height:44px;font-size:12px}.product-copy p{font-size:12px}.product-image{aspect-ratio:1.05}.equipment-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.preview-banner{flex-direction:column;align-items:stretch;font-size:12px}.preview-banner button{min-height:44px}.build-details dl{grid-template-columns:1fr;gap:4px}.build-details dd{margin-bottom:9px}.inventory-list article,.rooms-list article,.food-choice{flex-wrap:wrap;gap:9px;padding:12px}.inventory-list h3,.rooms-list h3,.food-choice h3{font-size:14px}.inventory-list button,.food-choice button{margin-left:auto}.settings-buttons{flex-direction:column;align-items:stretch}.dialog-hint{font-size:13px}}@media (height<=520px) and (width>=650px){.hud-top{top:8px;left:10px;right:10px}.hud-profile{min-width:215px;padding:5px 8px}.hud-profile strong{font-size:18px}.hud-profile small{display:none}.wallet{min-width:103px;padding:5px 13px}.wallet strong{font-size:18px}.hud-needs{grid-template-columns:repeat(4,minmax(0,130px));gap:5px;top:77px;left:10px;right:10px}.need-chip{min-height:48px;padding:5px 9px 11px}.need-chip>b,.need-label{font-size:12px}.need-bar{bottom:4px}.hud-care,.hud-menu{gap:5px;top:38%}.hud-care button,.hud-menu button{flex-direction:row;min-width:90px;min-height:44px;padding:6px 9px;font-size:12px}.hud-menu .game-icon,.hud-care .game-icon{width:18px;height:18px}.hud-view{bottom:8px;left:10px}.hud-notice{max-width:calc(100% - 450px);padding:7px 10px;font-size:12px;bottom:15px}.hud-mode{max-width:185px;bottom:8px;right:10px}.action-status{flex-direction:row;gap:10px;max-width:calc(100% - 230px);padding:7px 10px;bottom:66px}.action-status button{min-height:44px}.dialog-backdrop{padding:8px}.dialog-header{padding:10px 16px}.dialog-body{padding:14px 18px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sofa-context{width:260px;bottom:auto;transform:translate(-50%);top:130px!important;left:50%!important}}.dialog-error{color:#762e1d;background:#fff0e8;border:1px solid #a45136;border-radius:12px;margin-bottom:16px;padding:12px;font-size:13px}.game-dialog>.dialog-error{flex:none;align-items:center;gap:12px;max-height:168px;margin:0 24px 12px;display:flex;overflow:auto}.dialog-error>.icon-button{flex:none}.game-dialog>.preview-banner{flex:none;margin:0 24px 12px;position:static}.dialog-body{min-height:0}@media (width<=650px){.game-dialog>.dialog-error,.game-dialog>.preview-banner{margin:0 16px 10px}}@media (width<=760px){.hud-notice{width:calc(100% - 176px);max-width:calc(100% - 176px)}.action-status{bottom:72px}}@media (height<=520px) and (width>=650px){.hud-notice{width:auto;max-width:calc(100% - 560px)}}:root{--hud-safe-top:env(safe-area-inset-top,0px);--hud-safe-right:env(safe-area-inset-right,0px);--hud-safe-bottom:env(safe-area-inset-bottom,0px);--hud-safe-left:env(safe-area-inset-left,0px)}.library-shop-tabs{flex-wrap:wrap}.library-shop-tabs>button{min-width:110px}.library-book-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start;gap:18px;display:grid}.library-book-list{flex-direction:column;gap:9px;display:flex}.library-book-row{text-align:left;background:#fffbf1;border:1px solid #c6cebf;justify-content:flex-start;gap:13px;width:100%;padding:11px;display:flex}.library-book-row[aria-pressed=true]{background:#e4ecdc;border-color:#416e5e}.library-book-row>span:last-child{flex-direction:column;gap:5px;min-width:0;display:flex}.library-book-row strong{font-size:14px;line-height:1.4}.library-cover{background:var(--cover-colour,#386d60);border:2px solid #c9a56c;border-left:7px solid #294d4380;border-radius:3px 9px 9px 3px;flex-direction:column;justify-content:center;align-self:stretch;align-items:center;gap:6px;width:62px;min-width:62px;min-height:86px;padding:8px 4px;display:flex;box-shadow:2px 2px #d4cfb9}.library-cover .game-icon{width:24px;height:24px}.library-cover small{color:#fff6df;text-align:center;font-size:9px}.library-book-detail{background:#fffbf1;border:1px solid #c6cebf;border-radius:16px;min-width:0;padding:18px;position:sticky;top:0}.library-book-heading{align-items:flex-start;gap:10px;display:flex}.library-book-heading>.game-icon{flex:0 0 23px}.library-book-heading h3{margin-bottom:6px;font-size:19px;line-height:1.3}.library-book-heading p,.library-location,.library-blocked,.library-room-note{font-size:13px;line-height:1.5}.library-book-detail dl{grid-template-columns:minmax(0,1fr) auto;gap:9px 14px;margin:18px 0;font-size:13px;display:grid}.library-book-detail dt{color:#476054}.library-book-detail dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.library-book-detail>.button-primary{width:100%;margin:12px 0}.library-book-detail>.muted{font-size:12px;line-height:1.5}.library-place-label{flex-direction:column;margin-top:12px;font-size:13px;display:flex}.library-place-label select{margin-right:0}.library-blocked{background:#f5e6d3;border-left:3px solid #ae8059;border-radius:5px;margin:10px 0;padding:9px}.library-room-note{background:#e5ebdc;border-radius:11px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;padding:10px 12px;display:flex}.library-room-note button{min-height:44px;font-size:12px}.library-reading-hud{bottom:max(78px,calc(var(--hud-safe-bottom) + 64px));pointer-events:auto;flex-direction:column;gap:8px;width:270px;max-width:calc(100% - 28px);padding:12px 14px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.library-reading-hud>div:first-child{flex-direction:column;gap:4px;display:flex}.library-reading-hud small{color:#476054;font-size:12px}.library-reading-hud strong{font-size:14px;line-height:1.35}.library-reading-meter{flex-direction:column;gap:4px;display:flex}.library-reading-meter progress{accent-color:#416e5e;width:100%;height:7px}.library-reading-meter span{font-variant-numeric:tabular-nums;font-size:12px}.library-reading-hud p{font-size:12px;line-height:1.45}.library-reading-buttons{gap:7px;display:flex}.library-reading-buttons:empty{display:none}.library-reading-buttons button{flex:1;min-height:44px;font-size:12px}.library-context{top:auto;bottom:185px;left:50%;transform:translate(-50%)}.library-furniture-preview>strong{margin:7px 0;display:block}.library-furniture-preview>small{font-size:12px}.rooms-list article>button{max-width:240px;font-size:13px}.library-room-note button,.rooms-list article>button{white-space:normal}@media (width<=650px){.library-shop-tabs>button{min-width:75px;padding:8px 5px;font-size:12px}.library-book-layout{grid-template-columns:1fr;gap:13px}.library-book-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.library-book-row{flex-direction:column;align-items:flex-start;gap:7px;padding:8px}.library-book-row .library-cover{display:none}.library-book-row strong{font-size:13px}.library-book-row small{font-size:12px}.library-book-detail{padding:13px;position:static}.library-book-heading h3{font-size:17px}.library-reading-hud{bottom:max(65px,calc(var(--hud-safe-bottom) + 55px));gap:5px;width:min(320px,100% - 192px);max-width:calc(100% - 192px);padding:9px 11px}.library-reading-hud>div:first-child{padding-right:0}.library-reading-hud strong{font-size:13px}.library-reading-buttons{flex-wrap:wrap;max-width:none;position:static}.library-reading-buttons button{min-width:0;padding:6px 9px}.library-reading-hud p{padding-right:0}.rooms-list article>button{width:100%;max-width:none}.library-room-note{flex-direction:column;align-items:stretch}}.hud-needs{top:calc(88px + max(14px,var(--hud-safe-top)))}.hud-notice.with-action{bottom:260px}@media (width<=650px){.hud-top{top:max(10px,var(--hud-safe-top));left:max(10px,var(--hud-safe-left));right:max(10px,var(--hud-safe-right))}.hud-needs{top:calc(74px + max(10px,var(--hud-safe-top)))}.hud-mode{top:calc(136px + max(10px,var(--hud-safe-top)));bottom:auto;right:max(10px,var(--hud-safe-right))}.hud-view{left:max(10px,var(--hud-safe-left))}.action-status{bottom:calc(60px + max(12px,var(--hud-safe-bottom)))}.hud-notice{bottom:calc(104px + max(12px,var(--hud-safe-bottom)))}.hud-notice.with-action{bottom:calc(212px + max(12px,var(--hud-safe-bottom)))}}@media (height<=520px) and (width>=650px){.hud-top{top:max(8px,var(--hud-safe-top));left:max(10px,var(--hud-safe-left));right:max(10px,var(--hud-safe-right))}.hud-needs{top:calc(69px + max(8px,var(--hud-safe-top)));left:max(10px,var(--hud-safe-left));right:max(10px,var(--hud-safe-right))}.hud-mode{top:auto;bottom:max(8px,var(--hud-safe-bottom));right:max(10px,var(--hud-safe-right))}.hud-view{left:max(10px,var(--hud-safe-left));bottom:max(8px,var(--hud-safe-bottom))}.hud-notice.with-action{bottom:calc(128px + max(8px,var(--hud-safe-bottom)))}}.hud-indicators{display:contents}@media (width<=649px){.hud-care,.hud-menu{top:max(38%,calc(210px + max(10px,var(--hud-safe-top))))}.hud-indicators{top:calc(74px + max(10px,var(--hud-safe-top)));left:max(10px,var(--hud-safe-left));right:max(10px,var(--hud-safe-right));pointer-events:none;flex-direction:column;gap:6px;display:flex;position:absolute}.hud-indicators>.hud-needs{width:100%;position:static}.hud-indicators>.hud-mode{align-self:flex-end;max-width:150px;position:static}}@media (prefers-reduced-motion:reduce){.need-bar>i{transition:none}.spinner{animation-duration:1.8s}}:root{--story-cream:#fff7e8;--story-mint:#8db9a3;--story-gold:#e6ba62;--story-ink:#294d43;--story-outline:#b9c8b7}.game-icon{width:22px;height:22px}.hud-panel,.hud-care button,.hud-menu button{border-color:var(--story-outline);background:#fff7e8f5;box-shadow:0 2px 9px #294d4310}.hud-profile>.game-icon{width:22px;height:22px}.hud-profile strong,.wallet strong{color:var(--story-ink)}.wallet strong{font-variant-numeric:tabular-nums}.icon-button{flex:0 0 44px;min-width:44px;min-height:44px}.icon-button>.game-icon,.hud-view .game-icon{width:18px;height:18px}.hud-care .game-icon,.hud-menu .game-icon{width:22px;height:22px}.need-chip{--need-colour:#517b63;--need-track:#dce6d6}.need-chip:first-child{--need-colour:#a47a31;--need-track:#efe2be}.need-chip:nth-child(2){--need-colour:#b46c58;--need-track:#efdbd0}.need-chip:nth-child(3){--need-colour:#517b63;--need-track:#dce6d6}.need-chip:nth-child(4){--need-colour:#598878;--need-track:#d7e6dd}.need-chip:nth-child(5){--need-colour:#a47a31;--need-track:#efe2be}.need-bar{background:var(--need-track)}.need-bar>i{background:var(--need-colour)}.hud-mode{background:#fff7e8ed;border:1px solid #c7d1bf}.product-card{background:#fffbf2;border-color:#c7d1bf}.product-image{background:#e8e8d8}.product-placeholder{gap:6px}.product-placeholder .game-icon{width:22px;height:22px}.owned-label .game-icon{width:18px;height:18px}.hud-care button:active:not(:disabled),.hud-menu button:active:not(:disabled){background:#e5eedf;border-color:#416e5e}@media (width<=760px){.hud-top{gap:6px}.hud-profile{border-radius:12px;gap:5px;min-height:52px;padding:3px 4px 3px 9px}.hud-profile>div{min-width:0}.hud-profile strong{font-size:16px;line-height:1.15}.hud-profile span{font-size:12px;line-height:1.25}.hud-wallets{gap:5px}.wallet{border-radius:12px;min-width:72px;padding:5px 8px}.wallet>span{font-size:12px;line-height:1.25}.wallet strong{white-space:nowrap;gap:4px;font-size:16px;line-height:1.4}.wallet .game-icon{width:18px;height:18px}.hud-care,.hud-menu{gap:6px}.hud-care button,.hud-menu button{border-radius:12px;gap:2px;width:72px;min-width:44px;min-height:50px;padding:5px 4px;font-size:12px;line-height:1.2}.hud-care .game-icon,.hud-menu .game-icon{width:20px;height:20px}.hud-care small{font-size:12px;line-height:1.2}.hud-view{gap:5px}.hud-view button{gap:5px;min-width:44px;min-height:44px;padding:8px;font-size:12px}.game-dialog{border-radius:16px}.dialog-header{padding:10px 12px}.dialog-header h2{font-size:23px}.dialog-header p{letter-spacing:.7px;margin-bottom:2px}.dialog-body{padding:12px}.dialog-tabs{gap:5px;margin-bottom:12px}.dialog-tabs button{min-width:44px;padding:8px;font-size:12px}.dialog-hint{margin-bottom:12px;font-size:12px;line-height:1.5}.shop-wallets{margin-bottom:10px;font-size:12px}.product-grid{gap:8px}.product-card{border-radius:13px;gap:5px;min-width:0;padding:8px}.product-image{aspect-ratio:1.5;border-radius:9px}.product-copy h3,.product-card>h3{overflow-wrap:anywhere;margin-bottom:3px;font-size:13px;line-height:1.3}.product-copy p,.product-card>p{font-size:12px;line-height:1.35}.product-slot,.product-placeholder small{font-size:12px;line-height:1.3}.product-buttons{gap:4px}.product-buttons button{min-height:44px;padding:6px;font-size:12px;line-height:1.2}.product-state{padding:3px 6px;top:5px;right:5px}.shortage{font-size:12px;line-height:1.4}.equipment-summary{gap:5px;margin-bottom:12px}.equipment-summary>div{padding:7px 8px}.inventory-list article,.rooms-list article,.food-choice{gap:8px;padding:10px}.game-dialog>.dialog-error,.game-dialog>.preview-banner{margin-left:12px;margin-right:12px}}@media (width<=649px){.hud-indicators{top:calc(62px + max(10px,var(--hud-safe-top)));gap:5px}.hud-indicators>.hud-needs{gap:4px}.need-chip{grid-template-rows:18px auto;grid-template-columns:18px minmax(0,1fr);place-content:center;align-items:center;gap:2px 3px;min-height:54px;padding:6px 3px 11px;display:grid}.need-chip>.game-icon{grid-area:1/1;place-self:center end;width:18px;height:18px}.need-chip>b{text-align:left;white-space:nowrap;grid-area:1/2;font-size:12px;line-height:18px}.need-label{white-space:nowrap;grid-area:2/1/auto/-1;font-size:12px;line-height:15px}.need-bar{height:3px;bottom:5px;left:6px;right:6px}.hud-indicators>.hud-mode{text-align:right;align-self:flex-end;width:max-content;max-width:100%;padding:3px 7px;font-size:12px;line-height:1.25}.hud-care,.hud-menu{top:max(34%,calc(202px + max(10px,var(--hud-safe-top))))}.hud-care{left:max(10px,var(--hud-safe-left))}.hud-menu{right:max(10px,var(--hud-safe-right))}.hud-view{bottom:max(12px,var(--hud-safe-bottom))}.hud-notice{width:calc(100% - 180px);max-width:calc(100% - 180px)}.action-status{gap:3px;max-width:calc(100% - 180px);padding:8px;line-height:1.3}.action-status button{min-width:44px;min-height:44px;padding:6px 8px}.lease-notice{top:calc(202px + max(10px,var(--hud-safe-top)));max-width:calc(100% - 180px);padding:6px 8px}}@media (width>=400px) and (width<=760px){.product-buttons{flex-direction:row;align-items:center}.product-buttons button{padding-left:5px;padding-right:5px}}@media (height<=520px) and (width>=650px){.hud-profile{flex:0 0 215px;min-width:215px;min-height:44px;padding:0 5px 0 9px}.hud-wallets .wallet{min-width:103px;padding:3px 8px}.need-chip{text-align:left;grid-template-rows:15px 15px;grid-template-columns:18px minmax(0,1fr);align-content:center;gap:0 5px;height:48px;min-height:48px;padding:4px 7px 10px;display:grid}.need-chip>.game-icon{grid-area:1/1/3;align-self:center}.need-chip>.need-label{grid-area:1/2;line-height:15px}.need-chip>b{grid-area:2/2;line-height:15px}.hud-care,.hud-menu{top:max(38%,calc(118px + max(8px,var(--hud-safe-top))));gap:4px}.hud-care button,.hud-menu button{flex-direction:row;width:auto;min-width:90px;min-height:44px;padding:5px 8px}.hud-care .game-icon,.hud-menu .game-icon{width:18px;height:18px}.hud-mode{top:max(8px,var(--hud-safe-top));text-align:center;width:max-content;max-width:min(240px,100% - 452px);padding:2px 6px;font-size:12px;line-height:1.15;bottom:auto;left:50%;right:auto;transform:translate(-50%)}.hud-notice{bottom:max(8px,var(--hud-safe-bottom))}}.storage-recovery-backdrop{z-index:90;padding:max(12px,var(--hud-safe-top)) max(12px,var(--hud-safe-right)) max(12px,var(--hud-safe-bottom)) max(12px,var(--hud-safe-left));-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overscroll-behavior:contain;background:#233f3a85;place-items:center;display:grid;position:fixed;inset:0;overflow:auto}.storage-recovery{background:var(--story-cream);width:min(420px,100vw - 24px);max-width:100%;max-height:100%;color:var(--story-ink);border:1px solid #bdcbb7;border-radius:18px;flex-direction:column;gap:12px;padding:18px;display:flex;overflow:auto;box-shadow:0 12px 48px #183e3640}.storage-recovery h2{font:25px/1.2 Georgia,serif}.storage-recovery p{font-size:13px;line-height:1.5}.storage-recovery button{flex-shrink:0;width:100%;min-width:44px;min-height:44px;padding:10px 12px;font-size:13px}.storage-recovery-actions{flex-direction:column;gap:8px;display:flex}.storage-recovery [role=alert]{color:#762e1d;background:#fff0e8;border:1px solid #a45136;border-radius:10px;padding:10px;font-size:13px}.session-note{color:#704b1c;width:fit-content;max-width:100%;text-align:inherit;background:#fff0c7;border:1px solid #d1af6b;border-radius:6px;margin:4px 0 0 auto;padding:2px 6px;font-size:12px;line-height:1.3;display:block}.catalog-path{color:#526953;margin:0 0 10px;font-size:12px}.pillow-note{background:#f9f0d9;border:1px solid #d3c497;border-radius:10px;margin:0 0 16px;padding:10px 12px;font-size:13px;line-height:1.5}.furniture-tabs{max-width:380px}.furniture-card .product-image{aspect-ratio:1.4}.furniture-card .product-copy p{line-height:1.5}.sofa-preview{left:50%;bottom:max(18px,var(--hud-safe-bottom));pointer-events:auto;z-index:4;border-radius:16px;flex-direction:column;gap:9px;width:min(650px,100% - 220px);padding:14px;display:flex;position:absolute;transform:translate(-50%)}.sofa-preview>div:first-child{flex-direction:column;gap:4px;display:flex}.sofa-preview strong{font-size:17px}.sofa-preview small,.sofa-preview span{color:#476054;font-size:12px;line-height:1.4}.sofa-preview-buttons{flex-wrap:wrap;gap:6px;display:flex}.sofa-preview-buttons button{flex:1;min-width:44px;min-height:44px;padding:7px 9px;font-size:12px}.sofa-preview-buttons [aria-pressed=true]{background:#dbe8d7;border-color:#315f58}.qa-record-stop{z-index:8;pointer-events:auto;color:#762e1d;background:#fff0e8;border-color:#ab604a;position:absolute;bottom:76px;right:18px}.recording-download{color:#315f58;min-height:44px;padding:12px;display:block}@media (width<=649px){.sofa-preview{width:calc(100% - 20px);bottom:max(64px,var(--hud-safe-bottom));gap:6px;padding:10px}.sofa-preview strong{font-size:14px}.sofa-preview-buttons button{padding:6px;font-size:12px}.sofa-preview span{display:none}.qa-record-stop{font-size:12px;bottom:14px;right:10px}}@media (height<=520px) and (width>=650px){.hud-mode .session-note{background:0 0;border:0;margin-top:2px;padding:0;line-height:1.15}}.recording-result{width:100%}.recording-result video{background:#233f3a;border-radius:12px;width:100%;max-height:320px;display:block}.hearth-controls .game-icon{vertical-align:middle;width:22px;height:22px;margin-right:4px}.hearth-controls button{min-height:44px;margin:4px 6px 0 0;padding:8px 12px}.is-furniture-preview .hud-care,.is-furniture-preview .hud-menu,.is-furniture-preview .hud-needs,.is-furniture-preview .hud-notice{display:none}.furniture-tabs{flex-wrap:wrap}.price-pending{color:#6e5941;background:#f8efdc;border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.5}.clothing-preview{left:50%;bottom:max(16px,var(--hud-safe-bottom));pointer-events:auto;z-index:5;border-radius:16px;flex-direction:column;gap:8px;width:min(720px,100% - 220px);padding:12px 16px;display:flex;position:absolute;transform:translate(-50%)}.clothing-preview-title{flex-direction:column;gap:3px;display:flex}.clothing-preview-title small{color:#526953;font-size:12px}.clothing-preview-title strong{font-size:16px}.is-fitting .hud-needs,.is-fitting .hud-care,.is-fitting .hud-menu,.is-fitting .hud-view,.is-fitting .hud-notice{display:none}.is-fitting .hud-indicators{pointer-events:none;position:static}.is-fitting .hud-mode{width:auto;max-width:240px;position:absolute;inset:auto 14px 8px auto;transform:none}.clothing-preview-views,.clothing-preview-colors,.clothing-preview-actions{gap:6px;display:flex}.clothing-preview button{flex:1;min-width:44px;min-height:44px;padding:6px 8px;font-size:12px}.clothing-preview [aria-pressed=true]{background:#dbe8d7;border-color:#315f58}.clothing-preview .button-primary:disabled{color:#6c6c60;opacity:1;background:#e7e1d6}@media (width<=649px){.clothing-preview{width:calc(100% - 20px);bottom:max(65px,var(--hud-safe-bottom));gap:5px;padding:10px}.clothing-preview-title strong{font-size:14px}.clothing-preview button{padding:5px;font-size:11px}.clothing-preview-actions{flex-wrap:wrap}.clothing-preview-actions>button:last-child{flex-basis:100%}}[data-item=wall_art_magic_story] .product-image img,[data-item=bookshelf_cozy_corner] .product-image img{object-fit:contain}.central-furniture-card .product-image img{object-fit:contain;padding:4px}.central-starter-restore p{margin:0 0 8px}.central-starter-restore button{min-height:44px}.window-furniture-card .product-image img{object-fit:contain;padding:4px}.window-controls h3{align-items:center;gap:6px;display:flex}.window-controls .game-icon{width:22px;height:22px}.window-controls button{min-height:44px;margin:6px 6px 0 0;padding:8px 10px}.window-preview .sofa-preview-buttons button{white-space:normal;line-height:1.35}.window-hint{color:#6e5941;font-size:12px;line-height:1.4}.sofa-context .window-hint{margin:0}.furniture-tabs{grid-template-columns:repeat(4,minmax(0,1fr));max-width:100%;display:grid}.furniture-tabs button{white-space:normal;overflow-wrap:anywhere;min-width:0;min-height:44px;line-height:1.3}.dialog-tabs button[aria-selected=true]:hover:not(:disabled){color:#fff8ec;background:#315f58;border-color:#315f58}[data-item=plant_fairytale_garden] .product-image img,[data-item=plant_blooming_story] .product-image img{object-fit:contain;padding:4px}.plant-preview .sofa-preview-buttons button{white-space:normal;line-height:1.35}.plant-slot-note{margin-top:12px}.ball-card .product-image img{object-fit:contain;padding:4px}.ball-card>.product-buttons+button{min-height:44px;font-size:13px}.ball-preview .sofa-preview-buttons button{white-space:normal;line-height:1.35}.bowl-card .product-image img{object-fit:contain;padding:4px}.bowl-card>.product-buttons+button{min-height:44px;font-size:13px}.bowl-preview .sofa-preview-buttons button{white-space:normal;line-height:1.35}.bowl-inventory{margin:18px 0}.bowl-inventory>h3{margin-bottom:8px}.bowl-inventory>.product-grid{margin-bottom:12px}.bowl-inventory>button{min-height:44px}@media (width<=649px){.bowl-preview{bottom:max(12px,var(--hud-safe-bottom));max-height:calc(100% - 100px - var(--hud-safe-top));overflow-y:auto}.bowl-preview .sofa-preview-buttons{gap:5px}.bowl-preview .sofa-preview-buttons button{min-height:44px;padding:6px 7px}.bowl-preview .sofa-preview-buttons:nth-child(3)>button:last-child{flex-basis:100%}.ball-preview{bottom:max(12px,var(--hud-safe-bottom));max-height:calc(100% - 100px - var(--hud-safe-top));overflow-y:auto}.ball-preview .sofa-preview-buttons{gap:5px}.ball-preview .sofa-preview-buttons button{min-height:44px;padding:6px 7px}.furniture-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.plant-preview{bottom:max(12px,var(--hud-safe-bottom));max-height:calc(100% - 164px - var(--hud-safe-top));overflow-y:auto}.plant-preview .sofa-preview-buttons{gap:5px}.plant-preview .sofa-preview-buttons button{min-height:44px;padding:6px 7px}.window-preview{bottom:max(12px,var(--hud-safe-bottom));max-height:calc(100% - 164px - var(--hud-safe-top));overflow-y:auto}.window-preview .sofa-preview-buttons{gap:5px}.window-preview .sofa-preview-buttons button{min-height:44px;padding:6px 7px}.window-controls button{font-size:12px}}.game-hud:has(.action-status) .library-reading-hud{display:none}.library-lamp-context{top:185px;bottom:auto}.library-lamp-context>.button-primary{margin-top:10px}@media (width<=650px){.library-lamp-context{width:min(320px,100% - 192px);padding:14px 11px;top:185px}.library-lamp-context h3{font-size:13px}.library-lamp-context>.button-primary{width:100%;padding:8px;font-size:12px}}.library-reading-hud{padding:10px 14px;bottom:16px}.hud-notice{pointer-events:auto}.dialog-back{flex:none;min-width:64px}.dialog-header>div{min-width:0}.dialog-header h2{overflow-wrap:anywhere}.shop-wallet{color:#355b49;font-weight:750}.shop-directions{grid-template-columns:1fr;gap:12px;display:grid}.shop-direction{text-align:left;background:#fffcf2;border-radius:16px;align-items:center;gap:14px;padding:15px 18px;display:flex}.shop-direction>.game-icon{flex:0 0 34px;width:34px;height:34px}.shop-direction>span:first-of-type{flex:1;gap:4px;display:grid}.shop-direction strong{font-size:18px}.shop-direction small{color:#6d7166}.shop-direction-currency{color:#5a7054;font-size:13px;font-weight:700}.bookshop-intro,.collection-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.test-prices{color:#665329;background:#f8edcb;border:1px solid #c9b681;border-radius:12px;padding:11px 14px}.bookshop-filters{grid-template-columns:2fr 1fr 1fr;gap:12px;margin:18px 0;display:grid}.bookshop-filters label,.home-type-filter,.sofa-variants>label{flex-direction:column;gap:6px;font-size:14px;font-weight:650;display:flex}.bookshop-filters input[type=search],.bookshop-filters select,.home-type-filter select,.sofa-variants select{color:#263d32;width:100%;min-height:44px;font:inherit;background:#fffef8;border:1px solid #b5c0a9;border-radius:10px;padding:8px 11px}.bookshop-filters .bookshop-check{flex-direction:row;align-items:center;gap:10px;min-height:44px}.bookshop-check input{accent-color:#426e58;width:22px;height:22px}.bookshop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.bookshop-card{background:#fffdf4;border:1px solid #d3c5a8;border-radius:18px;min-width:0;overflow:hidden}.bookshop-cover{background:#f0eadb;justify-content:center;height:230px;padding:16px;display:flex}.bookshop-cover img{object-fit:contain;max-width:100%;height:100%}.bookshop-cover>.game-icon{width:110px;height:170px}.bookshop-copy{padding:16px}.bookshop-copy h3{margin:8px 0 14px;font-size:19px;line-height:1.25}.bookshop-copy dl{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin:0 0 14px;font-size:13px;display:grid}.bookshop-copy dt{color:#6c7264}.bookshop-copy dd{text-align:right;margin:0;font-weight:650}.bookshop-copy summary{cursor:pointer;color:#3d6852;align-content:center;min-height:44px;display:list-item}.bookshop-copy details p{line-height:1.5}.bookshop-copy>.button-primary{width:100%}.book-owned{color:#3d6c51;font-weight:700}.book-price{font-size:18px;font-weight:750}.collection-cover{justify-content:center;align-items:center;width:74px;min-width:74px;height:100px;display:flex}.collection-cover img{object-fit:contain;max-width:100%;max-height:100%}.collection-cover .library-cover{display:flex}.library-book-row{min-width:0}.library-book-row>span:last-child{overflow-wrap:anywhere;min-width:0}.home-type-filter{max-width:340px;margin:10px 0 18px}.sofa-variants>label{max-width:420px;margin:14px 0}.sofa-variants .product-grid{grid-template-columns:minmax(0,1fr);max-width:480px}.bookshop input:focus-visible,.bookshop select:focus-visible,.home-type-filter select:focus-visible,.sofa-variants select:focus-visible{outline-offset:3px;outline:3px solid #b38837}@media (width<=650px){.bookshop-filters{grid-template-columns:1fr 1fr}.bookshop-search{grid-column:1/-1}.bookshop-grid{grid-template-columns:1fr}.bookshop-cover{height:250px}.shop-direction{gap:10px;padding:13px 10px}.shop-direction-currency{font-size:12px}.collection-cover{width:52px;min-width:52px;height:76px}.library-book-list .library-book-row{align-items:center;gap:10px;display:flex}.library-book-list{grid-template-columns:1fr}.dialog-header{gap:9px}.dialog-back{padding:9px}.bookshop-copy dl{font-size:14px}}.save-transfer,.local-test-profile{background:#fffdf4;border:1px solid #d3c5a8;border-radius:14px;margin:18px 0;padding:16px}.save-transfer label{gap:7px;margin:12px 0;display:grid}.save-transfer textarea{box-sizing:border-box;resize:vertical;color:#263d32;background:#fffef8;border:1px solid #b5c0a9;border-radius:10px;width:100%;min-height:110px;max-height:300px;padding:10px;font:12px/1.4 ui-monospace,monospace;overflow:auto}.save-transfer input[type=file]{max-width:100%;min-height:44px}.save-transfer .save-replace{align-items:center;gap:12px;min-height:44px;display:flex}.save-replace input{accent-color:#426e58;flex:0 0 22px;width:22px;height:22px}.save-transfer summary{cursor:pointer;align-content:center;min-height:44px;font-weight:650}.save-transfer textarea:focus-visible{outline-offset:3px;outline:3px solid #b38837}.book-offline-hint{color:#48614c;background:#edf1e4;border-radius:9px;padding:10px 12px;font-size:13px;line-height:1.45}.local-recording{border:1px solid #c9b681;border-radius:12px;margin:16px 0;padding:14px}.local-recording>summary{cursor:pointer;align-content:center;min-height:44px;font-weight:650}.local-recording video{max-width:100%}.food-catalog,.food-stock{touch-action:pan-y;pointer-events:auto;min-width:0}.food-catalog-intro{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;font-size:14px;line-height:1.55;display:flex}.food-catalog-intro p{max-width:600px}.food-catalog-intro button{flex-shrink:0}.food-test-balance,.food-reading-note{background:#fff3d8;border:1px solid #cebc8c;border-radius:11px;margin-bottom:16px;padding:11px 14px;font-size:13px;line-height:1.55}.food-filters{flex-wrap:wrap}.food-filters button{flex:auto;min-height:44px;padding:9px 13px}.food-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.food-card{background:#fffaf0;border:1px solid #c8cbb5;border-radius:18px;flex-direction:column;gap:12px;min-width:0;padding:12px;display:flex;overflow:hidden}.food-card-image{aspect-ratio:1;background:#f1e7d6;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;display:flex;overflow:hidden}.food-card-image img{object-fit:cover;width:100%;height:100%;display:block}.food-card-image>.game-icon{color:#52705a;width:46px;height:46px}.food-card-copy{flex-direction:column;gap:8px;display:flex}.food-card h3{overflow-wrap:anywhere;font:600 17px/1.3 StorySans,system-ui,sans-serif}.food-category{color:#60725d;font-size:12px}.food-description{color:#476054;min-height:40px;font-size:13px;line-height:1.55}.food-effects{flex-wrap:wrap;gap:6px;font-size:12px;display:flex}.food-effects>span{white-space:nowrap;background:#eaf0df;border-radius:8px;align-items:center;gap:4px;padding:5px 7px;display:inline-flex}.food-effects .game-icon{width:16px;height:16px}.food-effects>.food-effect-negative{color:#8b3c3b;background:#f9e6df}.food-effects>.food-effect-zero{color:#65705e;background:#eeece1}.food-effects>.food-effect-positive{color:#35583d}.food-stock-count{color:#4b6252;font-size:13px}.food-unit-price{font-size:13px}.food-unit-price b{font-size:15px}.food-purchase{flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;display:flex}.food-purchase>.button-primary{flex:100%;padding:10px 8px;font-size:13px}.food-quantity{justify-content:center;align-items:center;gap:8px;width:100%;font-size:16px;display:flex}.food-quantity button{width:44px;min-height:44px;padding:6px;font-size:20px}.food-quantity output{text-align:center;min-width:28px;font-weight:600}.food-blocked,.food-empty{color:#6b5541;font-size:13px;line-height:1.55}.food-empty{background:#fffbf1;border-radius:12px;margin-bottom:14px;padding:20px}.food-expected{border-top:1px solid #d7dacb;flex-direction:column;gap:7px;padding-top:10px;display:flex}.food-expected>strong{color:#52664e;font-size:12px}.food-expected p,.food-details p{color:#52664e;font-size:12px;line-height:1.6}.food-stock-grid .button-primary{margin-top:auto}.food-purchase-notice{background:#eaf1df;border:1px solid #afc5a5;border-radius:11px;margin-bottom:16px;padding:11px 14px;font-size:13px}@media (width<=760px){.food-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.food-card{border-radius:14px;gap:10px;padding:9px}.food-card h3{font-size:15px}.food-description{min-height:0;font-size:12px}.food-effects{gap:4px;font-size:11px}.food-effects>span{padding:4px 5px}.food-catalog-intro{flex-direction:column;align-items:stretch;gap:10px;font-size:13px}.food-catalog-intro button{align-self:flex-start}.food-filters{gap:6px}.food-filters button{padding:9px 10px;font-size:12px}.food-purchase>.button-primary,.food-stock-grid .button-primary{padding:10px 6px;font-size:12px}.food-unit-price b{font-size:14px}}@media (width<=359px){.food-grid{grid-template-columns:1fr}.food-card-image{aspect-ratio:auto;min-height:190px;max-height:230px}.food-card-image img{object-fit:contain}}.hud-notice.notice-food-result{pointer-events:auto;background:#f1f5e8;border-color:#a8bf9d;align-items:center;gap:10px;display:flex}.hud-profile .reader-progress-profile{text-align:left;background:0 0;border:0;border-radius:4px;flex-direction:column;flex:1;align-items:flex-start;gap:2px;min-width:0;padding:0;font-weight:400;display:flex}.hud-profile .reader-progress-profile strong{font:20px/1.2 Georgia,serif}.reader-progress-total{line-height:1.25;font-size:12px!important}.reader-progress-next{color:#4d6555;line-height:1.2;font-size:11px!important}.reader-progress-bar{appearance:none;background:#d1dbc7;border:0;border-radius:3px;width:100%;height:4px;margin-top:3px}.reader-progress-bar::-webkit-progress-bar{background:#d1dbc7;border-radius:3px}.reader-progress-bar::-webkit-progress-value{background:#3d725f;border-radius:3px}.reader-progress-bar::-moz-progress-bar{background:#3d725f;border-radius:3px}.game-page.has-reader-progress .hud-needs{top:121px}.game-page.has-reader-progress .hud-profile{min-width:330px;max-width:480px}.game-page.has-reader-progress .wallet>span{max-width:130px;line-height:1.25}.game-progress-panel{grid-template-columns:1fr 1fr;gap:16px;display:grid}.game-progress-panel>section{background:#fffaf0;border:1px solid #c2ceb6;border-radius:15px;flex-direction:column;gap:11px;padding:18px;display:flex}.game-progress-panel>section:first-child{grid-column:1/-1}.game-progress-panel p{font-size:14px;line-height:1.6}.game-progress-panel .progress-large{font-size:21px;font-weight:600}.game-progress-panel progress{accent-color:#3d725f;width:100%;height:9px}.game-progress-panel>.dialog-hint{grid-column:1/-1}.progress-preserved,.progress-candidate{color:#5b644e;border-left:3px solid #a08b49;padding-left:10px;font-size:12px!important}.progress-library-preview{background:#edf0df;border-radius:10px;padding:12px}.book-reward-summary{background:#edf1e1;border:1px solid #c6d4b5;border-radius:11px;flex-direction:column;gap:7px;margin:10px 0;padding:11px;display:flex}.book-reward-summary dl{grid-template-columns:1fr auto;gap:6px 10px;font-size:12px;display:grid;margin:0!important}.book-reward-summary dt{color:#50684f}.book-reward-summary dd{text-align:right;margin:0}.book-reward-total{font-weight:600}.book-reward-summary p{font-size:12px;line-height:1.5}.reading-satiety-bonus{color:#315c43;font-weight:600}.reading-normal-reward,.book-reward-snapshot,.book-reward-mood{color:#52664f}.book-reward-summary.is-compact{padding:9px}.reading-reward-badge{color:#365e45;font-size:12px;line-height:1.4}.reading-reward-badge strong{font-size:12px;display:inline}@media (width<=760px){.game-page.has-reader-progress .hud-profile{min-width:0;max-width:none}.hud-profile .reader-progress-profile strong{font-size:15px}.reader-progress-total,.reader-progress-next{font-size:10px!important}.game-page.has-reader-progress .hud-top{gap:6px}.game-page.has-reader-progress .hud-needs{top:120px}.game-page.has-reader-progress .wallet{min-width:71px;padding:7px}.game-page.has-reader-progress .wallet>span{max-width:85px;font-size:10px}.game-page.has-reader-progress .wallet strong{font-size:16px}.game-progress-panel{grid-template-columns:1fr}.game-progress-panel>section{padding:14px}.game-progress-panel .progress-large{font-size:18px}.book-reward-summary dl{grid-template-columns:1fr;font-size:12px}.book-reward-summary dd{text-align:left}.book-reward-summary dt:not(:first-child){margin-top:4px}}@media (height<=520px) and (width>=650px){.game-page.has-reader-progress .hud-needs{top:106px}.game-page.has-reader-progress .hud-profile{min-width:300px}.hud-profile .reader-progress-profile strong{font-size:16px}.reader-progress-total,.reader-progress-next{font-size:10px!important}}.progress-room-preview{margin:0}.progress-room-preview img{object-fit:cover;border-radius:10px;width:100%;max-height:260px;display:block}.progress-room-preview figcaption{color:#52664f;margin-top:6px;font-size:12px}@media (width<=649px){.game-page.has-reader-progress .hud-indicators{top:calc(102px + max(10px,var(--hud-safe-top)))}}.game-page.has-reader-progress{--compact-paper:#fff8e9;--compact-wash:#ecebd9;--compact-ink:#284f46;--compact-muted:#72796a;--compact-active:#e4ead3;--compact-bottom:max(12px,var(--hud-safe-bottom));--compact-head-top:max(12px,var(--hud-safe-top));--compact-head-height:76px;--compact-side:max(12px,var(--hud-safe-left))}.game-page.has-reader-progress .hud-top{top:var(--compact-head-top);width:min(640px,calc(100% - 24px - var(--hud-safe-left) - var(--hud-safe-right)));height:var(--compact-head-height);background:var(--compact-paper);box-shadow:none;pointer-events:auto;border:0;border-radius:28px;align-items:center;gap:12px;padding:10px 12px;display:flex;left:50%;right:auto;transform:translate(-50%)}.game-page.has-reader-progress .hud-profile{min-width:0;max-width:none;box-shadow:none;background:0 0;border:0;flex:1;gap:0;padding:0}.game-page.has-reader-progress .hud-profile .reader-progress-profile--compact{border:0;border-radius:16px;flex-direction:row;align-items:center;gap:10px;width:100%;min-height:48px;padding:0;display:flex}.reader-progress-avatar{background:var(--compact-wash);border-radius:17px;flex:0 0 48px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.reader-progress-avatar .game-icon{width:27px;height:27px}.reader-progress-copy{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.game-page.has-reader-progress .reader-progress-copy strong{color:var(--compact-ink);font:22px/1.15 Georgia,serif}.game-page.has-reader-progress .reader-progress-copy .reader-progress-total{color:var(--compact-muted);white-space:nowrap;line-height:1.3;font-size:12px!important}.game-page.has-reader-progress .reader-progress-copy .reader-progress-bar{background:#dcdcca;max-width:260px;height:4px;margin-top:2px}.game-page.has-reader-progress .reader-progress-bar::-webkit-progress-bar{background:#dcdcca}.game-page.has-reader-progress .reader-progress-bar::-webkit-progress-value{background:#719681}.game-page.has-reader-progress .hud-wallets{flex:none;align-items:center;gap:13px}.game-page.has-reader-progress .wallet{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.game-page.has-reader-progress .wallet strong{color:var(--compact-ink);gap:5px;font:500 14px/1.3 StorySans,system-ui,sans-serif}.game-page.has-reader-progress .wallet .game-icon{width:21px;height:21px}.game-page.has-reader-progress .hud-top>.icon-button{border:0;border-radius:50%;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:10px}.game-page.has-reader-progress .hud-top>.icon-button .game-icon{width:22px;height:22px}.game-page.has-reader-progress .hud-indicators{top:calc(var(--compact-head-top) + var(--compact-head-height) + 8px);width:min(640px,calc(100% - 24px - var(--hud-safe-left) - var(--hud-safe-right)));pointer-events:none;flex-direction:column;gap:4px;display:flex;position:absolute;left:50%;right:auto;transform:translate(-50%)}.game-page.has-reader-progress .hud-indicators>.hud-needs{background:#eae5d4;border:0;border-radius:26px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;padding:4px;display:grid;position:static}.game-page.has-reader-progress .need-chip{background:var(--compact-paper);min-height:51px;box-shadow:none;text-align:left;border:0;border-radius:22px;grid-template-rows:auto auto;grid-template-columns:24px minmax(0,1fr);align-content:center;gap:1px 7px;padding:7px 10px;display:grid}.game-page.has-reader-progress .need-chip>.game-icon{grid-area:1/1/3;align-self:center;width:23px;height:23px}.game-page.has-reader-progress .need-chip>b{white-space:nowrap;color:var(--compact-ink);grid-area:1/2;font-size:14px;line-height:1.15}.game-page.has-reader-progress .need-label{color:#486154;grid-area:2/2;font-size:11px;font-weight:400;line-height:1.15}.game-page.has-reader-progress .need-full{display:none}.game-page.has-reader-progress .need-short{display:inline}.game-page.has-reader-progress .need-bar{display:none}.game-page.has-reader-progress .hud-indicators>.hud-mode{color:#4b5f49;text-align:right;background:0 0;border:0;align-self:flex-end;max-width:100%;padding:0 8px;font-size:11px;line-height:1.25;position:static;transform:none}.compact-controls{pointer-events:none;--compact-dock-height:68px;position:absolute;inset:0}.compact-controls [hidden]{display:none!important}.compact-menu-dismiss{z-index:2;pointer-events:auto;width:100%;height:100%;box-shadow:none;cursor:default;border:0;border-radius:0;padding:0;position:absolute;inset:0;background:0 0!important}.compact-dock{left:50%;bottom:var(--compact-bottom);width:min(560px,calc(100% - 24px - var(--hud-safe-left) - var(--hud-safe-right)));background:var(--compact-paper);min-height:68px;box-shadow:none;pointer-events:auto;z-index:6;border:0;border-radius:30px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:6px 10px;display:grid;position:absolute;transform:translate(-50%)}.compact-dock>button{min-width:0;min-height:56px;color:var(--compact-ink);background:0 0;border:0;border-radius:24px;flex-direction:column;gap:3px;padding:6px 9px;font-size:13px;font-weight:600;line-height:1.2;display:flex;position:relative}.compact-dock>button>.game-icon{width:24px;height:24px}.compact-dock>button[aria-expanded=true]{background:var(--compact-active)}.compact-dock .compact-chevron{opacity:.65;width:10px;height:10px;transition:transform .16s;position:absolute;top:8px;right:8px}.compact-dock [aria-expanded=true] .compact-chevron{transform:rotate(180deg)}.compact-group-panel{left:50%;bottom:calc(var(--compact-bottom) + 78px);width:min(560px,calc(100% - 24px - var(--hud-safe-left) - var(--hud-safe-right)));background:var(--compact-paper);box-shadow:none;z-index:6;pointer-events:auto;overscroll-behavior:contain;touch-action:pan-y;border:0;border-radius:24px;max-height:min(310px,100dvh - 240px);padding:8px 12px 12px;position:absolute;overflow:auto;transform:translate(-50%)}.compact-group-heading{justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding-left:6px;display:flex}.compact-group-heading h3{color:var(--compact-ink);font:19px/1.2 Georgia,serif}.compact-group-heading>.icon-button{border:0;border-radius:50%}.compact-group-heading .game-icon{width:18px;height:18px;transform:rotate(180deg)}.compact-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.compact-action-grid .compact-action{text-align:left;min-width:0;min-height:48px;color:var(--compact-ink);background:#eeeddd;border:0;border-radius:16px;justify-content:flex-start;gap:9px;padding:9px 12px;font-size:13px;line-height:1.3}.compact-action>.game-icon{width:22px;height:22px}.compact-action>span{overflow-wrap:anywhere;min-width:0}.compact-action small{color:var(--compact-muted);font-size:11px;line-height:1.3;display:block}.game-page.has-reader-progress .library-reading-hud--compact{left:50%;bottom:calc(var(--compact-bottom) + 82px);width:min(520px,calc(100% - 48px - var(--hud-safe-left) - var(--hud-safe-right)));background:var(--compact-paper);max-width:none;min-height:76px;box-shadow:none;z-index:5;border:0;border-radius:24px;padding:9px 10px;font-size:12px;display:block;position:absolute;top:auto;transform:translate(-50%)}.game-page.has-reader-progress .library-reading-hud--compact .reading-compact-main{text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:11px;width:100%;min-height:56px;display:flex;padding:0!important}.reading-compact-cover{background:var(--compact-wash);border-radius:13px;flex:0 0 56px;justify-content:center;align-items:center;width:56px;height:56px;display:flex;position:relative;overflow:hidden}.reading-compact-cover>.game-icon{width:28px;height:28px}.reading-compact-cover img{object-fit:cover;border-radius:13px;width:100%;height:100%;position:absolute;inset:0}.reading-compact-cover img[hidden]{display:none}.reading-compact-copy{flex-direction:column;flex:1;gap:5px;min-width:0;padding-right:13px;display:flex}.library-reading-hud--compact .reading-compact-copy strong{text-overflow:ellipsis;white-space:nowrap;font:17px/1.2 Georgia,serif;overflow:hidden}.reading-compact-status{color:var(--compact-muted);font-size:12px;line-height:1.25}.library-reading-hud--compact .reading-compact-action{background:var(--compact-active);border:0;border-radius:50%;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:10px}.reading-compact-action>.game-icon{width:22px;height:22px}.reading-compact-transition{justify-content:center;align-items:center;min-width:44px;display:flex}.reading-compact-details{margin:0}.reading-compact-details>summary{cursor:pointer;border-radius:7px;min-height:56px;padding:0;list-style:none;position:absolute;top:9px;left:77px;right:65px}.reading-compact-details>summary::-webkit-details-marker{display:none}.reading-compact-details>summary>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.reading-compact-details>summary>.game-icon{width:12px;height:12px;position:absolute;bottom:4px;right:0;transform:rotate(180deg)}.reading-compact-details[open]>summary>.game-icon{transform:none}.reading-compact-detail-content{overscroll-behavior:contain;touch-action:pan-y;border-top:1px solid #dedfce;flex-direction:column;gap:9px;max-height:min(230px,30dvh);margin-top:10px;padding-top:10px;display:flex;overflow:auto}.library-reading-hud--compact .library-reading-buttons{flex-wrap:wrap;gap:6px;max-width:none;display:flex;position:static}.library-reading-hud--compact .library-reading-buttons button{min-height:44px;padding:8px 10px;font-size:12px}.game-hud:has(.compact-controls[data-open]) .library-reading-hud--compact{top:calc(var(--compact-head-top) + var(--compact-head-height) + 77px);bottom:auto}.game-hud:has(.library-reading-hud--compact) .compact-group-panel{max-height:min(260px,calc(100dvh - 330px - var(--hud-safe-top) - var(--hud-safe-bottom)))}.game-page.has-reader-progress .action-status{bottom:calc(var(--compact-bottom) + 82px);background:var(--compact-paper);width:min(420px,100% - 36px);max-width:none;box-shadow:none;z-index:5;border:0;border-radius:22px;padding:10px 14px}.game-page.has-reader-progress .hud-notice{bottom:calc(var(--compact-bottom) + 88px);width:max-content;max-width:calc(100% - 32px);box-shadow:none;z-index:7;border:0;border-radius:18px}.game-page.has-reader-progress .hud-notice:not(.notice-error):not(.notice-food-result){animation:5s step-end forwards compact-notice-expire}@keyframes compact-notice-expire{to{visibility:hidden;pointer-events:none}}.game-hud:has(.library-reading-hud--compact) .hud-notice{bottom:calc(var(--compact-bottom) + 170px)}.game-hud:has(.compact-controls[data-open]) .hud-notice:not(.notice-error):not(.notice-food-result){display:none}.game-page.has-reader-progress .lease-notice{top:calc(var(--compact-head-top) + 150px);z-index:1;max-width:calc(100% - 32px);box-shadow:none;border:0}.game-page.has-reader-progress .sofa-context{bottom:calc(var(--compact-bottom) + 88px);z-index:7;width:min(340px,100% - 32px);max-height:calc(100dvh - 270px);box-shadow:none;border:0;overflow:auto;transform:translate(-50%);top:auto!important;left:50%!important}.is-fitting .compact-controls,.is-furniture-preview .compact-controls,.is-fitting .library-reading-hud--compact,.is-furniture-preview .library-reading-hud--compact{display:none}.game-page.has-reader-progress .dialog-backdrop{z-index:20}@media (width<=480px){.game-page.has-reader-progress{--compact-head-height:72px}.game-page.has-reader-progress .hud-top{border-radius:25px;gap:8px;padding:9px 10px}.game-page.has-reader-progress .hud-profile .reader-progress-profile--compact{gap:8px}.reader-progress-avatar{border-radius:14px;flex-basis:38px;width:38px;height:42px}.reader-progress-avatar .game-icon{width:24px;height:24px}.game-page.has-reader-progress .reader-progress-copy strong{font-size:19px}.game-page.has-reader-progress .reader-progress-copy .reader-progress-total{font-size:11px!important}.game-page.has-reader-progress .hud-wallets{gap:8px}.game-page.has-reader-progress .wallet strong{gap:3px;font-size:13px}.game-page.has-reader-progress .wallet .game-icon{width:18px;height:18px}.game-page.has-reader-progress .hud-indicators>.hud-needs{border-radius:25px;gap:4px;padding:4px}.game-page.has-reader-progress .need-chip{text-align:center;border-radius:22px;grid-template-columns:17px auto;justify-content:center;gap:3px 4px;min-height:50px;padding:6px 2px}.game-page.has-reader-progress .need-chip>.game-icon{grid-area:1/1;width:17px;height:17px}.game-page.has-reader-progress .need-chip>b{grid-area:1/2;font-size:13px}.game-page.has-reader-progress .need-label{grid-area:2/1/auto/-1;font-size:11px}.compact-dock{border-radius:30px;padding:6px 9px}.compact-dock>button{font-size:12px}.compact-dock .compact-chevron{top:7px;right:5px}.compact-action-grid .compact-action{gap:7px;padding:9px 10px;font-size:12px}.library-reading-hud--compact .reading-compact-copy strong{font-size:15px}.reading-compact-status{font-size:11px}}@media (width<=359px){.reader-progress-avatar{display:none}.game-page.has-reader-progress .hud-top{gap:5px}.game-page.has-reader-progress .hud-wallets{gap:6px}.game-page.has-reader-progress .reader-progress-copy strong{font-size:18px}.reading-compact-cover{flex-basis:44px;width:44px;height:52px}.reading-compact-details>summary{left:65px}.reading-compact-main{gap:8px!important}.game-page.has-reader-progress .library-reading-hud--compact{width:calc(100% - 32px)}}@media (height<=520px) and (width>=650px){.game-page.has-reader-progress{--compact-head-height:64px;--compact-head-top:max(8px,var(--hud-safe-top));--compact-bottom:max(8px,var(--hud-safe-bottom))}.game-page.has-reader-progress .hud-top,.game-page.has-reader-progress .hud-indicators{width:min(480px,100% - 340px);left:12px;transform:none}.game-page.has-reader-progress .reader-progress-copy strong{font-size:18px}.reader-progress-avatar{flex-basis:38px;width:38px;height:38px}.game-page.has-reader-progress .library-reading-hud--compact{top:var(--compact-head-top);width:300px;bottom:auto;left:auto;right:12px;transform:none}.game-hud:has(.compact-controls[data-open]) .library-reading-hud--compact{top:var(--compact-head-top);width:300px;bottom:auto;left:auto;right:12px;transform:none}.compact-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-group-panel{max-height:calc(100dvh - 150px)!important}.compact-action-grid .compact-action{gap:6px;padding:8px;font-size:12px}.game-page.has-reader-progress .need-chip{min-height:44px;padding:5px 7px}.game-page.has-reader-progress .need-chip>.game-icon{width:18px;height:18px}.game-page.has-reader-progress .need-chip>b{font-size:12px}.game-page.has-reader-progress .need-label{font-size:11px}}@media (prefers-reduced-motion:reduce){.compact-chevron{transition:none}}:is(.game-dialog:has(.bookshop),.game-dialog:has(.library-books)){width:min(1100px,100%)}.bookshop-intro,.collection-toolbar{align-items:center;gap:14px;padding:4px 0 16px}.bookshop-intro h3,.collection-toolbar h3{color:#254e43;margin:0 0 6px;font-family:Georgia,serif;font-size:26px;font-weight:600}.bookshop-rule{color:#5b6654;background:#f6f0e1;border:1px solid #e0d5bc;border-radius:14px;padding:12px 15px;font-size:13px;line-height:1.6}.bookshop-filters{grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(130px,1fr);gap:10px;margin:16px 0}.bookshop-filters label{color:#5c6f5e;font-size:12px}.bookshop-filters .bookshop-check{min-height:30px;font-size:12px}.bookshop-filters input[type=checkbox]{width:17px;height:17px}.bookshop-filters select{margin:0}.bookshop-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px}.bookshop-card{background:#fffcf3;border:1px solid #dfd2b6;border-radius:18px;flex-direction:column;display:flex}.bookshop-cover{background:#f4edde;align-items:center;height:236px;min-height:0;padding:10px 10px 0;overflow:hidden}.bookshop-copy{flex-direction:column;flex:1;gap:8px;padding:14px;display:flex}.bookshop-copy h3{color:#294d41;overflow-wrap:anywhere;min-height:50px;margin:0;font-family:Georgia,serif;font-size:19px;font-weight:600;line-height:1.3}.bookshop-copy .product-slot{letter-spacing:.8px;color:#807052;margin:0;font-size:10px}.book-card-meta{color:#596c57;flex-wrap:wrap;gap:5px;font-size:11px;display:flex}.book-card-meta>span{background:#f0edde;border-radius:8px;padding:4px 7px}.bookshop-copy dl{gap:4px;margin:3px 0;font-size:12px}.bookshop-copy details{margin:0}.bookshop-copy summary{min-height:30px;font-size:12px}.bookshop-copy details p{font-size:12px}.book-copy-state{color:#466a54;margin:0;font-size:12px;line-height:1.5}.bookshop-actions{flex-direction:column;gap:7px;margin-top:auto;display:flex}.bookshop-actions>button{width:100%;min-height:42px;padding:9px 8px;font-size:12px;line-height:1.35}.bookshop-copy .library-blocked{margin:0;padding:7px;font-size:11px}.bookshop-copy .book-price{font-variant-numeric:tabular-nums;margin:0;font-size:17px}.bookshop-copy .book-offline-hint{font-size:11px;line-height:1.5}.book-bag-summary{color:#50624e;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.book-bag-summary>span{background:#efe9d6;border-radius:10px;padding:7px 10px}.book-bag-tabs{background:#eae6d5;border-radius:14px;gap:5px;margin:12px 0 16px;padding:5px;display:flex}.book-bag-tabs>button{color:#54664f;background:0 0;border:1px solid #0000;border-radius:10px;flex:1;min-height:42px;font-size:13px}.book-bag-tabs>button[aria-selected=true]{color:#2d5a48;background:#fffcf2;border-color:#d6c9ac}.book-history-total{color:#4f6750;background:#eceddf;border-radius:12px;margin-bottom:14px;padding:10px 14px;font-size:13px;line-height:1.5}.library-book-layout{grid-template-columns:minmax(0,1.25fr) minmax(240px,.8fr);gap:18px}.library-book-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:10px;display:grid}.library-book-list .library-book-row{text-align:left;background:#fffcf3;border:1px solid #ded2b5;border-radius:14px;flex-direction:column;align-items:stretch;gap:8px;min-height:0;padding:8px;display:flex}.library-book-list .library-book-row[aria-pressed=true]{background:#eff0df;border-color:#527861;outline:1px solid #527861}.library-book-row .collection-cover{background:#f4edde;border-radius:8px;justify-content:center;align-items:center;width:100%;min-width:0;height:145px;display:flex;overflow:hidden}.library-book-row>span:last-child{flex-direction:column;gap:5px;display:flex}.library-book-row strong{font-size:12px;font-weight:650;line-height:1.4}.library-book-row small{color:#60705a;font-size:10px;line-height:1.4}.book-read-count{color:#506841;background:#e8e4cd;border-radius:8px;justify-content:center;align-self:flex-start;align-items:center;padding:4px 7px;font-size:11px;font-weight:700;display:inline-flex}.library-book-detail{background:#faf7ec;border-color:#d6cbb2;border-radius:16px;padding:17px;top:0}.library-book-heading h3{font-family:Georgia,serif;font-size:22px;font-weight:600}.library-book-detail .collection-cover{justify-content:center;width:100%;height:235px;margin:0 0 14px;display:flex}.library-book-detail .book-cover-art{max-height:235px}.library-book-detail dl{gap:7px;margin:14px 0;font-size:12px}.library-book-detail .library-place-label,.library-book-detail .library-location{font-size:12px;line-height:1.5}.library-book-detail button{min-height:44px;font-size:12px}.library-book-detail .product-buttons{flex-direction:column;gap:7px;display:flex}.bookshop :focus-visible,.library-books :focus-visible{outline-offset:3px;outline:3px solid #a8803f}@media (width<=850px){.bookshop-grid,.library-book-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.bookshop-intro h3,.collection-toolbar h3{font-size:22px}.bookshop-intro,.collection-toolbar{gap:10px}.bookshop-filters{grid-template-columns:1fr 1fr;gap:8px}.bookshop-search{grid-column:1/-1}.bookshop-filters select,.bookshop-filters input[type=search]{padding:8px;font-size:12px}.bookshop-grid{gap:9px}.bookshop-cover{height:175px;padding:6px 3px 0}.bookshop-copy{gap:7px;padding:10px}.bookshop-copy h3{min-height:62px;font-size:16px}.bookshop-copy .product-slot{letter-spacing:.3px;font-size:9px}.book-card-meta{gap:4px;font-size:10px}.book-card-meta>span{padding:4px 5px}.bookshop-copy .library-blocked{font-size:10px}.bookshop-actions>button{padding:9px 5px;font-size:11px}.library-book-layout{grid-template-columns:1fr;gap:16px}.library-book-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.library-book-row .collection-cover{width:100%;height:170px}.library-book-row strong{font-size:13px}.library-book-row small{font-size:11px}.library-book-detail{padding:14px;position:static}.book-bag-summary{gap:5px;font-size:12px}.book-bag-summary>span{padding:6px 8px}.bookshop-rule{padding:10px;font-size:12px}.book-history-total,.book-bag-tabs>button{font-size:12px}}@media (width<=359px){.bookshop-cover{height:150px}.bookshop-copy{padding:8px}.bookshop-copy h3{font-size:14px}.bookshop-actions>button{font-size:10px}.library-book-row .collection-cover{height:145px}}.bookshop-cover>.book-cover-art,.collection-cover>.book-cover-art,.reading-compact-cover>.book-cover-art{flex-shrink:0;max-width:100%;height:100%;width:auto!important}.book-cover-art-placeholder{color:#ddbe77;background:#345c4c;justify-content:center;align-items:center;height:100%;font-size:36px;display:flex}.bookshop-intro h2{color:#294e42;margin:5px 0 0;font-family:Georgia,serif;font-size:27px;font-weight:600;line-height:1.25}.bookshop-intro-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.bookshop-intro-actions button{font-size:12px}.bookshop-cover,.collection-cover{position:relative}.book-tier-badge,.book-copy-badge,.collection-cover>.book-read-count{color:#4f684e;background:#fffae9;border:1px solid #d5c49b;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:700;position:absolute;bottom:5px;right:5px}.book-tier-badge{font-family:Georgia,serif;font-size:14px;top:10px;bottom:auto;right:10px}.book-buy-reason{color:#896b4d;margin:0;font-size:11px;line-height:1.5}.book-bag-summary{flex-direction:column;align-items:flex-start}.book-bag-summary>strong{color:#305442;font-family:Georgia,serif;font-size:22px;font-weight:600}.library-book-heading>.library-detail-cover{border-radius:5px;flex:0 0 90px;height:115px;max-height:115px;width:90px!important}.library-book-heading>div{min-width:0}.library-book-heading h3{font-size:20px}.library-book-heading .product-slot{letter-spacing:.3px;font-size:10px;line-height:1.4}.book-detail-annotation{color:#66715a;margin:13px 0;font-size:12px;line-height:1.6}.book-history-count{color:#60704e;font-size:12px}.book-detail-purchase{margin-top:12px}.book-detail-purchase>button{width:100%}@media (width<=650px){.bookshop-intro h2{font-size:23px}.book-bag-summary>strong{font-size:20px}.library-book-heading>.library-detail-cover{flex-basis:80px;height:104px;width:80px!important}.library-book-heading h3{font-size:19px}}.library-book-heading>.library-detail-cover{align-self:flex-start;max-height:none;height:auto!important}.bookshop-filter-drawer{border-bottom:1px solid #ddd3bd;margin:12px 0}.bookshop-filter-drawer>summary{cursor:pointer;color:#48694f;min-height:42px;padding:10px 4px;font-size:13px;display:list-item}.bookshop-filter-drawer .bookshop-filters{margin-top:6px}.bookshop-result-count{margin:10px 0;font-size:11px}@media (width<=650px){.bookshop-intro h2{font-size:21px}.bookshop-intro{padding-bottom:10px}.bookshop-intro-actions{gap:8px}.bookshop-intro-actions button{min-height:38px;font-size:11px}.bookshop-rule{margin-bottom:10px;padding:9px 10px;font-size:11px}.bookshop .library-room-note{margin-bottom:8px;padding:8px 10px;font-size:11px}.bookshop-filter-drawer{margin:4px 0}}
