#kd-market-v5.cashier-r2 .shop-theatre{display:block;position:relative;min-height:0;overflow:hidden;border-radius:16px;background:#e7e0c4;grid-column:1;grid-row:2}
#kd-market-v5.cashier-r2 .shop-theatre canvas{width:100%;height:100%;display:block}
#kd-market-v5.cashier-r2 .shop-theatre-label{position:absolute;bottom:4px;left:8px;right:8px;display:flex;justify-content:space-between;pointer-events:none;color:#39244f;font-size:11px;font-weight:750}
#kd-market-v5.cashier-r2 .market-scene:not(.with-camera):not(.with-overlay){display:none!important}
#kd-market-v5.cashier-r2 :has(>.market-scene.with-camera,.market-scene.with-overlay)>.shop-theatre{display:none}
#kd-market-v5.cashier-r2 .market-top>.active-time{max-width:none;overflow:visible;text-overflow:clip;white-space:normal;flex-shrink:0}
#kd-market-v5.cashier-r2 .market-top{flex-wrap:wrap}
#kd-market-v5.cashier-r2 .shop-fullscreen{min-width:44px;min-height:44px;font-size:13px}
#kd-market-v5.cashier-r2 .shop-settings{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0;padding:10px;background:#f5f0e5;border-radius:10px}
#kd-market-v5.cashier-r2 .shop-settings label{display:flex;align-items:center;gap:8px;min-height:44px}
#kd-market-v5.cashier-r2 .shop-settings input{width:24px;height:24px}
#kd-market-v5.cashier-r2 .shop-fullscreen-message{font-size:12px;color:#563779}
#kd-market-v5.cashier-r2 .shop-fullscreen-message:empty{display:none}
#kd-market-v5.cashier-r2 .shop-fullscreen-message:not(:empty){position:absolute;left:8px;right:8px;top:60px;z-index:30;padding:8px;background:#fff5d8;border:1px solid #c8b378;border-radius:8px}
body:has(#kd-market-v5) #employee-session-bar [data-toggle][aria-expanded="false"]{display:none!important}
#kd-market-v5.cashier-r2 .actors-fallback canvas{display:none}
#kd-market-v5.cashier-r2 .actors-fallback{background-image:url('assets/kumka-cashier-r1.png'),url('assets/dumka-cashier-r1.png');background-size:48% 100%,48% 100%;background-position:left center,right center;background-repeat:no-repeat}
@media(max-width:680px){
 body{padding:3px 3px 45px!important}
 #kd-market-v5.cashier-r2{height:calc(100dvh - 49px);min-height:0}
 #kd-market-v5.cashier-r2 .market-top{min-height:54px;padding:2px 7px;gap:2px;display:grid;grid-template-columns:1fr auto;grid-template-rows:32px 17px}
 #kd-market-v5.cashier-r2 .market-top>div:first-child{display:block;grid-column:1;grid-row:1;min-width:0}
 #kd-market-v5.cashier-r2 .market-top .market-brand{font-size:12px}
 #kd-market-v5.cashier-r2 .market-top-actions{grid-column:2;grid-row:1;width:auto;gap:3px}
 #kd-market-v5.cashier-r2 .market-icon-button{min-height:30px;height:32px;min-width:32px;padding:3px 4px;font-size:11px}
 #kd-market-v5.cashier-r2 .market-top>.active-time{grid-column:1/-1;grid-row:2;font-size:11px!important;line-height:16px;justify-self:start}
 #kd-market-v5.cashier-r2 [data-game]{grid-template-columns:1fr;grid-template-rows:24px 88px 88px minmax(0,1fr);gap:5px;padding:4px}
 #kd-market-v5.cashier-r2 .market-instruction{grid-column:1;grid-row:1;min-height:0;padding:2px 4px;font-size:12px;line-height:1.2}
 #kd-market-v5.cashier-r2 .shop-theatre{grid-column:1;grid-row:2;min-height:0}
 #kd-market-v5.cashier-r2 .market-belt{grid-column:1;grid-row:3;height:auto;padding:3px 5px 5px;min-height:0}
 #kd-market-v5.cashier-r2 .market-belt-title{height:18px;font-size:10px}
 #kd-market-v5.cashier-r2 .market-items{height:calc(100% - 19px)}
 #kd-market-v5.cashier-r2 .market-desk{grid-column:1;grid-row:4;min-height:0;padding:9px 7px 26px;gap:7px;border-radius:20px}
 #kd-market-v5.cashier-r2 .market-register{min-height:0;gap:2px;transform:none}
 #kd-market-v5.cashier-r2 .market-keypad{min-height:0;flex:1;overflow:visible;grid-template-columns:repeat(5,minmax(24px,1fr));grid-auto-rows:minmax(24px,1fr);gap:3px}
 #kd-market-v5.cashier-r2 .market-key{min-width:24px;min-height:24px;max-height:none;font-size:16px;border-bottom-width:3px;padding:0}
 #kd-market-v5.cashier-r2 .market-key.times{grid-column:span 2;font-size:10px}
 #kd-market-v5.cashier-r2 .market-key.word{font-size:8px}
 #kd-market-v5.cashier-r2 .market-entry-wrap{min-height:32px;height:32px;padding:0 4px;border-width:3px}
 #kd-market-v5.cashier-r2 .market-entry{min-height:26px;height:26px;font-size:23px}
 #kd-market-v5.cashier-r2 .market-main{min-height:30px;padding:2px;font-size:11px}
 #kd-market-v5.cashier-r2 .market-register-seal{display:none}
 #kd-market-v5.cashier-r2 .market-register-label{font-size:10px}
 #kd-market-v5.cashier-r2 .market-receipt{max-height:100%;font-size:10px;padding:8px 5px}
 #kd-market-v5.cashier-r2 .market-multiply-expression{font-size:10px}
 #kd-market-v5.cashier-r2[data-feedback-error="true"] .market-feedback{grid-row:auto;position:absolute;bottom:0;left:4px;right:4px;z-index:10;font-size:11px}
 #kd-market-v5.cashier-r2 .market-scene.with-camera,#kd-market-v5.cashier-r2 .market-scene.with-overlay{grid-column:1;grid-row:1/-1;min-height:0;height:100%}
}
@media(max-width:680px) and (max-height:520px){#kd-market-v5.cashier-r2 [data-game]{grid-template-rows:18px 38px 84px minmax(0,1fr)}#kd-market-v5.cashier-r2 .shop-theatre-label{font-size:9px}#kd-market-v5.cashier-r2 .market-desk{padding-bottom:22px}#kd-market-v5.cashier-r2 .market-register{gap:1px}#kd-market-v5.cashier-r2 .market-multiply-expression{font-size:9px;line-height:10px}}
@media(min-width:500px) and (max-height:440px){
 #kd-market-v5.cashier-r2 [data-game]{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);grid-template-rows:22px minmax(0,1fr) 70px}
 #kd-market-v5.cashier-r2 .market-instruction{grid-column:1/-1;grid-row:1}
 #kd-market-v5.cashier-r2 .shop-theatre{grid-column:1;grid-row:2}
 #kd-market-v5.cashier-r2 .market-belt{grid-column:1;grid-row:3}
 #kd-market-v5.cashier-r2 .market-desk{grid-column:2;grid-row:2/4}
}

@media(max-width:680px){#kd-market-v5.cashier-r2 .market-item{grid-template-rows:minmax(20px,1fr) 12px 14px;padding:1px}#kd-market-v5.cashier-r2 .market-item-price{font-size:10px}#kd-market-v5.cashier-r2 .market-items:has(.market-item:nth-child(4)) .market-item-price{font-size:9px}}

#kd-market-v5.cashier-r2 .shop-theatre canvas{width:72%;height:100%}#kd-market-v5.cashier-r2 .shop-theatre-label{right:30%}#kd-market-v5.cashier-r2 .shop-customer-portrait{position:absolute;right:0;top:0;bottom:0;width:28%;background:#f7e9c9;border-left:2px solid #fff8;overflow:hidden}#kd-market-v5.cashier-r2 .shop-customer-portrait img.market-customer{position:static!important;display:block!important;width:100%!important;height:100%!important;max-height:none;left:auto;right:auto;top:auto;bottom:auto;object-fit:contain;object-position:center;transform:none;opacity:1}
