/* Bizim Oyunlar — tema */
:root {
  --p0: #ff5c9d; --p1: #4cc3ff;
  --bg1: #1a0f33; --bg2: #3d1450; --bg3: #5b1a4f;
  --card: rgba(255, 255, 255, .07); --card2: rgba(255, 255, 255, .13); --line: rgba(255, 255, 255, .13);
  --txt: #fff5fa; --mut: #d5bfdc; --ok: #4ade80; --bad: #f87171; --gold: #ffd166;
  --grad: linear-gradient(135deg, #ff5c9d, #ff8a5c);
  --g-hiz: linear-gradient(135deg, #ff9a3d, #ff4d6d);
  --g-akil: linear-gradient(135deg, #4cc3ff, #6d5cff);
  --g-sohbet: linear-gradient(135deg, #ff5c9d, #c85cff);
  --f-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --f-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; color: var(--txt); font-family: var(--f-body); overscroll-behavior: none; touch-action: manipulation; }
html { background: radial-gradient(120% 80% at 50% 0%, var(--bg3) 0%, var(--bg2) 35%, var(--bg1) 80%) fixed; background-color: var(--bg1); }
body { overflow: hidden; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
#app { height: 100vh; height: 100dvh; max-width: 560px; margin: 0 auto; position: relative; overflow: hidden; z-index: 1; }
.screen { height: 100%; display: flex; flex-direction: column; }
.p0t { color: var(--p0); } .p1t { color: var(--p1); } .mut { color: var(--mut); }
small { display: block; font-size: .72em; opacity: .85; font-weight: 600; margin-top: 4px; }
h1, h2, h4, .gtitle, .btn, .cn, .status, .otitle, .roomcode, .kq, .qtext, .dq, .tabs button { font-family: var(--f-head); }

/* kayan kalpler */
.bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg i { position: absolute; bottom: -60px; width: 22px; height: 22px; opacity: .14; animation: rise linear infinite; }
.bg i::before { content: '♥'; font-style: normal; font-size: 22px; color: #ff8fc0; }
.bg i:nth-child(1) { left: 4%; animation-duration: 19s; } .bg i:nth-child(2) { left: 14%; animation-duration: 24s; animation-delay: -6s; transform: scale(.7); }
.bg i:nth-child(3) { left: 25%; animation-duration: 21s; animation-delay: -12s; } .bg i:nth-child(4) { left: 36%; animation-duration: 27s; animation-delay: -3s; }
.bg i:nth-child(5) { left: 47%; animation-duration: 18s; animation-delay: -9s; } .bg i:nth-child(6) { left: 58%; animation-duration: 25s; animation-delay: -15s; }
.bg i:nth-child(7) { left: 68%; animation-duration: 22s; animation-delay: -2s; } .bg i:nth-child(8) { left: 78%; animation-duration: 28s; animation-delay: -18s; }
.bg i:nth-child(9) { left: 88%; animation-duration: 20s; animation-delay: -7s; } .bg i:nth-child(10) { left: 95%; animation-duration: 26s; animation-delay: -13s; }
.bg i:nth-child(11) { left: 20%; animation-duration: 30s; animation-delay: -20s; } .bg i:nth-child(12) { left: 62%; animation-duration: 23s; animation-delay: -5s; }
.bg i:nth-child(3n)::before { color: #8fd8ff; } .bg i:nth-child(4n)::before { font-size: 34px; }
@keyframes rise { from { transform: translateY(0) rotate(-10deg); } to { transform: translateY(-115vh) rotate(25deg); } }
@media (prefers-reduced-motion: reduce) { .bg i, .heart3d { animation: none !important; } }

/* ---------- ana sayfa ---------- */
.home { overflow-y: auto; padding: calc(14px + env(safe-area-inset-top)) 16px 36px; }
.hero { position: relative; text-align: center; padding: 18px 0 6px; }
.heart3d { font-size: 54px; line-height: 1; display: inline-block; animation: beat 1.6s infinite; filter: drop-shadow(0 8px 18px rgba(255, 92, 157, .55)); }
.logo { font-size: 40px; margin: 6px 0 0; font-weight: 700; letter-spacing: -.5px; line-height: 1.05;
  background: linear-gradient(90deg, #fff, #ffd1e6 40%, #ffc6a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
.sub { color: var(--mut); margin: 6px 0 18px; font-weight: 700; }
.sound { position: absolute; right: 0; top: 4px; width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--txt); font-size: 18px; }
.tabs { position: relative; display: flex; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 18px; padding: 5px; gap: 4px; margin-bottom: 16px; }
.tabs button { flex: 1; border: 0; background: none; color: var(--mut); padding: 12px 6px; border-radius: 13px; font-size: 16px; font-weight: 600; transition: all .2s; }
.tabs button.on { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(255, 92, 157, .4); }
.names { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.nm { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 4px 12px; }
.nm.p0 { border-color: color-mix(in srgb, var(--p0) 70%, transparent); } .nm.p1 { border-color: color-mix(in srgb, var(--p1) 70%, transparent); }
.nm input, .field input, .joinrow input, .guess input { background: none; border: 0; color: var(--txt); font-size: 16px; font-weight: 700; width: 100%; min-width: 0; outline: none; padding: 8px 0; }
.vs { color: var(--mut); font-weight: 800; }
.hint { color: var(--mut); font-size: 13px; text-align: center; margin: 6px 0 12px; line-height: 1.45; }

/* kategoriler ve kartlar */
.sect { margin-top: 18px; }
.sect h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 600; margin: 0 2px 10px; }
.sect h2 span { font-size: 20px; }
.sect h2 i { font-style: normal; font-size: 12px; font-family: var(--f-body); font-weight: 800; color: var(--mut); background: var(--card); border-radius: 99px; padding: 2px 8px; }
.cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); border: 1px solid var(--line); border-radius: 22px;
  padding: 14px 12px 14px; color: var(--txt); text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  transition: transform .12s, background .2s; overflow: hidden; }
.card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; opacity: .18; filter: blur(6px); }
.c-hiz::after { background: var(--g-hiz); } .c-akil::after { background: var(--g-akil); } .c-sohbet::after { background: var(--g-sohbet); }
.card:active { transform: scale(.96); }
.card:disabled { opacity: .45; }
.ce { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 6px; box-shadow: 0 6px 14px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .35); }
.c-hiz .ce { background: var(--g-hiz); } .c-akil .ce { background: var(--g-akil); } .c-sohbet .ce { background: var(--g-sohbet); }
.cn { font-weight: 600; font-size: 16px; line-height: 1.15; }
.cd { font-size: 12.5px; color: var(--mut); line-height: 1.3; }
.badge { margin-top: 4px; font-size: 10.5px; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 99px; padding: 3px 8px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; margin-bottom: 6px; display: flex; flex-direction: column; gap: 12px; }
.panel p { margin: 0; text-align: center; }
.field { display: flex; flex-direction: column; gap: 2px; background: rgba(0, 0, 0, .22); border-radius: 14px; padding: 8px 14px; text-align: left; }
.field span { font-size: 12px; color: var(--mut); font-weight: 700; }
.or { text-align: center; color: var(--mut); font-size: 13px; }
.joinrow { display: flex; gap: 8px; }
.joinrow input { flex: 1; background: rgba(0, 0, 0, .28); border-radius: 14px; padding: 12px 14px; font-size: 24px; letter-spacing: 8px; text-align: center; font-weight: 800; text-transform: uppercase; }
.preview .card { opacity: .6; }

/* ---------- butonlar ---------- */
.btn { border: 0; border-radius: 16px; padding: 13px 18px; font-size: 17px; font-weight: 600; color: #fff; background: var(--grad); box-shadow: 0 4px 14px rgba(255, 92, 157, .3); transition: transform .1s; }
.btn:active { transform: scale(.97); }
.btn.big { width: 100%; padding: 16px; font-size: 17px; }
.btn.ghost { background: var(--card); box-shadow: none; border: 1px solid var(--line); }
.btn:disabled { opacity: .5; }
.row { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }

/* ---------- üst bar ---------- */
.gbar { background: rgba(20, 10, 40, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 12px 8px; }
.back { background: var(--card); border: 0; color: var(--txt); width: 40px; height: 40px; border-radius: 12px; font-size: 20px; flex: none; }
.gtitle { flex: 1; font-weight: 800; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.net { font-size: 12px; padding: 5px 10px; border-radius: 99px; background: var(--card); white-space: nowrap; max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
.net::before { content: '●'; margin-right: 5px; }
.net.ok::before { color: var(--ok); } .net.wait::before { color: #fbbf24; }
.ghead { padding: 8px 12px 0; }
.sb { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--card); border-radius: 14px; padding: 8px 12px; font-size: 14px; }
.sb b { font-size: 22px; } .sb i { opacity: .5; font-style: normal; }
.sb span { max-width: 32%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gbody { flex: 1; position: relative; overflow-y: auto; overflow-x: hidden; }
.gwrap { padding: 14px 14px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 100%; }
.status { text-align: center; font-size: 18px; font-weight: 700; min-height: 48px; display: flex; flex-direction: column; justify-content: center; }

/* ---------- tam ekran oyunlar ---------- */
.game.full .gbar, .game.full .ghead { display: none; }
.game.full .gbody { overflow: hidden; }
.fback { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 16px; }

/* split */
.split { position: absolute; inset: 0; display: flex; flex-direction: column; background: #2a1840; transition: background .15s; }
.half { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; user-select: none; -webkit-user-select: none;
  touch-action: none; position: relative; z-index: 2; padding: 20px; text-align: center; }
.half.top { transform: rotate(180deg); border-bottom: 2px dashed rgba(255, 255, 255, .25); }
.hmsg { font-size: 34px; font-weight: 900; line-height: 1.15; }
.hmsg small { font-size: 16px; }
.hscore { font-size: 15px; color: var(--mut); font-weight: 700; }
.split[data-s="ready"] { background: #2a1840; }
.split[data-s="wait"] { background: #9f1239; }
.split[data-s="go"] { background: #15803d; }
.split[data-s="r0"] .bot, .split[data-s="r1"] .top { background: rgba(255, 255, 255, .12); }
.split[data-s="r0"] { background: linear-gradient(0deg, var(--p0) 50%, #2a1840 50%); }
.split[data-s="r1"] { background: linear-gradient(180deg, var(--p1) 50%, #2a1840 50%); }

/* dokunma savaşı */
.split.tug { background: var(--p1); }
.tugfill { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--p0); transition: height .08s; z-index: 1; }
.knot { position: absolute; left: 50%; margin-left: -22px; bottom: calc(50% - 22px); font-size: 40px; z-index: 3; transition: bottom .08s; pointer-events: none; }
.tug .half.top { border: 0; }
.tug .hmsg { font-size: 64px; text-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.tug .hscore { color: #fff; }

/* hokey */
.hockey { position: absolute; inset: 0; touch-action: none; display: block; }

/* ---------- XOX ---------- */
.xox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(92vw, 380px); aspect-ratio: 1; }
.cell { border: 0; border-radius: 18px; background: var(--card); font-size: min(17vw, 74px); font-weight: 900; color: var(--txt); display: flex; align-items: center; justify-content: center; }
.cell.filled { animation: pop .25s; }
.cell.win { background: rgba(255, 255, 255, .25); }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

/* ---------- Dört Bağla ---------- */
.c4 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; width: min(94vw, 420px); background: #3b2a8a; padding: 8px; border-radius: 18px; box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.c4c { aspect-ratio: 1; border-radius: 50%; background: #1b1035; overflow: hidden; }
.disc { width: 100%; height: 100%; border-radius: 50%; }
.disc.p0 { background: radial-gradient(circle at 35% 35%, #ffa0c8, var(--p0)); }
.disc.p1 { background: radial-gradient(circle at 35% 35%, #a9e4ff, var(--p1)); }
.disc.drop { animation: drop .35s ease-in; }
.disc.win { box-shadow: inset 0 0 0 4px #fff; }
@keyframes drop { 0% { transform: translateY(calc(var(--rows, 6) * -110%)); } 80% { transform: translateY(4%); } 100% { transform: translateY(0); } }
.dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: -2px; }
.dot.p0 { background: var(--p0); } .dot.p1 { background: var(--p1); }

/* ---------- Hafıza ---------- */
.mem { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: min(94vw, 400px); }
.mcard { aspect-ratio: 3/4; border: 0; padding: 0; background: none; position: relative; transform-style: preserve-3d; transition: transform .35s; }
.mcard span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: min(10vw, 42px); }
.mf { background: var(--grad); font-size: 24px !important; }
.mb { background: #fff; transform: rotateY(180deg); }
.mcard.up { transform: rotateY(180deg); }
.mcard.own.p0 .mb { box-shadow: inset 0 0 0 4px var(--p0); }
.mcard.own.p1 .mb { box-shadow: inset 0 0 0 4px var(--p1); }

/* ---------- Taş Kağıt Makas ---------- */
.arena { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hand { font-size: 84px; line-height: 1.1; transition: transform .2s; }
.hand.op { transform: rotate(180deg); }
.hand.ready { filter: drop-shadow(0 0 12px var(--ok)); }
.hand.op.shake { animation: shakeOp .37s 3; }
.hand.me.shake { animation: shakeMe .37s 3; }
@keyframes shakeMe { 50% { transform: translateY(-22px); } }
@keyframes shakeOp { 0%, 100% { transform: rotate(180deg); } 50% { transform: rotate(180deg) translateY(-22px); } }
.hand.win { filter: drop-shadow(0 0 18px #ffd166); transform: scale(1.15); }
.hand.op.win { transform: rotate(180deg) scale(1.15); }
.hlabel { color: var(--mut); font-size: 13px; }
.vsx { font-weight: 900; color: var(--mut); }
.choices { display: flex; gap: 10px; width: 100%; max-width: 400px; }
.choice { flex: 1; border: 2px solid var(--line); background: var(--card); color: var(--txt); border-radius: 18px; padding: 12px 4px; font-weight: 700; font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.choice span { font-size: 38px; }
.choice.sel { border-color: var(--p0); background: rgba(255, 92, 157, .2); }
.choice:disabled:not(.sel) { opacity: .4; }

/* ---------- Tanıma ---------- */
.know { justify-content: flex-start; }
.kprog { width: 100%; max-width: 440px; }
.bar { height: 8px; background: var(--card); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); transition: width .3s; }
.kcard { position: relative; width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; text-align: center; overflow: hidden; }
.kq-meta { font-size: 13px; color: var(--mut); }
.kq { font-size: 23px; font-weight: 800; line-height: 1.25; }
.kprompt { color: var(--mut); }
.kopts { display: flex; flex-direction: column; gap: 10px; }
.kopt { border: 2px solid var(--line); background: rgba(0, 0, 0, .2); color: var(--txt); border-radius: 16px; padding: 16px; font-size: 17px; font-weight: 700; }
.kopt:active { border-color: var(--p0); }
.kwait { background: rgba(0, 0, 0, .2); border-radius: 14px; padding: 14px; line-height: 1.6; }
.kres { font-size: 30px; font-weight: 900; }
.kres.ok { color: var(--ok); } .kres.no { color: #fbbf24; }
.kline { font-size: 16px; }
.kpct { font-size: 64px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kfinal { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Amiral Battı ---------- */
.ships .status { min-height: 56px; font-size: 16px; }
.sbody { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.slabel { font-size: 13px; color: var(--mut); margin-top: 4px; }
.sgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; background: #0e2a4d; padding: 5px; border-radius: 14px; }
.sgrid.big { width: min(92vw, 360px); }
.sgrid.small { width: min(52vw, 200px); }
.sgrid.active { box-shadow: 0 0 0 3px var(--ok); }
.sc { aspect-ratio: 1; border: 0; border-radius: 6px; background: #1d4b80; color: #fff; font-size: 16px; padding: 0; display: flex; align-items: center; justify-content: center; }
.small .sc { font-size: 10px; border-radius: 4px; }
.sc.ship { background: #94a3b8; }
.sc.miss { background: #173a63; color: #8fb6e6; }
.sc.hit { background: #f97316; }
.sc.sunk { background: #7f1d1d; }
.enemy.active .sc:not(.miss):not(.hit):not(.sunk):active { background: #3b82f6; }

/* ---------- Çiz Tahmin ---------- */
.draw { gap: 8px; padding-top: 8px; }
.dtop { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 8px; min-height: 30px; }
.dinfo { font-size: 16px; font-weight: 600; }
.dinfo .word { font-size: 20px; color: #ffd166; }
.dinfo small { display: inline; }
.pat { letter-spacing: 2px; font-weight: 900; font-size: 18px; }
.dtime { font-weight: 800; font-variant-numeric: tabular-nums; }
.dtime.low { color: var(--bad); animation: beat 1s infinite; }
.dcanvas { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); flex: none; }
.dcanvas canvas { display: block; touch-action: none; }
.dover { position: absolute; inset: 0; background: rgba(27, 16, 53, .93); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; }
.dover.hide { display: none; }
.dq { font-size: 22px; font-weight: 800; }
.dwords { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 260px; }
.dctrl { width: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.col { width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent; }
.col.on { border-color: #fff; transform: scale(1.1); }
.tl { border: 1px solid var(--line); background: var(--card); color: var(--txt); border-radius: 12px; padding: 8px 10px; font-size: 13px; font-weight: 700; }
.tl.on { background: rgba(255, 92, 157, .3); border-color: var(--p0); }
.guess { display: flex; gap: 8px; width: 100%; }
.guess input { flex: 1; background: rgba(0, 0, 0, .25); border-radius: 14px; padding: 12px 14px; }
.dlog { width: 100%; font-size: 14px; color: var(--mut); display: flex; flex-direction: column; gap: 3px; text-align: center; }

/* ---------- lobi ---------- */
.lobbybody { flex: 1; overflow-y: auto; padding: 8px 16px 30px; display: flex; flex-direction: column; gap: 14px; }
.roomcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.rlabel { color: var(--mut); font-size: 13px; }
.roomcode { font-size: 54px; font-weight: 900; letter-spacing: 10px; padding-left: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-height: 64px; }
.roomcode .spin { color: var(--txt); font-size: 36px; }
.peerline { font-size: 15px; }
.panel .btn.ghost.big { margin-top: 0; }

/* ---------- bitiş ekranı ---------- */
.overlay { position: absolute; inset: 0; z-index: 20; background: rgba(15, 8, 30, .82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.obox { background: linear-gradient(160deg, #2c1a4d, #4a1d55); border: 1px solid var(--line); border-radius: 24px; padding: 26px 20px; width: 100%; max-width: 360px; text-align: center; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; animation: pop .35s; }
.otitle { font-size: 28px; font-weight: 900; }
.osub { font-size: 20px; color: var(--mut); font-weight: 700; }
.obtns { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.conf { position: absolute; top: -40px; animation: fall 2.6s linear forwards; pointer-events: none; z-index: 1; }
@keyframes fall { to { transform: translateY(110vh) rotate(360deg); } }

/* ---------- toast ---------- */
#toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 30px); background: #fff; color: #2a1040; font-weight: 700;
  padding: 12px 18px; border-radius: 14px; box-shadow: 0 8px 30px rgba(0, 0, 0, .4); opacity: 0; transition: all .25s; pointer-events: none; z-index: 100; max-width: 90vw; text-align: center; overflow-wrap: anywhere; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- yeni oyunlar ---------- */
/* Mangala */
.mboard { width: min(96vw, 470px); display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; grid-template-rows: auto auto; gap: 6px;
  background: linear-gradient(160deg, #8a5a2b, #5c3a1a); padding: 8px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 2px 0 rgba(255, 255, 255, .2); }
.store { grid-row: 1 / 3; border-radius: 18px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 3px 8px rgba(0, 0, 0, .5); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--f-head); font-size: 24px; font-weight: 700; text-align: center; }
.store small { font-size: 10px; font-family: var(--f-body); writing-mode: vertical-rl; transform: rotate(180deg); margin-top: 6px; max-height: 90px; overflow: hidden; }
.store.s0 { color: #ffc2dc; } .store.s1 { color: #b8e8ff; }
.mboard .store:first-child { grid-column: 1; } .mboard .store:last-child { grid-column: 3; grid-row: 1 / 3; }
.pits { grid-column: 2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.pits.top { grid-row: 1; } .pits.bottom { grid-row: 2; }
.pit { aspect-ratio: 1; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); box-shadow: inset 0 3px 8px rgba(0, 0, 0, .55); color: #fff; position: relative; padding: 0; display: flex; align-items: center; justify-content: center; }
.pit b { position: absolute; bottom: -2px; right: 0; font-size: 11px; background: rgba(0, 0, 0, .55); border-radius: 99px; padding: 1px 5px; }
.stones { display: flex; flex-wrap: wrap; width: 70%; justify-content: center; gap: 1px; }
.stones i { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #d1c4e9); }
.pit.p0 .stones i { background: radial-gradient(circle at 35% 35%, #fff, #ffb3d1); } .pit.p1 .stones i { background: radial-gradient(circle at 35% 35%, #fff, #a8e2ff); }
.pit.can { box-shadow: inset 0 3px 8px rgba(0, 0, 0, .55), 0 0 0 2px var(--gold); }
.pit.last { animation: pop .3s; box-shadow: inset 0 3px 8px rgba(0, 0, 0, .55), 0 0 0 2px #fff; }
.mnote { min-height: 22px; font-weight: 700; text-align: center; }
.rules { width: 100%; max-width: 470px; background: var(--card); border-radius: 16px; padding: 10px 14px; font-size: 14px; color: var(--mut); }
.rules summary { font-weight: 800; color: var(--txt); cursor: pointer; }
.rules p { line-height: 1.5; margin: 8px 0 2px; }

/* Matematik + Renk tuzağı */
.mq { font-family: var(--f-head); font-size: 46px; font-weight: 700; }
.mopts { display: flex; gap: 10px; }
.mopt { min-width: 84px; padding: 16px 10px; border-radius: 18px; border: 2px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; font-family: var(--f-head); font-size: 26px; font-weight: 700; touch-action: none; }
.mopt.ok { background: var(--ok); border-color: var(--ok); } .mopt.no { background: var(--bad); border-color: var(--bad); opacity: .7; }
.hmsg.sm { font-size: 17px; font-weight: 700; min-height: 22px; }
.sword { font-family: var(--f-head); font-size: 46px; font-weight: 700; background: #0d0820; padding: 10px 22px; border-radius: 18px; letter-spacing: 1px; }
.sword.flash { animation: pop .2s; }
.sbtn { border: 0; border-radius: 22px; padding: 18px 40px; font-family: var(--f-head); font-size: 26px; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); touch-action: none; }
.sbtn:active { transform: scale(.95); }

/* Balon */
.half.bhalf { padding: 0; justify-content: flex-start; overflow: hidden; }
.bfield { position: absolute; inset: 0; overflow: hidden; }
.bhalf .hscore { position: relative; z-index: 2; margin-top: 10px; background: rgba(0, 0, 0, .3); padding: 4px 12px; border-radius: 99px; color: #fff; }
.bhalf .hmsg { position: relative; z-index: 2; margin-top: 18%; pointer-events: none; }
.bal { position: absolute; bottom: -70px; border: 0; background: none; font-size: 50px; padding: 4px; animation: floatUp 3s linear forwards; touch-action: none; }
@keyframes floatUp { 0% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-55vh) rotate(6deg); } 100% { transform: translateY(-110vh) rotate(-6deg); } }
.bpts { position: absolute; font-family: var(--f-head); font-size: 28px; font-weight: 700; animation: up .7s forwards; pointer-events: none; }
.bpts.ok { color: var(--gold); } .bpts.no { color: var(--bad); }
@keyframes up { to { transform: translateY(-50px); opacity: 0; } }

/* Soru kartları */
.decks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; width: 100%; max-width: 440px; }
.deck { border: 0; border-radius: 22px; padding: 18px 12px; color: #fff; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.deck b { font-family: var(--f-head); font-weight: 600; font-size: 16px; }
.deck small { opacity: .9; margin: 0; }
.de { font-size: 38px; }
.hot { background: linear-gradient(150deg, #ff6b6b, #c9184a); } .cool { background: linear-gradient(150deg, #4cc3ff, #3a56d4); }
.night { background: linear-gradient(150deg, #5b3fd1, #1f1147); } .sun { background: linear-gradient(150deg, #ffb703, #fb5607); }
.qcard { width: 100%; max-width: 400px; min-height: 280px; border-radius: 28px; padding: 26px 22px; display: flex; flex-direction: column; justify-content: center; gap: 16px; text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .3); animation: cardIn .4s cubic-bezier(.2, .9, .3, 1.2); }
.qlabel { font-weight: 800; opacity: .9; font-size: 14px; }
.qtext { font-size: 26px; font-weight: 600; line-height: 1.25; }
@keyframes cardIn { from { transform: rotateY(80deg) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.docpick { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 340px; }
.dd { background: linear-gradient(135deg, #ff4d6d, #8b1e3f); }
.qnext, .qback { max-width: 400px; }

/* Sayı bulmaca */
.slots { display: flex; gap: 8px; justify-content: center; }
.slots span { width: 54px; height: 62px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-size: 32px; font-weight: 700; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(86vw, 300px); margin: 12px auto 0; }
.key { border: 0; border-radius: 16px; padding: 14px 0; background: var(--card2); color: var(--txt); font-family: var(--f-head); font-size: 24px; font-weight: 600; }
.key.go { background: var(--grad); font-size: 17px; }
.key:disabled { opacity: .3; }
.nbody { width: 100%; }
.legend { text-align: center; font-size: 12.5px; color: var(--mut); margin-bottom: 10px; }
.glists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.glists > div { background: var(--card); border-radius: 16px; padding: 10px; min-height: 80px; max-height: 190px; overflow-y: auto; }
.glists h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--mut); }
.gl { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.gl b { font-size: 18px; letter-spacing: 2px; margin-right: auto; }
.fb { display: inline-block; min-width: 30px; text-align: center; border-radius: 99px; padding: 2px 7px; font-weight: 800; font-size: 13px; }
.fb.plus { background: var(--ok); color: #053b1a; } .fb.minus { background: var(--gold); color: #4a3200; } .fb.zero { background: rgba(255, 255, 255, .15); } .fb.wait { opacity: .5; }
.empty { color: var(--mut); font-size: 13px; }

/* Kalp asmaca */
.hbody { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hform { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 10px; }
.hwait { font-size: 80px; animation: beat 1.6s infinite; }
.hearts { font-size: 28px; display: flex; gap: 4px; }
.hearts .lost { animation: pop .3s; opacity: .7; }
.hhint { background: var(--card); padding: 8px 14px; border-radius: 12px; font-weight: 700; }
.hword { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 100%; }
.hword span { width: 32px; height: 42px; border-bottom: 3px solid var(--txt); display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-size: 26px; font-weight: 700; }
.hword span.sp { border: 0; width: 14px; }
.hword span.rev { animation: pop .25s; } .hword span.miss { color: var(--bad); }
.abc { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; width: 100%; max-width: 420px; }
.ak { border: 0; border-radius: 10px; padding: 11px 0; background: var(--card2); color: var(--txt); font-family: var(--f-head); font-size: 17px; font-weight: 600; }
.ak.ok { background: var(--ok); color: #053b1a; } .ak.no { background: rgba(248, 113, 113, .35); }
.ak:disabled:not(.ok):not(.no) { opacity: .35; }

/* ---------- fotoğraflar ---------- */
.c-foto .ce { background: linear-gradient(135deg, #ffd166, #ff7a59); } .c-foto::after { background: linear-gradient(135deg, #ffd166, #ff7a59); }
.mb img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; pointer-events: none; }
.mcard.own .mb img { opacity: .95; }
.psizes { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }
.pinfo { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; font-weight: 800; }
.pinfo span { background: var(--card); padding: 6px 12px; border-radius: 99px; font-variant-numeric: tabular-nums; }
.pwrap { position: relative; width: min(92vw, 420px); aspect-ratio: 1; }
.pgrid { position: absolute; inset: 0; display: grid; gap: 3px; transition: gap .5s; }
.pgrid.solved { gap: 0; }
.ptile { border: 0; padding: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: transform .12s, border-radius .5s; }
.ptile.sel { transform: scale(.9); box-shadow: 0 0 0 3px var(--gold); z-index: 2; }
.ptile.ok { box-shadow: inset 0 0 0 2px rgba(74, 222, 128, .55); }
.pgrid.solved .ptile { border-radius: 0; box-shadow: none; }
.peekimg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; }
.peekimg.on { opacity: 1; }

/* ---------- Aşk Okçuları ---------- */
.c-duello .ce { background: linear-gradient(135deg, #ff3d7f, #7c3aed); } .c-duello::after { background: linear-gradient(135deg, #ff3d7f, #7c3aed); }
.arch { position: absolute; inset: 0; overflow: hidden; }
.arch canvas { position: absolute; inset: 0; touch-action: none; display: block; }
.arch-hint { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: rgba(15, 8, 30, .7); backdrop-filter: blur(6px);
  padding: 10px 16px; border-radius: 99px; font-weight: 800; font-size: 14px; white-space: nowrap; pointer-events: none; transition: opacity .3s; max-width: 94%; overflow: hidden; text-overflow: ellipsis; }
.arch-hint.hide { opacity: 0; }
.arch-swap { position: absolute; right: 10px; top: 48px; padding: 8px 12px; font-size: 13px; background: rgba(15, 8, 30, .55); }
.hpwrap { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 14px; padding: 8px 10px; }
.hp { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 800; }
.hp.p1 { text-align: right; }
.hp span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp.p0 span { color: var(--p0); } .hp.p1 span { color: var(--p1); }
.hp i { height: 10px; background: rgba(0, 0, 0, .35); border-radius: 99px; overflow: hidden; display: flex; }
.hp.p1 i { justify-content: flex-end; }
.hp b { display: block; height: 100%; border-radius: 99px; transition: width .4s; }
.hp.p0 b { background: linear-gradient(90deg, #ff5c9d, #ff9ec4); } .hp.p1 b { background: linear-gradient(90deg, #8fd8ff, #4cc3ff); }
.hpvs { font-family: var(--f-head); font-weight: 700; font-size: 18px; }

/* ---------- okçuluk seviyeleri ---------- */
.hpvs { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hpvs small { font-family: var(--f-body); font-size: 10px; margin-top: 3px; color: var(--mut); }
.archmenu { position: absolute; inset: 0; z-index: 10; background: rgba(15, 8, 30, .78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); overflow-y: auto; padding: 18px 14px 30px; }
.amtitle { font-family: var(--f-head); font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 14px; }
.amgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; max-width: 460px; margin: 0 auto; }
.amlv { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 14px 10px; background: linear-gradient(160deg, rgba(255, 92, 157, .22), rgba(124, 58, 237, .22)); color: var(--txt); display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.amlv span { font-size: 34px; } .amlv b { font-family: var(--f-head); font-weight: 600; font-size: 15px; } .amlv small { margin: 0; color: var(--mut); font-size: 11.5px; }
.amlv.done { border-color: var(--ok); }
.amlv i { position: absolute; top: 8px; right: 10px; font-style: normal; color: var(--ok); font-weight: 900; }

/* ---------- ortak: tuşlar + başla kartı ---------- */
.race { position: absolute; inset: 0; overflow: hidden; }
.race canvas { position: absolute; inset: 0; display: block; touch-action: none; }
.pads { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.padrow { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; pointer-events: none; }
.padrow.bot { bottom: env(safe-area-inset-bottom); } .padrow.top { top: 0; transform: rotate(180deg); }
.pad { pointer-events: auto; width: 34%; height: 66px; border-radius: 20px; border: 0; font-size: 30px; color: #fff; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .3); }
.padrow.p0 .pad { background: linear-gradient(160deg, #ff7ab0, #e63980); } .padrow.p1 .pad { background: linear-gradient(160deg, #7fd6ff, #2b8fd6); }
.pad.on { transform: scale(.94); filter: brightness(1.2); }
.padinfo { font-family: var(--f-head); font-weight: 700; font-size: 17px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); text-align: center; flex: 1; }
.startcard { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 8, 30, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.scbox { width: 100%; max-width: 360px; background: linear-gradient(160deg, #2c1a4d, #4a1d55); border: 1px solid var(--line); border-radius: 24px; padding: 22px 18px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.sct { font-family: var(--f-head); font-size: 26px; font-weight: 700; }
.scbox p { margin: 0; color: var(--mut); line-height: 1.5; }

/* ---------- penaltı ---------- */
.pen { gap: 10px; }
.pscore { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 6px; }
.prow { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 14px; padding: 6px 10px; }
.prow img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--p0); }
.prow.p1 img { border-color: var(--p1); }
.prow b { font-size: 14px; width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow.p0 b { color: var(--p0); } .prow.p1 b { color: var(--p1); }
.prow span { flex: 1; display: flex; gap: 4px; }
.prow span i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-style: normal; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.prow span i.m { background: rgba(248, 113, 113, .35); color: #fff; font-weight: 900; }
.prow em { font-style: normal; font-family: var(--f-head); font-size: 22px; font-weight: 700; }
.pitch { width: 100%; max-width: 420px; padding: 8% 6% 30%; background: linear-gradient(180deg, #2f7a3e, #3f9a4f); border-radius: 22px; position: relative; overflow: hidden;
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .05) 0 30px, transparent 30px 60px), linear-gradient(180deg, #2f7a3e, #3f9a4f); }
.goal { position: relative; width: 100%; aspect-ratio: 2.4; border: 6px solid #fff; border-bottom: 0; border-radius: 6px 6px 0 0; }
.goal.scored .gnet { animation: netshake .5s; }
@keyframes netshake { 30% { transform: scale(1.04, .97); } 60% { transform: scale(.98, 1.02); } }
.gnet { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px); background-size: 12px 12px; background-color: rgba(0, 0, 0, .15); }
.keeper { position: absolute; left: 50%; bottom: 0; width: 26%; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); transform-origin: 50% 90%; transition: transform .55s cubic-bezier(.2, .8, .3, 1); z-index: 2; }
.keeper img { width: 58%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 3px solid var(--p0); background: #fff; }
.keeper.p1 img { border-color: var(--p1); }
.kbody { width: 70%; height: 34px; margin-top: -4px; border-radius: 12px 12px 6px 6px; background: #ffd166; position: relative; }
.kbody::before, .kbody::after { content: ''; position: absolute; top: 4px; width: 26px; height: 10px; border-radius: 6px; background: #ffd166; }
.kbody::before { right: 92%; transform: rotate(-30deg); } .kbody::after { left: 92%; transform: rotate(30deg); }
.ball { position: absolute; left: 50%; top: 145%; font-size: 30px; line-height: 1; transform: translateX(-50%); transition: transform .7s cubic-bezier(.25, .7, .3, 1); z-index: 3; margin-top: -15px; }
.zones { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; padding: 4px; z-index: 4; }
.zone { border: 2px dashed rgba(255, 255, 255, .6); border-radius: 10px; background: rgba(255, 209, 102, .18); }
.zone:active { background: rgba(255, 209, 102, .55); }
.dives { display: flex; gap: 8px; width: 100%; max-width: 420px; }
.dives .btn { flex: 1; padding: 14px 4px; font-size: 15px; }
.pctrl { width: 100%; display: flex; justify-content: center; }
.pctrl .rdy { max-width: 360px; }

/* ---------- direksiyon ---------- */
.wheelrow { position: absolute; left: 0; right: 0; height: 124px; display: flex; align-items: center; justify-content: center; gap: 14px; pointer-events: none; }
.wheelrow.bot { bottom: env(safe-area-inset-bottom); } .wheelrow.top { top: 0; transform: rotate(180deg); }
.wheel { pointer-events: auto; width: 116px; height: 116px; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 50%; }
.wheel svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.wheel .rim { fill: none; stroke: #2b2238; stroke-width: 11; } .wheel .rim2 { fill: rgba(255, 255, 255, .06); stroke: none; }
.wheel .spoke { fill: #3a2f4a; } .wheel .hub { fill: #ff5c9d; } .wheelrow.p1 .hub, .wheelrow.p1 .mark { fill: #4cc3ff; }
.wheel .mark { fill: #ff5c9d; }
.wheelrow.p0 .rim { stroke: #5a2440; } .wheelrow.p1 .rim { stroke: #1f4a66; }
.wheel.on svg { filter: drop-shadow(0 0 12px rgba(255, 255, 255, .5)); }
.wlap, .whint { font-family: var(--f-head); font-weight: 700; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); width: 70px; text-align: center; font-size: 16px; }
.whint { font-size: 13px; opacity: .7; }

/* ---------- soru kartları v2 ---------- */
.decks { max-width: 460px; }
.deck { position: relative; }
.deck em { font-style: normal; font-size: 11px; font-weight: 800; background: rgba(0, 0, 0, .2); border-radius: 99px; padding: 2px 8px; }
.deck[data-empty] { opacity: .55; }
.rose { background: linear-gradient(150deg, #ff8fab, #d6336c); } .mint { background: linear-gradient(150deg, #38d9a9, #0c8599); }
.wine { background: linear-gradient(150deg, #e64980, #5f0f40); } .volt { background: linear-gradient(150deg, #fcc419, #f76707); }
.ink { background: linear-gradient(150deg, #748ffc, #3b2a8a); } .gold { background: linear-gradient(150deg, #ffe066, #e8590c); }
.mix, .mixc { background: linear-gradient(150deg, #ff5c9d, #4cc3ff); }
.addc { max-width: 460px; }
.qtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qfav { border: 0; background: rgba(0, 0, 0, .2); color: rgba(255, 255, 255, .6); width: 40px; height: 40px; border-radius: 50%; font-size: 22px; }
.qfav.on { color: #ffd166; background: rgba(0, 0, 0, .35); }
.qtimer { height: 6px; border-radius: 99px; background: rgba(0, 0, 0, .2); overflow: hidden; visibility: hidden; }
.qtimer.on { visibility: visible; } .qtimer i { display: block; height: 100%; width: 100%; background: #fff; transition: width .1s linear; }
.qtext.timeup { animation: netshake .4s 2; }
.qnum { font-size: 12px; opacity: .8; font-weight: 800; }
.qbtns { display: flex; gap: 8px; width: 100%; max-width: 400px; }
.qbtns .qtime { flex: none; }
.mylist { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 6px; }
.myc { display: flex; gap: 8px; align-items: center; background: var(--card); border-radius: 12px; padding: 10px 12px; }
.myc span { flex: 1; }
.myc button { border: 0; background: rgba(248, 113, 113, .25); color: #fff; border-radius: 8px; width: 30px; height: 30px; }
