/* ════════════════════════════════════════════════════════
   1xBot — design system
   ════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #070912; --bg2: #0b0e1a; --panel: #0f1322; --panel2: #151a2d; --panel3: #1c2238;
  --line: rgba(255,255,255,0.07); --line2: rgba(255,255,255,0.13);
  --text: #eef1fb; --dim: #a6aec8; --mute: #6c7493;
  --brand: #8b7bff; --brand2: #3ecbff; --grad: linear-gradient(135deg, #8b7bff 0%, #3ecbff 100%);
  --brand-soft: rgba(139,123,255,0.14); --brand-line: rgba(139,123,255,0.45);
  --pos: #2fd99b; --pos-soft: rgba(47,217,155,0.13); --pos-line: rgba(47,217,155,0.4);
  --neg: #ff5d7a; --neg-soft: rgba(255,93,122,0.13); --neg-line: rgba(255,93,122,0.4);
  --warn: #ffc35a; --warn-soft: rgba(255,195,90,0.12); --warn-line: rgba(255,195,90,0.35);
  --r: 14px; --r-lg: 20px; --shadow: 0 18px 50px -18px rgba(0,0,0,0.7);
  --ui: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif;
}
[hidden] { display: none !important; }
html { color-scheme: dark; }
body { font-family: var(--ui); background: var(--bg); color: var(--text); min-height: 100vh; font-size: 14px; line-height: 1.45; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 12% -5%, rgba(139,123,255,0.20), transparent 70%),
              radial-gradient(50% 45% at 100% 100%, rgba(62,203,255,0.12), transparent 70%); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand2); text-decoration: none; } a:hover { text-decoration: underline; }
::selection { background: rgba(139,123,255,0.4); }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: var(--panel3); border-radius: 10px; border: 2px solid var(--bg); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.muted { color: var(--mute); } .dim { color: var(--dim); } .pos { color: var(--pos); } .neg { color: var(--neg); } .warn { color: var(--warn); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Brand ── */
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #070912; box-shadow: 0 6px 20px -6px rgba(139,123,255,0.8); }
.brand-mark .ic { stroke-width: 2.6; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); font-weight: 600; font-size: 13px; transition: transform .08s, border-color .15s, background .15s, opacity .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { border-color: var(--brand-line); } .btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--grad); border-color: transparent; color: #070912; font-weight: 700; box-shadow: 0 10px 26px -12px rgba(139,123,255,0.9); }
.btn.primary:hover { box-shadow: 0 12px 30px -10px rgba(62,203,255,0.8); }
.btn.ghost { background: transparent; color: var(--dim); } .btn.ghost:hover { color: var(--text); }
.btn.danger { background: var(--neg-soft); border-color: var(--neg-line); color: var(--neg); }
.btn.stop { background: transparent; border-color: var(--neg-line); color: var(--neg); }
.btn.sm { padding: 6px 11px; font-size: 12px; border-radius: 8px; } .btn.lg { padding: 13px 18px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn .spin, .spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.18); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel2); color: var(--dim); transition: color .15s, border-color .15s; }
.icon-btn:hover { color: var(--text); border-color: var(--brand-line); }

/* ── Forms ── */
.field { margin-bottom: 14px; }
.lbl { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.in { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; color: var(--text); padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; font-size: 14px; }
.in:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(139,123,255,0.18); }
.in::placeholder { color: var(--mute); }
select.in { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c7493' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.in.sm { padding: 8px 10px; font-size: 13px; border-radius: 8px; }
.in-wrap { position: relative; } .in-wrap > .ic { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.in-wrap .in { padding-inline-start: 40px; } .in-wrap.has-eye .in { padding-inline-end: 42px; }
.eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border: none; background: transparent; color: var(--mute); border-radius: 8px; } .eye:hover { color: var(--text); }
.row { display: flex; gap: 10px; } .row > * { flex: 1; min-width: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); cursor: pointer; } .check input { accent-color: var(--brand); width: 15px; height: 15px; cursor: pointer; }
.hint { font-size: 12px; color: var(--mute); margin-top: 6px; }
.alert { border-radius: 10px; padding: 11px 13px; font-size: 13px; margin-bottom: 14px; background: var(--neg-soft); border: 1px solid var(--neg-line); color: #ff9db0; }
.alert.ok { background: var(--pos-soft); border-color: var(--pos-line); color: var(--pos); }
.alert.warn { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); }

