/* Partner arena — Blackrose Gaming tournament hub, powered by DSO Esports.
   Black velvet, gold foil, a drifting starfield and thorn lines; DSO corner brackets on panels. */
@font-face { font-family: "Cond"; src: url("/fonts/open-sans-condensed-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
.ar {
  --ink: #070707; --coal: #0e0d0c; --panel: #121110; --panel-2: #181614; --line: rgba(254, 211, 143, .14); --line-2: rgba(255, 255, 255, .08);
  --text: #f4eee6; --muted: #a59c90; --gold: #fed38f; --gold-deep: #d9a35a; --gold-hi: #fff1d6; --thorn: #b3263a; --good: #5fd39a;
  --dso-blue: #0992f9; --dso-red: #ef0e0d;
  --r: 10px; --cond: "Cond", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  --foil: linear-gradient(100deg, #b98443 0%, var(--gold) 28%, var(--gold-hi) 46%, var(--gold) 62%, #c48d4c 100%);
  color-scheme: dark;
}
.ar, .ar * { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.ar { margin: 0; min-height: 100vh; background: var(--ink); color: var(--text); font: 15px/1.55 var(--ui); overflow-x: hidden; }
:where(.ar) a { color: var(--gold); text-decoration: none; }
:where(.ar) a:hover { color: var(--gold-hi); }
:where(.ar) img { max-width: 100%; display: block; }
:where(.ar) :is(button, input, select, textarea) { font: inherit; color: inherit; }
.ar :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ar ::selection { background: var(--gold); color: #111; }

/* ---------- starfield (pure CSS, GPU-cheap) ---------- */
.ar-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 70% at 50% -10%, #1a1612 0%, var(--ink) 60%); }
.ar-sky i { position: absolute; inset: -50% 0 0; background-repeat: repeat; will-change: transform; }
.ar-sky i:nth-child(1) { background-image: radial-gradient(1px 1px at 20px 30px, #fff8 50%, transparent 51%), radial-gradient(1px 1px at 140px 90px, #fed38f99 50%, transparent 51%), radial-gradient(1.5px 1.5px at 260px 160px, #fff6 50%, transparent 51%); background-size: 300px 220px; animation: ar-drift 160s linear infinite; }
.ar-sky i:nth-child(2) { background-image: radial-gradient(2px 2px at 60px 120px, #fed38fbb 50%, transparent 52%), radial-gradient(1.5px 1.5px at 330px 40px, #fff9 50%, transparent 52%); background-size: 420px 300px; animation: ar-drift 110s linear infinite; opacity: .7; }
.ar-sky i:nth-child(3) { background-image: radial-gradient(3px 3px at 200px 200px, #fed38f66 40%, transparent 60%); background-size: 640px 520px; animation: ar-drift 80s linear infinite; filter: blur(1px); opacity: .6; }
@keyframes ar-drift { to { transform: translateY(50%); } }

/* ---------- top bar ---------- */
.ar-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; padding: 10px max(16px, calc((100vw - 1200px) / 2)); background: rgba(7, 7, 7, .78); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.ar-brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.ar-brand img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line), 0 0 18px rgba(254, 211, 143, .2); }
.ar-brand b { font: 700 20px/1 var(--cond); letter-spacing: .12em; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ar-brand small { display: block; font: 600 10px/1.2 var(--ui); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.ar-nav { display: flex; gap: 4px; margin-left: 10px; }
.ar-nav a { padding: 8px 12px; border-radius: 6px; color: var(--muted); font: 700 13px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.ar-nav a:hover, .ar-nav a.on { color: var(--text); background: rgba(254, 211, 143, .07); }
.ar-user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ar-link { color: var(--text); font-weight: 600; font-size: 14px; }
.ar-me { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 14px; }
.ar-ava { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--foil); color: #1a1208; font: 700 15px/1 var(--cond); box-shadow: 0 0 0 2px rgba(254, 211, 143, .25); }
.ar-ava.xl { width: 72px; height: 72px; font-size: 32px; }

/* ---------- buttons ---------- */
.ar-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 8px; cursor: pointer; overflow: hidden; color: #1a1208; font: 700 15px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; background: var(--foil); background-size: 200% 100%; box-shadow: 0 8px 28px rgba(254, 211, 143, .18), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .15s, box-shadow .2s, background-position .6s; }
.ar-btn:hover { color: #1a1208; transform: translateY(-1px); background-position: 100% 0; box-shadow: 0 12px 34px rgba(254, 211, 143, .3), inset 0 1px 0 rgba(255, 255, 255, .6); }
.ar-btn:active { transform: translateY(1px) scale(.99); }
.ar-btn.sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.ar-btn.wide { width: 100%; }
.ar-btn.ghost { color: var(--gold); background: transparent; box-shadow: inset 0 0 0 1px rgba(254, 211, 143, .45); }
.ar-btn.ghost:hover { color: var(--gold-hi); background: rgba(254, 211, 143, .08); }
.ar-btn.pulse { animation: ar-pulse 1.8s ease-in-out infinite; }
.ar-btn[disabled], .ar-btn.busy { opacity: .6; pointer-events: none; }
@keyframes ar-pulse { 50% { box-shadow: 0 0 0 8px rgba(254, 211, 143, .12), 0 8px 28px rgba(254, 211, 143, .3); } }

/* ---------- flash ---------- */
.ar-flash { position: fixed; z-index: 50; left: 50%; top: 74px; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; max-width: min(640px, calc(100vw - 32px)); padding: 12px 44px 12px 16px; border-radius: 10px; background: rgba(20, 17, 13, .96); box-shadow: 0 0 0 1px rgba(254, 211, 143, .4), 0 20px 50px rgba(0, 0, 0, .6); animation: ar-in .35s cubic-bezier(.2, 1.3, .4, 1); }
.ar-flash b { color: var(--gold); font: 700 15px/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.ar-flash span { color: var(--text); font-size: 13.5px; word-break: break-word; }
.ar-flash button { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
@keyframes ar-in { from { opacity: 0; transform: translate(-50%, -10px); } }

/* ---------- hero ---------- */
.ar-hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) max(16px, calc((100vw - 1200px) / 2)) 64px; border-bottom: 1px solid var(--line); }
.ar-hero-art { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: .2; filter: blur(1.5px); mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%); transform: scale(1.04); }
.ar-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 15% 40%, rgba(7, 7, 7, .85), transparent 70%); pointer-events: none; }
.ar-hero-in { position: relative; z-index: 1; max-width: 720px; }
.ar-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font: 700 12px/1 var(--cond); letter-spacing: .3em; text-transform: uppercase; }
.ar-eyebrow i { width: 34px; height: 2px; background: var(--foil); }
.ar-h1 { margin: 16px 0 14px; font: 700 clamp(46px, 8vw, 96px)/.92 var(--cond); letter-spacing: .01em; text-transform: uppercase; }
.ar-h1 em { font-style: normal; background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ar-foil 6s ease-in-out infinite; }
.ar-h1.sm { font-size: clamp(34px, 5.4vw, 64px); margin: 12px 0 8px; }
@keyframes ar-foil { 50% { background-position: 100% 0; } }
.ar-lede { max-width: 560px; margin: 0 0 26px; color: #d6cdc1; font-size: 17px; }
.ar-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ar-hero-stats { display: flex; gap: 34px; margin: 40px 0 0; }
.ar-hero-stats div { display: grid; }
.ar-hero-stats dt { order: 2; color: var(--muted); font: 700 11px/1 var(--cond); letter-spacing: .24em; text-transform: uppercase; }
.ar-hero-stats dd { margin: 0 0 6px; font: 700 34px/1 var(--cond); color: var(--text); }
.ar-live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--thorn); box-shadow: 0 0 0 0 rgba(179, 38, 58, .7); animation: ar-live 1.6s infinite; }
@keyframes ar-live { 70% { box-shadow: 0 0 0 9px rgba(179, 38, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(179, 38, 58, 0); } }

/* ---------- sections & cards ---------- */
.ar-sec { padding: 48px max(16px, calc((100vw - 1200px) / 2)) 8px; }
.ar-h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 700 clamp(24px, 3vw, 32px)/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.ar-h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.ar-auth .ar-h2::after, .ar-me-head .ar-h2::after { display: none; }
.ar-h3 { margin: 0 0 12px; font: 700 18px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ar-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.ar-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); color: var(--text); background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: 0 0 0 1px var(--line-2); transition: transform .2s, box-shadow .25s; }
.ar-card:hover { color: var(--text); transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(254, 211, 143, .5), 0 18px 40px rgba(0, 0, 0, .5), 0 0 40px rgba(254, 211, 143, .08); }
.ar-card-art { position: relative; aspect-ratio: 16 / 7; background: #0b0a09; overflow: hidden; }
.ar-card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ar-card:hover .ar-card-art img { transform: scale(1.05); }
.ar-card-ph { display: grid; place-items: center; height: 100%; background: radial-gradient(80% 120% at 30% 0%, rgba(254, 211, 143, .2), transparent 60%), repeating-linear-gradient(135deg, #0f0d0b 0 14px, #121010 14px 28px); }
.ar-card-ph span { font: 700 30px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ar-tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; font: 700 11px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: #1a1208; background: var(--gold); }
.ar-card.st-live .ar-tag { color: #fff; background: var(--thorn); }
.ar-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 18px; }
.ar-card-body h3 { margin: 0; font: 700 23px/1.05 var(--cond); letter-spacing: .03em; text-transform: uppercase; }
.ar-card-meta { display: grid; gap: 2px; margin: 0; color: var(--muted); font-size: 13px; }
.ar-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.ar-pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .06); }
.ar-pill.gold { color: #1a1208; background: var(--gold); }
.ar-count { margin-left: auto; font: 700 13px/1 var(--cond); letter-spacing: .08em; color: var(--gold); font-variant-numeric: tabular-nums; }
.ar-empty { display: grid; gap: 4px; padding: 28px; text-align: center; border-radius: var(--r); color: var(--muted); border: 1px dashed var(--line); }
.ar-empty b { color: var(--text); font: 700 18px/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.ar-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ar-steps li { position: relative; display: grid; gap: 4px; padding: 18px 18px 18px 64px; border-radius: var(--r); background: var(--panel); box-shadow: 0 0 0 1px var(--line-2); counter-increment: s; }
.ar-steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 18px/1 var(--cond); color: #1a1208; background: var(--foil); }
.ar-steps b { font: 700 17px/1.1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }
.ar-steps span { color: var(--muted); font-size: 13.5px; }
.ar-champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.ar-champ { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r); color: var(--text); background: radial-gradient(120% 120% at 100% 0%, rgba(254, 211, 143, .12), transparent 60%), var(--panel); box-shadow: 0 0 0 1px var(--line); }
.ar-champ b { font: 700 22px/1.1 var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.ar-champ small { color: var(--muted); }
.ar-crown { color: var(--gold); font-size: 20px; }

/* ---------- tournament header & action ---------- */
.ar-thead { position: relative; overflow: hidden; padding: 34px max(16px, calc((100vw - 1200px) / 2)) 26px; border-bottom: 1px solid var(--line); }
.ar-thead-art { position: absolute; inset: 0; background: radial-gradient(70% 120% at 80% 0%, rgba(254, 211, 143, .16), transparent 60%); background-size: cover; background-position: center; opacity: .5; mask-image: linear-gradient(180deg, #000, transparent); }
.ar-thead-in { position: relative; }
.ar-back { display: inline-block; margin-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.ar-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-chip { padding: 5px 11px; border-radius: 999px; font: 700 11.5px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--text); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.ar-chip.st-open { color: #1a1208; background: var(--gold); box-shadow: none; }
.ar-chip.st-live { color: #fff; background: var(--thorn); box-shadow: none; }
.ar-when { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--muted); }
.ar-when b { color: var(--text); font-variant-numeric: tabular-nums; }
.ar-when span b { color: var(--gold); }
.ar-action { position: sticky; top: 64px; z-index: 20; margin: 18px max(16px, calc((100vw - 1200px) / 2)) 0; }
.ar-action > * { padding: 16px 18px; border-radius: 12px; background: linear-gradient(180deg, rgba(28, 24, 19, .97), rgba(18, 16, 14, .97)); box-shadow: 0 0 0 1px rgba(254, 211, 143, .35), 0 18px 50px rgba(0, 0, 0, .55); backdrop-filter: blur(10px); }
.ar-k { display: block; color: var(--gold); font: 700 11px/1.2 var(--cond); letter-spacing: .22em; text-transform: uppercase; }
.ar-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.ar-note b { font: 700 18px/1.2 var(--cond); letter-spacing: .05em; text-transform: uppercase; }
.ar-note span { color: var(--muted); font-size: 14px; }
.ar-row { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.ar-register { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.ar-reg-title { flex: 1 1 220px; }
.ar-reg-title b { font: 700 20px/1.2 var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.ar-register label, .ar-form label { display: grid; gap: 6px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ar-register label { flex: 1 1 180px; }
:where(.ar) :is(input, select, textarea) { width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: #0a0908; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); transition: box-shadow .15s; }
:where(.ar) :is(input, select, textarea):focus { outline: none; box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 3px rgba(254, 211, 143, .12); }
:where(.ar) input[readonly] { color: var(--muted); }
.ar-err { flex-basis: 100%; color: #ff8b8b; font-size: 13px; font-weight: 600; }
.ar-entered { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ar-entered > div:first-child { flex: 1 1 200px; }
.ar-entered b { font: 700 20px/1.2 var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.ar-entered small { display: block; color: var(--muted); }
.ar-ok { color: var(--good); font: 700 15px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; }
.ar-teamlink { display: flex; align-items: center; gap: 8px; flex: 1 1 100%; }
.ar-teamlink span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.ar-teamlink input { min-height: 34px; font-size: 12.5px; font-family: ui-monospace, monospace; }
.ar-withdraw button { border: 0; background: none; color: var(--muted); font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.ar-myset { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ar-myset-vs { flex: 1 1 240px; }
.ar-myset-vs b { font: 700 22px/1.15 var(--cond); letter-spacing: .03em; text-transform: uppercase; }
.ar-myset-vs em { font-style: normal; color: var(--gold); margin: 0 6px; }
.ar-score { display: flex; align-items: flex-end; gap: 8px; }
.ar-score label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.ar-score input { width: 64px; text-align: center; font: 700 22px/1 var(--cond); }
.ar-score > span { padding-bottom: 10px; color: var(--muted); }
.ar-podium { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 12px; }
.ar-pod { display: grid; justify-items: center; gap: 2px; min-width: 150px; padding: 12px 18px; border-radius: 10px; text-align: center; background: rgba(255, 255, 255, .04); }
.ar-pod span { font: 700 26px/1 var(--cond); color: var(--muted); }
.ar-pod b { font: 700 19px/1.1 var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.ar-pod small { color: var(--muted); font-size: 12px; }
.ar-pod.p1 { order: 2; min-width: 190px; padding: 18px 22px; background: radial-gradient(120% 100% at 50% 0%, rgba(254, 211, 143, .28), rgba(254, 211, 143, .04)); box-shadow: 0 0 0 1px var(--gold), 0 0 40px rgba(254, 211, 143, .18); }
.ar-pod.p1 span { color: var(--gold); font-size: 34px; }
.ar-pod.p2 { order: 1; } .ar-pod.p3 { order: 3; }

/* ---------- tabs & panels ---------- */
.ar-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 18px max(16px, calc((100vw - 1200px) / 2)) 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.ar-tabs a { position: relative; padding: 14px 16px; white-space: nowrap; color: var(--muted); font: 700 14px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; }
.ar-tabs a em { font-style: normal; margin-left: 4px; color: var(--gold); }
.ar-tabs a.on { color: var(--text); }
.ar-tabs a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--foil); box-shadow: 0 0 12px var(--gold); }
.ar-panel { padding: 26px max(16px, calc((100vw - 1200px) / 2)) 60px; }
.ar-over { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
.ar-prose { color: #ddd4c8; }
.ar-prose h1, .ar-prose h2, .ar-prose h3 { font: 700 20px/1.2 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin: 1.4em 0 .5em; }
.ar-prose > :first-child { margin-top: 0; }
.ar-prose ul { padding-left: 1.1em; } .ar-prose li { margin: .25em 0; } .ar-prose li::marker { color: var(--gold); }
.ar-prose strong { color: var(--text); }
.ar-prose.sm { font-size: 13.5px; }
.ar-facts { position: relative; align-self: start; padding: 18px; border-radius: var(--r); background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.ar-facts::before, .ar-facts::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--gold); }
.ar-facts::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--r); }
.ar-facts::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--r); }
.ar-facts dl { display: grid; gap: 10px; margin: 0; }
.ar-facts dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.ar-facts dt { color: var(--muted); font-size: 13px; }
.ar-facts dd { margin: 0; font-weight: 600; text-align: right; font-size: 14px; }
.ar-prize { margin-top: 16px; padding: 14px; border-radius: 8px; background: radial-gradient(120% 120% at 100% 0%, rgba(254, 211, 143, .16), transparent 60%), #0d0c0b; }
.ar-prize b { display: block; margin: 4px 0; font: 700 28px/1 var(--cond); background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ar-links { display: grid; gap: 8px; margin-top: 14px; }
.ar-muted { color: var(--muted); } .ar-muted.sm, p.sm { font-size: 13px; }

/* ---------- entrants ---------- */
.ar-entrants { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; }
.ar-ent { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2); }
.ar-ent.me { box-shadow: 0 0 0 1px var(--gold); }
.ar-seed { width: 28px; color: var(--gold); font: 700 15px/1 var(--cond); text-align: center; }
.ar-ent-name { flex: 1; min-width: 0; }
.ar-ent-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-ent-name small { color: var(--muted); font-size: 12px; }
.ar-ci { color: var(--muted); font-size: 12px; font-weight: 700; }
.ar-ci.ok { color: var(--good); }
.ar-place { padding: 3px 8px; border-radius: 999px; color: #1a1208; background: var(--gold); font: 700 12px/1 var(--cond); letter-spacing: .06em; }

/* ---------- bracket ---------- */
.ar-bsec { margin-bottom: 36px; }
.ar-bsec-h { margin: 0 0 12px; color: var(--gold); font: 700 15px/1 var(--cond); letter-spacing: .24em; text-transform: uppercase; }
.ar-bracket { --gap: 38px; --mh: 84px; display: flex; gap: var(--gap); overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x proximity; scrollbar-color: var(--gold-deep) transparent; }
.ar-col { flex: 0 0 228px; scroll-snap-align: start; }
.ar-col-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--text); font: 700 13px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.ar-col-h small { color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.ar-col-body { display: flex; flex-direction: column; height: calc(var(--n) * var(--mh)); }
.ar-pair { position: relative; display: flex; flex-direction: column; flex: 2; }
.ar-pair::after { content: ""; position: absolute; right: calc(var(--gap) / -2); top: 25%; bottom: 25%; border-right: 2px solid rgba(254, 211, 143, .28); }
.ar-mw { position: relative; display: flex; align-items: center; flex: 1; }
.ar-pair .ar-mw::after, .ar-mw.out::after { content: ""; position: absolute; right: calc(var(--gap) / -2); width: calc(var(--gap) / 2); top: 50%; border-top: 2px solid rgba(254, 211, 143, .28); }
.ar-mw.in::before { content: ""; position: absolute; left: calc(var(--gap) / -2); width: calc(var(--gap) / 2); top: 50%; border-top: 2px solid rgba(254, 211, 143, .28); }
.ar-bracket > .ar-col:first-child .ar-mw.in::before { display: none; }
.ar-m { position: relative; width: 100%; border-radius: 8px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .2s, transform .2s; }
.ar-m.st-ready { box-shadow: 0 0 0 1px rgba(254, 211, 143, .45), 0 0 18px rgba(254, 211, 143, .08); }
.ar-m.stream::before { content: ""; position: absolute; inset: -1px; border-radius: 9px; box-shadow: 0 0 0 1px var(--thorn); pointer-events: none; }
.ar-m.disputed { box-shadow: 0 0 0 1px #ff8b8b; }
.ar-mn { position: absolute; left: -9px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 6px; font: 700 10px/1 var(--cond); color: var(--muted); background: #0b0a09; box-shadow: 0 0 0 1px var(--line-2); }
.ar-mn i { font-style: normal; color: var(--thorn); margin-left: 2px; }
.ar-s { display: flex; align-items: center; gap: 8px; height: 31px; padding: 0 10px 0 16px; font-size: 13.5px; transition: background .15s; }
.ar-s + .ar-s { border-top: 1px solid var(--line-2); }
.ar-s i { width: 16px; font-style: normal; color: var(--muted); font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; }
.ar-s b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ar-s em { min-width: 18px; font-style: normal; text-align: right; font: 700 15px/1 var(--cond); color: var(--muted); font-variant-numeric: tabular-nums; }
.ar-s.won b, .ar-s.won em { color: var(--gold); }
.ar-s.won { background: linear-gradient(90deg, rgba(254, 211, 143, .1), transparent); }
.ar-s.lost b { color: #8d857b; }
.ar-s.tbd b, .ar-s.bye b { color: #5f5850; font-weight: 500; font-style: italic; }
.ar-s.hl { background: rgba(254, 211, 143, .2) !important; }
.ar-s.hl b { color: var(--gold-hi) !important; }
.ar-s.mine b { color: var(--gold); }
.ar-m:has(.ar-s.mine) { box-shadow: 0 0 0 1px var(--gold), 0 0 22px rgba(254, 211, 143, .2); }
.ar-col.gf .ar-m { box-shadow: 0 0 0 1px rgba(254, 211, 143, .6), 0 0 30px rgba(254, 211, 143, .12); }
.ar-round-h { margin: 22px 0 10px; color: var(--gold); font: 700 15px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; }
.ar-grid-ms { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 18px; }
.ar-table-wrap { overflow-x: auto; }
.ar-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ar-table th { text-align: left; padding: 8px 10px; color: var(--muted); font: 700 11px/1 var(--cond); letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.ar-table td { padding: 10px; border-bottom: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.ar-table tr:first-child td:first-child { color: var(--gold); font-weight: 700; }

/* ---------- auth & account ---------- */
.ar-auth { display: grid; place-items: center; padding: 56px 16px 80px; }
.ar-auth-card { position: relative; width: min(560px, 100%); padding: 30px; border-radius: 14px; text-align: center; background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, .5); }
.ar-auth-card::before { content: ""; position: absolute; inset: 0; border-radius: 14px; padding: 1px; background: linear-gradient(140deg, var(--gold), transparent 30%, transparent 70%, var(--gold-deep)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ar-auth-logo { margin: -62px auto 12px; border-radius: 14px; box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--gold), 0 0 40px rgba(254, 211, 143, .3); }
.ar-auth .ar-h2 { justify-content: center; }
.ar-form { display: grid; gap: 14px; margin: 18px 0 12px; text-align: left; }
.ar-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ar-me-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.ar-me-head > div { flex: 1; } .ar-me-head .ar-h2 { margin: 0; }
.ar-me-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; }
.ar-myev { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 14px 16px; margin-bottom: 8px; border-radius: 8px; color: var(--text); background: var(--panel); box-shadow: 0 0 0 1px var(--line-2); }
.ar-myev b { flex: 1 1 60%; font-weight: 700; }
.ar-myev small { flex-basis: 100%; order: 3; color: var(--muted); }
.ar-card-form { align-self: start; margin: 0; padding: 18px; border-radius: var(--r); background: var(--panel); box-shadow: 0 0 0 1px var(--line); }

/* ---------- footer ---------- */
.ar-foot { margin-top: 60px; padding: 0 max(16px, calc((100vw - 1200px) / 2)) 36px; }
.ar-thorns { position: relative; height: 18px; margin-bottom: 26px; overflow-x: clip; }
.ar-thorns::before { content: ""; position: absolute; inset: 0; opacity: .7; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18'%3E%3Cpath d='M0 9h60' stroke='%23fed38f' stroke-opacity='.35' stroke-width='1.5'/%3E%3Cpath d='M18 9l5-7 2 7zM42 9l-5 7-2-7z' fill='%23fed38f' fill-opacity='.45'/%3E%3C/svg%3E") repeat-x center; }
.ar-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.ar-foot-brand { display: flex; align-items: center; gap: 12px; flex: 1 1 260px; }
.ar-foot-brand img { border-radius: 10px; }
.ar-foot-brand b { font: 700 18px/1.1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.ar-foot-brand small { display: block; color: var(--muted); font-size: 12.5px; }
.ar-socials { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-socials a { padding: 6px 12px; border-radius: 999px; color: var(--text); font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .05); }
.ar-socials a:hover { color: #1a1208; background: var(--gold); }
.ar-powered { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; color: var(--muted); font-size: 12.5px; background: linear-gradient(90deg, rgba(9, 146, 249, .14), rgba(239, 14, 13, .14)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ar-powered b { color: var(--text); letter-spacing: .04em; }
.ar-powered:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(9, 146, 249, .6), 0 0 22px rgba(9, 146, 249, .2); }

/* ---------- responsive & motion ---------- */
@media (max-width: 900px) { .ar-over, .ar-me-grid { grid-template-columns: 1fr; } .ar-nav { display: none; } }
@media (max-width: 560px) {
  .ar-me-name { display: none; } .ar-form-row { grid-template-columns: 1fr; } .ar-hero-stats { gap: 22px; }
  .ar-action { position: relative; top: 0; margin-top: 14px; } .ar-tabs { margin-top: 12px; }
  .ar-col { flex-basis: 200px; } .ar-auth-card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.ar-embed { color: var(--text); font: 14px/1.5 var(--ui); }
@media (max-width: 700px) { .ar-hero-art { opacity: .16; background-position: 70% 20%; } }

/* ===================== Effects & tools ===================== */
/* Hero: drifting petals + a soft gold spotlight that follows the cursor. */
.ar-petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.ar-spot { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(254, 211, 143, .12), transparent 60%); transition: background .1s; }
.ar-burst { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }
.ar-h1 { text-shadow: 0 0 40px rgba(254, 211, 143, .08); }
.ar-h1 em { filter: drop-shadow(0 0 22px rgba(254, 211, 143, .25)); }
.ar-eyebrow i { animation: ar-grow 1.2s cubic-bezier(.2, .8, .2, 1) both; transform-origin: left; }
@keyframes ar-grow { from { transform: scaleX(0); } }
.ar-hero-in > * { animation: ar-rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.ar-hero-in > :nth-child(2) { animation-delay: .08s; } .ar-hero-in > :nth-child(3) { animation-delay: .16s; } .ar-hero-in > :nth-child(4) { animation-delay: .24s; } .ar-hero-in > :nth-child(5) { animation-delay: .32s; }
@keyframes ar-rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }

/* Scroll reveals (staggered for cards, steps and champions). */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal] .ar-card, [data-reveal] .ar-steps li, [data-reveal] .ar-champ { opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms), box-shadow .25s; }
[data-reveal].in .ar-card, [data-reveal].in .ar-steps li, [data-reveal].in .ar-champ { opacity: 1; transform: none; }

/* Event cards: 3D tilt toward the cursor with a moving gold sheen. */
.ar-cards { perspective: 1200px; }
.ar-card[data-tilt] { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease, box-shadow .25s; }
[data-reveal].in .ar-card[data-tilt] { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.ar-card[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(254, 211, 143, .16), transparent 45%); }
.ar-card[data-tilt]:hover::after { opacity: 1; }
.ar-card .ar-tag { box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.ar-card.st-live { box-shadow: 0 0 0 1px rgba(179, 38, 58, .6), 0 0 30px rgba(179, 38, 58, .18); }

/* Steps get a glowing gold rim on hover. */
.ar-steps li { transition: box-shadow .25s, transform .25s; }
.ar-steps li:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(254, 211, 143, .45), 0 12px 30px rgba(0, 0, 0, .4); }

/* Event header: date row with quick actions, and the flip clock. */
.ar-when-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ar-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-chipbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer; color: var(--text); font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, box-shadow .15s, color .15s; }
.ar-chipbtn:hover { color: #1a1208; background: var(--gold); box-shadow: 0 0 18px rgba(254, 211, 143, .35); }
.ar-flip { display: flex; gap: 10px; margin-top: 16px; }
.ar-flip-cell { position: relative; display: grid; justify-items: center; min-width: 74px; padding: 10px 8px 8px; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #1b1712 0 50%, #141210 50% 100%); box-shadow: 0 0 0 1px rgba(254, 211, 143, .3), 0 10px 26px rgba(0, 0, 0, .45); }
.ar-flip-cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .6); }
.ar-flip-cell b { font: 700 38px/1 var(--cond); font-variant-numeric: tabular-nums; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ar-flip-cell b.tick { animation: ar-flipdown .45s cubic-bezier(.3, 1.4, .5, 1); }
.ar-flip-cell small { margin-top: 4px; color: var(--muted); font: 700 10px/1 var(--cond); letter-spacing: .22em; text-transform: uppercase; }
@keyframes ar-flipdown { 0% { transform: perspective(200px) rotateX(-75deg); opacity: .2; } 100% { transform: none; opacity: 1; } }

/* The action box: subtle animated gold border. */
.ar-action > * { position: relative; }
.ar-action > *::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--gold) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ar-spin 6s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ar-spin { to { --ang: 360deg; } }
.ar-pop { animation: ar-popin .5s cubic-bezier(.3, 1.6, .5, 1); display: inline-block; }
@keyframes ar-popin { from { transform: scale(.4); opacity: 0; } }

/* Tabs: sliding glow under the active tab. */
.ar-tabs a { transition: color .2s; }
.ar-tabs a::after { transition: left .3s, right .3s; }
.ar-tabs a:hover { color: var(--text); }

/* Live results feed. */
.ar-feed { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; overflow: hidden; background: linear-gradient(90deg, rgba(179, 38, 58, .14), rgba(254, 211, 143, .05)); box-shadow: inset 0 0 0 1px rgba(179, 38, 58, .35); }
.ar-feed-h { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: #ff9aa6; font: 700 12px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; }
.ar-feed-track { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.ar-feed-item { flex: 0 0 auto; color: var(--muted); font-size: 13px; white-space: nowrap; animation: ar-rise .5s ease both; }
.ar-feed-item b { color: var(--gold); } .ar-feed-item em { font-style: normal; font-weight: 700; color: var(--text); margin: 0 4px; } .ar-feed-item small { color: #6f675d; margin-left: 4px; }

/* Bracket toolbar + live effects. */
.ar-btools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.ar-bfind { flex: 1 1 220px; max-width: 320px; }
.ar-bfind input { min-height: 36px; padding: 6px 12px 6px 34px; background: #0a0908 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a59c90' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 12px center; }
.ar-bzoom { display: inline-flex; align-items: center; border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.ar-bzoom button { width: 32px; height: 32px; border: 0; cursor: pointer; color: var(--text); font-size: 16px; background: rgba(255, 255, 255, .05); }
.ar-bzoom button:hover { color: #1a1208; background: var(--gold); }
.ar-bzoom span { min-width: 48px; text-align: center; font: 700 12px var(--cond); letter-spacing: .08em; color: var(--muted); }
.ar-livetag { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: #ff9aa6; font: 700 11px var(--cond); letter-spacing: .2em; text-transform: uppercase; }
.ar-s.found { background: rgba(254, 211, 143, .28) !important; box-shadow: inset 3px 0 0 var(--gold); }
.ar-s.found b { color: var(--gold-hi) !important; }
.ar-m.just { animation: ar-just 2.4s ease-out; }
@keyframes ar-just { 0% { box-shadow: 0 0 0 2px var(--gold), 0 0 40px rgba(254, 211, 143, .7); transform: scale(1.04); } 100% { box-shadow: 0 0 0 1px var(--line-2); transform: none; } }
.ar-m.ping { animation: ar-ping 1.4s ease-out 2; }
@keyframes ar-ping { 0% { box-shadow: 0 0 0 0 rgba(254, 211, 143, .9); } 100% { box-shadow: 0 0 0 18px rgba(254, 211, 143, 0); } }
.ar-m.st-ready::after { content: ""; position: absolute; inset: -1px; border-radius: 9px; pointer-events: none; box-shadow: 0 0 0 1px rgba(254, 211, 143, .5); animation: ar-breathe 2.6s ease-in-out infinite; }
@keyframes ar-breathe { 50% { box-shadow: 0 0 0 1px rgba(254, 211, 143, .15), 0 0 22px rgba(254, 211, 143, .15); } }
.ar-m { transition: transform .2s, box-shadow .2s; }
.ar-m:hover { transform: translateY(-1px); }
.ar-panel:fullscreen { overflow: auto; padding: 24px; background: radial-gradient(120% 70% at 50% -10%, #1a1612, var(--ink) 60%); }
.ar-panel:fullscreen .ar-btools { position: sticky; top: 0; z-index: 3; padding: 8px 0; background: rgba(7, 7, 7, .85); backdrop-filter: blur(8px); }

/* Entrant search, profile stats. */
.ar-search { max-width: 360px; margin-bottom: 12px; }
.ar-ent { transition: transform .2s, box-shadow .2s; }
.ar-ent:hover { transform: translateX(3px); box-shadow: 0 0 0 1px rgba(254, 211, 143, .4); }
.ar-statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0 0 24px; }
.ar-statrow div { display: grid; gap: 4px; padding: 14px 16px; border-radius: 10px; background: radial-gradient(120% 120% at 100% 0%, rgba(254, 211, 143, .1), transparent 60%), var(--panel); box-shadow: 0 0 0 1px var(--line); }
.ar-statrow dd { margin: 0; font: 700 30px/1 var(--cond); background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ar-statrow dt { order: 2; color: var(--muted); font: 700 11px/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; }

/* Buttons: shimmer sweep on hover. */
.ar-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; pointer-events: none; }
.ar-btn:hover::after { transform: translateX(120%); }
.ar-btn.ghost::after { background: linear-gradient(100deg, transparent 30%, rgba(254, 211, 143, .25) 50%, transparent 70%); }

@media (max-width: 560px) { .ar-flip-cell { min-width: 62px; } .ar-flip-cell b { font-size: 30px; } .ar-livetag { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { [data-reveal], [data-reveal] .ar-card, [data-reveal] .ar-steps li, [data-reveal] .ar-champ { opacity: 1 !important; transform: none !important; } }

/* ===================== Set alerts ===================== */
.ar-alerts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px max(16px, calc((100vw - 1200px) / 2)) 0; padding: 10px 14px; border-radius: 10px; background: rgba(254, 211, 143, .05); box-shadow: inset 0 0 0 1px var(--line); }
.ar-alerts-ico { font-size: 18px; animation: ar-bell 4s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ar-bell { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(16deg); } 94% { transform: rotate(-14deg); } 97% { transform: rotate(8deg); } }
.ar-alerts-txt { flex: 1 1 260px; color: var(--muted); font-size: 13px; }
.ar-alerts .ar-chipbtn[disabled] { opacity: .8; cursor: default; color: var(--good); background: rgba(95, 211, 154, .1); box-shadow: inset 0 0 0 1px rgba(95, 211, 154, .4); }
.ar-alert-banner { position: fixed; z-index: 70; left: 50%; top: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; width: min(620px, calc(100vw - 24px)); padding: 14px 44px 14px 16px; border-radius: 14px; background: linear-gradient(120deg, #2a1d10, #17110b); box-shadow: 0 0 0 2px var(--gold), 0 24px 60px rgba(0, 0, 0, .7), 0 0 60px rgba(254, 211, 143, .25); animation: ar-drop .55s cubic-bezier(.2, 1.5, .4, 1); }
.ar-alert-banner > div { flex: 1; display: grid; gap: 2px; }
.ar-alert-banner b { font: 700 22px/1.1 var(--cond); letter-spacing: .04em; text-transform: uppercase; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ar-alert-banner div span { color: var(--text); font-size: 14px; }
.ar-alert-ico { font-size: 30px; animation: ar-bell 1.2s ease-in-out 2; }
.ar-alert-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer; color: var(--muted); background: transparent; }
@keyframes ar-drop { from { opacity: 0; transform: translate(-50%, -40px) scale(.95); } }
@media (max-width: 560px) { .ar-alert-banner { flex-wrap: wrap; } .ar-alert-banner .ar-btn { width: 100%; } }

/* ===================== v2: design options, rooms, staff, watch, bracket motion ===================== */
/* Design: card styles, hero layout, nav */
.cards-solid .ar-card, .cards-solid .ar-steps li, .cards-solid .ar-champ, .cards-solid .ar-facts { background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px rgba(0, 0, 0, .35); }
.cards-glass .ar-card, .cards-glass .ar-steps li, .cards-glass .ar-champ { background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)); backdrop-filter: blur(10px) saturate(1.3); box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .08); }
.cards-outline .ar-card, .cards-outline .ar-steps li, .cards-outline .ar-champ { background: transparent; box-shadow: 0 0 0 1.5px var(--gold); }
.ar-card, .ar-steps li, .ar-champ, .ar-facts, .ar-ent, .ar-m, .ar-flip-cell, .ar-action > *, .ar-myev { border-radius: var(--r); }
.ar-hero-art { opacity: var(--art, .2); }
.hero-center .ar-hero-in { margin: 0 auto; text-align: center; }
.hero-center .ar-hero-cta, .hero-center .ar-hero-stats { justify-content: center; }
.hero-center .ar-lede { margin-left: auto; margin-right: auto; }
.hero-center::after { background: radial-gradient(70% 80% at 50% 45%, rgba(7, 7, 7, .8), transparent 70%); }
.motion-subtle *, .motion-subtle *::before, .motion-subtle *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
.ar-live-dot.sm { width: 7px; height: 7px; margin-right: 4px; vertical-align: 1px; }
.ar-nav-staff { color: var(--gold) !important; box-shadow: inset 0 0 0 1px var(--line); }
body.ar { background: var(--ink); }

/* Home: watch band */
.ar-watchband { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); color: var(--text); background: linear-gradient(110deg, rgba(179, 38, 58, .18), rgba(254, 211, 143, .06) 60%); box-shadow: 0 0 0 1px rgba(179, 38, 58, .4); transition: transform .2s, box-shadow .2s; }
.ar-watchband:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--thorn), 0 0 40px rgba(179, 38, 58, .25); }
.ar-watchband > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.ar-watchband b { font: 700 20px/1.1 var(--cond); letter-spacing: .05em; text-transform: uppercase; }
.ar-watchband small { color: var(--muted); }
.ar-watch-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; font-size: 20px; background: var(--thorn); box-shadow: 0 0 0 6px rgba(179, 38, 58, .2); animation: ar-pulse 2s infinite; }

/* Event page: match room button */
.ar-roombtn { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 8px; padding: 8px 14px; border-radius: 8px; color: var(--gold); font: 700 14px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; background: rgba(254, 211, 143, .08); box-shadow: inset 0 0 0 1px rgba(254, 211, 143, .4); }
.ar-roombtn small { color: var(--muted); font: 600 11px var(--ui); letter-spacing: 0; text-transform: none; }
.ar-roombtn:hover { color: #1a1208; background: var(--gold); }
.ar-roombtn:hover small { color: #3a2a12; }
.staff-clicks .ar-m:has([data-e]) { cursor: pointer; }
.staff-clicks .ar-m:has([data-e]):hover { box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(254, 211, 143, .2); }

/* Bracket motion */
.ar-ghost { position: fixed; z-index: 55; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; pointer-events: none; font: 700 13.5px/1 var(--ui); white-space: nowrap; overflow: hidden; }
.ar-ghost.win { color: #1a1208; background: var(--foil); box-shadow: 0 10px 30px rgba(254, 211, 143, .45), 0 0 0 2px var(--gold-hi); }
.ar-ghost.drop { color: #fff; background: linear-gradient(90deg, #5c0f1c, var(--thorn)); box-shadow: 0 10px 30px rgba(179, 38, 58, .5); }
.ar-s.arrive { animation: ar-arrive 1.6s ease-out; }
.ar-s.arrive.dropped { animation: ar-dropin 2s ease-out; }
@keyframes ar-arrive { 0%, 45% { background: rgba(254, 211, 143, .45); } 100% { background: transparent; } }
@keyframes ar-dropin { 0%, 50% { background: rgba(179, 38, 58, .5); } 100% { background: transparent; } }
.ar-s.ko { position: relative; animation: ar-ko 1.2s ease-out forwards; }
.ar-s.ko::after { content: "✕ OUT"; position: absolute; right: 30px; top: 50%; transform: translateY(-50%) rotate(-8deg); padding: 1px 6px; border-radius: 4px; color: #fff; font: 700 10px var(--cond); letter-spacing: .14em; background: var(--thorn); animation: ar-stamp .5s cubic-bezier(.3, 1.8, .5, 1) .5s both; }
@keyframes ar-ko { 0% { transform: none; } 10% { transform: translateX(-5px); } 20% { transform: translateX(5px); } 30% { transform: translateX(-3px); } 40% { transform: none; filter: none; } 100% { filter: grayscale(1) brightness(.6); } }
@keyframes ar-stamp { from { opacity: 0; transform: translateY(-50%) rotate(-8deg) scale(2.4); } }

/* Set alerts / me page */
.ar-golive { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .03); box-shadow: 0 0 0 1px var(--line); }
.ar-golive > div { flex: 1 1 220px; display: grid; gap: 2px; }
.ar-golive b { font: 700 17px/1.2 var(--cond); letter-spacing: .05em; text-transform: uppercase; }
.ar-golive small { color: var(--muted); }
.ar-golive form { display: flex; gap: 8px; }
.ar-golive select { width: auto; min-height: 34px; padding: 4px 10px; }
.ar-golive.on { background: linear-gradient(110deg, rgba(179, 38, 58, .22), rgba(179, 38, 58, .05)); box-shadow: 0 0 0 1px var(--thorn), 0 0 30px rgba(179, 38, 58, .2); }

/* ---------- Match room ---------- */
.rm-page { padding-top: 24px; }
.rm { display: grid; gap: 16px; }
.rm-head { position: relative; overflow: hidden; padding: 18px 20px; border-radius: calc(var(--r) + 4px); background: radial-gradient(90% 140% at 0% 0%, rgba(9, 146, 249, .14), transparent 55%), radial-gradient(90% 140% at 100% 100%, rgba(239, 14, 13, .14), transparent 55%), var(--panel); box-shadow: 0 0 0 1px var(--line); }
.rm-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.rm-k { color: var(--gold); font: 700 12px var(--cond); letter-spacing: .22em; text-transform: uppercase; }
.rm-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.rm-badge { padding: 4px 10px; border-radius: 999px; font: 700 11px var(--cond); letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .07); }
.rm-badge.live { color: #fff; background: var(--thorn); }
.rm-badge.help { color: #fff; background: #d33; animation: ar-pulse 1.4s infinite; }
.rm-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.rm-side { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: var(--r); background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s, background .3s; }
.rm-side[data-rm-side="2"] { justify-content: flex-end; text-align: right; }
.rm-side i { font-style: normal; color: var(--muted); font-size: 12px; }
.rm-side b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 clamp(18px, 3vw, 28px)/1.1 var(--cond); letter-spacing: .03em; text-transform: uppercase; }
.rm-side small { display: block; color: var(--muted); font-size: 12px; }
.rm-side em { margin-left: auto; font: 700 clamp(30px, 5vw, 48px)/1 var(--cond); font-style: normal; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rm-side[data-rm-side="2"] em { margin: 0 auto 0 0; }
.rm-side.me { box-shadow: inset 0 0 0 1px var(--gold), 0 0 24px rgba(254, 211, 143, .12); }
.rm-side.won { background: linear-gradient(90deg, rgba(254, 211, 143, .16), rgba(0, 0, 0, .2)); box-shadow: inset 0 0 0 2px var(--gold); }
.rm-x { font: 700 18px var(--cond); color: var(--muted); letter-spacing: .2em; }
.rm-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 16px; }
.rm-chat { display: flex; flex-direction: column; min-height: 460px; max-height: 70vh; border-radius: var(--r); background: var(--panel); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.rm-chat-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.rm-chat-h b { font: 700 15px var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.rm-chat-h span { color: var(--muted); font-size: 12px; }
.rm-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.rm-empty { margin: auto; color: var(--muted); text-align: center; font-size: 14px; }
.rm-msg { max-width: 82%; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, .06); animation: rm-in .25s ease-out; }
@keyframes rm-in { from { opacity: 0; transform: translateY(6px); } }
.rm-msg.mine { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: rgba(254, 211, 143, .14); }
.rm-msg.staff { box-shadow: inset 0 0 0 1px rgba(254, 211, 143, .45); }
.rm-msg.system { align-self: center; max-width: 100%; padding: 4px 10px; background: transparent; }
.rm-sys { color: var(--muted); font-size: 12px; font-style: italic; }
.rm-who { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; font-size: 12px; }
.rm-who b { color: var(--text); }
.rm-who time { color: #6f675d; }
.rm-staff { padding: 1px 5px; border-radius: 4px; font: 700 9px var(--cond); letter-spacing: .14em; font-style: normal; color: #1a1208; background: var(--gold); }
.rm-body { white-space: pre-wrap; word-break: break-word; font-size: 14px; }
.rm-helpmsg { display: block; padding: 6px 8px; border-radius: 6px; color: #ffd0d0; background: rgba(221, 51, 51, .2); font-size: 14px; }
.rm-img { display: block; max-width: 100%; max-height: 260px; margin-top: 6px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.rm-send { display: flex; align-items: center; gap: 8px; padding: 10px; border-top: 1px solid var(--line-2); }
.rm-send input[name="body"] { flex: 1; min-height: 42px; }
.rm-attach { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 8px; cursor: pointer; font-size: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.rm-attach:hover { background: rgba(254, 211, 143, .15); }
.rm-side-panel { display: grid; gap: 12px; align-content: start; }
.rm-card { display: grid; gap: 8px; padding: 14px; border-radius: var(--r); background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.rm-card-h { font: 700 14px var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.rm-score { display: flex; align-items: flex-end; gap: 8px; }
.rm-score label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; max-width: 90px; }
.rm-score input { width: 64px; text-align: center; font: 700 22px/1 var(--cond); }
.rm-score > span { padding-bottom: 10px; color: var(--muted); }
.rm-hint { margin: 0; color: var(--muted); font-size: 12.5px; }
.rm-hint.sm { font-size: 11.5px; }
.rm-done { margin: 0; padding: 8px 10px; border-radius: 8px; color: var(--gold); font-weight: 700; background: rgba(254, 211, 143, .1); }
.rm-help { min-height: 44px; border: 0; border-radius: 8px; cursor: pointer; color: #fff; font: 700 15px var(--cond); letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(90deg, #8e1d30, #d33); box-shadow: 0 8px 22px rgba(221, 51, 51, .3); }
.rm-help:disabled { opacity: .7; cursor: default; }
.rm-video { position: relative; overflow: hidden; border-radius: 8px; background: #000; box-shadow: 0 0 0 1px var(--line); }
.rm-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.rm-live { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 4px; color: #fff; font: 700 11px var(--cond); letter-spacing: .14em; background: var(--thorn); }
.rm-ask { padding: 8px 10px; border-radius: 8px; color: #fff; font-size: 13px; background: linear-gradient(90deg, rgba(179, 38, 58, .5), rgba(179, 38, 58, .2)); animation: ar-pulse 1.6s infinite; }
.rm-obs { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.rm-obs span { color: var(--muted); font-size: 11px; }
.rm-obs input { min-height: 32px; font: 11px ui-monospace, monospace; }

/* ---------- Staff desk ---------- */
.st-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.st-count { margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 12px; color: #1a1208; background: var(--gold); }
.st-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 12px 14px; border-radius: var(--r); color: var(--text); background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.st-row.hot { box-shadow: 0 0 0 1px #d33, 0 0 24px rgba(221, 51, 51, .2); animation: ar-breathe 2s infinite; }
.st-main { flex: 1; min-width: 0; display: grid; } .st-main small { color: var(--muted); }
.st-num { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 8px; color: var(--gold); font: 700 13px var(--cond); background: rgba(254, 211, 143, .1); }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.st-card { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 54px; border-radius: var(--r); color: var(--text); background: var(--panel); box-shadow: 0 0 0 1px var(--line-2); transition: transform .2s, box-shadow .2s; }
.st-card:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--gold); }
.st-card .st-num { position: absolute; left: 12px; top: 12px; }
.st-card em { font-style: normal; color: var(--muted); font-size: 11px; }
.st-card small { color: var(--muted); font-size: 12px; }
.st-card.hot { box-shadow: 0 0 0 1px #d33; } .st-card.stream { box-shadow: 0 0 0 1px var(--thorn); }
.st-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.st-tags .tag { padding: 1px 6px; border-radius: 4px; font: 700 10px var(--cond); letter-spacing: .1em; font-style: normal; background: rgba(255, 255, 255, .07); }
.st-tags .tag.live { color: #fff; background: var(--thorn); } .st-tags .tag.share { color: #1a1208; background: var(--gold); }
.st-obs { display: grid; gap: 6px; }
.st-obs-row { display: grid; grid-template-columns: 130px 90px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.st-obs-row small { color: var(--muted); }
.st-obs-row input { min-height: 34px; font: 12px ui-monospace, monospace; }

/* ---------- Watch live ---------- */
.wt-head { max-width: 760px; margin-bottom: 18px; }
.wt-main { border-radius: calc(var(--r) + 4px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 24px 70px rgba(0, 0, 0, .6), 0 0 80px rgba(179, 38, 58, .15); }
.wt-frame { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(60% 80% at 50% 40%, rgba(254, 211, 143, .12), transparent 60%), #050505; }
.wt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wt-cap { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--panel); }
.wt-cap b { font: 700 15px var(--cond); letter-spacing: .08em; text-transform: uppercase; }
.wt-cap small { color: var(--muted); }
.wt-cap a { margin-left: auto; font-size: 13px; }
.wt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.wt-card { border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.wt-play { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; font-size: 24px; background: var(--thorn); box-shadow: 0 0 0 10px rgba(179, 38, 58, .25), 0 10px 30px rgba(0, 0, 0, .5); transition: transform .2s; }
.wt-play:hover { transform: scale(1.08); }
.wt-chans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.wt-chan { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r); color: var(--text); background: var(--panel); box-shadow: 0 0 0 1px var(--line-2); }
.wt-chan .ar-ava { grid-row: 1 / 3; }
.wt-chan small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  .rm-grid { grid-template-columns: 1fr; }
  .rm-chat { min-height: 380px; max-height: 62vh; }
  .rm-side-panel { order: -1; }
}
@media (max-width: 560px) {
  .ar-top { gap: 10px; padding: 8px 12px; }
  .ar-brand small { display: none; }
  .ar-sec { padding-top: 32px; }
  .ar-h1 { font-size: clamp(40px, 13vw, 64px); }
  .ar-hero { padding: 44px 16px 40px; }
  .ar-hero-cta .ar-btn { flex: 1 1 100%; }
  .ar-flip { gap: 6px; } .ar-flip-cell { min-width: 0; flex: 1; }
  .ar-btools { gap: 6px; } .ar-bfind { flex-basis: 100%; max-width: none; }
  .ar-livetag { flex-basis: 100%; }
  .rm-vs { grid-template-columns: 1fr; gap: 6px; }
  .rm-side[data-rm-side="2"] { flex-direction: row-reverse; justify-content: flex-start; text-align: left; }
  .rm-side[data-rm-side="2"] em { margin: 0 0 0 auto; }
  .rm-x { text-align: center; font-size: 13px; }
  .rm-msg { max-width: 92%; }
  .st-obs-row { grid-template-columns: 1fr auto; } .st-obs-row small { display: none; } .st-obs-row b { grid-column: 1 / -1; }
  .ar-alert-banner { top: 8px; }
  .ar-watchband { flex-wrap: wrap; } .ar-watchband .ar-btn { width: 100%; }
  .ar-golive form { flex-basis: 100%; } .ar-golive .ar-btn { flex: 1; }
}
/* Mobile bottom tab bar: the site's main places one thumb away. */
.ar-tabbar { display: none; }
@media (max-width: 760px) {
  .ar-tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(10, 9, 8, .92); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line); }
  .ar-tabbar a { display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 4px 6px; border-radius: 10px; color: var(--muted); font: 700 10px var(--cond); letter-spacing: .1em; text-transform: uppercase; }
  .ar-tabbar a span { font-size: 18px; line-height: 1; }
  .ar-tabbar a.on { color: var(--gold); background: rgba(254, 211, 143, .08); }
  body.ar { padding-bottom: 70px; }
  .ar-foot { padding-bottom: 20px; }
}
/* Anything flagged hidden stays hidden, whatever its component style says. */
.ar [hidden], .ar-alert-banner [hidden] { display: none !important; }

/* Black rose icon (BRG mark) */
.ar-blackrose { display: inline-block; flex: none; vertical-align: -3px; filter: drop-shadow(0 0 6px rgba(179, 38, 58, .35)); }
.ar-blackrose.inl { margin-left: 4px; }
.ar-tabbar span .ar-blackrose { vertical-align: middle; }

/* Score claims: one side reports, the other confirms before it reaches the bracket */
.ar-claim { flex: 1 1 260px; display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; animation: ar-claim-in .45s cubic-bezier(.2, 1.3, .3, 1) both; }
.ar-claim b { font: 700 22px/1.1 var(--cond); letter-spacing: .04em; text-transform: uppercase; }
.ar-claim b em { margin: 0 6px; font-style: normal; color: var(--muted); }
.ar-claim small { color: var(--muted); font-size: 12px; }
.ar-claim.ask { background: linear-gradient(120deg, rgba(254, 211, 143, .14), rgba(254, 211, 143, .04)); box-shadow: inset 0 0 0 1px rgba(254, 211, 143, .45), 0 0 30px rgba(254, 211, 143, .12); }
.ar-claim.ask b { color: var(--gold); }
.ar-claim.wait { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.ar-claim.wait .ar-k::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--gold); animation: ar-claim-dot 1.2s ease-in-out infinite; vertical-align: 1px; }
.ar-claim-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.ar-claim-btns form { margin: 0; }
@keyframes ar-claim-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes ar-claim-dot { 50% { opacity: .25; transform: scale(.7); } }
.ar-m.claim .ar-mn::after { content: "⏳"; margin-left: 2px; font-size: 9px; }

/* A small turtle walking the footer's thorn line */
.ar-turtle { position: absolute; z-index: 5; left: -52px; bottom: 8px; width: 44px; height: 26px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; animation: tt-walk 70s linear infinite; }
.ar-turtle::before { content: ""; position: absolute; inset: -12px -10px -8px; }   /* a bigger target: it's small and moving */
.ar-turtle.flip, .ar-turtle.unflip { animation-play-state: paused; }
.ar-turtle .tt-body { display: block; width: 44px; height: 26px; transform-origin: 50% 50%; }
.ar-turtle.flip .tt-body { transform: translateY(3px) rotate(180deg); animation: tt-flip .6s cubic-bezier(.3, .7, .4, 1) both; }
.ar-turtle.flip.unflip .tt-body { animation: tt-unflip .6s cubic-bezier(.3, .7, .4, 1) both; }
.ar-turtle svg { display: block; overflow: visible; transform-origin: 50% 100%; animation: tt-bob .9s ease-in-out infinite; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.ar-turtle.poke svg { animation: tt-poke .32s ease-out; }
.ar-turtle.poke .tt-head { animation: tt-duck .32s ease-out; }
.ar-turtle.flip svg { animation: none; transform-origin: 50% 50%; }
.ar-turtle.flip.poke svg { animation: tt-rock .36s ease-in-out; }
.ar-turtle.flip .tl { animation-duration: .28s; }   /* legs kicking in the air */
.ar-turtle .tt-count { position: absolute; left: 50%; bottom: 100%; margin-bottom: 6px; translate: -50% 0; padding: 1px 8px; border-radius: 999px; background: #140f0d; border: 1px solid rgba(254, 211, 143, .55); color: var(--gold); font: 700 13px/1.35 system-ui, sans-serif; white-space: nowrap; opacity: 0; pointer-events: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.ar-turtle .tt-count.up { color: #ffc2ca; border-color: var(--thorn); }
.ar-turtle .tt-count.show { animation: tt-pop 1.5s ease-out both; }
.ar-turtle .tt-count.stay { animation: tt-pop-in .35s ease-out both, tt-plead 1.2s ease-in-out .35s infinite; }
/* Left on its back for a minute: it sinks into the thorn line and a little gravestone rises in its place. */
.ar-turtle.dead { clip-path: inset(-80px -60px 1px -60px); cursor: default; }   /* the line is 1px above the box bottom */
.ar-turtle.flip.dead .tt-body { animation: tt-sink 2.4s ease-in both; }
.ar-turtle.dead .tl { animation-duration: 1.1s; }
.ar-turtle .tt-grave { position: absolute; left: 8px; bottom: 1px; width: 28px; height: 32px; opacity: 0; transform: translateY(105%); pointer-events: none; }
.ar-turtle.buried .tt-grave { opacity: 1; transform: none; animation: tt-rise .8s cubic-bezier(.3, 1.5, .5, 1) both; }
.ar-turtle.buried .tt-body { visibility: hidden; }
.ar-turtle .tt-grave svg { width: 100%; height: 100%; animation: none; transform: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .7)); }
.ar-turtle .tg-stone { fill: #4b4643; stroke: #24201e; stroke-width: .8; }
.ar-turtle .tg-crack, .ar-turtle .tg-line { fill: none; stroke: #2c2826; stroke-width: .8; stroke-linecap: round; }
.ar-turtle .tg-rip { fill: #d9d2c9; font: 800 6.4px system-ui, sans-serif; letter-spacing: .3px; }
.ar-turtle .tg-stem { fill: none; stroke: #3f5a2e; stroke-width: .9; stroke-linecap: round; }
.ar-turtle .tg-leaf { fill: #3f5a2e; }
.ar-turtle .tg-bloom circle { fill: #070405; stroke: var(--gold-deep); stroke-width: .35; }
.ar-turtle .tg-bloom path { fill: #120809; stroke: var(--gold); stroke-width: .3; stroke-linejoin: round; }
.ar-turtle .tg-bloom .tg-swirl { fill: none; stroke: var(--gold); stroke-width: .35; }
.ar-turtle .tg-dirt { fill: #2a1f17; }
@keyframes tt-sink { 0% { transform: translateY(3px) rotate(180deg); } 15% { transform: translateY(1px) rotate(172deg); } 30% { transform: translateY(5px) rotate(188deg); } 45% { transform: translateY(8px) rotate(176deg); } 100% { transform: translateY(34px) rotate(180deg); } }
@keyframes tt-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes tt-flip { 0% { transform: none; } 45% { transform: translateY(-14px) rotate(110deg); } 100% { transform: translateY(3px) rotate(180deg); } }
@keyframes tt-unflip { 0% { transform: translateY(3px) rotate(180deg); } 55% { transform: translateY(-14px) rotate(290deg); } 100% { transform: translateY(0) rotate(360deg); } }
@keyframes tt-poke { 30% { transform: translateY(1px) scale(1.1, .84); } 65% { transform: translateY(-2px) scale(.95, 1.06); } }
@keyframes tt-duck { 40% { transform: translateX(-3px) scale(.85); } }
@keyframes tt-rock { 25% { transform: rotate(-14deg); } 70% { transform: rotate(10deg); } }
@keyframes tt-pop { 0% { opacity: 0; transform: scale(.4); } 12% { opacity: 1; transform: scale(1.3); } 24% { transform: scale(1); } 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes tt-pop-in { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.25); } 100% { opacity: 1; transform: none; } }
@keyframes tt-plead { 50% { transform: translateY(-3px) rotate(-4deg); } }
.ar-turtle .tl rect { fill: #b98443; stroke: #6d4a22; stroke-width: .6; }
.ar-turtle .tl-far rect { fill: #7d5a30; }
.ar-turtle .tl { transform-box: fill-box; transform-origin: 50% 10%; animation: tt-step .9s ease-in-out infinite; }
.ar-turtle .tl-b, .ar-turtle .tl-d { animation-delay: -.45s; }
.ar-turtle .tt-tail { fill: #b98443; }
.ar-turtle .tt-head { transform-box: fill-box; transform-origin: 0% 60%; animation: tt-nod 1.8s ease-in-out infinite; }
.ar-turtle .tt-head ellipse { fill: #c99652; stroke: #6d4a22; stroke-width: .6; }
.ar-turtle .tt-eye { fill: #0b0908; }
.ar-turtle .tt-smile { fill: none; stroke: #4a2f12; stroke-width: .6; stroke-linecap: round; }
.ar-turtle .tt-shell { fill: #1b1512; stroke: var(--gold); stroke-width: 1.1; }
.ar-turtle .tt-hex { fill: none; stroke: rgba(254, 211, 143, .55); stroke-width: .8; stroke-linejoin: round; }
.ar-turtle .tt-rose { fill: var(--thorn); }
.ar-turtle .tt-rim { fill: #2a201a; stroke: rgba(254, 211, 143, .6); stroke-width: .6; }
@keyframes tt-walk { from { left: -52px; } to { left: calc(100% + 8px); } }
@keyframes tt-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.8px); } }
@keyframes tt-step { 0%, 100% { transform: rotate(16deg); } 50% { transform: rotate(-16deg); } }
@keyframes tt-nod { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(.6px) rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .ar-turtle { left: 12%; animation: none; } .ar-turtle svg, .ar-turtle .tl, .ar-turtle .tt-head, .ar-turtle .tt-body, .ar-turtle .tt-grave { animation: none !important; } .ar-turtle.dead .tt-body { visibility: hidden; } .ar-turtle .tt-count.show, .ar-turtle .tt-count.stay { animation: none; opacity: 1; } }
.motion-subtle .ar-turtle { left: 12%; animation: none; }
