/* Englishzilla – the card and board games of 29.11: Zilly's fishing, Snap!, Zilly's star quest, Zilly's colours (shared look) */
.ezc{max-width:980px;margin:0 auto;border-radius:22px;padding:14px;position:relative;color:#2b2140}
.ezc .zg-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:8px}
.ezc-setup{text-align:center;padding:18px 10px}
.ezc-big{width:140px;height:140px}
.ezc-setup p{font-size:1.15rem;font-weight:700;margin:10px 0}
.ezc-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:6px 0 12px}
.ezc-row .button2.on{background:#7e10ff;color:#fff;border-color:#7e10ff}
.ezc-msg{font-size:1.1rem;margin:8px 0;min-height:1.5em;text-align:center}
.ezc-card{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:96px;height:128px;background:#fff;color:#2b2140;border-radius:12px;border:3px solid #2b2140;box-shadow:0 4px 0 rgba(0,0,0,.25);text-align:center;padding:6px;box-sizing:border-box;vertical-align:top}
.ezc-card img{width:72px;height:72px}
.ezc-card i{font-style:normal;font-weight:800;font-size:16px;line-height:1.15;word-break:break-word}
.ezc-card.sm{width:70px;height:94px}.ezc-card.sm img{width:50px;height:50px}.ezc-card.sm i{font-size:13px}
.ezc-back{background:repeating-linear-gradient(45deg,#7e10ff 0 7px,#6a0be0 7px 14px);border-color:#fff}
.ezc-cb{border:0;background:none;padding:0;cursor:pointer;border-radius:12px;transition:transform .15s}
.ezc-cb:hover,.ezc-cb:focus-visible{transform:translateY(-6px);outline:none}
.ezc-cb:focus-visible .ezc-card{outline:3px solid #ffd23f}
.ezc-cb:disabled{cursor:default;transform:none}
.ezc-cb.shake{animation:ezcShake .4s}
.ezc-in{animation:ezcIn .35s ease-out}
.ezc-pl{display:flex;align-items:center;gap:8px;background:#fff;border:2px solid #eadcff;border-left:8px solid var(--c);border-radius:12px;padding:5px 10px;font-weight:800}
.ezc-pl img{width:34px;height:34px}
.ezc-pl span{margin-left:auto;font-size:.9rem;color:#6b6380;font-weight:700}
.ezc-pl.now{border-color:var(--c);box-shadow:0 0 0 3px rgba(126,16,255,.15)}
.ezc-end{width:120px;height:120px}
@keyframes ezcShake{0%,100%{transform:none}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
@keyframes ezcIn{from{transform:scale(.5) rotateY(80deg);opacity:0}}
@media (max-width:560px){.ezc{padding:10px;border-radius:16px}.ezc-card{width:74px;height:100px}.ezc-card img{width:52px;height:52px}.ezc-card i{font-size:13px}.ezc-big{width:100px;height:100px}}
@media (prefers-reduced-motion:reduce){.ezc-in,.ezc-cb.shake{animation:none}}

/* ---------- Snap! ---------- */
#ezSnap{background:#eaf7ff;border:3px solid #9fd8ff}
.sn-game{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.sn-team{border:0;border-radius:20px;color:#fff;font:800 clamp(22px,3.4vw,40px)/1.1 Poppins,system-ui,sans-serif;padding:22px 10px;cursor:pointer;box-shadow:0 6px 0 rgba(0,0,0,.25);min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;transition:transform .1s}
.sn-team:active{transform:translateY(4px);box-shadow:0 2px 0 rgba(0,0,0,.25)}
.sn-team small{font:700 15px Nunito,system-ui,sans-serif;opacity:.95}
.sn-team b{font-size:clamp(30px,5vw,54px)}
.sn-a{background:#e73f70}.sn-b{background:#178850}
.sn-team.cpu{cursor:default;background:#7e10ff}
.sn-team.flash{animation:snFlash .5s}
.sn-mid{display:flex;gap:10px;justify-content:center}
.sn-mid .ezc-card{width:130px;height:172px}.sn-mid .ezc-card img{width:104px;height:104px}.sn-mid .ezc-card i{font-size:22px}
.sn-mid .ezc-card.ok{box-shadow:0 0 0 6px #23c16b,0 4px 0 rgba(0,0,0,.25)}
.sn-mid .ezc-card.no{box-shadow:0 0 0 6px #e73f70,0 4px 0 rgba(0,0,0,.25)}
.sn-bar{height:8px;background:#cde9ff;border-radius:99px;overflow:hidden;margin-top:10px}
.sn-bar i{display:block;height:100%;background:#1f6fd1;width:0}
.sn-left{text-align:center;font-weight:700;color:#3c5a80;margin-top:4px}
@keyframes snFlash{50%{transform:scale(1.06)}}
@media (max-width:700px){.sn-game{grid-template-columns:1fr 1fr}.sn-mid{grid-column:1/3;grid-row:1}.sn-team{min-height:110px;padding:12px}.sn-mid .ezc-card{width:104px;height:140px}.sn-mid .ezc-card img{width:80px;height:80px}.sn-mid .ezc-card i{font-size:18px}}

/* ---------- Zilly's fishing ---------- */
#ezFishing{background:#e6f7f2;border:3px solid #8fdcc3}
.fi-zilly,.fi-me{background:rgba(255,255,255,.55);border-radius:16px;padding:8px}
.fi-backs{display:flex;flex-wrap:wrap;gap:0;margin-top:8px;padding-left:22px;min-height:60px}
.fi-backs .ezc-card{width:44px;height:62px;margin-left:-22px;border-width:2px}
.fi-mid{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;margin:12px 0}
.fi-pond{width:170px;height:110px;border-radius:50%;border:4px solid #1d9e75;background:radial-gradient(ellipse at 50% 40%,#9fe1cb,#38b6ff 70%);color:#04342c;font:800 14px Nunito,system-ui,sans-serif;cursor:default;box-shadow:inset 0 -6px 0 rgba(0,0,0,.12)}
.fi-pond.on{cursor:pointer;outline:4px dashed #ffd23f;outline-offset:4px;animation:fiPond 1.2s ease-in-out infinite}
.fi-pond span{background:rgba(255,255,255,.8);border-radius:99px;padding:3px 10px}
.fi-talk{min-height:60px}
.fi-b{margin:0 0 6px;background:#fff;border-radius:14px;padding:8px 12px;font-size:1.1rem;display:inline-block;max-width:100%;box-shadow:0 2px 0 rgba(0,0,0,.08)}
.fi-z{border:2px solid #7e10ff}.fi-y{border:2px solid #e73f70;margin-left:20px}
.fi-talk p{display:block;width:fit-content}
.fi-last{grid-column:1/3;text-align:center;font-weight:800;color:#0f6e56}
.fi-acts{text-align:center;margin-bottom:8px}
.fi-hand{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;justify-content:center}
.fi-new .ezc-card{box-shadow:0 0 0 4px #ffd23f,0 4px 0 rgba(0,0,0,.25)}
@keyframes fiPond{50%{transform:scale(1.04)}}
@media (max-width:560px){.fi-mid{grid-template-columns:1fr}.fi-pond{margin:0 auto;width:150px;height:96px}.fi-last{grid-column:1}.fi-y{margin-left:10px}}

/* ---------- Zilly's star quest ---------- */
#ezStars{background:#fff7e8;border:3px solid #ffd27a}
.st-play{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:start}
.st-board{position:relative;aspect-ratio:1;max-width:560px;width:100%;margin:0 auto;border-radius:50%;background:radial-gradient(circle,#fff 52%,#fdf0d5 53%,#fdf0d5 70%,#fff 71%)}
.st-ring{position:absolute;inset:0}
.st-sq{position:absolute;width:15%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:var(--c);border:4px solid #fff;box-shadow:0 4px 0 rgba(0,0,0,.2);display:flex;align-items:center;justify-content:center}
.st-sq.star{width:18%;border-color:#ffd23f;border-width:5px}
.st-sq.hi{outline:4px dashed #2b2140;outline-offset:3px;animation:stHi 1s ease-in-out infinite}
.st-star{display:inline-block;width:60%;aspect-ratio:1;background:#ffd23f;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}
.st-sq .st-star{width:62%}
.st-tok{position:absolute;width:10%;aspect-ratio:1;transform:translate(-50%,-50%);background:#fff;border-radius:50%;border:3px solid var(--c);box-shadow:0 3px 0 rgba(0,0,0,.25);transition:left .35s,top .35s;z-index:2}
.st-tok.now{animation:stBob 1s ease-in-out infinite;z-index:3}
.st-centre{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:52%;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.st-die{display:block}
.st-dots{display:inline-flex;gap:6px;align-items:center;justify-content:center;width:70px;height:70px;background:#fff;border:3px solid #2b2140;border-radius:14px;box-shadow:0 4px 0 rgba(0,0,0,.2)}
.st-dots i{width:13px;height:13px;border-radius:50%;background:#2b2140}
.st-way{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.st-way .button2{border-color:var(--c)!important;color:var(--c)!important;padding:6px 12px}
.st-side{display:flex;flex-direction:column;gap:10px}
.st-got{display:flex;gap:3px}
.st-got .st-star{width:20px;background:var(--c)}
.st-got .st-star.empty{background:#e2dcea}
.st-key{display:flex;flex-wrap:wrap;gap:6px 12px;font-weight:700;font-size:.92rem}
.st-key i{display:inline-block;width:14px;height:14px;border-radius:50%;margin-right:5px;vertical-align:-2px}
.st-q{position:absolute;inset:0;background:rgba(43,33,64,.45);display:flex;align-items:center;justify-content:center;border-radius:20px;z-index:5;padding:10px}
.st-q[hidden]{display:none}
.st-qbox{background:#fff;border-radius:20px;border:5px solid var(--c);padding:16px;max-width:560px;width:100%;text-align:center;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.st-qwho{margin:0 0 6px;font-weight:700}.st-qwho img{width:30px;height:30px;vertical-align:middle}.st-qwho span{color:var(--c);font-weight:800}
.st-qt{font:800 1.3rem Poppins,system-ui,sans-serif;margin:6px 0 10px}
.st-qpic img{width:130px;height:130px}
.st-opts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.st-opt{font:800 1.1rem Nunito,system-ui,sans-serif;background:#fff;border:3px solid #d8c8f3;border-radius:14px;padding:10px;cursor:pointer;color:#2b2140}
.st-opt:hover,.st-opt:focus-visible{border-color:var(--c)}
.st-opts.pics img{width:90px;height:90px}
.st-opt.ok{border-color:#178850;background:#e2f7ea}.st-opt.no{border-color:#e73f70;background:#ffe4ec}
.st-word{display:flex;gap:6px;justify-content:center;margin:6px 0 12px}
.st-word span{width:38px;height:44px;border-bottom:4px solid var(--c);font:800 26px Poppins,system-ui,sans-serif;display:flex;align-items:flex-end;justify-content:center}
.st-letters{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:10px}
.st-l{width:48px;height:52px;border-radius:12px;border:3px solid var(--c);background:#fff;font:800 24px Poppins,system-ui,sans-serif;color:#2b2140;cursor:pointer}
.st-l:disabled{opacity:.3;cursor:default}
@keyframes stBob{50%{transform:translate(-50%,-62%)}}
@keyframes stHi{50%{outline-color:#ffd23f}}
@media (max-width:760px){.st-play{grid-template-columns:1fr}.st-dots{width:52px;height:52px}.st-dots i{width:10px;height:10px}.st-centre .button2{padding:6px 10px;font-size:14px}.st-way .button2{font-size:13px;padding:4px 8px}.st-word span{width:28px;height:36px;font-size:20px}.st-l{width:40px;height:44px;font-size:20px}}
@media (prefers-reduced-motion:reduce){.st-tok.now,.st-sq.hi{animation:none}}

/* ---------- Zilly's colours ---------- */
#ezColours{background:#f3edff;border:3px solid #cdb6ff}
.co-packs .button2{text-decoration:none}
.co-cats{font-size:1rem!important;font-weight:400!important}
.co-bots{display:flex;gap:12px}
.co-bot{flex:1;background:rgba(255,255,255,.6);border-radius:16px;padding:8px}
.co-bot.now{outline:3px dashed #ffd23f;outline-offset:2px}
.co-backs{display:flex;flex-wrap:wrap;margin-top:8px;padding-left:22px;min-height:60px}
.co-backs .ezc-card{width:44px;height:62px;margin-left:-22px;border-width:2px}
.co-mid{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin:14px 0 4px}
.co-deck{border:0;background:none;padding:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;font:800 14px Nunito,system-ui,sans-serif;color:#5a00c2}
.co-deck:disabled{cursor:default;opacity:.55}
.co-deck:not(:disabled):hover .ezc-card{transform:translateY(-4px)}
.co-pile .ezc-card{width:116px;height:150px}.co-pile .ezc-card img{width:84px;height:84px}.co-pile .ezc-card i{font-size:19px}
.co-need{flex-basis:100%;text-align:center;font-size:1.1rem;background:#fff;border-radius:999px;padding:6px 14px;max-width:560px;margin:0 auto}
.co-sp{background:#2b2140;color:#fff;border-color:#2b2140}
.co-sp i{font-size:17px}
.co-sp small{font-weight:700;font-size:11px;margin-top:6px;color:#ffd23f}
.co-skip{background:#e73f70;border-color:#a3164a}.co-take2{background:#e8730c;border-color:#a34e05}.co-change{background:#7e10ff;border-color:#4d0a9c}
.co-acts{text-align:center;margin-bottom:8px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.co-me{background:rgba(255,255,255,.6);border-radius:16px;padding:8px}
.co-hand{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;justify-content:center}
@media (max-width:560px){.co-bots{gap:6px}.co-backs .ezc-card{width:30px;height:44px;margin-left:-16px}.co-pile .ezc-card{width:92px;height:120px}.co-pile .ezc-card img{width:62px;height:62px}}
.st-side .ezc-pl{font-size:15px}.st-side .ezc-pl b{line-height:1.15}
.ezc-card i{word-break:normal;overflow-wrap:anywhere;hyphens:manual}
.co-sp i{font-size:15px;line-height:1.1}
@media (max-width:700px){.sn-key{display:none}}
@media (max-width:560px){.co-sp i{font-size:12px}}
/* 29.11 (MK): flatter, wider cards – longer words fit */
.ezc-card{width:126px;height:104px;padding:5px 6px}
.ezc-card img{width:58px;height:58px}
.ezc-card i{font-size:15px}
.ezc-card.sm{width:70px;height:58px}
.ezc-card.sm img{width:36px;height:36px}
.sn-mid .ezc-card{width:200px;height:160px}.sn-mid .ezc-card img{width:100px;height:100px}.sn-mid .ezc-card i{font-size:24px}
.co-pile .ezc-card{width:170px;height:136px}.co-pile .ezc-card img{width:72px;height:72px}.co-pile .ezc-card i{font-size:19px}
.fi-backs .ezc-card,.co-backs .ezc-card{width:56px;height:46px}
@media (max-width:700px){.sn-mid .ezc-card{width:150px;height:120px}.sn-mid .ezc-card img{width:72px;height:72px}.sn-mid .ezc-card i{font-size:19px}}
@media (max-width:560px){.ezc-card{width:100px;height:86px}.ezc-card img{width:44px;height:44px}.ezc-card i{font-size:13px}.co-pile .ezc-card{width:130px;height:108px}.co-pile .ezc-card img{width:54px;height:54px}.fi-backs .ezc-card,.co-backs .ezc-card{width:40px;height:34px}}