/* ── Segmented control ── */
.seg { display: inline-flex; gap: 3px; padding: 4px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; }
.seg button { border: 1px solid transparent; background: transparent; color: var(--dim); font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; transition: all .15s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--panel3); color: var(--text); border-color: var(--line2); }
.seg.block { display: flex; } .seg.block button { flex: 1; justify-content: center; }
.seg.mode button.on[data-mode="paper"] { background: var(--pos-soft); border-color: var(--pos-line); color: var(--pos); }
.seg.mode button.on[data-mode="live"]  { background: var(--neg-soft); border-color: var(--neg-line); color: var(--neg); }
.count { font-size: 10px; font-weight: 700; background: var(--neg-soft); color: var(--neg); border-radius: 10px; padding: 1px 6px; }

/* ── Badges / chips ── */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; background: var(--panel3); color: var(--dim); border: 1px solid var(--line); white-space: nowrap; }
.badge.paper, .badge.ok { background: var(--pos-soft); color: var(--pos); border-color: var(--pos-line); }
.badge.live { background: var(--neg-soft); color: var(--neg); border-color: var(--neg-line); }
.badge.auto { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-line); }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: var(--warn-line); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; } .dot.pulse { animation: pulse 1.6s ease-in-out infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border: 1px solid var(--line2); border-radius: 20px; background: transparent; color: var(--dim); font-size: 12px; font-weight: 500; transition: all .15s; }
.chip:hover { color: var(--text); border-color: var(--brand-line); }
.chip.active { background: var(--brand-soft); border-color: var(--brand-line); color: var(--text); }
.pill { font-size: 11px; background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--dim); white-space: nowrap; } .pill b { color: var(--text); font-weight: 600; }

/* ── Cards ── */
.card { background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)), var(--panel); border: 1px solid var(--line2); border-radius: var(--r-lg); padding: 18px; position: relative; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.card-title { font-family: var(--display); font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 9px; letter-spacing: -0.01em; }
.card-title .ic { color: var(--brand); }
.card-sub { font-size: 12px; color: var(--mute); margin-bottom: 14px; }
.notice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 13px 16px; border-radius: var(--r); background: var(--brand-soft); border: 1px solid var(--brand-line); margin-bottom: 16px; font-size: 13px; }
.notice .ic { color: var(--brand); } .notice .btn { margin-inline-start: auto; }
.empty { border: 1px dashed var(--line2); border-radius: var(--r-lg); padding: 44px 24px; text-align: center; color: var(--dim); }
.empty-ic { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); } .empty-ic .ic { width: 24px; height: 24px; }
.empty-title { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.empty-sub { font-size: 13px; color: var(--mute); max-width: 420px; margin: 0 auto; } .empty .btn { margin-top: 16px; }
.loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px 20px; color: var(--dim); }

/* ── Boot ── */
#boot { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 500; } #boot .spin { width: 34px; height: 34px; border-width: 3px; color: var(--brand); }

/* ════════════ AUTH ════════════ */
.auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-hero { padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; border-inline-end: 1px solid var(--line); position: relative; overflow: hidden;
  background: radial-gradient(70% 60% at 20% 10%, rgba(139,123,255,0.28), transparent 70%), radial-gradient(60% 50% at 90% 90%, rgba(62,203,255,0.18), transparent 70%), var(--bg2); }
