/* BeastSetup panel + yönetim. Tokenlar /assets/brand.css'ten gelir; site ile aynı dil:
   koyu cam başlık, bulanık fotoğraflı sahne bantları, 3D canavar, açık zeminde kartlar. */

.ic { width: 18px; height: 18px; flex: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
body.app { background: radial-gradient(1200px 500px at 85% 0, #dfe8ff 0, transparent 60%), var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
body.app main { flex: 1; }

/* ---------- üst çubuk ---------- */
.top { position: sticky; top: 0; z-index: 30; background: oklch(0.17 0.05 265 / .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #ffffff14; }
.top__in { width: min(1320px, 100% - 2 * var(--gut)); margin-inline: auto; height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 19px/1 var(--font-display); letter-spacing: -.03em; flex: none; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 12px #2f6bffaa); }
.brand em { font: 700 11px/1 var(--font-text); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #bcd0ff; padding: 5px 8px; border-radius: 99px; background: #2f6bff33; border: 1px solid #2f6bff66; }
.brand:hover { color: #fff; }
.brand--lg { font-size: 22px; } .brand--lg img { width: 40px; height: 40px; }
.tabs { display: flex; gap: 4px; height: 100%; }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; color: #b9c6e6; text-decoration: none; font: 700 14.5px/1 var(--font-text); transition: color var(--dur) var(--ease); }
.tabs a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #49c8ff, #2f6bff); box-shadow: 0 0 14px #49c8ff; opacity: 0; transform: scaleX(.4); transition: opacity var(--dur), transform var(--dur) var(--ease); }
.tabs a:hover { color: #fff; }
.tabs a[aria-current="page"] { color: #fff; }
.tabs a[aria-current="page"]::after { opacity: 1; transform: none; }
.tabs a[aria-current="page"] .ic { color: #6fd3ff; }
.top__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.top__end form { margin: 0; }
.btn--glass { background: #ffffff12; color: #fff; border-color: #ffffff2a; backdrop-filter: blur(8px); }
@media (hover: hover) { .btn--glass:hover { background: #ffffff22; color: #fff; } }
.who { display: inline-flex; align-items: center; gap: 9px; color: #dfe7ff; font-weight: 700; font-size: 14px; }
.who b { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #2f6bff, #1234b0); color: #fff; font: 800 14px/1 var(--font-display); box-shadow: 0 0 0 1px #ffffff30 inset, 0 0 16px -2px #2f6bff; }
.iconbtn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid #ffffff22; background: transparent; color: #c6d2f0; cursor: pointer; transition: background var(--dur), color var(--dur); }
.iconbtn:hover { background: #ffffff14; color: #fff; }

/* ---------- sahne bandı ---------- */
.hero { position: relative; overflow: hidden; background: #050b1f; color: #fff; padding: 46px 0 104px; isolation: isolate; }
.hero__bg { position: absolute; inset: -30px; z-index: -3; background: var(--img) center/cover; opacity: .55; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 120% at 85% 10%, #2f6bff55, transparent 60%), radial-gradient(40% 80% at 10% 100%, #ff2e5522, transparent 70%), linear-gradient(180deg, #050b1fcc, #050b1f 96%); }
.hero__floor { position: absolute; left: -10%; right: -10%; bottom: -1px; height: 140px; z-index: -1; overflow: hidden; transform: perspective(500px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(transparent, #000 70%); pointer-events: none; }
.hero__floor i { position: absolute; inset: -46px 0 0; background-image: linear-gradient(#49c8ff22 1px, transparent 1px), linear-gradient(90deg, #49c8ff22 1px, transparent 1px); background-size: 46px 46px; animation: floor 3s linear infinite; will-change: transform; }
@keyframes floor { to { transform: translateY(46px); } }
.hero__in { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: #8fc4ff; margin-bottom: 14px; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: #49c8ff; box-shadow: 0 0 10px #49c8ff; }
.hero h1 { color: #fff; font-size: clamp(32px, 2.6vw + 16px, 50px); letter-spacing: -.035em; text-shadow: 0 0 40px #2f6bff66; }
.hero__sub { margin-top: 12px; color: #c3cfee; max-width: 56ch; font-size: 16.5px; }
.hero__aside { display: flex; gap: 12px; flex-wrap: wrap; }
.stat { min-width: 168px; padding: 14px 16px; border-radius: 16px; background: #ffffff0f; border: 1px solid #ffffff1f; backdrop-filter: blur(12px); display: grid; gap: 4px; box-shadow: 0 0 0 1px #ffffff08 inset; }
.stat span { font: 700 11.5px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: #9fb2dc; }
.stat b { font: 800 19px/1.2 var(--font-display); color: #fff; letter-spacing: -.02em; }
.stat em { font-style: normal; font-size: 13px; color: #aebde0; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 99px; color: #cfe0ff; text-decoration: none; font-weight: 700; font-size: 14px; background: #ffffff10; border: 1px solid #ffffff22; }
.pill.is-on { background: #fff; color: var(--blue-3); }

/* sahnenin üstüne binen içerik */
body.app main.wrap { position: relative; margin-top: -64px; padding-bottom: 72px; display: grid; gap: 22px; align-content: start; }
.card { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.card h2 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 14px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card__head h2 { margin: 0; }
.grid { display: grid; gap: 22px; }
.grid--main { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section { display: grid; gap: 16px; margin-top: 10px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.section__head h2 { font-size: 26px; }
.section__head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.mt { margin-top: 12px; }
.flash { box-shadow: var(--shadow-lift); transition: opacity .6s; } .flash.is-old { opacity: .75; }
.alert .ic { margin-top: 1px; }
.banner { align-items: center; box-shadow: var(--shadow-lift); }
.banner > span { flex: 1; }
.banner form { margin: 0; }

/* başlangıç listesi */
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-bottom: 8px; }
.progress i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #2f6bff, #49c8ff); box-shadow: 0 0 16px #49c8ff; transition: width .8s var(--ease); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; }
.checklist li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border: 0; padding-bottom: 0; }
.checklist__n { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--blue-3); font: 800 14px/1 var(--font-display); }
.checklist li.is-done .checklist__n { background: linear-gradient(135deg, #22b573, #138a52); color: #fff; box-shadow: 0 6px 16px -8px #138a52; }
.checklist div { flex: 1; display: grid; gap: 2px; }
.checklist div span { font-size: 14px; color: var(--muted); }
.checklist li.is-done b { color: var(--muted); text-decoration: line-through; text-decoration-color: #9aa8c7; }

/* koyu kart: uygulama */
.card--dark { position: relative; overflow: hidden; background: #050b1f; color: #c9d5f3; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 300px; }
.card--dark__bg { position: absolute; inset: -20px; z-index: -2; background: var(--img) center/cover; opacity: .5; }
.card--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 100% 0, #2f6bff66, transparent 60%), linear-gradient(160deg, #050b1fcc 30%, #050b1f); }
.card--dark h2 { color: #fff; font-size: 30px; margin: 4px 0 0; }
.card--dark p { max-width: 30ch; }
.card--dark .btn { margin-top: auto; }
.card--dark .badge { background: #ffffff18; color: #cfe0ff; }
.card--dark__beast { position: absolute; right: -40px; bottom: -36px; width: 230px; opacity: .95; filter: drop-shadow(0 0 30px #2f6bffaa); z-index: -1; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -10px; } }

/* oyun kartları */
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.game { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); background: #050b1f; color: #c9d5f3; padding: 20px; min-height: 270px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-lift); transition: transform .25s var(--ease), box-shadow .25s; }
.game__bg { position: absolute; inset: 0; z-index: -2; background: var(--img) center/cover; transition: transform .6s var(--ease); }
.game::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #050b1f33, #050b1fee 62%); }
.game h3 { color: #fff; margin-top: auto; font-size: 22px; }
.game p { font-size: 14px; }
.game .btn { align-self: flex-start; margin-top: 8px; }
.game--soon .game__bg { filter: grayscale(.7) blur(2px); opacity: .6; }
.game__top { display: flex; }
.game .badge--muted { background: #ffffff1c; color: #d6def3; }
@media (hover: hover) { .game:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); } .game:hover .game__bg { transform: scale(1.05); } }

/* paketler */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lift); }
.plan h3 { font-size: 21px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; color: var(--muted); font-weight: 700; }
.plan__price b { font: 800 44px/1 var(--font-display); letter-spacing: -.04em; color: var(--ink); }
.plan__price small { font-size: 14px; }
.plan ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { color: var(--blue); margin-top: 2px; }
.plan .btn { margin-top: auto; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan--hi { background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(from var(--a), #2f6bff, #49c8ff, #8a6bff, #ff2e55, #2f6bff) border-box; border: 2px solid transparent; box-shadow: var(--shadow-float), 0 0 50px -20px #2f6bff; }
@keyframes spinb { to { --a: 360deg; } }
.plan__tag { position: absolute; top: -13px; left: 24px; height: 26px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 99px; background: linear-gradient(90deg, #1f4fe0, #2f6bff); color: #fff; font: 700 12px/1 var(--font-text); box-shadow: 0 6px 16px -6px #1f4fe0; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-border); font-size: 14.5px; color: var(--ink-2); }
.note .ic { color: var(--blue); width: 22px; height: 22px; margin-top: 1px; }

/* formlar */
.form { display: grid; gap: 16px; }
.form--row { grid-template-columns: 1fr 1fr auto; align-items: end; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label .opt, .label .opt { font-weight: 600; color: var(--muted); font-size: 12px; margin-left: 4px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row label { font-weight: 700; font-size: var(--t-sm); }
.label-row a { font-weight: 700; text-decoration: none; }
.input-pre { position: relative; }
.input-pre > span { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); font-weight: 700; }
.input-pre .input { padding-left: 32px; }
.input-pass { position: relative; }
.input-pass .input { padding-right: 48px; }
.eye { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.eye:hover { background: var(--surface-2); color: var(--ink); } .eye.is-on { color: var(--blue); }
.meter { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .3s var(--ease), background .3s; }
.meter[data-s="1"] i { width: 25%; background: var(--bad); } .meter[data-s="2"] i { width: 50%; background: #e08a00; }
.meter[data-s="3"] i { width: 75%; background: #2f6bff; } .meter[data-s="4"] i { width: 100%; background: var(--ok); }
.input--sm { height: 38px; padding: 0 10px; font-size: 14px; border-radius: 10px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5878' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 32px; }
.range { width: 100%; accent-color: var(--blue); }
.field output { margin-left: 6px; color: var(--blue); font-weight: 800; }
.toggle { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.is-busy { cursor: progress; opacity: .7; }

/* takımlar */
.teams { display: grid; gap: 12px; }
.team { display: grid; grid-template-columns: 46px 1fr 1fr; gap: 12px; align-items: end; padding: 12px; border-radius: 14px; background: color-mix(in oklch, var(--c) 8%, #fff); border: 1px solid color-mix(in oklch, var(--c) 30%, transparent); }
.team input[type=color] { width: 46px; height: 46px; padding: 0; border: 0; border-radius: 12px; background: none; cursor: pointer; box-shadow: 0 0 18px -4px var(--c); }
.team input[type=color]::-webkit-color-swatch-wrapper { padding: 0; } .team input[type=color]::-webkit-color-swatch { border: 2px solid #fff; border-radius: 12px; }

/* kural tablosu */
.rules td { padding: 8px 6px; } .rules th { padding: 10px 6px; }
.rules td:nth-child(3) { min-width: 210px; }
.rules .num { width: 86px; }
.rules .newrow td { background: #f2f6ff; }
.del { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.del input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.del:hover { background: var(--bad-soft); color: var(--bad); }
.del:has(input:checked) { background: var(--bad); color: #fff; }
tr:has(.del input:checked) td { opacity: .5; text-decoration: line-through; }
.savebar { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; border-radius: 18px; background: oklch(0.17 0.05 265 / .9); backdrop-filter: blur(14px); box-shadow: var(--shadow-float); margin-top: 6px; }
.savebar .muted { color: #b5c3e6; }
.stack { display: grid; gap: 22px; }
.reset { display: flex; justify-content: flex-end; margin: 0; }

/* cihazlar, boş durum */
.devices { list-style: none; margin: 0; padding: 0; }
.devices li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.devices li:first-child { border-top: 0; }
.devices__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--blue-3); flex: none; }
.devices div { flex: 1; display: grid; } .devices div span { font-size: 13px; color: var(--muted); }
.devices form { margin: 0; }
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 18px 8px; color: var(--muted); }
.empty > .ic { width: 34px; height: 34px; color: var(--sky); }
.empty--big { padding: 56px 24px; } .empty--big h2 { margin: 0; color: var(--ink); }
.row-info { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.row-info .ic { color: var(--blue); }
.danger summary { list-style: none; cursor: pointer; display: grid; gap: 4px; }
.danger summary::-webkit-details-marker { display: none; }
.danger summary h2 { margin: 0; color: var(--bad); font-size: 18px; }
.danger[open] summary { margin-bottom: 16px; }

/* alt bilgi */
.foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: 14px; color: var(--muted); background: #fff8; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; } .foot a:hover { color: var(--blue); }

/* ---------- giriş / kayıt ---------- */
body.auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; background: var(--paper); }
.auth__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; background: #050b1f; color: #c9d5f3; padding: 36px clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.auth__stage::before { content: ""; position: absolute; inset: -40px; z-index: -3; background: var(--img) center/cover; opacity: .85; }
.auth__stage::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 50% at 50% 42%, #2f6bff55, transparent 70%), radial-gradient(40% 40% at 0 100%, #ff2e5533, transparent 70%), linear-gradient(180deg, #050b1f80 0, #050b1f40 40%, #050b1fe6 88%); }
.auth__stage .brand { position: relative; z-index: 2; }
.auth__beast { position: absolute; z-index: -1; left: 50%; top: 42%; width: min(520px, 76%); aspect-ratio: 1; translate: -50% -50%; }
.auth__beast img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 60px #2f6bffaa); animation: floaty 7s ease-in-out infinite; }
.auth__beast .glow { mix-blend-mode: screen; filter: none; }
.auth__stage .floor, .auth__pitch { position: relative; }
.auth__pitch { margin-top: auto; z-index: 2; display: grid; gap: 16px; max-width: 460px; }
.auth__pitch .badge { justify-self: start; }
.auth__pitch h2 { color: #fff; font-size: clamp(30px, 2.4vw + 12px, 46px); text-shadow: 0 0 40px #2f6bff88; }
.auth__pitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.auth__pitch li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #dbe5ff; }
.auth__pitch li .ic { color: #6fd3ff; }
.auth__toast { position: absolute; z-index: 1; right: 8%; top: 22%; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; background: #ffffffee; color: var(--ink); font-size: 14px; box-shadow: 0 20px 40px -14px #000a, 0 0 0 1px #ffffff40; animation: floaty 5s ease-in-out infinite; }
.auth__toast i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #f08a24; color: #fff; font: 800 11px/1 var(--font-text); font-style: normal; }
.auth__toast em { font-style: normal; font-weight: 800; color: #1a8bd6; }
.auth__main { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 48px var(--gut); }
.auth__card { width: min(440px, 100%); display: grid; gap: 18px; }
.auth__card h1 { font-size: clamp(30px, 1.6vw + 18px, 40px); }
.auth__sub { margin-top: -8px; }
.auth__below { margin-top: 22px; color: var(--muted); font-size: 15px; text-align: center; }
.auth__below a { font-weight: 700; text-decoration: none; }
.auth__legal { margin-top: 28px; font-size: 13px; color: var(--muted); }
.auth__legal a { color: var(--muted); text-decoration: none; }
.sent { display: grid; gap: 10px; padding: 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lift); }
.sent__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #2f6bff, #1234b0); color: #fff; box-shadow: 0 10px 24px -10px #1f4fe0, 0 0 30px -8px #49c8ff; }
.sent__ic .ic { width: 26px; height: 26px; }

/* ---------- duyarlı ---------- */
@media (max-width: 1100px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs a span { display: none; }
  .who span { display: none; }
}
@media (max-width: 900px) {
  body.auth { grid-template-columns: 1fr; }
  .auth__stage { position: relative; height: 230px; padding: 22px var(--gut); }
  .auth__beast { width: 300px; top: 62%; left: 74%; }
  .auth__pitch, .auth__toast { display: none; }
  .auth__main { justify-content: flex-start; padding-top: 32px; }
  .grid--main, .grid--2, .plans { grid-template-columns: 1fr; }
  .form--row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top__in { gap: 10px; }
  .brand span, .brand em { display: none; }
  .tabs { flex: 1; justify-content: space-around; }
  .tabs a { padding: 0 10px; }
  .top__end .btn--glass span { display: none; }
  .hero { padding: 30px 0 90px; }
  .hero__aside { width: 100%; } .stat { flex: 1; min-width: 0; }
  .games { grid-template-columns: 1fr; }
  .two, .team { grid-template-columns: 1fr; }
  .team input[type=color] { width: 100%; height: 36px; }
  .savebar { flex-direction: column; align-items: stretch; }
  .banner { flex-wrap: wrap; }
}

/* ---------- yönetim (admin.beastsetup.com) ---------- */
body.admin { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; background: radial-gradient(900px 400px at 100% 0, #e2eaff 0, transparent 60%), var(--paper); }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; color: #b9c6e6; isolation: isolate;
  background: linear-gradient(180deg, #071233, #050b1f 60%); border-right: 1px solid #ffffff10; }
.side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(https://cdn.beastsetup.com/assets/img/bg/bg-klavye-blur.jpg) center/cover; opacity: .12; }
.side .brand { padding: 4px 8px 18px; }
.side__group { margin: 14px 10px 6px; font: 700 11px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: #6f80aa; }
.side nav a { position: relative; display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 12px; border-radius: 11px; color: #b9c6e6; text-decoration: none; font: 700 14.5px/1 var(--font-text); transition: background var(--dur), color var(--dur); }
.side nav a:hover { background: #ffffff0d; color: #fff; }
.side nav a[aria-current="page"] { background: linear-gradient(90deg, #2f6bff33, #2f6bff10); color: #fff; box-shadow: 0 0 0 1px #2f6bff55 inset; }
.side nav a[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: #49c8ff; box-shadow: 0 0 12px #49c8ff; }
.side nav a[aria-current="page"] .ic { color: #6fd3ff; }
.side__badge { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--live); color: #fff; font: 800 11.5px/1 var(--font-text); }
.side__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 8px 8px; border-top: 1px solid #ffffff12; }
.side__foot .who > span { display: grid; gap: 2px; } .side__foot .who small { font-weight: 600; color: #7f90b8; font-size: 12px; }
.side__foot form { margin: 0; }
.side__site { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; color: #7f90b8; font-size: 13px; text-decoration: none; }
.side__site:hover { color: #fff; } .side__site .ic { width: 14px; height: 14px; }
.main { min-width: 0; display: flex; flex-direction: column; }
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 0 clamp(20px, 3vw, 40px);
  background: oklch(0.98 0.01 265 / .82); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.bar h1 { font-size: 26px; letter-spacing: -.03em; }
.bar__act { display: flex; gap: 10px; align-items: center; } .bar__act form { margin: 0; }
.content { padding: 26px clamp(20px, 3vw, 40px) 64px; display: grid; gap: 22px; align-content: start; max-width: 1480px; width: 100%; }
.welcome { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; border-radius: 22px; background: #050b1f; color: #c9d5f3; box-shadow: var(--shadow-lift); min-height: 150px; }
.welcome__bg { position: absolute; inset: -20px; z-index: -2; background: var(--img) center/cover; opacity: .5; }
.welcome::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 90% 20%, #2f6bff66, transparent 60%), linear-gradient(90deg, #050b1fee 30%, #050b1f88); }
.welcome h2 { color: #fff; font-size: 32px; margin-bottom: 6px; } .welcome b { color: #fff; }
.welcome img { width: 150px; margin: -30px -6px -40px 0; filter: drop-shadow(0 0 28px #2f6bffaa); animation: floaty 6s ease-in-out infinite; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { position: relative; display: grid; gap: 6px; padding: 18px 18px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lift); overflow: hidden; }
.kpi::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(#2f6bff22, transparent 70%); }
.kpi__ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #2f6bff, #1234b0); color: #fff; box-shadow: 0 8px 18px -8px #1f4fe0; margin-bottom: 4px; }
.kpi__l { font-size: 13px; font-weight: 700; color: var(--muted); }
.kpi__v { font: 800 30px/1.05 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.kpi__s { font-size: 12.5px; color: var(--muted); }
.bars { display: grid; grid-template-columns: repeat(30, 1fr); align-items: end; gap: 4px; height: 170px; padding-top: 10px; }
.bars span { height: 100%; display: flex; align-items: flex-end; }
.bars i { display: block; width: 100%; height: max(3px, var(--h)); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #49c8ff, #2f6bff); box-shadow: 0 0 12px -2px #2f6bff88; transition: filter var(--dur); }
.bars span:hover i { filter: brightness(1.2); }
.bars__axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.mini li:first-child { border-top: 0; }
.mini a, .mini div { display: grid; gap: 1px; text-decoration: none; color: var(--ink); min-width: 0; }
.mini span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.log li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.log li:first-child { border-top: 0; }
.log span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log time { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
code { font: 600 12.5px/1.3 ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--surface-2); color: var(--blue-3); padding: 3px 7px; border-radius: 6px; }
.code--bad { background: var(--bad-soft); color: var(--bad); }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: 240px; }
.search .ic { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); }
.search .input { padding-left: 42px; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 13px; background: #fff; box-shadow: var(--shadow-border); flex-wrap: wrap; }
.seg a { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 9px; color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; }
.seg a:hover { color: var(--ink); background: var(--surface-2); }
.seg a.is-on { background: var(--ink); color: #fff; }
.card--flush { padding: 0; overflow: hidden; }
.card--flush .table th:first-child, .card--flush .table td:first-child { padding-left: 22px; }
.table td a { text-decoration: none; }
.table--dense td { padding: 9px 12px; }
.nowrap { white-space: nowrap; }
.cell-act { white-space: nowrap; text-align: right; }
.inline { display: inline-flex; gap: 6px; align-items: center; margin: 0 0 0 6px; }
.inline .input--sm { width: 70px; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-btns form { margin: 0; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.pager .muted { margin-right: auto; }
.profile { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lift); }
.profile__av { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, #2f6bff, #1234b0); color: #fff; font: 800 28px/1 var(--font-display); box-shadow: 0 12px 26px -12px #1f4fe0, 0 0 30px -10px #49c8ff; }
.profile h2 { font-size: 26px; }
.profile__tags { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.actions-list { display: grid; gap: 10px; } .actions-list form { margin: 0; }
.form--grid { grid-template-columns: 1.4fr 1fr 90px 1fr auto; align-items: end; }
.plans--admin { align-items: start; }
.plans--admin .card h3 { font-size: 20px; }
.inbox { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 20px; align-items: start; }
.inbox__list { display: grid; }
.inbox__item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; }
.inbox__item time { font-size: 12px; color: var(--muted); }
.inbox__item span { grid-column: 1 / -1; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox__item:hover { background: #f8faff; }
.inbox__item.is-on { background: var(--sky-soft); }
.inbox__item.is-new::before { content: ""; position: absolute; left: 6px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue-2); }
.inbox__item.is-new b { font-weight: 800; }
.inbox .pager { padding: 12px 16px; }
.inbox__view { position: sticky; top: 92px; }
.msgbody { padding: 18px 20px; border-radius: 14px; background: var(--paper); line-height: 1.7; white-space: normal; word-wrap: break-word; }
.pop { position: relative; display: inline-block; }
.pop summary { list-style: none; } .pop summary::-webkit-details-marker { display: none; }
.pop__body { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: 280px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-float); }
.setup { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.setup li { counter-increment: s; display: grid; gap: 6px; padding-left: 40px; position: relative; font-size: 14.5px; }
.setup li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #2f6bff, #1234b0); color: #fff; font: 800 13px/1 var(--font-display); }
.setup span { color: var(--muted); font-size: 13.5px; }
.secret { display: block; padding: 12px 14px; font-size: 17px; letter-spacing: .08em; text-align: center; border-radius: 12px; background: var(--ink); color: #9fe0ff; user-select: all; }
.input--code { font: 800 26px/1 var(--font-display); letter-spacing: .4em; text-align: center; height: 60px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
details.card > summary { list-style: none; cursor: pointer; display: grid; gap: 4px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary h2 { margin: 0; }
@media (max-width: 1280px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .form--grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) {
  body.admin { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; }
  .side nav { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; } .side__group, .side__site { display: none; }
  .side__foot { margin: 0 0 0 auto; border: 0; padding: 0; }
  .side nav a[aria-current="page"]::before { display: none; }
  .kpis, .kpis--3 { grid-template-columns: 1fr 1fr; }
  .inbox { grid-template-columns: 1fr; } .inbox__view { position: static; }
  .welcome img { display: none; }
}

/* performans: hareket azaltma; yüzen görseller kendi katmanında */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.auth__beast img, .card--dark__beast, .welcome img { will-change: translate; }

/* =====================================================================
   Gelişmiş koyu tema: panel, yönetim ve giriş sayfaları sitenin ana sayfalarıyla aynı dil:
   bulanık fotoğraflı sahne, hareketli zemin ızgarası, parlayan cam kartlar, giriş ve üzerine gelme animasyonları.
   ===================================================================== */
html[data-theme="dark"] body.app, html[data-theme="dark"] body.admin, html[data-theme="dark"] body.auth {
  --paper: #050b1f; --surface: #0e1c4a; --surface-2: #ffffff10; --ink: #eef3ff; --ink-2: #c9d5f3; --muted: #9aabd3;
  --line: #ffffff14; --line-strong: #ffffff2e; --blue: #2f6bff; --blue-hover: #4a80ff; --blue-press: #1f4fe0; --blue-3: #9cc8ff;
  --sky: #6fd3ff; --sky-soft: #2f6bff2b; --ok: #6be8ab; --ok-soft: #22d58a1f; --warn: #ffd08a; --warn-soft: #f0a0241f; --bad: #ff8aa1; --bad-soft: #ff2e5521;
  --shadow-border: 0 0 0 1px #ffffff17; --shadow-border-hover: 0 0 0 1px #ffffff30;
  --shadow-lift: 0 0 0 1px #ffffff12, 0 26px 56px -30px #000;
  --shadow-float: 0 0 0 1px #ffffff1c, 0 34px 80px -30px #000, 0 0 60px -30px #2f6bff;
  --glass: linear-gradient(160deg, #15275fd6, #0a1438e6);
  color-scheme: dark; background: #050b1f; color: var(--ink); isolation: isolate;
}
html[data-theme="dark"] body.app::before, html[data-theme="dark"] body.admin::before, html[data-theme="dark"] body.auth::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(50% 45% at 85% 0%, #2f6bff40, transparent 70%), radial-gradient(40% 40% at 0% 100%, #ff2e551c, transparent 70%),
    linear-gradient(180deg, #050b1fb8, #050b1f 85%), url(https://cdn.beastsetup.com/assets/img/bg/bg-arena-blur.jpg) center/cover; }
body.app::after, body.admin::after { content: ""; position: fixed; left: -30%; right: -30%; bottom: -6%; height: 40vh; z-index: -1; pointer-events: none;
  background-image: linear-gradient(#5fb0ff1f 1.5px, transparent 1.5px), linear-gradient(90deg, #5fb0ff1f 1.5px, transparent 1.5px); background-size: 72px 72px;
  transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%; mask-image: linear-gradient(180deg, transparent, #000 60%); animation: gridmove 6s linear infinite; }
@keyframes gridmove { to { background-position: 0 72px, 0 0; } }
html[data-theme="dark"] body.app h1, html[data-theme="dark"] body.app h2, html[data-theme="dark"] body.app h3, html[data-theme="dark"] body.admin h1, html[data-theme="dark"] body.admin h2, html[data-theme="dark"] body.admin h3, html[data-theme="dark"] body.auth h1, html[data-theme="dark"] body.auth h2, html[data-theme="dark"] body.auth h3 { color: #fff; }
html[data-theme="dark"] body.app a, html[data-theme="dark"] body.admin a, html[data-theme="dark"] body.auth a { color: #8fc4ff; }
html[data-theme="dark"] body.app a:hover, html[data-theme="dark"] body.admin a:hover, html[data-theme="dark"] body.auth a:hover { color: #fff; }
html[data-theme="dark"] body.app ::selection, html[data-theme="dark"] body.admin ::selection, html[data-theme="dark"] body.auth ::selection { background: #2f6bff88; color: #fff; }

/* cam kartlar */
html[data-theme="dark"] body.app .card, html[data-theme="dark"] body.admin .card, html[data-theme="dark"] .kpi, html[data-theme="dark"] .profile, html[data-theme="dark"] .note, html[data-theme="dark"] .sent, html[data-theme="dark"] .plan, html[data-theme="dark"] .pop__body { background: var(--glass); border: 1px solid #ffffff1c; color: var(--ink-2);
  box-shadow: 0 26px 56px -30px #000, inset 0 1px 0 #ffffff1f; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.app .card, body.admin .card, .kpi, .plan, .game { animation: rise .6s var(--ease) both; transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
html[data-theme="dark"] body.app .card:hover, html[data-theme="dark"] body.admin .card:hover, html[data-theme="dark"] .plan:hover { border-color: #49c8ff40; box-shadow: 0 30px 60px -30px #000, 0 0 40px -22px #49c8ff, inset 0 1px 0 #ffffff26; }
@keyframes rise { from { opacity: 0; translate: 0 16px; } }
.grid > :nth-child(2), .kpis > :nth-child(2), .plans > :nth-child(2), .games > :nth-child(2) { animation-delay: .06s; }
.grid > :nth-child(3), .kpis > :nth-child(3), .plans > :nth-child(3), .games > :nth-child(3) { animation-delay: .12s; }
.kpis > :nth-child(4), .games > :nth-child(4) { animation-delay: .18s; } .kpis > :nth-child(5) { animation-delay: .24s; }
body.app .card h2, body.admin .card h2 { display: flex; align-items: center; gap: 10px; }
html[data-theme="dark"] body.app .card__head h2::before, html[data-theme="dark"] body.admin .card__head h2::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, #49c8ff, #2f6bff); box-shadow: 0 0 12px #49c8ff; }

/* düğmeler */
html[data-theme="dark"] body.app .btn--primary, html[data-theme="dark"] body.admin .btn--primary, html[data-theme="dark"] body.auth .btn--primary { position: relative; overflow: hidden; background: linear-gradient(180deg, #3b77ff, #1f4fe0); box-shadow: 0 10px 26px -10px #2f6bff, inset 0 1px 0 #ffffff40, 0 0 0 1px #5d8cff inset; }
body.app .btn--primary::after, body.admin .btn--primary::after, body.auth .btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, #ffffff45 50%, transparent 70%); translate: -120% 0; transition: translate .7s var(--ease); pointer-events: none; }
@media (hover: hover) {
  html[data-theme="dark"] body.app .btn--primary:hover, html[data-theme="dark"] body.admin .btn--primary:hover, html[data-theme="dark"] body.auth .btn--primary:hover { background: linear-gradient(180deg, #4a82ff, #2a5af0); box-shadow: 0 14px 32px -10px #2f6bff, 0 0 28px -6px #49c8ff, inset 0 1px 0 #ffffff40, 0 0 0 1px #7aa2ff inset; }
  body.app .btn--primary:hover::after, body.admin .btn--primary:hover::after, body.auth .btn--primary:hover::after { translate: 120% 0; }
  html[data-theme="dark"] body.app .btn--secondary:hover, html[data-theme="dark"] body.admin .btn--secondary:hover, html[data-theme="dark"] body.auth .btn--secondary:hover { background: #ffffff1c; color: #fff; box-shadow: inset 0 0 0 1px #ffffff40, 0 0 22px -8px #49c8ff; }
  html[data-theme="dark"] body.app .btn--ghost:hover, html[data-theme="dark"] body.admin .btn--ghost:hover { background: #ffffff12; color: #fff; }
}
html[data-theme="dark"] body.app .btn--secondary, html[data-theme="dark"] body.admin .btn--secondary, html[data-theme="dark"] body.auth .btn--secondary { background: #ffffff10; color: var(--ink); box-shadow: inset 0 0 0 1px #ffffff2a; }
html[data-theme="dark"] body.app .btn--ghost, html[data-theme="dark"] body.admin .btn--ghost, html[data-theme="dark"] body.auth .btn--ghost { color: var(--ink); }
html[data-theme="dark"] body.app .btn--danger, html[data-theme="dark"] body.admin .btn--danger { background: linear-gradient(180deg, #ff4d6d, #d81f45); color: #fff; box-shadow: 0 10px 26px -10px #ff2e55, inset 0 1px 0 #ffffff40; }

/* formlar */
html[data-theme="dark"] body.app .input, html[data-theme="dark"] body.admin .input, html[data-theme="dark"] body.auth .input { background-color: #050b1fa8; border-color: #ffffff24; color: #fff; }
html[data-theme="dark"] body.app .input:hover, html[data-theme="dark"] body.admin .input:hover, html[data-theme="dark"] body.auth .input:hover { border-color: #ffffff3d; }
html[data-theme="dark"] body.app .input:focus, html[data-theme="dark"] body.admin .input:focus, html[data-theme="dark"] body.auth .input:focus { border-color: #49c8ff; box-shadow: 0 0 0 4px #49c8ff26, 0 0 24px -6px #49c8ff88; }
html[data-theme="dark"] body.app .input::placeholder, html[data-theme="dark"] body.admin .input::placeholder, html[data-theme="dark"] body.auth .input::placeholder { color: #6f80aa; }
body.app select.input, body.admin select.input, body.auth select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AABD3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
body.app select.input[multiple], body.admin select.input[multiple] { background-image: none; padding-right: 12px; }
html[data-theme="dark"] select.input option { background: #0e1c4a; color: #fff; }
html[data-theme="dark"] .field > label, html[data-theme="dark"] .label { color: #dfe7ff; }
html[data-theme="dark"] .switch input { background: #ffffff26; } html[data-theme="dark"] .switch input:checked { background: #22b573; box-shadow: 0 0 14px -2px #22b573; }
html[data-theme="dark"] .check { color: var(--ink-2); }

/* uyarılar, rozetler, tablolar */
html[data-theme="dark"] body.app .alert, html[data-theme="dark"] body.admin .alert, html[data-theme="dark"] body.auth .alert { border: 1px solid #2f6bff44; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html[data-theme="dark"] body.app .alert--ok, html[data-theme="dark"] body.admin .alert--ok, html[data-theme="dark"] body.auth .alert--ok { border-color: #22d58a44; } html[data-theme="dark"] body.app .alert--warn, html[data-theme="dark"] body.admin .alert--warn { border-color: #f0a02455; }
html[data-theme="dark"] body.app .alert--bad, html[data-theme="dark"] body.admin .alert--bad, html[data-theme="dark"] body.auth .alert--bad { border-color: #ff2e5555; }
html[data-theme="dark"] .badge--ok { box-shadow: 0 0 0 1px #22d58a33 inset; } html[data-theme="dark"] .badge--warn { box-shadow: 0 0 0 1px #f0a02440 inset; } html[data-theme="dark"] .badge--bad { box-shadow: 0 0 0 1px #ff2e5540 inset; }
html[data-theme="dark"] body.app .table th, html[data-theme="dark"] body.admin .table th { font: 800 11.5px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: #8fa2cf; }
@media (hover: hover) { html[data-theme="dark"] body.app .table tbody tr:hover td, html[data-theme="dark"] body.admin .table tbody tr:hover td { background: #ffffff08; } }
html[data-theme="dark"] body.app .table td, html[data-theme="dark"] body.admin .table td { color: var(--ink-2); } html[data-theme="dark"] body.app .table td b, html[data-theme="dark"] body.admin .table td b { color: #fff; }
html[data-theme="dark"] code { background: #ffffff12; color: #9fe0ff; }
html[data-theme="dark"] .secret { background: #050b1f; border: 1px solid #49c8ff44; box-shadow: 0 0 24px -10px #49c8ff; }

/* panel parçaları */
html[data-theme="dark"] body.app main.wrap { margin-top: -70px; }
html[data-theme="dark"] .hero { background: transparent; }
html[data-theme="dark"] .hero h1 { background: linear-gradient(180deg, #fff 30%, #a9c6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 6px 30px #2f6bff66); text-shadow: none; }
html[data-theme="dark"] .stat { transition: transform .25s var(--ease), border-color .25s; } html[data-theme="dark"] .stat:hover { transform: translateY(-2px); border-color: #49c8ff55; }
html[data-theme="dark"] .progress { background: #ffffff12; }
html[data-theme="dark"] .checklist__n { background: #ffffff10; color: #9cc8ff; box-shadow: inset 0 0 0 1px #ffffff1f; }
html[data-theme="dark"] .checklist li.is-done .checklist__n { background: linear-gradient(135deg, #22d58a, #12935c); box-shadow: 0 6px 16px -6px #22d58a; }
html[data-theme="dark"] .checklist li.is-done b { color: var(--muted); text-decoration-color: #ffffff40; }
html[data-theme="dark"] .game { border: 1px solid #ffffff1c; }
@media (hover: hover) { html[data-theme="dark"] .game:hover { border-color: #49c8ff66; box-shadow: 0 30px 60px -28px #000, 0 0 40px -18px #49c8ff; } }
html[data-theme="dark"] .plan__price b { color: #fff; background: linear-gradient(180deg, #fff 30%, #a9c6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="dark"] .plan li .ic { color: #6fd3ff; }
html[data-theme="dark"] .plan--hi { background: linear-gradient(#0e1c4a, #0a1438) padding-box, conic-gradient(from var(--a), #2f6bff, #49c8ff, #8a6bff, #ff2e55, #2f6bff) border-box; animation: rise .6s var(--ease) both, spinb 6s linear infinite; }
html[data-theme="dark"] .note .ic { color: #6fd3ff; }
html[data-theme="dark"] .team { background: color-mix(in oklch, var(--c) 14%, #0a1438); border-color: color-mix(in oklch, var(--c) 45%, transparent); }
html[data-theme="dark"] .team input[type=color]::-webkit-color-swatch { border-color: #ffffff55; }
html[data-theme="dark"] .rules .newrow td { background: #2f6bff14; }
html[data-theme="dark"] .savebar { border: 1px solid #ffffff1f; }
html[data-theme="dark"] .devices__ic, html[data-theme="dark"] .empty > .ic { background: #ffffff10; color: #6fd3ff; }
html[data-theme="dark"] .devices__ic { box-shadow: inset 0 0 0 1px #ffffff1f; }
html[data-theme="dark"] .foot { background: #050b1fcc; border-top-color: #ffffff12; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html[data-theme="dark"] .foot a { color: var(--muted); }
html[data-theme="dark"] .top { background: #050b1fc7; }

/* giriş sayfaları */
body.auth .auth__main { position: relative; }
html[data-theme="dark"] body.auth .auth__card { padding: 34px 32px 30px; border-radius: 24px; background: var(--glass); border: 1px solid #ffffff1f; box-shadow: 0 40px 80px -36px #000, 0 0 60px -34px #2f6bff, inset 0 1px 0 #ffffff26; animation: rise .7s var(--ease) both; }
html[data-theme="dark"] body.auth .auth__card h1 { background: linear-gradient(180deg, #fff 30%, #a9c6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="dark"] body.auth .auth__stage::after { background: radial-gradient(55% 50% at 50% 42%, #2f6bff55, transparent 70%), radial-gradient(40% 40% at 0 100%, #ff2e5533, transparent 70%), linear-gradient(90deg, transparent 70%, #050b1f), linear-gradient(180deg, #050b1f80 0, #050b1f40 40%, #050b1fe6 88%); }
html[data-theme="dark"] .auth__legal a, html[data-theme="dark"] .auth__below { color: var(--muted); }

/* yönetim parçaları */
html[data-theme="dark"] body.admin { background: #050b1f; }
html[data-theme="dark"] .bar { background: #050b1fc4; border-bottom-color: #ffffff12; -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
html[data-theme="dark"] .bar h1 { background: linear-gradient(180deg, #fff 30%, #a9c6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="dark"] .side { background: linear-gradient(180deg, #071233f2, #050b1ff7 60%); }
html[data-theme="dark"] .kpi::after { background: radial-gradient(#2f6bff40, transparent 70%); }
html[data-theme="dark"] .kpi__ic { box-shadow: 0 8px 18px -8px #2f6bff, 0 0 22px -6px #49c8ff; }
html[data-theme="dark"] .kpi__v { color: #fff; background: linear-gradient(180deg, #fff 35%, #a9c6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (hover: hover) { html[data-theme="dark"] .kpi:hover { transform: translateY(-3px); border-color: #49c8ff55; box-shadow: 0 30px 60px -30px #000, 0 0 36px -16px #49c8ff, inset 0 1px 0 #ffffff26; } }
html[data-theme="dark"] .bars i { box-shadow: 0 0 14px -2px #49c8ffaa; animation: barup .8s var(--ease) both; transform-origin: bottom; }
@keyframes barup { from { transform: scaleY(0); } }
html[data-theme="dark"] .mini a, html[data-theme="dark"] .mini div { color: var(--ink); } html[data-theme="dark"] .mini a:hover b { color: #8fc4ff; }
html[data-theme="dark"] .seg { background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff1c; }
html[data-theme="dark"] .seg a { color: var(--muted); } html[data-theme="dark"] .seg a:hover { color: #fff; background: #ffffff12; }
html[data-theme="dark"] .seg a.is-on { background: linear-gradient(180deg, #3b77ff, #1f4fe0); color: #fff; box-shadow: 0 6px 18px -8px #2f6bff; }
html[data-theme="dark"] .inbox__item { color: var(--ink); } html[data-theme="dark"] .inbox__item:hover { background: #ffffff08; } html[data-theme="dark"] .inbox__item.is-on { background: #2f6bff24; }
html[data-theme="dark"] .msgbody { background: #050b1f99; border: 1px solid #ffffff14; color: var(--ink-2); }
html[data-theme="dark"] .profile__av { box-shadow: 0 12px 26px -12px #2f6bff, 0 0 34px -8px #49c8ff; }
html[data-theme="dark"] .welcome { border: 1px solid #ffffff1c; animation: rise .6s var(--ease) both; }
html[data-theme="dark"] .welcome h2 { background: linear-gradient(180deg, #fff 30%, #a9c6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html[data-theme="dark"] .setup li::before { box-shadow: 0 0 16px -4px #49c8ff; }
@media (prefers-reduced-motion: reduce) { body.app::after, body.admin::after { animation: none; } }
html[data-theme="dark"] body.auth .auth__toast { background: linear-gradient(160deg,#1b2f6fe6,#0b1640f0); color: var(--ink); box-shadow: 0 20px 40px -14px #000c, 0 0 0 1px #9cc8ff33, 0 0 30px -8px #3d8bff88; backdrop-filter: blur(10px); }
html[data-theme="dark"] body.auth .auth__toast em { color: #7fd4ff; }
.setup .qr { margin-top: 12px; width: 196px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #9cc8ff40, 0 18px 40px -16px #000c, 0 0 40px -10px #3d8bffaa; }
.setup .qr svg { display: block; width: 100%; height: auto; }

/* ---------- bakiye ve yetkiler ---------- */
.wallet { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 999px; text-decoration: none; font: 800 14px/1 var(--font-text); color: #eaf3ff;
  background: linear-gradient(135deg, #2f6bff40, #22d3ee26); box-shadow: inset 0 0 0 1px #9cc8ff4d, 0 0 22px -8px #3d8bffaa; transition: transform .16s, box-shadow .2s; white-space: nowrap; }
.wallet .ic { width: 17px; height: 17px; color: #7fd4ff; }
.wallet:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #b6d6ff88, 0 0 28px -6px #3d8bffdd; }
.badge--wallet { gap: 5px; background: #2f6bff2e; color: #cfe2ff; box-shadow: inset 0 0 0 1px #9cc8ff40; }
.badge--wallet .ic { width: 13px; height: 13px; }
.pos { color: var(--ok); } .neg { color: var(--bad); }
.stat--wallet { text-decoration: none; transition: transform .16s, border-color .2s; border-color: #9cc8ff55 !important; background: linear-gradient(135deg, #2f6bff33, #22d3ee1a) !important; }
.stat--wallet:hover { transform: translateY(-2px); }
.wallet-hero { min-width: 250px; padding: 18px 20px; border-radius: 20px; display: grid; gap: 6px; background: linear-gradient(135deg, #2f6bff40, #0b1640cc 60%, #22d3ee26); box-shadow: inset 0 0 0 1px #9cc8ff4d, 0 24px 50px -20px #2f6bffaa; backdrop-filter: blur(12px); }
.wallet-hero span { display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: #9fc4ff; }
.wallet-hero span .ic { width: 16px; height: 16px; }
.wallet-hero b { font: 800 clamp(30px, 3vw, 42px)/1 var(--font-display); letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #9cc8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wallet-hero small { color: #aebde0; font-size: 13px; }
.wallet-card__v { margin: 2px 0 14px; font: 800 34px/1 var(--font-display); letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #9cc8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seg--full { display: flex; width: 100%; }
.seg--full label { flex: 1; position: relative; }
.seg--full input { position: absolute; opacity: 0; pointer-events: none; }
.seg--full span { height: 38px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.seg--full span .ic { width: 16px; height: 16px; }
.seg--full input:checked + span { background: linear-gradient(180deg, #4f86ff, #1f4fe0); color: #fff; box-shadow: 0 6px 18px -8px #2f6bffcc; }
.seg--full input:focus-visible + span { outline: 2px solid #7fd4ff; outline-offset: 2px; }
.seg--full input:disabled + span { opacity: .4; cursor: not-allowed; }
.perms { border: 0; margin: 0; padding: 12px; border-radius: 14px; display: grid; gap: 9px; background: #ffffff08; box-shadow: inset 0 0 0 1px var(--line); }
.perms legend { padding: 0 4px; }
[data-roles]:not(:has(input[value="staff"]:checked)) [data-role-help="staff"],
[data-roles]:not(:has(input[value="admin"]:checked)) [data-role-help="admin"],
[data-roles]:not(:has(input[value="user"]:checked)) [data-role-help="user"] { display: none; }
.card__head.pad { padding: 18px 20px 4px; }
body.admin .seg, body.app .seg { background: #ffffff0d; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .top .wallet span { display: none; } .top .wallet { padding: 0 10px; } }
.topups { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.topup { position: relative; display: grid; justify-items: start; gap: 8px; padding: 20px; border-radius: 20px; background: var(--glass); box-shadow: inset 0 0 0 1px #ffffff17, 0 24px 48px -28px #000; transition: transform .2s, box-shadow .2s; animation: rise .6s both; }
.topup > .ic { width: 26px; height: 26px; color: #7fd4ff; filter: drop-shadow(0 0 8px #49c8ff88); }
.topup__v { margin: 4px 0 0; font: 800 15px/1 var(--font-text); color: var(--muted); }
.topup__v b { font: 800 36px/1 var(--font-display); letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #9cc8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topup__sub { font-size: 13px; color: var(--muted); }
.topup .btn { margin-top: 8px; }
.topup:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #9cc8ff55, 0 26px 50px -22px #2f6bffaa; }
.topup--hi { box-shadow: inset 0 0 0 1px #9cc8ff66, 0 24px 50px -22px #2f6bffaa; background: linear-gradient(160deg, #1d3a8ad9, #0a1438e6); }
.row-new td { background: #2f6bff0d; }

/* ---------- açık tema (sitenin varsayılanı): açık zemindeki yeni parçalar ----------
   Üst çubuk ve sahne bandı her iki temada koyu kalır (site ile aynı); koyu cam katman yalnızca html[data-theme="dark"] iken çalışır. */
html:not([data-theme="dark"]) .topup { background: var(--surface); box-shadow: var(--shadow-lift); }
html:not([data-theme="dark"]) .topup > .ic { color: var(--blue); filter: none; }
html:not([data-theme="dark"]) .topup__v b { background: linear-gradient(90deg, var(--ink), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html:not([data-theme="dark"]) .topup:hover { box-shadow: var(--shadow-float); }
html:not([data-theme="dark"]) .topup--hi { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #2f6bff, #49c8ff) border-box; border: 2px solid transparent; box-shadow: var(--shadow-float); }
html:not([data-theme="dark"]) .badge--wallet { background: #2f6bff14; color: var(--blue-press); box-shadow: inset 0 0 0 1px #2f6bff33; }
html:not([data-theme="dark"]) .row-new td { background: #2f6bff0a; }
@media (hover: hover) { html:not([data-theme="dark"]) body.app .card:hover, html:not([data-theme="dark"]) .plan:hover { box-shadow: var(--shadow-float); } }
/* sahne bandına binen ilk bölüm başlığı açık temada da okunur kalsın */
html:not([data-theme="dark"]) body.app main.wrap > .section:first-of-type > .section__head :is(h2, a) { color: #fff; text-shadow: 0 2px 18px #050b1f; }
/* tablo tutarları her iki temada yeşil/kırmızı */
html[data-theme="dark"] .table td b.pos { color: var(--ok); } html[data-theme="dark"] .table td b.neg { color: var(--bad); }
