.pouch-window{position:absolute;z-index:46;right:0;top:calc(var(--topline-height,50px) + 6px);width:min(440px,calc((100dvh - 150px)*.75));aspect-ratio:1086/1448;color:#e9c997;isolation:isolate;filter:drop-shadow(0 7px 18px #000b)}.pouch-skin{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}.pouch-window header{position:absolute;left:27%;top:8.5%;width:53%;display:flex;align-items:center;justify-content:space-between;font:small-caps 18px Georgia;text-shadow:1px 2px #000}.pouch-window header button{border:2px ridge #a47c50;border-radius:5px;background:#28190f;color:#f4d4a4;font:24px Georgia;width:30px;height:30px;cursor:pointer}.pouch-grid{position:absolute;left:30.85%;top:34.85%;width:37.9%;height:38.7%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:3px}.pouch-grid .pouch-tile{position:relative;min-width:0;min-height:0;width:100%;height:100%;padding:4px;display:flex;align-items:center;justify-content:center;border:0;border-radius:4px;background:transparent;box-shadow:none}.pouch-grid button:hover,.pouch-grid button:focus-visible{background:#edba6233;outline:1px solid #d1a460}.pouch-grid .pouch-tile img{width:75%;height:75%;max-width:32px;max-height:32px;object-fit:contain;image-rendering:pixelated}.pouch-grid .pouch-tile strong,.pouch-grid .pouch-tile>span:not(.item-count){display:none}.pouch-grid .item-count{position:absolute;right:3px;bottom:1px;color:#fff0bb;font:11px monospace;text-shadow:1px 1px #000}.pouch-feedback{position:absolute;left:17%;width:66%;top:85%;margin:0;text-align:center;font:11px/1.4 Georgia;color:#d6b98b;text-shadow:1px 1px #000}#recover-legacy-coins{position:absolute;left:51%;top:93%;z-index:4;font-size:11px;padding:3px 7px;border:1px solid #a0804d;background:#23190d;color:#e8c686;border-radius:5px}
@media(min-width:761px){.viewport:has(#pouch-window:not([hidden])) #character-dock[data-commerce=""]{left:0;transform:none;width:min(calc(100% - 300px),calc((100dvh - 190px)*1.5))}#character-dock[data-commerce=""] [data-slot="backpack"]{left:29.3%;top:34.7%;height:6.4%}#character-dock[data-commerce=""] [data-slot="cape"]{top:28.4%;height:5.9%}#character-dock[data-commerce=""] [data-slot="arrows"]{left:36.2%;top:50.6%;width:4.5%;height:6%}}
@media(max-width:760px){.pouch-window{position:fixed;top:50%;left:50%;right:auto;transform:translate(-50%,-50%);width:min(100vw,calc((100dvh - 35px)*.75));z-index:48;filter:drop-shadow(0 0 30px #000)}#recover-legacy-coins{position:static;width:100%;margin-top:8px}}

.pouch-window{pointer-events:none}.pouch-window header,.pouch-grid{pointer-events:auto}

.pouch-hitarea{position:absolute;left:16%;top:13%;width:68%;height:73%;pointer-events:auto;clip-path:polygon(30% 0,85% 0,92% 20%,100% 26%,98% 80%,83% 100%,15% 100%,0 75%,0 35%,15% 22%)}
