.pocket-tools{position:absolute;top:310px;left:40px;z-index:12;pointer-events:none;color:#425b45}.pocket-actions,.leaf-picker{pointer-events:auto}.pocket-actions{display:flex;gap:7px}.pocket-tools button{font:inherit;font-size:12px;color:inherit;background:#fbf8e8e8;border:1px solid #aab49b;border-radius:8px;min-height:40px;padding:8px 13px;cursor:pointer}.pocket-tools button[aria-pressed=true]{background:#dce7cf;border-color:#597753;box-shadow:inset 0 0 0 1px #597753}.pocket-tools b{font-size:10px;font-weight:500;margin-left:4px}.leaf-picker{margin-top:10px;padding:10px;background:#f8f5e8ed;border:1px solid #d9dac7;border-radius:10px;max-width:240px}.leaf-picker>span{font-size:10px;display:block;margin-bottom:7px}.leaf-picker>div{display:flex;flex-wrap:wrap;gap:5px}.leaf-picker button{display:flex;flex-direction:column;align-items:center;font-size:9px;min-width:39px;padding:5px}.leaf-picker svg{width:26px;height:26px}.pocket-dialog{width:min(520px,calc(100vw - 28px));max-height:90svh;overflow:auto;padding:30px}.pocket-dialog h2{margin-bottom:20px}.pocket-money{display:flex;align-items:center;gap:12px;background:#eee7ca;padding:15px;border-radius:9px;font-size:14px}.pocket-money strong{font-size:26px;color:#8a661f}.pocket-money span{font-size:10px;margin-left:auto;color:#8b8264}.pocket-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.pocket-grid button{font:inherit;min-width:0;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #bdc7ac;background:#fffdf0;border-radius:8px;color:#56734b;cursor:pointer}.pocket-grid button:disabled{border-style:dashed;opacity:.45;cursor:default}.pocket-grid svg{width:38px;height:38px}.pocket-grid span{font-size:11px}.pocket-grid b{font-size:12px}.pocket-note{font-size:11px;line-height:1.8;color:#727e62}.pocket-tools [hidden],.water-trip [hidden]{display:none!important}.pocket-tools :focus-visible,.pocket-dialog :focus-visible{outline:3px solid #7b985f;outline-offset:3px}.pocket-actions button{display:flex;align-items:center;justify-content:center;gap:4px}.pocket-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:701px){.side-actions{bottom:176px}.leaf-picker{position:absolute;left:194px;top:-9px;width:300px}.leaf-picker>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.leaf-picker button{min-width:0;padding:5px 2px}}
@media(max-width:700px){.pocket-tools{top:180px;left:17px;right:17px}.pocket-actions{gap:6px}.pocket-tools button{min-height:44px;font-size:11px;padding:7px 10px}.leaf-picker{position:absolute;left:0;top:48px;width:calc(100vw - 34px);max-width:356px;margin:0;padding:7px}.leaf-picker>div{flex-wrap:nowrap;justify-content:space-between}.leaf-picker button{font-size:9px;min-width:48px;padding:3px 5px}.leaf-picker>span{font-size:9px;margin:0 0 4px}.leaf-picker svg{width:21px;height:21px}.pocket-dialog{padding:24px 18px}.pocket-money span{max-width:100px}.pocket-grid{grid-template-columns:repeat(3,1fr)}.pocket-grid button{min-height:86px}}
@media(max-height:550px) and (min-width:701px){.pocket-tools{top:156px;left:20px}.leaf-picker{position:absolute;left:0;top:41px}.pocket-dialog{max-height:94svh}}

.pocket-snack{margin-top:15px;padding:17px;background:#f3e7c9;border:1px solid #c7ad73;border-radius:10px;color:#634e2f}.pocket-snack[hidden]{display:none}.snack-detail{display:flex;align-items:center;gap:12px}.snack-detail svg{width:45px;height:45px}.snack-detail strong{font-size:17px}.snack-detail b{font-size:13px;font-weight:400;margin-left:5px}.snack-description,.snack-feedback{font-size:11px;line-height:1.7}.pocket-snack>div:last-of-type{display:flex;gap:8px}.pocket-snack button{flex:1;min-height:44px;padding:10px;border:1px solid #ac8e56;border-radius:7px;background:#fff9e7;color:#60472b;font:inherit;font-size:13px;cursor:pointer}.pocket-snack button:disabled{opacity:.45;cursor:default}.snack-feedback{min-height:19px;margin-bottom:0}

.throw-choice{display:flex;align-items:center;gap:8px;margin-top:8px;padding:8px 10px;background:#fbf8e8ed;border:1px solid #c4c9af;border-radius:9px;max-width:310px;pointer-events:auto}.throw-choice span{font-size:10px;line-height:1.6}.throw-choice button{font-size:10px;white-space:nowrap;padding:5px 8px;min-height:36px}.pocket-item-actions{flex-wrap:wrap}.pocket-item-actions button{min-width:100px}.pocket-item .item-throw{background:#55764a;color:#fff8e5}.pocket-item .item-discard{color:#885d49;background:#f6edda}.pocket-item [hidden]{display:none!important}.pocket-grid button[aria-pressed=true]{border-color:#6b885c;background:#e9efdb}.intro-playing .pocket-tools{visibility:hidden}@media(max-width:700px){.pocket-actions{gap:5px}.pocket-tools .pocket-actions button{padding:7px 9px}.throw-choice{max-width:330px}.pocket-item-actions button{min-width:85px;font-size:11px}}
.pocket-candy{display:flex;align-items:center;gap:13px;width:100%;margin:0 0 16px;padding:12px 14px;border:1px solid #c7be9a;border-radius:12px;background:#fff9e9;color:#645e3d;text-align:left;font:inherit;cursor:pointer}.pocket-candy>span{display:grid;gap:5px}.pocket-candy strong{font-size:14px}.pocket-candy b{margin-left:6px;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.pocket-candy small{font-size:10px;color:#84785b}.pocket-candy .candy-choose{margin-left:auto;font-size:11px;white-space:nowrap}.pocket-candy[aria-pressed=true]{border-color:#728958;background:#f0f2de}.pocket-candy .candy-meter{width:48px;height:48px;flex:none}.candy-meter{fill:none;stroke:currentColor;stroke-width:1.5;overflow:visible}.candy-meter .candy-track{stroke:#d9d9bc;stroke-width:3}.candy-meter .candy-progress{stroke:#9eaa61;stroke-width:3;stroke-linecap:round;transform:rotate(-90deg);transform-origin:center}.candy-meter use{color:#c88470}.throw-candy-meter{display:flex;flex:none}.play-menu-bar .throw-candy-meter svg{width:32px;height:32px}.pocket-caption{display:inline-flex;align-items:center}

/* Finds keep one inventory stack per kind; the book records individual designs. */
.treasure-icon{display:inline-block;width:38px;height:38px;flex:none}.ddakji-icon{background-size:300% 300%;border-radius:50%;background-repeat:no-repeat;filter:drop-shadow(0 2px 1px #6d573830)}.snack-detail .treasure-icon{width:52px;height:52px}.treasure-book{margin:18px 0 10px;border-top:1px solid #c9c9ae;padding-top:12px;color:#596345}.treasure-book summary{cursor:pointer;font-size:14px;min-height:32px}.treasure-book summary b{float:right;font-size:12px}.treasure-book>p{font-size:11px;line-height:1.7}.treasure-collection{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 6px;margin:16px 0}.treasure-collection>div{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;font-size:10px;line-height:1.4}.treasure-collection .treasure-icon{width:49px;height:49px}.treasure-unknown{display:grid;place-items:center;border:1px dashed #b6b99f;border-radius:50%;width:49px;height:49px;color:#a1a58b;font-size:22px}.treasure-collection .unknown{color:#959980}@media(max-width:380px){.treasure-collection{grid-template-columns:repeat(3,minmax(0,1fr))}}
