.trade-row{flex-wrap:wrap}.trade-row .grow{flex:150px}.trade-actions,.discard-actions,.discard-confirm{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.trade-actions button{white-space:normal}.trade-quantity{align-items:center;gap:6px;font-size:14px;display:inline-flex}.trade-quantity input{box-sizing:border-box;width:64px;min-height:36px;padding:4px}.discard-actions,.discard-confirm{margin-top:10px}.discard-confirm{border:1px solid var(--wood);border-radius:3px;padding:8px}.discard-confirm p{flex-basis:100%;margin:0}.item-detail>div{min-width:0}@media (max-width:480px){.trade-actions{flex-basis:100%;justify-content:flex-end}}#pinned-goal{z-index:4;left:var(--pad);top:calc(var(--pad-t) + 34px);pointer-events:auto;width:min(290px,39vw);padding:6px 9px;font-size:14px;position:fixed}#pinned-goal[hidden]{display:none}#pinned-goal .goal-toggle{width:100%;min-height:44px;box-shadow:none;color:var(--ink);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;padding:4px 2px;font-size:15px;display:flex}.goal-title{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.goal-count{font-variant-numeric:tabular-nums;flex:none;font-size:13px}#pinned-goal p{margin:2px 0 5px}#pinned-goal ul,.goal-sheet ul{margin:0 0 10px;padding:0;line-height:1.45;list-style:none}#pinned-goal ul{overscroll-behavior:contain;max-height:min(32vh,240px);overflow:auto}.goal-actions{flex-wrap:wrap;gap:8px;display:flex}.goal-actions button,.goal-pin{min-height:44px;padding:6px 10px;font-size:14px}#pinned-goal summary,.goal-sheet summary{cursor:pointer;min-height:44px;padding:8px 0}#pinned-goal details p{font-size:14px;line-height:1.45}.goal-sheet{width:min(540px,100vw - 20px)}.goal-sheet li{border-bottom:1px solid #bca886}.goal-sheet .goal-status{background:var(--parch-2);border-radius:6px;padding:10px 12px}.goal-sheet details p{margin:8px 0 12px}@media (max-width:600px),(max-width:1000px) and (max-height:500px){#pinned-goal{width:min(250px, calc(100vw - var(--pad) - var(--pad-r) - 30px));border-width:2px;border-radius:12px;padding:0 8px;box-shadow:0 2px 6px #241d2533}#pinned-goal .goal-toggle{min-height:44px;font-size:14px}}@media (max-width:600px){#pinned-goal{top:calc(var(--pad-t) + 124px)}}.court-panel{width:94vw;max-width:620px}.court-panel .content{gap:12px;display:grid}.court-cue{color:#30243e;background:#ede6f7;border:2px solid #9a88b3;min-height:5em;padding:18px}.court-choices{flex-wrap:wrap;gap:10px;display:flex}.court-choices button{flex:1;min-width:110px;min-height:48px}.court-panel progress{accent-color:#756299;width:100%}.court-record{border-bottom:1px solid #baa586;padding:10px 0}.court-record p{margin:6px 0}.decorate-sheet{width:min(560px,100vw - 16px)}.decorate-sheet .content{padding:4px 12px 12px;overflow-y:auto}.decorate-sheet h3{margin:12px 0 4px;font:600 17px Alegreya,serif}.decorate-tip{font:15px/1.35 var(--book);color:var(--ink-soft);margin:8px 0 0}.decorate-list{margin:0;padding:0;list-style:none}.decorate-row{border-bottom:1px solid var(--parch-3);align-items:center;gap:10px;padding:6px 0;display:flex}.decorate-row>img{object-fit:contain;width:36px;height:36px}.decorate-name{overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:0;display:flex}.decorate-name strong{font-size:16px;font-weight:500}.decorate-row button{flex:none;min-width:88px;min-height:44px}#decorate-btn img{object-fit:contain;width:28px;height:28px}.storage-sheet{height:min(680px,100dvh - 20px)}.storage-tabs button{white-space:nowrap;flex:1}.storage-controls{flex:none;gap:6px;padding:8px 10px 4px;display:grid}.storage-search,.storage-selects{gap:6px;display:flex}.storage-controls input,.storage-controls select{border:1px solid var(--wood);min-width:0;min-height:44px;font:16px var(--px);color:var(--ink);background:var(--parch-hi);touch-action:manipulation;border-radius:3px;padding:6px 8px}.storage-controls input{-webkit-user-select:text;user-select:text;flex:1;width:0}.storage-controls label{flex:1;align-items:center;gap:6px;min-width:0;font-size:14px;display:flex}.storage-controls select{flex:1;width:0}.storage-status{min-height:27px;color:var(--ink-soft);flex:none;padding:4px 12px;font-size:14px}.sheet .storage-list{flex:1;min-height:0;padding:4px 10px 12px}.storage-row{border-bottom:1px solid var(--parch-3);align-items:center;gap:8px;padding:8px 0;display:flex}.storage-row>img{object-fit:contain;width:32px;height:32px}.storage-item-name{overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:0;display:flex}.storage-item-name strong{font-size:16px;font-weight:500}.storage-actions{flex:none;gap:4px;display:flex}.storage-actions button{padding:6px 8px;font-size:14px}.storage-sheet button:focus-visible,.storage-sheet input:focus-visible,.storage-sheet select:focus-visible{outline:2px solid var(--leaf-dark);outline-offset:2px}.storage-empty{font-family:var(--book);color:var(--ink-soft)}@media (min-width:620px){.storage-controls{grid-template-columns:1fr 1fr}}@media (max-width:360px){.storage-actions{flex-direction:column}}.storage-list-pane{flex-direction:column;flex:1;min-height:0;display:flex}.storage-list-pane[hidden],.storage-grid-pane[hidden]{display:none}.sheet .storage-grid-pane{flex:1;min-height:0;padding:6px 10px 12px}.storage-bulk{flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:4px;display:flex}.storage-bulk button,.storage-view{padding:6px 10px;font-size:14px}.storage-counts{text-align:center;margin:2px 0 6px}.storage-sheet header .storage-view{order:1}.storage-sheet header .storage-close{order:2}.bin-content h3{margin:10px 0 2px}.bin-content h3:first-child{margin-top:2px}.bin-total{font-family:var(--book);color:var(--ink-soft);margin:6px 0 4px}.bin-held{background:var(--parch-hi);border-radius:3px;padding-left:4px;padding-right:4px}.bin-ship input{border:1px solid var(--wood);width:64px;min-height:40px;font:16px var(--px);color:var(--ink);background:var(--parch-hi);-webkit-user-select:text;user-select:text;border-radius:3px;padding:4px 6px}@media (max-width:420px){.bin-ship{flex-wrap:wrap;justify-content:flex-end;max-width:160px}}.slot-grids{flex-direction:column;gap:8px;display:flex}.slot-grid-section h4{margin:0 0 4px;font-size:15px;font-weight:500}.slot-grid{grid-template-columns:repeat(8,40px);justify-content:center;gap:4px;display:grid}.slot-grid .slot{touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;width:40px;height:40px}.slot-grid .slot img{pointer-events:none;width:28px;height:28px}.slot-grid .slot.dim img{opacity:.3}.slot-grid .slot.drop-over,[data-drop].drop-over{box-shadow:0 0 0 2px var(--leaf-dark), inset 0 0 0 2px var(--leaf)}.slot-grid .slot:focus-visible{outline:2px solid var(--leaf-dark);outline-offset:1px}.split-bar{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.split-bar[hidden]{display:none}.split-bar button{min-height:36px;padding:4px 10px;font-size:14px}.split-bar button.on{box-shadow:0 0 0 2px var(--rose), inset 0 0 0 2px var(--rose-soft)}.slot-ghost{z-index:1000;pointer-events:none;background:var(--parch-hi);border:2px solid var(--rose);border-radius:3px;place-items:center;width:44px;height:44px;display:grid;position:fixed;top:0;left:0;box-shadow:0 6px 14px #28140a59}.slot-ghost img{width:32px;height:32px}.slot-ghost .qty{color:var(--ink);text-shadow:none;pointer-events:none;background:#fff6e2e0;border-radius:3px;padding:0 2px;font-size:12px;font-weight:700;line-height:1.15;position:absolute;bottom:1px;right:1px}@media (min-width:700px){.slot-grids.two{flex-flow:wrap;justify-content:center;align-items:flex-start;gap:12px}.slot-grids.two .split-bar{flex-basis:100%}.slot-grids.two .slot-grid{grid-template-columns:repeat(8,36px);gap:3px}.slot-grids.two .slot-grid .slot{width:36px;height:36px}}@media (max-width:380px){.slot-grid{grid-template-columns:repeat(8,36px);gap:3px}.slot-grid .slot{width:36px;height:36px}}.pack-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:6px;display:flex}.pack-actions input{flex:1;min-width:140px}.drop-discard{border:2px dashed var(--wood);color:var(--ink-soft);border-radius:3px;padding:6px 10px;font-size:13px}.pack-status{text-align:center;min-height:20px;margin:6px 0 0}.menu-sheet{height:min(680px,100dvh - 20px)}.menu-sheet .content{flex:1;min-height:0}.bedtime-sheet{width:min(520px,100vw - 16px)}.bedtime-checks{padding-left:24px;line-height:1.4}.bedtime-checks li+li{margin-top:8px}.bedtime-actions{border-top:2px solid var(--wood);flex-wrap:wrap;flex:none;gap:8px;padding:10px 12px;display:flex}.bedtime-actions button{flex:auto;min-height:44px}@media (max-height:500px) and (orientation:landscape){.bedtime-sheet{width:min(720px,100vw - 16px)}.bedtime-sheet .content p,.bedtime-checks{margin-block:6px}.bedtime-checks li+li{margin-top:4px}}.look-sheet{width:min(620px,100vw - 16px)}.look-content{flex-direction:column;gap:8px;display:flex}.look-preview-wrap{flex-direction:column;align-items:center;display:flex}.look-preview{object-fit:contain;width:120px;height:160px;image-rendering:pixelated;cursor:pointer}@media (orientation:landscape) and (max-height:500px){.look-content{flex-flow:wrap;align-items:flex-start}.look-content .custom-look{flex:1;min-width:280px}.look-content .row{flex-basis:100%}}#station-bubbles.station-bubbles-layer{pointer-events:none;z-index:6;position:absolute;inset:0;overflow:hidden}body.photo #station-bubbles{display:none!important}.station-bubble-wrap{pointer-events:none;will-change:transform;width:0;height:0;position:absolute;top:0;left:0}.station-bubble{background:var(--parch-hi,#fff6e2);border:2px solid var(--wood-dark,#4a2e22);-webkit-user-select:none;user-select:none;pointer-events:auto;cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;min-height:44px;transition:transform .15s ease-out;display:flex;position:absolute;top:0;left:0;transform:translate(-50%,-100%);box-shadow:0 4px 10px #1a142066,inset 0 1px #fffc}.station-bubble:after{content:"";background:var(--parch-hi,#fff6e2);border-right:2px solid var(--wood-dark,#4a2e22);border-bottom:2px solid var(--wood-dark,#4a2e22);width:6px;height:6px;position:absolute;bottom:-4px;left:50%;transform:translate(-50%)rotate(45deg)}.station-bubble:active{transform:translate(-50%,-100%)scale(.92)}.station-bubble-content{border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.station-bubble.fresh:not(.no-motion) .station-bubble-content{animation:1.6s ease-in-out infinite station-bubble-bob}@keyframes station-bubble-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.station-bubble-ring{pointer-events:none;width:44px;height:44px;position:absolute;inset:0;transform:rotate(-90deg)}.station-bubble-ring-bg{fill:none;stroke:var(--parch-3,#e2c898);stroke-width:3.5px}.station-bubble-ring-bar{fill:none;stroke:var(--gold,#c99a3c);stroke-width:3.5px;stroke-linecap:round;transition:stroke-dashoffset .1s linear}.station-bubble-icon{width:24px;height:24px;image-rendering:pixelated;object-fit:contain;pointer-events:none}.station-bubble-count-badge{background:var(--wood-dark,#4a2e22);min-width:18px;height:18px;color:var(--cream,#fff3dc);border:1px solid var(--parch-hi,#fff6e2);font-family:var(--px,monospace);text-align:center;border-radius:9px;padding:0 4px;font-size:11px;font-weight:700;line-height:16px;position:absolute;top:-4px;right:-6px;box-shadow:0 1px 3px #0006}.station-bubble-alert-badge{background:var(--rose,#c8404e);color:#fff;border:1px solid var(--parch-hi,#fff6e2);width:16px;height:16px;font-family:var(--px,monospace);text-align:center;border-radius:50%;font-size:11px;font-weight:700;line-height:14px;position:absolute;top:-4px;right:-4px;box-shadow:0 1px 3px #0006}.station-bubble-zzz{font-family:var(--px,monospace);color:var(--ink-soft,#58414b);letter-spacing:-.5px;font-size:14px;font-weight:700}.station-bubble-shelf{color:var(--wood,#7a4e2e);justify-content:center;align-items:center;display:flex}.station-bubble-pause{color:var(--ink-soft,#58414b);justify-content:center;align-items:center;display:flex}.station-bubble-fly{pointer-events:none;z-index:100;width:32px;height:32px;animation:.65s cubic-bezier(.2,.8,.2,1) forwards station-bubble-fly-up;position:absolute;transform:translate(-50%,-50%)}.station-bubble-fly img{width:100%;height:100%;image-rendering:pixelated}@keyframes station-bubble-fly-up{0%{opacity:1;transform:translate(-50%,-50%)scale(1)}50%{opacity:.9;transform:translate(-50%,-90px)scale(1.25)}to{opacity:0;transform:translate(-50%,-150px)scale(1.4)}}.station-speech-bubble{background:var(--parch-hi,#fff6e2);color:var(--ink,#30212b);border:1px solid var(--wood-dark,#4a2e22);font-family:var(--px,monospace);white-space:normal;text-align:center;pointer-events:none;z-index:10;border-radius:6px;width:max-content;max-width:190px;padding:4px 8px;font-size:11px;line-height:1.3;animation:.2s ease-out station-speech-fade-in;position:absolute;bottom:50px;left:50%;transform:translate(-50%);box-shadow:0 3px 8px #00000059}.station-speech-bubble:after{content:"";border-style:solid;border-width:5px 5px 0;border-color:var(--wood-dark,#4a2e22) transparent transparent transparent;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)}@keyframes station-speech-fade-in{0%{opacity:0;transform:translate(-50%)translateY(4px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.station-steam-wrap{pointer-events:none;will-change:transform;width:0;height:0;position:absolute;top:0;left:0}.station-steam-puff{filter:blur(1.5px);background:radial-gradient(circle,#ffffffb3 0%,#f0f0f04d 60%,#fff0 100%);border-radius:50%;width:14px;height:14px;margin-top:-7px;margin-left:-7px;animation:1.8s ease-out infinite station-steam-rise;position:absolute}.station-steam-puff.p1{animation-delay:0s}.station-steam-puff.p2{animation-delay:.6s}.station-steam-puff.p3{animation-delay:1.2s}@keyframes station-steam-rise{0%{opacity:.6;transform:translate(0)scale(.5)}50%{opacity:.35;transform:translate(-3px,-16px)scale(.9)}to{opacity:0;transform:translate(3px,-32px)scale(1.3)}}@media (prefers-reduced-motion:reduce){.station-bubble.fresh .station-bubble-content{animation:none!important}.station-steam-puff{animation:none!important;display:none!important}}.no-motion .station-bubble-content{animation:none!important}.no-motion.station-steam-wrap{display:none!important}
