/* 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(/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; }
