/* Englishzilla – Zilly's hot potato (needs ez-zgames.css) */
#ezPotato .zh-lab{align-self:center;font-weight:700;font-size:14px;color:#6a6479;margin-right:2px}
#ezPotato .zh-snd{border-color:#c9a6ff;color:#5a00c2}
#ezPotato .zh-snd[aria-pressed="false"]{opacity:.6}

#ezPotato .zh-stage{position:relative;border-radius:22px;border:2px solid #f0c9a8;overflow:hidden;aspect-ratio:1000/600;min-height:470px;container-type:inline-size;
  background:radial-gradient(ellipse at 50% 120%,#ffd2b0 0,transparent 60%),linear-gradient(180deg,#fff6ec,#ffe9d6)}

/* the teams */
#ezPotato .zh-side{position:absolute;top:0;width:31%;height:30%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px;color:#fff;transition:box-shadow .25s,filter .25s;filter:saturate(.75) brightness(1.02)}
#ezPotato .zh-side.v{left:0;background:#7e10ff;border-radius:0 0 26px 0}
#ezPotato .zh-side.g{right:0;background:#20c46a;border-radius:0 0 0 26px}
#ezPotato .zh-side.hold{filter:none;box-shadow:0 0 0 5px #ffd84d,0 8px 26px rgba(255,120,40,.45)}
#ezPotato .zh-name{margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 clamp(18px,3.4cqw,40px)/1.1 "Poppins",system-ui,sans-serif}
#ezPotato .zh-pts{margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
#ezPotato .zh-pts span{width:clamp(14px,2.3cqw,26px);height:clamp(14px,2.3cqw,26px);border-radius:50%;border:3px solid rgba(255,255,255,.85);background:rgba(255,255,255,.12)}
#ezPotato .zh-pts span.on{background:#ffd84d;border-color:#ffd84d;animation:zhpt .4s}
@keyframes zhpt{50%{transform:scale(1.4)}}

/* Zilly the referee */
#ezPotato .zh-ref{position:absolute;left:50%;top:2%;width:10%;max-width:120px;transform:translateX(-50%);pointer-events:none}
#ezPotato .zh-ref svg{display:block;width:100%;height:auto;overflow:visible}
#ezPotato .zh-ref.yes{animation:zhyes .5s}
@keyframes zhyes{40%{transform:translateX(-50%) translateY(-10%) scale(1.08)}}
#ezPotato .zh-ref.no svg{filter:hue-rotate(-150deg)}
#ezPotato .zh-ref.wow{animation:zhwow .7s}
@keyframes zhwow{30%{transform:translateX(-50%) scale(1.25)}}

/* the potato */
#ezPotato .zh-potato{position:absolute;top:36%;left:9%;width:20%;max-width:240px;transition:left .5s cubic-bezier(.4,0,.2,1);z-index:3}
#ezPotato .zh-potato.right{left:71%}
#ezPotato .zh-potato svg{display:block;width:100%;height:auto;overflow:visible}
#ezPotato .zh-skin{fill:#c99a5b;stroke:#6b4320;stroke-width:5}
#ezPotato .zh-spots{fill:#8a5a2b;opacity:.55}
#ezPotato .zh-face circle{fill:#2b2140}
#ezPotato .zh-potato.fly svg{animation:zhfly .5s ease-in-out}
@keyframes zhfly{50%{transform:translateY(-70%) rotate(200deg)}100%{transform:rotate(360deg)}}
#ezPotato .zh-potato.warm svg{animation:zhwarm .5s infinite}
#ezPotato .zh-potato.hot svg{animation:zhwarm .18s infinite}
#ezPotato .zh-potato.fly.warm svg,#ezPotato .zh-potato.fly.hot svg{animation:zhfly .5s ease-in-out}
@keyframes zhwarm{25%{transform:translate(-2%,1%) rotate(-3deg)}75%{transform:translate(2%,-1%) rotate(3deg)}}
#ezPotato .zh-potato.shake{animation:zhshake .4s}
@keyframes zhshake{25%{transform:translateX(-8%)}75%{transform:translateX(8%)}}
#ezPotato .zh-steam{position:absolute;left:20%;right:20%;top:-40%;height:45%;opacity:0;transition:opacity .4s;pointer-events:none}
#ezPotato .zh-potato.warm .zh-steam{opacity:.8}
#ezPotato .zh-steam b{position:absolute;bottom:0;width:22%;height:60%;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 0 6px rgba(160,140,140,.6);animation:zhsteam 1.4s ease-out infinite}
#ezPotato .zh-steam b:nth-child(1){left:5%}
#ezPotato .zh-steam b:nth-child(2){left:40%;animation-delay:.45s}
#ezPotato .zh-steam b:nth-child(3){left:72%;animation-delay:.9s}
@keyframes zhsteam{0%{transform:translateY(40%) scale(.5);opacity:0}30%{opacity:1}100%{transform:translateY(-90%) scale(1.3);opacity:0}}
#ezPotato .zh-potato.boom svg{animation:zhboom .9s ease-out forwards}
@keyframes zhboom{20%{transform:scale(1.35)}35%{transform:scale(.9) rotate(-10deg)}100%{transform:scale(1.15)}}
#ezPotato .zh-potato.boom::after{content:"OUCH!";position:absolute;left:50%;top:40%;transform:translate(-50%,-50%) rotate(-8deg);font:900 clamp(22px,4.6cqw,56px)/1 "Poppins",system-ui,sans-serif;color:#e0245e;text-shadow:0 3px 0 #fff,0 -3px 0 #fff,3px 0 0 #fff,-3px 0 0 #fff;animation:zhouch .9s ease-out}
@keyframes zhouch{0%{transform:translate(-50%,-50%) scale(.3)}40%{transform:translate(-50%,-50%) scale(1.3) rotate(-8deg)}}

/* the question */
#ezPotato .zh-card{position:absolute;left:4%;right:4%;bottom:4%;z-index:4;padding:12px 16px 14px;border-radius:22px;background:#fff;border:3px solid #f0c9a8;box-shadow:0 6px 0 rgba(160,90,40,.15);text-align:center}
#ezPotato .zh-turn{margin:0 0 4px;font-weight:700;font-size:clamp(14px,2cqw,22px);color:#6a6479}
#ezPotato .zh-turn .v{color:#7e10ff;font-weight:800}
#ezPotato .zh-turn .g{color:#178850;font-weight:800}
#ezPotato .zh-ask{margin:0 0 10px;min-height:1.2em;font:800 clamp(19px,3.4cqw,40px)/1.25 "Poppins",system-ui,sans-serif;color:#25222e}
#ezPotato .zh-ask b{color:#e0245e}
#ezPotato .zh-gap{display:inline-block;min-width:2.2em;border-bottom:4px solid #ff7a2e;color:transparent}
#ezPotato .zh-opts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
#ezPotato .zh-opts button{flex:1 1 0;min-width:150px;max-width:330px;display:flex;align-items:center;gap:10px;margin:0;padding:10px 14px;border:3px solid #c9a6ff;border-radius:16px;background:#faf7ff;color:#25222e;cursor:pointer;font:800 clamp(17px,2.6cqw,30px)/1.2 "Poppins",system-ui,sans-serif;text-align:left;box-shadow:0 4px 0 rgba(43,33,64,.12)}
#ezPotato .zh-opts.g button{border-color:#7fe3ae;background:#f2fff7}
#ezPotato .zh-opts button:hover:not(:disabled){filter:brightness(.97);transform:translateY(-1px)}
#ezPotato .zh-opts kbd{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:1.6em;height:1.6em;border-radius:8px;background:#7e10ff;color:#fff;font:800 .7em/1 "Poppins",system-ui,sans-serif}
#ezPotato .zh-opts.g kbd{background:#178850}
#ezPotato .zh-opts button.ok{background:#20c46a;border-color:#178850;color:#fff}
#ezPotato .zh-opts button.no{background:#e0245e;border-color:#b8204f;color:#fff}

#ezPotato .zh-flash{position:absolute;left:50%;top:36%;transform:translateX(-50%);margin:0;z-index:6;font:800 clamp(26px,5cqw,60px)/1 "Poppins",system-ui,sans-serif;opacity:0;pointer-events:none;white-space:nowrap;text-shadow:0 3px 0 #fff,0 -3px 0 #fff,3px 0 0 #fff,-3px 0 0 #fff}
#ezPotato .zh-flash.show{animation:zhflash .7s ease-out}
#ezPotato .zh-flash.ok{color:#178850}
#ezPotato .zh-flash.no{color:#e0245e}
#ezPotato .zh-flash.count{color:#ff7a2e;font-size:clamp(50px,11cqw,130px)}
@keyframes zhflash{0%{opacity:1;transform:translateX(-50%) scale(.7)}30%{opacity:1;transform:translateX(-50%) scale(1.12)}100%{opacity:0;transform:translateX(-50%) translateY(-40%)}}

/* panels */
#ezPotato .zh-panel{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(43,33,64,.35)}
#ezPotato .zh-pin{width:min(92%,640px);max-height:100%;overflow:auto;background:#fff;border:3px solid #7e10ff;border-radius:22px;box-shadow:0 8px 0 rgba(43,33,64,.2);padding:14px 20px 18px;text-align:center}
#ezPotato .zh-pin h3{margin:0 0 6px;font:800 clamp(20px,3.4cqw,36px)/1.2 "Poppins",system-ui,sans-serif;color:#5a00c2}
#ezPotato .zh-pin p{margin:0 0 10px;font-weight:700;font-size:clamp(15px,2.1cqw,21px);line-height:1.4}
#ezPotato .zh-pin .v{color:#7e10ff}
#ezPotato .zh-pin .g{color:#178850}
#ezPotato .zh-sc{font:800 clamp(30px,6cqw,64px)/1 "Poppins",system-ui,sans-serif!important}
#ezPotato .zh-names{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:0 0 10px}
#ezPotato .zh-names label{display:flex;flex-direction:column;gap:3px;font-weight:700;font-size:14px;text-align:left}
#ezPotato .zh-names label.v span{color:#7e10ff}
#ezPotato .zh-names label.g span{color:#178850}
#ezPotato .zh-names input{width:190px;max-width:100%;padding:8px 12px;border:2px solid #c9a6ff;border-radius:12px;font:700 17px/1.2 "Nunito",system-ui,sans-serif}
#ezPotato .zh-names label.g input{border-color:#7fe3ae}
#ezPotato .zh-go{margin:4px 0 0;padding:10px 34px;border:0;border-radius:99px;background:#20c46a;color:#fff;font:800 clamp(18px,2.8cqw,30px)/1.2 "Poppins",system-ui,sans-serif;cursor:pointer;box-shadow:0 5px 0 #178850}
#ezPotato .zh-go:hover{background:#1bb05f}
#ezPotato .zh-rh{margin:4px 0!important;color:#6a6479}
#ezPotato .zh-rev{margin:0 0 10px;padding:0;list-style:none;text-align:left}
#ezPotato .zh-rev li{margin:3px 0;padding:4px 10px;border-radius:10px;background:#eafff3;color:#178850;font-weight:700;font-size:clamp(14px,1.9cqw,18px)}

#ezPotato.zg-full .zh-stage{flex:1 1 auto;aspect-ratio:auto;min-height:0}
@media (max-width:560px){
  #ezPotato .zh-stage{aspect-ratio:auto;min-height:600px}
  #ezPotato .zh-side{width:40%;height:18%}
  #ezPotato .zh-ref{width:16%;top:3%}
  #ezPotato .zh-potato{top:21%;width:26%}
  #ezPotato .zh-potato.right{left:66%}
  #ezPotato .zh-opts{flex-direction:column;align-items:stretch}
  #ezPotato .zh-opts button{max-width:none;min-width:0}
}
