/* ============================================================
   ZabonGo o'yinlari. Ilovaning o'z tokenlari ishlatiladi
   (--card, --brand, --primary, --orange ...), topilmasa zaxira rang.
   Animatsiyalar faqat transform va opacity orqali - telefon ularni
   grafik protsessorda bajaradi, kadr yo'qotilmaydi.
   ============================================================ */
.zg{
  --zg-bg: var(--background, #f6f7f8);
  --zg-card: var(--card, #fff);
  --zg-fg: var(--foreground, #16211a);
  --zg-muted: var(--muted, #f0f1f3);
  --zg-muted-fg: var(--muted-foreground, #667065);
  --zg-border: var(--border, #e6e8ea);
  --zg-green: var(--brand, #4AC123);
  --zg-green-d: var(--primary, #2F8516);
  --zg-on-green: var(--primary-foreground, #fff);
  --zg-accent: var(--accent, #e6f6e0);
  --zg-orange: var(--orange, #F5821F);
  --zg-gold: var(--gold, #B35309);
  --zg-red: var(--destructive, #d93a3a);
  --zg-red-bg: color-mix(in srgb, var(--zg-red) 12%, var(--zg-card));
  --zg-blue: var(--chip-blue, #2F6FD0);
  --zg-violet: #7A5AF8;
  --zg-ease: cubic-bezier(.22,1,.36,1);
  --zg-spring: cubic-bezier(.34,1.56,.64,1);
  --zg-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 6px 18px -8px rgb(16 32 20 / .22);
  --zg-font-cjk: "Noto Sans KR","Noto Sans JP","Noto Sans SC","Apple SD Gothic Neo","Hiragino Sans","Malgun Gothic",sans-serif;
  color: var(--zg-fg);
  display: flex; flex-direction: column; gap: 14px;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .zg, .zg.zg-dark{ --zg-shadow: 0 6px 18px -8px rgb(0 0 0 / .6); --zg-violet:#9B82FF }
.zg *{ box-sizing: border-box }
.zg :where(button){ font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; padding: 0 }
.zg button:focus-visible, .zg [role="button"]:focus-visible{ outline: 2px solid var(--zg-green); outline-offset: 2px }
/* keep-all: koreyscha so'z hech qachon o'rtasidan bo'linmaydi (발랄하 / 다 bo'lmaydi) */
.zg .cjk{ font-family: var(--zg-font-cjk); word-break: keep-all; overflow-wrap: normal }

/* Yumshoq bosilish: barmoq tekkanda siqiladi, qo'yib yuborilganda prujina bilan qaytadi */
.zg .zg-press{ transition: transform .32s var(--zg-spring), background-color .2s, border-color .2s, box-shadow .2s, opacity .25s }
.zg .zg-press:active{ transform: scale(.95); transition-duration: .12s; transition-timing-function: var(--zg-ease) }

/* ---------- Hub ---------- */
.zg-hub-head{ display:flex; flex-direction:column; gap:4px }
.zg-hub-head h2{ margin:0; font-size:22px; letter-spacing:-.02em; line-height:1.2 }
.zg-hub-head p{ margin:0; color:var(--zg-muted-fg); font-size:13px; line-height:1.5 }
.zg-src{ display:flex; gap:6px; padding:4px; border-radius:14px; background:var(--zg-muted) }
.zg-src button{ flex:1; padding:9px 8px; border-radius:10px; font-size:13px; font-weight:600; color:var(--zg-muted-fg) }
.zg-src button[aria-pressed="true"]{ background:var(--zg-card); color:var(--zg-fg); box-shadow:var(--zg-shadow) }
.zg-src button:disabled{ opacity:.45 }
.zg-src button{ min-width:0; padding-inline:6px; font-size:12.5px }
.zg-src button span{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.zg-picked{ display:flex; align-items:baseline; gap:6px; min-width:0; margin-top:-4px; padding:0 4px; font-size:13px; color:var(--zg-muted-fg) }
.zg-picked b{ color:var(--zg-fg); font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0 }

.zg-gcard{ position:relative; overflow:hidden; display:grid; grid-template-columns: 1fr 96px; align-items:center; gap:10px;
  min-height:124px; padding:18px; border-radius:22px; text-align:left; color:#fff; isolation:isolate;
  box-shadow: 0 14px 28px -16px var(--glow-c, rgb(47 133 22 / .7)) }
.zg-gcard::before{ content:""; position:absolute; inset:0; z-index:-2; background: var(--g) }
.zg-gcard::after{ content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(120% 80% at 100% 0%, rgb(255 255 255 / .28), transparent 55%),
              radial-gradient(60% 60% at 0% 100%, rgb(0 0 0 / .14), transparent 70%) }
.zg-gcard.g-match{ --g: linear-gradient(140deg,#5CCB2E,#2F8516); --glow-c: rgb(47 133 22 / .7) }
.zg-gcard.g-rain { --g: linear-gradient(140deg,#4C8DF0,#2149A8); --glow-c: rgb(33 73 168 / .6) }
.zg-gcard.g-mem  { --g: linear-gradient(140deg,#FFA24A,#D9620B); --glow-c: rgb(217 98 11 / .6) }
.zg-gcard h3{ margin:0 0 4px; font-size:18px; letter-spacing:-.01em }
.zg-gcard p{ margin:0 0 10px; font-size:12.5px; line-height:1.45; opacity:.92; max-width:30ch }
.zg-gcard .zg-best{ display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border-radius:99px;
  background:rgb(255 255 255 / .2); font-size:12px; font-weight:700; backdrop-filter: blur(4px) }
.zg-gcard svg.art{ width:96px; height:96px; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .18)); transition: transform .5s var(--zg-spring) }
.zg-gcard:active svg.art{ transform: rotate(-6deg) scale(1.06) }
.zg-hub .zg-gcard{ animation: zg-rise .55s var(--zg-ease) both }
.zg-hub .zg-gcard:nth-of-type(2){ animation-delay:.06s }
.zg-hub .zg-gcard:nth-of-type(3){ animation-delay:.12s }
@keyframes zg-rise{ from{ opacity:0; transform: translateY(14px) scale(.98) } }

.zg-row{ display:flex; gap:10px }
.zg-btn{ flex:1; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:15px 16px; border-radius:16px;
  background:var(--zg-green-d); color:var(--zg-on-green); font-weight:800; font-size:15.5px;
  box-shadow: 0 10px 22px -12px var(--zg-green-d), inset 0 -3px 0 rgb(0 0 0 / .15) }
.zg-btn.ghost{ background:var(--zg-card); color:var(--zg-fg); border:1px solid var(--zg-border); box-shadow:none }
.zg-btn svg{ width:18px; height:18px }

/* ---------- O'yin sahnasi ---------- */
.zg-stage{ display:flex; flex-direction:column; gap:12px; animation: zg-rise .4s var(--zg-ease) }
.zg-hud{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px }
.zg-icon-btn{ width:42px; height:42px; border-radius:14px; background:var(--zg-card); border:1px solid var(--zg-border); display:grid; place-items:center }
.zg-icon-btn svg{ width:20px; height:20px }
.zg-hud-mid{ display:flex; align-items:center; justify-content:center; gap:10px }
.zg-score{ min-width:48px; text-align:right; font-weight:900; font-size:26px; letter-spacing:-.02em; line-height:1 }
.zg-score.bump{ animation: zg-bump .36s var(--zg-spring) }
@keyframes zg-bump{ 40%{ transform: scale(1.22) } }
.zg-score small{ display:block; font-size:10.5px; font-weight:700; color:var(--zg-muted-fg); letter-spacing:.06em; text-transform:uppercase }

/* Taymer halqasi */
.zg-ring{ position:relative; width:46px; height:46px }
.zg-ring svg{ width:46px; height:46px; transform: rotate(-90deg) }
.zg-ring circle{ fill:none; stroke-width:5 }
.zg-ring .tr{ stroke: var(--zg-muted) }
.zg-ring .pr{ stroke: var(--zg-green); stroke-linecap:round; transition: stroke-dashoffset .25s linear, stroke .3s }
.zg-ring.low .pr{ stroke: var(--zg-red) }
.zg-ring.low{ animation: zg-pulse 1s ease-in-out infinite }
@keyframes zg-pulse{ 50%{ transform: scale(1.07) } }
.zg-ring b{ position:absolute; inset:0; display:grid; place-items:center; font-size:14px; font-weight:800 }

/* Kombo o'lchagichi */
.zg-combo{ display:flex; align-items:center; gap:6px; padding:6px 10px 6px 8px; border-radius:99px; background:var(--zg-muted);
  font-weight:900; font-size:14px; color:var(--zg-muted-fg); transition: background-color .3s, color .3s, transform .35s var(--zg-spring) }
.zg-combo svg{ width:18px; height:18px }
.zg-combo .pips{ display:flex; gap:3px }
.zg-combo .pips i{ width:6px; height:6px; border-radius:50%; background: currentColor; opacity:.25; transition: opacity .2s, transform .3s var(--zg-spring) }
.zg-combo .pips i.on{ opacity:1; transform: scale(1.15) }
.zg-combo.hot{ background: color-mix(in srgb, var(--zg-orange) 18%, var(--zg-card)); color: var(--zg-orange) }
.zg-combo.pop{ animation: zg-bump .4s var(--zg-spring) }

.zg-lives{ display:flex; gap:6px }
.zg-lives svg{ width:22px; height:22px; color: var(--zg-red); transition: transform .35s var(--zg-spring), opacity .3s }
.zg-lives svg.off{ transform: scale(.55); opacity:.2 }

/* Sahna silkinishi (xato) */
.zg-shake{ animation: zg-shake .34s var(--zg-ease) }
@keyframes zg-shake{ 20%{ transform: translateX(-5px) } 45%{ transform: translateX(5px) } 70%{ transform: translateX(-3px) } }

/* ---------- 1. Juftini top ---------- */
.zg-board{ display:grid; grid-template-columns:1fr 1fr; gap:10px }
.zg-col{ display:grid; gap:10px; grid-auto-rows: 66px }
.zg-tile{ position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:8px 10px; border-radius:16px; background:var(--zg-card); border:1.5px solid var(--zg-border);
  box-shadow: var(--zg-shadow), inset 0 -3px 0 color-mix(in srgb, var(--zg-border) 80%, transparent);
  font-weight:650; font-size:14.5px; line-height:1.2; overflow:hidden }
.zg-tile .w{ font-size:21px; font-weight:700; line-height:1.1 }
.zg-tile .rd{ font-size:11px; color:var(--zg-muted-fg); font-weight:500; margin-top:3px }
.zg-tile.sel{ border-color:var(--zg-green); background:var(--zg-accent); transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px -12px var(--zg-green), inset 0 -3px 0 color-mix(in srgb, var(--zg-green) 40%, transparent) }
.zg-tile.ok{ animation: zg-ok .42s var(--zg-ease) forwards; pointer-events:none }
@keyframes zg-ok{ 0%{ transform: scale(1.05); border-color:var(--zg-green); background:var(--zg-accent) } 100%{ transform: scale(.6); opacity:0 } }
.zg-tile.bad{ animation: zg-shake .34s var(--zg-ease); border-color:var(--zg-red); background:var(--zg-red-bg) }
.zg-tile.empty{ background: transparent; border: 1.5px dashed var(--zg-border); box-shadow:none; pointer-events:none }
.zg-tile.in{ animation: zg-in .42s var(--zg-spring) both }
@keyframes zg-in{ from{ transform: scale(.6) rotate(-3deg); opacity:0 } }
.zg-tile:nth-child(2).in{ animation-delay:.03s } .zg-tile:nth-child(3).in{ animation-delay:.06s }
.zg-tile:nth-child(4).in{ animation-delay:.09s } .zg-tile:nth-child(5).in{ animation-delay:.12s }

/* ---------- 2. So'z yomg'iri ---------- */
.zg-target{ position:relative; display:flex; flex-direction:column; align-items:center; gap:2px; padding:14px; border-radius:20px;
  background: linear-gradient(140deg,#4C8DF0,#2149A8); color:#fff; box-shadow: 0 14px 26px -16px rgb(33 73 168 / .8) }
.zg-target .w{ font-size:32px; font-weight:700; line-height:1.1 }
.zg-target .rd{ font-size:13px; opacity:.85 }
.zg-target .lbl{ font-size:10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; opacity:.75 }
.zg-target.swap{ animation: zg-in .4s var(--zg-spring) }
.zg-sky{ position:relative; height: min(56vh, 460px); min-height: 320px; border-radius:22px; overflow:hidden; contain: strict;
  background: linear-gradient(180deg, color-mix(in srgb, var(--zg-blue) 10%, var(--zg-card)), var(--zg-card));
  border:1px solid var(--zg-border) }
.zg-sky::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:56px;
  background: linear-gradient(0deg, color-mix(in srgb, var(--zg-red) 14%, transparent), transparent); pointer-events:none }
.zg-drop{ position:absolute; top:0; left:0; max-width:46%; padding:10px 14px; border-radius:16px; background:var(--zg-card);
  border:1.5px solid var(--zg-border); box-shadow: var(--zg-shadow); font-weight:650; font-size:14px; line-height:1.2; text-align:center;
  will-change: transform; transition: background-color .15s, border-color .15s, opacity .25s }
.zg-drop.ok{ background:var(--zg-accent); border-color:var(--zg-green); opacity:0; transition: opacity .3s .1s, background-color .1s }
.zg-drop.bad{ background:var(--zg-red-bg); border-color:var(--zg-red); opacity:.6 }
.zg-level{ align-self:center; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--zg-muted-fg) }
.zg-level.up{ animation: zg-bump .5s var(--zg-spring); color: var(--zg-blue) }

/* ---------- 3. Xotira kartalari ---------- */
.zg-grid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px }
.zg-card{ position:relative; perspective: 900px; -webkit-perspective: 900px; cursor:pointer }
.zg-card::before{ content:""; display:block; padding-top:118% }
.zg-card .flip{ position:absolute; inset:0; transition: transform .55s var(--zg-ease);
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d }
.zg-card.open .flip, .zg-card.done .flip{ transform: rotateY(180deg) }
.zg-card .face{ position:absolute; inset:0; border-radius:16px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:6px; text-align:center; -webkit-backface-visibility:hidden; backface-visibility:hidden; transform: translateZ(1px) }
.zg-card .front{ background: linear-gradient(140deg,#FFA24A,#D9620B); box-shadow: 0 10px 18px -12px rgb(217 98 11 / .8), inset 0 -3px 0 rgb(0 0 0 / .15) }
.zg-card .front svg{ width:42%; height:auto; color: rgb(255 255 255 / .85) }
.zg-card .back{ transform: rotateY(180deg) translateZ(1px); background:var(--zg-card); border:1.5px solid var(--zg-border);
  box-shadow: var(--zg-shadow); font-weight:650; font-size:13.5px; line-height:1.2 }
.zg-card .back .w{ font-size:23px; font-weight:700 }
.zg-card .back .rd{ font-size:11px; color:var(--zg-muted-fg); font-weight:500; margin-top:2px }
.zg-card.done .back{ border-color:var(--zg-green); background:var(--zg-accent) }
.zg-card.done{ animation: zg-bump .5s var(--zg-spring) .15s }
.zg-card.miss .back{ border-color:var(--zg-red); background:var(--zg-red-bg) }
.zg-memstats{ display:flex; justify-content:center; gap:18px; font-size:13px; font-weight:700; color:var(--zg-muted-fg) }
.zg-memstats b{ color: var(--zg-fg) }

/* ---------- Effektlar ---------- */
.zg-fx{ position:fixed; inset:0; pointer-events:none; z-index:9999; overflow:hidden }
.zg-spark{ position:absolute; width:8px; height:8px; border-radius:50%; will-change: transform, opacity }
.zg-float{ position:absolute; font-weight:900; font-size:18px; color: var(--zg-green-d); text-shadow: 0 2px 0 var(--zg-card);
  animation: zg-float .8s var(--zg-ease) forwards }
@keyframes zg-float{ from{ transform: translate(-50%, 0) scale(.8) } 30%{ transform: translate(-50%, -14px) scale(1.15) } to{ transform: translate(-50%, -46px) scale(1); opacity:0 } }

/* Boshlanish sanog'i */
.zg-count{ position:fixed; inset:0; z-index:9998; display:grid; place-items:center; pointer-events:none;
  background: color-mix(in srgb, var(--zg-bg) 55%, transparent); backdrop-filter: blur(3px) }
.zg-count span{ font-size:96px; font-weight:900; letter-spacing:-.04em; color: var(--zg-green-d); animation: zg-countpop .7s var(--zg-ease) both }
@keyframes zg-countpop{ from{ transform: scale(1.8); opacity:0 } 40%{ transform: scale(1); opacity:1 } to{ transform: scale(.9); opacity:0 } }

/* ---------- Natija ---------- */
.zg-result{ display:flex; flex-direction:column; align-items:center; gap:14px; padding:22px 18px 18px; border-radius:24px; text-align:center;
  background:var(--zg-card); border:1px solid var(--zg-border); box-shadow: var(--zg-shadow); animation: zg-rise .45s var(--zg-ease) }
.zg-stars{ display:flex; gap:6px; align-items:flex-end }
.zg-stars svg{ width:44px; height:44px; color: var(--zg-muted); transform: scale(.4); opacity:0 }
.zg-stars svg:nth-child(2){ width:56px; height:56px }
.zg-stars svg.on{ color: #FFB020; animation: zg-star .5s var(--zg-spring) forwards }
.zg-stars svg.dim{ animation: zg-stardim .4s var(--zg-ease) forwards }
@keyframes zg-star{ to{ transform: scale(1); opacity:1 } }
@keyframes zg-stardim{ to{ transform: scale(.9); opacity:1 } }
.zg-big{ font-size:56px; font-weight:900; letter-spacing:-.04em; line-height:1 }
.zg-badge{ padding:5px 12px; border-radius:99px; background: color-mix(in srgb, var(--zg-orange) 16%, var(--zg-card)); color: var(--zg-gold); font-weight:800; font-size:12.5px }
.zg-kv{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:8px; width:100% }
.zg-kv div{ padding:11px 6px; border-radius:14px; background:var(--zg-muted) }
.zg-kv b{ display:block; font-size:19px; font-weight:800 }
.zg-kv span{ font-size:11px; color:var(--zg-muted-fg); font-weight:600 }
.zg-coins{ display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:99px; background: color-mix(in srgb, var(--zg-orange) 14%, var(--zg-card)); font-weight:800; color: var(--zg-gold) }
.zg-coin{ width:18px; height:18px; border-radius:50%; background: radial-gradient(circle at 35% 30%, #FFE29A, #F5A623 55%, #C27012); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .15) }
.zg-review{ width:100%; text-align:left }
.zg-review h4{ margin:4px 0 8px; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--zg-muted-fg) }
.zg-review ul{ list-style:none; margin:0; padding:0; display:grid; gap:6px }
.zg-review li{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; background:var(--zg-red-bg); font-size:14px }
/* So'z o'z kengligini saqlaydi, ma'no qolgan joyga sig'adi va kerak bo'lsa
   keyingi qatorga o'tadi. Ilgari ma'no uzun bo'lsa so'z siqilib, ikkiga bo'linardi. */
.zg-review li .cjk{ font-weight:700; flex:none; max-width:55%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.zg-review li > span:last-child{ flex:1; min-width:0; text-align:right; overflow-wrap:anywhere }
.zg-empty{ color:var(--zg-muted-fg); font-size:13px; margin:0 }

@media (prefers-reduced-motion: reduce){
  .zg *, .zg *::before, .zg *::after, .zg-fx *, .zg-count *{ animation-duration:.01ms !important; transition-duration:.01ms !important }
}

/* Tanga berilmagan bo'lsa belgisi umuman ko'rinmaydi */
.zg [hidden]{ display:none !important }

/* So'zlar yuklanayotgan karta: xira bo'ladi va aylanuvchi belgi chiqadi */
.zg-gcard.zg-loading{ pointer-events:none; filter:saturate(.75) brightness(.92) }
.zg-gcard.zg-loading svg.art{ opacity:.35 }
.zg-gcard .zg-spin{ position:absolute; right:48px; top:50%; width:28px; height:28px; margin-top:-14px; z-index:2;
  border-radius:50%; border:3px solid rgb(255 255 255 / .35); border-top-color:#fff; animation: zg-spin .8s linear infinite }
@keyframes zg-spin{ to{ transform: rotate(360deg) } }

/* O'yinlar kunlik vazifasi (25.11.2026) */
.zg-daily{ padding:12px 14px; border-radius:16px; background:var(--zg-card); border:1.5px solid var(--zg-border); box-shadow:0 3px 0 var(--lip, var(--zg-border)) }
.zg-daily .zgd-top{ display:flex; align-items:center; justify-content:space-between; gap:8px }
.zg-daily .zgd-top b{ font-size:14px; font-weight:800; color:var(--zg-fg) }
.zg-daily .zgd-reward{ display:inline-flex; align-items:center; gap:4px; padding:3px 9px; border-radius:999px; font-size:12px; font-weight:800; background:color-mix(in srgb, var(--sun, #ffc83d) 25%, transparent); color:var(--sun-ink, #4a3300) }
[data-theme="dark"] .zg-daily .zgd-reward{ color:var(--sun, #ffc83d) }
.zg-daily .zgd-coin{ width:12px; height:12px; border-radius:50%; background:radial-gradient(circle at 35% 35%, #ffe08a, #e3a008); box-shadow:inset 0 -1px 0 rgba(0,0,0,.15) }
.zg-daily .zgd-bar{ height:8px; border-radius:99px; background:var(--zg-muted); margin:9px 0 6px; overflow:hidden }
.zg-daily .zgd-bar i{ display:block; height:100%; border-radius:inherit; background:var(--zg-green-d); transition:width .8s cubic-bezier(.22,1,.36,1) }
.zg-daily .zgd-note{ font-size:12px; font-weight:700; color:var(--zg-muted-fg) }
.zg-daily.done .zgd-bar i{ background:var(--sun-deep, #e3a008) }

/* ============ VAZIFA 27: O'yinlar ro'yxati - yangi dizayn ============ */
body.zg-hub-on .header-tools{ display:none !important }
.zg-hub{ gap:12px }
.zg-hub-head{ flex-direction:row; align-items:center; justify-content:space-between; min-height:40px }
.zg-hub-head h2{ font-size:26px; font-weight:900; letter-spacing:-.015em }
.zg-hub-snd{ width:40px; height:40px; display:grid; place-items:center; border-radius:13px; background:var(--zg-card) !important; border:2px solid var(--zg-border) !important; box-shadow:0 3px 0 var(--zg-border) }
.zg-hub-snd svg{ width:20px; height:20px }

/* Kunlik vazifa - to'q yashil karta, sandiq */
.zg .zg-daily{ position:relative; overflow:hidden; isolation:isolate; display:flex; align-items:center; gap:12px; padding:14px 14px 14px 16px; border:0; border-radius:26px; color:#fff;
  background: radial-gradient(55% 70% at 88% 30%, rgba(255,205,80,.38), rgba(255,205,80,0) 70%), radial-gradient(60% 60% at 0% 100%, rgba(110,220,70,.30), rgba(110,220,70,0) 70%), linear-gradient(158deg,#12472A 0%,#0B2C19 55%,#061A0F 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.06), 0 20px 30px -18px rgba(6,40,18,.85), 0 2px 0 rgba(6,26,15,.35) }
[data-theme="dark"] .zg .zg-daily{ box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 20px 36px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(134,255,120,.08) }
.zg-daily .zgd-main{ flex:1; min-width:0; display:flex; flex-direction:column; gap:9px }
.zg-daily .zgd-kick{ display:flex; align-items:center; gap:8px; font-size:10.5px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.62) }
.zg .zg-daily .zgd-reward{ letter-spacing:0; text-transform:none; height:20px; padding:0 7px 0 4px; font-size:11px; font-weight:900; background:rgba(255,216,102,.16) !important; color:#FFD866 !important }
.zg-daily .zgd-coin{ width:13px; height:13px }
.zg-daily .zgd-title{ font-size:19px; font-weight:900; line-height:1.15; letter-spacing:-.01em; color:#fff }
.zg-daily .zgd-cells{ display:flex; gap:6px }
.zg-daily .zgd-cell{ flex:1; height:30px; border-radius:10px; display:grid; place-items:center; font-style:normal; font-size:13px; font-weight:900; color:rgba(255,216,102,.85); border:2px dashed rgba(255,216,102,.35) }
.zg-daily .zgd-cell.next{ border-color:rgba(255,216,102,.6); animation: zgd-pulse 2.2s ease-out infinite }
.zg-daily .zgd-cell.on{ border:0; color:#3A2800; background:linear-gradient(180deg,#FFE48F,#F2B10F); box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 2px 0 #9C6A00; animation: zgd-pop .5s var(--zg-spring) both }
.zg-daily .zgd-cell svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:3.2; stroke-linecap:round; stroke-linejoin:round }
@keyframes zgd-pulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(255,216,102,.5) } 60%{ box-shadow:0 0 0 7px rgba(255,216,102,0) } }
@keyframes zgd-pop{ from{ transform:scale(.6); opacity:0 } }
.zg-daily .zgd-chest{ position:relative; width:78px; height:78px; flex:none }
.zg-daily .zgd-chest::before{ content:""; position:absolute; inset:-6px; border-radius:50%; background:radial-gradient(circle, rgba(255,205,80,.55), rgba(255,205,80,0) 65%) }
.zg-daily .zgd-chest svg{ position:relative; width:78px; height:78px; animation: zg-float 3.2s ease-in-out infinite }
.zg-daily.done .zgd-chest svg{ animation: zg-float 1.6s ease-in-out infinite }
@keyframes zg-float{ 0%,100%{ transform:translateY(0) rotate(var(--r,0deg)) } 50%{ transform:translateY(-5px) rotate(var(--r,0deg)) } }

/* So'zlar manbai - belgili tugmalar */
.zg .zg-src{ gap:3px; padding:3px; border-radius:16px; background:var(--zg-muted); border:2px solid var(--zg-border) }
.zg .zg-src button{ display:flex; align-items:center; justify-content:center; gap:5px; height:36px; padding:0 6px; border-radius:12px; font-size:12.5px; font-weight:800 }
.zg .zg-src button svg{ width:14px; height:14px; flex:none; stroke-width:2.6 }
.zg .zg-src button[aria-pressed="true"]{ font-weight:900; box-shadow:0 2px 0 var(--zg-border) }
.zg .zg-badge{ display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 4px; border-radius:99px; background:#FF6B5E; color:#fff; font-size:10.5px; font-weight:900; flex:none }
.zg .zg-badge[hidden]{ display:none }

/* Tavsiya karta */
.zg-chip{ display:inline-flex; align-items:center; gap:4px; width:fit-content; height:22px; padding:0 8px; border-radius:99px; background:rgba(255,255,255,.18); font-size:11.5px; font-weight:900; color:#fff; white-space:nowrap }
.zg-chip svg{ width:12px; height:12px; flex:none }
.zg-chip-d{ background:rgba(0,0,0,.18) }
.zg-feat-top .zg-chip-d{ font-size:10.5px; letter-spacing:.08em; text-transform:uppercase }
.zg-chip .ic-star, .zg-chip svg[fill="currentColor"]{ color:#FFE08A }
.zg .zg-feat{ position:relative; overflow:hidden; isolation:isolate; display:flex; flex-direction:column; justify-content:space-between; height:178px; padding:16px; border-radius:26px; color:#fff; text-align:left;
  background: radial-gradient(60% 70% at 85% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 70%), var(--g);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 5px 0 var(--lip), 0 18px 26px -16px var(--glow-c); animation: zg-rise .55s var(--zg-ease) both }
.zg-feat .zg-art{ position:absolute; right:70px; top:8px; width:130px; height:113px; z-index:-1 }
.zg-feat-top{ display:flex; gap:6px }
.zg-feat-bot{ display:flex; align-items:flex-end; justify-content:space-between; gap:10px }
.zg-feat-t{ display:flex; flex-direction:column; gap:4px; min-width:0 }
.zg-feat-t b{ font-size:23px; font-weight:900; letter-spacing:-.015em; text-shadow:0 1px 1px rgba(0,0,0,.15) }
.zg-feat-t small{ font-size:12.5px; font-weight:800; opacity:.92; line-height:1.3 }
.zg-feat .zg-rec{ height:26px; padding:0 10px; margin-top:3px; font-size:12px; letter-spacing:0; text-transform:none }
.zg-play-gold{ position:relative; overflow:hidden; flex:none; width:58px; height:58px; border-radius:50%; display:grid; place-items:center; color:#3A2800;
  background:linear-gradient(180deg,#FFE48F 0%,#FFCB45 52%,#F2B10F 100%); box-shadow:inset 0 1px 0 rgba(255,255,255,.75), 0 4px 0 #9C6A00, 0 12px 18px -10px rgba(0,0,0,.5) }
.zg-play-gold::before{ content:""; position:absolute; top:0; bottom:0; left:0; width:40%; background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.65),rgba(255,255,255,0)); animation: zg-shine 3.2s ease-in-out infinite }
.zg-play-gold svg{ position:relative; width:24px; height:24px; margin-left:3px }
@keyframes zg-shine{ 0%{ transform:translateX(-160%) skewX(-22deg) } 55%,100%{ transform:translateX(330%) skewX(-22deg) } }

/* Ikki kichik karta */
.zg-tiles{ display:grid; grid-template-columns:1fr 1fr; gap:12px }
.zg .zg-tile2{ position:relative; overflow:hidden; isolation:isolate; display:flex; flex-direction:column; justify-content:flex-end; gap:4px; height:172px; padding:14px; border-radius:24px; color:#fff; text-align:left;
  background: radial-gradient(70% 60% at 80% 15%, rgba(255,255,255,.22), rgba(255,255,255,0) 70%), var(--g);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 5px 0 var(--lip), 0 16px 22px -16px var(--glow-c); animation: zg-rise .55s var(--zg-ease) both }
.zg-tiles .zg-tile2:nth-child(1){ animation-delay:.06s } .zg-tiles .zg-tile2:nth-child(2){ animation-delay:.12s }
.zg-tile2 .zg-art{ position:absolute; right:4px; top:4px; width:100px; height:80px; z-index:-1 }
.zg-tile2 b{ font-size:18px; font-weight:900; letter-spacing:-.01em; line-height:1.1 }
.zg-tile2 small{ font-size:11.5px; font-weight:800; opacity:.9; line-height:1.25 }
.zg-tile2-bot{ display:flex; align-items:center; justify-content:space-between; margin-top:6px }
.zg-tile2 .zg-chip{ height:24px }
.zg-play-w{ width:34px; height:34px; border-radius:50%; background:#fff; display:grid; place-items:center; box-shadow:0 3px 0 rgba(0,0,0,.18) }
.zg-play-w svg{ width:15px; height:15px; margin-left:2px }
.g-match{ --g: linear-gradient(150deg,#6ADE3A 0%,#34A11B 50%,#23780F 100%); --lip:#23660F; --glow-c: rgba(35,120,15,.7) }
.g-rain { --g: linear-gradient(155deg,#7FA8FF 0%,#4A7DE6 55%,#2F5DC4 100%); --lip:#2A51A3; --glow-c: rgba(47,93,196,.7) }
.g-mem  { --g: linear-gradient(155deg,#FFBE55 0%,#F58A1F 55%,#DB6A08 100%); --lip:#B0560A; --glow-c: rgba(219,106,8,.7) }
[data-theme="dark"] .g-match{ --lip:#123A08 } [data-theme="dark"] .g-rain{ --lip:#172E5E } [data-theme="dark"] .g-mem{ --lip:#6B3304 }
.g-match .zg-play-w{ color:#2F8516 } .g-rain .zg-play-w{ color:#2F5DC4 } .g-mem .zg-play-w{ color:#DB6A08 }
.zg-art text{ font-family: Nunito, var(--zg-font-cjk), sans-serif }
.zg-art .zg-fl{ transform-box: fill-box; transform-origin:center; animation: zg-float 3.4s ease-in-out infinite }
.zg-art .zg-fl2{ animation-delay:.8s }
.zg-art .zg-drop{ animation: zg-drop 2.4s ease-in infinite } .zg-art .zg-d2{ animation-delay:.9s } .zg-art .zg-d3{ animation-delay:1.6s }
@keyframes zg-drop{ 0%{ transform:translateY(-6px); opacity:0 } 20%{ opacity:1 } 100%{ transform:translateY(22px); opacity:0 } }
.zg-feat.zg-loading, .zg-tile2.zg-loading{ pointer-events:none; filter:saturate(.75) brightness(.92) }
.zg-feat .zg-spin, .zg-tile2 .zg-spin{ position:absolute; left:50%; top:50%; width:28px; height:28px; margin:-14px 0 0 -14px; z-index:2; border-radius:50%; border:3px solid rgb(255 255 255 / .35); border-top-color:#fff; animation: zg-spin .8s linear infinite }
@media (prefers-reduced-motion: reduce){ .zg-hub *{ animation:none !important } }
.zg .zg-src button{ flex:1 1 auto }
.zg .zg-src button{ min-width:0 }
[data-theme="dark"] .zg .zg-src button[aria-pressed="true"]{ background:#EAF5E4; color:#0F2A18; box-shadow:0 2px 0 #08100A }