.auth-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(80% 70% at 30% 30%, #000, transparent); -webkit-mask-image: radial-gradient(80% 70% at 30% 30%, #000, transparent); }
.auth-hero > * { position: relative; z-index: 1; }
.hero-title { font-family: var(--display); font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 16px; max-width: 520px; }
.hero-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 16px; color: var(--dim); max-width: 460px; margin-bottom: 32px; }
.hero-feats { display: grid; gap: 12px; max-width: 480px; }
.feat { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: rgba(255,255,255,0.04); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.feat-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.feat b { display: block; font-size: 14px; margin-bottom: 1px; } .feat span { font-size: 12.5px; color: var(--dim); }
.hero-foot { font-size: 12px; color: var(--mute); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 420px; animation: rise .35s ease both; }
.auth-card .brand { display: none; margin-bottom: 28px; }
.auth-h { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.auth-p { color: var(--dim); margin-bottom: 22px; }
.auth-card .seg { margin-bottom: 22px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 13px; color: var(--mute); } .auth-alt button { background: none; border: none; color: var(--brand2); font-weight: 600; }
.strength { height: 4px; border-radius: 4px; background: var(--panel3); margin-top: 8px; overflow: hidden; } .strength i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width .2s, background .2s; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-hero { display: none; } .auth-card .brand { display: flex; } }

/* ════════════ LINK 1XBET ════════════ */
.overlay { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5,7,14,0.78); backdrop-filter: blur(10px); overflow-y: auto; }
.overlay.solid { background: var(--bg); backdrop-filter: none; }
.overlay.solid::before { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, rgba(139,123,255,0.22), transparent 70%); }
.link-box { width: 100%; max-width: 460px; position: relative; animation: rise .3s ease both; margin: auto; }
.steps { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 12px; font-weight: 600; color: var(--mute); }
.step { display: flex; align-items: center; gap: 8px; } .step i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; border: 1px solid var(--line2); }
.step.done { color: var(--pos); } .step.done i { background: var(--pos-soft); border-color: var(--pos-line); }
.step.now { color: var(--text); } .step.now i { background: var(--grad); color: #070912; border-color: transparent; }
.steps .bar { flex: 1; height: 1px; background: var(--line2); }
.link-card { padding: 26px; box-shadow: var(--shadow); }
.xb-logo { width: 46px; height: 46px; border-radius: 13px; background: #14385f; color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.15); }
.assure { display: grid; gap: 8px; margin: 16px 0 4px; font-size: 12px; color: var(--dim); } .assure div { display: flex; gap: 8px; align-items: flex-start; } .assure .ic { width: 15px; height: 15px; color: var(--pos); margin-top: 1px; }
.link-progress { text-align: center; padding: 26px 0 10px; } .link-progress .spin { width: 40px; height: 40px; border-width: 3px; color: var(--brand); margin: 0 auto 16px; }

/* ════════════ APP SHELL ════════════ */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 22px 14px; border-inline-end: 1px solid var(--line); background: rgba(11,14,26,0.7); backdrop-filter: blur(14px); }
.rail .brand { padding: 0 8px 20px; }
.nav { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--dim); font-weight: 600; font-size: 14px; text-align: start; width: 100%; transition: all .15s; position: relative; }
.nav:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav.on { color: var(--text); background: var(--brand-soft); border-color: var(--brand-line); } .nav.on .ic { color: var(--brand); }
.nav .count { margin-inline-start: auto; }
.rail-foot { margin-top: auto; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,0.03); font-size: 12px; color: var(--mute); }
.rail-foot b { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 12px; margin-bottom: 3px; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--line); background: rgba(7,9,18,0.78); backdrop-filter: blur(14px); }
.page-title { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.page-sub { font-size: 12.5px; color: var(--mute); }
.top-right { display: flex; align-items: center; gap: 10px; }
.wallet { display: flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel2); font-family: var(--display); font-weight: 600; font-size: 15px; }
.wallet .ic { color: var(--pos); width: 16px; height: 16px; } .wallet small { font-family: var(--ui); font-size: 11px; color: var(--mute); font-weight: 600; }
.user-btn { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel2); font-weight: 600; font-size: 13px; }
.user-btn:hover { border-color: var(--brand-line); }
.avatar { width: 28px; height: 28px; border-radius: 9px; background: var(--grad); color: #070912; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 12px; }
.avatar.lg { width: 52px; height: 52px; border-radius: 16px; font-size: 20px; }
.menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 220px; padding: 8px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--panel2); box-shadow: var(--shadow); z-index: 60; }
.menu-id { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; } .menu-id b { display: block; } .menu-id span { font-size: 12px; color: var(--mute); word-break: break-all; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: none; background: transparent; border-radius: 8px; color: var(--dim); font-weight: 500; font-size: 13px; text-align: start; } .menu button:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.content { padding: 24px 28px 60px; max-width: 1500px; width: 100%; margin: 0 auto; }
.view { animation: rise .25s ease both; }

