html,body,#root{overscroll-behavior:none;background:radial-gradient(at 50% 55%,#1b3a55 0%,#0d2031 45%,#060f18 100%);width:100%;height:100dvh;margin:0;overflow:hidden}body{font-family:var(--font-ui);font-synthesis:none;-webkit-tap-highlight-color:transparent;touch-action:none}canvas{display:block}@font-face{font-family:Inter;src:url(/fonts/Inter.woff2)format("woff2");font-weight:100 900;font-display:swap}:root{--night:#0d2031;--paper:#f4ece1;--gold:#e9b04a;--gold-bead:radial-gradient(circle at 35% 30%, #ffd98a, var(--gold) 55%, #c98d2c);--glide:cubic-bezier(.2, .85, .25, 1);--oak:linear-gradient(#f7daa88f, #ecc48880), url(/tex/piece-wood_color.jpg) 0 0 / 360px;--oak-edge:#6b3f17;--bevel:inset 0 1px 0 #fff0d28c, inset 0 -2px 0 #46230838, 0 12px 30px #00000080;--bevel-small:inset 0 1px 0 #fff0d28c, inset 0 -2px 0 #46230838, 0 6px 16px #00000073;--ink:#221102;--ink-danger:#5c0e04;--lip:#fff0d299;--carve:0 1px 0 var(--lip);--carve-icon:drop-shadow(0 1px 0 var(--lip));--groove:#46230873;--pocket:inset 0 3px 6px #3c1c056b, inset 0 -1px 0 #fff0d280;--pocket-deep:inset 0 5px 10px #3c1c058c, inset 0 -1px 0 #fff0d280;--wash:#46230814;--wash-strong:#46230826;--inlay:#fff6e4b3;--halo:#fff4def2;--ring:0 0 0 2px var(--ink), 0 0 0 4px var(--halo);--pressed:var(--pocket-deep), var(--ring);--font-ui:"Bree Serif", Georgia, serif;--font-key:Inter, system-ui, -apple-system, sans-serif}[data-plant=glass-dock] .dock{-webkit-backdrop-filter:blur(12px)}[data-plant=pale-ink]{--ink:#a07a4c}[data-plant=paper-label] .dock-hint{color:var(--paper)}[data-plant=gold-ring]{--ring:0 0 0 2px var(--gold)}[data-plant=bree-misnamed]{--font-ui:"Bree Serf", Georgia, serif}.view-buttons{top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));background:var(--oak);border:1px solid var(--oak-edge);box-shadow:var(--bevel-small);border-radius:14px;gap:4px;padding:4px;display:flex;position:fixed}.view-btn{width:44px;height:44px;color:var(--ink);cursor:pointer;transition:background .16s var(--glide), transform .16s var(--glide);background:0 0;border:0;border-radius:10px;place-items:center;display:grid;position:relative}.view-btn:hover{background:var(--wash)}.view-btn[aria-expanded=true],.view-btn[aria-pressed=true]{box-shadow:var(--pressed)}.view-btn:active{transform:scale(.94)}.view-btn:focus-visible{box-shadow:var(--ring);outline:none}.view-btn svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;filter:var(--carve-icon)}.view-btn kbd{font:700 9px/1 var(--font-key);color:var(--ink);position:absolute;bottom:2px;right:4px}@media (hover:none),(pointer:coarse){.view-btn kbd{display:none}}.view-sep{background:var(--groove);width:1px;box-shadow:1px 0 0 var(--lip);align-self:stretch;margin:6px 2px}.venue-panel{box-sizing:border-box;top:calc(max(12px, env(safe-area-inset-top)) + 62px);right:max(12px, env(safe-area-inset-right));background:var(--oak);border:1px solid var(--oak-edge);width:min(380px,100vw - 24px);max-height:calc(100dvh - 100px);box-shadow:var(--bevel);color:var(--ink);text-shadow:var(--carve);font-family:var(--font-ui);animation:venue-in .18s var(--glide);border-radius:16px;padding:14px;position:fixed;overflow:auto}.venue-panel h2{letter-spacing:.01em;margin:2px 4px 12px;font-size:18px;font-weight:400}@keyframes venue-in{0%{opacity:0;transform:translateY(-6px)}}.venue-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.venue-tile{min-height:44px;box-shadow:var(--pocket);color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:background .16s var(--glide), transform .16s var(--glide);background:0 0;border:0;border-radius:12px;gap:6px;padding:8px;display:grid}.venue-tile:hover{background:var(--wash)}.venue-tile:active{transform:scale(.97)}.venue-tile:focus-visible{box-shadow:var(--pocket), var(--ring);outline:none}.venue-tile[aria-pressed=true]{box-shadow:var(--pressed)}.venue-name{font-size:14px;font-weight:400}.venue-mini{border-radius:8px;place-items:center;height:64px;display:grid;overflow:hidden}.venue-mini-rail{width:82%;height:70%;box-shadow:var(--bevel-small);border-radius:6px;place-items:center;display:grid}.venue-mini-felt{border-radius:3px;width:calc(100% - 12px);height:calc(100% - 12px)}@media (width<=600px) and (orientation:portrait){.venue-panel{width:auto;max-height:58dvh;padding-bottom:max(14px, env(safe-area-inset-bottom));border-radius:18px 18px 0 0;animation-name:venue-up;inset:auto 0 0}.venue-grid{grid-template-columns:repeat(3,1fr)}.venue-mini{height:52px}}@keyframes venue-up{0%{opacity:0;transform:translateY(24px)}}@media (prefers-reduced-motion:reduce){.venue-panel{animation:none}}.empty-table{color:var(--ink);text-shadow:var(--carve);font-family:var(--font-ui)}.box{transition:transform .24s var(--glide), opacity .24s var(--glide);left:max(12px, env(safe-area-inset-left));right:max(12px, env(safe-area-inset-right));z-index:25;border-radius:16px;flex-direction:column;max-height:min(56dvh,480px);display:flex;position:fixed;overflow:hidden}.box-head{border-bottom:1px solid var(--groove);align-items:center;gap:16px;padding:12px 12px 12px 16px;display:flex}.box-head b{font-size:21px;font-weight:400}.box-colors{gap:8px;margin-left:auto;display:flex}.box-color{background:var(--fill);width:28px;height:28px;box-shadow:inset 0 -2px 0 var(--groove), 0 1px 2px var(--groove);cursor:pointer;border:2px solid #0000;border-radius:50%}.box-color[aria-checked=true]{box-shadow:var(--ring)}.box-close{width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;display:grid}.box-close:hover{background:var(--wash)}.box-close svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:20px;height:20px;filter:var(--carve-icon)}.box-body{padding:4px 12px 12px;overflow-y:auto}.box-body h3{letter-spacing:.08em;text-transform:uppercase;margin:12px 4px 8px;font-size:12.5px;font-weight:400}.box-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;display:grid}.box-tile{height:92px;box-shadow:var(--pocket);color:inherit;font:400 13px/1.2 var(--font-ui);text-align:center;cursor:pointer;transition:box-shadow .18s var(--glide);background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.box-tile:hover{box-shadow:var(--pocket-deep)}.box-thumb{object-fit:contain;width:58px;height:58px;filter:drop-shadow(0 4px 3px var(--groove));transition:transform .2s var(--glide), filter .2s var(--glide);pointer-events:none;margin-bottom:-6px}.box-tile:hover .box-thumb{filter:drop-shadow(0 9px 6px var(--groove));transform:translateY(-5px)scale(1.06)}@media (prefers-reduced-motion:reduce){.box-thumb{transition:none}}.box-tile:focus-visible,.box-color:focus-visible,.box-close:focus-visible,.box-reset:focus-visible,.empty-table button:focus-visible{box-shadow:var(--ring);outline:none}.box-foot{border-top:1px solid var(--groove);justify-content:flex-end;padding:8px 12px;display:flex}.box-own{gap:8px;margin-right:auto;display:flex}.box-body [data-my-pieces]{grid-column:1/-1}.box-mine{display:grid;position:relative}.box-mine .box-tile span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:0 6px;overflow:hidden}.box-thumb.flat{object-fit:cover;border-radius:3px;width:64px;height:44px;margin-bottom:0}.box-forget{width:24px;height:24px;color:inherit;opacity:.55;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:4px;right:4px}.box-forget svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;width:13px;height:13px}.box-forget:hover,.box-forget:focus-visible{opacity:1;background:var(--wash);outline:none}.box-forget:focus-visible{box-shadow:var(--ring)}.box-reset,.empty-table button{height:44px;box-shadow:var(--pocket);color:inherit;font:400 14px/1 var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:12px;padding:0 16px}.box-reset:hover,.empty-table button:hover{background:var(--wash)}.sw{background:var(--fill);display:block;box-shadow:inset 0 -3px #00000038}.sw-pawn{border-radius:50% 50% 35% 35%/40% 40% 25% 25%;width:18px;height:28px}.sw-figure{border-radius:10px 10px 4px 4px;width:20px;height:28px}.sw-cube{border-radius:3px;width:20px;height:20px}.sw-disc{border-radius:50%;width:26px;height:12px}.sw-die{background:radial-gradient(circle, #1c1b22 2.5px, transparent 3px) center / 100% 100% no-repeat, var(--fill);border-radius:5px;width:24px;height:24px}.sw-mat{border-radius:4px;width:36px;height:26px}.sw-deck{border:2px solid var(--night);border-radius:3px;width:22px;height:30px;box-shadow:2px 2px #c9bfae,4px 4px #b7ab98}.sw-tray{border:4px solid var(--fill);background:#5a1820;border-radius:4px;width:36px;height:26px}.sw-chip{border:4px dashed #f4ece1;border-radius:50%;width:28px;height:28px}.sw-coin{background:radial-gradient(circle at 35% 35%, #f6d77a, var(--fill));border-radius:50%;width:24px;height:24px}.sw-round{border:2px solid #8a6a3a;border-radius:50%;width:26px;height:26px}.sw-hex{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);width:28px;height:25px}.sw-board{border:2px solid #4a3020;border-radius:3px;width:32px;height:32px}@media (width>=900px){.box-body{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:start;column-gap:20px;display:grid}}.add-plus{background:var(--gold-bead);color:var(--ink);cursor:pointer;font-family:var(--font-ui);border:0;justify-content:center;align-items:center;display:flex}.add-plus svg{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round}.add-plus:hover{filter:brightness(1.07)}.add-plus:focus-visible{box-shadow:var(--ring);outline:none}.add-plus.open{background:var(--oak);color:var(--ink);box-shadow:var(--bevel-small);border:1px solid var(--oak-edge)}.add-corner{right:max(4px, env(safe-area-inset-right));bottom:max(4px, env(safe-area-inset-bottom));z-index:21;place-items:center;width:104px;height:104px;display:grid;position:fixed}.add-corner .add-plus{width:64px;height:64px;box-shadow:0 8px 26px var(--groove), inset 0 -3px 0 var(--groove);border-radius:50%}.add-corner .add-plus svg{width:30px;height:30px}.add-corner .add-plus.open{box-shadow:var(--bevel-small)}@media (width<=600px){.add-corner{bottom:calc(var(--dock-inset,0px) + 4px)}}.empty-table{z-index:15;border-radius:16px;flex-direction:column;align-items:center;gap:16px;padding:20px 24px;display:flex;position:fixed;top:42%;left:50%;transform:translate(-50%,-50%)}.empty-table b{font-size:22px;font-weight:400}.empty-table div{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.empty-table .empty-add{background:var(--gold-bead);box-shadow:var(--bevel-small)}@media (width<=600px){.box{width:100%}.box-head{flex-wrap:wrap;gap:8px}.box-colors{order:3;justify-content:space-between;width:100%;margin-left:0}.box-color{width:36px;height:36px}.box-grid{grid-template-columns:repeat(3,1fr)}.dock-btn.dock-add span{display:inline}}.box.dragging{opacity:0;transform:translateY(calc(100% + 140px))}.putback{z-index:26;box-sizing:border-box;border:2px dashed var(--ink);background:var(--oak);min-width:min(520px,100vw - 24px);height:56px;box-shadow:var(--bevel);color:var(--ink);text-shadow:var(--carve);font:400 16px/1 var(--font-ui);animation:putback-in .2s var(--glide);border-radius:14px;justify-content:center;align-items:center;gap:10px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.putback svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;filter:var(--carve-icon)}@keyframes putback-in{0%{opacity:0;transform:translate(-50%,8px)}}@media (prefers-reduced-motion:reduce){.box,.putback{transition:none;animation:none}}.editor-wrap{pointer-events:none;z-index:20;font-family:var(--font-ui);color:var(--ink);text-shadow:var(--carve);flex-direction:column;align-items:center;gap:10px;display:flex;position:fixed;bottom:0;left:0;right:0}.editor-wrap>*{pointer-events:auto}.editor-banner{box-sizing:border-box;width:100%;height:86px;padding:0 0 max(0px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));background:var(--oak);border-top:3px solid var(--gold);box-shadow:var(--bevel);font:400 14px/1.2 var(--font-ui);grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"who looks tools plus";align-items:center;gap:10px;display:grid}.editor-who{white-space:nowrap;flex-direction:column;grid-area:who;gap:3px;min-width:120px;max-width:220px;display:flex}.editor-who b{text-overflow:ellipsis;font-size:17px;font-weight:400;overflow:hidden}.editor-who small{text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.editor-who small.mixed{color:var(--ink-danger)}.look-scroll{scrollbar-width:none;grid-area:looks;min-width:0;overflow-x:auto;-webkit-mask:linear-gradient(90deg,#000 calc(100% - 24px),#0000);mask:linear-gradient(90deg,#000 calc(100% - 24px),#0000)}.look-scroll::-webkit-scrollbar{display:none}.look-tiles{gap:6px;padding:6px 24px 6px 2px;display:flex}.look-tile{width:66px;height:66px;box-shadow:var(--pocket);color:var(--ink);font:700 11.5px/1.1 var(--font-key);text-shadow:none;cursor:pointer;transition:box-shadow .16s var(--glide);background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:6px;display:flex;position:relative}.look-tile:hover{box-shadow:var(--pocket-deep)}.look-tile:focus-visible{box-shadow:var(--pocket), var(--ring);outline:none}.look-tile .sw{place-items:center;display:grid}.look-tile .sw i{font:800 11px/1 var(--font-key);color:#1c1b22;font-style:normal}.look-tile .sw-chip i{color:#fff;text-shadow:0 1px 2px #0009}.look-tile .sw-board[data-variant=track]{width:40px;height:12px}.look-name{white-space:nowrap}.look-tile[aria-pressed=true]{box-shadow:var(--pressed);cursor:default}.look-tile[aria-pressed=true] .look-name{font-weight:800}.look-tile[aria-pressed=true]:after{content:"";background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff4de' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;border-radius:50%;width:18px;height:18px;position:absolute;top:-5px;right:-5px}.look-tile[aria-disabled=true]{opacity:.38;cursor:not-allowed}.look-tile[aria-disabled=true] .sw{filter:grayscale()}.look-count{background:var(--ink);min-width:18px;height:18px;color:var(--halo);font:800 11px/18px var(--font-key);text-align:center;border-radius:9px;padding:0 4px;position:absolute;top:6px;right:6px}.editor-tools{grid-area:tools;align-items:center;gap:6px;padding-right:4px;display:flex}.look-sep{background:var(--groove);width:1px;height:44px;box-shadow:1px 0 0 var(--lip);margin:0 2px}.editor-done{background:var(--gold-bead);box-shadow:var(--bevel-small);text-shadow:none}.add-end{grid-area:plus;align-self:stretch;display:flex}.add-end .add-plus{width:104px;height:auto;box-shadow:none;font:400 14px/1 var(--font-ui);border-radius:0;flex-direction:column;gap:4px}.add-end .add-plus svg{width:26px;height:26px}.add-end .add-plus kbd{font:700 9.5px/1 var(--font-key)}@media (width<=600px),(height<=500px){.editor-tools .dock-btn{width:44px;min-width:44px;height:44px;padding:0}.editor-tools .dock-btn span,.look-sep,.editor-switch>span:last-child{display:none}.editor-banner .editor-switch{justify-content:center;min-width:44px;padding:0 8px}.add-end .add-plus{width:76px}}@media (width<=600px){.editor-banner{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"who tools""looks plus";row-gap:4px;height:auto;padding-top:8px;padding-left:10px}.editor-who{min-width:0}.add-end{height:78px}}@media (height<=500px) and (width>=601px){.editor-banner{gap:6px;height:74px}.look-tile{gap:4px;width:58px;height:58px;font-size:10.5px}.editor-who{min-width:84px;max-width:120px}}.editor-title{font-size:17px;font-weight:400}.editor-btn{height:44px;box-shadow:var(--pocket);color:var(--ink);font:400 14px/1 var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:10px;padding:0 12px;position:relative}.editor-btn:hover{background:var(--wash)}.editor-btn:focus-visible{box-shadow:var(--ring);outline:none}.editor-btn b{text-underline-offset:3px;margin-left:4px;font-weight:400;text-decoration:underline;text-decoration-thickness:2px}.editor-btn kbd{font:700 10px/1 var(--font-key);margin-left:6px}.editor-switch{height:44px;box-shadow:var(--pocket);color:var(--ink);font:400 14px/1 var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:8px;padding:0 10px;display:flex}.editor-switch:hover{background:var(--wash)}.editor-switch:focus-visible{box-shadow:var(--ring);outline:none}.editor-track{background:var(--wash-strong);width:30px;height:18px;box-shadow:var(--pocket-deep);transition:background .16s var(--glide);border-radius:9px;position:relative}.editor-thumb{background:var(--halo);width:14px;height:14px;box-shadow:0 1px 2px var(--groove);transition:transform .16s var(--glide);border-radius:50%;position:absolute;top:2px;left:2px}.editor-switch[aria-checked=true] .editor-track{background:var(--gold)}.editor-switch[aria-checked=true] .editor-thumb{transform:translate(12px)}@media (prefers-reduced-motion:reduce){.editor-track,.editor-thumb{transition:none}}@media (width<=900px){.editor-long{display:none}}.editor-handles{pointer-events:none;position:fixed;inset:0}.edit-outline{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.edit-outline polygon{fill:none;stroke:var(--gold);stroke-width:2px;stroke-dasharray:8 6}.edit-handle{background:var(--paper);border:3px solid var(--gold);width:18px;height:18px;box-shadow:0 2px 8px var(--groove);pointer-events:auto;cursor:grab;touch-action:none;border-radius:50%;margin:-9px 0 0 -9px;position:absolute;top:0;left:0}.edit-handle:after{content:"";border-radius:50%;position:absolute;inset:-12px}.edit-handle:hover{transform-origin:50%;filter:brightness(1.1);border-width:4px}.edit-handle:active{cursor:grabbing}.edit-piece{background:var(--gold);border-color:var(--paper);border-radius:4px}.edit-label{background:var(--oak);border:1px solid var(--oak-edge);box-shadow:var(--bevel-small);color:var(--ink);font:400 14px/1 var(--font-ui);white-space:nowrap;pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;top:0;left:0}.view-buttons,.saved-views,.dock-wrap,.add-corner,.venue-panel,.shelf-chip,.shelf-panel,.not-saved,.empty-table{transition:opacity .25s var(--glide), visibility .25s}html[data-clean] :is(.view-buttons,.saved-views,.dock-wrap,.add-corner,.venue-panel,.shelf-chip,.shelf-panel,.not-saved,.empty-table){opacity:0;visibility:hidden;pointer-events:none}.clean-show{top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));border:1px solid var(--oak-edge);background:var(--oak);width:44px;height:44px;box-shadow:var(--bevel-small);color:var(--ink);cursor:pointer;z-index:30;border-radius:12px;place-items:center;display:grid;position:fixed}.clean-show:hover{box-shadow:var(--bevel-small), inset 0 0 0 999px var(--wash)}.clean-show:focus-visible{box-shadow:var(--ring);outline:none}.clean-show svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;filter:var(--carve-icon)}@media (prefers-reduced-motion:reduce){.view-buttons,.saved-views,.dock-wrap,.venue-panel,.clean-show{transition:none}}.saved-views{top:calc(max(12px, env(safe-area-inset-top)) + 62px);right:max(12px, env(safe-area-inset-right));pointer-events:none;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;max-width:min(560px,100vw - 24px);display:flex;position:fixed}.saved-views>*{pointer-events:auto}.sv-save,.sv-chip{border:1px solid var(--oak-edge);background:var(--oak);height:44px;box-shadow:var(--bevel-small);color:var(--ink);cursor:pointer;transition:transform .16s var(--glide);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;border-radius:10px;padding:0;position:relative}.sv-save{place-items:center;width:44px;display:grid}.sv-save svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;filter:var(--carve-icon)}.sv-save:hover,.sv-chip:hover{box-shadow:var(--bevel-small), 0 0 0 2px var(--ink)}.sv-save:active,.sv-chip:active{transform:scale(.95)}.sv-save:focus-visible,.sv-chip:focus-visible{box-shadow:var(--ring);outline:none}.sv-item{position:relative}.sv-chip{width:70px;padding:3px;display:block;overflow:hidden}.sv-chip img,.sv-blank{object-fit:cover;border-radius:7px;width:100%;height:100%;display:block}.sv-blank{box-shadow:var(--pocket)}.sv-save kbd,.sv-chip kbd{font:700 10px/1 var(--font-key);color:var(--ink);position:absolute}.sv-save kbd{font-size:9px;bottom:2px;right:4px}.sv-chip kbd{text-align:center;background:var(--oak);min-width:16px;box-shadow:var(--bevel-small);border-radius:5px;padding:4px;top:4px;left:4px}.sv-item.holding .sv-chip:after{content:"";background:var(--gold);transform-origin:0;width:100%;height:4px;animation:.5s linear forwards sv-fill;position:absolute;bottom:0;left:0}@keyframes sv-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.sv-remove{border:1px solid var(--oak-edge);background:var(--oak);width:20px;height:20px;color:var(--ink);cursor:pointer;opacity:0;transition:opacity .12s var(--glide);border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:-6px;right:-6px}.sv-remove svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;width:12px;height:12px}.sv-item:hover .sv-remove,.sv-remove:focus-visible{opacity:1}.sv-remove:focus-visible{box-shadow:var(--ring);outline:none}.sv-toast{border:1px solid var(--oak-edge);background:var(--oak);max-width:fit-content;box-shadow:var(--bevel-small);text-align:right;font:400 14px/1.2 var(--font-ui);color:var(--ink);text-shadow:var(--carve);pointer-events:none;animation:sv-toast 1.6s var(--glide) forwards;border-radius:10px;flex-basis:100%;margin:2px 0 0 auto;padding:6px 12px}.sv-toast:empty{display:none}@keyframes sv-toast{0%{opacity:0;transform:translateY(-4px)}12%,80%{opacity:1;transform:none}to{opacity:0}}@media (hover:none),(pointer:coarse){.sv-save kbd{display:none}}@media (prefers-reduced-motion:reduce){.sv-toast{animation:none}}.tune{left:max(12px, env(safe-area-inset-left));top:max(12px, env(safe-area-inset-top));color:#f4ece1;touch-action:pan-y;z-index:10;background:#161d36eb;border:1px solid #f4ece12b;border-radius:14px;width:min(300px,100vw - 24px);max-height:calc(100dvh - 24px);padding:12px 16px;font:13px/1.35 Inter,system-ui,sans-serif;position:fixed;overflow:auto}.tune h2{margin:0 0 8px;font-size:15px}.tune label{gap:4px;margin:8px 0;display:grid}.tune label b{color:#e9b04a;font-weight:600}.tune input[type=range]{width:100%;min-height:32px}.tune fieldset{border:1px solid #f4ece12b;border-radius:10px;margin:12px 0;padding:8px 12px}.tune .choice{align-items:center;gap:8px;min-height:36px;margin:0;display:flex}.tune .row{gap:8px;display:flex}.tune button{color:#16110d;background:#e9b04a;border:0;border-radius:10px;flex:1;min-height:44px;font:600 14px Inter,system-ui,sans-serif}.tune button+button{color:#f4ece1;background:#f4ece124}.tune p{color:#e9b04a;margin:8px 0 0}.dice-ab{left:max(12px, env(safe-area-inset-left));bottom:max(12px, env(safe-area-inset-bottom));color:#f4ece1;z-index:10;background:#161d36eb;border:1px solid #f4ece12b;border-radius:14px;width:min(340px,100vw - 24px);max-height:calc(100dvh - 24px);padding:16px;font:13px/1.35 Inter,system-ui,sans-serif;position:fixed;overflow:auto;box-shadow:0 6px 24px #00000059}.dice-ab h2{margin:0 0 10px;font-size:16px}.dice-ab button{color:#f4ece1;cursor:pointer;background:#f4ece114;border:1px solid #f4ece12b;border-radius:10px;min-height:44px;font:600 14px Inter,system-ui,sans-serif}.dice-ab button[aria-pressed=true]{color:#16110d;background:#e9b04a;border-color:#e9b04a}.dice-ab-switch{grid-template-columns:1fr 1fr;gap:8px;display:grid}.dice-ab-switch button{font-size:18px}.dice-ab-switch span{opacity:.85;margin-left:4px;font-size:13px;font-weight:500}.dice-ab-scenes{gap:8px;margin-top:12px;display:grid}.dice-ab-scenes button{text-align:left;padding:0 12px;font-weight:500}.dice-ab-hint{color:#f4ece1b8;margin:12px 0}.dice-ab table{border-collapse:collapse;width:100%;font-size:12px}.dice-ab th{text-align:left;color:#e9b04a;padding:4px 8px 4px 0;font-weight:600}.dice-ab td{vertical-align:top;border-top:1px solid #f4ece11f;padding:4px 8px 4px 0}.dice-ab td:first-child{width:46%}.dock-wrap{left:50%;bottom:max(16px, env(safe-area-inset-bottom));font-family:var(--font-ui);color:var(--ink);text-shadow:var(--carve);pointer-events:none;z-index:20;flex-direction:column;align-items:center;gap:12px;display:flex;position:fixed;transform:translate(-50%)}.dock-wrap>*{pointer-events:auto}.dock,.dock-more,.dock-toast,.box,.empty-table{background:var(--oak);border:1px solid var(--oak-edge);box-shadow:var(--bevel)}.dock{border-radius:18px;align-items:center;gap:8px;height:68px;padding:8px;display:flex}.dock-who{white-space:nowrap;flex-direction:column;justify-content:center;min-width:72px;padding:0 12px 0 10px;display:flex}.dock-who b{font-size:17px;font-weight:400;line-height:1.15}.dock-who small{font-size:12.5px}.dock-hint{padding-right:4px;font-size:14px}.dock-actions,.dock-history{gap:4px;display:flex}.dock-btn{min-width:56px;height:52px;color:inherit;font:400 13px/1 var(--font-ui);white-space:nowrap;cursor:pointer;transition:background .18s var(--glide);background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:0 12px;display:flex;position:relative}.dock-btn:hover{background:var(--wash)}.dock-btn.open{box-shadow:var(--pressed)}.dock-btn:focus-visible,.dock-row:focus-visible,.dock-toast button:focus-visible{box-shadow:var(--ring);outline:none}.dock-btn:disabled{opacity:.4;cursor:default;background:0 0}.dock-btn svg,.dock-row svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;filter:var(--carve-icon);flex:none}.dock-btn kbd{position:absolute;top:4px;right:4px}.dock kbd,.dock-more kbd{font:700 10px/1 var(--font-key);color:var(--ink);text-shadow:none;background:var(--inlay);box-shadow:inset 0 1px 1px var(--groove);border-radius:4px;padding:2px 4px}.dock-undo{flex-direction:row;gap:8px;font-size:13.5px}.dock-undo kbd{position:static}.dock-redo span{display:none}.danger{color:var(--ink-danger)}.dock-sep{background:var(--groove);width:1px;height:36px;box-shadow:1px 0 0 var(--lip);margin:0 4px}.dock-more{border-radius:14px;flex-direction:column;align-self:center;gap:2px;min-width:240px;padding:8px;display:flex}.dock-row{height:44px;color:inherit;font:400 15px/1 var(--font-ui);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;padding:0 12px;display:flex}.dock-row span{flex:1}.dock-row:hover{background:var(--wash)}.dock-toast{animation:dock-toast-in .22s var(--glide);border-radius:12px;align-items:center;gap:16px;padding:8px 8px 8px 16px;font-size:15px;font-weight:400;display:flex}.dock-toast button{height:36px;box-shadow:var(--pocket);color:var(--ink);text-shadow:var(--carve);font:400 14px/1 var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 14px}@keyframes dock-toast-in{0%{opacity:0;transform:translateY(6px)}}@media (prefers-reduced-motion:reduce){.dock-toast{animation:none}}@media (width<=600px){.dock-wrap{left:max(10px, env(safe-area-inset-left));right:max(10px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));transform:none}.dock{border-radius:20px;grid-template-rows:22px 58px 46px;gap:8px;width:100%;height:164px;padding:8px;display:grid}.dock-who{flex-direction:row;align-items:baseline;gap:8px;min-width:0;padding:0 6px}.dock-actions{grid-template-columns:repeat(4,1fr);display:grid}.dock-actions .dock-btn{min-width:0;height:58px;padding:0 4px}.dock-sep{display:none}.dock-history{border-top:1px solid var(--groove);grid-row:3;grid-template-columns:1.4fr 1fr 1.2fr;padding-top:8px;display:grid}.dock-history .dock-btn{flex-direction:row;gap:8px;height:44px}.dock-redo span{display:inline}.dock-btn kbd{display:none}}.pic-drawer{color:var(--ink);text-shadow:var(--carve);font-family:var(--font-ui);max-height:min(70dvh,560px)}.pic-count{box-shadow:var(--pocket);border-radius:10px;margin-left:auto;padding:6px 12px;font-size:13px}.pic-drawer .box-head b{font-size:21px;font-weight:400}.pic-progress{height:10px;box-shadow:var(--pocket);background:linear-gradient(90deg, var(--gold) var(--done), transparent var(--done));border-radius:6px;margin:14px 16px 18px}.pic-body{grid-template-columns:minmax(200px,260px) 1fr;min-height:0;display:grid;overflow-y:auto}.pic-body h3{letter-spacing:.08em;text-transform:uppercase;justify-content:space-between;margin:12px 4px 8px;font-size:12.5px;font-weight:400;display:flex}.pic-body h3 span{text-transform:none;letter-spacing:0}.pic-bench{border-right:1px solid var(--groove);padding:0 12px 12px 16px}.pic-choices{padding:0 16px 12px 12px}.pic-shelf{max-height:220px;box-shadow:var(--pocket);border-radius:12px;grid-template-columns:repeat(3,1fr);gap:10px;padding:10px;display:grid;overflow-y:auto}.pic-shelf.one{grid-template-columns:1fr}.pic-thumb{aspect-ratio:3/4;background:var(--pic) center / cover, var(--wash-strong);box-shadow:var(--bevel-small);border:3px solid #fbf7ee;border-radius:4px;padding:0;display:block;position:relative;rotate:-2deg}.pic-shelf.one .pic-thumb{aspect-ratio:4/3;rotate:-1deg}.pic-thumb:nth-child(2n){rotate:2deg}.pic-thumb.tiny{vertical-align:middle;border-width:2px;width:26px;display:inline-block;rotate:0deg}.pic-thumb i{background:var(--paper);font:400 11px/1.4 var(--font-ui);border-radius:8px;padding:1px 8px;font-style:normal;position:absolute;bottom:-9px;left:50%;translate:-50%}.pic-thumb.pick{cursor:pointer}.pic-thumb.pick:hover,.pic-thumb.pick:focus-visible{box-shadow:var(--ring);outline:none}.pic-name{margin:10px 4px 0;font-size:14px}.pic-name small{font-size:12.5px}.pic-kinds{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;display:grid}.pic-kinds.small{grid-template-columns:repeat(auto-fill,minmax(92px,1fr))}.pic-kind{min-height:132px;box-shadow:var(--pocket);color:inherit;font:400 15px/1.2 var(--font-ui);text-shadow:var(--carve);cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:12px 8px 10px;display:flex}.pic-kind.small{min-height:92px;font-size:13px}.pic-kind small{text-align:center;font-size:12px;line-height:1.25}.pic-kind:hover{box-shadow:var(--pocket-deep)}.pic-kind[aria-pressed=true],.pic-deck[aria-pressed=true]{box-shadow:var(--pressed)}.pic-kind:focus-visible,.pic-deck-pick:focus-visible,.pic-add:focus-visible{box-shadow:var(--ring);outline:none}.pic-piece{background:var(--pic) center / cover, var(--wash-strong);filter:drop-shadow(0 4px 3px var(--groove));margin:2px 0 8px;display:block}.pic-kind.small .pic-piece{margin:-4px 0 0;scale:.72}.pic-card{border:2px solid #fbf7ee;border-radius:4px;width:40px;height:56px}.pic-board{border:3px solid #2b231d;border-radius:2px;width:74px;height:52px}.pic-mat{border-radius:8px;width:78px;height:46px}.pic-token{border:3px solid #e9dcc2;border-radius:50%;width:48px;height:48px}.pic-tile{border:3px solid #2b231d;border-radius:3px;width:48px;height:48px}.pic-standee{border-bottom:6px solid #2b231d;border-radius:17px 17px 2px 2px;width:34px;height:56px}.pic-deck{box-shadow:var(--pocket);border-radius:12px;grid-template-columns:1fr auto;align-items:center;display:grid}.pic-deck-pick{color:inherit;font:400 15px/1.3 var(--font-ui);text-align:left;text-shadow:var(--carve);cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:16px;padding:14px 16px;display:flex}.pic-deck-pick b{font-size:19px;font-weight:400;display:block}.pic-deck-pick small{font-size:13px}.pic-fan{border:2px solid #fbf7ee;border-radius:4px;flex:none;width:44px;height:62px;margin-right:24px;position:relative;rotate:-8deg}.pic-fan i{background:var(--pic) center / cover, var(--wash-strong);z-index:-1;border:2px solid #fbf7ee;border-radius:4px;width:44px;height:62px;position:absolute;top:4px;left:18px;rotate:16deg}.pic-back{border-left:1px solid var(--groove);align-items:center;gap:14px;padding:10px 14px;font-size:14px;display:flex}.pic-back b{font-weight:400}.pic-back small{font-size:12.5px;display:block}.pic-foot{border-top:1px solid var(--groove);align-items:center;gap:10px;padding:10px 12px 10px 16px;display:flex}.pic-notes{margin-right:auto;font-size:13px}.pic-notes p{margin:2px 0}.pic-add{background:var(--gold-bead);min-height:52px;box-shadow:var(--bevel-small);color:var(--ink);font:400 17px/1.15 var(--font-ui);text-align:left;cursor:pointer;border:0;border-radius:12px;align-items:center;gap:10px;padding:0 20px;display:flex}.pic-add:hover{filter:brightness(1.07)}.pic-add svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;width:20px;height:20px}.pic-add small{font-size:12.5px;display:block}.pic-dress{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pic-wide{min-height:80px;box-shadow:var(--pocket);color:inherit;font:400 15px/1.25 var(--font-ui);text-align:left;text-shadow:var(--carve);cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:16px;padding:10px 16px;display:flex}.pic-wide b{font-size:16px;font-weight:400;display:block}.pic-wide small{font-size:12.5px}.pic-wide:hover{box-shadow:var(--pocket-deep)}.pic-wide[aria-pressed=true]{box-shadow:var(--pressed)}.pic-wide:focus-visible{box-shadow:var(--ring);outline:none}.pic-felt{border:5px solid #5a3a20;border-radius:4px;flex:none;width:84px;height:54px;margin:0}.pic-frame{border:5px solid #3a2a1a;outline:2px solid #c9a46a;flex:none;width:64px;height:46px;margin:0}@media (width<=720px){.pic-body{grid-template-columns:1fr}.pic-bench{border-right:0;border-bottom:1px solid var(--groove)}.pic-shelf{grid-template-columns:repeat(5,1fr);max-height:110px}.pic-shelf.one{grid-template-columns:1fr;max-height:140px}.pic-back{border-left:0;border-top:1px solid var(--groove);grid-column:1/-1}.pic-deck,.pic-dress{grid-template-columns:1fr}.pic-notes{font-size:12px}}.not-saved{z-index:21;top:calc(max(12px, env(safe-area-inset-top)) + 62px);left:max(12px, env(safe-area-inset-left));border:1px solid var(--oak-edge);background:var(--oak);min-height:44px;box-shadow:var(--bevel-small);color:var(--ink-danger);text-shadow:var(--carve);font:400 14px/1 var(--font-ui);cursor:pointer;border-radius:12px;align-items:center;gap:8px;padding:0 14px 0 10px;display:flex;position:fixed}.not-saved svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;filter:var(--carve-icon)}.not-saved:hover{filter:brightness(.97)}.not-saved:focus-visible{box-shadow:var(--ring);outline:none}.shelf-chip{z-index:21;top:max(12px, env(safe-area-inset-top));left:max(12px, env(safe-area-inset-left));border:1px solid var(--oak-edge);background:var(--oak);max-width:min(340px,100vw - 24px);height:54px;box-shadow:var(--bevel-small);color:var(--ink);text-shadow:var(--carve);font-family:var(--font-ui);text-align:left;cursor:pointer;transition:box-shadow .16s var(--glide), background .16s var(--glide);border-radius:14px;align-items:center;gap:10px;padding:4px 12px 4px 6px;display:flex;position:fixed}.shelf-chip:hover{box-shadow:var(--bevel-small), inset 0 0 0 999px var(--wash)}.shelf-chip[aria-expanded=true]{box-shadow:var(--ring), var(--bevel-small)}.shelf-chip:focus-visible{box-shadow:var(--ring);outline:none}.shelf-chip-pic{width:58px;height:40px;box-shadow:var(--pocket-deep);border-radius:7px;flex:none;overflow:hidden}.shelf-chip-pic .table-map{width:100%;height:100%;display:block}.shelf-chip-text{flex-direction:column;min-width:0;display:flex}.shelf-chip-text b{white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:400;overflow:hidden}.shelf-chip-text small{white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.shelf-chip-text small.changed:before{content:"";background:var(--ink-danger);vertical-align:1px;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.shelf-chip>svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;filter:var(--carve-icon);flex:none}.shelf-panel{box-sizing:border-box;z-index:30;top:calc(max(12px, env(safe-area-inset-top)) + 64px);left:max(12px, env(safe-area-inset-left));background:var(--oak);border:1px solid var(--oak-edge);width:min(460px,100vw - 24px);max-height:calc(100dvh - 200px);box-shadow:var(--bevel);color:var(--ink);text-shadow:var(--carve);font-family:var(--font-ui);animation:shelf-in .18s var(--glide);border-radius:16px;flex-direction:column;display:flex;position:fixed;overflow:hidden}@keyframes shelf-in{0%{opacity:0;transform:translateY(-6px)}}.shelf-panel svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;filter:var(--carve-icon)}.shelf-head{align-items:center;gap:10px;padding:8px 8px 6px 16px;display:flex}.shelf-head h2{margin:0;font-size:20px;font-weight:400}.shelf-count{margin-left:auto;font-size:13px}.shelf-close{width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;display:grid}.shelf-close:hover{background:var(--wash)}.shelf-main{gap:8px;padding:0 14px 6px;display:flex}.shelf-go,.shelf-btn{min-height:44px;box-shadow:var(--pocket);color:var(--ink);font:400 15px/1.1 var(--font-ui);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 14px;display:flex}.shelf-btn:hover{background:var(--wash)}.shelf-go{background:var(--gold-bead);min-width:0;box-shadow:var(--bevel-small);text-shadow:none;flex:1}.shelf-go:hover{filter:brightness(1.06)}.shelf-go span{text-overflow:ellipsis;overflow:hidden}.shelf-go svg,.shelf-btn svg{flex:none;width:18px;height:18px}.shelf-go:focus-visible,.shelf-btn:focus-visible,.shelf-act:focus-visible,.shelf-open:focus-visible,.shelf-close:focus-visible{box-shadow:var(--ring);outline:none}.shelf-note,.shelf-full{margin:0;padding:0 16px 8px;font-size:12.5px}.shelf-full{color:var(--ink-danger)}.shelf-error{border:1px dashed var(--ink-danger);box-shadow:var(--pocket);color:var(--ink-danger);border-radius:10px;margin:6px 0 4px;padding:8px 10px;font-size:13.5px;line-height:1.35}.shelf-panel>.shelf-error{margin:0 14px 8px}.shelf-rows{border-top:1px solid var(--groove);flex:1;min-height:0;margin:0;padding:4px 8px 6px;list-style:none;overflow-y:auto}.shelf-row{border-radius:12px;flex-wrap:wrap;align-items:center;gap:4px;padding:4px;display:flex}.shelf-row.cur{box-shadow:var(--pocket-deep), inset 0 0 0 2px var(--ink)}.shelf-row.bad{box-shadow:inset 0 0 0 1px var(--ink-danger)}.shelf-row>.shelf-error{flex-basis:100%}.shelf-open{min-width:0;min-height:66px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:10px;padding:2px 4px;display:flex}button.shelf-open:hover{background:var(--wash)}.shelf-pic{width:100px;height:66px;box-shadow:var(--pocket-deep);border-radius:8px;flex:none;overflow:hidden}.shelf-pic .table-map{width:100%;height:100%;display:block}.shelf-text{flex-direction:column;min-width:0;display:flex}.shelf-text b{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:400;overflow:hidden}.shelf-text em{letter-spacing:.08em;text-transform:uppercase;text-underline-offset:3px;font-size:12px;font-style:normal;text-decoration:underline;text-decoration-thickness:2px}.shelf-text small{white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.shelf-row.bad .shelf-text small{color:var(--ink-danger);white-space:normal}.shelf-name-input{background:var(--halo);min-width:0;height:44px;box-shadow:var(--pocket-deep), 0 0 0 2px var(--ink);color:var(--ink);font:400 15px var(--font-ui);border:0;border-radius:9px;outline:none;flex:1;padding:0 10px}.shelf-act{width:44px;height:44px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;display:grid}.shelf-act:hover{background:var(--wash)}.shelf-act.del{color:var(--ink-danger)}.shelf-act.small{width:34px;height:34px}.shelf-tomb{border:1px dashed var(--groove);border-radius:12px;align-items:center;gap:10px;min-height:56px;margin:4px 0;padding:4px 4px 4px 12px;font-size:14px;display:flex}.shelf-tomb span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.shelf-tomb .shelf-btn{margin-left:auto}.shelf-empty{border-top:1px solid var(--groove);text-align:center;flex-direction:column;flex:auto;align-items:center;gap:4px;min-height:0;padding:18px 22px 22px;font-size:14px;display:flex;overflow-y:auto}.shelf-empty svg{stroke-width:1.6px;width:34px;height:34px}.shelf-empty b{margin-top:4px;font-size:17px;font-weight:400}.shelf-foot{border-top:1px solid var(--groove);flex-direction:column;gap:4px;padding:10px 14px 12px;display:flex}.shelf-foot .shelf-btn{justify-content:flex-start}.shelf-foot .shelf-error{margin:2px 0}.shelf-foot small{padding-left:2px;font-size:12.5px}.shelf-input{opacity:0;pointer-events:none;clip-path:inset(50%);width:1px;height:1px;position:fixed;top:0;left:0}.drop-hint{z-index:60;border:3px dashed var(--gold);background:color-mix(in srgb, var(--night) 55%, transparent);pointer-events:none;font-family:var(--font-ui);border-radius:22px;place-items:center;display:grid;position:fixed;inset:14px}.drop-hint div{border:1px solid var(--oak-edge);background:var(--oak);box-shadow:var(--bevel);color:var(--ink);text-shadow:var(--carve);border-radius:16px;padding:18px 26px;font-size:22px}@media (height<=500px),(width<=600px) and (orientation:portrait){.shelf-room{display:none}.shelf-pic{width:76px;height:50px}.shelf-open{min-height:52px}}@media (height<=500px){.shelf-panel{width:min(400px,100vw - 24px);max-height:calc(100dvh - 76px)}}@media (width<=600px) and (orientation:portrait){.shelf-chip{top:calc(max(12px, env(safe-area-inset-top)) + 64px);max-width:calc(100vw - 92px);height:48px;padding:2px 10px 2px 4px}.shelf-chip-pic{width:50px;height:34px}.shelf-panel{width:auto;max-height:74dvh;padding-bottom:env(safe-area-inset-bottom);border-radius:18px 18px 0 0;animation-name:shelf-up;inset:auto 0 0}.shelf-main{flex-wrap:wrap}}@keyframes shelf-up{0%{opacity:0;transform:translateY(24px)}}
