/* Sports Quiz v2 */
#qzs { background: #07070b; }
#qzs .qz { --pad: 16px; padding: 0 var(--pad) calc(var(--sab, 0px) + 40px); display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.qz-svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.qz-cico { color: #a78bfa; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(139,92,246,.12); }

/* home header */
.qz-top, .qz-sh { padding: 14px 2px 4px; }
.qz-top h1, .qz-sh h1, .qz-end h1 { margin: 0; color: #fff; font-size: 28px; line-height: 1.12; font-weight: 750; letter-spacing: -.025em; }
.qz-top p, .qz-sh p, .qz-end p { margin: 10px 0 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.5; }
.qz-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.qz-stats > div { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }
.qz-stats > div + div { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.07); }
.qz-stats b { color: #fff; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.qz-stats small { color: rgba(255,255,255,.42); font-size: 11.5px; }
.qz-sh .e7-btn { margin-top: 16px; }
.qz-lab { margin: 8px 2px -4px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.42); }

/* featured subjects */
.qz-feats { display: flex; flex-direction: column; gap: 10px; }
.qz-feat { all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 18px 18px 16px; border-radius: 18px; background: #101016; border: 1px solid rgba(255,255,255,.07); }
.qz-feat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c) 15%, transparent), transparent 60%); pointer-events: none; }
.qz-feat:active { transform: scale(.99); }
.qz-fi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); }
.qz-fi.lg { width: 54px; height: 54px; border-radius: 16px; margin-bottom: 14px; }
.qz-fi.lg .qz-svg { width: 27px; height: 27px; }
.qz-ft { display: flex; flex-direction: column; min-width: 0; position: relative; }
.qz-ft small { font-size: 11px; font-weight: 600; color: var(--c); letter-spacing: .02em; }
.qz-ft b { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin-top: 1px; }
.qz-ft em { font-style: normal; color: rgba(255,255,255,.5); font-size: 13px; margin-top: 2px; }
.qz-fm { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; position: relative; }
.qz-feat .qz-bar { grid-column: 1 / -1; margin-top: 4px; }
.qz-bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; position: relative; }
.qz-bar i { display: block; height: 100%; border-radius: 4px; background: var(--c, #8b5cf6); min-width: 0; }

/* grouped rows */
.qz-group { display: flex; flex-direction: column; border-radius: 16px; background: #0f0f15; border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.qz-row, .qz-pk { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 13px 16px; }
.qz-row + .qz-row, .qz-pk + .qz-pk { border-top: 1px solid rgba(255,255,255,.055); }
.qz-row:active, .qz-pk:active { background: rgba(255,255,255,.04); }
.qz-ri { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 11%, transparent); flex: none; }
.qz-ri .qz-svg { width: 19px; height: 19px; }
.qz-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qz-rt b { color: #fff; font-size: 15px; font-weight: 600; }
.qz-rt small { color: rgba(255,255,255,.45); font-size: 12px; }
.qz-rv { color: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.qz-rv small { display: block; color: rgba(255,255,255,.4); font-size: 10.5px; font-weight: 500; }
.qz-pt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.qz-pt small { font-size: 10.5px; font-weight: 600; color: var(--c); text-transform: uppercase; letter-spacing: .07em; }
.qz-pt b { color: #fff; font-size: 15px; font-weight: 600; }
.qz-pt em { font-style: normal; color: rgba(255,255,255,.45); font-size: 12.5px; }
.qz-pp { width: 74px; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 12px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.qz-pp .qz-bar { width: 100%; height: 3px; }
.qz-pk.done .qz-pt b { color: rgba(255,255,255,.65); }
.qz-pay { display: flex; justify-content: center; gap: 16px; margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.45); }
.qz-pay span { display: flex; align-items: center; gap: 6px; }
.qz-pay i, .qz-lv::before { width: 6px; height: 6px; border-radius: 50%; background: #9ca3af; display: inline-block; }
.qz-pay i.l2, .qz-lv.l2::before { background: #a78bfa; } .qz-pay i.l3, .qz-lv.l3::before { background: #fbbf24; }

/* play */
.qz-segs { display: flex; gap: 4px; padding-top: 10px; }
.qz-segs i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); }
.qz-segs i.c { background: rgba(255,255,255,.55); }
.qz-segs i.r { background: #4ade80; } .qz-segs i.w { background: #f87171; }
.qz-qm { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.qz-lv { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.qz-lv::before { content: ''; }
.qz-q { margin: 6px 0 8px; color: #fff; font-size: 23px; line-height: 1.32; font-weight: 700; letter-spacing: -.02em; }
.qz-os { display: flex; flex-direction: column; gap: 9px; }
.qz-o { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 15px; background: #111118; border: 1px solid rgba(255,255,255,.08); transition: background .18s, border-color .18s, opacity .25s; }
.qz-o .k { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.12); }
.qz-o .t { color: #fff; font-size: 15.5px; line-height: 1.35; font-weight: 500; }
.qz-o:not([disabled]):active { background: #17171f; border-color: rgba(255,255,255,.18); }
.qz-o.ok { background: rgba(34,197,94,.09); border-color: rgba(74,222,128,.5); }
.qz-o.ok .k { background: #22c55e; border-color: #22c55e; color: #fff; }
.qz-o.bad { background: rgba(239,68,68,.08); border-color: rgba(248,113,113,.5); }
.qz-o.bad .k { background: #ef4444; border-color: #ef4444; color: #fff; }
.qz-o.dim { opacity: .4; }
.qz-fb { padding: 16px; border-radius: 15px; background: #0f0f15; border: 1px solid rgba(255,255,255,.07); border-left: 3px solid; animation: qzIn .35s ease; }
.qz-fb.ok { border-left-color: #4ade80; } .qz-fb.bad { border-left-color: #f87171; }
.qz-fb div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.qz-fb b { font-size: 15px; } .qz-fb.ok b { color: #4ade80; } .qz-fb.bad b { color: #f87171; }
.qz-fb div span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); text-align: right; }
.qz-fb.ok div span { color: #fff; }
.qz-fb p { margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.55; }
.qz-next { position: sticky; bottom: calc(var(--sab, 0px) + 12px); padding-top: 4px; }
.qz-end { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 10px 0; }
.qz-end .e7-btn { margin-top: 22px; width: 100%; }
@keyframes qzIn { from { opacity: 0; transform: translateY(6px); } }
@media (min-width: 700px) { .qz-q { font-size: 26px; } .qz-top h1 { font-size: 32px; } }
#qzs .qz > * { flex-shrink: 0; }