/* ── Tiles ── */
.tiles { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 14px; margin-bottom: 20px; }
.tile { padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)), var(--panel); position: relative; overflow: hidden; min-width: 0; }
.tile.hero { background: linear-gradient(135deg, rgba(139,123,255,0.22), rgba(62,203,255,0.08)), var(--panel); border-color: var(--brand-line); }
.tile-lbl { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.tile-val { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-val small { font-size: 14px; color: var(--dim); font-weight: 500; margin-right: 5px; }
.tile-sub { font-size: 11.5px; color: var(--mute); margin-top: 5px; }
.tile .icon-btn { position: absolute; top: 12px; inset-inline-end: 12px; width: 32px; height: 32px; }
.bot-lines { display: grid; gap: 7px; margin-top: 2px; } .bot-line { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--dim); }
@media (max-width: 1100px) { .tiles { grid-template-columns: 1fr 1fr; } }

/* ── Matches ── */
.matches-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar-right { display: flex; align-items: center; gap: 8px; }
#league-bar { margin-bottom: 16px; }
.match-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; align-items: start; }
.match { background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; padding: 15px 16px; transition: border-color .15s, transform .15s; min-width: 0; }
.match:hover { border-color: var(--brand-line); }
.match.is-live { background: linear-gradient(180deg, rgba(255,93,122,0.06), transparent 40%), var(--panel); }
.match-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.league { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.when { font-size: 11px; color: var(--dim); white-space: nowrap; }
.live-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--neg); background: var(--neg-soft); border: 1px solid var(--neg-line); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.live-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--neg); animation: pulse 1.4s infinite; }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 14px; }
.team { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; }
.team-name { font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.25; width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.team-logo, .team-logo-img { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.team-logo { font-family: var(--display); font-size: 12px; font-weight: 700; }
.team-logo-img { background: rgba(255,255,255,0.05); border: 1px solid var(--line); overflow: hidden; } .team-logo-img img { width: 30px; height: 30px; object-fit: contain; transition: opacity .3s; }
.tl-0{background:rgba(139,123,255,.18);color:#a99dff} .tl-1{background:rgba(96,165,250,.16);color:#60a5fa} .tl-2{background:rgba(255,195,90,.16);color:var(--warn)} .tl-3{background:rgba(232,121,249,.15);color:#e879f9}
.tl-4{background:rgba(47,217,155,.15);color:var(--pos)} .tl-5{background:rgba(251,113,133,.15);color:#fb7185} .tl-6{background:rgba(251,146,60,.15);color:#fb923c} .tl-7{background:rgba(62,203,255,.15);color:var(--brand2)}
.mid { text-align: center; min-width: 64px; }
.vs { font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--mute); letter-spacing: .1em; }
.score { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; } .score i { font-style: normal; color: var(--mute); margin: 0 4px; font-weight: 500; }
.period { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--neg); margin-bottom: 4px; }
.live-stats { display: flex; justify-content: center; gap: 14px; font-size: 11px; color: var(--mute); margin: -4px 0 12px; } .live-stats b { color: var(--text); font-weight: 600; }
.odds { display: flex; gap: 6px; margin-bottom: 8px; }
.odd { flex: 1; background: var(--bg2); border: 1px solid var(--line); border-radius: 11px; padding: 7px 6px; text-align: center; transition: all .12s; min-width: 0; }
.odd:hover:not(:disabled) { border-color: var(--brand-line); background: var(--brand-soft); }
.odd:disabled { opacity: .4; cursor: default; }
.odd small { display: block; font-size: 10px; font-weight: 600; color: var(--mute); letter-spacing: .04em; margin-bottom: 1px; }
.odd b { font-family: var(--display); font-size: 15px; font-weight: 600; }
.odd.selected, .mchip.selected { background: var(--grad); border-color: transparent; color: #070912; } .odd.selected small, .mchip.selected small { color: rgba(7,9,18,0.65); }
.no-odds { font-size: 12px; color: var(--mute); text-align: center; padding: 8px 0; }
.match-actions { display: flex; gap: 6px; }
.link-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border-radius: 10px; border: 1px dashed var(--line2); background: transparent; color: var(--dim); font-size: 12px; font-weight: 600; transition: all .15s; }
.link-btn:hover { color: var(--text); border-color: var(--brand-line); border-style: solid; } .link-btn .ic { width: 14px; height: 14px; }
.link-btn.strat { color: var(--brand); border-color: var(--brand-line); }
.markets-panel { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); max-height: 300px; overflow-y: auto; }
.markets-panel.open { display: block; }
.mgroup { margin-bottom: 10px; } .mname { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); margin-bottom: 5px; }
.mrow { display: flex; flex-wrap: wrap; gap: 5px; }
.mchip { padding: 5px 9px; background: var(--bg2); border: 1px solid var(--line); border-radius: 9px; text-align: start; transition: all .12s; } .mchip:hover:not(:disabled) { border-color: var(--brand-line); } .mchip:disabled { opacity: .45; cursor: default; }
.mchip small { display: block; font-size: 10px; color: var(--mute); } .mchip b { font-family: var(--display); font-size: 13px; font-weight: 600; }
.mini-load { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mute); padding: 6px 0; } .err-line { font-size: 12px; color: var(--neg); padding: 4px 0; }

