/* tourney-20261201 -- HypersZone Tournaments. Built on the tokens of style.css (--sig, --acc, --panel...). */
.tz-wrap { max-width: 1180px; margin: 0 auto; padding: 18px 16px 60px; }
.tz-hero { position: relative; padding: 30px 26px 26px; margin: 10px 0 18px; background:
  radial-gradient(900px 220px at 85% -40%, var(--tz-ac-a, rgba(36,178,186,.22)), transparent 70%),
  linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tz-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.025) 46px 47px); }
.tz-kick { font: 600 11px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .18em; color: var(--sig-lit); text-transform: uppercase; }
.tz-hero h1 { margin: 10px 0 6px; font: 700 34px/1.1 Oswald, 'Archivo', sans-serif; letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.tz-hero p { margin: 0; color: var(--muted); max-width: 720px; }
.tz-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tz-spacer { flex: 1; }

.tz-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 14px; border-bottom: 1px solid var(--line); }
.tz-tabs button { background: none; border: 0; color: var(--muted); padding: 10px 14px; cursor: pointer; font: 600 13px/1 'Archivo', sans-serif;
  text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tz-tabs button:hover { color: var(--ink); }
.tz-tabs button.on { color: #fff; border-bottom-color: var(--tz-ac, var(--sig)); }
.tz-tabs button .tz-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-inline-start: 6px; vertical-align: middle; }

.tz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.tz-card { position: relative; display: block; color: inherit; text-decoration: none; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  padding: 0 0 14px; transition: box-shadow .15s, transform .15s; overflow: hidden; }
.tz-card:hover { box-shadow: inset 0 0 0 1px var(--tz-ac, var(--sig)); transform: translateY(-2px); }
.tz-card .tz-band { height: 74px; position: relative; background:
  linear-gradient(120deg, var(--tz-ac, var(--sig)) 0%, transparent 70%), var(--panel-2); opacity: .9; }
.tz-card .tz-band b { position: absolute; inset-inline-end: 14px; bottom: -14px; font: 800 56px/1 Oswald, sans-serif; color: rgba(255,255,255,.08); }
.tz-card .tz-body { padding: 12px 14px 0; }
.tz-card h3 { margin: 0 0 6px; font: 700 19px/1.2 Oswald, sans-serif; text-transform: uppercase; color: #fff; }
.tz-card .tz-meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.tz-card .tz-status { position: absolute; top: 12px; inset-inline-start: 12px; }
.tz-bar { height: 4px; background: var(--panel-3); margin-top: 10px; }
.tz-bar i { display: block; height: 100%; background: var(--tz-ac, var(--sig)); }

.tz-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; font: 600 11px/1.4 'JetBrains Mono', ui-monospace, monospace;
  text-transform: uppercase; letter-spacing: .05em; background: var(--panel-3); color: var(--ink); white-space: nowrap; }
.tz-chip.sig { background: var(--sig-a); color: var(--sig-lit); }
.tz-chip.ok { background: var(--ok-a); color: var(--ok-lit); }
.tz-chip.warn { background: var(--amber-a); color: var(--amber); }
.tz-chip.bad { background: var(--red-a); color: var(--red); }
.tz-chip.live { background: var(--red); color: #fff; }
.tz-chip.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: tzPulse 1.2s infinite; }
@keyframes tzPulse { 50% { opacity: .25; } }

.tz-btn { display: inline-flex; align-items: center; gap: 6px; justify-content: center; border: 0; cursor: pointer; padding: 9px 14px;
  font: 700 13px/1 'Archivo', sans-serif; text-transform: uppercase; letter-spacing: .05em; background: var(--tz-ac, var(--sig)); color: #061017; text-decoration: none; }
.tz-btn:hover { filter: brightness(1.12); }
.tz-btn:disabled { opacity: .45; cursor: default; filter: none; }
.tz-btn.ghost { background: var(--panel-3); color: var(--ink); }
.tz-btn.ok { background: var(--ok); color: #fff; }
.tz-btn.bad { background: var(--red); color: #fff; }
.tz-btn.warn { background: var(--amber); color: #1b1000; }
.tz-btn.sm { padding: 6px 9px; font-size: 11px; }
.tz-btn.xs { padding: 4px 7px; font-size: 10px; }

.tz-panel { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 16px; margin-bottom: 14px; }
.tz-panel h2 { margin: 0 0 12px; font: 700 16px/1.2 Oswald, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: #fff; display: flex; align-items: center; gap: 8px; }
.tz-panel h2 small { font: 500 12px/1 'Archivo', sans-serif; color: var(--dim); text-transform: none; letter-spacing: 0; }
.tz-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
@media (max-width: 860px) { .tz-cols { grid-template-columns: 1fr; } .tz-hero h1 { font-size: 26px; } }
.tz-text { white-space: pre-wrap; color: var(--ink); line-height: 1.6; }
.tz-muted { color: var(--dim); }
.tz-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.tz-empty { padding: 30px 10px; text-align: center; color: var(--dim); }

/* head of the detail page */
.tz-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
@media (max-width: 760px) { .tz-head { grid-template-columns: 1fr; } }
.tz-count { text-align: end; }
.tz-count .n { font: 700 28px/1 'JetBrains Mono', monospace; color: #fff; }
.tz-count .l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tz-stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; }
.tz-stat b { display: block; font: 700 20px/1.1 'JetBrains Mono', monospace; color: #fff; }
.tz-stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* timeline */
.tz-tl { list-style: none; margin: 0; padding: 0; }
.tz-tl li { position: relative; padding: 0 0 14px 22px; color: var(--muted); }
[dir=rtl] .tz-tl li { padding: 0 22px 14px 0; }
.tz-tl li::before { content: ''; position: absolute; inset-inline-start: 4px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--panel-4); box-shadow: 0 0 0 2px var(--panel-3); }
.tz-tl li.done::before { background: var(--tz-ac, var(--sig)); }
.tz-tl li.now { color: #fff; }
.tz-tl li.now::before { background: var(--red); animation: tzPulse 1.2s infinite; }
.tz-tl b { display: block; color: var(--ink); font-weight: 600; }

/* prizes */
.tz-prize { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tz-prize:last-child { border-bottom: 0; }
.tz-place { width: 38px; height: 38px; display: grid; place-items: center; font: 800 16px/1 Oswald, sans-serif; background: var(--panel-3); color: #fff; }
.tz-place.p1 { background: linear-gradient(135deg, #f5c542, #b8860b); color: #2a1d00; }
.tz-place.p2 { background: linear-gradient(135deg, #e3e8ef, #8c97a5); color: #1a1f26; }
.tz-place.p3 { background: linear-gradient(135deg, #e0915a, #8b4a1e); color: #2b1203; }
.tz-gem { color: var(--acc-lit); font-family: 'JetBrains Mono', monospace; font-weight: 700; }

/* teams */
.tz-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.tz-team { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); padding: 12px; }
.tz-team.mine { box-shadow: inset 0 0 0 1px var(--tz-ac, var(--sig)); }
.tz-team-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tz-team-h .nm { font: 700 16px/1.2 Oswald, sans-serif; color: #fff; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz-team-h .tag { font: 700 11px/1 'JetBrains Mono', monospace; color: var(--tz-ac, var(--sig-lit)); }
.tz-mem { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.tz-mem img { width: 26px; height: 26px; border-radius: 50%; background: var(--panel-3); flex: none; }
.tz-mem .who { flex: 1; min-width: 0; }
.tz-mem .who .nm { display: block; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-mem .who small { color: var(--dim); font-size: 11px; }
.tz-mem .rl { font: 700 9px/1 'JetBrains Mono', monospace; padding: 3px 5px; background: var(--panel-3); color: var(--muted); text-transform: uppercase; }
.tz-mem .rl.captain { background: var(--amber-a); color: var(--amber); }
.tz-mem .rl.sub { background: var(--acc-a); color: var(--acc-lit); }
.tz-ver { color: var(--ok-lit); font-weight: 700; }

/* bracket */
.tz-bracket { display: flex; gap: 26px; overflow-x: auto; padding: 6px 2px 16px; }
.tz-round { display: flex; flex-direction: column; justify-content: space-around; gap: 14px; min-width: 220px; }
.tz-round > h4 { margin: 0 0 4px; font: 600 11px/1 'JetBrains Mono', monospace; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.tz-m { position: relative; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); cursor: default; }
.tz-m.mine { box-shadow: inset 0 0 0 1px var(--tz-ac, var(--sig)); }
.tz-m .tm { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 13px; }
.tz-m .tm + .tm { border-top: 1px solid var(--line); }
.tz-m .tm .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.tz-m .tm .sc { font: 700 13px/1 'JetBrains Mono', monospace; color: var(--muted); min-width: 16px; text-align: center; }
.tz-m .tm.w .nm { color: #fff; font-weight: 700; }
.tz-m .tm.w .sc { color: var(--ok-lit); }
.tz-m .tm.l { opacity: .5; }
.tz-m .tm.tbd .nm { color: var(--dim); font-style: italic; }
.tz-m .mid { position: absolute; top: -8px; inset-inline-end: 6px; font: 600 9px/1 'JetBrains Mono', monospace; color: var(--dim); background: var(--panel); padding: 2px 4px; }
.tz-m .st { position: absolute; top: -8px; inset-inline-start: 6px; }
.tz-champ { min-width: 200px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-align: center; }
.tz-champ .cup { font-size: 46px; filter: drop-shadow(0 4px 18px rgba(245,197,66,.45)); }
.tz-champ b { font: 800 20px/1.1 Oswald, sans-serif; color: #f5c542; text-transform: uppercase; }

/* tables */
.tz-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tz-table th { text-align: start; font: 600 10px/1 'JetBrains Mono', monospace; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 8px 8px; border-bottom: 1px solid var(--line-2); }
.tz-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tz-table tr.top1 td { background: rgba(245,197,66,.07); }
.tz-table tr.mine td { background: var(--sig-a); }
.tz-table .num { font-family: 'JetBrains Mono', monospace; text-align: end; }
.tz-scroll { overflow-x: auto; }

/* forms */
.tz-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 14px; }
.tz-form .full { grid-column: 1 / -1; }
.tz-f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.tz-f > span { text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; font-weight: 600; }
.tz-in, .tz-f input, .tz-f select, .tz-f textarea { background: var(--void); color: var(--ink); border: 0; box-shadow: inset 0 0 0 1px var(--line-2);
  padding: 9px 10px; font: 500 14px/1.3 'Archivo', sans-serif; width: 100%; box-sizing: border-box; }
.tz-f textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.tz-in:focus, .tz-f input:focus, .tz-f select:focus, .tz-f textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--tz-ac, var(--sig)); }
.tz-in.sm { padding: 6px 7px; font-size: 13px; }
.tz-in.xs { padding: 4px 5px; font-size: 12px; width: 62px; }
.tz-check { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; }
.tz-code { display: flex; gap: 8px; align-items: center; background: var(--void); box-shadow: inset 0 0 0 1px var(--line-2); padding: 8px 10px; }
.tz-code b { font: 700 18px/1 'JetBrains Mono', monospace; letter-spacing: .2em; color: var(--tz-ac, var(--sig-lit)); }
.tz-room { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tz-room > div { background: var(--void); box-shadow: inset 0 0 0 1px var(--line-2); padding: 10px 12px; }
.tz-room small { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.tz-room b { font: 700 20px/1 'JetBrains Mono', monospace; color: #fff; user-select: all; }
.tz-note { padding: 10px 12px; background: var(--amber-a); color: var(--amber); font-size: 13px; margin: 8px 0; }
.tz-note.info { background: var(--acc-a); color: var(--acc-lit); }
.tz-note.bad { background: var(--red-a); color: var(--red); }
.tz-note.ok { background: var(--ok-a); color: var(--ok-lit); }

/* manage */
.tz-mrow { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tz-mrow:last-child { border-bottom: 0; }
.tz-acts { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.tz-sub { margin: 6px 0 0; padding: 4px 0 0 12px; border-inline-start: 2px solid var(--line-2); }
.tz-log { font: 12px/1.5 'JetBrains Mono', monospace; color: var(--muted); max-height: 420px; overflow: auto; }
.tz-log div { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.tz-log b { color: var(--ink); }
.tz-modal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.65); display: grid; place-items: center; padding: 16px; }
.tz-modal > div { width: min(720px, 100%); max-height: 90vh; overflow: auto; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0,0,0,.6); padding: 18px; }
@media (max-width: 720px) {
  .tz-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tz-tabs::-webkit-scrollbar { display: none; }
  .tz-tabs button { white-space: nowrap; padding: 10px 11px; }
  .tz-hero { padding: 22px 16px 18px; }
  .tz-wrap { padding: 12px 12px 50px; }
}

/* tlogo-20261201: squad logos */
.tz-logo { display: inline-block; flex: none; object-fit: cover; border-radius: 7px; background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line-2); vertical-align: middle; }
.tz-mono-logo { display: inline-grid; place-items: center; color: #fff; font-family: Oswald, 'Archivo', sans-serif; font-weight: 800; letter-spacing: .02em; line-height: 1;
  background: linear-gradient(135deg, hsl(var(--h, 190) 62% 44%), hsl(var(--h, 190) 58% 20%)); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.tz-logo.big { border-radius: 14px; box-shadow: 0 0 0 2px var(--tz-ac, var(--sig)), 0 10px 30px rgba(0,0,0,.45); }
.tz-tn { display: inline-flex; align-items: center; gap: 8px; }
.tz-tw { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.tz-team-h { gap: 10px; }
.tz-m .tm .tz-logo { border-radius: 5px; }
.tz-panel h2 .tz-logo { border-radius: 6px; }
.tz-champ .tz-logo { border-radius: 16px; box-shadow: 0 0 0 2px #f5c542, 0 10px 34px rgba(245,197,66,.35); }
.tz-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 4px 0 14px; text-align: center; }
.tz-vs > div { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.tz-vs b { font: 700 16px/1.2 Oswald, sans-serif; text-transform: uppercase; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tz-vs > span { font: 800 22px/1 Oswald, sans-serif; color: var(--tz-ac, var(--sig)); }

/* tmedia-20261201: tournament logo + banner */
.tz-card .tz-band.has-img { height: 112px; opacity: 1; background-size: cover; background-position: center; }
.tz-card .tz-band.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,16,24,.85)); }
.tz-card .tz-band.has-img b { display: none; }
.tz-tlogo { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 2px var(--tz-ac, var(--sig)), 0 8px 22px rgba(0,0,0,.5); background: var(--panel-3); }
.tz-card .tz-tlogo { position: absolute; z-index: 1; inset-inline-end: 14px; bottom: -22px; }
.tz-card:has(.tz-tlogo) .tz-body { padding-top: 14px; }
.tz-hero.has-banner { background:
  linear-gradient(90deg, rgba(10,16,24,.88) 0%, rgba(10,16,24,.55) 45%, rgba(10,16,24,.12) 100%),
  var(--tz-banner) center / cover no-repeat, var(--panel); min-height: 210px; }
[dir=rtl] .tz-hero.has-banner { background:
  linear-gradient(270deg, rgba(10,16,24,.88) 0%, rgba(10,16,24,.55) 45%, rgba(10,16,24,.12) 100%),
  var(--tz-banner) center / cover no-repeat, var(--panel); }
.tz-title { display: flex; align-items: center; gap: 16px; }
.tz-title h1 { margin: 10px 0 8px; }
.tz-tlogo.lg { width: 74px; height: 74px; border-radius: 16px; flex: none; }
@media (max-width: 720px) { .tz-tlogo.lg { width: 54px; height: 54px; } }
.tz-media { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.tz-media-prev { display: grid; place-items: center; background: var(--void); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 8px; overflow: hidden; color: var(--dim); font-size: 12px; }
.tz-media-prev.logo { width: 110px; height: 110px; border-radius: 14px; }
.tz-media-prev.banner { width: 100%; aspect-ratio: 16 / 5; }
.tz-media-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) {
  .tz-hero.has-banner, [dir=rtl] .tz-hero.has-banner { padding-top: 104px; background:
    linear-gradient(180deg, rgba(10,16,24,0) 0, rgba(10,16,24,.35) 70px, var(--panel) 150px),
    var(--tz-banner) top center / 100% auto no-repeat, var(--panel); }
  .tz-stats { gap: 10px 18px; }
  .tz-stat b { font-size: 15px; }
  .tz-count { text-align: start; }
  .tz-count .n { font-size: 22px; }
}

/* tarena-20261201: two-sided arena bracket */
.tz-arena { position: relative; overflow: hidden; margin-bottom: 14px; padding: 18px 0 26px; box-shadow: inset 0 0 0 1px rgba(102,192,244,.18);
  background:
    radial-gradient(1.2px 1.2px at 8% 14%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 23% 72%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.4px 1.4px at 41% 33%, rgba(140,200,255,.6), transparent 60%),
    radial-gradient(1px 1px at 63% 81%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.3px 1.3px at 78% 22%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 91% 64%, rgba(140,200,255,.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 55% 8%, rgba(255,255,255,.5), transparent 60%),
    repeating-linear-gradient(115deg, rgba(120,180,255,.035) 0 1px, transparent 1px 26px),
    radial-gradient(ellipse 70% 60% at 50% 30%, #0f3270 0%, #071634 55%, #040a18 100%); }
.tz-arena::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(36,178,186,.18), transparent 70%); }
.ahead { text-align: center; padding: 0 16px 6px; position: relative; z-index: 1; }
.ahead .ak { font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .18em; text-transform: uppercase; color: #66c0f4; }
.ahead .acount { margin-top: 8px; color: #b9d3ef; font-size: 13px; }
.ahead .acount b { font: 800 26px/1 Oswald, sans-serif; color: #fff; text-shadow: 0 0 18px rgba(102,192,244,.6); }
.ahead .abar { width: min(360px, 80%); height: 4px; margin: 10px auto 0; background: rgba(102,192,244,.15); border-radius: 4px; overflow: hidden; }
.ahead .abar i { display: block; height: 100%; background: linear-gradient(90deg, #24b2ba, #66c0f4); box-shadow: 0 0 10px #66c0f4; }
.ascroll { overflow-x: auto; overflow-y: hidden; position: relative; z-index: 1; padding: 0 18px; scrollbar-width: thin; }
.aboard { position: relative; margin: 0 auto; direction: ltr; }
.alines { position: absolute; inset: 0; pointer-events: none; }
.alines path { fill: none; stroke: rgba(102,192,244,.38); stroke-width: 1.6; }
.alines path.hot { stroke: #f5c542; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(245,197,66,.7)); }
.al { position: absolute; top: 10px; text-align: center; font: 700 11px/1 "Archivo", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #cfe3ff; }
.al::after { content: ""; display: block; width: 26px; height: 2px; margin: 7px auto 0; background: #24b2ba; box-shadow: 0 0 8px #24b2ba; }
.ax { position: absolute; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 0; box-sizing: border-box; border-radius: 7px; font-size: 13px; color: #dbe9ff;
  background: linear-gradient(180deg, #17345f, #0e2347); box-shadow: inset 0 0 0 1px rgba(102,192,244,.42), 0 0 14px rgba(40,137,194,.18); transition: transform .15s, box-shadow .15s; }
.ax:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(102,192,244,.8), 0 0 18px rgba(40,137,194,.4); }
.ax .n { flex: none; width: 30px; height: 100%; display: grid; place-items: center; font: 700 12px/1 "JetBrains Mono", monospace; font-style: normal; color: #fff;
  background: linear-gradient(180deg, #2a5a98, #173c70); border-radius: 7px 0 0 7px; box-shadow: inset -1px 0 0 rgba(102,192,244,.35); }
.ax .tz-logo { width: 22px; height: 22px; border-radius: 5px; }
.ax .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax .sc { font: 800 14px/1 "JetBrains Mono", monospace; color: #9fc3ea; min-width: 14px; text-align: center; }
.ax .ic { opacity: .45; font-size: 11px; filter: grayscale(1); }
.ax.ph .nm { color: rgba(185,211,239,.45); }
.ax.ph .n { color: rgba(255,255,255,.55); }
.ax.s-w { box-shadow: inset 0 0 0 1px #24b2ba, 0 0 16px rgba(36,178,186,.35); }
.ax.s-w .nm { color: #fff; font-weight: 700; }
.ax.s-w .sc { color: #46d2d8; }
.ax.s-l { opacity: .45; filter: saturate(.5); }
.ax.me { box-shadow: inset 0 0 0 2px #46d2d8, 0 0 22px rgba(70,210,216,.55); }
.ax.gold { background: linear-gradient(180deg, #3a2e0c, #1d1606); box-shadow: inset 0 0 0 1.5px #f5c542, 0 0 22px rgba(245,197,66,.45); }
.ax.gold .n { background: linear-gradient(180deg, #f5c542, #a8730e); color: #2a1d00; }
.ax.gold.ph .nm { color: rgba(245,197,66,.6); }
.ax.bronze { box-shadow: inset 0 0 0 1px #c97b45, 0 0 14px rgba(201,123,69,.3); }
.ax.bronze .n { background: linear-gradient(180deg, #c97b45, #7a3d14); }
.avs { position: absolute; width: 40px; display: grid; place-items: center; font: italic 900 16px/1 Oswald, sans-serif; color: #f5c542; text-shadow: 0 0 12px rgba(245,197,66,.8); }
.acup { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tz-cup { width: 118px; height: 146px; filter: drop-shadow(0 6px 26px rgba(245,197,66,.55)); animation: tzFloat 4s ease-in-out infinite; }
@keyframes tzFloat { 50% { transform: translateY(-5px); } }
.agf { font: 800 12px/1 "Archivo", sans-serif; letter-spacing: .24em; color: #f5c542; text-shadow: 0 0 10px rgba(245,197,66,.6); }
.achamp { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0 10px; }
.achamp .tz-logo { border-radius: 14px; box-shadow: 0 0 0 2px #f5c542, 0 0 34px rgba(245,197,66,.65); }
.achamp b { font: 800 22px/1.1 Oswald, sans-serif; text-transform: uppercase; color: #f5c542; text-shadow: 0 0 16px rgba(245,197,66,.6); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.achamp::before { content: "\1F451"; font-size: 26px; }
.a3 { position: absolute; text-align: center; font: 800 11px/1 "Archivo", sans-serif; letter-spacing: .24em; color: #e0915a; }
.astand { position: relative; z-index: 1; text-align: center; margin-top: 6px; padding: 0 16px; }
.astand h3 { margin: 0 0 16px; font: 800 13px/1 "Archivo", sans-serif; letter-spacing: .22em; color: #46d2d8; text-shadow: 0 0 10px rgba(70,210,216,.5); }
.apods { display: flex; justify-content: center; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.apod { width: 190px; padding: 14px 10px 12px; border-radius: 10px; background: linear-gradient(180deg, rgba(23,52,95,.85), rgba(10,26,54,.85)); box-shadow: inset 0 0 0 1px rgba(102,192,244,.3); }
.apod.p1 { padding-top: 26px; box-shadow: inset 0 0 0 1.5px #f5c542, 0 0 30px rgba(245,197,66,.3); }
.apod.p2 { box-shadow: inset 0 0 0 1px #c9d3df; }
.apod.p3 { box-shadow: inset 0 0 0 1px #c97b45; }
.apl { width: 34px; height: 34px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; font: 800 16px/1 Oswald, sans-serif; color: #1a1f26; background: linear-gradient(135deg, #e3e8ef, #8c97a5); }
.p1 .apl { width: 42px; height: 42px; font-size: 20px; color: #2a1d00; background: linear-gradient(135deg, #fff3b0, #f5c542 50%, #a8730e); box-shadow: 0 0 16px rgba(245,197,66,.6); }
.p3 .apl { color: #2b1203; background: linear-gradient(135deg, #f0a774, #8b4a1e); }
.apt { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 4px 0; }
.apt b { font: 700 14px/1.2 Oswald, sans-serif; color: #fff; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.apt.ph b { color: rgba(185,211,239,.5); }

.afit { position: relative; margin: 0 auto; }
.afit > .aboard { position: absolute; left: 0; top: 0; margin: 0; transform-origin: 0 0; }

.awarn { display: inline-block; margin: 0 auto 12px; padding: 8px 14px; border-radius: 8px; font: 700 13px/1.4 "Archivo", sans-serif; color: #ff6b73;
  background: rgba(217,74,82,.14); box-shadow: inset 0 0 0 1px rgba(217,74,82,.55), 0 0 18px rgba(217,74,82,.25); }

/* tdraw-20261201: draw wheel */
.tzw { display: grid; grid-template-columns: minmax(300px, 520px) 1fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .tzw { grid-template-columns: 1fr; } }
.tzw-stage { padding: 22px 18px 18px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(102,192,244,.18);
  background: radial-gradient(ellipse 80% 70% at 50% 40%, #1b2b4a, #0b1326 75%); }
.tzw-wheel { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin: 0 auto; direction: ltr; }
.tzw-rot { position: absolute; inset: 0; transition: transform 5.6s cubic-bezier(.12,.62,.08,1); will-change: transform;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.55)); }
.tzw-svg { width: 100%; height: 100%; display: block; }
.tzw-hub { position: absolute; left: 50%; top: 50%; width: 20%; height: 20%; transform: translate(-50%, -50%); border-radius: 50%; background: #fff;
  display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 4px rgba(255,255,255,.35), 0 6px 18px rgba(0,0,0,.4); }
.tzw-hub img { width: 100%; height: 100%; object-fit: cover; }
.tzw-hub span { font: 900 22px/1 Oswald, sans-serif; color: #1b2337; }
.tzw-ptr { position: absolute; right: -14px; top: 50%; width: 0; height: 0; transform: translateY(-50%);
  border-top: 18px solid transparent; border-bottom: 18px solid transparent; border-right: 34px solid #66c0f4; filter: drop-shadow(0 0 8px rgba(102,192,244,.8)); }
.tzw-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.tzw-btns .tz-btn:first-child { padding: 12px 28px; font-size: 15px; }
.tzw-res { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 16px; }
.tzw-res h2 { margin: 0 0 10px; font: 700 16px/1.2 Oswald, sans-serif; text-transform: uppercase; color: #fff; }
.tzw-res h2 small { color: var(--dim); font: 500 12px/1 'Archivo', sans-serif; }
.tzw-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 6px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(40,137,194,.18), transparent); box-shadow: inset 0 0 0 1px rgba(102,192,244,.22); animation: tzwIn .4s ease-out; }
.tzw-row b { min-width: 74px; font: 800 13px/1 'JetBrains Mono', monospace; color: #66c0f4; }
.tzw-row span { color: #fff; font: 700 15px/1.2 Oswald, sans-serif; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tzw-row.me { box-shadow: inset 0 0 0 2px #46d2d8; }
@keyframes tzwIn { from { opacity: 0; transform: translateY(6px); } }
.tzw-left { margin-top: 12px; font-size: 12px; color: var(--dim); line-height: 1.6; }
.awarn.ok { color: #a4d007; background: rgba(112,180,70,.14); box-shadow: inset 0 0 0 1px rgba(112,180,70,.55), 0 0 18px rgba(112,180,70,.2); }
