/* Single scene, directly using regions of the approved illustration. */
.gs-scene{display:grid;grid-template-rows:58px minmax(0,39fr) minmax(0,29fr) minmax(0,26fr);max-width:720px;margin:auto;container-type:inline-size;user-select:none;-webkit-user-select:none;touch-action:manipulation;}
.gs-scene .backdrop{background-image:url('/assets/kitchen-playfield.png');background-position:center top;filter:brightness(.86);}
.gs-hud{z-index:8;display:flex;align-items:center;direction:ltr;gap:8px;padding:6px 10px;background:linear-gradient(#1c5947,#123e32);color:#fff0c4;border:2px solid #bfa467;border-radius:0 0 14px 14px;box-shadow:0 3px 8px #0008;}
.gs-hud .round-button{width:38px;height:38px;flex:none;}.gs-score,.gs-clock{display:flex;align-items:center;gap:5px;font-size:25px;font-weight:900;white-space:nowrap;}.gs-score .icon{color:#ffd069;fill:#ffd069;}.gs-clock{margin-left:auto;font-size:24px;font-variant-numeric:tabular-nums;}.gs-clock .icon{width:22px;height:22px;}.gs-title{font-size:22px;direction:rtl;color:#ffe6a8;text-shadow:0 2px #6b391d;white-space:nowrap;}.gs-clock.urgent{color:#ffc06d;animation:warning-pulse 1s infinite;}
.gs-queue{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));direction:ltr;gap:6px;padding:8px 7px 0;overflow:hidden;}
.gs-person{position:relative;grid-row:1;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;min-width:0;min-height:0;border:0;background:none;padding:0;direction:rtl;touch-action:manipulation;}
.gs-ticket{position:relative;z-index:3;width:100%;max-width:180px;border:2px solid #524d3e;border-radius:10px;background:linear-gradient(110deg,#fffbe8,#f9efcf);box-shadow:0 3px 1px #3d332d,0 5px 8px #0004;display:flex;flex-direction:column;align-items:stretch;padding:4px 6px 5px;flex:none;color:#29281f;}
.gs-ticket:after{content:'';position:absolute;bottom:-10px;left:calc(50% - 9px);border-top:10px solid #f5ebcf;border-left:9px solid transparent;border-right:9px solid transparent;filter:drop-shadow(0 2px #4d4735);}
.gs-ticket-number{font-size:23px;line-height:1.15;direction:ltr;}.gs-ticket .patience{height:7px;margin:3px 0;}.gs-ticket small{font-size:9px;white-space:nowrap;line-height:1.3;margin-top:3px;}
.gs-ticket-row{display:flex;align-items:center;direction:ltr;gap:4px;min-height:26px;text-align:right;}.gs-ticket-row>b{font-size:12px;flex:1;direction:rtl;line-height:1.2;white-space:nowrap;}.gs-ticket-row>.food,.gs-ticket-row>.gs-art{width:30px;height:26px;flex:none;}.gs-ticket-row>.gs-protein-food{border-radius:50%;}
.gs-person.selected .gs-ticket{border-color:#f0bc3b;box-shadow:0 0 0 2px #fff2a3,0 0 12px #ffd43e99;}.gs-person.ready .gs-ticket{background:#e4efcf;}.gs-person>.character{position:absolute;width:120%;max-width:245px;height:auto;aspect-ratio:1;bottom:-9%;z-index:1;filter:drop-shadow(0 2px 4px #28170866);animation:breathe 4s ease-in-out infinite;}.gs-person-name{position:absolute;bottom:2px;z-index:4;font-size:10px;background:#1a4036dd;border-radius:4px;padding:1px 9px;color:#fff0c7;}
.gs-art{display:block;background-image:url('/assets/approved-counter.png');background-repeat:no-repeat;pointer-events:none;}
.gs-serving,.gs-bench{position:relative;background-image:url('/assets/approved-counter.png');background-size:134.43% 1672%;background-position:65% 100%;}
.gs-serving{display:grid;grid-template-rows:1fr 1fr;z-index:5;padding:7px 7px 4px;gap:3px;border-top:4px solid #d1c6b1;box-shadow:0 -3px 0 #776d60,0 -6px 8px #0005;}
.gs-proteins,.gs-sides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));direction:ltr;gap:4px;min-height:0;}.gs-sides{grid-template-columns:repeat(4,minmax(0,1fr));}
.gs-pan{position:relative;border:0;min-width:0;min-height:0;padding:0;background:#8a8883;border-radius:5px;box-shadow:0 0 0 1px #ded8c8,0 2px 2px #352e23;overflow:visible;touch-action:manipulation;}
.gs-pan-art{position:absolute;inset:0 0 24%;border-radius:5px 5px 0 0;}.gs-pan-label{position:absolute;bottom:0;left:0;right:0;height:25%;min-height:22px;font-size:clamp(11px,2.7cqw,17px);line-height:1.15;font-weight:900;direction:rtl;background:linear-gradient(95deg,#a4a19a,#ece7dc 27%,#c4c1b7 64%,#ded9cc);color:#282923;display:flex;flex-direction:column;align-items:center;justify-content:center;border-top:1px solid #f6efdd;box-shadow:inset 0 -2px 2px #56534f66;border-radius:0 0 3px 3px;white-space:nowrap;}
.gs-sides .gs-pan-art{bottom:32%;}.gs-sides .gs-pan-label{height:33%;min-height:29px;font-size:clamp(10px,2.4cqw,16px);}.gs-pan .portion-dots{margin:2px 0 0;gap:4px;width:75%;}.gs-pan .portion-dots i{height:5px;max-width:8px;border-radius:50%;background:#8c8c79;}.gs-pan .portion-dots i.full{background:#16905d;box-shadow:inset 0 1px 2px #113e2c;}.gs-pan:not(:disabled):hover{filter:brightness(1.12);}.gs-pan.chosen{box-shadow:0 0 0 2px #fff5a2,0 0 9px #ffe39b;}.gs-chosen{position:absolute;right:3px;top:3px;width:21px;height:21px;display:grid;place-items:center;background:#245b3c;border:1px solid #fbe5a6;border-radius:50%;color:#fff1b0;}.gs-chosen .icon{width:15px;height:15px;}.gs-pan.empty .gs-pan-art{background-image:repeating-linear-gradient(0deg,#ffffff10 0 1px,transparent 1px 3px),linear-gradient(110deg,#576466,#b8beb7 50%,#747a76)!important;background-size:auto!important;border:5px ridge #babfbb;box-shadow:inset 0 3px 7px #293a39;}.gs-empty{position:absolute;top:22%;left:0;right:0;font-size:15px;font-weight:900;color:#632a17;text-shadow:0 1px #fff9;}
.gs-bench{z-index:6;border-top:3px solid #ded4c0;box-shadow:0 -1px 0 #776e64;min-height:0;}
.gs-box{position:absolute;width:min(53%,26dvh);height:auto;aspect-ratio:1;left:50%;top:0;transform:translateX(-50%);background:none;padding:0;border:0;z-index:3;touch-action:none;cursor:grab;filter:drop-shadow(0 4px 4px #26180966);}
.gs-box-sprite{position:absolute;inset:0;}.gs-box-food{position:absolute;inset:0;pointer-events:none;}.gs-box-food>.food,.gs-box-food>.gs-art{position:absolute;animation:ingredient-drop .2s ease-out;}.gs-box-main{width:49%;height:44%;left:12%;top:43%;}.gs-box-food>.gs-protein-food{border-radius:35%;height:30%;top:51%;clip-path:ellipse(49% 48%);}.gs-box-side{width:32%;top:48%;left:55%;}.gs-box-side-1{top:63%;left:55%;}.gs-box-tag{position:absolute;top:86%;left:35%;right:30%;color:#3b2b19;background:#f5e7c4;font-size:clamp(12px,3.5cqw,19px);font-weight:900;line-height:1.2;transform:rotate(-2deg);box-shadow:0 1px 3px #674c3288;}.gs-box.closed .gs-box-tag{top:48%;background:none;box-shadow:none;}.gs-box-prompt{position:absolute;top:20%;left:15%;right:15%;font-size:clamp(10px,2.8cqw,15px);font-weight:800;background:#254b39;color:#ffefc0;border:1px solid #d0af6c;padding:3px;border-radius:5px;}.gs-box.closed{animation:box-shut .25s ease-out;}.gs-box.closed .gs-box-prompt{top:15%;}
.gs-trash{position:absolute;left:1%;top:12%;width:23%;height:69%;border:0;background:none;padding:0;touch-action:manipulation;z-index:2;}.gs-trash>.gs-art{position:absolute;inset:0;border-radius:8px;}.gs-trash>span:last-child{position:absolute;bottom:8%;left:0;right:0;font-size:12px;font-weight:900;color:#252b26;}.gs-bell{position:absolute;right:2%;top:17%;width:22%;height:65%;background:none;border:0;padding:0;z-index:2;}.gs-bell>.food{width:100%;position:absolute;bottom:0;left:0;}.gs-bell-label{position:absolute;top:0;left:2%;right:2%;font-size:clamp(12px,3.3cqw,20px);font-weight:900;color:#3b2d18;background:#f5e1b9;transform:rotate(-4deg);padding:3px;box-shadow:0 2px 3px #61462966;z-index:2;}.gs-bell.refilling>.food{animation:bell-ring .3s alternate infinite;}.gs-hint{position:absolute;bottom:max(7px,env(safe-area-inset-bottom));left:24%;right:24%;font-size:clamp(9px,2.5cqw,13px);color:#20392e;font-weight:800;text-align:center;line-height:1.2;pointer-events:none;}.gs-delivered{position:absolute;bottom:6px;right:7px;color:#34483a;font-size:10px;font-weight:700;}
.gs-drag-origin{opacity:.25;}.gs-drag-ghost{position:fixed!important;z-index:150!important;pointer-events:none!important;transform:translate(-50%,-60%) rotate(-7deg)!important;margin:0!important;opacity:.95;animation:none!important;}.drop-hover{filter:drop-shadow(0 0 9px #fff084)!important;outline:3px solid #ffd25e!important;outline-offset:-2px;border-radius:10px;}.gs-event{position:absolute;bottom:3%;right:3%;width:45%;height:23%;z-index:25;padding:0;border:0;background:none;display:flex;align-items:center;direction:ltr;filter:drop-shadow(0 3px 5px #0009);}.gs-event>.character{width:42%;flex:none;}.gs-event>span:last-child{direction:rtl;background:#fff0c7;border:2px solid #aa6c36;padding:7px;border-radius:12px;display:grid;gap:4px;font-size:13px;text-align:center;}.gs-event small{background:#945037;border-radius:5px;padding:4px;color:#fff5d9;font-size:11px;}.gs-event em{font-size:10px;font-style:normal;color:#77452b;}
@media(max-width:440px){.gs-hud{height:52px;padding:4px 7px;gap:6px;}.gs-scene{grid-template-rows:52px minmax(0,39fr) minmax(0,29fr) minmax(0,26fr);}.gs-title{font-size:17px;}.gs-clock,.gs-score{font-size:21px;}.gs-score .icon{width:21px;}.gs-hud .round-button{width:32px;height:32px;}.gs-hud .round-button .icon{width:19px;height:19px;}.gs-ticket-row>b{font-size:10px;}.gs-ticket-row>.food,.gs-ticket-row>.gs-art{width:25px;height:24px;}.gs-ticket{padding:4px;}.gs-ticket-number{font-size:20px;}.gs-ticket small{font-size:8px;}.gs-queue{gap:5px;padding:8px 5px 0;}.gs-title{letter-spacing:-.6px;}}
@media(orientation:portrait) and (max-height:680px){.gs-ticket-row{min-height:20px;}.gs-ticket-row>.food,.gs-ticket-row>.gs-art{width:21px;height:19px;}.gs-ticket-number{font-size:17px;}.gs-ticket small{font-size:7px;}.gs-ticket .patience{height:5px;margin:2px 0;}.gs-person>.character{width:105%;bottom:-11%;}.gs-person-name{font-size:8px;}.gs-box{width:25dvh;}.gs-pan-label{min-height:19px;font-size:10px;}.gs-sides .gs-pan-label{min-height:25px;font-size:9px;}.gs-pan .portion-dots{gap:3px;}.gs-pan .portion-dots i{height:4px;}.gs-hint{font-size:9px;bottom:3px;}}
@media(orientation:landscape){
 .gs-scene{max-width:1450px;grid-template-columns:minmax(0,60fr) minmax(0,40fr);grid-template-rows:54px minmax(0,53fr) minmax(0,47fr);}.gs-hud{grid-column:1/-1;}.gs-queue{grid-column:1;grid-row:2;gap:10px;padding:8px 12px 0;}.gs-serving{grid-column:1;grid-row:3;}.gs-bench{grid-column:2;grid-row:2/4;border-top:0;border-left:4px solid #b4aa91;}.gs-person>.character{width:min(90%,22dvh);max-width:none;bottom:-6%;left:50%;transform:translateX(-50%);animation:none;}.gs-ticket{max-width:190px;padding:3px 5px;}.gs-ticket-row{min-height:23px;}.gs-ticket-number{font-size:20px;}.gs-ticket-row>b{font-size:11px;}.gs-ticket-row>.food,.gs-ticket-row>.gs-art{width:26px;height:22px;}.gs-ticket small{font-size:8px;}.gs-box{top:15%;width:min(78%,48dvh);}.gs-trash{top:auto;bottom:10%;left:3%;width:25%;height:30%;}.gs-bell{top:auto;bottom:10%;right:3%;width:26%;height:25%;}.gs-bell-label{font-size:17px;}.gs-box-tag{font-size:18px;}.gs-box-prompt{font-size:14px;}.gs-hint{left:8%;right:8%;bottom:5%;font-size:13px;}.gs-pan-label{font-size:16px;}.gs-sides .gs-pan-label{font-size:14px;}.gs-event{bottom:4%;right:1%;width:32%;height:26%;}.gs-delivered{bottom:7px;right:10px;}
}
@media(orientation:landscape) and (max-height:540px){
 .gs-scene{grid-template-rows:40px minmax(0,57fr) minmax(0,43fr);grid-template-columns:minmax(0,70fr) minmax(0,30fr);}.gs-hud{padding:2px 10px;}.gs-title{font-size:21px;}.gs-hud .round-button{width:30px;height:30px;}.gs-clock,.gs-score{font-size:22px;}.gs-queue{padding-top:5px;gap:6px;}.gs-ticket{width:60%;max-width:130px;align-self:flex-start;padding:2px 4px;}.gs-ticket:after{left:85%;bottom:7px;transform:rotate(-90deg);}.gs-ticket-number{font-size:17px;}.gs-ticket .patience{height:5px;margin:1px 0;}.gs-ticket-row{min-height:21px;}.gs-ticket-row>.food,.gs-ticket-row>.gs-art{width:22px;height:20px;}.gs-ticket-row>b{font-size:9px;}.gs-ticket small{font-size:7px;}.gs-person>.character{left:auto;right:-10%;bottom:-4%;width:min(84%,34dvh);transform:none;}.gs-person-name{right:0;font-size:8px;padding:1px 5px;}.gs-serving{padding:4px 5px 3px;gap:3px;}.gs-proteins,.gs-sides{gap:3px;}.gs-pan-label{font-size:10px;min-height:17px;}.gs-sides .gs-pan-label{font-size:9px;min-height:23px;}.gs-pan .portion-dots{margin:1px 0 0;}.gs-pan .portion-dots i{height:3px;}.gs-chosen{width:16px;height:16px;}.gs-box{top:8%;width:min(90%,47dvh);}.gs-box-prompt{font-size:10px;padding:2px;}.gs-box-tag{font-size:12px;}.gs-trash{height:30%;bottom:11%;width:25%;}.gs-trash>span:last-child{font-size:9px;}.gs-bell{height:29%;bottom:11%;width:29%;}.gs-bell-label{font-size:11px;padding:2px;}.gs-hint{font-size:9px;bottom:4%;}.gs-event{height:45%;width:30%;bottom:6%;}.gs-event>span:last-child{font-size:11px;padding:5px;}.gs-event small{font-size:9px;}
}
@media(orientation:portrait){.gs-box{width:min(50%,23.5dvh);}.gs-hint{bottom:max(6px,env(safe-area-inset-bottom));}}
@media(orientation:landscape) and (max-height:540px){.gs-ticket{width:100%;max-width:160px;align-self:center;}.gs-ticket:after{left:calc(50% - 9px);bottom:-8px;transform:none;border-top-width:8px;}.gs-ticket-number{font-size:15px;}.gs-ticket-row{min-height:17px;}.gs-ticket-row>.food,.gs-ticket-row>.gs-art{width:20px;height:17px;}.gs-ticket-row>b{font-size:9px;}.gs-ticket small{font-size:7px;margin-top:1px;}.gs-person>.character{left:50%;right:auto;transform:translateX(-50%);width:min(85%,29dvh);bottom:-7%;}.gs-person-name{right:auto;}}
/* Desktop keeps the approved portrait composition, centered like an arcade cabinet. */
@media(orientation:landscape) and (min-height:541px){
 .gs-scene{max-width:min(620px,70dvh);grid-template-columns:minmax(0,1fr);grid-template-rows:54px minmax(0,39fr) minmax(0,29fr) minmax(0,26fr);border-left:2px solid #8c7549;border-right:2px solid #8c7549;box-shadow:0 0 60px #0008;}
 .gs-hud{grid-column:1;}.gs-queue{grid-column:1;grid-row:2;padding:8px 7px 0;gap:6px;}.gs-serving{grid-column:1;grid-row:3;}.gs-bench{grid-column:1;grid-row:4;border-left:0;border-top:3px solid #ded4c0;}.gs-person>.character{left:auto;transform:none;bottom:-9%;width:120%;max-width:245px;animation:breathe 4s ease-in-out infinite;}.gs-ticket{max-width:180px;padding:4px 6px 5px;}.gs-ticket-row{min-height:26px;}.gs-ticket-row>b{font-size:12px;}.gs-ticket-row>.food,.gs-ticket-row>.gs-art{width:30px;height:26px;}.gs-box{top:0;width:min(50%,23.5dvh);}.gs-trash{top:12%;bottom:auto;left:1%;width:23%;height:69%;}.gs-bell{top:17%;bottom:auto;right:2%;width:22%;height:65%;}.gs-hint{bottom:6px;left:24%;right:24%;font-size:11px;}.gs-pan-label{font-size:14px;}.gs-sides .gs-pan-label{font-size:12px;}.gs-event{bottom:3%;right:3%;width:45%;height:23%;}.gs-box-prompt{font-size:12px;}.gs-title{font-size:21px;}
}
@media(orientation:landscape) and (min-height:541px){.gs-person>.character{width:100%;bottom:-8%;}.gs-box{width:min(48%,22dvh);}}
/* Remove the rectangular photo surround: retain just the bin silhouette. */
.gs-trash>.gs-art{border-radius:0;clip-path:polygon(0 11%,7% 4%,29% 0,69% 1%,93% 5%,99% 12%,91% 22%,92% 89%,84% 96%,62% 99%,6% 94%,0 86%);}
.gs-trash{filter:drop-shadow(3px 5px 3px #271a0b66);}.gs-trash>span:last-child{display:none;}
.gs-person.angry .gs-ticket{border-color:#de7428;background:#fff0c8;}.gs-person.angry .patience i{background:#ed7e32;}.gs-person.complaining .gs-ticket{border-color:#b13925;background:#f5d9c2;}.gs-person.complaining .character{filter:sepia(.15) saturate(.6);}
.gs-shout{position:absolute;bottom:12%;left:1%;right:1%;z-index:5;background:#fff2cf;color:#852c1d;border:2px solid #ca6335;border-radius:9px;padding:5px 3px;font-size:clamp(9px,2.5cqw,13px);font-weight:900;box-shadow:0 3px 5px #0005;line-height:1.2;}.gs-person.complaining .gs-shout{background:#8e3526;color:#fff1d3;border-color:#f3bd66;}
@media(orientation:landscape) and (max-height:540px){.gs-shout{font-size:9px;bottom:5%;padding:3px;}}
.fill-art{background-image:url('/assets/fill-levels.png');}
.gs-pan .gs-pan-art{inset:0 0 21%;}.gs-sides .gs-pan-art{bottom:21%;}.gs-pan .gs-pan-label,.gs-sides .gs-pan-label{height:22%;min-height:18px;}.gs-pan .portion-dots{display:none;}
.gs-bell-label{font-size:clamp(10px,2.9cqw,16px);white-space:normal;line-height:1.2;}
.gs-lives{display:flex;gap:3px;color:#f5b75b;direction:ltr;}.gs-lives i{font-style:normal;font-size:14px;}.gs-lives .lost{color:#d67761;}.gs-title{font-size:19px;}.gs-hud{gap:6px;}
.gs-person>.local-person{background-image:url('/assets/local-cast.png');background-size:300% 200%;filter:drop-shadow(0 3px 3px #23180c55);}
.local-2{background-position:0 0;clip-path:polygon(0 100%,0 66%,7% 56%,28% 45%,30% 30%,34% 14%,44% 7%,61% 5%,72% 11%,78% 23%,77% 37%,88% 44%,96% 60%,100% 100%);}
.local-1{background-position:50% 0;clip-path:polygon(5% 100%,7% 68%,17% 55%,23% 49%,21% 38%,23% 21%,31% 13%,37% 5%,53% 4%,65% 12%,73% 28%,75% 45%,88% 55%,95% 69%,98% 100%);}
.local-0{background-position:100% 0;clip-path:polygon(0 100%,2% 72%,12% 53%,25% 45%,22% 28%,23% 15%,32% 5%,49% 3%,67% 7%,76% 18%,78% 32%,74% 46%,89% 56%,99% 76%,100% 100%);}
.local-2.irritated{background-position:0 100%;clip-path:polygon(0 100%,0 66%,9% 50%,26% 45%,29% 27%,37% 11%,51% 5%,69% 8%,76% 22%,80% 41%,93% 52%,100% 100%);}
.local-1.irritated{background-position:50% 100%;clip-path:polygon(0 100%,0 69%,4% 48%,15% 45%,21% 52%,24% 40%,24% 23%,33% 9%,52% 4%,65% 12%,74% 29%,78% 47%,90% 56%,99% 100%);}
.local-0.irritated{background-position:100% 100%;clip-path:polygon(0 100%,0 68%,5% 48%,17% 47%,23% 51%,24% 34%,24% 15%,35% 5%,53% 3%,70% 10%,77% 25%,77% 42%,90% 55%,100% 100%);}
.gs-person.angry .local-person,.gs-person.complaining .local-person{filter:drop-shadow(0 3px 3px #23180c55);}
@media(max-width:440px){.gs-title{font-size:15px;}.gs-score,.gs-clock{font-size:18px;}.gs-lives{gap:1px;}.gs-lives i{font-size:11px;}.gs-hud{gap:4px;}.gs-bell-label{font-size:11px;}}
@media(orientation:landscape) and (max-height:540px){.gs-bell-label{font-size:10px;}.gs-pan .gs-pan-label,.gs-sides .gs-pan-label{min-height:16px;}}
.backdrop{background-image:url('/assets/kitchen-playfield.png');}

/* Dedicated visitor silhouette; keep the generated artwork intact. */
.gs-event>.street-visitor{background:url('/assets/street-visitor.png') center/contain no-repeat;aspect-ratio:2/3;height:auto;clip-path:polygon(6% 100%,9% 92%,5% 83%,2% 78%,4% 73%,0% 68%,1% 51%,0% 41%,2% 36%,7% 33%,22% 32%,25% 29%,31% 27%,33% 22%,31% 19%,35% 14%,38% 11%,42% 8%,46% 4%,50% 5%,54% 1%,60% 2%,65% 1%,71% 3%,76% 6%,82% 7%,86% 11%,83% 15%,80% 18%,79% 22%,74% 27%,79% 34%,85% 36%,89% 41%,94% 49%,97% 64%,100% 71%,96% 78%,87% 84%,89% 94%,88% 100%);}
@media(max-width:440px){.gs-hud .round-button{width:30px;height:30px;}.gs-hud .round-button .icon{width:18px;height:18px;}.gs-hud{padding-inline:6px;}.gs-score .icon{width:19px;}.gs-clock .icon{width:17px;}}

/* Keep the box on an independent centering axis in every state. */
.gs-box,.gs-box.closed{transform:none;translate:-50% 0;animation:none;contain:layout paint;}
.gs-box-sprite,.gs-box.closed .gs-box-sprite{inset:0;width:100%;height:100%;transform:none;translate:0 0;animation:none;}
.gs-drag-ghost{translate:0 0!important;}

/* Interruptions stop the whole counter and demand a deliberate response. */
.gs-event-blocker{position:absolute;inset:0;z-index:80;display:grid;place-items:center;padding:5%;background:rgba(18,30,24,.86);backdrop-filter:blur(5px);pointer-events:auto;}
.gs-event-card{width:min(92%,560px);height:min(76%,620px);display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.9fr);align-items:end;overflow:hidden;direction:ltr;background:linear-gradient(145deg,#fff5cf,#e4c98f);border:4px solid #c79747;border-radius:24px;box-shadow:0 18px 45px #000b,inset 0 0 0 2px #fff2c7;}
.gs-event-card>.character{display:block;width:118%;height:94%;align-self:end;justify-self:center;background-size:200% 200%;background-repeat:no-repeat;filter:drop-shadow(0 8px 8px #39231166);}
.gs-event-card>.street-visitor{background:url('/assets/street-visitor.png') center bottom/contain no-repeat;clip-path:polygon(6% 100%,9% 92%,5% 83%,2% 78%,4% 73%,0% 68%,1% 51%,0% 41%,2% 36%,7% 33%,22% 32%,25% 29%,31% 27%,33% 22%,31% 19%,35% 14%,38% 11%,42% 8%,46% 4%,50% 5%,54% 1%,60% 2%,65% 1%,71% 3%,76% 6%,82% 7%,86% 11%,83% 15%,80% 18%,79% 22%,74% 27%,79% 34%,85% 36%,89% 41%,94% 49%,97% 64%,100% 71%,96% 78%,87% 84%,89% 94%,88% 100%);}
.gs-event-copy{direction:rtl;align-self:center;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:22px 20px;color:#3b2719;text-align:center;}
.gs-event-copy>b{font-size:clamp(25px,7cqw,42px);line-height:1.05;}
.gs-event-copy p{margin:0;font-size:clamp(14px,3.5cqw,20px);font-weight:700;line-height:1.35;}
.gs-event-copy .game-button{width:100%;min-width:0;padding:13px 8px;font-size:clamp(16px,4.2cqw,23px);}
.gs-event-copy .game-button:disabled{filter:grayscale(.55);opacity:.65;cursor:wait;}
.gs-event-copy em{font-size:13px;font-style:normal;font-weight:900;color:#79552d;}
@media(max-width:440px){.gs-event-blocker{padding:4%;}.gs-event-card{width:96%;height:72%;grid-template-columns:52% 48%;border-width:3px;border-radius:18px;}.gs-event-card>.character{width:130%;height:92%;}.gs-event-copy{gap:9px;padding:14px 10px;}.gs-event-copy>b{font-size:25px;}.gs-event-copy p{font-size:13px;}.gs-event-copy .game-button{font-size:15px;padding:11px 5px;}}
@media(orientation:landscape) and (max-height:540px){.gs-event-blocker{padding:2%;}.gs-event-card{width:min(78%,680px);height:92%;grid-template-columns:46% 54%;}.gs-event-card>.character{width:100%;height:100%;}.gs-event-copy{gap:7px;padding:10px 18px;}.gs-event-copy>b{font-size:26px;}.gs-event-copy p{font-size:13px;}.gs-event-copy .game-button{padding:8px;font-size:16px;}}