/* ── Bet slip ── */
.slip-col { position: sticky; top: 92px; display: grid; gap: 14px; }
.slip-empty { text-align: center; padding: 26px 8px; color: var(--mute); font-size: 13px; }
.slip-item { background: var(--bg2); border: 1px solid var(--line2); border-radius: 13px; padding: 12px 14px; position: relative; }
.slip-match { font-size: 12px; color: var(--mute); padding-inline-end: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slip-bet { font-weight: 600; margin: 2px 0; } .slip-coef { font-family: var(--display); font-size: 26px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.slip-meta { font-size: 11px; color: var(--mute); }
.slip-x { position: absolute; top: 8px; inset-inline-end: 8px; width: 24px; height: 24px; border: none; background: transparent; color: var(--mute); border-radius: 6px; font-size: 15px; } .slip-x:hover { color: var(--neg); }
.stake-in { text-align: center; font-family: var(--display); font-size: 24px; font-weight: 700; padding: 10px; }
.quick { display: flex; gap: 5px; margin: 8px 0 14px; } .quick button { flex: 1; padding: 6px 2px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg2); color: var(--dim); font-size: 12px; font-weight: 600; } .quick button:hover { color: var(--text); border-color: var(--brand-line); }
.pay { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); margin-bottom: 4px; } .pay b { font-family: var(--display); color: var(--text); font-weight: 600; }
.pay.total { margin-top: 9px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); } .pay.total b { color: var(--pos); font-size: 17px; }
.hist { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--dim); } .hist:last-child { border-bottom: none; } .hist b { font-family: var(--display); color: var(--text); }
.slip-fab { display: none; position: fixed; right: 18px; bottom: 84px; z-index: 120; box-shadow: var(--shadow); }
.slip-close { display: none; }

/* ── Bots ── */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.stack { display: grid; gap: 16px; min-width: 0; }
.status-box { margin-top: 12px; font-size: 12px; color: var(--mute); } .status-box:empty { display: none; }
.stat-line { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.log-line { padding: 5px 0; border-top: 1px solid var(--line); color: var(--mute); font-size: 11.5px; }
.probe { margin-bottom: 8px; padding: 9px 11px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); color: var(--dim); font-size: 11.5px; } .probe b { display: block; margin-bottom: 2px; }
.snipe { background: var(--bg2); border: 1px solid var(--line2); border-inline-start: 3px solid var(--mute); border-radius: 12px; padding: 11px 13px; margin-bottom: 8px; }
.snipe.watching, .snipe.paper_placed { border-inline-start-color: var(--brand); } .snipe.triggered, .snipe.halted { border-inline-start-color: var(--warn); }
.snipe.bet_placed { border-inline-start-color: var(--pos); } .snipe.bet_failed, .snipe.error { border-inline-start-color: var(--neg); } .snipe.stopped { opacity: .65; }
.snipe-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 600; font-size: 13px; }
.snipe-sub { font-size: 12px; color: var(--mute); margin: 2px 0 4px; } .snipe-state { font-size: 12px; font-weight: 600; color: var(--dim); }
.snipe.watching .snipe-state, .snipe.paper_placed .snipe-state { color: var(--brand); } .snipe.triggered .snipe-state, .snipe.halted .snipe-state { color: var(--warn); }
.snipe.bet_placed .snipe-state { color: var(--pos); } .snipe.bet_failed .snipe-state, .snipe.error .snipe-state { color: var(--neg); }
.watch { margin-top: 7px; padding-top: 6px; border-top: 1px dashed var(--line2); } .watch div { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--mute); line-height: 1.7; } .watch div.ok { color: var(--pos); } .watch i { font-style: normal; opacity: .7; }
.snipe-actions { display: flex; gap: 6px; margin-top: 9px; }

