/* BeatBetGames Panel stylesheet — copied unchanged from the BeatBetGames Panel frontend (frontend/src/styles.css).
   This backoffice's own class names are mapped onto these rules in style.css, which loads after this file. */
/* BeatBetGames panel, in the BeatBetGames brand look (logo and marketing):
   deep purple night, violet glass panels, pink for the main action,
   heavy slanted Inter Tight headings, letter-spaced lavender labels. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('./fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('./fonts/inter-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-display: swap; font-weight: 700; src: url('./fonts/inter-tight-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-display: swap; font-weight: 800; src: url('./fonts/inter-tight-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-display: swap; font-weight: 900; src: url('./fonts/inter-tight-latin-900-normal.woff2') format('woff2'); }

:root {
  --night: #07040f;
  --night-2: #150a2c;
  --violet: #8a4bff;
  --violet-2: #b98cff;
  --lav: #cdb6ff;
  --pink: #ff4fd8;
  --pink-2: #ff5bd9;
  --grad: linear-gradient(90deg, #ff5bd9, #b98cff);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  --solid: #100823;          /* opaque panel colour for sticky headers and menus */
  --line: rgba(205, 182, 255, 0.13);
  --line-2: rgba(205, 182, 255, 0.24);
  --text: #fff;
  --text-2: rgba(226, 214, 255, 0.74);
  --text-3: rgba(205, 182, 255, 0.52);
  --green: #3ee0a1;
  --green-bg: rgba(62, 224, 161, 0.12);
  --amber: #ffc45c;
  --amber-bg: rgba(255, 196, 92, 0.12);
  --red: #ff6b8b;
  --red-bg: rgba(255, 107, 139, 0.13);
  --blue: #b98cff;
  --blue-bg: rgba(138, 75, 255, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --side-w: 248px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Inter Tight', 'Inter', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body, #root { height: 100%; }
body {
  margin: 0; color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
  background:
    radial-gradient(1100px 760px at 12% -12%, rgba(122, 52, 235, 0.34), transparent 64%),
    radial-gradient(900px 760px at 96% 4%, rgba(98, 38, 210, 0.22), transparent 66%),
    radial-gradient(1500px 1000px at 50% 50%, var(--night-2) 0%, var(--night) 76%);
  background-attachment: fixed; background-color: var(--night);
}
a { color: var(--violet-2); text-decoration: none; font-weight: 600; }
a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }
code { background: rgba(138, 75, 255, 0.14); border: 1px solid var(--line); border-radius: 7px; padding: 1px 6px; color: #e9ddff; word-break: break-all; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 10px; }
::selection { background: rgba(255, 79, 216, 0.35); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(205, 182, 255, 0.18); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

/* letter-spaced lavender labels, as on the brand banner */
.label, .nav-label, .stat-label, .section-title, .table th, .field > label, .field-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3);
}
.slant { display: inline-block; transform: skewX(-8deg); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- layout ---------- */
.layout { display: flex; min-height: 100%; }
.side {
  position: fixed; inset: 12px auto 12px 12px; width: var(--side-w); z-index: 40;
  background: linear-gradient(180deg, rgba(25, 12, 52, 0.92), rgba(12, 6, 28, 0.92)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 26px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.side-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; }
.side-head img { width: 48px; height: 48px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 18px rgba(138, 75, 255, 0.55)); }
.side-brand { min-width: 0; }
.side-brand b { display: block; font-family: var(--display); font-size: 17px; font-weight: 900; letter-spacing: -0.02em; transform: skewX(-8deg); transform-origin: left; }
.side-brand span { display: block; font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; margin-top: 2px; }
.side .side-close { display: none; margin-left: auto; }
.side-search { padding: 2px 14px 8px; }
.side-search button {
  width: 100%; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-3); font: inherit; font-size: 13px; cursor: pointer; transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.side-search button:hover { border-color: var(--line-2); color: var(--text-2); background: rgba(138, 75, 255, 0.1); }
.side-search kbd { margin-left: auto; font: 10px var(--font); font-weight: 700; letter-spacing: 0.06em; color: var(--text-3); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.side-nav { flex: 1; overflow-y: auto; padding: 4px 12px 12px; }
.nav-group { margin-top: 18px; }
.nav-group:first-child { margin-top: 6px; }
.nav-label { padding: 0 12px 7px; font-size: 9.5px; color: rgba(205, 182, 255, 0.42); }
.nav-item {
  width: 100%; display: flex; align-items: center; gap: 11px; padding: 8px 12px; margin: 2px 0;
  border: 1px solid transparent; background: none; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; text-align: left;
  border-radius: 999px; cursor: pointer; transition: background 0.25s var(--ease), color 0.2s var(--ease), border-color 0.25s var(--ease);
}
.nav-item svg { flex: none; color: var(--text-3); transition: color 0.2s var(--ease); }
.nav-item:hover { background: rgba(138, 75, 255, 0.12); color: #fff; }
.nav-item:hover svg { color: var(--lav); }
.nav-item.on { background: linear-gradient(90deg, rgba(138, 75, 255, 0.5), rgba(138, 75, 255, 0.14)); border-color: rgba(185, 140, 255, 0.35); color: #fff; box-shadow: 0 6px 24px rgba(138, 75, 255, 0.28); }
.nav-item.on svg { color: #fff; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; font-family: var(--display); font-size: 12px; font-weight: 800; box-shadow: 0 4px 16px rgba(255, 79, 216, 0.35); }
.side-user-info { min-width: 0; flex: 1; }
.side-user-info b { display: block; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user-info span { display: block; font-size: 11px; color: var(--text-3); }
.main { flex: 1; min-width: 0; margin-left: calc(var(--side-w) + 12px); display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 10px; padding: 0 34px;
  background: linear-gradient(180deg, rgba(7, 4, 15, 0.86), rgba(7, 4, 15, 0.6)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .crumbs { color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar .crumbs b { color: #fff; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .menu { display: none; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; text-align: left; }
.content { padding: 30px 34px 60px; width: 100%; max-width: 1520px; animation: rise 0.55s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.backdrop-nav { display: none; }

/* ---------- page ---------- */
.page-head { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 34px; font-weight: 900; letter-spacing: -0.035em; line-height: 1.05; display: inline-block; transform: skewX(-8deg); transform-origin: left bottom; }
.page-head .sub { margin-top: 8px; font-size: 13.5px; }
.page-head .actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--text-3); margin-bottom: 14px; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.back:hover { color: #fff; }
.sub { color: var(--text-2); font-size: 13px; }
.faint { color: var(--text-3); }
.small { font-size: 12.5px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.warn { color: var(--amber); }
.r { text-align: right; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.break { word-break: break-all; }

/* ---------- glass card ---------- */
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-head h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.card-head .sub { margin-top: 3px; }
.card-head:last-child { border-bottom: 0; }
.card-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card-body { padding: 22px; }
.card-body.flush { padding: 0; }
.card + .card { margin-top: 18px; }
.card, .grid-2, .grid-3 { margin-bottom: 18px; }
.card:last-child, .grid-2:last-child, .grid-3:last-child, .grid-2 > .card, .grid-3 > .card { margin-bottom: 0; }
.grid-2 > .card + .card, .grid-3 > .card + .card { margin-top: 0; }
.section-title { margin: 26px 0 12px; }
.section-title:first-child { margin-top: 0; }
.rates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.rates div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(138, 75, 255, 0.08); font-family: var(--display); font-size: 13.5px; font-weight: 800; }
.rates div span { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--text-2); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat {
  position: relative; overflow: hidden; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; min-width: 0;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(138, 75, 255, 0.22), transparent 70%); pointer-events: none; }
.stat:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(138, 75, 255, 0.16); }
.stat:first-child { background: linear-gradient(180deg, rgba(138, 75, 255, 0.42), rgba(90, 30, 200, 0.24)); border-color: rgba(185, 140, 255, 0.4); box-shadow: 0 0 40px rgba(138, 75, 255, 0.28), inset 0 0 30px rgba(255, 255, 255, 0.05); }
.stat-label { display: flex; align-items: center; gap: 6px; }
.stat:first-child .stat-label { color: rgba(236, 226, 255, 0.82); }
.stat-value { font-family: var(--display); font-size: 30px; font-weight: 900; margin-top: 10px; letter-spacing: -0.035em; line-height: 1.05; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transform: skewX(-8deg); transform-origin: left; }
.stat-sub { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.stat:first-child .stat-sub { color: rgba(236, 226, 255, 0.7); }

/* ---------- buttons: pills, pink for the main action ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); color: #fff;
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: rgba(138, 75, 255, 0.2); border-color: rgba(185, 140, 255, 0.5); text-decoration: none; color: #fff; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.primary {
  background: var(--pink); border-color: var(--pink); color: #fff; font-family: var(--display); font-weight: 800; letter-spacing: 0.02em;
  box-shadow: 0 0 22px rgba(255, 79, 216, 0.45);
}
.btn.primary:hover { background: #ff6be0; box-shadow: 0 0 34px rgba(255, 79, 216, 0.6); }
.btn.accent { background: linear-gradient(180deg, #9b62ff, #6d2ee6); border-color: rgba(185, 140, 255, 0.6); box-shadow: 0 0 22px rgba(138, 75, 255, 0.45); }
.btn.danger { background: var(--red-bg); border-color: rgba(255, 107, 139, 0.4); color: #ffb3c3; }
.btn.danger:hover { background: rgba(255, 107, 139, 0.22); border-color: rgba(255, 107, 139, 0.6); }
.btn.ghost { background: none; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: rgba(138, 75, 255, 0.14); color: #fff; border-color: transparent; }
.btn.sm { height: 31px; padding: 0 13px; font-size: 12.5px; }
.btn.icon { width: 38px; padding: 0; }
.btn.sm.icon { width: 31px; }
.btn.block { width: 100%; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field .hint { font-size: 12px; color: var(--text-3); }
.field .err { font-size: 12px; color: var(--red); }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields .span-all { grid-column: 1 / -1; }
.input, .select, .textarea {
  width: 100%; height: 40px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(10, 5, 24, 0.55); color: #fff; font: inherit; font-size: 13.5px; min-width: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.textarea { height: auto; min-height: 100px; padding: 11px 14px; resize: vertical; line-height: 1.45; }
.textarea.mono { font-family: var(--mono); font-size: 12.5px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet); background: rgba(20, 10, 44, 0.7); box-shadow: 0 0 0 4px rgba(138, 75, 255, 0.2), 0 0 24px rgba(138, 75, 255, 0.25); }
.input::placeholder, .textarea::placeholder { color: rgba(205, 182, 255, 0.36); }
.input:disabled, .select:disabled { opacity: 0.55; }
.select { appearance: none; padding-right: 32px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--lav) 50%), linear-gradient(135deg, var(--lav) 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.select option { background: #160c2e; color: #fff; }
.input.sm, .select.sm { height: 31px; font-size: 12.5px; border-radius: 10px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; color: #fff; user-select: none; }
.check input { width: 16px; height: 16px; accent-color: var(--pink); margin: 0; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; font-weight: 600; user-select: none; }
.switch input { display: none; }
.switch .track { width: 40px; height: 23px; border-radius: 23px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); position: relative; flex: none; transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.switch .track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--lav); transition: transform 0.3s var(--ease), background 0.2s; }
.switch input:checked + .track { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 18px rgba(255, 79, 216, 0.45); }
.switch input:checked + .track::after { transform: translateX(17px); background: #fff; }
.switch.disabled { opacity: 0.45; cursor: not-allowed; }
.toolbar { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar .field { min-width: 150px; }
.toolbar .field.wide { min-width: 240px; flex: 1; }
.toolbar .btns { display: flex; gap: 8px; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 23px; padding: 0 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; background: rgba(205, 182, 255, 0.1); color: var(--text-2); border: 1px solid var(--line); }
.badge.green { background: var(--green-bg); color: var(--green); border-color: rgba(62, 224, 161, 0.3); }
.badge.red { background: var(--red-bg); color: var(--red); border-color: rgba(255, 107, 139, 0.32); }
.badge.amber { background: var(--amber-bg); color: var(--amber); border-color: rgba(255, 196, 92, 0.3); }
.badge.blue { background: var(--blue-bg); color: var(--violet-2); border-color: rgba(185, 140, 255, 0.35); }
.badge.pink { background: rgba(255, 79, 216, 0.14); color: var(--pink-2); border-color: rgba(255, 79, 216, 0.35); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { position: sticky; top: 0; text-align: left; background: rgba(16, 8, 35, 0.96); padding: 13px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 9.5px; }
.card .table th:first-child { border-top-left-radius: var(--radius); }
.card .table th:last-child { border-top-right-radius: var(--radius); }
.table td { padding: 13px 18px; border-bottom: 1px solid rgba(205, 182, 255, 0.08); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background 0.2s var(--ease); }
.table tbody tr:hover td { background: rgba(138, 75, 255, 0.08); }
.table tr.click { cursor: pointer; }
.table td.r, .table th.r { text-align: right; }
.table td.c, .table th.c { text-align: center; }
.table td.nw { white-space: nowrap; }
.table td.mono { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.table tfoot td { font-family: var(--display); font-weight: 800; border-top: 1px solid var(--line-2); background: rgba(138, 75, 255, 0.12); }
.table.dense td { padding: 9px 14px; }
.table .sel { width: 40px; }
.table input[type='checkbox'] { accent-color: var(--pink); }
.table-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.table-foot .pager { margin-left: auto; display: flex; gap: 6px; align-items: center; }

/* ---------- states ---------- */
.empty { padding: 48px 20px; text-align: center; color: var(--text-3); font-size: 13px; }
.empty svg { color: var(--violet-2); margin-bottom: 10px; filter: drop-shadow(0 0 12px rgba(138, 75, 255, 0.6)); }
.empty b { display: block; color: var(--text-2); font-family: var(--display); font-weight: 800; font-size: 15px; margin-bottom: 3px; }
.loading { padding: 48px 20px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text-3); font-size: 13px; }
.loading .spin { color: var(--pink); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 18px; border-radius: var(--radius-sm); font-size: 13px; border: 1px solid; margin-bottom: 16px; }
.alert svg { flex: none; margin-top: 2px; }
.alert.red { background: var(--red-bg); border-color: rgba(255, 107, 139, 0.3); color: #ffc7d3; }
.alert.amber { background: var(--amber-bg); border-color: rgba(255, 196, 92, 0.3); color: #ffe1a8; }
.alert.green { background: var(--green-bg); border-color: rgba(62, 224, 161, 0.3); color: #b4f5da; }
.alert.blue { background: rgba(138, 75, 255, 0.12); border-color: rgba(185, 140, 255, 0.28); color: var(--text-2); }
.alert .alert-title { display: block; color: #fff; margin-bottom: 2px; font-weight: 700; }

/* ---------- key / value ---------- */
.kv { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 10px 22px; font-size: 13px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; min-width: 0; word-break: break-word; }
.secret { display: flex; align-items: center; gap: 8px; background: rgba(138, 75, 255, 0.1); border: 1px dashed rgba(185, 140, 255, 0.4); border-radius: var(--radius-sm); padding: 9px 12px; }
.secret code { background: none; border: 0; padding: 0; flex: 1; }
.pre { background: rgba(5, 2, 12, 0.7); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; font: 12px/1.55 var(--mono); overflow: auto; max-height: 420px; white-space: pre-wrap; word-break: break-all; margin: 0; color: #e3d7ff; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 6px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); width: fit-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.25s var(--ease), color 0.2s var(--ease); }
.tab:hover { color: #fff; background: rgba(138, 75, 255, 0.12); }
.tab.on { color: #fff; background: linear-gradient(180deg, rgba(138, 75, 255, 0.65), rgba(90, 30, 200, 0.5)); box-shadow: 0 4px 18px rgba(138, 75, 255, 0.35); }
.tab .faint { color: inherit; opacity: 0.6; }
.seg { display: inline-flex; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px; padding: 3px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; white-space: nowrap; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: var(--violet); color: #fff; box-shadow: 0 4px 14px rgba(138, 75, 255, 0.4); }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(5, 2, 12, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px 24px; overflow-y: auto; animation: fade 0.2s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 560px; background: linear-gradient(180deg, #1a0d38, #0e0720); border: 1px solid var(--line-2); border-radius: 26px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(138, 75, 255, 0.18); display: flex; flex-direction: column; animation: pop 0.4s var(--ease); }
.modal.lg { max-width: 820px; }
.modal.xl { max-width: 1100px; }
.modal.sm { max-width: 440px; }
@keyframes pop { from { transform: translateY(16px) scale(0.985); opacity: 0; } }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 20px; font-weight: 900; letter-spacing: -0.03em; }
.modal-head .sub { margin-top: 4px; }
.modal-head .btn { margin-left: auto; }
.modal-body { padding: 24px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; background: linear-gradient(180deg, #1d1040, #120828); border: 1px solid var(--line-2); border-radius: 18px; padding: 13px 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); font-size: 13.5px; font-weight: 500; animation: pop 0.4s var(--ease); }
.toast svg { flex: none; margin-top: 2px; color: var(--lav); }
.toast.ok svg { color: var(--green); }
.toast.err svg { color: var(--red); }
.toast .grow { word-break: break-word; }
.palette { width: 100%; max-width: 580px; background: linear-gradient(180deg, #1a0d38, #0e0720); border: 1px solid var(--line-2); border-radius: 26px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(138, 75, 255, 0.2); animation: pop 0.35s var(--ease); }
.palette input { width: 100%; height: 58px; border: 0; border-bottom: 1px solid var(--line); background: none; color: #fff; font: inherit; font-size: 16px; padding: 0 22px; outline: none; }
.palette-list { max-height: 380px; overflow-y: auto; padding: 8px; }
.palette-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 0; background: none; color: var(--text-2); font: inherit; font-weight: 600; text-align: left; border-radius: 999px; cursor: pointer; }
.palette-item.on { background: linear-gradient(90deg, rgba(138, 75, 255, 0.45), rgba(138, 75, 255, 0.1)); color: #fff; }
.palette-item span { margin-left: auto; font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }

/* ---------- sign in ---------- */
.auth { position: relative; min-height: 100%; display: grid; place-items: center; padding: 24px 16px; overflow: hidden; }
.auth-tiles { position: absolute; inset: 0; pointer-events: none; }
.auth-tiles i { position: absolute; width: 220px; height: 150px; border-radius: 28px; border: 1px solid rgba(205, 182, 255, 0.07); background: rgba(150, 110, 255, 0.03); }
.auth-card { position: relative; width: 100%; max-width: 420px; background: var(--glass); border: 1px solid var(--line-2); border-radius: 30px; padding: 34px 32px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 80px rgba(138, 75, 255, 0.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: rise 0.7s var(--ease); }
.auth-card .logo { display: block; width: 128px; height: 128px; object-fit: contain; margin: -6px auto 14px; filter: drop-shadow(0 14px 34px rgba(138, 75, 255, 0.6)); }
.auth-card .eyebrow { text-align: center; margin-bottom: 8px; }
.auth-card h1 { font-size: 34px; font-weight: 900; letter-spacing: -0.015em; word-spacing: 0.08em; text-align: center; text-transform: uppercase; transform: skewX(-8deg); }
.auth-card .sub { text-align: center; margin: 8px 0 26px; }
.auth-card h1:last-of-type:not(:has(+ .sub)) { margin-bottom: 26px; }
.auth-card .field + .field { margin-top: 16px; }
.auth-card .btn.block { margin-top: 24px; height: 48px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.link-btn { background: none; border: 0; padding: 0; color: var(--violet-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.link-btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.code-input { text-align: center; letter-spacing: 0.4em; font-family: var(--mono); font-size: 19px !important; height: 50px !important; }

/* ---------- charts ---------- */
.chart { width: 100%; display: block; }
.chart text { fill: var(--text-3); font-size: 10.5px; font-family: var(--font); }
.chart .grid line { stroke: rgba(205, 182, 255, 0.09); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 200px) 1fr auto; gap: 12px; align-items: center; font-size: 13px; padding: 7px 0; }
.bar-row b { font-family: var(--display); font-weight: 800 !important; }
.bar-track { height: 8px; border-radius: 8px; background: rgba(205, 182, 255, 0.08); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--violet), var(--pink)); box-shadow: 0 0 12px rgba(255, 79, 216, 0.35); }
.tip { position: fixed; z-index: 300; pointer-events: none; background: #1a0d38; border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 11px; font-size: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6); }

/* ---------- docs (markdown) ---------- */
.md { font-size: 14px; line-height: 1.7; color: rgba(236, 228, 255, 0.86); }
.md h1 { font-size: 30px; font-weight: 900; letter-spacing: -0.035em; margin: 4px 0 18px; color: #fff; }
.md h2 { font-size: 21px; font-weight: 800; margin: 30px 0 12px; color: #fff; }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.md h3 { font-size: 16px; margin: 24px 0 8px; color: #fff; }
.md p, .md ul, .md ol { margin: 0 0 12px; }
.md li { margin: 3px 0; }
.md pre { background: rgba(5, 2, 12, 0.7); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; overflow-x: auto; }
.md pre code { background: none; border: 0; padding: 0; font-size: 12.5px; word-break: normal; }
.md table { border-collapse: collapse; width: 100%; margin: 0 0 14px; font-size: 13px; display: block; overflow-x: auto; }
.md th, .md td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; }
.md th { background: rgba(138, 75, 255, 0.12); font-weight: 700; }
.md blockquote { margin: 0 0 12px; padding: 9px 16px; border-left: 3px solid var(--pink); background: rgba(255, 79, 216, 0.06); border-radius: 0 12px 12px 0; color: var(--text-2); }
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.docs-toc { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; font-size: 13px; }
.docs-toc a { display: block; padding: 5px 12px; color: var(--text-2); border-radius: 999px; font-weight: 500; }
.docs-toc a:hover { background: rgba(138, 75, 255, 0.12); color: #fff; text-decoration: none; }
.docs-toc a.l3 { padding-left: 24px; font-size: 12.5px; color: var(--text-3); }

/* ---------- media ---------- */
.thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 12px; background: rgba(138, 75, 255, 0.12); flex: none; display: block; border: 1px solid var(--line); }
.thumb.lg { width: 74px; height: 74px; }

/* game images by shape (Providers → Games → Images) */
.shape-cell { display: flex; gap: 10px; align-items: center; min-width: 158px; }
.limit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.card-body > .limit-row:first-child { border-top: 0; padding-top: 2px; }
.limit-text { flex: 1; min-width: 220px; max-width: 560px; }
.limit-text .small { margin-top: 3px; line-height: 1.5; }
.usd-input { display: flex; align-items: center; gap: 8px; width: 320px; max-width: 100%; padding: 0 14px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); cursor: text; }
.usd-input:focus-within { border-color: var(--violet, #8a4bff); }
.usd-input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: inherit; font: inherit; font-size: 15px; }
.usd-input input::placeholder { color: var(--text-3, #8b8b9a); }
.usd-sign { color: var(--text-3, #8b8b9a); font-weight: 600; }
.usd-ccy { color: var(--text-3, #8b8b9a); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; }
.provider-logo-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 16px; flex-wrap: wrap; }
.provider-logo-box { width: 96px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text-3, #8b8b9a); overflow: hidden; }
.provider-logo-box img { max-width: 84px; max-height: 40px; object-fit: contain; }
.provider-logo-text { flex: 1; min-width: 200px; }
.provider-logo-text .small { margin-top: 3px; }
.shape-thumb { display: block; flex: none; object-fit: cover; border-radius: 8px; background: rgba(138, 75, 255, 0.12); border: 1px solid var(--line); }
.shape-thumb.portrait { width: 39px; height: 52px; }
.shape-thumb.landscape { width: 69px; height: 52px; }
.shape-thumb.square { width: 52px; height: 52px; }
.shape-thumb.none { display: grid; place-items: center; border-style: dashed; border-color: rgba(255, 196, 92, 0.42); background: rgba(255, 196, 92, 0.05); color: var(--amber); }
.shape-thumb.lg.portrait { width: 120px; height: 160px; }
.shape-thumb.lg.landscape { width: 213px; height: 160px; }
.shape-thumb.lg.square { width: 160px; height: 160px; }
.shape-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.shape-meta .link-btn { background: none; border: 0; padding: 0; color: var(--violet-2); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; text-align: left; }
.shape-meta .link-btn:hover { color: #fff; text-decoration: underline; }
.seg-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.seg-scroll .seg { flex-wrap: nowrap; white-space: nowrap; }
.img-url { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

/* ---------- phones and tablets ---------- */
@media (max-width: 960px) {
  .side { inset: 0 auto 0 0; border-radius: 0 26px 26px 0; transform: translateX(-104%); transition: transform 0.4s var(--ease); width: 284px; }
  .side.open { transform: none; }
  .side .side-close { display: inline-flex; }
  .backdrop-nav.open { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(5, 2, 12, 0.6); backdrop-filter: blur(4px); }
  .main { margin-left: 0; }
  .topbar { padding: 0 14px; height: 58px; }
  .topbar .menu { display: inline-flex; }
  .content { padding: 22px 16px 48px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .docs-layout { grid-template-columns: minmax(0, 1fr); }
  .docs-toc { display: none; }
}
@media (max-width: 640px) {
  .page-head { align-items: flex-start; }
  .page-head h1 { font-size: 27px; }
  .page-head .actions { margin-left: 0; width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px; border-radius: 18px; }
  .stat-value { font-size: 22px; }
  .card { border-radius: 18px; }
  .card-head { padding: 15px 16px; }
  .card-body { padding: 16px; }
  .fields, .fields.two { grid-template-columns: minmax(0, 1fr); }
  .toolbar .field, .toolbar .field.wide { min-width: 0; flex: 1 1 140px; }
  .toolbar .btns { width: 100%; }
  .toolbar .btns .btn { flex: 1; }
  .tabs { width: 100%; }
  .overlay { padding: 0; align-items: stretch; }
  .modal, .modal.lg, .modal.xl, .modal.sm { max-width: none; min-height: 100%; border-radius: 0; border: 0; }
  .modal-body { flex: 1; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .table th, .table td { padding: 11px 12px; }
  .bar-row { grid-template-columns: minmax(70px, 110px) 1fr auto; }
  .hide-sm { display: none; }
  .auth-card { padding: 28px 20px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* client brand cards */
.brand-tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #ff5bd9, #8a4bff); box-shadow: 0 8px 24px -8px rgba(255, 79, 216, 0.7); transform: rotate(-6deg); }
.brand-tile span { font-family: var(--display); font-weight: 900; font-size: 22px; color: #fff; transform: skewX(-8deg) rotate(6deg); }
.brand-card .kv { grid-template-columns: minmax(100px, max-content) 1fr; gap: 8px 16px; }

/* game tiles */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.game-tile { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 8px; border-radius: 16px; background: rgba(138, 75, 255, 0.06); border: 1px solid var(--line); }
.game-tile img, .game-tile .game-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 11px; background: linear-gradient(135deg, rgba(138, 75, 255, 0.25), rgba(255, 79, 216, 0.15)); display: block; margin-bottom: 5px; }
.game-tile b { font-size: 12.5px; font-weight: 700; }
.game-tile span { font-size: 11px; color: var(--text-3); }
.rate-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, rgba(255, 91, 217, 0.28), rgba(138, 75, 255, 0.32)); border: 1px solid rgba(205, 182, 255, 0.25); }

/* pickable chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2, rgba(205, 182, 255, 0.2)); background: rgba(255, 255, 255, 0.03); color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; max-width: 100%; }
.chip:hover { border-color: rgba(205, 182, 255, 0.4); color: #fff; }
.chip.on { background: linear-gradient(135deg, rgba(255, 91, 217, 0.22), rgba(138, 75, 255, 0.3)); border-color: rgba(255, 79, 216, 0.55); color: #fff; }
.chip .x { opacity: 0.6; display: inline-flex; }
.chip:disabled { opacity: 0.4; cursor: not-allowed; }
.cmp th.best, .cmp td.best { background: rgba(255, 79, 216, 0.08); }
.cmp td.best b { color: var(--pink); }

/* sign-in methods */
.method { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); }
.method:first-of-type { border-top: 0; }
.alert + .method { border-top: 0; }
.method-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, rgba(255, 91, 217, 0.35), rgba(138, 75, 255, 0.45)); border: 1px solid rgba(205, 182, 255, 0.22); flex: none; }
.qr { width: 168px; height: 168px; border-radius: 16px; background: #fff; padding: 8px; flex: none; }
.secret-key { font-family: var(--mono); font-size: 13px; padding: 8px 12px; border-radius: 10px; background: rgba(5, 2, 12, 0.6); border: 1px solid var(--line); word-break: break-all; }
.backup-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.backup-codes code { font-family: var(--mono); font-size: 14px; text-align: center; padding: 9px; border-radius: 10px; background: rgba(5, 2, 12, 0.6); border: 1px solid var(--line); letter-spacing: 0.06em; }
.game-tile .game-ph { display: grid; place-items: center; color: rgba(255, 255, 255, 0.45); }
.game-tile .game-demo { margin-top: 4px; justify-content: center; }
.demo-tag { margin-inline-start: 8px; vertical-align: 1px; }
.provider-cell { display: flex; align-items: center; gap: 12px; }
.provider-cell-logo { width: 56px; height: 32px; flex: none; object-fit: contain; border-radius: 6px; background: rgba(255, 255, 255, 0.04); padding: 3px; }
.provider-cell-logo.is-empty { display: block; border: 1px dashed var(--line); background: none; }
.stats:has(> .stat:only-child) { grid-template-columns: minmax(0, 380px); }

/* numbered how-to list */
.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps-list li { counter-increment: step; position: relative; padding: 4px 0 0 42px; min-height: 30px; color: var(--text-2); line-height: 1.5; overflow-wrap: anywhere; }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--pink-2, #ff5bd9), var(--violet, #8a4bff)); transform: skewX(-8deg); }
.steps-list b { color: #fff; }
.steps-list code { white-space: normal; }
.boost-rows { display: grid; gap: 8px; }
.boost-row { display: grid; grid-template-columns: 90px auto 90px 32px; gap: 10px; align-items: center; justify-content: start; }
.boost-row .faint { font-size: 13px; white-space: nowrap; }
.mult-list { display: flex; flex-wrap: wrap; gap: 6px; }
.mult { white-space: nowrap; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2, rgba(205, 182, 255, 0.2)); color: var(--text-2); }
.md td:first-child code { white-space: nowrap; }

/* Sportsbook setup */
.stack > * + * { margin-top: 18px; }
.section-label { margin: 20px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.section-label .faint { text-transform: none; letter-spacing: 0; font-weight: 500; }
.swatch { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2, rgba(205, 182, 255, 0.2)); background-image: linear-gradient(45deg, rgba(255,255,255,0.06) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.06) 75%); background-size: 10px 10px; }
.logo-preview { margin-top: 10px; display: inline-flex; padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--line-2, rgba(205, 182, 255, 0.2)); background: rgba(0, 0, 0, 0.25); }
.logo-preview img { max-height: 40px; max-width: 220px; display: block; }
.banner-edit { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: rgba(255, 255, 255, 0.02); }
.banner-thumb { flex: none; width: 120px; height: 68px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); }
.banner-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pick-list li { display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 6px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.pick-n { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: rgba(138, 75, 255, 0.35); }
.league-list { margin-top: 10px; max-height: 240px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; }
.league-opt { display: flex; width: 100%; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.league-opt:hover:not(:disabled) { background: rgba(138, 75, 255, 0.12); }
.league-opt:disabled { opacity: 0.45; cursor: default; }
@media (max-width: 640px) {
  .banner-edit { flex-direction: column; }
  .banner-thumb { width: 100%; height: 120px; }
}
.btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* RTP & countries tab (admin Providers > Games) */
.rtp-step { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line, rgba(255, 255, 255, 0.08)); }
.rtp-step-n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--pink-2, #ff5bd9), var(--violet, #8a4bff)); transform: skewX(-8deg); }
.rtp-step .small { overflow-wrap: anywhere; }
.rtp-report { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line, rgba(255, 255, 255, 0.08)); }
.rtp-scroll { max-height: 320px; overflow: auto; margin-bottom: 10px; }
.rtp-details { margin: 8px 0; }
.rtp-details summary { cursor: pointer; margin-bottom: 6px; }
.rtp-details > div { padding: 2px 0 2px 14px; overflow-wrap: anywhere; }
