/* ===================== Z-PETS — escolinha por matéria e jogos com movimento ===================== */
.gcat { grid-column: 1 / -1; margin: 8px 2px -2px; font-size: 19px; color: var(--purple-d); display: flex; align-items: center; gap: 6px; }
.gcat::after { content: ''; flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #E2D4F7, transparent); }
.gcard .gnew { position: absolute; right: 8px; top: 8px; font-size: 11px; font-weight: 700; background: #fff; color: var(--pink-d); border-radius: 99px; padding: 2px 7px; }

.hud { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 99px; padding: 5px 14px 5px 6px; box-shadow: 0 5px 0 #E6D8F5; flex: none; }
.hud-t { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(160deg, var(--pink), var(--purple)); color: #fff; display: grid; place-items: center; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); }
.hud-letter { font-size: 36px; font-weight: 700; line-height: 1; }
.hud-pic { font-size: 36px; line-height: 1; }
.hud-slots { display: flex; gap: 6px; }
.hud-slots i { width: 30px; height: 30px; border-radius: 50%; background: #F1EAFB; display: grid; place-items: center; font-style: normal; font-size: 18px; }
.hud-slots i.on { background: #FFF3C4; animation: bump .35s; }
.hl { color: var(--pink-d); font-size: 1.3em; }

.field { position: relative; width: 100%; flex: 1; min-height: 260px; border-radius: 28px; overflow: hidden; touch-action: none; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .7); }
.field.rain { background: linear-gradient(180deg, #CDEBFF, #F4FBFF 70%); }
.field .grass { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(#8EE07A, #5CC660); border-radius: 50% 50% 0 0 / 30px 30px 0 0; }
.field .cloud-deco { position: absolute; left: 10%; top: 8px; width: 80%; height: 26px; border-radius: 99px; background: #fff; opacity: .8; }
.ldrop { position: absolute; left: 0; top: 0; width: 70px; height: 70px; border-radius: 50%; color: #fff; font-size: 38px; font-weight: 700; display: grid; place-items: center;
  background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .85) 0 9%, transparent 10%), var(--c); box-shadow: inset -5px -7px 0 rgba(0, 0, 0, .12), 0 5px 10px rgba(80, 40, 120, .18); text-shadow: 0 2px 0 rgba(0, 0, 0, .15); will-change: transform; }
.ldrop.no, .snack.no, .scloud.no, .balloon.no, .fish.no { filter: saturate(.3) brightness(1.1); }
.ldrop.fade, .scloud.fade { opacity: 0; transition: opacity .4s; }
.ldrop.splash { opacity: 0; transition: opacity .3s; }
.flyer { position: fixed; z-index: 80; pointer-events: none; transform: translate(-50%, -50%); transition: transform .55s cubic-bezier(.45, -0.25, .6, 1), opacity .55s; }
.fly-chip { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--c); color: #fff; font-size: 38px; font-weight: 700; }
.fly-emoji { font-size: 56px; }

/* toca da letra */
.field.meadow { background: linear-gradient(180deg, #D9F7C8, #9BE08A); display: flex; align-items: center; justify-content: center; }
.mole-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; width: 100%; max-width: 420px; padding: 10px; }
.mhole { position: relative; height: 112px; overflow: hidden; }
.mhole::before { content: ''; position: absolute; left: 8%; right: 8%; bottom: 14px; height: 30px; background: #5B3A26; border-radius: 50%; }
.mhole::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: #A8754C; border-radius: 50% 50% 8px 8px / 100% 100% 8px 8px; z-index: 2; box-shadow: inset 0 4px 0 rgba(255, 255, 255, .2); }
.mole { position: absolute; left: 12%; right: 12%; bottom: 12px; height: 92px; border-radius: 48% 48% 30% 30%; background: var(--c, #FFB938); transform: translateY(105%); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); z-index: 1; color: #fff; box-shadow: inset -5px -6px 0 rgba(0, 0, 0, .12); }
.mole .mface { position: absolute; top: 14px; left: 50%; width: 38px; height: 12px; margin-left: -19px; background: radial-gradient(circle at 6px 6px, #2E2442 4.5px, transparent 5.5px), radial-gradient(circle at 32px 6px, #2E2442 4.5px, transparent 5.5px); }
.mole b { position: absolute; top: 28px; left: 0; right: 0; text-align: center; font-size: 40px; line-height: 1; text-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.mole.up { transform: translateY(0); }
.mole.hit { background: var(--green); }
.mole.hit::after { content: '⭐'; position: absolute; top: -6px; right: -4px; font-size: 26px; }
.mole.no { animation: shakeX .3s; }

/* lanche */
.field.kitchen { background: linear-gradient(180deg, #FFF3E0, #FFE1EC); }
.belt { position: absolute; left: -10px; right: -10px; height: 26px; background: #6E5A96; border-radius: 13px; box-shadow: 0 6px 0 #4C3D6E; overflow: hidden; }
.belt i { position: absolute; inset: 4px -40px; background: repeating-linear-gradient(90deg, #8D7BB5 0 18px, #A493CC 18px 36px); border-radius: 10px; animation: beltMove .8s linear infinite; }
@keyframes beltMove { to { transform: translateX(-36px); } }
.snack { position: absolute; left: 0; top: 0; width: 104px; padding: 6px 2px; background: #fff; border-radius: 22px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 5px 0 #EADCF7; will-change: transform; }
.snack .snk-e { font-size: 50px; line-height: 1.05; }
.snack .snk-w { font-size: 16px; font-weight: 700; letter-spacing: 1px; color: var(--ink); }

/* trem */
.field.rail { background: linear-gradient(180deg, #E4F4FF, #FFF6E8); }
.scloud { position: absolute; left: 0; top: 0; min-width: 96px; height: 62px; padding: 0 14px; border-radius: 99px; background: #fff; color: var(--c); font-size: 32px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 5px 0 rgba(120, 90, 170, .15), inset 0 0 0 4px var(--c); will-change: transform; }
.track { position: absolute; left: 0; right: 0; bottom: 12px; height: 10px; background: repeating-linear-gradient(90deg, #8A6A4E 0 8px, #D8C6B2 8px 22px); border-radius: 4px; }
.train { position: absolute; z-index: 3; left: 10px; bottom: 20px; display: flex; align-items: flex-end; gap: 4px; transition: transform 1.6s cubic-bezier(.5, 0, .8, .4); }
.train.go { transform: translateX(-130%); }
.train .engine { font-size: 58px; line-height: 1; }
.wagon { position: relative; min-width: 70px; height: 54px; padding: 0 6px; border-radius: 12px; background: #E9E0F7; border: 3px dashed #B9A6DE; display: grid; place-items: center; margin-bottom: 8px; }
.wagon::before, .wagon::after { content: ''; position: absolute; bottom: -12px; width: 18px; height: 18px; border-radius: 50%; background: #4A3A6B; box-shadow: inset 0 0 0 5px #8D7BB5; }
.wagon::before { left: 8px; }
.wagon::after { right: 8px; }
.wagon b { font-size: 26px; color: #fff; }
.wagon.full { background: var(--orange); border: 0; animation: bump .35s; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .12); }

/* liga-liga */
.liga { position: relative; width: 100%; max-width: 420px; flex: 1; display: flex; justify-content: space-between; align-items: stretch; padding: 6px 4px; touch-action: none; }
.liga-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.liga-svg path { fill: none; stroke-width: 7; stroke-linecap: round; }
.liga-svg path.temp { stroke: #B9A2EE; stroke-dasharray: 2 12; }
.liga-svg path.ok { stroke: var(--green); }
.liga-svg path.bad { stroke: var(--red); opacity: .7; }
.lcol { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; z-index: 2; }
.lp, .lw { position: relative; background: #fff; border-radius: 22px; box-shadow: 0 6px 0 #E6D8F5; display: grid; place-items: center; }
.lp { width: 92px; height: 82px; font-size: 52px; }
.lw { min-width: 132px; height: 66px; padding: 0 14px; font-size: 24px; font-weight: 700; letter-spacing: 2px; color: var(--purple-d); }
.lp .dot, .lw .dot { position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px #fff; }
.lp .dot { right: -8px; }
.lw .dot { left: -8px; }
.lp.sel { box-shadow: 0 6px 0 var(--purple), 0 0 0 4px var(--purple); }
.lp.ok, .lw.ok { background: #E3FFF1; box-shadow: 0 6px 0 #BDEFD6; }
.lp.ok .dot, .lw.ok .dot { background: var(--green); }
.lw.no { animation: shakeX .4s; background: #FFE1E6; }

/* pescaria */
.field.pond { background: linear-gradient(180deg, #BFEAFF, #6FC7F5 60%, #4DA9E3); }
.pond .weed { position: absolute; bottom: -6px; font-size: 52px; opacity: .85; }
.pond .w1 { left: 8px; }
.pond .w2 { right: 12px; }
.fish { position: absolute; left: 0; top: 0; height: 60px; padding: 0 22px 0 34px; border-radius: 50% 44% 44% 50% / 50%; background: var(--c); color: #fff; display: flex; align-items: center; box-shadow: inset -4px -6px 0 rgba(0, 0, 0, .12); will-change: transform; white-space: nowrap; }
.fish b { font-size: 23px; letter-spacing: 1.5px; text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.fish::before { content: ''; position: absolute; right: -22px; top: 50%; margin-top: -20px; border-top: 20px solid transparent; border-bottom: 20px solid transparent; border-right: 28px solid var(--c); }
.fish::after { content: ''; position: absolute; left: 11px; top: 17px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 60% 40%, #2E2442 4px, #fff 5px); }
.fish.r { padding: 0 34px 0 22px; border-radius: 44% 50% 50% 44% / 50%; }
.fish.r::before { right: auto; left: -22px; border-right: 0; border-left: 28px solid var(--c); }
.fish.r::after { left: auto; right: 11px; background: radial-gradient(circle at 40% 40%, #2E2442 4px, #fff 5px); }
.fish.caught { animation: caught .9s forwards; }
@keyframes caught { 40% { margin-top: -90px; } to { margin-top: -400px; opacity: 0; } }

/* conta comigo */
.count-field { background: linear-gradient(180deg, #FFF8E1, #FFE9D6); min-height: 240px; }
.cthing { position: absolute; transform: translate(-50%, -50%); font-size: 50px; line-height: 1; animation: popIn .4s backwards cubic-bezier(.3, 1.6, .5, 1); }
@keyframes popIn { from { transform: translate(-50%, -50%) scale(0); } }
.cthing.done::after { content: attr(data-n); position: absolute; right: -10px; top: -10px; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 18px; font-weight: 700; display: grid; place-items: center; font-family: var(--font); animation: bump .3s; }
.choices.num .choice { min-width: 84px; font-size: 48px; }

/* balões */
.field.sky2 { background: linear-gradient(180deg, #D7E9FF, #FFE7F3); }
.balloon { position: absolute; left: 0; top: 0; width: 72px; height: 88px; border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%; background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .8) 0 9%, transparent 10%), var(--c); color: #fff; box-shadow: inset -6px -8px 0 rgba(0, 0, 0, .12); will-change: transform; }
.balloon b { font-size: 36px; text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.balloon::after { content: ''; position: absolute; left: 50%; bottom: -26px; width: 2px; height: 26px; background: #B7A7D6; }
.balloon.pop { animation: popOut .3s forwards; }

/* o pet pediu */
.order { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 26px; padding: 8px 18px; box-shadow: 0 6px 0 #E6D8F5; }
.order-n { font-size: 54px; font-weight: 700; color: var(--pink-d); line-height: 1; }
.order-dots { font-size: 20px; color: var(--purple); letter-spacing: 3px; max-width: 110px; line-height: 1.1; }
.order-food { font-size: 22px; font-weight: 700; }
.tray { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; background: #FFF3E0; border-radius: 26px; padding: 12px; box-shadow: inset 0 0 0 5px #FFE1B8; }
.tf { font-size: 40px; width: 58px; height: 58px; border-radius: 18px; background: #fff; box-shadow: 0 4px 0 #F3E1C8; }
.given { min-height: 44px; font-size: 22px; color: var(--purple-d); display: flex; align-items: center; gap: 8px; }
.given b { font-size: 40px; color: var(--pink-d); }

/* quem tem mais */
.plates { display: flex; gap: 14px; width: 100%; max-width: 440px; }
.cplate { flex: 1; min-height: 210px; background: #fff; border-radius: 50%; box-shadow: 0 8px 0 #E6D8F5, inset 0 0 0 10px #F6F0FD; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; position: relative; }
.pitems { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; font-size: 30px; line-height: 1.1; }
.pitems i { font-style: normal; }
.pnum { position: absolute; bottom: -14px; background: var(--purple); color: #fff; font-size: 26px; font-weight: 700; border-radius: 99px; padding: 0 14px; opacity: 0; transform: scale(.5); transition: .3s; }
.cplate.show .pnum { opacity: 1; transform: scale(1); }
.cplate.ok { box-shadow: 0 8px 0 var(--green-d), inset 0 0 0 10px #C9F5DE; }
.cplate.no { animation: shakeX .4s; }