/* ── Performance / value ── */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--panel); } .kpi span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; } .kpi b { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.curve svg { width: 100%; height: 170px; display: block; }
.section-h { font-family: var(--display); font-size: 15px; font-weight: 600; margin: 22px 0 10px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line2); border-radius: var(--r); background: var(--panel); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; } .tbl th { text-align: start; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 11px 14px; } .tbl td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--dim); } .tbl td:first-child { color: var(--text); font-weight: 600; } .tbl .r { text-align: end; } .tbl td.num { font-weight: 600; }
.bet-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line2); border-inline-start: 3px solid var(--warn); background: var(--panel); margin-bottom: 7px; }
.bet-row.won { border-inline-start-color: var(--pos); } .bet-row.lost { border-inline-start-color: var(--neg); } .bet-row.void { border-inline-start-color: var(--mute); }
.bet-row .t { font-weight: 600; font-size: 13px; } .bet-row .s { font-size: 12px; color: var(--mute); margin-top: 1px; } .bet-row .rr { text-align: end; flex-shrink: 0; } .bet-row .rr b { font-family: var(--display); display: block; }
.vcontrols { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; } .vcontrols .field { margin: 0; } .vcontrols .in { width: auto; }
.vcard { background: var(--panel); border: 1px solid var(--line2); border-inline-start: 3px solid var(--brand); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.vcard.hot { border-inline-start-color: var(--pos); } .vcard.warm { border-inline-start-color: var(--warn); }
.vtop { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; } .vtop .t { font-weight: 600; font-size: 14px; } .vtop .s { font-size: 12px; color: var(--mute); }
.edge { text-align: end; flex-shrink: 0; } .edge b { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1; display: block; } .edge span { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.vcard .stat-line { margin: 10px 0; } .vact { display: flex; gap: 8px; align-items: center; } .vact .in { width: 84px; flex: none; } .vact .btn { flex: 1; } .vres { font-size: 12px; margin-top: 7px; } .vres:empty { display: none; }
.btn.paper { background: var(--pos-soft); border-color: var(--pos-line); color: var(--pos); }

/* ── Settings ── */
.profile { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; } .profile b { font-size: 16px; display: block; } .profile span { color: var(--mute); font-size: 13px; word-break: break-all; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); } .kv b { color: var(--text); font-weight: 600; text-align: end; word-break: break-all; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ── Modal ── */
.modal { width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto; margin: auto; padding: 22px; box-shadow: var(--shadow); animation: rise .25s ease both; }
.modal-match { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin: 12px 0; color: var(--dim); } .modal-match strong { color: var(--text); }
.strategy-grid { display: grid; gap: 8px; margin: 12px 0 14px; }
.strategy-card { background: var(--bg2); border: 1px solid var(--line2); border-radius: 13px; padding: 12px 14px; text-align: start; transition: all .15s; width: 100%; }
.strategy-card:hover { border-color: var(--brand-line); } .strategy-card.selected { border-color: var(--brand); background: var(--brand-soft); }
.strategy-card b { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 14px; margin-bottom: 3px; } .strategy-card span { font-size: 12px; color: var(--dim); display: block; }
.config { background: var(--bg2); border: 1px solid var(--line); border-radius: 13px; padding: 14px; margin-bottom: 14px; } .config .row { flex-wrap: wrap; margin-bottom: 10px; } .config .row > * { min-width: 120px; }

/* ── Toasts ── */
#toasts { position: fixed; right: 20px; bottom: 20px; z-index: 600; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 40px)); }
.toast { padding: 12px 15px; border-radius: 12px; background: var(--panel3); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 13px; animation: rise .2s ease both; }
.toast.ok { border-color: var(--pos-line); } .toast.err { border-color: var(--neg-line); color: #ffb3c1; }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1180px) {
  .matches-wrap { grid-template-columns: 1fr; }
  .slip-col { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 200; max-height: 85vh; overflow-y: auto; padding: 16px; background: var(--bg2); border-top: 1px solid var(--line2); border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .25s ease; box-shadow: 0 -20px 60px rgba(0,0,0,0.6); }
  .slip-col.open { transform: none; }
  .slip-fab { display: inline-flex; bottom: 24px; } .slip-close { display: grid; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .rail { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; flex-direction: row; justify-content: space-around; padding: 6px 8px; border-inline-end: none; border-top: 1px solid var(--line2); z-index: 150; background: rgba(11,14,26,0.95); }
  .rail .brand, .rail-foot { display: none; }
  .nav { flex-direction: column; gap: 3px; font-size: 10px; padding: 7px 4px; width: auto; flex: 1; align-items: center; } .nav .count { position: absolute; top: 2px; right: 14%; margin: 0; }
  .topbar { padding: 12px 16px; } .page-sub, .user-btn span { display: none; } .page-title { font-size: 18px; }
  .content { padding: 16px 16px 110px; }
  .grid2 { grid-template-columns: 1fr; } .match-list { grid-template-columns: 1fr; }
  .slip-fab { bottom: 84px; } #toasts { bottom: 84px; }
}
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } .tile-val { font-size: 20px; } .kpis { grid-template-columns: 1fr 1fr; } .wallet small { display: none; } }

/* ── Plans & signals ── */
.plan-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel2); color: var(--dim); font-weight: 700; font-size: 12px; white-space: nowrap; }
.plan-chip:hover { border-color: var(--brand-line); color: var(--text); }
.plan-chip.pro { background: var(--brand-soft); border-color: var(--brand-line); color: var(--text); }
.signal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; align-items: start; }
.signal { background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; padding: 15px 16px; min-width: 0; animation: rise .25s ease both; }
.signal.fresh { border-color: var(--brand-line); box-shadow: 0 0 0 1px var(--brand-line), 0 14px 40px -22px rgba(139,123,255,0.9); }
.sig-pick { background: var(--bg2); border: 1px solid var(--line); border-radius: 13px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sig-pick small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 2px; }
.sig-pick b { font-size: 14px; line-height: 1.3; display: block; }
.sig-price { text-align: end; flex-shrink: 0; } .sig-price b { font-family: var(--display); font-size: 20px; } .sig-price b { line-height: 1.1; } .sig-price span { display: block; font-size: 10px; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; }
.conf { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; font-size: 12px; color: var(--mute); }
.conf-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--panel3); overflow: hidden; } .conf-bar i { display: block; height: 100%; border-radius: 6px; background: var(--grad); }
.conf b { font-family: var(--display); color: var(--text); font-size: 14px; }
.sig-reason { font-size: 12.5px; color: var(--dim); }
.sig-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--mute); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 18px; justify-content: center; align-items: stretch; margin-top: 8px; }
.plan { padding: 26px; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--brand-line); background: linear-gradient(160deg, rgba(139,123,255,0.20), rgba(62,203,255,0.06) 60%), var(--panel); box-shadow: 0 30px 70px -40px rgba(139,123,255,0.9); }
.plan-name { font-family: var(--display); font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.plan-price { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 12px 0 2px; line-height: 1; } .plan-price small { font-family: var(--ui); font-size: 14px; font-weight: 500; color: var(--mute); letter-spacing: 0; }
.plan-desc { color: var(--dim); font-size: 13px; margin-bottom: 16px; }
.plan ul { list-style: none; display: grid; gap: 9px; margin-bottom: 22px; flex: 1; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; } .plan li .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--pos); } .plan li.no { color: var(--mute); } .plan li.no .ic { color: var(--mute); }
.plans-head { text-align: center; max-width: 560px; margin: 6px auto 22px; } .plans-head h2 { font-family: var(--display); font-size: 30px; letter-spacing: -0.02em; margin-bottom: 6px; } .plans-head p { color: var(--dim); }
.pay-box { max-width: 778px; margin: 18px auto 0; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ── Crypto checkout ── */
.pay-grid { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 6px; }
.pay-qr { width: 184px; height: 184px; border-radius: 14px; background: #fff; padding: 8px; display: block; }
.pay-line { margin-bottom: 12px; } .pay-line .lbl { margin-bottom: 4px; }
.copy-row { display: flex; align-items: center; gap: 8px; } .copy-row .btn { flex: none; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 13px; word-break: break-all; background: var(--bg2); border: 1px solid var(--line2); border-radius: 9px; padding: 8px 10px; flex: 1; min-width: 0; }
.pay-amount { font-family: var(--display); font-size: 22px; font-weight: 700; }
.coin-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px; align-items: center; margin-bottom: 8px; } .coin-row label { font-size: 13px; font-weight: 600; } .coin-row label span { display: block; font-size: 11px; font-weight: 500; color: var(--mute); }
.test-line { padding: 6px 0; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .pay-grid { grid-template-columns: 1fr; } .coin-row { grid-template-columns: 1fr; gap: 4px; } }

/* ── Language picker ── */
.lang-slot { display: inline-flex; }
.lang-select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line2); border-radius: 10px; background-color: var(--panel2); color: var(--dim); font: 600 12px var(--ui); padding: 8px 28px 8px 11px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236c7493' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.lang-select:hover { color: var(--text); border-color: var(--brand-line); }
.lang-select option { background: var(--panel2); color: var(--text); }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; } .auth-top .back-link { margin: 0; }

