.cart-screen{padding:0;background:#476a35;display:block;z-index:12}
#cartCanvas{position:absolute;inset:0;width:100%;height:100%}
.cart-header{position:absolute;inset:max(10px,env(safe-area-inset-top)) 12px auto;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}
.cart-header nav{display:flex;gap:6px;pointer-events:auto}
.cart-header .picture-button,.cart-go,.cart-result .picture-button{width:48px;height:48px;min-width:44px;min-height:44px;padding:0;background:none;border:0;border-radius:50%;box-shadow:0 0 0 2px #fff0c9b3}
.cart-header .picture-button img,.cart-go img,.cart-result .picture-button img{width:100%;height:100%;object-fit:contain}
.cart-header .picture-button:disabled{cursor:default;opacity:.48;box-shadow:0 0 0 2px #fff0c96b}
.cart-stats{font:700 14px Trebuchet MS,Arial;color:#fff5d7;text-shadow:0 2px 3px #1d371d;-webkit-text-stroke:2px #263a21;paint-order:stroke fill}
.cart-hits{position:absolute;inset:0;z-index:2;pointer-events:none}
.cart-hits button{position:absolute;border:0;background:none;padding:0;margin:0;pointer-events:auto;border-radius:15px;box-shadow:none;touch-action:manipulation}
.cart-hits button:hover,.cart-hits button:active{background:none;box-shadow:none;transform:none}
.cart-hits button:focus-visible{outline:3px dashed #fff3c6;outline-offset:2px}
.cart-go{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));right:max(18px,env(safe-area-inset-right));z-index:4;width:60px;height:60px;cursor:pointer}
.cart-message{position:absolute;bottom:90px;left:50%;transform:translateX(-50%);margin:0;max-width:calc(100% - 30px);text-align:center;font:700 14px/1.3 Trebuchet MS,Arial;color:#fff6d9;text-shadow:0 2px 3px #21341c;-webkit-text-stroke:2.5px #253a21;paint-order:stroke fill;pointer-events:none;z-index:3}
.cart-result{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:#1832204d;backdrop-filter:blur(2px)}
.cart-result>div{text-align:center;background:#fff4d9;padding:24px 28px;border-radius:9px 23px;box-shadow:0 9px 30px #142a2340;max-width:90%;color:#29452c}
.cart-result h2{font:27px Georgia,serif;margin:0 0 16px}.cart-result p{font:14px/1.45 Trebuchet MS,Arial}.cart-result nav{display:flex;justify-content:center;gap:20px;margin-top:20px}
.cart-rule-pair{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0}.cart-rule-pair img,.cart-rule-pair canvas{width:70px;height:70px;object-fit:contain}.cart-rule-pair b{font-size:26px;color:#a5442b}
#cartHelpPanel{background:#18322080}.cart-result .picture-button{box-shadow:none}
@media(max-width:600px){.cart-header{left:10px;right:10px}.cart-header nav{gap:5px}.cart-header .picture-button{width:44px;height:44px}.cart-stats{font-size:12px}.cart-message{font-size:13px;width:max-content}}
@media(max-height:480px) and (orientation:landscape){.cart-header{top:7px}.cart-header .picture-button{width:44px;height:44px}.cart-go{width:52px;height:52px;bottom:10px}.cart-message{bottom:67px;font-size:12px}.cart-result>div{padding:15px 25px}.cart-result h2{font-size:24px}.cart-rule-pair{display:inline-flex;margin:4px 8px}.cart-rule-pair img{width:48px;height:48px}}
