:root {
  --navy: #0b1a4a; --ink: #120d1f; --blue: #1f5fd6; --sky: #3d8bff; --red: #e2382f;
  --yellow: #ffd21a; --orange: #ff8a00; --green: #1fb36b; --white: #fff;
  --disp: 'Dela Gothic One', 'Rubik', system-ui, sans-serif;
  --body: 'Rubik', system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #04091f; color: #fff; font-family: var(--body); overflow: hidden; overscroll-behavior: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; touch-action: manipulation; }
#app { position: relative; max-width: 480px; height: 100dvh; margin: 0 auto; overflow: hidden; background: #0d3a9e; user-select: none; -webkit-user-select: none; }
#bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,15,60,.15) 0%, rgba(5,15,60,.05) 40%, rgba(5,12,45,.75) 75%, rgba(4,9,31,.95) 100%); pointer-events: none; }
.hidden { display: none !important; }

/* ---------- metin efektleri ---------- */
.mega { position: relative; display: inline-block; font-family: var(--disp); line-height: 1; color: #fff; -webkit-text-stroke: calc(var(--o, 10px) * 1.6) #fff; letter-spacing: .01em; white-space: nowrap; }
.mega::before, .mega::after { content: attr(data-t); position: absolute; left: 0; top: 0; }
.mega::before { color: var(--navy); -webkit-text-stroke: var(--o, 10px) var(--navy); text-shadow: 0 calc(var(--o, 10px) * .7) 0 var(--navy); }
.mega::after { -webkit-text-stroke: 0; background: var(--grad, linear-gradient(180deg, #fff7b0 0%, #ffd21a 42%, #ff8a00 58%, #ff4a1a 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega.red { --grad: linear-gradient(180deg, #ffd0c8 0%, #ff5a3a 45%, #c4141a 60%, #8a0a10 100%); }
.mega.blue { --grad: linear-gradient(180deg, #e0f0ff 0%, #6cb4ff 45%, #1f5fd6 60%, #0d2f8a 100%); }
.mega.white { --grad: linear-gradient(180deg, #fff 0%, #fff 50%, #cfe0ff 100%); }

/* ---------- ekranlar ---------- */
#screens { position: absolute; inset: 0 0 calc(64px + var(--safe-b)) 0; }
.screen { position: absolute; inset: 0; display: none; flex-direction: column; overflow-y: auto; overflow-x: hidden; padding: calc(12px + var(--safe-t)) 16px 16px; scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen.active { display: flex; animation: scrIn .35s cubic-bezier(.2,.9,.3,1.2); }
@keyframes scrIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
#scr-cards, #scr-rank { background: linear-gradient(180deg, rgba(8,22,80,.92), rgba(4,9,31,.97)); }

.topbar { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 3; }
.me-chip { display: flex; align-items: center; gap: 8px; background: rgba(8,20,70,.7); border: 2px solid rgba(255,255,255,.25); border-radius: 30px; padding: 3px 14px 3px 3px; text-align: left; backdrop-filter: blur(6px); }
.me-chip .av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--yellow); border: 2px solid #fff; }
.me-chip b { display: block; font-weight: 900; font-size: 14px; font-style: italic; text-transform: uppercase; }
.me-chip small { font-size: 11px; opacity: .8; font-weight: 700; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(8,20,70,.7); border: 2px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* poster + logo */
.poster { position: relative; flex: 1; min-height: 300px; display: flex; align-items: flex-end; justify-content: center; margin: 0 -16px; }
.poster-burst { position: absolute; inset: -10% -20% 0; background: repeating-conic-gradient(from 0deg at 50% 62%, rgba(255,255,255,.22) 0deg 2deg, transparent 2deg 9deg); -webkit-mask: radial-gradient(circle at 50% 62%, transparent 12%, #000 35%, transparent 72%); mask: radial-gradient(circle at 50% 62%, transparent 12%, #000 35%, transparent 72%); animation: burst 1.2s steps(3) infinite; }
@keyframes burst { 50% { transform: rotate(1.5deg) scale(1.02); } }
.hero { position: absolute; bottom: 70px; width: 62%; aspect-ratio: 1; filter: drop-shadow(0 8px 0 rgba(4,9,40,.35)); }
.hero svg { width: 100%; height: 100%; display: block; }
.hero-l { left: -10%; transform: rotate(-6deg); animation: heroL 3s ease-in-out infinite; }
.hero-r { right: -10%; transform: rotate(6deg) scaleX(-1); bottom: 92px; width: 56%; animation: heroR 3.4s ease-in-out infinite; }
@keyframes heroL { 50% { transform: rotate(-4deg) translateY(-6px); } }
@keyframes heroR { 50% { transform: rotate(4deg) scaleX(-1) translateY(-8px); } }
.logo { position: relative; z-index: 2; text-align: center; transform: rotate(-5deg) skewX(-8deg); margin-bottom: 8px; animation: logoIn .7s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes logoIn { from { transform: rotate(-5deg) skewX(-8deg) scale(2.6); opacity: 0; } }
.logo-1 { --o: 9px; font-size: 92px; }
.logo-2 { --o: 7px; font-size: 54px; margin-top: -4px; --grad: linear-gradient(180deg, #ffd0c8 0%, #ff5a3a 45%, #d4141a 60%, #8a0a10 100%); }
.logo-sub { margin-top: 10px; }
.logo-sub span { display: inline-block; background: var(--navy); color: #fff; font-weight: 900; font-style: italic; font-size: 13px; letter-spacing: .25em; padding: 5px 14px 5px 18px; border: 2px solid #fff; transform: skewX(-12deg); box-shadow: 4px 4px 0 var(--red); }

/* butonlar */
.menu-btns { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 12px; padding-bottom: 4px; }
.menu-btns .row { display: flex; gap: 12px; }
.menu-btns .row .btn { flex: 1; }
.btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--disp); color: var(--navy); border: 3px solid var(--ink); border-radius: 10px; transform: skewX(-10deg); box-shadow: 0 6px 0 var(--ink); transition: transform .08s, box-shadow .08s; padding: 10px 14px; }
.btn > * { transform: skewX(10deg); }
.btn:active { transform: skewX(-10deg) translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn[disabled] { filter: grayscale(.8) brightness(.8); pointer-events: none; }
.btn-main { background: linear-gradient(180deg, #fff27a 0%, #ffd21a 45%, #ff9a00 100%); font-size: 30px; padding: 12px; overflow: hidden; }
.btn-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%); transform: translateX(-120%); animation: shine 2.6s infinite; }
@keyframes shine { 60%, 100% { transform: translateX(120%); } }
.btn-main small { font-family: var(--body); font-weight: 800; font-size: 12px; letter-spacing: .06em; opacity: .85; }
.btn-sec { background: linear-gradient(180deg, #ffffff, #cfe0ff); font-size: 14px; white-space: nowrap; min-height: 52px; }
.btn-blue { background: linear-gradient(180deg, #6cb4ff, #1f5fd6); color: #fff; font-size: 18px; }
.btn-red { background: linear-gradient(180deg, #ff8a7a, #e2382f); color: #fff; font-size: 18px; }
.menu-foot { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px; }
.link { font-weight: 800; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; opacity: .9; }
.online { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; opacity: .9; }
.online i { width: 8px; height: 8px; border-radius: 50%; background: #888; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.online i.on { background: #3dff7a; }

/* ---------- alt navigasyon ---------- */
#nav { position: absolute; left: 0; right: 0; bottom: 0; height: calc(64px + var(--safe-b)); padding-bottom: var(--safe-b); display: flex; background: rgba(4,9,31,.96); border-top: 2px solid rgba(255,255,255,.08); z-index: 10; }
#nav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; opacity: .45; font-weight: 900; font-size: 10px; letter-spacing: .12em; font-style: italic; transition: opacity .2s; }
#nav svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
#nav button.on { opacity: 1; }
#nav button.on svg { stroke: var(--yellow); }
#nav button.on span { color: var(--yellow); }

/* ---------- ekran başlıkları ---------- */
.scr-head { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 0 10px; gap: 8px; flex-wrap: wrap; }
.ttl { margin: 0; font-family: var(--disp); font-weight: 400; font-size: 26px; font-style: normal; transform: skewX(-8deg); text-shadow: 3px 3px 0 var(--red); letter-spacing: .02em; }
.ttl small { font-family: var(--body); font-size: 13px; font-weight: 800; text-shadow: none; opacity: .7; }
.hint { font-size: 11px; font-weight: 700; opacity: .6; }
.chips { display: flex; gap: 6px; }
.chips button { font-weight: 900; font-size: 11px; padding: 6px 10px; border-radius: 20px; border: 2px solid rgba(255,255,255,.25); font-style: italic; }
.chips button.on { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

/* ---------- KART ---------- */
.card { --w: 140px; position: relative; width: var(--w); font-size: calc(var(--w) * .1); border-radius: .9em; background: #fff; border: .22em solid var(--ink); overflow: hidden; color: var(--ink); box-shadow: 0 .35em 0 rgba(0,0,0,.35); flex: none; display: flex; flex-direction: column; }
.card .c-pic { position: relative; aspect-ratio: 1 / .92; overflow: hidden; }
.card .c-bg { position: absolute; inset: 0; background: var(--cbg); }
.card .c-bg::after { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 70%, rgba(255,255,255,.35) 0deg 2deg, transparent 2deg 10deg); }
/* nadirlikler: çaylak, yetenekli, usta, efsanevi, mistik, zirve */
.card.r-0 { --cbg: radial-gradient(circle at 50% 70%, #eaffd8, #5fd37c 55%, #1d8a45); --edge: #2fc26b; }
.card.r-1 { --cbg: radial-gradient(circle at 50% 70%, #e6f2ff, #5aa8ff 55%, #1f5fd6); --edge: #2f7ae0; }
.card.r-2 { --cbg: radial-gradient(circle at 50% 70%, #f3e6ff, #a970ff 55%, #5a22b8); --edge: #9b5cff; }
.card.r-3 { --cbg: radial-gradient(circle at 50% 70%, #fff4b0, #ffc21a 55%, #ff7a00); --edge: #ffb800; }
.card.r-4 { --cbg: conic-gradient(from 0deg at 50% 70%, #ff8ad8, #ffd36a, #8affc1, #7ab8ff, #c18aff, #ff8ad8); --edge: #ff6ad5; }
.card.r-5 { --cbg: radial-gradient(circle at 50% 70%, #ffd6a8, #e2382f 50%, #5a0010); --edge: #c4142e; }
.card { box-shadow: 0 0 0 .14em var(--edge), 0 .4em 0 rgba(0,0,0,.35); }
.card.r-3 { box-shadow: 0 0 0 .14em var(--edge), 0 0 .9em rgba(255,190,0,.55), 0 .4em 0 rgba(0,0,0,.35); }
.card.r-4 { animation: prism 3s linear infinite; }
.card.r-4 .c-pic::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, rgba(140,255,230,.35) 50%, rgba(255,160,240,.35) 55%, transparent 70%); background-size: 250% 100%; animation: holo 2.6s linear infinite; mix-blend-mode: screen; }
.card.r-5 { animation: ember 1.6s ease-in-out infinite; }
.card.r-5 .c-pic::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 20% 110%, rgba(255,160,40,.6), transparent 40%), radial-gradient(circle at 80% 110%, rgba(255,90,20,.5), transparent 40%); animation: ember2 1.2s ease-in-out infinite alternate; }
@keyframes prism { 0% { box-shadow: 0 0 0 .14em #ff6ad5, 0 0 .9em #ff6ad5, 0 .4em 0 rgba(0,0,0,.35); } 33% { box-shadow: 0 0 0 .14em #6affd0, 0 0 .9em #6affd0, 0 .4em 0 rgba(0,0,0,.35); } 66% { box-shadow: 0 0 0 .14em #7ab8ff, 0 0 .9em #7ab8ff, 0 .4em 0 rgba(0,0,0,.35); } 100% { box-shadow: 0 0 0 .14em #ff6ad5, 0 0 .9em #ff6ad5, 0 .4em 0 rgba(0,0,0,.35); } }
@keyframes holo { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes ember { 50% { box-shadow: 0 0 0 .14em #ff3b2b, 0 0 1.2em rgba(255,60,20,.8), 0 .4em 0 rgba(0,0,0,.35); } 0%, 100% { box-shadow: 0 0 0 .14em #c4142e, 0 0 .5em rgba(196,20,46,.6), 0 .4em 0 rgba(0,0,0,.35); } }
@keyframes ember2 { to { opacity: .5; transform: translateY(-4%); } }
.card .c-rar { position: absolute; left: .35em; bottom: .3em; z-index: 2; font-size: .58em; font-weight: 900; font-style: italic; letter-spacing: .06em; color: #fff; background: var(--edge); border: .12em solid var(--ink); padding: .1em .45em; border-radius: .35em; transform: skewX(-10deg); text-shadow: .06em .06em 0 rgba(0,0,0,.4); }
.card.r-4 .c-rar { background: linear-gradient(90deg, #ff6ad5, #ffd36a, #6affd0, #7ab8ff); color: var(--ink); text-shadow: none; }
.card .c-skill { position: absolute; right: .3em; bottom: .25em; z-index: 2; width: 1.9em; height: 1.9em; border-radius: 50%; background: rgba(18,13,31,.85); border: .12em solid #fff; display: grid; place-items: center; }
.card .c-skill .sk-ico { width: 1.4em; height: 1.4em; }
.card .c-new { position: absolute; right: -.1em; top: 1.6em; z-index: 4; font-size: .62em; font-weight: 900; font-style: italic; color: var(--ink); background: #8dffb8; border: .14em solid var(--ink); padding: .15em .5em; border-radius: .4em; transform: rotate(8deg); animation: newPop 1.4s ease-in-out infinite; box-shadow: .1em .15em 0 var(--ink); }
.card.mini .c-new { top: .3em; right: .3em; }
@keyframes newPop { 50% { transform: rotate(8deg) scale(1.12); } }
.card.mini .c-rar { display: none; }
.card .c-pic svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.card .c-ovr { position: absolute; left: .35em; top: .3em; text-align: center; line-height: .95; z-index: 2; }
.card .c-ovr b { display: block; font-family: var(--disp); font-weight: 400; font-size: 1.9em; color: var(--ink); text-shadow: .06em .06em 0 #fff, -.06em -.06em 0 #fff, .06em -.06em 0 #fff, -.06em .06em 0 #fff; }
.card .c-ovr span { display: inline-block; font-weight: 900; font-size: .78em; padding: .1em .35em; border-radius: .3em; background: var(--posc); color: #fff; border: .1em solid var(--ink); font-style: italic; }
.card.pos-GK { --posc: #e8a400; } .card.pos-DEF { --posc: #129d5b; } .card.pos-FWD { --posc: #e2382f; }
.card .c-name { background: var(--ink); color: #fff; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: .86em; padding: .35em .5em .3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; border-top: .15em solid var(--edge); }
.card .c-name span { color: var(--yellow); }
.card .c-stats { padding: .35em .55em .45em; display: flex; flex-direction: column; gap: .14em; }
.card .st { display: grid; grid-template-columns: 5.4em 1fr 1.7em; align-items: center; gap: .35em; font-size: .72em; font-weight: 800; }
.card .st span { letter-spacing: .02em; opacity: .75; }
.card .st i { height: .42em; background: #e4e8f2; border-radius: 1em; overflow: hidden; position: relative; }
.card .st i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--bar, #1f5fd6); border-radius: 1em; }
.card .st b { text-align: right; font-weight: 900; font-size: 1.15em; }
.card .st.hot { color: #d01f1f; } .card .st.hot span { opacity: 1; } .card .st.hot i::after { background: linear-gradient(90deg, #ff9a00, #e2382f); }
.card .st .plus { color: #1fb36b; font-size: .9em; }
.card.mini .c-stats { display: none; }
.card.mini .c-name { font-size: .95em; }

.card-back { --w: 120px; width: var(--w); aspect-ratio: 5 / 7.2; border-radius: .9em; font-size: calc(var(--w) * .1); border: .22em solid var(--ink); background: radial-gradient(circle at 50% 45%, #2f7ae0, #0b1a4a 75%); position: relative; overflow: hidden; box-shadow: 0 .35em 0 rgba(0,0,0,.35); display: grid; place-items: center; }
.card-back::before { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 45%, rgba(255,255,255,.18) 0deg 3deg, transparent 3deg 12deg); }
.card-back .mega { --o: .18em; font-size: 2.6em; transform: rotate(-8deg) skewX(-8deg); }
.card-back::after { content: ''; position: absolute; inset: .35em; border: .12em dashed rgba(255,255,255,.4); border-radius: .6em; }

/* formasyon */
.formation { position: relative; height: 330px; border-radius: 14px; border: 3px solid rgba(255,255,255,.2); background: repeating-linear-gradient(180deg, #2f9a3c 0 40px, #39aa46 40px 80px); overflow: hidden; margin-bottom: 12px; flex: none; }
.formation::before { content: ''; position: absolute; left: 20%; right: 20%; bottom: -2px; height: 22%; border: 2px solid rgba(255,255,255,.7); border-bottom: 0; }
.formation::after { content: ''; position: absolute; left: -10%; right: -10%; top: -90px; height: 160px; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; }
.slot { position: absolute; transform: translate(-50%, -50%); z-index: 1; }
.slot .card { --w: 82px; }
.slot:active .card { transform: scale(.95); }
.slot .swap { position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; z-index: 3; }
.slot .swap svg { width: 12px; height: 12px; fill: none; stroke: var(--ink); stroke-width: 3; }
.grid { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; justify-items: center; padding-bottom: 20px; }
.grid .card { --w: min(28vw, 138px); }
.grid .card.in-lineup::before { content: 'KADRODA'; position: absolute; right: .3em; top: .3em; z-index: 3; font-size: .62em; font-weight: 900; background: var(--ink); color: var(--yellow); padding: .2em .45em; border-radius: .3em; }

/* sıralama */
.podium { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin: 6px 0 16px; min-height: 40px; }
.pod { text-align: center; width: 31%; }
.pod .pav { width: 64px; height: 64px; margin: 0 auto -10px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; background: var(--yellow); position: relative; z-index: 1; }
.pod .pbar { border-radius: 10px 10px 0 0; padding: 16px 4px 8px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); border: 2px solid rgba(255,255,255,.2); border-bottom: 0; }
.pod b { display: block; font-size: 13px; font-weight: 900; font-style: italic; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod .pp { font-family: var(--disp); font-size: 20px; color: var(--yellow); }
.pod .medal { font-family: var(--disp); font-size: 28px; }
.pod.p1 .pbar { height: 130px; } .pod.p2 .pbar { height: 100px; } .pod.p3 .pbar { height: 82px; }
.pod.p1 .pav { border-color: var(--yellow); width: 76px; height: 76px; }
.rank-list { flex: none; display: flex; flex-direction: column; gap: 6px; padding-bottom: 20px; }
.rrow { display: grid; grid-template-columns: 34px 38px 1fr auto auto; align-items: center; gap: 10px; padding: 7px 12px 7px 8px; background: rgba(255,255,255,.07); border-radius: 12px; border: 2px solid transparent; }
.rrow.me { border-color: var(--yellow); background: rgba(255,210,26,.14); }
.rrow .rn { font-family: var(--disp); font-size: 18px; text-align: center; opacity: .85; }
.rrow .rav { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--sky); border: 2px solid #fff; }
.rrow .rname { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrow .rwl { font-size: 11px; font-weight: 700; opacity: .7; }
.rrow .rp { font-family: var(--disp); font-size: 18px; color: var(--yellow); min-width: 40px; text-align: right; }
.empty { text-align: center; padding: 30px 10px; opacity: .7; font-weight: 700; }

/* ---------- MAÇ ---------- */
#match { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; background: #04091f; }
.sb { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; padding: calc(6px + var(--safe-t)) 10px 6px; background: linear-gradient(180deg, #0b1a4a, #071036); border-bottom: 3px solid var(--ink); position: relative; z-index: 3; }
.sb-side { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sb-side.opp { justify-content: flex-end; }
.sb-side b { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-av { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; }
.me .sb-av { background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.opp .sb-av { background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.sb-mid { text-align: center; }
.sb-score { font-family: var(--disp); font-size: 30px; line-height: 1; display: flex; gap: 6px; justify-content: center; align-items: center; }
.sb-score span { min-width: 34px; padding: 2px 6px 4px; border-radius: 6px; border: 2px solid var(--ink); }
#sA { background: var(--blue); } #sB { background: var(--red); }
.sb-score i { font-style: normal; opacity: .6; font-size: 20px; }
.sb-score span.pop { animation: pop .6s cubic-bezier(.2,2,.4,1); }
@keyframes pop { 30% { transform: scale(1.6); background: var(--yellow); color: var(--navy); } }
.pips { display: flex; gap: 4px; justify-content: center; margin-top: 4px; }
.pips i { width: 14px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); }
.pips i.cur { background: #fff; animation: blink .8s infinite; }
.pips i.me { background: var(--sky); } .pips i.opp { background: var(--red); } .pips i.none { background: rgba(255,255,255,.4); }
.pips i.et { width: 22px; }
@keyframes blink { 50% { opacity: .35; } }

#stage { position: relative; flex: 1 1 50%; min-height: 0; transition: flex-basis .5s cubic-bezier(.3,.9,.3,1); overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
#match.full #stage { flex-basis: 100%; }
#match.full #panel { flex-basis: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
#caption { position: absolute; left: 12px; top: 12px; max-width: 78%; background: #fff; color: var(--ink); font-weight: 900; font-style: italic; font-size: 14px; padding: 8px 12px; border: 3px solid var(--ink); transform: skewX(-8deg) translateX(-130%); box-shadow: 4px 4px 0 var(--ink); transition: transform .35s cubic-bezier(.2,1.4,.4,1); }
#caption.on { transform: skewX(-8deg) translateX(0); }
#stageTag { position: absolute; right: 10px; bottom: 10px; font-family: var(--disp); font-size: 16px; transform: skewX(-10deg); background: var(--ink); color: var(--yellow); padding: 4px 10px; border-radius: 6px; opacity: 0; transition: opacity .3s; }
#stageTag.on { opacity: 1; }

#panel { flex: 0 1 auto; min-height: 0; max-height: 62%; overflow-y: auto; background: linear-gradient(180deg, #0b1a4a, #04091f); border-top: 3px solid var(--ink); padding: 12px 14px calc(14px + var(--safe-b)); transition: all .5s cubic-bezier(.3,.9,.3,1); position: relative; z-index: 2; }
#panel:empty { display: none; }
.p-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.p-tag { font-weight: 900; font-style: italic; font-size: 12px; letter-spacing: .1em; padding: 4px 10px; border-radius: 4px; transform: skewX(-10deg); background: var(--yellow); color: var(--navy); white-space: nowrap; }
.p-tag.blue { background: var(--blue); color: #fff; } .p-tag.red { background: var(--red); color: #fff; } .p-tag.green { background: var(--green); color: #fff; }
.p-note { font-size: 12px; font-weight: 700; opacity: .75; text-align: right; }
.timer { height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; margin-bottom: 12px; }
.timer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--yellow)); transform-origin: left; animation: timer var(--d, 12s) linear forwards; }
@keyframes timer { to { transform: scaleX(0); } }
.q-text { font-weight: 900; font-size: 19px; line-height: 1.25; margin: 4px 2px 14px; text-wrap: balance; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-opt { position: relative; min-height: 58px; padding: 8px 10px; border-radius: 10px; background: linear-gradient(180deg, #fff, #dce8ff); color: var(--navy); font-weight: 900; font-size: 15px; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); transform: skewX(-6deg); text-align: center; line-height: 1.15; transition: transform .08s; }
.q-opt > span { display: block; transform: skewX(6deg); }
.q-opt:active { transform: skewX(-6deg) translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.q-opt.sel { background: linear-gradient(180deg, #fff27a, #ffc21a); }
.q-opt.ok { background: linear-gradient(180deg, #8dffb8, #1fb36b); color: #fff; animation: pulse .5s; }
.q-opt.bad { background: linear-gradient(180deg, #ffb0a8, #e2382f); color: #fff; animation: shake .4s; }
.q-opt.dim { opacity: .45; }
.q-opt .who { position: absolute; top: -9px; font-size: 10px; font-weight: 900; font-style: italic; padding: 2px 6px; border-radius: 4px; border: 2px solid var(--ink); transform: skewX(6deg); color: #fff; }
.q-opt .who.me { left: 6px; background: var(--blue); } .q-opt .who.opp { right: 6px; background: var(--red); }
.q-opts.locked .q-opt { pointer-events: none; }
@keyframes pulse { 40% { transform: skewX(-6deg) scale(1.08); } }
@keyframes shake { 20%, 60% { transform: skewX(-6deg) translateX(-6px); } 40%, 80% { transform: skewX(-6deg) translateX(6px); } }
.wait { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 13px; opacity: .85; margin-top: 12px; min-height: 18px; }
.wait .dots i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: #fff; animation: dot 1s infinite; }
.wait .dots i:nth-child(2) { animation-delay: .15s; } .wait .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-5px); opacity: .4; } }
.opp-done { color: #8dffb8; }

.sc-info { display: flex; gap: 12px; align-items: center; }
.sc-info .big { font-family: var(--disp); font-size: 24px; transform: skewX(-8deg); text-shadow: 3px 3px 0 var(--red); white-space: nowrap; }
.sc-info p { margin: 2px 0 0; font-size: 13px; font-weight: 700; opacity: .85; }
.roles { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.role-chip { font-size: 11px; font-weight: 900; font-style: italic; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2); }
.role-chip em { font-style: normal; color: var(--yellow); }

/* şans oyunları */
.chance { text-align: center; }
.chance h3 { font-family: var(--disp); font-weight: 400; margin: 2px 0 6px; font-size: 26px; transform: skewX(-8deg); text-shadow: 3px 3px 0 var(--red); }
.chance p { margin: 0 0 10px; font-size: 13px; font-weight: 700; opacity: .8; }
.coin-wrap { perspective: 600px; height: 104px; display: grid; place-items: center; margin-bottom: 10px; }
.coin { width: 96px; height: 96px; position: relative; transform-style: preserve-3d; }
.coin .face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-size: 18px; color: #7a4a00; background: radial-gradient(circle at 35% 30%, #fff6b0, #ffc21a 50%, #c47a00); border: 4px solid #7a4a00; backface-visibility: hidden; box-shadow: inset 0 0 0 5px rgba(255,255,255,.35); }
.coin .back { transform: rotateY(180deg); }
.coin.flip { animation: coinflip 1.8s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes coinflip { 0% { transform: translateY(0) rotateY(0); } 40% { transform: translateY(-50px) rotateY(calc(var(--end) * .5)); } 100% { transform: translateY(0) rotateY(var(--end)); } }
.duo { display: flex; gap: 12px; }
.duo .btn { flex: 1; font-size: 20px; min-height: 56px; }
.dice-row { display: flex; justify-content: center; gap: 30px; margin: 4px 0 12px; }
.die-box { text-align: center; font-weight: 900; font-size: 12px; font-style: italic; }
.die { width: 74px; height: 74px; border-radius: 14px; background: #fff; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 8px; margin: 0 auto 6px; }
.die i { width: 13px; height: 13px; border-radius: 50%; background: var(--ink); place-self: center; visibility: hidden; }
.die.blue i { background: var(--blue); } .die.red i { background: var(--red); }
.die.roll { animation: roll .25s linear infinite; }
@keyframes roll { 25% { transform: rotate(12deg) translateY(-6px); } 75% { transform: rotate(-12deg) translateY(-3px); } }
.wheel-wrap { position: relative; width: 190px; height: 190px; margin: 0 auto 8px; }
.wheel-wrap svg { width: 100%; height: 100%; }
.wheel-wrap .wheel { transition: transform 3.6s cubic-bezier(.15,.85,.25,1); transform-origin: 50% 50%; }
.wheel-wrap .pin { position: absolute; left: 50%; top: -6px; width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 24px solid var(--yellow); transform: translateX(-50%); filter: drop-shadow(0 2px 0 var(--ink)); z-index: 2; }
.wheel-wrap.idle .wheel { animation: idlespin 6s linear infinite; transition: none; }
@keyframes idlespin { to { transform: rotate(360deg); } }
.result-line { font-family: var(--disp); font-size: 20px; margin-top: 8px; transform: skewX(-8deg); animation: slamS .5s cubic-bezier(.2,1.6,.4,1); }
.result-line.good { color: #8dffb8; } .result-line.bad { color: #ff9a8a; } .result-line.mid { color: var(--yellow); }
@keyframes slamS { from { transform: skewX(-8deg) scale(2.2); opacity: 0; } }

/* kart seçimi */
.pk-slots { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; }
.pk-slot { flex: 1; max-width: 190px; border: 2.5px dashed rgba(255,255,255,.35); border-radius: 12px; padding: 6px; display: flex; gap: 8px; align-items: center; min-height: 92px; position: relative; }
.pk-slot.active { border-color: var(--yellow); border-style: solid; box-shadow: 0 0 0 3px rgba(255,210,26,.25); }
.pk-slot.filled { border-style: solid; border-color: #fff; background: rgba(255,255,255,.06); }
.pk-slot .card { --w: 60px; }
.pk-slot .ph { width: 60px; height: 78px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 24px; opacity: .5; flex: none; }
.pk-slot .rl b { display: block; font-family: var(--disp); font-size: 14px; font-weight: 400; color: var(--yellow); }
.pk-slot .rl small { display: block; font-size: 10.5px; font-weight: 700; opacity: .8; line-height: 1.3; }
.pk-slot .rl .pw { font-family: var(--disp); font-size: 22px; margin-top: 2px; }
.pk-slot .rl .pw em { font-style: normal; font-family: var(--body); font-weight: 900; font-size: 11px; color: #8dffb8; }
.pk-hand { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.pk-card { position: relative; transition: transform .15s, opacity .15s; }
.pk-card .card { --w: 82px; }
.pk-card .pv { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%) skewX(-8deg); background: var(--yellow); color: var(--navy); font-family: var(--disp); font-size: 13px; padding: 1px 8px; border-radius: 5px; border: 2px solid var(--ink); white-space: nowrap; z-index: 3; }
.pk-card.off { display: none; }
.pk-card.used { transform: translateY(-6px); opacity: .45; }
.pk-card:not(.off):not(.used):active { transform: scale(.94); }
.pk-card .rel { position: absolute; left: 0; right: 0; top: 3px; display: flex; justify-content: center; z-index: 3; }
.pk-go { width: 100%; font-size: 22px !important; min-height: 54px; }

/* ---------- FX katmanı ---------- */
#fx { position: absolute; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
#fx > * { position: absolute; }
.speed { position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.95) 0deg 1.1deg, transparent 1.1deg 6deg); -webkit-mask: radial-gradient(circle, transparent 18%, #000 52%); mask: radial-gradient(circle, transparent 18%, #000 52%); animation: speedjit .12s steps(2) infinite; }
@keyframes speedjit { 50% { transform: rotate(2deg); } }
.fx-banner { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 45%, #050a2a 100%); animation: bnIn .25s ease-out; }
.fx-banner.out { animation: bnOut .3s ease-in forwards; }
@keyframes bnIn { from { clip-path: polygon(0 45%, 100% 35%, 100% 35%, 0 45%); } to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes bnOut { to { clip-path: polygon(0 60%, 100% 50%, 100% 50%, 0 60%); } }
.fx-banner .mega { --o: 9px; font-size: min(64px, 15vw); transform: rotate(-6deg) skewX(-8deg); animation: slam .45s cubic-bezier(.2,1.7,.4,1) both; }
.fx-banner .fx-sub { margin-top: 18px; font-weight: 900; font-style: italic; font-size: 20px; background: var(--ink); padding: 8px 18px; transform: rotate(-6deg) skewX(-12deg); border: 3px solid #fff; box-shadow: 5px 5px 0 var(--yellow); animation: subIn .5s .15s cubic-bezier(.2,1.5,.4,1) both; letter-spacing: .05em; }
.fx-stripe { position: absolute; left: -10%; right: -10%; top: 50%; height: 150px; margin-top: -80px; background: rgba(5,10,42,.55); transform: rotate(-6deg); border-top: 4px solid #fff; border-bottom: 4px solid #fff; }
@keyframes slam { from { transform: rotate(-6deg) skewX(-8deg) scale(3.2); opacity: 0; } 70% { transform: rotate(-6deg) skewX(-8deg) scale(.92); opacity: 1; } }
@keyframes subIn { from { transform: rotate(-6deg) skewX(-12deg) translateX(120%); } }
.fx-flash { inset: 0; background: #fff; animation: flash .35s ease-out forwards; }
@keyframes flash { to { opacity: 0; } }
.bolt { inset: 0; width: 100%; height: 100%; animation: bolt .45s steps(1) forwards; }
@keyframes bolt { 0% { opacity: 1; } 20% { opacity: 0; } 35% { opacity: 1; } 60% { opacity: .2; } 100% { opacity: 0; } }
.streak { height: 6px; left: -60%; width: 60%; background: linear-gradient(90deg, transparent, #fff 70%, #fff); transform: rotate(-18deg); animation: streak .45s cubic-bezier(.5,0,.8,.5) forwards; border-radius: 4px; }
@keyframes streak { to { left: 130%; } }
.fx-big { inset: 0; display: grid; place-items: center; }
.fx-big .mega { --o: 11px; font-size: min(84px, 19vw); transform: rotate(-8deg) skewX(-10deg); animation: slam .5s cubic-bezier(.2,1.7,.4,1) both, wob .25s .5s 3; }
.fx-big.small .mega { font-size: min(48px, 10.5vw); --o: 8px; }
.fx-big.out { animation: fadeOut .3s forwards; }
@keyframes wob { 50% { transform: rotate(-6deg) skewX(-10deg) scale(1.05); } }
@keyframes fadeOut { to { opacity: 0; transform: scale(1.3); } }
.confetti { width: 9px; height: 14px; top: -20px; animation: fall var(--t, 2.2s) linear forwards; }
@keyframes fall { to { transform: translate(var(--x, 0), 110vh) rotate(var(--r, 720deg)); } }
.boost-pop { left: 50%; top: 42%; font-family: var(--disp); font-size: 34px; color: #8dffb8; -webkit-text-stroke: 2px var(--ink); text-shadow: 0 4px 0 var(--ink); transform: translate(-50%, -50%) skewX(-10deg); animation: bpop 1.4s cubic-bezier(.2,1.5,.4,1) forwards; white-space: nowrap; }
@keyframes bpop { 0% { transform: translate(-50%, -50%) skewX(-10deg) scale(0); } 25% { transform: translate(-50%, -50%) skewX(-10deg) scale(1.2); } 80% { opacity: 1; } 100% { transform: translate(-50%, -120%) skewX(-10deg) scale(1); opacity: 0; } }

/* düello kesiti */
.duel { inset: 0; background: #050a2a; animation: fadeIn .15s; }
.duel.out { animation: duelOut .35s ease-in forwards; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes duelOut { to { opacity: 0; transform: scale(1.15); } }
.dp { position: absolute; inset: 0; overflow: hidden; }
.dp.top { clip-path: polygon(0 0, 100% 0, 100% 41%, 0 55%); animation: dpL .38s cubic-bezier(.2,1.2,.4,1) both; }
.dp.bot { clip-path: polygon(0 59%, 100% 45%, 100% 100%, 0 100%); animation: dpR .38s .12s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes dpL { from { transform: translateX(-100%); } }
@keyframes dpR { from { transform: translateX(100%); } }
.dp .dbg { position: absolute; inset: 0; background: radial-gradient(circle at var(--fx, 30%) var(--fy, 25%), color-mix(in srgb, var(--c) 55%, #fff), var(--c) 40%, color-mix(in srgb, var(--c) 40%, #000) 90%); }
.dp .dbg::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-20deg, rgba(255,255,255,.18) 0 3px, transparent 3px 22px); animation: lines .3s linear infinite; }
@keyframes lines { to { background-position: 60px 0; } }
.dp .dface { position: absolute; width: 74%; aspect-ratio: 1; }
.dp.top .dface { left: -6%; top: 1%; }
.dp.bot .dface { right: -6%; bottom: 0; transform: scaleX(-1); }
.dp .dface svg { width: 100%; height: 100%; filter: drop-shadow(6px 6px 0 rgba(0,0,0,.35)); }
.dp .dinfo { position: absolute; text-align: right; }
.dp.top .dinfo { right: 16px; top: 13%; }
.dp.bot .dinfo { left: 16px; bottom: 11%; text-align: left; }
.dinfo .drole { display: inline-block; font-weight: 900; font-style: italic; font-size: 13px; letter-spacing: .1em; background: var(--ink); padding: 3px 10px; transform: skewX(-12deg); }
.dinfo .dname { font-weight: 900; font-style: italic; font-size: 19px; text-transform: uppercase; margin: 6px 0 2px; text-shadow: 2px 2px 0 var(--ink); }
.dinfo .dstats { font-size: 12px; font-weight: 800; opacity: .9; text-shadow: 1px 1px 0 var(--ink); }
.dinfo .dnum { font-family: var(--disp); font-size: 66px; line-height: 1; color: #fff; -webkit-text-stroke: 3px var(--ink); text-shadow: 0 5px 0 var(--ink); }
.dinfo .dboost { display: inline-block; font-weight: 900; font-size: 13px; background: #1fb36b; border: 2px solid var(--ink); padding: 2px 8px; border-radius: 4px; transform: skewX(-10deg); margin-top: 4px; }
.dp.win .dnum { color: var(--yellow); animation: pulse2 .5s; }
.dp.lose { filter: grayscale(.85) brightness(.6); animation: shake2 .4s; }
@keyframes pulse2 { 40% { transform: scale(1.35); } }
@keyframes shake2 { 20%, 60% { transform: translate(-10px, 4px); } 40%, 80% { transform: translate(10px, -4px); } }
.dvs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); z-index: 3; animation: vsIn .4s .3s cubic-bezier(.2,1.8,.4,1) both; }
.dvs .mega { --o: 8px; font-size: 54px; }
@keyframes vsIn { from { transform: translate(-50%, -50%) rotate(-8deg) scale(0); } }
.dstamp { position: absolute; z-index: 4; animation: stamp .35s cubic-bezier(.2,1.8,.4,1) both; }
.dstamp .mega { --o: 7px; font-size: 40px; }
@keyframes stamp { from { transform: scale(3) rotate(-20deg); opacity: 0; } }
.dtitle { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%) rotate(-8deg); width: 140%; height: 4px; background: #fff; box-shadow: 0 0 20px #fff; }
.crack { position: absolute; inset: 0; z-index: 3; }

/* VS girişi */
.vsi { inset: 0; display: flex; flex-direction: column; background: #050a2a; }
.vsi .half { flex: 1; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; overflow: hidden; }
.vsi .half.a { background: linear-gradient(160deg, #3d8bff, #1f5fd6 50%, #0b1a4a); clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); animation: dpL .4s cubic-bezier(.2,1.2,.4,1) both; }
.vsi .half.b { background: linear-gradient(160deg, #ff7a5a, #e2382f 50%, #4a0a10); clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); margin-top: -8%; animation: dpR .4s .1s cubic-bezier(.2,1.2,.4,1) both; align-items: flex-end; }
.vsi .faces { display: flex; gap: 4px; }
.vsi .faces div { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 3px solid var(--ink); background: rgba(255,255,255,.25); }
.vsi .vname { font-family: var(--disp); font-size: 30px; margin: 8px 0 2px; text-shadow: 3px 3px 0 var(--ink); text-transform: uppercase; }
.vsi .half.b .vname { order: -1; }
.vsi .vtag { font-weight: 900; font-style: italic; font-size: 12px; background: var(--ink); padding: 3px 10px; display: inline-block; letter-spacing: .1em; align-self: flex-start; }
.vsi .half.b .vtag { align-self: flex-end; order: -2; }
.vsi .dvs .mega { font-size: 80px; --o: 10px; }

/* maç sonu & ödül */
.endv { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: auto; background: radial-gradient(circle at 50% 40%, var(--c1), var(--c2) 70%); padding: 20px 16px calc(20px + var(--safe-b)); animation: fadeIn .3s; overflow-y: auto; }
.endv .speed { opacity: .5; }
.endv .eface { width: 200px; height: 200px; position: relative; filter: drop-shadow(0 8px 0 rgba(0,0,0,.35)); animation: slam .5s cubic-bezier(.2,1.6,.4,1) both; }
.endv .eface svg { width: 100%; height: 100%; }
.endv .etitle { position: relative; margin-top: -24px; text-align: center; transform: rotate(-6deg) skewX(-8deg); animation: slam .5s .15s cubic-bezier(.2,1.6,.4,1) both; }
.endv .etitle .mega { --o: 7px; font-size: min(40px, 9.6vw); display: block; }
.endv .escore { position: relative; font-family: var(--disp); font-size: 34px; margin: 14px 0 4px; text-shadow: 3px 3px 0 var(--ink); }
.endv .esub { position: relative; font-weight: 800; font-size: 14px; opacity: .9; text-align: center; margin-bottom: 14px; }
.endv .rw { position: relative; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 6px 0 16px; min-height: 140px; perspective: 800px; }
.flip { position: relative; width: 84px; aspect-ratio: 5 / 7.2; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,1.4,.5,1); cursor: pointer; }
.flip:not(.done):active { transform: scale(.94); }
.flip > div { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip .fb .card-back { --w: 84px; width: 100%; height: 100%; }
.flip .ff { transform: rotateY(180deg); }
.flip .ff .card { --w: 84px; }
.flip.open { transform: rotateY(180deg); }
.flip.picked { z-index: 2; }
.flip.picked.open { transform: rotateY(180deg) scale(1.12) translateY(-8px); }
.flip.picked .ff .card { box-shadow: 0 0 0 4px var(--yellow), 0 0 30px var(--yellow); }
.flip.dim .ff { filter: grayscale(.7) brightness(.7); }
.rw.wiggle .flip:not(.done) { animation: wig 1.6s ease-in-out infinite; }
.rw.wiggle .flip:nth-child(2n) { animation-delay: .3s; }
@keyframes wig { 50% { transform: translateY(-6px) rotate(2deg); } }
.endv .btn { position: relative; min-width: 220px; }

/* ---------- modal ---------- */
#modal { position: absolute; inset: 0; z-index: 60; display: none; place-items: center; background: rgba(2,6,25,.7); backdrop-filter: blur(3px); padding: 16px; }
#modal.on { display: grid; animation: fadeIn .2s; }
.mbox { width: 100%; max-width: 400px; max-height: 88dvh; overflow-y: auto; background: linear-gradient(180deg, #13307e, #0b1a4a); border: 3px solid #fff; border-radius: 18px; padding: 20px 18px 18px; box-shadow: 0 10px 0 rgba(0,0,0,.4), 8px 8px 0 var(--red); text-align: center; position: relative; animation: mIn .35s cubic-bezier(.2,1.5,.4,1); }
@keyframes mIn { from { transform: scale(.7) rotate(-3deg); opacity: 0; } }
.mbox h3 { font-family: var(--disp); font-weight: 400; font-size: 26px; margin: 0 0 8px; transform: skewX(-8deg); text-shadow: 3px 3px 0 var(--red); }
.mbox p { font-weight: 700; font-size: 14px; opacity: .9; margin: 0 0 14px; line-height: 1.4; }
.mbox .btn { width: 100%; margin-top: 10px; }
.mbox .x { position: absolute; z-index: 5; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.12); font-weight: 900; font-size: 16px; }
.inp { width: 100%; font: 900 22px var(--body); text-align: center; padding: 12px; border-radius: 12px; border: 3px solid var(--ink); background: #fff; color: var(--navy); outline: none; text-transform: uppercase; }
.inp.code { font-family: var(--disp); font-size: 34px; letter-spacing: .3em; }
.code-big { font-family: var(--disp); font-size: 54px; letter-spacing: .18em; background: #fff; color: var(--navy); border-radius: 14px; border: 3px solid var(--ink); padding: 8px 0 12px; margin: 6px 0 10px; box-shadow: 0 5px 0 var(--ink); }
.spin-ball { width: 70px; height: 70px; margin: 8px auto 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 30%, #ddd 70%); border: 4px solid var(--ink); position: relative; animation: sball 1s linear infinite; }
.spin-ball::before, .spin-ball::after { content: ''; position: absolute; width: 22px; height: 22px; background: var(--ink); clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
.spin-ball::before { left: 20px; top: 20px; } .spin-ball::after { width: 14px; height: 14px; left: 2px; top: 6px; }
@keyframes sball { to { transform: rotate(360deg); } }
.bigcard { display: flex; justify-content: center; margin-bottom: 6px; }
.bigcard .card { --w: 230px; }
.pick-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; justify-items: center; margin-top: 8px; }
.pick-list .card { --w: 100px; }
.how { text-align: left; font-size: 14px; font-weight: 600; line-height: 1.45; }
.how b { color: var(--yellow); }
.how ol { padding-left: 20px; margin: 6px 0; }
.how li { margin-bottom: 6px; }
.sm { font-size: 12px !important; opacity: .7 !important; }

/* toast */
#toast { position: absolute; left: 50%; top: calc(14px + var(--safe-t)); transform: translate(-50%, -150%); z-index: 80; background: #fff; color: var(--navy); font-weight: 900; font-size: 14px; padding: 10px 16px; border-radius: 10px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .35s cubic-bezier(.2,1.4,.4,1); max-width: 90%; text-align: center; }
#toast.on { transform: translate(-50%, 0); }

@media (max-height: 700px) {
  .logo-1 { font-size: 74px; } .logo-2 { font-size: 36px; }
  .btn-main { font-size: 26px; padding: 8px; }
  .q-text { font-size: 17px; margin-bottom: 10px; }
  .q-opt { min-height: 48px; font-size: 14px; }
}

/* ---------- token, lig ---------- */
.tb-right { display: flex; gap: 8px; align-items: center; }
.tok { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }
.tok-chip { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 6px; border-radius: 22px; background: rgba(8,20,70,.7); border: 2px solid rgba(255,255,255,.25); font-family: var(--disp); font-size: 18px; }
.tok-chip.big { height: 38px; background: rgba(255,255,255,.08); }
.tok-chip .plus { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 16px; line-height: 1; border: 2px solid var(--ink); }
.league-bar { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border-radius: 14px; background: rgba(5,12,45,.82); border: 2px solid var(--lc, #fff); box-shadow: 0 4px 0 rgba(0,0,0,.35); text-align: left; transform: skewX(-6deg); }
.league-bar > * { transform: skewX(6deg); }
.lbadge { flex: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.4)); }
.lb-info { flex: 1; min-width: 0; }
.lb-info b { display: block; font-weight: 900; font-style: italic; font-size: 13px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-info b em { font-style: normal; color: var(--yellow); margin-left: 6px; }
.lb-bar { display: flex; gap: 3px; margin-top: 5px; }
.lb-bar i { flex: 1; height: 8px; border-radius: 3px; background: rgba(255,255,255,.16); position: relative; transition: background .4s; }
.lb-bar i.on { background: var(--lc, var(--yellow)); box-shadow: 0 0 8px var(--lc, var(--yellow)); }
.lb-bar i.gift::after { content: '🎁'; position: absolute; right: -4px; top: -15px; font-size: 11px; }
.lb-pts { font-family: var(--disp); font-size: 18px; }
.lg-list { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.lg-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.06); opacity: .65; }
.lg-row.cur { opacity: 1; background: rgba(255,210,26,.14); border: 2px solid var(--yellow); }
.lg-row.done { opacity: .9; }
.lg-row b { display: block; font-weight: 900; font-style: italic; font-size: 14px; }
.lg-row small { display: block; font-size: 11px; font-weight: 700; opacity: .8; line-height: 1.35; }
.lg-row .ok { margin-left: auto; color: #8dffb8; font-weight: 900; font-size: 18px; }
.elg { position: relative; display: flex; gap: 10px; align-items: center; width: 100%; max-width: 360px; padding: 10px 12px; border-radius: 14px; background: rgba(5,12,45,.75); border: 2px solid var(--lc); margin-bottom: 8px; animation: slamS .5s cubic-bezier(.2,1.6,.4,1); }
.elg .elg-rw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.elg .elg-rw span { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; font-size: 11px; background: rgba(255,255,255,.12); padding: 3px 8px; border-radius: 6px; }
.elg .elg-rw .tok { width: 16px; height: 16px; }
.rrow { grid-template-columns: 30px 38px 1fr auto auto; }
.rrow .rp small { font-size: 11px; opacity: .6; }
.pod .pp { display: flex; justify-content: center; margin-top: 4px; }

/* ---------- antrenman ---------- */
#scr-train { background: linear-gradient(180deg, rgba(8,22,80,.92), rgba(4,9,31,.97)); }
.tr-hero { flex: none; position: relative; border-radius: 16px; padding: 14px; background: linear-gradient(135deg, #1f5fd6, #0b1a4a 70%); border: 3px solid rgba(255,255,255,.25); overflow: hidden; margin-bottom: 10px; box-shadow: 6px 6px 0 var(--red); }
.tr-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-20deg, rgba(255,255,255,.07) 0 3px, transparent 3px 20px); }
.tr-hero > * { position: relative; }
.tr-hero p { margin: 8px 0; font-size: 13px; font-weight: 600; line-height: 1.4; }
.tr-tokens { display: flex; gap: 6px; flex-wrap: wrap; }
.tr-tokens span { opacity: .25; filter: grayscale(1); }
.tr-tokens span.on { opacity: 1; filter: none; animation: tokbob 1.6s ease-in-out infinite; }
.tr-tokens span:nth-child(2) { animation-delay: .2s; } .tr-tokens span:nth-child(3) { animation-delay: .4s; }
.tr-tokens .tok { width: 34px; height: 34px; }
@keyframes tokbob { 50% { transform: translateY(-4px) rotate(-6deg); } }
.tr-reset { font-size: 12px; font-weight: 700; opacity: .85; }
.tr-reset b { font-family: var(--disp); font-weight: 400; color: var(--yellow); letter-spacing: .05em; }
.tr-games { display: flex; gap: 8px; margin-top: 10px; }
.tr-games div { flex: 1; text-align: center; background: rgba(0,0,0,.25); border-radius: 10px; padding: 6px 4px; border: 1.5px solid rgba(255,255,255,.15); }
.tr-games span { display: block; font-size: 20px; }
.tr-games b { font-size: 9.5px; font-weight: 900; font-style: italic; letter-spacing: .04em; }
.tr-card { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tr-card.full .card { filter: grayscale(.6); }
.tr-prog { position: relative; width: 100%; height: 16px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; border: 1.5px solid rgba(255,255,255,.2); }
.tr-prog i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #1fb36b, #8dffb8); }
.tr-prog span { position: relative; font-size: 10px; font-weight: 900; font-style: italic; line-height: 13px; }
.shop { display: flex; flex-direction: column; gap: 10px; }
.pack { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(180deg, #fff, #dce8ff); color: var(--navy); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); text-align: left; }
.pack:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.pack.best { background: linear-gradient(180deg, #fff27a, #ffc21a); }
.pack b { font-family: var(--disp); font-weight: 400; font-size: 18px; }
.pack .price { font-weight: 900; font-size: 15px; }
.pack .demo { position: absolute; right: 8px; bottom: -9px; font-size: 9px; font-weight: 900; background: var(--ink); color: #fff; padding: 2px 6px; border-radius: 4px; }
.pack .pk-badge { position: absolute; left: 10px; top: -10px; font-size: 9px; font-weight: 900; background: var(--red); color: #fff; padding: 2px 8px; border-radius: 4px; border: 2px solid var(--ink); }
.pk-ico { display: flex; } .pk-ico .tok { width: 24px; height: 24px; margin-right: -8px; }

.tg { position: absolute; inset: 0; z-index: 55; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #2f7ae0, #0b1a4a 75%); padding: 16px; overflow: hidden; animation: fadeIn .2s; }
.tg .speed { opacity: .4; }
.tg-intro { position: relative; text-align: center; transform: rotate(-6deg) skewX(-8deg); }
.tg-intro .mega { --o: 8px; font-size: min(52px, 12vw); animation: slam .45s cubic-bezier(.2,1.7,.4,1) both; }
.tg-intro p { font-weight: 900; font-style: italic; font-size: 16px; background: var(--ink); display: inline-block; padding: 6px 14px; margin-top: 14px; border: 2px solid #fff; }
.tg-box { position: relative; width: 100%; max-width: 420px; background: linear-gradient(180deg, #13307e, #0b1a4a); border: 3px solid #fff; border-radius: 18px; padding: 14px; box-shadow: 8px 8px 0 var(--red); }
.tg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
.cups { position: relative; height: 170px; margin: 16px 0 12px; }
.cup { position: absolute; bottom: 10px; width: 26%; transition: left .33s cubic-bezier(.5,0,.5,1), transform .25s; z-index: 2; }
.cup svg { width: 100%; display: block; filter: drop-shadow(0 6px 0 rgba(0,0,0,.35)); }
.cup.up { transform: translateY(-62px) rotate(-6deg); }
.cup.hop { transform: translateY(-16px); } .cup.dip { transform: translateY(6px) scale(.96); }
.tball { position: absolute; bottom: 12px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 40%, #ddd 75%); border: 3px solid var(--ink); z-index: 1; transition: opacity .2s; }
.tball::after { content: ''; position: absolute; left: 9px; top: 8px; width: 12px; height: 12px; background: var(--ink); clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
.diff { display: flex; flex-direction: column; gap: 8px; }
.dimg { border-radius: 10px; overflow: hidden; border: 3px solid var(--ink); cursor: crosshair; }
.dimg svg { display: block; width: 100%; height: auto; }
.dimg.miss { animation: shake .35s; box-shadow: 0 0 0 3px var(--red); }
.tg-res { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tg-res > .mega { --o: 8px; font-size: min(52px, 12vw); transform: rotate(-6deg) skewX(-8deg); animation: slam .45s cubic-bezier(.2,1.7,.4,1) both; }
.tg-res .bigcard .card { --w: 200px; }
.tr-gain { font-family: var(--disp); font-size: 34px; color: #8dffb8; -webkit-text-stroke: 2px var(--ink); text-shadow: 0 4px 0 var(--ink); animation: slamS .5s .3s cubic-bezier(.2,1.6,.4,1) both; }
.tg-res p { font-weight: 800; margin: 0; }

/* ---------- anime efektleri ---------- */
.eyes { inset: 0; background: rgba(5,10,42,.55); animation: fadeIn .1s; }
.eyes.out { animation: fadeOut .2s forwards; }
.eyes .estrip { position: absolute; left: 0; right: 0; top: 36%; height: 26%; background: var(--c); border-top: 5px solid #fff; border-bottom: 5px solid #fff; overflow: hidden; animation: estrip .25s cubic-bezier(.2,1.3,.4,1) both; box-shadow: 0 0 0 4px var(--ink); }
.eyes .estrip svg { width: 100%; height: 100%; display: block; }
.eyes .estrip::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 40px, rgba(255,255,255,.12) 40px 42px); animation: lines .2s linear infinite; }
@keyframes estrip { from { transform: scaleY(0); } }
.eyes .elabel { position: absolute; left: 50%; top: 66%; transform: translateX(-50%) rotate(-4deg) skewX(-10deg); font-family: var(--disp); font-size: 26px; color: #ffb21a; -webkit-text-stroke: 2px var(--ink); text-shadow: 0 0 18px #ff5a00, 0 4px 0 var(--ink); white-space: nowrap; animation: slamS .4s cubic-bezier(.2,1.6,.4,1) both; }
.impact { inset: 0; background: #fff; mix-blend-mode: difference; animation: impact .3s steps(1) forwards; }
@keyframes impact { 0% { opacity: 1; } 30% { opacity: 0; } 50% { opacity: 1; } 70%, 100% { opacity: 0; } }
.say { position: absolute; z-index: 5; transform: translate(-50%, -100%) rotate(-4deg); background: #fff; color: var(--ink); font-weight: 900; font-style: italic; font-size: 14px; padding: 6px 10px; border: 3px solid var(--ink); border-radius: 14px; white-space: nowrap; animation: sayIn .3s cubic-bezier(.2,1.8,.4,1) both, fadeOut .3s 1.2s forwards; pointer-events: none; }
.say::after { content: ''; position: absolute; left: 50%; bottom: -12px; border: 7px solid transparent; border-top-color: var(--ink); transform: translateX(-50%); }
.say.me { background: #dbe9ff; } .say.ref { background: var(--yellow); }
@keyframes sayIn { from { transform: translate(-50%, -100%) scale(0) rotate(-4deg); } }
#nav button span { font-size: 9px; letter-spacing: .08em; }

/* ---------- lig yolu ---------- */
.lv { position: absolute; inset: 0; z-index: 57; display: flex; flex-direction: column; background: #050a2a; animation: fadeIn .25s; }
.lv.out { animation: fadeOut .25s forwards; }
.lv-top { position: relative; flex: none; height: 41%; min-height: 250px; overflow: hidden; border-bottom: 4px solid var(--ink); }
.lv-tunnel { position: absolute; inset: 0; width: 100%; height: 100%; }
.lv-banner { position: absolute; left: 50%; top: calc(34px + var(--safe-t)); transform: translateX(-50%); width: 84%; max-width: 340px; text-align: center; padding: 34px 10px 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--lc) 75%, #fff), var(--lc)); border: 3px solid var(--ink); clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); box-shadow: 0 6px 0 rgba(0,0,0,.35); animation: slamS .5s cubic-bezier(.2,1.6,.4,1) both; }
.lv-banner::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-20deg, rgba(255,255,255,.18) 0 3px, transparent 3px 18px); }
.lv-banner small { position: relative; display: block; font-weight: 900; font-style: italic; font-size: 12px; letter-spacing: .14em; color: var(--ink); }
.lv-banner b { position: relative; display: block; font-family: var(--disp); font-weight: 400; font-size: 24px; color: #fff; -webkit-text-stroke: 1.5px var(--ink); text-shadow: 0 3px 0 var(--ink); transform: skewX(-8deg); padding-bottom: 14px; white-space: nowrap; }
.lv-badge { position: absolute; left: 50%; top: calc(2px + var(--safe-t)); transform: translateX(-50%); z-index: 3; animation: vsIn .5s .2s cubic-bezier(.2,1.8,.4,1) both; }
.lv-ped { position: absolute; bottom: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; animation: slamS .5s .3s cubic-bezier(.2,1.6,.4,1) both; }
.lv-ped.l { left: 4%; } .lv-ped.r { right: 4%; }
.lv-pedbox { display: flex; gap: 4px; padding: 6px 8px; border-radius: 12px; background: rgba(5,10,42,.82); border: 2.5px solid var(--lc); box-shadow: 0 4px 0 rgba(0,0,0,.4); }
.lv-ped span { font-weight: 900; font-style: italic; font-size: 11px; letter-spacing: .1em; background: var(--ink); padding: 2px 8px; border-radius: 4px; }
.rwi { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; }
.rwi .tok, .rwi svg { width: 26px; height: 26px; }
.rwi b { font-family: var(--disp); font-weight: 400; font-size: 13px; color: #fff; text-shadow: 1px 1px 0 var(--ink); }
.rwi .card-back { --w: 24px; border-width: 2px; }
.rwi .card-back .mega { display: none; }
.lv-path { position: relative; flex: 1; overflow-y: auto; scrollbar-width: none; background: radial-gradient(ellipse at 50% 0%, rgba(255,230,140,.25), transparent 50%), linear-gradient(180deg, #0b1a4a, #050a2a); }
.lv-path::-webkit-scrollbar { display: none; }
.lv-strip { position: relative; padding: 0 0 20px; }
.lv-row { display: grid; grid-template-columns: 1fr 46% 1fr; height: 70px; }
.lv-side { display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; background: rgba(255,255,255,.04); border-bottom: 2px solid rgba(0,0,0,.25); }
.lv-side.r { justify-content: flex-start; }
.lv-ball { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.18); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.18), transparent 70%); }
.lv-row.on .lv-ball { border-color: var(--lc); background: radial-gradient(circle at 35% 30%, #fff 0 25%, var(--lc) 70%); box-shadow: 0 0 10px var(--lc); }
.lv-step { position: relative; display: grid; place-items: center; background: #2a8a36; border-left: 4px solid rgba(255,255,255,.75); border-right: 4px solid rgba(255,255,255,.75); }
.lv-row:nth-child(odd) .lv-step { background: #31993e; }
.lv-step::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.35); }
.lv-step span { font-family: var(--disp); font-size: 24px; color: rgba(255,255,255,.55); transform: skewX(-8deg); }
.lv-row.on .lv-step { background: linear-gradient(180deg, color-mix(in srgb, var(--lc) 55%, #3aac47), #2f9a3c); box-shadow: inset 0 0 18px rgba(255,255,255,.25); }
.lv-row.on .lv-step span { color: #fff; text-shadow: 2px 2px 0 var(--ink); }
.lv-row.ms .lv-side { background: rgba(255,210,26,.08); }
.lv-row.start .lv-step span { font-size: 14px; letter-spacing: .15em; }
.lv-row.flash .lv-step { animation: pulse2 .6s; }
.lv-gift { display: flex; gap: 4px; padding: 4px 6px; border-radius: 10px; background: rgba(5,10,42,.8); border: 2px solid var(--lc); }
.lv-gift .rwi .tok, .lv-gift .rwi svg { width: 20px; height: 20px; }
.lv-gift .rwi b { font-size: 11px; }
.lv-tag { font-weight: 900; font-style: italic; font-size: 10px; letter-spacing: .08em; background: var(--yellow); color: var(--navy); padding: 3px 7px; border-radius: 4px; transform: skewX(-10deg); border: 2px solid var(--ink); white-space: nowrap; }
.lv-me { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); z-index: 3; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.lv-av { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: var(--yellow); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--ink), 0 0 22px var(--lc); animation: tokbob 1.6s ease-in-out infinite; }
.lv-me em { margin-top: -6px; font-style: italic; font-weight: 900; font-size: 11px; background: var(--blue); padding: 1px 8px; border-radius: 4px; border: 2px solid var(--ink); }
.lv-foot { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 10px 14px calc(12px + var(--safe-b)); background: #050a2a; border-top: 3px solid var(--ink); }
.lv-btn { justify-self: start; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 12px; background: linear-gradient(180deg, #2a4aa8, #13307e); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); transform: skewX(-8deg); }
.lv-btn > * { transform: skewX(8deg); }
.lv-btn span, .lv-btn small { font-weight: 900; font-style: italic; font-size: 10px; letter-spacing: .08em; }
.lv-btn.next { justify-self: end; background: linear-gradient(180deg, #ffe46a, #ff9a00); color: var(--navy); }
.lv-btn:active { transform: skewX(-8deg) translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.lv-ok { min-width: 130px; font-size: 22px !important; min-height: 52px; }
.lv-modal-rw { display: flex; justify-content: center; gap: 12px; margin-bottom: 4px; }
.lv-modal-rw .rwi .tok, .lv-modal-rw .rwi svg { width: 40px; height: 40px; }
.lv-modal-rw .rwi .card-back { --w: 40px; }

.sk-ico { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex: none; }
.skill-line { display: inline-block; text-align: center; background: rgba(255,255,255,.08); border-radius: 12px; padding: 8px 14px; margin: 0 0 6px !important; }
.skill-line .sk-ico { width: 26px; height: 26px; }
.skill-line small { opacity: .75; font-size: 11px; }
.dinfo .dskill { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; font-style: italic; font-size: 12px; background: rgba(18,13,31,.8); border: 2px solid #fff; padding: 2px 8px 2px 4px; border-radius: 12px; margin-bottom: 4px; }
.dinfo .dskill .sk-ico { width: 18px; height: 18px; }
.pk-card.rest { opacity: .55; filter: grayscale(.8); }
.pk-card.rest .rest-tag { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-10deg); z-index: 4; background: var(--ink); color: var(--yellow); font-weight: 900; font-style: italic; font-size: 10px; padding: 3px 6px; border-radius: 4px; border: 2px solid var(--yellow); white-space: nowrap; }
#nav button { position: relative; }
#nav button.dot::after { content: ''; position: absolute; top: 9px; left: 55%; width: 10px; height: 10px; border-radius: 50%; background: #8dffb8; border: 2px solid var(--ink); animation: newPop 1.4s infinite; }

@keyframes flyUp { 50% { transform: translateY(-.15em); } }
.me-chip .lvl, .exp .lvl { display: inline-block; font-family: var(--disp); font-weight: 400; font-size: 11px; color: var(--navy); background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px; padding: 0 5px; margin-right: 5px; vertical-align: middle; }
.xpbar { display: inline-block; vertical-align: middle; width: 54px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; }
.xpbar > i { display: block; height: 100%; background: linear-gradient(90deg, #1fb36b, #8dffb8); border-radius: 4px; transition: width .6s cubic-bezier(.3,1.2,.5,1); }
.xpbar.big { width: 160px; height: 10px; }
.exp { position: relative; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; animation: slamS .5s .2s cubic-bezier(.2,1.6,.4,1) both; }
.exp b { font-family: var(--disp); font-weight: 400; color: #8dffb8; text-shadow: 2px 2px 0 var(--ink); }

.lvm-head { display: flex; align-items: center; gap: 12px; text-align: left; margin-bottom: 12px; }
.lvm-av { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--yellow); border: 3px solid #fff; flex: none; }
.lvm-head b { display: block; font-weight: 900; font-style: italic; font-size: 18px; text-transform: uppercase; }
.lvm-big { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0 4px; }
.lvm-big .mega { --o: 6px; font-size: 54px; transform: skewX(-8deg); }
.lvm-big small { font-weight: 900; font-style: italic; letter-spacing: .1em; opacity: .8; }
.lvm-bar { height: 16px; border-radius: 8px; background: rgba(255,255,255,.15); overflow: hidden; border: 2px solid var(--ink); }
.lvm-bar i { display: block; height: 100%; background: linear-gradient(90deg, #1fb36b, #8dffb8); }
.lvm-num { font-weight: 800; font-size: 13px; margin: 6px 0 12px; opacity: .9; }
.lvm-tab { width: 100%; border-collapse: collapse; font-size: 13px; font-weight: 700; text-align: left; margin-bottom: 6px; }
.lvm-tab td { padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lvm-tab td:last-child { text-align: right; color: #8dffb8; font-family: var(--disp); font-weight: 400; }
.lvm-stats { display: flex; gap: 8px; margin: 10px 0 4px; }
.lvm-stats div { flex: 1; background: rgba(255,255,255,.08); border-radius: 10px; padding: 8px 4px; }
.lvm-stats b { display: block; font-family: var(--disp); font-weight: 400; font-size: 20px; }
.lvm-stats small { font-size: 10px; font-weight: 900; letter-spacing: .08em; opacity: .7; }

/* rozetler sağ üstte üst üste: KADRODA → UÇUŞTA → YENİ */
.card .c-fly { position: absolute; right: .3em; top: .35em; z-index: 3; display: flex; align-items: center; gap: .2em; font-size: .56em; line-height: 1; font-weight: 900; font-style: italic; letter-spacing: .03em; color: var(--ink); background: linear-gradient(180deg, #e2fff0, #8dffb8); border: .16em solid var(--ink); border-radius: 1em; padding: .12em .55em .12em .15em; box-shadow: 0 0 .7em rgba(141,255,184,.9); animation: flyUp 1.8s ease-in-out infinite; white-space: nowrap; }
.card .c-fly .fly-ico { position: static; flex: none; width: 1.7em; height: 1.7em; display: block; }
.card .c-fly span { display: block; }
.card.in-lineup .c-fly { top: 2.3em; }
.card .c-new { top: 3.4em; }
.card.in-lineup .c-new { top: 5.4em; }
.card.mini .c-fly { top: auto; bottom: .3em; right: .3em; padding: .1em; }
.card.mini .c-fly span { display: none; }
/* kaptan pazubendi */
.card .c-cap { position: absolute; left: .45em; top: 3.15em; z-index: 3; width: 1.5em; height: 1.5em; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: Rubik, sans-serif; font-weight: 900; font-style: normal; font-size: .95em; line-height: 1; padding: 0 0 .06em; box-sizing: border-box; color: var(--ink); background: radial-gradient(circle at 35% 30%, #fff7b0, #ffd21a 60%, #e09a00); border: .14em solid var(--ink); box-shadow: 0 0 .5em rgba(255,210,26,.9); }
.card.mini .c-cap { top: auto; bottom: .3em; left: .3em; }
.grid .card.in-lineup::before { font-size: .5em; padding: .15em .4em; top: .35em; right: .35em; }
/* özellik çubukları mevkiye göre renkli */
.card.pos-FWD { --bar: linear-gradient(90deg, #ff7a6a, #e2382f); --stc: #b8231b; }
.card.pos-DEF { --bar: linear-gradient(90deg, #4fe39a, #129d5b); --stc: #0d7a46; }
.card.pos-GK { --bar: linear-gradient(90deg, #ffd24a, #e8a400); --stc: #a46f00; }
.card .st span { color: var(--stc, inherit); }
.card .c-stats { background: linear-gradient(180deg, color-mix(in srgb, var(--posc) 10%, #fff), #fff 70%); }
.card .st.hot i::after { background: linear-gradient(90deg, #fff27a, #ff9a00, #e2382f); box-shadow: 0 0 .4em #ff9a00; }
/* arka plan ışık desenleri: her karakterin kendi deseni */
.card.bg-1 .c-bg::after { background: repeating-radial-gradient(circle at 50% 72%, rgba(255,255,255,.4) 0 .18em, transparent .18em .9em); }
.card.bg-2 .c-bg::after { background: repeating-linear-gradient(118deg, rgba(255,255,255,.42) 0 .14em, transparent .14em 1em), linear-gradient(180deg, transparent 40%, rgba(255,255,255,.25)); }
.card.bg-3 .c-bg::after { background: radial-gradient(circle, rgba(255,255,255,.55) 28%, transparent 31%) 0 0 / .75em .75em; -webkit-mask: radial-gradient(circle at 50% 70%, #000 10%, transparent 75%); mask: radial-gradient(circle at 50% 70%, #000 10%, transparent 75%); }
.card.bg-4 .c-bg::after { background: repeating-conic-gradient(from -90deg at 50% 105%, rgba(255,255,255,.45) 0deg 7deg, transparent 7deg 22deg); }
.card.bg-5 .c-bg::after { background: repeating-linear-gradient(45deg, rgba(255,255,255,.28) 0 .12em, transparent .12em 1.1em), repeating-linear-gradient(-45deg, rgba(255,255,255,.28) 0 .12em, transparent .12em 1.1em); }
.card.bg-0 .c-bg::after { animation: raySpin 30s linear infinite; transform-origin: 50% 70%; inset: -40%; }
@keyframes raySpin { to { transform: rotate(360deg); } }
.cap-dot { display: inline-flex; align-items: center; justify-content: center; width: 1.4em; height: 1.4em; line-height: 1; border-radius: 50%; font-style: normal; font-family: Rubik, sans-serif; font-weight: 900; font-size: .9em; color: var(--ink); background: radial-gradient(circle at 35% 30%, #fff7b0, #ffd21a 60%, #e09a00); border: 2px solid var(--ink); vertical-align: middle; }
.cap-line { font-size: 13px; font-weight: 800; margin: 6px 0 8px; display: flex; align-items: center; gap: 8px; justify-content: center; }
.cap-btn { width: 100%; font-size: 15px; margin: 6px 0 8px; }
/* ---------- can barları (anime dövüş oyunu tarzı) ---------- */
.sb { grid-template-columns: 1fr 80px 1fr; padding-bottom: 8px; background: linear-gradient(180deg, #0b1a4a, #050c2a); }
.sb::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--yellow) 50%, var(--red)); }
.sb-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.opp .sb-who { align-items: flex-end; text-align: right; }
.sb-who b { font-size: 12px; letter-spacing: .03em; transform: skewX(-10deg); padding: 0 6px; }
.hp { position: relative; width: calc(100% - 6px); height: 20px; margin: 0 3px; transform: skewX(-22deg); background: repeating-linear-gradient(90deg, #2a1640 0 9px, #220f35 9px 10px); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink), inset 0 2px 0 rgba(0,0,0,.5); overflow: hidden; }
.opp .hp { transform: skewX(22deg); box-shadow: -3px 3px 0 var(--ink), inset 0 2px 0 rgba(0,0,0,.5); }
.hp i, .hp em { position: absolute; top: 0; bottom: 0; left: 0; width: var(--hp, 100%); transition: width .5s cubic-bezier(.3,1.3,.5,1); }
.opp .hp i, .opp .hp em { left: auto; right: 0; }
.hp em { background: #ff3b2b; transition: width 1.1s ease .5s; }
.hp i { z-index: 1; background: linear-gradient(180deg, #b8ffd2 0 22%, #2fe07c 23% 60%, #12a456 61%); }
.hp i::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), rgba(0,0,0,.35) calc(10% - 2px) 10%); }
.hp.low i { background: linear-gradient(180deg, #fff2a8 0 22%, #ffc21a 23% 60%, #e08a00 61%); }
.hp.crit i { background: linear-gradient(180deg, #ffc0b0 0 22%, #ff4a3a 23% 60%, #b8160c 61%); animation: blink .6s infinite; }
.hp span { position: absolute; z-index: 2; top: 50%; left: 6px; transform: translateY(-50%) skewX(22deg); font-family: var(--disp); font-size: 15px; line-height: 1; color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke; letter-spacing: .02em; }
.opp .hp span { left: auto; right: 6px; transform: translateY(-50%) skewX(-22deg); }
.hp.hit { animation: hpShake .45s; }
.hp.hit::before { content: ''; position: absolute; inset: 0; z-index: 3; background: #fff; animation: hpFlash .35s forwards; }
@keyframes hpFlash { from { opacity: .9; } to { opacity: 0; } }
@keyframes hpShake { 20% { translate: -5px 2px; } 40% { translate: 5px -2px; } 60% { translate: -3px 1px; } 80% { translate: 2px 0; } }
/* round göstergesi: büyük rakam + çarpan rozeti */
.rd { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.rd small { font-weight: 900; font-style: italic; font-size: 9px; letter-spacing: .2em; color: #9fb4ff; }
.rd b { position: relative; font-family: var(--disp); font-weight: 400; font-size: 34px; line-height: .95; color: var(--yellow); -webkit-text-stroke: 4px var(--ink); paint-order: stroke; text-shadow: 0 3px 0 var(--ink); transform: skewX(-8deg); }
.rd b.pop { animation: rdPop .6s cubic-bezier(.2,2,.4,1); }
@keyframes rdPop { from { transform: scale(2.2) skewX(-8deg); opacity: 0; } }
.rd-row { display: flex; align-items: center; gap: 4px; }
.mx { position: relative; font-family: var(--disp); font-size: 13px; line-height: 1; padding: 3px 5px 4px; border: 2px solid var(--ink); border-radius: 6px; color: #fff; -webkit-text-stroke: 0; transform: rotate(12deg); box-shadow: 2px 2px 0 var(--ink); background: linear-gradient(180deg, #7aa8ff, #1f5fd6); }
.mx.m2 { background: linear-gradient(180deg, #ffd27a, #ff7a00); }
.mx.m3 { background: linear-gradient(180deg, #ff9a6a, #e2382f 60%, #9a0f0a); box-shadow: 2px 2px 0 var(--ink), 0 0 12px #ff5a2a; animation: mxFire .7s ease-in-out infinite alternate; }
.mx.pop { animation: mxPop .5s cubic-bezier(.2,2,.4,1); }
.mx.m3.pop { animation: mxPop .5s cubic-bezier(.2,2,.4,1), mxFire .7s .5s ease-in-out infinite alternate; }
@keyframes mxPop { from { transform: rotate(12deg) scale(0); } }
@keyframes mxFire { to { box-shadow: 2px 2px 0 var(--ink), 0 0 20px #ffb02a; transform: rotate(8deg) scale(1.1); } }
.pips { gap: 3px; margin-top: 3px; }
.pips i { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); border: 2px solid var(--ink); background: #2a3366; }
.pips i.et { width: 11px; height: 11px; }
.dmg-pop { position: absolute; z-index: 60; font-family: var(--disp); font-size: 44px; line-height: 1; pointer-events: none; -webkit-text-stroke: 3px var(--ink); paint-order: stroke; text-shadow: 0 4px 0 var(--ink); animation: dmgFly 1.6s cubic-bezier(.2,1.4,.4,1) forwards; white-space: nowrap; }
.dmg-pop.dmg { color: #ff5a4a; } .dmg-pop.heal { color: #5ff0ff; }
.dmg-pop small { display: block; font-family: Rubik, sans-serif; font-weight: 900; font-style: italic; font-size: 15px; -webkit-text-stroke: 0; text-shadow: 0 2px 0 var(--ink); color: #fff; text-align: center; }
.dmg-pop .capx { color: #ffd21a; }
@keyframes dmgFly { 0% { transform: translate(-50%, 30px) scale(.3); opacity: 0; } 18% { transform: translate(-50%, -10px) scale(1.25); opacity: 1; } 35% { transform: translate(-50%, 0) scale(1); } 80% { opacity: 1; } 100% { transform: translate(-50%, -40px) scale(.9); opacity: 0; } }
/* iskambil kartı */
.pc-row { display: flex; justify-content: center; gap: 28px; margin: 6px 0 12px; }
.pc-box { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 900; font-style: italic; font-size: 13px; }
.pcard { position: relative; width: 74px; height: 104px; perspective: 600px; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.pcard.lift { transform: translateY(-8px) rotate(-3deg); }
.pcard > div { position: absolute; inset: 0; border-radius: 9px; border: 3px solid var(--ink); backface-visibility: hidden; transition: transform .5s ease; box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.pc-back { background: repeating-linear-gradient(45deg, #1f5fd6 0 6px, #3d8bff 6px 12px); }
.pc-back.red { background: repeating-linear-gradient(45deg, #e2382f 0 6px, #ff6a5a 6px 12px); }
.pc-back::after { content: 'UL'; position: absolute; inset: 14px 10px; border-radius: 6px; border: 2px solid #fff; display: grid; place-items: center; font-family: var(--disp); color: #fff; font-size: 18px; }
.pc-face { background: #fffdf5; transform: rotateY(180deg); display: grid; place-items: center; color: var(--ink); }
.pc-face b { position: absolute; left: 6px; top: 4px; font-family: var(--disp); font-size: 20px; line-height: .9; text-align: center; }
.pc-face b i { display: block; font-style: normal; font-size: 15px; }
.pc-face span { font-size: 44px; line-height: 1; }
.pc-face .red { color: #e2382f; }
.pcard.flip .pc-back { transform: rotateY(180deg); }
.pcard.flip .pc-face { transform: rotateY(360deg); }
.pcard.best > div { box-shadow: 0 0 0 4px var(--yellow), 0 0 24px var(--yellow); }
/* refleks butonu */
.react-btn { display: grid; place-items: center; width: 150px; height: 150px; margin: 6px auto 8px; border-radius: 50%; border: 5px solid var(--ink); font-family: var(--disp); font-size: 26px; color: #fff; text-shadow: 0 3px 0 var(--ink); box-shadow: 0 8px 0 var(--ink), inset 0 -10px 0 rgba(0,0,0,.25), inset 0 8px 0 rgba(255,255,255,.3); touch-action: manipulation; user-select: none; -webkit-user-select: none; cursor: pointer; transition: transform .08s; }
.react-btn.wait { background: radial-gradient(circle at 40% 35%, #ff8a7a, #e2382f 60%, #9a1a14); animation: reactPulse 1.1s ease-in-out infinite; }
.react-btn.go { background: radial-gradient(circle at 40% 35%, #b8ffd2, #1fd36b 55%, #0d7a46); box-shadow: 0 8px 0 var(--ink), 0 0 40px #4fff9a, inset 0 -10px 0 rgba(0,0,0,.25), inset 0 8px 0 rgba(255,255,255,.3); transform: scale(1.06); }
.react-btn.early { background: radial-gradient(circle at 40% 35%, #b0b0c0, #5a5a70 60%, #2a2a3a); }
.react-btn.done { transform: translateY(6px); box-shadow: 0 2px 0 var(--ink); }
@keyframes reactPulse { 50% { transform: scale(.96); } }
.escore.hpscore { display: flex; gap: 14px; align-items: center; justify-content: center; }
.escore.hpscore span { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.escore.hpscore small { font-family: Rubik, sans-serif; font-size: 12px; font-weight: 900; letter-spacing: .1em; opacity: .8; }
.endv .ko { font-family: var(--disp); font-size: 30px; color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke; transform: rotate(-4deg); margin: -4px 0 4px; }
.duel .dcap { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-weight: 900; font-style: italic; font-size: 12px; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px; padding: 1px 7px; }
.duel .dcap i { font-style: normal; font-weight: 900; }
/* gizli ödül kartı: yüz + mevki görünür */
.mys { --pc: #888; position: relative; width: 84px; aspect-ratio: 1 / 1.38; border-radius: 9px; border: 3px solid var(--ink); background: linear-gradient(180deg, #2a3466, #121a3d); overflow: hidden; box-shadow: 0 4px 0 rgba(0,0,0,.35); display: flex; flex-direction: column; }
.mys.pos-GK { --pc: #e8a400; } .mys.pos-DEF { --pc: #129d5b; } .mys.pos-FWD { --pc: #e2382f; }
.mys .m-face { flex: 1; background: radial-gradient(circle at 50% 75%, rgba(255,255,255,.25), transparent 70%), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 6px, transparent 6px 12px); position: relative; }
.mys .m-face svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mys .m-pos { position: absolute; left: 4px; top: 4px; font-weight: 900; font-style: italic; font-size: 11px; color: #fff; background: var(--pc); border: 2px solid var(--ink); border-radius: 5px; padding: 0 5px; }
.mys .m-q { display: flex; flex-direction: column; gap: 3px; padding: 6px 7px 7px; background: #0b1030; border-top: 3px solid var(--pc); }
.mys .m-q i { height: 5px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 6px, transparent 6px 9px); }
.mflip { transition: transform .25s, opacity .3s, filter .3s; cursor: pointer; }
.mflip:active { transform: scale(.94); }
.mflip.dim { opacity: .45; filter: grayscale(.7); }
.mflip.picked .mys { box-shadow: 0 0 0 4px var(--yellow), 0 0 26px var(--yellow); }
/* açılış: ekrana doğru büyüyen kart */
.rv { position: fixed; inset: 0; z-index: 70; pointer-events: none; background: rgba(5,8,25,0); transition: background .5s; }
.rv.on { background: rgba(5,8,25,.55); }
.rv.on .rv-card { pointer-events: auto; }
.rv-card { position: absolute; transform: translate(-50%, -50%) scale(.45); transition: left .55s cubic-bezier(.3,1.3,.5,1), top .55s cubic-bezier(.3,1.3,.5,1), transform .55s cubic-bezier(.3,1.5,.5,1); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rv.on .rv-card { left: 50% !important; top: 46% !important; transform: translate(-50%, -50%) scale(1); }
.rv.out { opacity: 0; transition: opacity .3s; }
.rv-card .card { --w: 190px; animation: rvGlow 1.6s ease-in-out infinite alternate; }
@keyframes rvGlow { to { filter: drop-shadow(0 0 14px rgba(255,255,255,.55)); } }
.rv-rar { display: flex; align-items: center; gap: 6px; padding: 4px 14px 4px 8px; border-radius: 30px; border: 3px solid var(--ink); font-weight: 900; font-style: italic; font-size: 18px; letter-spacing: .05em; color: var(--ink); animation: rvPop .6s .5s both cubic-bezier(.2,2,.4,1); }
.rv-rar svg { width: 38px; height: 30px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.4)); animation: rvSpin 2.4s ease-in-out infinite; }
.rv-rar.r3 { background: linear-gradient(180deg, #fff4b0, #ffb800); box-shadow: 0 0 22px #ffb800; }
.rv-rar.r4 { background: linear-gradient(90deg, #ff8ad8, #ffd36a, #8affc1, #7ab8ff); box-shadow: 0 0 22px #ff6ad5; }
.rv-rar.r5 { background: linear-gradient(180deg, #ff8a6a, #c4142e); color: #fff; text-shadow: 0 2px 0 var(--ink); box-shadow: 0 0 26px #ff3b2b; }
@keyframes rvPop { from { transform: scale(0) rotate(-20deg); } to { transform: none; } }
@keyframes rvSpin { 50% { transform: rotate(-10deg) scale(1.12); } }
.rv-msg { max-width: 260px; text-align: center; font-weight: 800; font-size: 14px; margin: 0; text-shadow: 0 2px 0 rgba(0,0,0,.6); }
/* ---------- top yuvaları ---------- */
.chests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.ch-slot { position: relative; height: 70px; border-radius: 12px; border: 3px solid var(--ink); background: linear-gradient(180deg, rgba(20,40,110,.9), rgba(8,16,54,.95)); box-shadow: 0 4px 0 rgba(0,0,0,.4), inset 0 2px 0 rgba(255,255,255,.12); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 3px 2px 4px; color: #fff; overflow: hidden; }
.ch-slot.empty { background: linear-gradient(180deg, rgba(10,22,70,.92), rgba(6,12,44,.95)); border-style: dashed; border-color: rgba(255,255,255,.4); box-shadow: inset 0 0 0 2px rgba(0,0,0,.3); justify-content: center; gap: 2px; }
.ch-slot.empty::before { content: ''; width: 26px; height: 26px; border-radius: 50%; border: 3px dashed rgba(255,255,255,.3); }
.ch-slot.empty span { font-size: 10px; font-weight: 900; opacity: .6; letter-spacing: .1em; }
.ch-slot .ball-svg { position: absolute; top: 3px; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 3px 0 rgba(0,0,0,.4)); }
.ch-slot small { position: relative; font-size: 9px; font-weight: 900; letter-spacing: .06em; opacity: .85; }
.ch-slot b { position: relative; font-size: 11px; font-weight: 900; font-style: italic; line-height: 1.1; }
.ch-slot b.go { color: var(--yellow); } .ch-slot b.q { opacity: .6; } .ch-slot b.ok { color: #8dffb8; }
.ch-slot.run { background: linear-gradient(180deg, #1d4fb8, #0b1a4a); }
.ch-slot.ready { background: linear-gradient(180deg, #1fd36b, #0d7a46); animation: chReady 1s ease-in-out infinite; }
.ch-slot.ready .ball-svg { animation: chBob .8s ease-in-out infinite; }
@keyframes chReady { 50% { box-shadow: 0 4px 0 rgba(0,0,0,.4), 0 0 18px #8dffb8; } }
@keyframes chBob { 50% { transform: translateX(-50%) translateY(-3px) rotate(8deg); } }
.ch-big { display: flex; justify-content: center; margin: -6px 0 2px; animation: chBob2 2s ease-in-out infinite; }
@keyframes chBob2 { 50% { transform: translateY(-6px) rotate(-5deg); } }
.ch-odds { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 6px 0; }
.ch-odds span { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; font-size: 13px; background: rgba(255,255,255,.1); border-radius: 8px; padding: 4px 8px; }
.ch-odds .tok { width: 16px; height: 16px; }
.ech { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0; font-weight: 900; font-style: italic; font-size: 16px; color: var(--yellow); text-shadow: 0 2px 0 var(--ink); animation: rvPop .6s .8s both cubic-bezier(.2,2,.4,1); }
.ech.full { color: #ffb3a8; font-size: 13px; font-style: normal; max-width: 280px; margin: 4px auto; }
/* top açılışı */
.cho { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle at 50% 45%, #1d3a8a, #050a22 75%); padding: 20px 16px calc(20px + var(--safe-b, 0px)); overflow: hidden; }
.cho.out { opacity: 0; transition: opacity .25s; }
.cho-rays { position: absolute; left: 50%; top: 42%; width: 200vmax; height: 200vmax; transform: translate(-50%, -50%); background: repeating-conic-gradient(rgba(255,255,255,.07) 0 8deg, transparent 8deg 20deg); animation: raySpin 20s linear infinite; opacity: .4; transition: opacity .5s; }
.cho.lit .cho-rays { opacity: 1; background: repeating-conic-gradient(rgba(255,230,140,.18) 0 8deg, transparent 8deg 20deg); }
.cho-title { position: relative; font-size: 34px; }
.cho-ball { position: relative; width: 170px; height: 170px; cursor: pointer; }
.cho-ball .h { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2,1.2,.4,1), opacity .6s; }
.cho-ball .h.top { clip-path: inset(0 0 50% 0); } .cho-ball .h.bot { clip-path: inset(50% 0 0 0); }
.cho-ball.wob { animation: chWob .45s; }
@keyframes chWob { 20% { transform: rotate(-14deg) scale(1.06); } 45% { transform: rotate(12deg); } 70% { transform: rotate(-6deg); } }
.cho-ball.pop .h.top { transform: translate(-30px, -120px) rotate(-40deg); opacity: 0; }
.cho-ball.pop .h.bot { transform: translate(30px, 120px) rotate(30deg); opacity: 0; }
.cho-ball.pop { pointer-events: none; height: 0; transition: height .5s .3s; }
.cho-hint { position: relative; font-weight: 900; font-style: italic; font-size: 18px; animation: blink 1s infinite; margin: 0; }
.cho-items { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; max-width: 360px; }
.cho-it { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; border: 3px solid var(--ink); background: linear-gradient(180deg, #ffffff, #dfe7f7); color: var(--ink); font-weight: 900; font-size: 17px; box-shadow: 0 4px 0 rgba(0,0,0,.4); animation: rvPop .5s both cubic-bezier(.2,2,.4,1); }
.cho-it .tok { width: 28px; height: 28px; }
.cho-it .bz { font-size: 24px; }
.cho-it small { display: block; font-size: 13px; color: #0d7a46; }
.cho-it.card-it { padding: 0; border: 0; background: none; box-shadow: none; }
.cho-it.card-it .card { --w: 140px; }
.cho-it.card-it.r3 .card, .cho-it.card-it.r4 .card, .cho-it.card-it.r5 .card { filter: drop-shadow(0 0 16px rgba(255,220,120,.8)); }
/* 4 kapalı kart masası */
.pc-table { display: flex; justify-content: center; gap: 8px; margin: 8px 0 6px; }
.pc-table .pcard { width: 66px; height: 94px; padding: 0; background: none; border: 0; transform: rotate(var(--r)); cursor: pointer; }
.pc-table .pcard:hover:not(.flip) { transform: rotate(var(--r)) translateY(-6px); }
.pc-table.locked .pcard { cursor: default; }
.pc-table .pcard.mine { transform: rotate(0) translateY(-12px) scale(1.06); }
.pc-table .pcard.mine > div { box-shadow: 0 0 0 3px var(--sky), 0 6px 0 rgba(0,0,0,.35); }
.pc-table .pcard.lift { transform: rotate(0) translateY(-10px); }
.pc-table .pcard.dim > div { filter: grayscale(.6) brightness(.75); }
.pc-table .pc-face span { font-size: 36px; }
.pc-who { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); z-index: 3; font-size: 10px; font-weight: 900; font-style: italic; color: #fff; padding: 1px 6px; border-radius: 5px; border: 2px solid var(--ink); }
.pc-who.me { background: var(--blue); } .pc-who.opp { background: var(--red); }
.mflip .lost-card { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.mflip .lost-card .card { --w: 84px; box-shadow: 0 0 0 3px #ff6a5a, 0 0 18px rgba(255,90,74,.7); }
.ball-shop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ball-shop .bs { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; border-radius: 12px; border: 3px solid var(--ink); background: linear-gradient(180deg, #1d3a8a, #0b1a4a); color: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.4); }
.ball-shop .bs b { font-weight: 900; font-style: italic; font-size: 14px; }
.ball-shop .bs small { font-size: 10px; opacity: .75; font-weight: 700; text-align: center; }
.ball-shop .bs span { display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; font-weight: 900; font-size: 15px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 1px 8px; }
.ball-shop .bs span .tok { width: 16px; height: 16px; }
.ball-shop .bs.poor { filter: grayscale(.6); opacity: .7; }
.pc-table .pcard.taken { transform: rotate(var(--r)) translateY(-8px); cursor: not-allowed; }
.pc-table .pcard.taken > div { box-shadow: 0 0 0 3px var(--red), 0 6px 0 rgba(0,0,0,.35); }

.dinfo .dform { font-size: 11px; font-weight: 800; font-style: italic; opacity: .8; margin-top: -2px; }
/* skor tablosundaki isimler kutudan taşmasın */
.sb-who b { max-width: 100%; }
/* alt yazı kaybolurken kaymasın, sönsün */
#caption { transition: transform .35s cubic-bezier(.2,1.4,.4,1), opacity .25s; opacity: 0; }
#caption.on { opacity: 1; }
/* kart seçiminde uzun rol isimleri */
.pk-slot .rl b { display: block; max-width: 100%; overflow-wrap: anywhere; line-height: 1; }
.pk-slot .rl b.long { font-size: 11px; }
.pk-slot .rl b.xlong { font-size: 9.5px; }

/* kaptan gücü düğmesi */
.cap-power { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 4px 0 8px; padding: 9px 10px; border-radius: 12px; border: 3px dashed rgba(255,210,26,.7); background: rgba(255,210,26,.08); color: var(--yellow); font-weight: 900; font-style: italic; font-size: 13px; }
.cap-power.on { border-style: solid; border-color: var(--ink); background: linear-gradient(180deg, #fff27a, #ffc21a); color: var(--ink); box-shadow: 0 0 18px rgba(255,210,26,.8), 0 4px 0 var(--ink); animation: pop .4s; }
.pk-slot .rl .pw small { display: block; font-family: Rubik, sans-serif; font-weight: 900; font-size: 9px; letter-spacing: .15em; opacity: .7; margin-bottom: -2px; }
/* aynı kart rozeti + birleştirme */
.card .c-twin { position: absolute; left: .35em; bottom: 1.7em; z-index: 3; font-family: Rubik, sans-serif; font-weight: 900; font-size: .7em; line-height: 1; color: #fff; background: var(--blue); border: .14em solid var(--ink); border-radius: .5em; padding: .15em .4em; box-shadow: .1em .15em 0 var(--ink); }
.merge-btn { width: 100%; font-size: 15px; margin: 6px 0; }
.mg-row { display: flex; align-items: center; justify-content: center; gap: 6px; }
.mg-row .card { --w: 104px; }
.mg-plus { font-family: var(--disp); font-size: 26px; color: var(--yellow); }
.mg-arrow { text-align: center; color: var(--yellow); font-size: 18px; margin: 2px 0; }
.mg-res { display: flex; justify-content: center; margin-bottom: 8px; }
.mg-res .card { --w: 150px; }
.pk-slot .rl .pw em { display: block; font-size: 10px; line-height: 1; margin-top: 1px; }
.cap-power { margin: 2px 0 6px; padding: 7px 10px; }

/* özel hareket ikonu yuvarlağın tam ortasında */
.card .c-skill .sk-ico { position: static; display: block; width: 1.4em; height: 1.4em; margin: auto; }
/* sıralama ekranı: öğeler sıkışıp üstü kaybolmasın */
#scr-rank > * { flex: none; }
.podium { padding-top: 6px; }
/* antrenman barındaki yazı ortada */
.tr-prog { display: grid; place-items: center; }
.tr-prog span { z-index: 1; line-height: 1; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.7); }
/* sıralama çubuğu */
.sortbar { display: flex; align-items: center; gap: 6px; margin: -2px 0 10px; }
.sortbar span { font-size: 10px; font-weight: 900; letter-spacing: .12em; opacity: .6; margin-right: 2px; }
.sortbar button { font-weight: 900; font-style: italic; font-size: 11px; padding: 5px 10px; border-radius: 14px; border: 2px solid rgba(255,255,255,.2); }
.sortbar button.on { background: var(--sky); border-color: var(--sky); }
/* aynı kart yığını */
.grid .stack { position: relative; padding: 0; background: none; border: 0; width: min(28vw, 138px); justify-self: center; margin-top: calc((var(--n) - 1) * 5px); }
.grid .stack .card { --w: min(28vw, 138px); }
.grid .stack .st-top { position: relative; z-index: 3; }
.grid .stack .st-back { position: absolute; inset: 0; z-index: calc(3 - var(--i)); transform: translate(calc(var(--i) * 5px), calc(var(--i) * -5px)) rotate(calc(var(--i) * 3deg)); filter: brightness(.7); pointer-events: none; }
.grid .stack:active .st-top { transform: scale(.96); }
.grid .unstack { position: relative; animation: unstack .35s var(--d) both cubic-bezier(.2,1.5,.4,1); justify-self: center; }
.grid .unstack .card { --w: min(28vw, 138px); box-shadow: 0 0 0 .14em var(--edge), 0 0 0 .4em rgba(61,139,255,.35), 0 .4em 0 rgba(0,0,0,.35); }
.grid .restack { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); z-index: 6; font-size: 10px; font-weight: 900; padding: 2px 8px; border-radius: 10px; background: var(--sky); border: 2px solid var(--ink); white-space: nowrap; }
@keyframes unstack { from { transform: translate(-30px, -6px) scale(.85) rotate(-6deg); opacity: 0; } }
/* ödülde kilitli kaptan */
.mlock { position: relative; opacity: .8; filter: grayscale(.4); }
.mlock .ml-ico { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: rgba(5,8,25,.45); border-radius: 9px; }
.mlock .ml-ico svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.5)); }
.mlock .ml-ico b { font-size: 10px; font-weight: 900; letter-spacing: .08em; color: var(--yellow); text-shadow: 0 1px 0 #000; }

/* ---------- mağaza ---------- */
#scr-shop { background: linear-gradient(180deg, rgba(40,14,80,.92), rgba(4,9,31,.97)); }
#scr-shop > * { flex: none; }
.sh-sec { margin-bottom: 16px; }
.sh-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sh-h b { font-family: var(--disp); font-weight: 400; font-size: 18px; color: var(--yellow); }
.sh-h span { font-size: 11px; font-weight: 700; opacity: .7; }
.sh-h i { font-style: normal; font-weight: 900; }
.sh-offer { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; border: 3px solid var(--ink); background: radial-gradient(circle at 25% 50%, rgba(255,210,26,.25), transparent 60%), linear-gradient(180deg, #1d2a6b, #0b1440); box-shadow: 0 5px 0 rgba(0,0,0,.4); }
.sh-card { position: relative; flex: none; }
.sh-card .card { --w: 128px; }
.sh-sold { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--disp); font-size: 24px; color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke; transform: rotate(-14deg); }
.sh-offer.sold .sh-card .card { filter: grayscale(.8) brightness(.7); }
.sh-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sh-info b { font-weight: 900; font-style: italic; font-size: 18px; }
.sh-info small { font-size: 12px; font-weight: 700; opacity: .85; display: flex; align-items: center; gap: 4px; }
.sh-info small .sk-ico { width: 16px; height: 16px; }
.sh-buy { margin-top: 6px; font-size: 22px; }
.sh-buy span { display: inline-flex; align-items: center; gap: 6px; }
.sh-buy .tok { width: 24px; height: 24px; }
.sh-h b { white-space: nowrap; } .sh-h span { text-align: right; }
.rrow .rwl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rrow > div:nth-child(3) { min-width: 0; }

.tr-tokens { align-items: center; }
.tr-more { font-style: normal; font-family: var(--disp); font-size: 22px; color: var(--yellow); -webkit-text-stroke: 2px var(--ink); paint-order: stroke; margin-left: 2px; }
.cho-it .bz-t { color: #5a6380 !important; font-size: 10px !important; letter-spacing: .06em; }
/* günün kartı */
.sh-offer { align-items: stretch; }
.sh-info { flex: 1; justify-content: center; gap: 6px; }
.sh-rar { align-self: flex-start; font-weight: 900; font-style: italic; font-size: 13px; letter-spacing: .06em; padding: 2px 10px; border-radius: 8px; border: 2px solid var(--ink); background: var(--rc); color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.5); transform: skewX(-8deg); }
.sh-name { font-family: var(--disp); font-size: 20px; line-height: 1.05; }
.sh-meta { display: flex; gap: 8px; font-size: 11px; font-weight: 800; opacity: .85; }
.sh-meta b { color: var(--yellow); font-size: 13px; }
.sh-top { display: flex; flex-direction: column; gap: 3px; }
.sh-top span { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.08); }
.sh-top b { color: #8dffb8; }
.sh-skill { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 900; color: var(--yellow); }
.sh-skill .sk-ico { width: 18px; height: 18px; }
.sh-own { font-size: 10.5px; font-weight: 700; opacity: .7; line-height: 1.3; }
.sh-buy { width: 100%; margin-top: 10px; }
/* Mistik/Zirve kenar animasyonu her yeniden çizimde baştan başlamasın: saate bağlı faz */
.card.r-4, .card.r-5, .card.r-4 .c-pic::after, .card.r-5 .c-pic::after { animation-delay: var(--ad, 0s); }

/* ---------- günün kartı vitrini ---------- */
.sh-stage { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 14px 14px; border-radius: 18px; border: 3px solid var(--ink); background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--rc) 45%, transparent), transparent 60%), linear-gradient(180deg, #1d2a6b, #0b1440); box-shadow: 0 5px 0 rgba(0,0,0,.4); }
.sh-rays { position: absolute; left: 50%; top: 42%; width: 200%; aspect-ratio: 1; transform: translate(-50%, -50%); background: repeating-conic-gradient(color-mix(in srgb, var(--rc) 22%, transparent) 0 9deg, transparent 9deg 22deg); animation: raySpin 26s linear infinite; pointer-events: none; }
.sh-ribbon { position: relative; font-weight: 900; font-style: italic; font-size: 13px; letter-spacing: .06em; color: #fff; padding: 4px 16px; background: var(--rc); border: 2px solid var(--ink); transform: skewX(-12deg); text-shadow: 0 1px 0 rgba(0,0,0,.5); box-shadow: 3px 3px 0 var(--ink); }
.sh-stage .sh-card { position: relative; animation: shFloat 3s ease-in-out infinite; }
.sh-stage .sh-card .card { --w: 150px; }
@keyframes shFloat { 50% { transform: translateY(-6px) rotate(1.5deg); } }
.sh-stage.sold .sh-card { animation: none; }
.sh-stage.sold .sh-card .card { filter: grayscale(.8) brightness(.7); }
.sh-verdict { position: relative; font-size: 12px; font-weight: 800; text-align: center; padding: 6px 12px; border-radius: 10px; background: rgba(0,0,0,.35); line-height: 1.3; }
.sh-verdict.up { color: #8dffb8; } .sh-verdict.own { color: #9fd0ff; } .sh-verdict.down { color: #ffd0c4; }
.sh-stage .sh-buy { position: relative; margin-top: 2px; }
/* ---------- toptan iyi kart ---------- */
.hype-ov { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(3,5,18,.88); animation: fadeIn .25s; cursor: pointer; }
.hype-ov.out { opacity: 0; transition: opacity .25s; }
.hype-rays { position: absolute; left: 50%; top: 50%; width: 240vmax; height: 240vmax; transform: translate(-50%, -50%); background: repeating-conic-gradient(color-mix(in srgb, var(--rc) 55%, transparent) 0 7deg, transparent 7deg 18deg); animation: raySpin 6s linear infinite; }
.hype-glow { position: absolute; left: 50%; top: 52%; width: 340px; height: 340px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rc) 85%, white), transparent 65%); animation: hypePulse 1s ease-in-out infinite alternate; }
.hype-title { position: relative; font-size: 46px; animation: slam .5s cubic-bezier(.2,1.7,.4,1) both; }
.hype-card { position: relative; perspective: 800px; animation: hypeIn .9s cubic-bezier(.2,1.3,.4,1) both; }
.hype-card .card { --w: 200px; animation: hypeTilt 2.2s .9s ease-in-out infinite; }
.hype-ov.r5 .hype-card .card { animation: hypeTilt 1.6s .9s ease-in-out infinite, hypeShake .12s .9s 6; }
.hype-tap { position: relative; margin: 0; font-weight: 900; font-style: italic; opacity: .7; animation: blink 1s infinite; }
@keyframes hypeIn { 0% { transform: scale(.2) rotateY(900deg); opacity: 0; } 70% { transform: scale(1.15) rotateY(-10deg); opacity: 1; } 100% { transform: scale(1) rotateY(0); } }
@keyframes hypeTilt { 0%, 100% { transform: rotateY(-12deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(12deg) rotateX(-4deg) translateY(-8px); } }
@keyframes hypeShake { 50% { translate: 3px -2px; } }
@keyframes hypePulse { to { transform: translate(-50%, -50%) scale(1.15); opacity: .7; } }
/* sonuç listesinde de canlı kalsın */
.cho-it.card-it.hype .card { animation: shFloat 2.4s ease-in-out infinite; }
.cho-it.card-it.hype { position: relative; }
.cho-it.card-it.hype::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(255,230,140,.55), transparent 70%); animation: hypePulse 1.2s ease-in-out infinite alternate; z-index: -1; }
/* sıralama kürsüsü: 3. sıradaki lig ikonu listeye yapışmasın */
.pod.p1 .pbar { height: 140px; } .pod.p2 .pbar { height: 118px; } .pod.p3 .pbar { height: 104px; }
.podium { margin-bottom: 22px; }
.hype-ov { gap: 26px; } .hype-title { margin-bottom: 4px; }
.pod .pbar { height: auto !important; padding-bottom: 12px; } .pod.p1 .pbar { min-height: 146px; } .pod.p2 .pbar { min-height: 124px; } .pod.p3 .pbar { min-height: 112px; }

/* dönen ışınlar ortada kalsın (translate + rotate birlikte) */
@keyframes raySpinC { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.cho-rays { animation: raySpinC 20s linear infinite; will-change: transform; }
.sh-rays { animation: raySpinC 26s linear infinite; will-change: transform; }
.hype-rays { width: 170vmax; height: 170vmax; animation: raySpinC 6s linear infinite; will-change: transform; }
.hype-card, .hype-card .card { will-change: transform; }
/* büyük başlıkların dış çizgisi yazı boyutuna uygun olsun */
.cho-title .mega { --o: 5px; }
.hype-title .mega { --o: 6px; }
.tg-res .mega { --o: 7px; }
/* kadro: kartlar birbirine değmesin */
.formation { height: 350px; }
.slot .card { --w: 80px; }
/* kaptan rozeti daha belirgin */
.card .c-cap { width: 1.8em; height: 1.8em; font-size: 1.05em; border-width: .16em; box-shadow: 0 0 0 .12em #fff, 0 0 .8em rgba(255,210,26,1); animation: capGlow 1.6s ease-in-out infinite; }
.card.mini .c-cap { width: 2em; height: 2em; font-size: 1.15em; top: auto; bottom: .25em; left: .25em; }
@keyframes capGlow { 50% { box-shadow: 0 0 0 .12em #fff, 0 0 1.4em rgba(255,210,26,1); } }

/* iyi kart açılışı (sade): önce yazı, sonra kart büyüyerek gelir */
.hype-rays { display: none; }
.hype-ov { gap: 18px; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--rc) 30%, #05081c), #03050f 70%); }
.hype-glow { opacity: 0; transition: opacity .4s; animation: none; }
.hype-ov.show-card .hype-glow { opacity: 1; }
.hype-title { transform: translateY(150px); transition: transform .55s cubic-bezier(.2,1.3,.4,1); animation: slam .5s cubic-bezier(.2,1.7,.4,1) both; }
.hype-ov.show-card .hype-title { transform: none; }
.hype-card { animation: none; opacity: 0; transform: scale(.15); transition: transform .65s cubic-bezier(.2,1.35,.4,1), opacity .2s; }
.hype-ov.show-card .hype-card { opacity: 1; transform: scale(1); }
.hype-card .card, .hype-ov.r5 .hype-card .card { animation: none; }
.hype-tap { opacity: 0; animation: none; }
.hype-ov.ready .hype-tap { opacity: .7; animation: blink 1s infinite; }
/* sonuç listesinde kartlar sakin: animasyon yok */
.cho-it.card-it { animation: none; }
.cho-it.card-it.hype .card { animation: none; }
.cho-it.card-it.hype::before { display: none; }
.hype-title { animation: none; } .hype-title .mega { animation: slam .5s cubic-bezier(.2,1.7,.4,1) both; }

/* ---------- lig ekranı sadeleştirme ---------- */
.lv-ped { display: none; }
.lv-banner { padding-top: 32px; }
.lv-rules { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; animation: slamS .5s .3s cubic-bezier(.2,1.6,.4,1) both; }
.lv-pts { display: flex; align-items: baseline; gap: 6px; padding: 2px 16px 4px; border-radius: 12px; background: rgba(5,10,42,.85); border: 3px solid var(--lc); box-shadow: 0 4px 0 rgba(0,0,0,.4); }
.lv-pts b { font-family: var(--disp); font-weight: 400; font-size: 30px; color: #fff; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke; }
.lv-pts small { font-weight: 900; font-style: italic; font-size: 12px; letter-spacing: .1em; opacity: .85; }
.lv-rule { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 0 10px; }
.lv-rule span { font-weight: 900; font-style: italic; font-size: 10px; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; background: rgba(5,10,42,.85); border: 2px solid rgba(255,255,255,.2); white-space: nowrap; }
.lv-rule span.w b { color: #8dffb8; } .lv-rule span.l b { color: #ff8a7a; }
/* ödül ikonlarının altında ne olduğu yazsın */
.rwi small { font-size: 8px; font-weight: 900; letter-spacing: .06em; opacity: .75; margin-top: -1px; }
.lv-gift { gap: 8px; padding: 5px 8px; }
/* yol basamakları lig renginde */
.lv-step { background: color-mix(in srgb, var(--lc) 26%, #0d1a4a); border-left-color: color-mix(in srgb, var(--lc) 55%, #fff); border-right-color: color-mix(in srgb, var(--lc) 55%, #fff); }
.lv-row:nth-child(odd) .lv-step { background: color-mix(in srgb, var(--lc) 32%, #0d1a4a); }
.lv-row.on .lv-step { background: linear-gradient(180deg, color-mix(in srgb, var(--lc) 90%, #fff), var(--lc)); box-shadow: inset 0 0 18px rgba(255,255,255,.3); }
.lv-row.on:nth-child(odd) .lv-step { background: linear-gradient(180deg, var(--lc), color-mix(in srgb, var(--lc) 80%, #000)); }
.lv-row.on .lv-step span { color: #fff; -webkit-text-stroke: 1px var(--ink); paint-order: stroke; text-shadow: 2px 2px 0 var(--ink); }

/* Ç/Ş çengeli satır kutusunun altına taşıyor: renkli katman da oraya kadar uzansın */
.mega::after { padding-bottom: .28em; background: var(--grad, linear-gradient(180deg, #fff7b0 0%, #ffd21a 42%, #ff8a00 58%, #ff4a1a 100%)) top / 100% 1em no-repeat, var(--gend, #ff4a1a); -webkit-background-clip: text; background-clip: text; }
.mega.red { --gend: #8a0a10; } .mega.blue { --gend: #0d2f8a; } .mega.white { --gend: #cfe0ff; }
/* maç sonu skorundaki "CAN" yazısı çift görünmesin */
.escore.hpscore small { text-shadow: 1px 1px 0 var(--ink); margin-top: 2px; }
/* antrenman filtreleri */
.tr-chips { margin: -4px 0 8px; }

/* ---------- öğretici rehber ---------- */
#guide { position: absolute; inset: 0; z-index: 90; pointer-events: none; display: none; }
#guide.on, #guide.out { display: block; }
#guide.out { animation: fadeOut .3s forwards; }
#guide .gd-dim { position: absolute; inset: 0; background: rgba(3,6,22,.55); opacity: 0; transition: opacity .3s; }
#guide.tour.dimall .gd-dim { opacity: 1; pointer-events: auto; }
#guide.tour .gd-spot { pointer-events: auto; }
#guide .gd-spot { position: absolute; display: none; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(3,6,22,.6); outline: 3px dashed var(--yellow); outline-offset: 2px; transition: left .35s cubic-bezier(.3,1.2,.4,1), top .35s cubic-bezier(.3,1.2,.4,1), width .35s, height .35s; animation: gdPulse 1.2s ease-in-out infinite; }
@keyframes gdPulse { 50% { outline-offset: 7px; outline-color: #fff; } }
#guide .gd-box { position: absolute; right: 8px; bottom: calc(70px + var(--safe-b, 0px)); left: 8px; display: flex; align-items: flex-end; justify-content: flex-end; pointer-events: auto; animation: gdIn .45s cubic-bezier(.2,1.4,.4,1) both; }
#guide.tip .gd-box { bottom: auto; top: calc(78px + var(--safe-t, 0px)); }
@keyframes gdIn { from { transform: translateX(110%) skewX(-12deg); } }
#guide .gd-lines { position: absolute; right: 0; bottom: 0; width: 70%; height: 100%; background: repeating-linear-gradient(170deg, transparent 0 14px, rgba(255,255,255,.18) 14px 16px); -webkit-mask: linear-gradient(90deg, transparent, #000 60%); mask: linear-gradient(90deg, transparent, #000 60%); animation: gdLines .5s ease-out both; pointer-events: none; }
@keyframes gdLines { from { transform: translateX(40%); opacity: 1; } to { opacity: 0; } }
#guide .gd-face { position: relative; flex: none; width: 112px; height: 124px; margin-left: -18px; z-index: 2; filter: drop-shadow(3px 4px 0 var(--ink)); }
#guide.tip .gd-face { width: 86px; height: 96px; }
#guide .gd-f { position: absolute; inset: 0; }
#guide .gd-f svg { width: 100%; height: 100%; }
#guide .gd-f.b { opacity: 0; }
#guide.talk .gd-f.a { opacity: 0; } #guide.talk .gd-f.b { opacity: 1; }
#guide .gd-face { animation: gdBob 1.6s ease-in-out infinite; }
@keyframes gdBob { 50% { transform: translateY(-4px) rotate(-2deg); } }
#guide .gd-bubble { position: relative; flex: 1; max-width: 300px; margin-bottom: 18px; padding: 16px 16px 10px; background: #fff; color: var(--ink); border: 3.5px solid var(--ink); border-radius: 18px 18px 4px 18px; box-shadow: 5px 5px 0 var(--ink); }
#guide .gd-bubble::after { content: ''; position: absolute; right: -16px; bottom: 16px; border: 10px solid transparent; border-left: 16px solid var(--ink); }
#guide .gd-bubble::before { content: ''; position: absolute; right: -10px; bottom: 19px; z-index: 1; border: 7px solid transparent; border-left: 11px solid #fff; }
#guide .gd-name { position: absolute; left: 12px; top: -15px; font-family: var(--disp); font-size: 15px; color: #fff; background: var(--red); padding: 2px 12px 3px; border: 3px solid var(--ink); transform: skewX(-12deg); box-shadow: 3px 3px 0 var(--ink); }
#guide .gd-name small { font-family: Rubik, sans-serif; font-weight: 900; font-size: 9px; letter-spacing: .12em; color: var(--yellow); margin-left: 4px; }
#guide .gd-text { margin: 4px 0 10px; font-weight: 700; font-size: 14px; line-height: 1.4; min-height: 3.4em; }
#guide.tip .gd-text { font-size: 13px; min-height: 0; margin-bottom: 6px; }
#guide .gd-text b { color: #1f5fd6; }
#guide .gd-btns { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
#guide .gd-step { margin-right: auto; font-size: 11px; font-weight: 900; opacity: .45; letter-spacing: .08em; }
#guide .gd-skip { font-size: 12px; font-weight: 800; opacity: .55; text-decoration: underline; color: var(--ink); }
#guide .gd-next { font-weight: 900; font-style: italic; font-size: 14px; color: var(--ink); padding: 7px 14px; border-radius: 10px; border: 3px solid var(--ink); background: linear-gradient(180deg, #fff27a, #ffc21a); box-shadow: 0 3px 0 var(--ink); transform: skewX(-8deg); animation: gdNext 1s ease-in-out infinite; }
#guide .gd-next span { display: inline-block; transform: skewX(8deg); }
#guide.tip .gd-next { font-size: 12px; padding: 4px 10px; animation: none; }
@keyframes gdNext { 50% { transform: skewX(-8deg) scale(1.06); } }
/* "artık hazırsın" kutlaması */
.gd-ready { position: absolute; inset: 0; z-index: 95; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; background: radial-gradient(circle at 50% 40%, #3d8bff, #0b1a4a 70%); overflow: hidden; animation: fadeIn .3s; }
.gd-ready.out { animation: fadeOut .3s forwards; }
.gd-ready-rays { position: absolute; left: 50%; top: 40%; width: 200vmax; height: 200vmax; background: repeating-conic-gradient(rgba(255,255,255,.12) 0 8deg, transparent 8deg 20deg); animation: raySpinC 18s linear infinite; }
.gd-ready-t { position: relative; transform: rotate(-6deg); }
.gd-ready-t .mega { --o: 7px; font-size: min(44px, 11vw); animation: slam .5s cubic-bezier(.2,1.7,.4,1) both; }
.gd-ready-face { position: relative; width: 170px; height: 190px; animation: gdBob 1.6s ease-in-out infinite; filter: drop-shadow(4px 5px 0 var(--ink)); }
.gd-ready-face svg { width: 100%; height: 100%; }
.gd-ready p { position: relative; max-width: 320px; font-weight: 700; font-size: 15px; line-height: 1.45; background: rgba(5,10,42,.7); border: 2px solid rgba(255,255,255,.25); border-radius: 14px; padding: 12px 14px; margin: 0; }
.gd-ready p b { color: var(--yellow); }
.gd-ready .btn { position: relative; }
#guide.tour .gd-dim { pointer-events: auto; }
#guide .gd-face { width: 124px; height: 138px; }
.gd-ready-t .mega { font-size: min(38px, 9.5vw); }

/* yeni kart sekmeye uçuyor */
.fly-card { position: absolute; z-index: 96; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translate(-50%, -50%); }
.fly-card .card { --w: 150px; box-shadow: 0 0 0 .14em var(--edge), 0 0 30px rgba(141,255,184,.9); }
.fly-card .fly-tag { font-family: var(--disp); font-weight: 400; font-size: 18px; color: #8dffb8; -webkit-text-stroke: 3px var(--ink); paint-order: stroke; }
#nav button.nav-bump svg { animation: navBump .6s cubic-bezier(.2,2,.4,1); }
@keyframes navBump { 30% { transform: scale(1.6) rotate(-10deg); stroke: #8dffb8; } }
/* yeni kart yüzü Kartlar sekmesinin üstünde */
.fly-face { position: absolute; z-index: 96; pointer-events: none; display: flex; flex-direction: column; align-items: center; }
.fly-face .ff-av { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 70%, #fff, var(--rc)); border: 3px solid var(--ink); box-shadow: 0 0 0 3px var(--rc), 0 0 18px var(--rc), 0 4px 0 var(--ink); }
.fly-face .ff-av svg { width: 100%; height: 100%; display: block; }
.fly-face .ff-tag { position: absolute; right: -14px; top: -6px; font-family: var(--disp); font-weight: 400; font-size: 16px; line-height: 1; color: #8dffb8; -webkit-text-stroke: 3px var(--ink); paint-order: stroke; transform: rotate(10deg); }
/* yeni kart: Kartlar sekmesi büyür, +1 yükselir */
#nav button.nav-grow { animation: navGrow 1.2s cubic-bezier(.2,1.6,.4,1); opacity: 1; }
#nav button.nav-grow svg { stroke: #8dffb8; }
#nav button.nav-grow span { color: #8dffb8; }
@keyframes navGrow { 0% { transform: scale(1); } 25% { transform: scale(1.45) translateY(-6px); } 45% { transform: scale(1.2) translateY(-3px); } 65% { transform: scale(1.35) translateY(-5px); } 100% { transform: scale(1); } }
.nav-plus { position: absolute; z-index: 96; pointer-events: none; transform: translate(-50%, 0); font-family: var(--disp); font-weight: 400; font-size: 24px; line-height: 1; color: #8dffb8; -webkit-text-stroke: 3px var(--ink); paint-order: stroke; animation: navPlus 1.5s ease-out forwards; }
@keyframes navPlus { 0% { transform: translate(-50%, 0) scale(.4); opacity: 0; } 20% { transform: translate(-50%, -34px) scale(1.2); opacity: 1; } 70% { transform: translate(-50%, -44px) scale(1); opacity: 1; } 100% { transform: translate(-50%, -60px) scale(.9); opacity: 0; } }

/* sıralama: oyuncu kadrosu */
.rrow, .pod { cursor: pointer; }
.rrow:active { transform: scale(.98); }
.sq-load { display: grid; place-items: center; min-height: 160px; }
.sq-head { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; }
.sq-av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; background: var(--yellow); flex: none; }
.sq-head b { display: block; font-weight: 900; font-style: italic; font-size: 18px; text-transform: uppercase; }
.sq-head small { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; opacity: .85; }
.sq-pitch { height: 300px; margin-bottom: 8px; }
.sq-pitch .slot .card { --w: 74px; cursor: pointer; }
/* Mistik kenar: renkler hep aynı yönde döner (gökkuşağı çarkı), geri sarmaz */
.card.r-4 { animation: prism2 4.8s linear infinite; animation-delay: var(--ad, 0s); }
@keyframes prism2 {
  0%     { box-shadow: 0 0 0 .14em #ff6ad5, 0 0 .9em #ff6ad5, 0 .4em 0 rgba(0,0,0,.35); }
  16.66% { box-shadow: 0 0 0 .14em #ff9a5a, 0 0 .9em #ff9a5a, 0 .4em 0 rgba(0,0,0,.35); }
  33.33% { box-shadow: 0 0 0 .14em #ffe14a, 0 0 .9em #ffe14a, 0 .4em 0 rgba(0,0,0,.35); }
  50%    { box-shadow: 0 0 0 .14em #6affb0, 0 0 .9em #6affb0, 0 .4em 0 rgba(0,0,0,.35); }
  66.66% { box-shadow: 0 0 0 .14em #5ad8ff, 0 0 .9em #5ad8ff, 0 .4em 0 rgba(0,0,0,.35); }
  83.33% { box-shadow: 0 0 0 .14em #9b7aff, 0 0 .9em #9b7aff, 0 .4em 0 rgba(0,0,0,.35); }
  100%   { box-shadow: 0 0 0 .14em #ff6ad5, 0 0 .9em #ff6ad5, 0 .4em 0 rgba(0,0,0,.35); }
}
/* Mistik parlama: transform ile kayar (akıcı), her geçişten sonra kısa bekler, başa sarma görünmez */
.card.r-4 .c-pic::after { inset: 0 auto 0 0; width: 250%; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, rgba(140,255,230,.35) 50%, rgba(255,160,240,.35) 55%, transparent 70%); background-size: 100% 100%; animation: holo2 2.6s linear infinite; animation-delay: var(--ad, 0s); will-change: transform; }
@keyframes holo2 { 0% { transform: translateX(-100%); } 65% { transform: translateX(40%); } 100% { transform: translateX(40%); } }
/* dönen ışın deseni: merkez kartın ortasında, yerinde döner (kaymaz) */
.card.bg-0 .c-bg::after { inset: -60%; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.35) 0deg 2deg, transparent 2deg 10deg); transform-origin: 50% 50%; animation: raySpin 40s linear infinite; will-change: transform; }
/* iyi kart açılışı: daha uzun beklenti, kart daha yavaş büyür */
.hype-ov .hype-glow { transition: opacity 1.8s ease-in, transform 1.8s ease-in; transform: translate(-50%, -50%) scale(.4); }
.hype-ov.charge .hype-glow { opacity: .55; transform: translate(-50%, -50%) scale(.9); }
.hype-ov.show-card .hype-glow { opacity: 1; transform: translate(-50%, -50%) scale(1.15); transition: opacity .3s, transform .5s cubic-bezier(.2,1.6,.4,1); }
.hype-ov.charge:not(.show-card) .hype-title .mega { animation: slam .5s cubic-bezier(.2,1.7,.4,1) both, hypeThrob .6s .6s ease-in-out infinite; }
@keyframes hypeThrob { 50% { transform: scale(1.08); } }
.hype-card { transition: transform 1.1s cubic-bezier(.2,1.25,.35,1), opacity .35s; }
.sh-h .sh-lim { font-family: Rubik, sans-serif; font-size: 11px; color: #ffb3a8; }
.pack .pk-amt { display: flex; flex-direction: column; line-height: 1.1; }
.pack .pk-amt small { font-size: 11px; font-weight: 900; color: #0d7a46; }
.pack .pk-ico { display: flex; }
.pack .pk-ico .tok { width: 22px; height: 22px; margin-right: -8px; }
.pack.mega-pack { background: linear-gradient(180deg, #e9d4ff, #a970ff); }
.pack.mega-pack .pk-badge { background: #6a2bd6; }

/* ara ödül: alınmamış kutu parlar, alınanın üstünde ✓ ALINDI */
.lv-gift { position: relative; }
.lv-gift.wait { animation: giftWait 1.4s ease-in-out infinite; }
@keyframes giftWait { 50% { box-shadow: 0 0 14px var(--lc); transform: scale(1.06); } }
.lv-gift.got .rwi { opacity: .4; filter: grayscale(.6); }
.lv-got { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); white-space: nowrap; font-family: var(--disp); font-weight: 400; font-size: 13px; color: #8dffb8; -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke; filter: none; opacity: 1; }

/* menü lig çubuğu */
.lb-bar i.gift.got::after { content: '✓'; font-size: 10px; font-weight: 900; color: #8dffb8; right: -3px; top: -14px; text-shadow: 0 1px 0 #000; }
.lb-bar i.gift.bump::after { animation: giftBump .5s cubic-bezier(.2,2,.4,1) 4; }
@keyframes giftBump { 50% { transform: scale(2) translateY(-4px); } }
.league-bar.glow { box-shadow: 0 0 0 3px #8dffb8, 0 0 22px #8dffb8; transition: box-shadow .3s; }
/* parlama artık Zirve'de (en nadir kart); Mistik'te sadece gökkuşağı kenar */
.card.r-4 .c-pic::after { display: none; }
.card.r-5 .c-pic::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 250%; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 32%, rgba(255,240,200,.65) 45%, rgba(255,210,120,.45) 50%, rgba(255,255,255,.55) 54%, transparent 68%); mix-blend-mode: screen; animation: holo2 2.6s linear infinite; animation-delay: var(--ad, 0s); will-change: transform; }
/* tek seferlik başlangıç teklifi */
.starter { position: relative; width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 6px 0 14px; padding: 16px 14px 12px; border-radius: 16px; border: 3px solid var(--ink); background: linear-gradient(135deg, #ff8a00, #ffd21a 55%, #fff27a); color: var(--ink); text-align: left; box-shadow: 0 5px 0 var(--ink), 0 0 22px rgba(255,190,40,.6); animation: starterGlow 1.6s ease-in-out infinite; }
.starter:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
@keyframes starterGlow { 50% { box-shadow: 0 5px 0 var(--ink), 0 0 34px rgba(255,210,60,.95); } }
.starter .st-tag { position: absolute; left: 12px; top: -11px; font-size: 10px; font-weight: 900; letter-spacing: .05em; color: #fff; background: var(--red); padding: 2px 9px; border-radius: 5px; border: 2px solid var(--ink); }
.starter .pk-ico { display: flex; } .starter .pk-ico .tok { width: 26px; height: 26px; margin-right: -9px; }
.starter .st-amt { display: flex; flex-direction: column; line-height: 1.15; }
.starter .st-amt b { font-family: var(--disp); font-weight: 400; font-size: 22px; }
.starter .st-amt small { font-size: 10.5px; font-weight: 800; opacity: .8; }
.starter .st-price { font-family: var(--disp); font-size: 18px; background: #fff; border: 2.5px solid var(--ink); border-radius: 10px; padding: 4px 8px; }
.starter .demo { position: absolute; right: 8px; bottom: -9px; font-size: 9px; font-weight: 900; background: var(--ink); color: #fff; padding: 2px 6px; border-radius: 4px; }
#tokChip.tok-pop { animation: navGrow 1s cubic-bezier(.2,1.6,.4,1); }
/* "+1" daha uzun ekranda kalsın: hızlı yükselir, ~2,5 sn net durur, sonra söner */
.nav-plus { font-size: 28px; animation: navPlus2 3.6s ease-out forwards; }
@keyframes navPlus2 {
  0%   { transform: translate(-50%, 0) scale(.4); opacity: 0; }
  10%  { transform: translate(-50%, -38px) scale(1.25); opacity: 1; }
  16%  { transform: translate(-50%, -34px) scale(1); opacity: 1; }
  82%  { transform: translate(-50%, -36px) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -52px) scale(.9); opacity: 0; }
}

/* lig çubuğu: hediye ikonları başlığın üstüne binmesin */
.lb-bar { margin-top: 17px; }
.lb-bar i.gift::after { top: -16px; }

/* rehber: yazı kırmızı isim etiketinin altında biraz boşlukla başlasın */
#guide .gd-bubble { padding-top: 24px; }

/* öğretici: ipucu açıkken süre çubuğu durur */
body.tut-hold .timer i { animation-play-state: paused; }

/* top detayı: tam oran listesi */
.bo-box { text-align: center; }
.bo-head { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 4px; }
.bo-head b { font-family: var(--disp); font-weight: 400; font-size: 24px; font-style: italic; }
.bo-sub { margin: 6px 0 10px; font-weight: 700; font-size: 13px; opacity: .85; }
.bo-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.bo-row { display: grid; grid-template-columns: 82px 1fr 42px; align-items: center; gap: 8px; text-align: left; }
.bo-row i { font-style: italic; font-weight: 900; font-size: 13px; color: var(--rc); text-transform: uppercase; }
.bo-row b { font-weight: 900; font-size: 15px; text-align: right; }
.bo-bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.12); overflow: hidden; border: 2px solid var(--ink); }
.bo-bar em { display: block; height: 100%; background: var(--rc); }
.bo-row.r4 i { background: linear-gradient(90deg, #ff8ad8, #8affc1, #7ab8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bo-row.r4 .bo-bar em { background: linear-gradient(90deg, #ff7ad9, #8a7bff, #4fe3ff); }
.bo-bonus { font-size: 13px; font-weight: 700; color: #8dffb8; margin: 0 0 12px; }
.bo-poor { font-size: 12px; font-weight: 800; color: #ff9a9a; margin: 8px 0 0; }
#boBuy .tok { width: 20px; height: 20px; vertical-align: -3px; }

/* dostluk maçı notu */
.friendly-note { font-size: 12px; font-weight: 800; color: #8dffb8; margin: -4px 0 10px; }

/* ---------- mini oyunlar: penaltı zamanlaması, top sektirme, forma hafızası ---------- */
.pen-goal { margin: 6px 0 12px; padding: 14px 10px 10px; border: 4px solid #fff; border-bottom: 0; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 10px, transparent 10px 20px); }
.pen-bar { position: relative; height: 34px; border-radius: 17px; border: 3px solid var(--ink); background: linear-gradient(90deg, #e2382f, #ff8a00 28%, #ffd21a 42%, #ffd21a 58%, #ff8a00 72%, #e2382f); touch-action: manipulation; cursor: pointer; }
.pen-zone { position: absolute; left: 44%; width: 12%; top: -3px; bottom: -3px; background: #1fd36b; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 0 0 14px #4fff9a; }
.pen-mark { position: absolute; top: -10px; bottom: -10px; width: 8px; margin-left: -4px; left: 50%; background: #fff; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 0 0 8px #fff; }
.pen-pin { position: absolute; top: 34px; transform: translateX(-50%); font-size: 10px; font-weight: 900; font-style: normal; padding: 1px 5px; border-radius: 4px; border: 2px solid var(--ink); color: #fff; white-space: nowrap; }
.pen-pin.me { background: var(--blue); } .pen-pin.opp { background: var(--red); }
.jg-field { position: relative; height: 210px; margin: 4px 0 8px; border-radius: 14px; border: 3px solid var(--ink); background: linear-gradient(180deg, #2a6be0, #1a9b5a 70%, #13804a); overflow: hidden; touch-action: manipulation; cursor: pointer; }
.jg-count { position: absolute; top: 8px; right: 12px; font-family: var(--disp); font-size: 38px; text-shadow: 3px 3px 0 var(--ink); }
.jg-count.pop { animation: jgPop .25s ease-out; }
@keyframes jgPop { 50% { transform: scale(1.4); color: var(--yellow); } }
.jg-ball { position: absolute; left: 50%; bottom: 40px; font-size: 34px; line-height: 1; transform: translate(-50%, -150px); will-change: transform; pointer-events: none; }
.jg-ball.drop { transition: transform .5s ease-in, opacity .5s; transform: translate(40%, 80px) !important; opacity: .3; }
.jg-ring { position: absolute; left: 50%; bottom: 34px; width: 64px; height: 18px; margin-left: -32px; border: 4px solid rgba(255,255,255,.6); border-radius: 50%; pointer-events: none; }
.jg-ring.hot { border-color: #4fff9a; box-shadow: 0 0 16px #4fff9a; }
.jg-foot { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%) scaleX(-1); font-size: 30px; pointer-events: none; }
.mem-row { display: flex; justify-content: center; gap: 8px; margin: 10px 0 12px; }
.mem-shirt { position: relative; width: 70px; height: 78px; clip-path: polygon(22% 0, 78% 0, 100% 20%, 86% 34%, 84% 100%, 16% 100%, 14% 34%, 0 20%); background: linear-gradient(180deg, #fff, #dfe6f5); color: var(--navy); display: grid; place-items: center; }
.mem-shirt b, .mem-shirt span { font-family: var(--disp); font-size: 28px; }
.mem-shirt span { display: none; color: #fff; }
.mem-row.flipped .mem-shirt { background: linear-gradient(180deg, #3d8bff, #1f5fd6); cursor: pointer; animation: memFlip .3s ease-out; }
.mem-row.flipped .mem-shirt b { display: none; } .mem-row.flipped .mem-shirt span { display: block; }
.mem-row.flipped .mem-shirt.mine { background: linear-gradient(180deg, #fff27a, #ffc21a); }
.mem-row.flipped .mem-shirt.mine span { color: var(--navy); }
.mem-row.reveal .mem-shirt.ok { background: linear-gradient(180deg, #b8ffd2, #1fd36b); }
.mem-row.reveal .mem-shirt.dim { opacity: .45; }
.mem-shirt .who { position: absolute; font-style: normal; bottom: 4px; font-size: 9px; font-weight: 900; padding: 1px 4px; border-radius: 3px; color: #fff; font-family: var(--body); }
.mem-shirt .who.me { left: 18%; background: var(--blue); } .mem-shirt .who.opp { right: 18%; background: var(--red); }
.mem-ask { color: var(--yellow); }
@keyframes memFlip { from { transform: rotateY(90deg); } }

/* top sektirme v2: dokununca başlar, svg top ve krampon, erken/güzel geri bildirimi */
.jg-ball { font-size: 0; width: 40px; height: 40px; bottom: 44px; transform: translate(-50%, 0); }
.jg-ball svg { width: 100%; height: 100%; display: block; }
.jg-foot { font-size: 0; width: 64px; height: 32px; bottom: 6px; transform: translateX(-50%); }
.jg-foot svg { width: 100%; height: 100%; display: block; }
.jg-ring { bottom: 38px; width: 70px; margin-left: -35px; }
.jg-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding-bottom: 60px; background: rgba(5,12,45,.45); transition: opacity .25s; pointer-events: none; }
.jg-start b { font-family: var(--disp); font-weight: 400; font-size: 26px; text-shadow: 3px 3px 0 var(--ink); animation: jgBlink 1s ease-in-out infinite; }
.jg-start small { font-weight: 800; font-size: 12px; text-shadow: 0 1px 0 var(--ink); }
.jg-start.gone { opacity: 0; }
@keyframes jgBlink { 50% { transform: scale(1.08); } }
.jg-flash { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); font-family: var(--disp); font-size: 24px; color: #8dffb8; text-shadow: 3px 3px 0 var(--ink); opacity: 0; pointer-events: none; }
.jg-flash.bad { color: #ff9a9a; }
.jg-flash.on { animation: jgFlash .45s ease-out; }
@keyframes jgFlash { 0% { opacity: 1; transform: translate(-50%, -30%) scale(.8); } 100% { opacity: 0; transform: translate(-50%, -90%) scale(1.15); } }


/* ---------- giriş ekranı (auth.js) ---------- */
#auth { position: absolute; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: radial-gradient(circle at 50% 30%, rgba(61,139,255,.55), transparent 60%), repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px), linear-gradient(180deg, #0d3a9e, #04091f); transition: opacity .3s; }
#auth.out { opacity: 0; pointer-events: none; }
.au-box { width: 100%; max-width: 360px; position: relative; text-align: center; background: linear-gradient(180deg, #13307e, #0b1a4a); border: 3px solid #fff; border-radius: 18px; padding: 22px 18px 18px; box-shadow: 0 10px 0 rgba(0,0,0,.4), 8px 8px 0 var(--red); animation: mIn .35s cubic-bezier(.2,1.5,.4,1); user-select: text; -webkit-user-select: text; }
.au-logo { font-family: var(--disp); font-size: 40px; line-height: .95; transform: skewX(-8deg); color: var(--yellow); text-shadow: 4px 4px 0 var(--red), 0 0 24px rgba(255,210,26,.35); margin: 0 0 14px; }
.au-sub { font-weight: 700; font-size: 14px; opacity: .9; margin: 0 0 12px; line-height: 1.4; }
.au-tabs { display: flex; gap: 6px; margin-bottom: 12px; background: rgba(0,0,0,.25); padding: 4px; border-radius: 12px; }
.au-tabs button { flex: 1; padding: 9px 4px; border-radius: 9px; font-weight: 900; font-size: 14px; opacity: .65; }
.au-tabs button.on { background: var(--yellow); color: var(--ink); opacity: 1; }
#auth .inp { font-size: 18px; text-transform: none; margin-bottom: 8px; padding: 11px; user-select: text; -webkit-user-select: text; }
.au-err { min-height: 18px; margin: 2px 0 4px; font-size: 13px; font-weight: 800; color: #ff9a9a; }
#auth .btn { width: 100%; }
.au-guest { margin-top: 10px; font-size: 16px; }
.au-note { font-size: 11px; font-weight: 700; opacity: .7; margin: 8px 0 0; line-height: 1.35; }
.au-load p { font-weight: 700; margin: 0 0 12px; }
.au-x { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.12); font-weight: 900; }
.au-acc { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.25); text-align: left; }
.au-acc > div { flex: 1; min-width: 0; }
.au-acc small { display: block; font-size: 10px; font-weight: 900; letter-spacing: .1em; opacity: .7; }
.au-acc b { display: block; font-weight: 900; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbox .au-acc .btn.au-sm { width: auto; margin: 0; font-size: 13px; padding: 8px 12px; min-height: 0; }
.au-del { display: block; margin: 10px auto 0; font-size: 12px; font-weight: 800; color: #ff9a9a; text-decoration: underline; opacity: .85; }
