/* Englishzilla – Zilly's labels */
#ezLabels{max-width:900px;margin:6px auto 0;font-family:"Nunito",system-ui,sans-serif;color:#25222e;background:#fff}
#ezLabels *{box-sizing:border-box}
#ezLabels .zl-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-bottom:6px}
#ezLabels .zl-round,#ezLabels .zl-fixed{font-family:"Poppins",system-ui,sans-serif;font-weight:800;font-size:15px;color:#5a00c2;background:#f1e8ff;border-radius:99px;padding:5px 14px}
#ezLabels .zl-fixed{background:#e3f8ec;color:#178850}
#ezLabels .zl-fixed i{font-style:normal}

#ezLabels .zl-stage{display:flex;align-items:center;gap:18px;margin-bottom:14px}
#ezLabels .zl-zilla{flex:0 0 150px;width:150px;margin:6px 0 0 14px}
#ezLabels .fz-svg{display:block;width:100%;height:auto;overflow:visible;transform-origin:50% 100%}
#ezLabels .fz-lid{transition:height .08s}
#ezLabels .zl-zilla.blink .fz-lid{height:38px}
#ezLabels .zl-zilla.happy .fz-svg{animation:zlbounce .9s}
#ezLabels .zl-zilla.happy .fz-arm.l{animation:zlwave .5s 3;transform-box:fill-box;transform-origin:90% 10%}
#ezLabels .zl-zilla.happy .fz-arm.r{animation:zlwave .5s 3 reverse;transform-box:fill-box;transform-origin:10% 10%}
#ezLabels .zl-zilla.oops .fz-svg{animation:zltilt .6s}
#ezLabels .zl-zilla.cross .fz-svg{animation:zlshake .45s}
#ezLabels .zl-zilla.cross .fz-mouth{transform:scaleY(.4);transform-box:fill-box;transform-origin:50% 50%}
@keyframes zlbounce{30%{transform:scale(1.07,.94)}60%{transform:scale(.97,1.05)}}
@keyframes zlwave{50%{transform:rotate(-25deg)}}
@keyframes zltilt{30%{transform:rotate(-6deg)}70%{transform:rotate(4deg)}}
@keyframes zlshake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}

#ezLabels .zl-bubble{position:relative;flex:1;min-width:0;background:#fff;border:3px solid #7e10ff;border-radius:22px;padding:14px 18px;box-shadow:0 6px 0 #e6dcf7}
#ezLabels .zl-bubble::before{content:"";position:absolute;left:-17px;top:50%;margin-top:-12px;border:12px solid transparent;border-right:16px solid #7e10ff;border-left:0}
#ezLabels .zl-bubble::after{content:"";position:absolute;left:-11px;top:50%;margin-top:-9px;border:9px solid transparent;border-right:12px solid #fff;border-left:0}
#ezLabels .zl-say{margin:0;font-size:19px;line-height:1.35;font-weight:700}
#ezLabels .zl-say b{color:#5a00c2}