/* ── Right-to-left (Arabic) ── */
[dir="rtl"] select.in { background-position: left 12px center; padding-right: 12px; padding-left: 32px; }
[dir="rtl"] .lang-select { background-position: left 10px center; padding: 8px 11px 8px 28px; }
[dir="rtl"] .brand, [dir="rtl"] .score, [dir="rtl"] .pay-amount, [dir="rtl"] .mono, [dir="rtl"] .odd b, [dir="rtl"] .mchip b, [dir="rtl"] .slip-coef,
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"], [dir="rtl"] input[type="number"], [dir="rtl"] #xb-proxy, [dir="rtl"] #xb-email, [dir="rtl"] #odds-api-key { direction: ltr; }
[dir="rtl"] input[type="email"], [dir="rtl"] #xb-proxy, [dir="rtl"] #xb-email, [dir="rtl"] #odds-api-key, [dir="rtl"] .mono { text-align: right; }
[dir="rtl"] .hero-title, [dir="rtl"] .l-h1, [dir="rtl"] .l-h2, [dir="rtl"] .page-title, [dir="rtl"] .auth-h, [dir="rtl"] .card-title, [dir="rtl"] .tile-val, [dir="rtl"] .plan-price { letter-spacing: 0; }
[dir="rtl"] .lbl, [dir="rtl"] .tile-lbl, [dir="rtl"] .league, [dir="rtl"] .badge, [dir="rtl"] .l-kicker, [dir="rtl"] .kpi span, [dir="rtl"] .tbl th { letter-spacing: 0; }
[dir="rtl"] .slip-fab { right: auto; left: 18px; } [dir="rtl"] #toasts { right: auto; left: 20px; }
[dir="rtl"] .live-tag, [dir="rtl"] .when, [dir="rtl"] .period { direction: ltr; }

/* ── 1xBet verification screen ── */
.link-box.wide { max-width: 800px; }
.verify-shot { position: relative; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: #000; line-height: 0; }
.verify-shot img { width: 100%; height: auto; display: block; cursor: pointer; user-select: none; -webkit-user-drag: none; }
.verify-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,9,18,0.45); } .verify-busy .spin { width: 34px; height: 34px; border-width: 3px; color: var(--brand); }