#ezLabels .zl-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:14px;border-radius:24px;background:#faf7ff;border:2px dashed #d9c8f5}
#ezLabels .zl-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:8px;min-height:150px;padding:12px 8px 10px;border:2.5px solid #e6dcf7;border-radius:18px;background:#fff;box-shadow:0 4px 0 #ece4fa}
#ezLabels .zl-pic{font-size:58px;line-height:1.1;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
#ezLabels .zl-desc{font-size:15px;line-height:1.3;text-align:center;color:#4b4558;padding:4px 2px}
#ezLabels .zl-label{position:relative;max-width:100%;font:800 18px/1.2 "Poppins",system-ui,sans-serif;color:#3a0a5e;background:#fff7c2;border:0;border-radius:6px;padding:7px 14px 7px 18px;cursor:pointer;box-shadow:0 2px 0 #e8d98a;transform:rotate(-2deg);overflow-wrap:anywhere;transition:transform .12s,box-shadow .12s}
#ezLabels .zl-label::before{content:"";position:absolute;left:6px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1.5px #d4c06a}
#ezLabels .zl-card:nth-child(even) .zl-label{transform:rotate(2deg)}
#ezLabels .zl-label:hover{transform:rotate(0) scale(1.05);box-shadow:0 3px 0 #d4c06a}
#ezLabels .zl-label:focus-visible{outline:3px solid #7e10ff;outline-offset:3px}
#ezLabels .zl-label:disabled{cursor:default;transform:none}
#ezLabels .zl-card.right{border-color:#bfe9d1}
#ezLabels .zl-card.right .zl-label{background:#e3f8ec;box-shadow:none;color:#178850}
#ezLabels .zl-card.right .zl-label::after{content:" ✓"}
#ezLabels .zl-card.shake{animation:zlshake .45s}
#ezLabels .zl-card.editing{border-color:#7e10ff;box-shadow:0 0 0 4px rgba(126,16,255,.15)}
#ezLabels .zl-card.fixed{border-color:#20c46a}
#ezLabels .zl-card.fixed .zl-label{background:#e3f8ec;color:#178850;box-shadow:none}
#ezLabels .zl-card.shown{border-color:#ffb02e}
#ezLabels .zl-card.shown .zl-label{background:#fff1d6;color:#9a5a00;box-shadow:none}
#ezLabels .zl-label s{color:#b8204f;font-weight:600;font-size:.82em}
#ezLabels .zl-fix{display:flex;flex-wrap:wrap;gap:5px;width:100%}
#ezLabels .zl-fix input{flex:1 1 100%;min-width:0;font:700 17px "Nunito",system-ui,sans-serif;color:#25222e;padding:6px 8px;border:2px solid #7e10ff;border-radius:10px;background:#fff}
#ezLabels .zl-fix input:focus{outline:3px solid #d9c8f5}
#ezLabels .zl-fix input.bad{border-color:#e0245e;animation:zlshake .4s}
#ezLabels .zl-fix button{flex:1 1 0;height:36px;border:0;border-radius:10px;font-size:17px;font-weight:800;cursor:pointer}
#ezLabels .zl-ok{background:#20c46a;color:#fff}
#ezLabels .zl-x{background:#f1e8ff;color:#5a00c2}
#ezLabels .zl-hb{background:#fff5d1}
#ezLabels .zl-hb:disabled{opacity:.4;cursor:default}
#ezLabels .zl-hint{flex-basis:100%;margin:2px 0 0;padding:6px 8px;border-radius:10px;background:#fff8e0;text-align:center;font-size:14px;line-height:1.35;color:#6b4e00}
#ezLabels .zl-hd{display:block;margin-bottom:3px}
#ezLabels .zl-pat{display:block;font:800 18px "Poppins",system-ui,sans-serif;letter-spacing:.06em;color:#5a00c2;white-space:pre-wrap}
#ezLabels.zl-full .zl-hint{font-size:18px}#ezLabels.zl-full .zl-pat{font-size:24px}

#ezLabels .zl-next-wrap{text-align:center}
#ezLabels .zl-next,#ezLabels .zl-again{margin-top:14px;font-family:"Poppins",system-ui,sans-serif;font-weight:800;font-size:17px;color:#fff;background:#7e10ff;border:0;border-radius:99px;padding:11px 26px;cursor:pointer;box-shadow:0 5px 0 #5a00c2}
#ezLabels .zl-next:hover,#ezLabels .zl-again:hover{background:#6a0de0}
#ezLabels .zl-end{text-align:center;padding:6px 0}
#ezLabels .zl-end p{font-size:19px;margin:6px 0}
#ezLabels .zl-stars{font-size:44px;letter-spacing:4px}
#ezLabels .zl-stars span{color:#d9c8f5}
#ezLabels.done .zl-board{display:none}

/* full screen for the interactive whiteboard */
#ezLabels.zl-full{max-width:none;width:100%;height:100%;overflow:auto;padding:18px 3vw}
#ezLabels.zl-full .zl-zilla{flex-basis:200px;width:200px}
#ezLabels.zl-full .zl-say{font-size:26px}
#ezLabels.zl-full .zl-card{min-height:190px}
#ezLabels.zl-full .zl-pic{font-size:78px}
#ezLabels.zl-full .zl-desc{font-size:19px}
#ezLabels.zl-full .zl-label{font-size:24px}
#ezLabels.zl-full .zl-fix input{font-size:22px}

@media (max-width:640px){
  #ezLabels .zl-stage{gap:10px}
  #ezLabels .zl-zilla{flex-basis:84px;width:84px;margin-left:0}
  #ezLabels .zl-bubble{padding:10px 12px}
  #ezLabels .zl-say{font-size:16px}
  #ezLabels .zl-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:9px}
  #ezLabels .zl-card{min-height:128px;padding:10px 6px 8px}
  #ezLabels .zl-pic{font-size:44px}
  #ezLabels .zl-desc{font-size:13.5px}
  #ezLabels .zl-label{font-size:16px;padding:6px 10px 6px 16px}
  #ezLabels .zl-fix input{font-size:16px;flex-basis:100%}
  #ezLabels .zl-fix button{flex:1}
}
@media (prefers-reduced-motion: reduce){#ezLabels *{animation:none!important;transition:none!important}}
