/* ==========================================================================
   TickMU front-end system
   Loaded after dmn.css / style.css / cmu.css so it wins by order and by the
   `body.tk` scope. Older rules still serve the inner pages' own content;
   everything that frames the page (top bar, hero, columns, footer) is new
   and uses only the .tk-* names below.

   Backup of the previous design:
   "Website backup - front page before redesign (2026-10-18)"
   ========================================================================== */

:root {
  --tk-ink-0: #050a12;
  --tk-ink-1: #08111c;
  --tk-ink-2: #0c1827;
  --tk-ink-3: #122336;
  --tk-line: #183049;
  --tk-line-2: #2b5272;
  --tk-gold: #5ccbea;
  --tk-gold-hi: #c4f0ff;
  --tk-gold-dim: #3b88a8;
  --tk-ember: #1b64c9;
  --tk-ember-hi: #2b7ae6;
  --tk-ember-line: #6fb6ff;
  --tk-steel: #9fc8e0;
  --tk-text: #cfdce8;
  --tk-text-hi: #eaf5fc;
  --tk-dim: #8da4b8;
  --tk-faint: #7f98ad;
  --tk-ok: #86b36d;
  --tk-bad: #c4604e;

  --tk-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --tk-sans: "Barlow", "Heebo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --tk-cond: "Barlow Condensed", "Barlow", "Heebo", "Arial Narrow", Arial, sans-serif;
  --tk-mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;

  --tk-wrap: 1240px;
  --tk-gutter: clamp(16px, 3.2vw, 32px);
  --tk-rail: 312px;
  --tk-gap: 32px;
  --tk-strip-h: 34px;
}

/* ---------- Base ---------- */
html { background: var(--tk-ink-0); scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body.tk {
  margin: 0;
  background: var(--tk-ink-0);
  color: var(--tk-text);
  font: 400 16px/1.6 var(--tk-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  min-width: 320px;
}
body.tk::after { content: none; }
body.tk *, body.tk *::before, body.tk *::after { box-sizing: border-box; }
:where(body.tk) img { max-width: 100%; height: auto; }
:where(body.tk) a { color: var(--tk-gold-hi); text-decoration: none; transition: color .15s, background-color .15s, border-color .15s; }

body.tk :focus-visible {
  outline: 2px solid var(--tk-gold-hi);
  outline-offset: 2px;
}
body.tk input:focus-visible { outline-offset: 0; }

.tk-wrap { width: 100%; max-width: calc(var(--tk-wrap) + var(--tk-gutter) * 2); margin: 0 auto; padding-inline: var(--tk-gutter); }

.tk-skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--tk-gold-hi); color: #04121c !important;
  font: 700 14px/1 var(--tk-cond); letter-spacing: .1em; text-transform: uppercase;
}
.tk-skip:focus { top: 10px; }

/* ---------- Top: strip + bar ---------- */
.tk-top { position: relative; z-index: 60; background: var(--tk-ink-1); }

.tk-strip { height: var(--tk-strip-h); background: #030710; border-bottom: 1px solid var(--tk-line); }
.tk-strip-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tk-strip p { margin: 0; }
.tk-strip-facts { display: flex; gap: 0; font: 500 12.5px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-faint); }
.tk-strip-facts span + span { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--tk-line-2); }
.tk-strip-status { margin-left: auto !important; display: flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--tk-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--tk-dim); }
.tk-strip-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--tk-bad); }
.tk-strip-status.is-up i { background: var(--tk-ok); }
.tk-strip-status b { color: var(--tk-text-hi); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 4px; }
.tk-strip-unit { margin-left: -3px; }

.tk-bar { position: relative; background: var(--tk-ink-1); border-bottom: 1px solid var(--tk-line-2); }
.tk-bar-in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.tk-brand { position: relative; display: block; flex: none; width: 124px; height: 68px; }
.tk-brand img { position: absolute; left: 0; top: 0; width: 124px; height: auto; }

.tk-nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.tk-nav li { display: block; margin: 0; }
.tk-nav a {
  position: relative; display: block; padding: 12px 13px;
  font: 600 15px/1 var(--tk-cond); letter-spacing: .1em; text-transform: uppercase;
  color: var(--tk-text); white-space: nowrap;
}
.tk-nav a:hover { color: var(--tk-gold-hi); }
.tk-nav li.is-active > a { color: var(--tk-gold-hi); }
.tk-nav li.is-active > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; background: var(--tk-ember-hi);
}
.tk-nav .tk-nav-cta { margin-left: 12px; }
.tk-nav .tk-nav-cta a {
  padding: 12px 18px; background: var(--tk-ember); border: 1px solid var(--tk-ember-line);
  color: #f2f9ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.tk-nav .tk-nav-cta a:hover { background: var(--tk-ember-hi); color: #fff; }
.tk-nav .tk-nav-cta.is-active > a::after { content: none; }

.tk-burger { display: none; }

/* Inner pages: the bar follows you down; the thin strip scrolls away. */
.tk-inner .tk-top { position: sticky; top: calc(var(--tk-strip-h) * -1); }

/* Home: the logo hangs from the bar into the artwork. */
.tk-home .tk-brand { width: 290px; }
.tk-home .tk-brand img { width: 290px; left: -10px; top: -8px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)); }

/* ---------- Hero (home) ---------- */
.tk-hero { position: relative; display: flex; flex-direction: column; min-height: clamp(580px, 68vh, 720px); background: var(--tk-ink-0); overflow: hidden; }
.tk-hero-art { position: absolute; inset: 0; display: block; }
.tk-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 22%; display: block; max-width: none; }
.tk-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,10,18,.96) 0%, rgba(5,10,18,.82) 30%, rgba(5,10,18,.28) 58%, rgba(5,10,18,0) 78%),
    linear-gradient(0deg, var(--tk-ink-0) 0%, rgba(5,10,18,0) 34%),
    linear-gradient(180deg, rgba(5,10,18,.55) 0%, rgba(5,10,18,0) 22%);
}
.tk-hero-in { position: relative; z-index: 2; flex: 1; display: flex; align-items: flex-end; padding-top: 190px; padding-bottom: 44px; }
.tk-hero-copy { max-width: 640px; }

.tk-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font: 600 14px/1.2 var(--tk-cond); letter-spacing: .22em; text-transform: uppercase; color: var(--tk-gold);
}
.tk-eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--tk-gold-dim); flex: none; }

.tk-hero h1 {
  margin: 0 0 18px; padding: 0; text-transform: none; color: var(--tk-text-hi);
  font: 600 clamp(46px, 5.6vw, 78px)/.98 var(--tk-serif); letter-spacing: -.012em;
}
.tk-lede { margin: 0 0 30px; max-width: 50ch; font-size: 18px; line-height: 1.6; color: #bccddc; }
.tk-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tk-facts-wrap { position: relative; z-index: 2; padding-bottom: 28px; }
.tk-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 0;
  background: rgba(5,10,18,.86); border: 1px solid var(--tk-line-2);
}
.tk-facts > div { padding: 14px 20px 15px; }
.tk-facts > div + div { border-left: 1px solid var(--tk-line); }
.tk-facts dt { margin: 0 0 4px; font: 500 12px/1 var(--tk-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--tk-faint); }
.tk-facts dd { margin: 0; font: 600 24px/1.1 var(--tk-serif); color: var(--tk-text-hi); font-variant-numeric: lining-nums tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  .tk-hero-art img { animation: tk-fade .9s ease-out both; }
  .tk-hero-copy > * { animation: tk-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .tk-hero-copy > :nth-child(2) { animation-delay: .06s; }
  .tk-hero-copy > :nth-child(3) { animation-delay: .12s; }
  .tk-hero-copy > :nth-child(4) { animation-delay: .18s; }
}
@keyframes tk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tk-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
body.tk .tk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; margin: 0;
  border: 1px solid var(--tk-line-2); border-radius: 2px; background: transparent;
  color: var(--tk-gold-hi); text-decoration: none; cursor: pointer;
  font: 700 15px/1 var(--tk-cond); letter-spacing: .12em; text-transform: uppercase; text-align: center;
}
body.tk .tk-btn:active { transform: translateY(1px); }
body.tk .tk-btn-primary { background: var(--tk-ember); border-color: var(--tk-ember-line); color: #f2f9ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
body.tk .tk-btn-primary:hover { background: var(--tk-ember-hi); color: #fff; }
body.tk .tk-btn-ghost { border-color: var(--tk-gold-dim); }
body.tk .tk-btn-ghost:hover { background: rgba(92,203,234,.1); border-color: var(--tk-gold); color: #d8f6ff; }
body.tk .tk-btn-lg { min-height: 52px; padding: 0 30px; font-size: 17px; }
body.tk .tk-btn-block { display: flex; width: 100%; }

/* ---------- Page grid ---------- */
.tk-page { background: var(--tk-ink-0); }
.tk-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--tk-rail);
  grid-template-areas: "main account" "main rail"; grid-template-rows: auto 1fr;
  column-gap: var(--tk-gap); align-items: start;
  padding-top: 36px; padding-bottom: 64px;
}
.tk-account { grid-area: account; min-width: 0; }
.tk-main { grid-area: main; min-width: 0; }
.tk-rail { grid-area: rail; min-width: 0; }
.tk-home .tk-layout { padding-top: 12px; }

/* ---------- Cards ---------- */
.tk-card {
  position: relative; margin: 0 0 16px; padding: 16px 18px 18px;
  background: var(--tk-ink-1); border: 1px solid var(--tk-line);
}
.tk-card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(var(--tk-gold-dim), var(--tk-gold-dim)) top left / 14px 1px no-repeat,
    linear-gradient(var(--tk-gold-dim), var(--tk-gold-dim)) top left / 1px 14px no-repeat,
    linear-gradient(var(--tk-gold-dim), var(--tk-gold-dim)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--tk-gold-dim), var(--tk-gold-dim)) bottom right / 1px 14px no-repeat;
}
body.tk .tk-card-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 0 0 14px; padding: 0 0 10px; border-bottom: 1px solid var(--tk-line);
  font: 600 15px/1.2 var(--tk-cond); letter-spacing: .15em; text-transform: uppercase; color: var(--tk-gold);
}
.tk-card-title > span { font-weight: 500; font-size: 12px; letter-spacing: .1em; color: var(--tk-faint); }

/* Account column */
.tk-dl { display: block; margin: 0 0 16px; padding: 14px 18px 15px; background: var(--tk-ember); border: 1px solid var(--tk-ember-line); color: #f2f9ff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.tk-dl:hover { background: var(--tk-ember-hi); }
.tk-dl-main { display: block; font: 700 18px/1.1 var(--tk-cond); letter-spacing: .12em; text-transform: uppercase; }
.tk-dl-sub { display: block; margin-top: 4px; font: 500 13px/1.2 var(--tk-sans); color: #cfe3f7; }

.tk-form { margin: 0; }
.tk-field { display: block; margin: 0 0 14px; }
.tk-field > span { display: block; margin: 0 0 6px; font: 600 12.5px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-dim); }
body.tk .tk-field input {
  display: block; width: 100%; height: 44px; margin: 0; padding: 0 12px;
  background: #06101a; border: 1px solid var(--tk-line-2); border-radius: 2px;
  color: var(--tk-text-hi); font: 400 16px/1 var(--tk-sans); box-shadow: none;
}
body.tk .tk-field input:hover { border-color: var(--tk-gold-dim); }
body.tk .tk-field input:focus { border-color: var(--tk-gold); background: #08141f; outline: 1px solid var(--tk-gold); outline-offset: 0; }
body.tk .tk-field input:-webkit-autofill { -webkit-text-fill-color: var(--tk-text-hi); box-shadow: 0 0 0 100px #08141f inset; }
.tk-form-links { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 0; font-size: 14px; }
.tk-form-links a { color: var(--tk-dim); text-decoration: underline; text-decoration-color: var(--tk-line-2); text-underline-offset: 3px; }
.tk-form-links a:hover { color: var(--tk-gold-hi); }

body.tk .tk-user .tk-card-title { display: block; text-transform: none; letter-spacing: 0; font: 600 28px/1.05 var(--tk-serif); color: var(--tk-gold-hi); overflow-wrap: anywhere; }
.tk-user .tk-card-title small { display: block; margin: 0 0 4px; font: 500 12px/1 var(--tk-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--tk-faint); }
.tk-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.tk-coin { display: block; padding: 10px 12px; background: var(--tk-ink-2); border: 1px solid var(--tk-line); }
a.tk-coin:hover { border-color: var(--tk-gold-dim); }
.tk-coin-wide { grid-column: 1 / -1; }
.tk-coin-label { display: block; margin: 0 0 4px; font: 500 11.5px/1.1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-faint); }
.tk-coin b { display: block; font: 600 22px/1 var(--tk-serif); color: var(--tk-gold-hi); font-variant-numeric: lining-nums tabular-nums; }
.tk-links { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--tk-line); }
.tk-links li { display: block; margin: 0; border-bottom: 1px solid var(--tk-line); }
.tk-links a { display: block; padding: 10px 2px; font-size: 15px; color: var(--tk-text); }
.tk-links a:hover { color: var(--tk-gold-hi); padding-left: 6px; }
.tk-links a.tk-logout { color: var(--tk-dim); }
.tk-links a.tk-logout:hover { color: var(--tk-bad); }

.tk-countdown #timer_div_time { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.tk-countdown .timmer_inner_block { padding: 8px 2px 7px; background: var(--tk-ink-2); border: 1px solid var(--tk-line); }
.tk-countdown .count { font: 600 28px/1 var(--tk-serif); color: var(--tk-gold-hi); font-variant-numeric: tabular-nums; }
.tk-countdown .title { margin-top: 4px; font: 500 11px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-faint); }
body.tk .tk-countdown #timer_div_title { display: block; text-align: left; text-transform: none; font: 600 20px/1.2 var(--tk-serif); letter-spacing: 0; color: var(--tk-gold-hi); }

/* ---------- Rail panels ---------- */
.tk-rail .tk-card:last-child { margin-bottom: 0; }

.tk-state { display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; }
.tk-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--tk-bad); }
.tk-state.is-up { color: var(--tk-ok); }
.tk-state.is-up i { background: var(--tk-ok); }
.tk-state.is-down { color: var(--tk-bad); }

.tk-load { margin: 0 0 12px; }
.tk-load-bar { height: 4px; background: var(--tk-ink-3); }
.tk-load-bar span { display: block; height: 100%; background: var(--tk-gold); }
.tk-load p { display: flex; justify-content: space-between; margin: 7px 0 0; font: 500 12px/1 var(--tk-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--tk-faint); }
.tk-load b { font-weight: 600; color: var(--tk-dim); }

.tk-stats { margin: 0; }
.tk-stats > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dotted var(--tk-line-2); font-size: 15px; }
.tk-stats > div:last-child { border-bottom: 0; padding-bottom: 0; }
.tk-stats dt { color: var(--tk-dim); }
.tk-stats dd { margin: 0; color: var(--tk-text-hi); font-variant-numeric: tabular-nums; text-align: right; }
.tk-stats dd.is-hi { color: var(--tk-gold-hi); font-weight: 600; }

/* Ranking tables are written by the EJS templates; style whatever they emit. */
.tk-rank table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
body.tk .tk-rank table tr, body.tk .tk-rank table tr:nth-child(odd) { background: none; }
body.tk .tk-rank th { padding: 0 4px 8px !important; border: 0 !important; background: none !important; text-align: left !important; font: 500 12px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-faint) !important; }
body.tk .tk-rank td { padding: 7px 4px !important; border: 0 !important; border-top: 1px solid var(--tk-line) !important; background: none !important; text-align: left !important; color: var(--tk-dim); font-variant-numeric: tabular-nums; vertical-align: middle; }
body.tk .tk-rank tr:hover td { background: rgba(92,203,234,.05) !important; }
body.tk .tk-rank td:first-child { color: var(--tk-faint); white-space: nowrap; }
body.tk .tk-rank tr:nth-child(2) td:first-child { color: var(--tk-gold-hi); font-weight: 600; }
body.tk .tk-rank tr:nth-child(3) td:first-child { color: #c9ccd0; font-weight: 600; }
body.tk .tk-rank tr:nth-child(4) td:first-child { color: #c88a58; font-weight: 600; }
.tk-rank td a { color: var(--tk-text-hi); }
.tk-rank td a:hover { color: var(--tk-gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.tk-rank td img { width: 8px; height: 8px; margin-left: 4px; vertical-align: middle; }
.tk-rank .i_note, .tk-rank #top_guilds { color: var(--tk-dim); font-size: 14px; }
.tk-switch { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
body.tk .tk-switch a { padding: 6px 10px; border: 1px solid var(--tk-line-2); font: 600 12px/1 var(--tk-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--tk-dim); background: none; }
body.tk .tk-switch a:hover { color: var(--tk-gold-hi); border-color: var(--tk-gold-dim); }

#events > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--tk-line); font-size: 14.5px; }
#events > div:first-child { border-top: 0; padding-top: 0; }
#events > div span { color: var(--tk-text); }
#events > div small { font: 600 15px/1 var(--tk-cond); letter-spacing: .06em; color: var(--tk-gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }

.tk-siege-owner { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; margin: 0 0 14px; }
.tk-mark { width: 64px; height: 64px; padding: 4px; background: var(--tk-ink-2); border: 1px solid var(--tk-line-2); }
.tk-mark canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.tk-siege-owner p { margin: 0 0 6px; font-size: 15px; line-height: 1.25; color: var(--tk-text-hi); }
.tk-siege-owner p:last-child { margin: 0; }
.tk-siege-owner p span { display: block; margin: 0 0 2px; font: 500 11.5px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-faint); }
.tk-siege-owner strong { font-weight: 500; }
.tk-siege-next { margin: 0 0 4px; font: 500 12px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-faint); }
.tk-siege-timer { font: 600 30px/1.1 var(--tk-serif); color: var(--tk-gold-hi); font-variant-numeric: tabular-nums; }

.tk-staff ul { list-style: none; margin: 0; padding: 0; }
.tk-staff li { display: grid; grid-template-columns: 10px 1fr auto; align-items: baseline; column-gap: 10px; padding: 8px 0; border-top: 1px solid var(--tk-line); }
.tk-staff li:first-child { border-top: 0; padding-top: 0; }
.tk-staff li:last-child { padding-bottom: 0; }
.tk-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tk-line-2); align-self: center; }
.tk-dot.is-on { background: var(--tk-ok); }
.tk-staff strong { font-weight: 600; color: var(--tk-text-hi); }
.tk-role { grid-column: 2; font: 500 12px/1.2 var(--tk-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--tk-faint); }
.tk-presence { grid-column: 3; grid-row: 1; font-size: 13px; color: var(--tk-faint); }
.tk-presence.is-on { color: var(--tk-ok); }

.tk-community-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.tk-discord { display: block; width: 100%; height: 360px; border: 1px solid var(--tk-line); background: var(--tk-ink-2); }

.tk-totop {
  display: none; position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 46px; height: 46px; padding: 0; background: var(--tk-ink-2); border: 1px solid var(--tk-gold-dim);
  color: var(--tk-gold-hi); font: 600 13px/1 var(--tk-cond); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.tk-totop:hover { background: var(--tk-ink-3); border-color: var(--tk-gold); }

/* ---------- Home sections ---------- */
.tk-home-body { padding: 0; }
.tk-sec { padding: 48px 0; border-top: 1px solid var(--tk-line); }
.tk-sec:first-child { padding-top: 40px; border-top: 0; }
.tk-sec:last-child { padding-bottom: 8px; }
.tk-home-body h2 {
  margin: 0 0 16px; padding: 0; text-transform: none; color: var(--tk-text-hi);
  font: 600 clamp(32px, 3.4vw, 44px)/1.04 var(--tk-serif); letter-spacing: -.005em;
}
.tk-home-body h3 { margin: 0; padding: 0; text-transform: none; font-weight: 600; }
.tk-home-body p { margin: 0 0 14px; max-width: 68ch; color: var(--tk-text); }
.tk-home-body a { text-decoration: underline; text-decoration-color: var(--tk-gold-dim); text-underline-offset: 3px; }
.tk-home-body a:hover { text-decoration-color: var(--tk-gold-hi); }
.tk-lead { font-size: 18px; color: #bccddc; }
.tk-note { margin: 18px 0 0 !important; padding: 2px 0 2px 16px; border-left: 2px solid var(--tk-gold-dim); font-size: 15.5px; color: var(--tk-dim) !important; }
.tk-note strong { color: var(--tk-text-hi); font-weight: 600; }
.tk-warn { border-left-color: var(--tk-ember-hi); }
.tk-fine { margin: 12px 0 0 !important; font-size: 14px; color: var(--tk-faint) !important; }

body.tk kbd {
  display: inline-block; padding: 1px 7px 2px; margin: 0 1px; border: 1px solid var(--tk-line-2); border-bottom-width: 2px; border-radius: 2px;
  background: var(--tk-ink-2); color: var(--tk-gold-hi); font: 600 13px/1.4 var(--tk-cond); letter-spacing: .06em;
}
body.tk .tk-home-body code {
  padding: 1px 6px; border-radius: 2px; background: var(--tk-ink-2); color: var(--tk-gold-hi);
  font: 400 13.5px/1.5 var(--tk-mono);
}

.tk-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.tk-shot { margin: 0; }
.tk-shot img { display: block; width: 100%; border: 1px solid var(--tk-line-2); outline: 1px solid var(--tk-line); outline-offset: 5px; }
.tk-shot figcaption { margin: 16px 0 0; font-size: 13.5px; color: var(--tk-faint); }

.tk-content .tk-classes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.tk-content .tk-classes li { display: block; margin: 0; }
.tk-content .tk-classes img { display: block; width: 100%; aspect-ratio: 133 / 231; object-fit: cover; border: 1px solid var(--tk-line-2); transition: border-color .15s; }
.tk-content .tk-classes li:hover img { border-color: var(--tk-gold); }
.tk-content .tk-classes h3 { margin: 12px 0 4px !important; font: 600 23px/1.1 var(--tk-serif) !important; color: var(--tk-gold-hi); }
.tk-content .tk-classes p { margin: 0 0 8px !important; font-size: 14.5px; line-height: 1.45; color: var(--tk-dim) !important; }
body.tk .tk-classes a { font: 600 13px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-gold); text-decoration: none; border-bottom: 1px solid var(--tk-gold-dim); padding-bottom: 2px; }
body.tk .tk-classes a:hover { color: var(--tk-gold-hi); border-bottom-color: var(--tk-gold-hi); }

.tk-content .tk-steps { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--tk-line); }
.tk-content .tk-steps li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; align-items: baseline; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--tk-line); }
.tk-step-n { font: 500 44px/1 var(--tk-serif); color: var(--tk-gold-dim); }
.tk-content .tk-steps h3 { margin: 0 0 6px !important; font: 600 19px/1.2 var(--tk-cond) !important; letter-spacing: .1em; text-transform: uppercase !important; color: var(--tk-text-hi); }
.tk-content .tk-steps p { margin: 0 !important; color: var(--tk-dim) !important; }

.tk-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 0; }
.tk-plan { padding: 20px 22px 18px; background: var(--tk-ink-1); border: 1px solid var(--tk-line); border-top: 2px solid var(--tk-gold); }
.tk-plan-diamond { border-top-color: var(--tk-steel); }
.tk-plan h3 { margin: 0 0 6px !important; font: 600 28px/1.1 var(--tk-serif) !important; color: var(--tk-gold-hi); }
.tk-plan-diamond h3 { color: #dff1fb; }
.tk-home-body .tk-plan-price { margin: 0 0 12px; font: 600 16px/1.2 var(--tk-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--tk-text-hi); }
.tk-plan-price span { margin-left: 8px; color: var(--tk-dim); }
.tk-plan p:last-child { margin: 0; color: var(--tk-dim); font-size: 15.5px; }

.tk-h3 { margin: 36px 0 12px !important; font: 600 15px/1.2 var(--tk-cond) !important; letter-spacing: .16em; text-transform: uppercase !important; color: var(--tk-gold); }
.tk-table-wrap { overflow-x: auto; border: 1px solid var(--tk-line); background: var(--tk-ink-1); -webkit-overflow-scrolling: touch; }
body.tk .tk-table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 15.5px; }
body.tk .tk-table tr, body.tk .tk-table tr:nth-child(odd) { background: none; }
body.tk .tk-table tbody tr:nth-child(even) { background: rgba(255,255,255,.018); }
body.tk .tk-table th, body.tk .tk-table td { padding: 11px 16px !important; border: 0 !important; border-top: 1px solid var(--tk-line) !important; background: none !important; text-align: center !important; color: var(--tk-text) !important; font-variant-numeric: tabular-nums; }
body.tk .tk-table thead th { border-top: 0 !important; background: var(--tk-ink-2) !important; font: 600 13px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-dim) !important; }
body.tk .tk-table th:first-child { text-align: left !important; }
body.tk .tk-table tbody th { font-weight: 400; color: var(--tk-text-hi) !important; }
body.tk .tk-table tbody tr:hover td, body.tk .tk-table tbody tr:hover th { background: rgba(92,203,234,.05) !important; }
body.tk .tk-table .is-gold { color: var(--tk-gold-hi) !important; }
body.tk .tk-table .is-diamond { color: #dff1fb !important; }
body.tk .tk-table thead .is-gold { color: var(--tk-gold) !important; }
body.tk .tk-table thead .is-diamond { color: var(--tk-steel) !important; }

.tk-fold { margin: 22px 0 0; border-top: 1px solid var(--tk-line); }
.tk-fold:last-of-type { border-bottom: 1px solid var(--tk-line); }
.tk-fold summary { position: relative; display: block; padding: 16px 28px 16px 0; cursor: pointer; list-style: none; font: 600 16px/1.2 var(--tk-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--tk-gold); }
.tk-fold summary::-webkit-details-marker { display: none; }
.tk-fold summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--tk-gold-dim); border-bottom: 2px solid var(--tk-gold-dim); transform: rotate(45deg); transition: transform .15s; }
.tk-fold[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.tk-fold summary:hover { color: var(--tk-gold-hi); }
.tk-fold[open] { padding-bottom: 22px; }
.tk-fold[open] summary { padding-bottom: 12px; }

.tk-cmds { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 20px 0 0; }
.tk-cmds > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--tk-line); }
.tk-cmds dt { margin: 0; overflow-wrap: anywhere; }
.tk-cmds dd { margin: 0; color: var(--tk-dim); font-size: 15px; }

.tk-content .tk-schedule { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--tk-line); }
.tk-content .tk-schedule li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: baseline; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--tk-line); }
.tk-when { font: 600 15px/1.2 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-gold); }
.tk-content .tk-schedule h3 { margin: 0 0 3px !important; font: 600 20px/1.2 var(--tk-serif) !important; color: var(--tk-text-hi); }
.tk-content .tk-schedule p { margin: 0 !important; color: var(--tk-dim) !important; font-size: 15.5px; }

/* ---------- Closing band + footer ---------- */
.tk-closing { position: relative; overflow: hidden; padding: 104px 0 108px; text-align: center; border-top: 1px solid var(--tk-line-2); background: var(--tk-ink-0); }
.tk-closing-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; max-width: none; }
.tk-closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--tk-ink-0) 0%, rgba(5,10,18,.55) 38%, rgba(5,10,18,.7) 70%, var(--tk-ink-0) 100%); }
.tk-closing-in { position: relative; z-index: 2; }
.tk-closing h2 { margin: 0 0 12px; text-transform: none; color: var(--tk-text-hi); font: 600 clamp(34px, 4.4vw, 58px)/1.02 var(--tk-serif); }
.tk-closing p { margin: 0 0 28px; font-size: 18px; color: #bccddc; }
.tk-closing .tk-hero-actions { justify-content: center; }

.tk-footer { background: #030710; border-top: 1px solid var(--tk-gold-dim); padding: 52px 0 34px; }
.tk-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.tk-footer-brand img { display: block; width: 168px; height: auto; margin: -8px 0 4px -10px; }
.tk-footer-brand p { margin: 0; max-width: 30ch; font-size: 15px; color: var(--tk-dim); }
.tk-footer-col h3 { margin: 0 0 12px; padding: 0; text-transform: uppercase; font: 600 14px/1.2 var(--tk-cond); letter-spacing: .18em; color: var(--tk-gold); }
.tk-footer-col a { display: block; padding: 5px 0; font-size: 15px; color: var(--tk-dim); }
.tk-footer-col a:hover { color: var(--tk-gold-hi); }
.tk-footer-legal { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--tk-line); font-size: 13px; line-height: 1.55; color: var(--tk-faint); max-width: 90ch; }

/* ---------- Inner pages: framed content area ---------- */
.tk-inner .tk-main { background: var(--tk-ink-1); border: 1px solid var(--tk-line); }
.tk-inner .tk-content { padding: 26px 28px 32px; font-size: 14px; line-height: 1.6; background: none; min-height: 200px; }
.tk-inner .tk-content img { max-width: 100%; }
.tk-home .tk-content { padding: 0; background: none; min-height: 0; font-size: 16px; line-height: 1.6; }

/* News (list) */
.tk-news-head h1, .tk-article h1 { margin: 0 0 8px; padding: 0; text-transform: none; color: var(--tk-text-hi); font: 600 clamp(34px, 4vw, 48px)/1.04 var(--tk-serif); }
.tk-news-sub { margin: 0 0 26px; color: var(--tk-dim); font-size: 15.5px; }
.tk-news { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; align-items: start; }
.tk-news-item { padding: 18px 0; border-top: 1px solid var(--tk-line); }
.tk-news-item:first-child { border-top: 0; padding-top: 0; }
.tk-news-meta { margin: 0 0 6px; font: 500 12.5px/1.2 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-faint); }
.tk-news-meta b { font-weight: 600; color: var(--tk-dim); }
body.tk .tk-news-item h2 { margin: 0 0 6px; padding: 0; text-transform: none; font: 600 26px/1.15 var(--tk-serif); letter-spacing: 0; }
.tk-news-item h2 a { color: var(--tk-text-hi); }
.tk-news-item h2 a:hover { color: var(--tk-gold-hi); }
.tk-news-item p { margin: 0 0 8px; color: var(--tk-dim); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk-more { font: 600 13px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-gold) !important; border-bottom: 1px solid var(--tk-gold-dim); padding-bottom: 2px; }
.tk-more:hover { color: var(--tk-gold-hi) !important; }
.tk-archive { background: var(--tk-ink-2); border: 1px solid var(--tk-line); }
.tk-archive-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 16px 10px; border-bottom: 1px solid var(--tk-line); }
body.tk .tk-archive-head h2 { margin: 0; padding: 0; font: 600 14px/1.2 var(--tk-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--tk-gold); }
.tk-archive-head span { font: 500 12px/1 var(--tk-cond); letter-spacing: .1em; color: var(--tk-faint); }
.tk-content .tk-archive-list { max-height: 620px; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.tk-content .tk-archive-list li { display: block; margin: 0; padding: 11px 16px; border-top: 1px solid var(--tk-line); }
.tk-content .tk-archive-list li:first-child { border-top: 0; }
.tk-archive-list time { display: block; font: 500 12px/1.2 var(--tk-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--tk-faint); }
.tk-content .tk-archive-list a { display: block; margin-top: 2px; font-size: 15px; line-height: 1.35; color: var(--tk-text); }
.tk-content .tk-archive-list a:hover { color: var(--tk-gold-hi); }
.tk-archive-empty { padding: 16px; margin: 0; font-size: 14.5px; color: var(--tk-faint); }

/* News (article) */
.tk-article-cover { margin: 0 0 24px; aspect-ratio: 1200 / 630; background: var(--tk-ink-3); border: 1px solid var(--tk-line-2); }
.tk-article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tk-article-meta { margin: 0 0 24px; font: 500 13px/1.2 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-faint); }
.tk-article-meta strong { font-weight: 600; color: var(--tk-dim); }
.tk-article-body { max-width: 68ch; font-size: 16.5px; line-height: 1.75; color: var(--tk-text); }
.tk-article-body p { margin: 0 0 16px; }
body.tk .tk-article-body h2, body.tk .tk-article-body h3, body.tk .tk-article-body h4 { margin: 32px 0 10px; text-transform: none; color: var(--tk-text-hi); font-family: var(--tk-serif); font-weight: 600; line-height: 1.15; }
.tk-article-body h2 { font-size: 32px; } .tk-article-body h3 { font-size: 26px; } .tk-article-body h4 { font-size: 21px; }
.tk-article-body a { color: var(--tk-gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.tk-article-body strong { color: #fff; }
.tk-article-body ul { margin: 0 0 18px; padding: 0 0 0 20px; list-style: disc; }
.tk-article-body ol { margin: 0 0 18px; padding: 0 0 0 22px; list-style: decimal; }
.tk-article-body li { display: list-item; margin: 0 0 8px; }
.tk-content .tk-article-body ul li { list-style: disc; }
.tk-article-body li::marker { color: var(--tk-gold-dim); }
.tk-article-body img { max-width: 100%; height: auto; border: 1px solid var(--tk-line-2); }
.tk-article-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.tk-article-body th, .tk-article-body td { padding: 9px 10px !important; border: 0 !important; border-bottom: 1px solid var(--tk-line) !important; background: none !important; text-align: left !important; }
.tk-article-body th { color: var(--tk-gold) !important; }
.tk-back { display: inline-block; margin-top: 26px; font: 600 14px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--tk-gold) !important; border-bottom: 1px solid var(--tk-gold-dim); padding-bottom: 3px; }
.tk-error { padding: 18px 20px; border: 1px solid #6b2f3a; background: rgba(43,122,230,.08); color: #e6bfc8; }

/* ---------- Helpers that older inner pages rely on (kept from the old header) ---------- */
#item_buy_right { width: 460px !important; max-width: 100%; }
#item_buy_right .opt { width: 200px !important; }
#item_buy_right .opt select { height: auto !important; min-width: auto !important; max-width: inherit !important; display: inline-block; text-align: left !important; }
#item_buy_right input { width: auto !important; height: auto !important; float: inherit !important; min-width: auto !important; }
.slide:hover { opacity: 1; }
.title1 { padding-bottom: 0 !important; }
.button-style { transition: all .3s ease; cursor: pointer; background: #333; border-radius: 5px; border: none; color: #fff; font-size: 11px; position: relative; z-index: 1; padding: 12px 28px; text-transform: uppercase; text-decoration: none !important; box-shadow: 0 .5em 10px rgba(31,29,29,.7); width: auto; height: auto; line-height: unset; margin: 0 auto; }
.button-style:hover { background: #000; }
.plan { background: #333; }
.top-news { height: auto; }
.plans .select { width: auto; height: auto; float: right; }
.add_to_card td, .add_to_card th { background: #333; border-color: #000; transition: .2s all ease; }
.add_to_card tr:hover td, .add_to_card td:hover, .add_to_card th:hover { background: #000 !important; color: #fff; }
iframe, video { max-width: 100% !important; }
#floatImg { position: absolute; left: -80px; top: 100px; cursor: pointer; text-decoration: none; color: inherit; }
#floatImg img { width: 400px; display: block; }
.bubble { position: absolute; top: -70px; left: 50%; transform: translateX(-50%); width: 200px; padding: 15px; background: #fff; border: 2px solid #000; border-radius: 50px; font-size: 18px; white-space: normal; text-align: center; box-sizing: border-box; text-shadow: 2px 2px 4px rgba(0,0,0,.5); color: #000; }
.bubble::after { content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); border-width: 10px; border-style: solid; border-color: #fff transparent transparent transparent; }
.new-badge { background: #d61c1c; color: #fff; font-size: 9px; font-weight: bold; padding: 2px 5px; border-radius: 3px; margin-left: 5px; text-shadow: none; display: inline-block; vertical-align: middle; }

/* ---------- Responsive ---------- */

/* Just above the collapse point the links get a little tighter. */
@media (min-width: 1241px) and (max-width: 1400px) {
  .tk-nav a { padding: 12px 10px; letter-spacing: .08em; }
  .tk-nav li.is-active > a::after { left: 10px; right: 10px; }
  .tk-nav .tk-nav-cta { margin-left: 8px; }
  .tk-nav .tk-nav-cta a { padding: 12px 14px; }
  .tk-home .tk-brand, .tk-home .tk-brand img { width: 250px; }
}

/* Narrow desktops: tighten the bar before it has to collapse. */
@media (max-width: 1180px) {
  :root { --tk-rail: 288px; --tk-gap: 24px; }
  .tk-classes { gap: 12px; }
  .tk-cmds { gap: 0 28px; }
}

/* Menu collapses behind a button before the links can run out of room. */
@media (max-width: 1240px) {
  .tk-burger {
    display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px;
    background: transparent; border: 1px solid var(--tk-line-2); border-radius: 2px; color: var(--tk-gold-hi);
    font: 700 14px/1 var(--tk-cond); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  }
  .tk-burger-bars, .tk-burger-bars::before, .tk-burger-bars::after { display: block; width: 18px; height: 2px; background: currentColor; content: ""; }
  .tk-burger-bars { position: relative; }
  .tk-burger-bars::before { position: absolute; left: 0; top: -6px; }
  .tk-burger-bars::after { position: absolute; left: 0; top: 6px; }
  .tk-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 80; background: var(--tk-ink-1); border-top: 1px solid var(--tk-line); border-bottom: 1px solid var(--tk-gold-dim); box-shadow: 0 18px 30px rgba(0,0,0,.5); }
  .tk-top.nav-open .tk-nav { display: block; }
  .tk-nav ul { display: block; padding: 8px var(--tk-gutter) 18px; max-width: 640px; margin: 0 auto; }
  .tk-nav li { border-bottom: 1px solid var(--tk-line); }
  .tk-nav a { padding: 16px 2px; font-size: 17px; }
  .tk-nav li.is-active > a::after { left: 2px; right: auto; width: 28px; bottom: 9px; }
  .tk-nav .tk-nav-cta { margin: 16px 0 0; border: 0; }
  .tk-nav .tk-nav-cta a { padding: 16px; text-align: center; }
  .tk-home .tk-brand, .tk-home .tk-brand img { width: 220px; }
}

/* Tablet: single column, rail becomes a 2-up grid. */
@media (max-width: 1000px) {
  .tk-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "account" "main" "rail"; row-gap: 0; padding-top: 24px; }
  .tk-home .tk-layout { padding-top: 24px; }
  .tk-account { margin-bottom: 8px; }
  .tk-inner .tk-main, .tk-main { margin-bottom: 40px; }
  .tk-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .tk-rail .tk-card { margin: 0; }
  .tk-rail .tk-community { grid-column: 1 / -1; }
  .tk-news { grid-template-columns: minmax(0, 1fr); }
  .tk-content .tk-archive-list { max-height: 360px; }
  .tk-footer-grid { grid-template-columns: repeat(3, 1fr); }
  .tk-footer-brand { grid-column: 1 / -1; }
  .tk-facts { grid-template-columns: repeat(2, 1fr); }
  .tk-facts > div:nth-child(3) { border-left: 0; }
  .tk-facts > div:nth-child(n+3) { border-top: 1px solid var(--tk-line); }
}

/* Phone */
@media (max-width: 760px) {
  :root { --tk-strip-h: 32px; }
  body.tk { font-size: 16px; }
  .tk-strip-facts { display: none; }
  .tk-strip-status { margin-left: 0 !important; }
  .tk-strip-in { justify-content: space-between; }
  .tk-bar-in { height: 60px; }
  .tk-brand, .tk-brand img { width: 108px; height: auto; }
  .tk-brand { height: 60px; }
  .tk-brand img { top: 0; }
  .tk-home .tk-brand, .tk-home .tk-brand img { width: 176px; }
  .tk-home .tk-brand img { left: -8px; top: -6px; }

  .tk-hero { min-height: 0; }
  .tk-hero-art { bottom: auto; height: 540px; }
  .tk-hero-art img { object-position: 64% 0; }
  .tk-hero::before { background:
      linear-gradient(180deg, rgba(5,10,18,.6) 0, rgba(5,10,18,0) 120px, rgba(5,10,18,0) 300px, var(--tk-ink-0) 540px); }
  .tk-hero-in { padding-top: 400px; padding-bottom: 28px; }
  .tk-hero h1 { font-size: clamp(42px, 12.5vw, 54px); margin-bottom: 14px; }
  .tk-lede { font-size: 16.5px; margin-bottom: 22px; }
  .tk-hero-actions { flex-direction: column; }
  body.tk .tk-hero-actions .tk-btn { width: 100%; }
  .tk-facts-wrap { padding-bottom: 20px; }
  .tk-facts > div { padding: 12px 14px 13px; }
  .tk-facts dd { font-size: 21px; }

  .tk-layout { padding-bottom: 40px; }
  .tk-rail { grid-template-columns: minmax(0, 1fr); }
  .tk-inner .tk-content { padding: 20px 16px 26px; }
  .tk-sec { padding: 38px 0; }
  .tk-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tk-shot img { outline-offset: 4px; }

  .tk-content .tk-classes { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 40%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tk-gutter); margin-inline: calc(var(--tk-gutter) * -1); padding: 0 var(--tk-gutter) 8px; scrollbar-width: none; }
  .tk-content .tk-classes::-webkit-scrollbar { display: none; }
  .tk-content .tk-classes li { scroll-snap-align: start; }
  .tk-content .tk-steps li { grid-template-columns: 52px minmax(0, 1fr); padding: 16px 0; }
  .tk-step-n { font-size: 36px; }
  .tk-plans { grid-template-columns: minmax(0, 1fr); }
  body.tk .tk-table { min-width: 0; font-size: 14.5px; }
  body.tk .tk-table th, body.tk .tk-table td { padding: 10px 8px !important; }
  body.tk .tk-table thead th { font-size: 12px; letter-spacing: .08em; padding-inline: 6px !important; }
  .tk-cmds { grid-template-columns: minmax(0, 1fr); }
  .tk-cmds > div { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .tk-content .tk-schedule li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tk-closing { padding: 72px 0 76px; }
  .tk-footer { padding-top: 40px; }
  .tk-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .tk-totop { right: 14px; bottom: 14px; }
  .tk-news-item h2 { font-size: 23px; }
}

@media (max-width: 380px) {
  .tk-wallet { grid-template-columns: minmax(0, 1fr); }
  .tk-form-links { flex-direction: column; gap: 8px; }
  .tk-content .tk-classes { grid-auto-columns: 46%; }
}

@media (prefers-reduced-motion: reduce) {
  body.tk *, body.tk *::before, body.tk *::after { transition: none !important; animation: none !important; }
}

/* ---------- Native <button> elements: undo the old global button rules ----------
   style.css styles every <button> (pill radius, image background, forced white text,
   lift on hover) with !important. Our three buttons opt out explicitly. */
body.tk button.tk-btn, body.tk button.tk-burger, body.tk button.tk-totop {
  border-style: solid !important; border-width: 1px !important; border-radius: 2px !important;
  background-image: none !important; background-size: auto !important;
  text-shadow: none; width: auto; transform: none; filter: none !important;
}
body.tk button.tk-btn:hover, body.tk button.tk-burger:hover, body.tk button.tk-totop:hover { transform: none !important; filter: none !important; }
body.tk button.tk-btn-block { width: 100%; }
body.tk button.tk-btn-primary { border-color: var(--tk-ember-line) !important; color: #f2f9ff !important; background-color: var(--tk-ember); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); height: auto; line-height: 1; }
body.tk button.tk-btn-primary:hover { background-color: var(--tk-ember-hi); }
body.tk button.tk-burger { border-color: var(--tk-line-2) !important; color: var(--tk-gold-hi) !important; background-color: transparent; box-shadow: none; line-height: 1; }
body.tk button.tk-totop { border-color: var(--tk-gold-dim) !important; color: var(--tk-gold-hi) !important; background-color: var(--tk-ink-2); box-shadow: none; width: 46px; height: 46px; line-height: 1; }


/* ===================== SKIN: FROST BASE ===================== */
:root{ --tk-glow: 0 0 28px rgba(92,203,234,.22); }
body.tk{ background:
  radial-gradient(1200px 520px at 78% -8%, rgba(60,150,220,.16), transparent 62%),
  radial-gradient(900px 600px at 6% 38%, rgba(40,110,190,.08), transparent 60%),
  var(--tk-ink-0); }

.tk-brand img{ filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)) !important; }
/* frost mist along the base of the hero */
.tk-hero::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:46%; z-index:1; pointer-events:none;
  background: radial-gradient(60% 90% at 30% 110%, rgba(150,220,255,.20), transparent 70%), radial-gradient(50% 80% at 78% 115%, rgba(80,170,255,.16), transparent 70%); }
/* drifting ice motes */
.tk-hero-in::before{ content:""; position:absolute; inset:-40% 0 0 0; z-index:-1; pointer-events:none; opacity:.55;
  background-image:
   radial-gradient(1.6px 1.6px at 12% 22%, #dff6ff, transparent 60%), radial-gradient(1.2px 1.2px at 28% 64%, #bfeaff, transparent 60%),
   radial-gradient(2px 2px at 46% 34%, #fff, transparent 60%), radial-gradient(1.2px 1.2px at 63% 78%, #bfeaff, transparent 60%),
   radial-gradient(1.8px 1.8px at 79% 18%, #dff6ff, transparent 60%), radial-gradient(1.2px 1.2px at 90% 56%, #fff, transparent 60%),
   radial-gradient(1.4px 1.4px at 38% 88%, #cdeeff, transparent 60%), radial-gradient(1.6px 1.6px at 71% 46%, #fff, transparent 60%);
  animation: tk-drift 22s linear infinite; }
@keyframes tk-drift{ from{ transform: translateY(0)} to{ transform: translateY(60px)} }
/* headline: cold light */
.tk-hero h1{ background: linear-gradient(180deg,#ffffff 0%, #bfeaff 55%, #7cc8ef 100%); -webkit-background-clip:text; background-clip:text; color:transparent !important; filter: drop-shadow(0 0 22px rgba(92,203,234,.28)); }
.tk-eyebrow{ text-shadow: 0 0 14px rgba(92,203,234,.55); }
.tk-eyebrow::before{ background: linear-gradient(90deg, transparent, var(--tk-gold)); box-shadow: 0 0 8px var(--tk-gold); }
/* frosted glass panels */
.tk-card, .tk-facts, .tk-plan, .tk-table-wrap, .tk-fold{
  background: linear-gradient(180deg, rgba(20,42,66,.52), rgba(8,17,28,.78)) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(180,230,255,.10), 0 10px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(92,203,234,.05); }
.tk-card::before{ filter: drop-shadow(0 0 5px rgba(92,203,234,.8)); }
.tk-plan{ border-top-width:2px; position:relative; }
.tk-plan-gold{ border-top-color:#5ccbea; box-shadow: inset 0 14px 28px -18px rgba(92,203,234,.35), 0 10px 34px rgba(0,0,0,.45); }
.tk-plan-diamond{ border-top-color:#a9b8ff; box-shadow: inset 0 14px 28px -18px rgba(150,170,255,.35), 0 10px 34px rgba(0,0,0,.45); }
.tk-plan-diamond h3{ color:#d9e0ff; }
/* bar */
.tk-bar{ background: linear-gradient(180deg, rgba(10,22,36,.92), rgba(6,13,22,.88)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom:1px solid transparent;
  border-image: linear-gradient(90deg, transparent, #2b5272 20%, #5ccbea 50%, #2b5272 80%, transparent) 1; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
/* buttons */
body.tk .tk-btn-primary, body.tk button.tk-btn-primary, .tk-dl{ background: linear-gradient(180deg,#2f86ee,#1650b0) !important; border-color:#6fb6ff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 22px rgba(47,134,238,.45), 0 4px 14px rgba(0,0,0,.4) !important; transition: box-shadow .2s, transform .2s; }
body.tk .tk-btn-primary:hover, .tk-dl:hover{ box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 34px rgba(80,170,255,.7), 0 6px 18px rgba(0,0,0,.45) !important; transform: translateY(-1px); }
body.tk .tk-btn-ghost{ border-color: rgba(92,203,234,.55); box-shadow: inset 0 0 18px rgba(92,203,234,.08); }
body.tk .tk-btn-ghost:hover{ box-shadow: 0 0 22px rgba(92,203,234,.35), inset 0 0 18px rgba(92,203,234,.14); }
/* section headings and dividers */
.tk-sec h2{ text-shadow: 0 0 26px rgba(92,203,234,.22); }
.tk-sec{ border-top:0; position:relative; }
.tk-sec::before{ content:""; position:absolute; left:0; right:0; top:0; height:1px; background: linear-gradient(90deg, #5ccbea, rgba(92,203,234,.18) 30%, transparent 80%); opacity:.55; }
.tk-sec:first-child::before{ display:none; }
/* live bits */
.tk-load-bar span{ background: linear-gradient(90deg,#2b7ae6,#5ccbea,#c4f0ff); box-shadow: 0 0 12px rgba(92,203,234,.7); }
.tk-dot.is-on{ background:#6ee7b7; box-shadow:0 0 10px #6ee7b7; animation: tk-pulse 2.4s ease-in-out infinite; }
@keyframes tk-pulse{ 50%{ box-shadow:0 0 3px #6ee7b7; opacity:.7 } }
body.tk .tk-table .is-gold{ color:#aeeaff !important; }
.tk-footer{ border-top:1px solid #2b5272; background: linear-gradient(180deg, #06101a, #030710); }

/* ===================== SKIN: AURORA COLOUR AND SHINE ===================== */
:root{
  --tk-vio: #8b6cff; --tk-vio-hi:#c3b4ff; --tk-mag:#d86bff; --tk-cy:#5ccbea; --tk-blu:#2b7ae6;
  --tk-aurora: linear-gradient(100deg, #5ccbea 0%, #6aa2ff 38%, #9a7cff 70%, #d86bff 100%);
}
body.tk{ background:
  radial-gradient(900px 520px at 88% -6%, rgba(139,108,255,.22), transparent 62%),
  radial-gradient(1000px 560px at 14% -10%, rgba(43,122,230,.22), transparent 60%),
  radial-gradient(800px 700px at 100% 55%, rgba(216,107,255,.07), transparent 60%),
  radial-gradient(900px 600px at 0% 78%, rgba(92,203,234,.07), transparent 60%),
  var(--tk-ink-0); background-attachment: fixed; }
/* hero art: keep the blue base, add violet and cyan light blooms */
.tk-hero-art::after{ content:""; position:absolute; inset:0; mix-blend-mode: screen; pointer-events:none;
  background: radial-gradient(40% 55% at 78% 30%, rgba(150,110,255,.38), transparent 70%),
              radial-gradient(34% 46% at 92% 78%, rgba(60,200,240,.30), transparent 70%),
              radial-gradient(30% 40% at 60% 90%, rgba(216,107,255,.18), transparent 70%); }
.tk-hero::after{ background: radial-gradient(60% 90% at 25% 112%, rgba(92,203,234,.26), transparent 70%), radial-gradient(55% 80% at 80% 115%, rgba(139,108,255,.28), transparent 70%); }
/* type */
.tk-hero h1{ background: linear-gradient(100deg,#ffffff 0%, #d4f4ff 30%, #a9c4ff 62%, #cdb6ff 100%); -webkit-background-clip:text; background-clip:text; filter: drop-shadow(0 0 26px rgba(139,108,255,.35)) drop-shadow(0 0 10px rgba(92,203,234,.25)); }
.tk-eyebrow{ background: var(--tk-aurora); -webkit-background-clip:text; background-clip:text; color:transparent !important; text-shadow:none; filter: drop-shadow(0 0 10px rgba(120,150,255,.5)); }
.tk-eyebrow::before{ background: var(--tk-aurora); box-shadow: 0 0 10px rgba(139,108,255,.9); height:2px; }
.tk-sec h2{ text-shadow: 0 0 30px rgba(139,108,255,.28), 0 0 12px rgba(92,203,234,.18); }
.tk-card-title, .tk-sec .tk-h3{ background: var(--tk-aurora); -webkit-background-clip:text; background-clip:text; color:transparent !important; }
.tk-facts dd{ background: linear-gradient(180deg,#ffffff,#b9d9ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
/* gradient-rim glass cards */
.tk-card, .tk-facts, .tk-plan, .tk-table-wrap, .tk-fold{
  border:1px solid transparent !important;
  background:
    linear-gradient(180deg, rgba(22,40,72,.72), rgba(8,14,30,.88)) padding-box,
    linear-gradient(140deg, rgba(92,203,234,.85), rgba(139,108,255,.55) 45%, rgba(216,107,255,.30) 70%, rgba(92,203,234,.25)) border-box !important;
  box-shadow: inset 0 1px 0 rgba(200,225,255,.12), 0 12px 40px rgba(0,0,0,.5), 0 0 30px rgba(110,120,255,.10) !important; }
.tk-card::before{ filter: drop-shadow(0 0 6px rgba(139,108,255,.9)); border-color: #9a7cff; }
.tk-plan-gold{ background: linear-gradient(180deg, rgba(14,52,74,.78), rgba(8,14,30,.9)) padding-box, linear-gradient(140deg,#5ccbea,#2b7ae6 60%,rgba(92,203,234,.2)) border-box !important; box-shadow: inset 0 22px 36px -22px rgba(92,203,234,.5), 0 12px 40px rgba(0,0,0,.5), 0 0 34px rgba(92,203,234,.16) !important; }
.tk-plan-diamond{ background: linear-gradient(180deg, rgba(40,24,84,.78), rgba(10,10,30,.9)) padding-box, linear-gradient(140deg,#c3b4ff,#8b6cff 55%,#d86bff) border-box !important; box-shadow: inset 0 22px 36px -22px rgba(150,110,255,.55), 0 12px 40px rgba(0,0,0,.5), 0 0 34px rgba(150,110,255,.2) !important; }
.tk-plan-gold h3{ background: linear-gradient(180deg,#e6fbff,#5ccbea); -webkit-background-clip:text; background-clip:text; color:transparent; filter: drop-shadow(0 0 12px rgba(92,203,234,.55)); }
.tk-plan-diamond h3{ background: linear-gradient(180deg,#f1ebff,#a58bff); -webkit-background-clip:text; background-clip:text; color:transparent; filter: drop-shadow(0 0 12px rgba(150,110,255,.6)); }
body.tk .tk-table thead .is-diamond{ color:#c3b4ff !important; } body.tk .tk-table .is-diamond{ color:#e4dcff !important; }
body.tk .tk-table thead .is-gold{ color:#7fdcf5 !important; }
/* bar */
.tk-bar{ border-image: linear-gradient(90deg, transparent, #2b7ae6 15%, #5ccbea 38%, #9a7cff 66%, #d86bff 85%, transparent) 1; box-shadow: 0 10px 34px rgba(30,40,120,.35); }
.tk-nav a:hover, .tk-nav .is-active > a{ text-shadow: 0 0 14px rgba(139,108,255,.9); }
/* shiny buttons with a sweep */
body.tk .tk-btn-primary, body.tk button.tk-btn-primary, .tk-dl{ position:relative; overflow:hidden;
  background: linear-gradient(100deg,#1f7be6 0%, #5a6cf0 55%, #8b5cf5 100%) !important; border-color:#9cc4ff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -10px 18px rgba(20,10,80,.25), 0 0 26px rgba(100,110,255,.55), 0 6px 18px rgba(0,0,0,.45) !important; }
body.tk .tk-btn-primary::after, .tk-dl::after{ content:""; position:absolute; top:0; bottom:0; width:42%; left:-60%; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent); animation: tk-shine 4.2s ease-in-out infinite; }
@keyframes tk-shine{ 0%,55%{ left:-60% } 80%,100%{ left:130% } }
body.tk .tk-btn-primary:hover, .tk-dl:hover{ box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 40px rgba(140,120,255,.85), 0 8px 22px rgba(0,0,0,.5) !important; }
body.tk .tk-btn-ghost{ border-color: rgba(150,170,255,.6); background: rgba(40,50,110,.18); box-shadow: inset 0 0 22px rgba(120,130,255,.14), 0 0 18px rgba(92,203,234,.12); }
/* dividers, load bar, numerals, links */
.tk-sec::before{ height:2px; background: linear-gradient(90deg, #5ccbea, #8b6cff 35%, rgba(216,107,255,.35) 60%, transparent 90%); opacity:.7; box-shadow: 0 0 14px rgba(139,108,255,.55); }
.tk-load-bar span{ background: linear-gradient(90deg,#2b7ae6,#5ccbea,#9a7cff,#d86bff); background-size:200% 100%; animation: tk-flow 6s linear infinite; box-shadow: 0 0 14px rgba(139,108,255,.8); }
@keyframes tk-flow{ to{ background-position:-200% 0 } }
.tk-steps li::marker, .tk-step-n{ color:#9a7cff; }
.tk-content a:not(.tk-btn){ color:#9fd8ff; }
.tk-footer{ border-top:2px solid transparent; border-image: linear-gradient(90deg, transparent, #2b7ae6, #9a7cff, #d86bff, transparent) 1; }

/* ===================== SKIN: NEON ACCENTS =====================
   Rule: neon only where something is live, actionable or marks "you are here".
   Body copy, tables and headings stay calm. */
:root{ --n-cy:#7ff0ff; --n-vio:#b79cff; --n-mag:#ee86ff; --n-mint:#7dffc8; }
/* 1. you are here: tube underline under the active menu item */
.tk-nav li.is-active > a{ color:#e9fbff; text-shadow: 0 0 8px rgba(127,240,255,.55); }
.tk-nav li.is-active > a::after{ height:2px; background: linear-gradient(90deg, var(--n-cy), #fff 50%, var(--n-cy)); box-shadow: 0 0 4px #fff, 0 0 10px var(--n-cy), 0 0 22px rgba(127,240,255,.6); border-radius:2px; }
.tk-nav a:hover{ text-shadow: 0 0 10px rgba(183,156,255,.9); }
/* 2. the one call to action: lit rim, soft outer glow */
body.tk .tk-hero .tk-btn-primary{ border-color:#d9f6ff !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 8px rgba(127,240,255,.85), 0 0 26px rgba(110,120,255,.65), 0 0 54px rgba(139,108,255,.38), inset 0 1px 0 rgba(255,255,255,.5) !important; }
.tk-nav .tk-nav-cta a{ box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 14px rgba(110,140,255,.6), inset 0 1px 0 rgba(255,255,255,.35); }
/* 3. live numbers glow: they tick, so they look alive */
.tk-countdown .count, .tk-siege-timer, #events small{ color:#d8fbff !important; text-shadow: 0 0 1px #fff, 0 0 7px rgba(127,240,255,.85), 0 0 18px rgba(92,203,234,.45); }
.tk-countdown .timmer_inner_block{ border-color: rgba(127,240,255,.35); box-shadow: inset 0 0 14px rgba(92,203,234,.12), 0 0 12px rgba(92,203,234,.12); }
#events small{ font-weight:600; }
/* 4. status: neon mint, the only green on the page */
.tk-strip-status i, .tk-dot.is-on{ background: var(--n-mint) !important; box-shadow: 0 0 3px #fff, 0 0 9px var(--n-mint), 0 0 18px rgba(125,255,200,.55) !important; }
.tk-facts > div:last-child dd{ color:#d8fff0 !important; background:none; -webkit-text-fill-color:#d8fff0; text-shadow: 0 0 8px rgba(125,255,200,.7), 0 0 20px rgba(125,255,200,.3); }
/* 5. tube lines: hero eyebrow dash, the facts strip's top edge */
.tk-eyebrow::before{ background: linear-gradient(90deg, var(--n-cy), var(--n-vio)); box-shadow: 0 0 4px #fff, 0 0 10px var(--n-cy), 0 0 18px rgba(139,108,255,.7); }
.tk-facts{ position:relative; }
.tk-facts::after{ content:""; position:absolute; left:8%; right:8%; top:-1px; height:2px; background: linear-gradient(90deg, transparent, var(--n-cy) 25%, #fff 50%, var(--n-vio) 75%, transparent); box-shadow: 0 0 10px rgba(127,240,255,.8), 0 0 24px rgba(139,108,255,.55); border-radius:2px; }
/* 6. panel corner tips are lit like tube ends */
.tk-card::before{ border-color: var(--n-cy) !important; filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px rgba(127,240,255,.9)); }
/* 7. fields wake up when you type */
body.tk .tk-field input:focus{ border-color: var(--n-cy); outline:0; box-shadow: 0 0 0 1px rgba(127,240,255,.8), 0 0 12px rgba(127,240,255,.55), inset 0 0 10px rgba(92,203,234,.15); }
/* 8. section rule: one bright segment where the eye starts, not a lit line */
.tk-sec::before{ background: linear-gradient(90deg, rgba(92,203,234,.55), rgba(139,108,255,.25) 40%, transparent 85%); box-shadow:none; height:1px; }
.tk-sec::after{ content:""; position:absolute; left:0; top:-1px; width:120px; height:2px; background: linear-gradient(90deg, var(--n-cy), var(--n-vio)); box-shadow: 0 0 8px var(--n-cy), 0 0 18px rgba(139,108,255,.6); }
.tk-sec:first-child::after{ display:none; }
/* 9. the two tiers get their own tube along the top edge */
.tk-plan-gold{ box-shadow: inset 0 22px 36px -22px rgba(92,203,234,.5), 0 12px 40px rgba(0,0,0,.5), 0 -2px 18px -4px rgba(127,240,255,.55) !important; }
.tk-plan-diamond{ box-shadow: inset 0 22px 36px -22px rgba(150,110,255,.55), 0 12px 40px rgba(0,0,0,.5), 0 -2px 18px -4px rgba(238,134,255,.6) !important; }
/* 10. cards answer your pointer with a brighter rim */
.tk-card:hover, .tk-plan:hover{ box-shadow: inset 0 1px 0 rgba(200,225,255,.18), 0 12px 40px rgba(0,0,0,.5), 0 0 26px rgba(139,108,255,.35), 0 0 6px rgba(127,240,255,.4) !important; }
/* 11. the closing call: neon text sign */
.tk-closing h2{ text-shadow: 0 0 2px rgba(255,255,255,.7), 0 0 14px rgba(127,240,255,.45), 0 0 38px rgba(139,108,255,.45); }
.tk-closing .tk-btn-primary{ box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 10px rgba(127,240,255,.85), 0 0 34px rgba(139,108,255,.7), 0 0 70px rgba(139,108,255,.35), inset 0 1px 0 rgba(255,255,255,.5) !important; }


/* ===================== Skin: safety nets ===================== */
@media (max-width: 1000px){ body.tk{ background-attachment: scroll; } }
@supports not ((-webkit-background-clip: text) or (background-clip: text)){
  .tk-hero h1, .tk-eyebrow, .tk-card-title, .tk-sec .tk-h3, .tk-facts dd, .tk-plan h3{ color: var(--tk-text-hi) !important; background: none !important; -webkit-text-fill-color: initial !important; }
}
@media (prefers-reduced-motion: reduce){
  .tk-hero-in::before, .tk-dot.is-on, .tk-load-bar span, body.tk .tk-btn-primary::after, .tk-dl::after{ animation: none !important; }
}

/* ===================== Fix: boxed folds and phone table gutters ===================== */
.tk-fold{ padding: 0 20px; margin-top: 18px; }
.tk-fold[open]{ padding-bottom: 20px; }
.tk-fold .tk-table-wrap{ margin-top: 4px; }
@media (max-width: 760px){
  .tk-fold{ padding: 0 14px; }
  .tk-fold[open]{ padding-bottom: 14px; }
  body.tk .tk-table th:first-child, body.tk .tk-table td:first-child{ padding-left: 12px !important; }
  body.tk .tk-table th:last-child, body.tk .tk-table td:last-child{ padding-right: 12px !important; }
}

/* Accessibility button: round, in the skin's colours (the legacy global button rule squared it off). */
body.tk #accessibility-btn{
  width: 52px; height: 52px; border-radius: 50% !important;
  background: url(../images/muisrael-accessibility.png) center / 34px no-repeat, linear-gradient(145deg, #1b64c9, #7a62f0) !important;
  border: 1px solid rgba(255,255,255,.38) !important;
  box-shadow: 0 0 0 1px rgba(127,240,255,.3), 0 0 18px rgba(110,130,255,.55), 0 10px 26px rgba(0,0,0,.5) !important;
}
@media (max-width: 760px){ body.tk #accessibility-btn{ right: 14px; bottom: 66px; } }

/* ===================== Account panel, rankings and rules: panel frames ===================== */
body.tk #mu-account-panel-container, body.tk #mu-rules-panel, body.tk #mu-rankings-panel, body.tk #mu-search-panel,
body.tk #mu-reset-panel, body.tk #mu-greset-panel, body.tk #mu-exchange-panel, body.tk #mu-clearinv-panel, body.tk #mu-addstats-panel,
body.tk #mu-vote-panel, body.tk #mu-settings-panel, body.tk #mu-pk-panel, body.tk #mu-hideinfo-panel, body.tk #mu-warp-panel, body.tk #mu-confirm-email-panel{
  border: 1px solid transparent !important;
  background:
    linear-gradient(180deg, rgba(14,30,52,.80), rgba(6,12,24,.92)) padding-box,
    linear-gradient(140deg, rgba(92,203,234,.75), rgba(139,108,255,.45) 50%, rgba(92,203,234,.2)) border-box !important;
  box-shadow: inset 0 1px 0 rgba(200,225,255,.10), 0 14px 44px rgba(0,0,0,.5), 0 0 30px rgba(110,120,255,.10) !important;
}
body.tk #mu-account-panel-container .mu-hero-card{ box-shadow: inset 0 0 22px rgba(92,203,234,.10), 0 0 18px rgba(92,203,234,.18); }
body.tk #mu-account-panel-container .mu-card:hover{ box-shadow: 0 0 22px rgba(139,108,255,.28), 0 0 6px rgba(127,240,255,.35); }
body.tk #mu-account-panel-container .vip-tier-2{ color:#c9bcff; text-shadow: 0 0 8px rgba(150,110,255,.65); }

/* ===================== Table headers inside account widgets, rankings and rules: neon blue to pink ===================== */
body.tk :is(#mu-account-panel-container,#mu-rules-panel,#mu-rankings-panel,#mu-search-panel,#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-clearinv-panel,#mu-addstats-panel,#mu-vote-panel,#mu-settings-panel,#mu-pk-panel,#mu-hideinfo-panel,#mu-warp-panel,#mu-confirm-email-panel) table:not(.req-table) thead th{
  color:#9fdcff !important;
  background: rgba(6,14,26,.92) !important;
  border-color: rgba(92,203,234,.14) !important;
  letter-spacing:.08em;
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  body.tk :is(#mu-account-panel-container,#mu-rules-panel,#mu-rankings-panel,#mu-search-panel,#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-clearinv-panel,#mu-addstats-panel,#mu-vote-panel,#mu-settings-panel,#mu-pk-panel,#mu-hideinfo-panel,#mu-warp-panel,#mu-confirm-email-panel) table:not(.req-table) thead th{
    background:
      linear-gradient(95deg,#7ff0ff 0%,#8fb4ff 38%,#c392ff 68%,#ff86e6 100%) 0 0/100% 100% no-repeat text,
      rgba(6,14,26,.92) !important;
    -webkit-background-clip: text, border-box !important;
            background-clip: text, border-box !important;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
  }
}

/* Widget tables: breathing room so action buttons never touch cell borders */
body.tk :is(#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-addstats-panel,#mu-pk-panel,#mu-warp-panel,#mu-vote-panel) .mu-table-wrapper{ overflow-x:auto !important; }
body.tk :is(#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-addstats-panel,#mu-pk-panel,#mu-warp-panel,#mu-vote-panel) table.mu-table{ min-width:0; }
@media (max-width:760px){ body.tk :is(#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-addstats-panel,#mu-pk-panel,#mu-warp-panel,#mu-vote-panel) table.mu-table{ min-width:700px; } }
body.tk :is(#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-addstats-panel,#mu-pk-panel,#mu-warp-panel,#mu-vote-panel) table.mu-table > tbody > tr > td,
body.tk :is(#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-addstats-panel,#mu-pk-panel,#mu-warp-panel,#mu-vote-panel) table.mu-table > thead > tr > th{ padding-left:18px !important; padding-right:18px !important; }
body.tk :is(#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-addstats-panel,#mu-pk-panel,#mu-warp-panel,#mu-vote-panel) table.mu-table .btn-action{ padding:8px 14px; font-size:.76rem; letter-spacing:.02em; box-sizing:border-box; max-width:100%; }
body.tk #mu-greset-panel table.mu-table > thead > tr > th:nth-child(1){ width:18% !important; }
body.tk #mu-greset-panel table.mu-table > thead > tr > th:nth-child(2){ width:13% !important; }
body.tk #mu-greset-panel table.mu-table > thead > tr > th:nth-child(3){ width:13% !important; }
body.tk #mu-greset-panel table.mu-table > thead > tr > th:nth-child(4){ width:16% !important; }
body.tk #mu-greset-panel table.mu-table > thead > tr > th:nth-child(5){ width:21% !important; }
body.tk #mu-greset-panel table.mu-table > thead > tr > th:nth-child(6){ width:19% !important; }
body.tk #mu-greset-panel table.mu-table > tbody > tr > td{ padding-left:12px !important; padding-right:12px !important; }
body.tk #mu-greset-panel table.mu-table > tbody > tr > td:first-child{ padding-left:20px !important; }

/* ===================== One headline for every page: centred, cyan, soft glow (matches the panel titles) ===================== */
body.tk .title1, body.tk #box1 .title1, body.tk .tm-guides-page .title1{
  position: relative !important; top: 0 !important; left: 0 !important; width: 100% !important; height: auto !important;
  background: none !important; margin: 0 0 20px !important; padding: 8px 0 14px !important;
  text-align: center !important; border-bottom: 1px solid rgba(92,203,234,.14);
}
body.tk .title1 h1, body.tk .title1 h2, body.tk #box1 .title1 h1, body.tk #box1 .title1 h2, body.tk .tm-guides-page .title1 h1,
body.tk .tm-guide-article-head h1{
  display: block !important; float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; background: none !important; text-align: center !important;
  font: 700 2rem/1.2 'Cinzel', serif !important; letter-spacing: .02em !important; text-transform: uppercase !important;
  color: #5ccbea !important; -webkit-text-fill-color: #5ccbea; text-shadow: 0 0 10px rgba(92,203,234,.3) !important;
}
body.tk .tm-guide-article-head{ text-align:center; border-bottom-color: rgba(92,203,234,.14); }
/* guides page: leftover gold to cyan */
body.tk .tm-guides-search input[type="text"]:focus{ border-color:#5ccbea; box-shadow:0 0 0 1px rgba(92,203,234,.35); }
body.tk .tm-guides-search button{ background:linear-gradient(180deg,#2b7ae6,#1b64c9); color:#eaf6ff; border-color:rgba(127,240,255,.35); }
body.tk .tm-guides-search button:hover{ background:linear-gradient(180deg,#3b8cf5,#2b7ae6); }
body.tk .tm-guides-pill:hover{ color:#c4f0ff; }
body.tk .tm-guides-pill.is-active{ color:#c4f0ff; border-bottom-color:#5ccbea; }
body.tk .tm-gl-group h2{ color:#5ccbea; }
body.tk .tm-gl-row:hover{ background:rgba(92,203,234,.05); }
body.tk .tm-gl-row:hover .tm-gl-title, body.tk .tm-guide-breadcrumb a:hover{ color:#c4f0ff; }
body.tk .tm-gl-title{ color:#e3eef7; }

/* Panel headlines: identical on every account widget, rankings and rules */
body.tk :is(#mu-account-panel-container,#mu-rankings-panel,#mu-search-panel,#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-clearinv-panel,#mu-addstats-panel,#mu-vote-panel,#mu-settings-panel,#mu-pk-panel,#mu-hideinfo-panel,#mu-warp-panel,#mu-confirm-email-panel) .mu-title-section{ text-align:center !important; }
body.tk :is(#mu-account-panel-container,#mu-rankings-panel,#mu-search-panel,#mu-reset-panel,#mu-greset-panel,#mu-exchange-panel,#mu-clearinv-panel,#mu-addstats-panel,#mu-vote-panel,#mu-settings-panel,#mu-pk-panel,#mu-hideinfo-panel,#mu-warp-panel,#mu-confirm-email-panel) .mu-title-section h1,
body.tk .rules-header h1{
  font-size:2rem !important; text-align:center !important; color:#5ccbea !important; letter-spacing:.02em;
  text-shadow:0 0 10px rgba(92,203,234,.3) !important;
}
body.tk :is(#mu-account-panel-container,#mu-reset-panel,#mu-greset-panel) .mu-title-section .sub-title,
body.tk .rules-header p{ text-align:center !important; }
body.tk .rules-header{ text-align:center !important; }

/* ===================== Streams: player, cards, live tag, menu dot ===================== */
body.tk .tk-streams{ scroll-margin-top: 92px; }
body.tk .tk-sv{ margin-top: 22px; }
body.tk .tk-sv-stage{
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid transparent;
  background: linear-gradient(#050a12,#050a12) padding-box, linear-gradient(140deg, rgba(92,203,234,.85), rgba(139,108,255,.5) 55%, rgba(92,203,234,.2)) border-box;
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 34px rgba(110,120,255,.14);
}
body.tk .tk-sv-stage iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; background:#000; }
body.tk .tk-sv-poster{
  position:absolute; inset:0; width:100% !important; height:100% !important; margin:0 !important; padding:0 !important;
  border:0 !important; border-radius:0 !important; cursor:pointer; display:block; text-shadow:none;
  background-color:#0b1626 !important;
  background-image: linear-gradient(180deg, rgba(5,10,18,.05) 35%, rgba(5,10,18,.72)), var(--sv-thumb, linear-gradient(135deg,#0f2a4a,#2a1f5c)) !important;
  background-size: cover !important; background-position: center !important; box-shadow:none !important;
}
body.tk .tk-sv-poster[hidden]{ display:none !important; }
body.tk .tk-sv-ph{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font:600 clamp(28px,6vw,64px)/1 var(--tk-cond); letter-spacing:.2em; text-transform:uppercase; color:rgba(196,240,255,.14); }
body.tk .tk-sv-play{
  position:absolute; left:50%; top:50%; width:76px; height:76px; margin:-38px 0 0 -38px; border-radius:50%;
  background: linear-gradient(145deg,#1b64c9,#7a62f0);
  box-shadow: 0 0 0 1px rgba(127,240,255,.45), 0 0 26px rgba(110,130,255,.7), 0 10px 30px rgba(0,0,0,.5);
  transition: transform .25s ease, box-shadow .25s ease;
}
body.tk .tk-sv-play::after{ content:""; position:absolute; left:50%; top:50%; transform:translate(-36%,-50%); border-style:solid; border-width:12px 0 12px 19px; border-color:transparent transparent transparent #fff; }
body.tk .tk-sv-poster:hover .tk-sv-play, body.tk .tk-sv-poster:focus-visible .tk-sv-play{ transform:scale(1.08); box-shadow:0 0 0 1px rgba(127,240,255,.7), 0 0 38px rgba(150,120,255,.9), 0 10px 30px rgba(0,0,0,.5); }
body.tk .tk-sv-poster:focus-visible, body.tk .tk-sv-item:focus-visible{ outline:2px solid #7ff0ff; outline-offset:2px; }
body.tk .tk-sv-live{
  position:absolute; left:14px; top:14px; z-index:2; display:inline-flex; align-items:center; gap:7px; padding:5px 11px 5px 9px; border-radius:999px;
  font:700 12px/1 var(--tk-cond); letter-spacing:.18em; text-transform:uppercase; color:#ffd1f6;
  background:rgba(24,6,34,.82); border:1px solid rgba(238,134,255,.75); box-shadow:0 0 14px rgba(238,134,255,.5);
}
body.tk .tk-sv-live[hidden]{ display:none !important; }
body.tk .tk-sv-live::before{ content:""; width:7px; height:7px; border-radius:50%; background:#ee86ff; box-shadow:0 0 8px #ee86ff; animation: tkLive 1.6s ease-in-out infinite; }
@keyframes tkLive{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.45; transform:scale(.7);} }
body.tk .tk-sv-now{ margin: 14px 2px 0; }
body.tk .tk-sv-now h3{ margin:0 0 4px !important; font:600 22px/1.25 var(--tk-serif) !important; color:var(--tk-text-hi); text-transform:none !important; }
body.tk .tk-sv-now p{ margin:0 !important; font:500 13px/1.3 var(--tk-cond); letter-spacing:.14em; text-transform:uppercase; color:var(--tk-dim); }

body.tk .tk-content .tk-sv-list{ list-style:none !important; margin:22px 0 0 !important; padding:0 !important; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
body.tk .tk-sv-list li{ margin:0 !important; padding:0 !important; min-width:0; }
body.tk .tk-sv-item{
  display:flex !important; flex-direction:column; align-items:stretch; gap:0; width:100% !important; height:100%; margin:0 !important; padding:8px !important; text-align:left; cursor:pointer;
  border:1px solid rgba(92,203,234,.16) !important; border-radius:12px !important; color:inherit; font-family:inherit;
  background: linear-gradient(180deg, rgba(14,30,52,.7), rgba(6,12,24,.85)) !important; box-shadow:none !important;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
body.tk .tk-sv-item:hover{ border-color:rgba(127,240,255,.5) !important; transform:translateY(-2px); }
body.tk .tk-sv-item.is-on{ border-color:rgba(127,240,255,.85) !important; box-shadow:0 0 0 1px rgba(127,240,255,.25), 0 0 22px rgba(110,130,255,.35) !important; }
body.tk .tk-sv-thumb{
  position:relative; display:block; aspect-ratio:16/9; border-radius:8px; overflow:hidden; margin-bottom:10px;
  background: #0b1626 linear-gradient(135deg,#0f2a4a,#2a1f5c) center/cover no-repeat;
}
body.tk .tk-sv-thumb .tk-sv-live{ left:8px; top:8px; font-size:10px; padding:4px 9px 4px 7px; }
body.tk .tk-sv-thumb .tk-sv-ph{ font-size:22px; }
body.tk .tk-sv-title{ display:block; padding:0 4px; font:600 15px/1.3 var(--tk-serif); color:var(--tk-text-hi); overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
body.tk .tk-sv-meta{ display:block; padding:4px 4px 2px; font:500 11.5px/1.3 var(--tk-cond); letter-spacing:.14em; text-transform:uppercase; color:var(--tk-dim); }

body.tk .tk-live-dot{ display:inline-block; width:7px; height:7px; margin-left:7px; border-radius:50%; vertical-align:middle; background:#ee86ff; box-shadow:0 0 9px #ee86ff; animation:tkLive 1.6s ease-in-out infinite; }

@media (max-width:760px){
  body.tk .tk-sv-play{ width:62px; height:62px; margin:-31px 0 0 -31px; }
  body.tk .tk-sv-play::after{ border-width:10px 0 10px 16px; }
  body.tk .tk-sv-now h3{ font-size:19px !important; }
  body.tk .tk-content .tk-sv-list{ display:flex; overflow-x:auto; gap:12px; margin-right:-16px !important; padding:2px 16px 12px 0 !important; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
  body.tk .tk-sv-list li{ flex:0 0 68%; scroll-snap-align:start; }
}
@media (min-width:761px) and (max-width:1000px){ body.tk .tk-content .tk-sv-list{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion:reduce){ body.tk .tk-sv-live::before, body.tk .tk-live-dot{ animation:none; } body.tk .tk-sv-item, body.tk .tk-sv-play{ transition:none; } }
body.tk .tk-sv-poster .tk-sv-ph{ align-items:flex-end; padding-bottom:9%; font-size:clamp(16px,2.6vw,28px); letter-spacing:.32em; }
/* One more menu link (Streams) needs a little more room right above the burger breakpoint */
@media (min-width: 1241px) and (max-width: 1400px){ body.tk .tk-nav a{ padding-left:8px; padding-right:8px; letter-spacing:.06em; } body.tk .tk-nav .tk-nav-cta a{ padding-left:12px; padding-right:12px; } }
@media (min-width: 1241px) and (max-width: 1310px){ body.tk .tk-nav a{ font-size:14px; padding-left:7px; padding-right:7px; } }
@media (min-width: 1401px) and (max-width: 1600px){ body.tk .tk-nav a{ padding-left:10px; padding-right:10px; letter-spacing:.08em; } }
body.tk .tk-sv-item, body.tk .tk-sv-item *{ text-transform:none !important; letter-spacing:0; }
body.tk .tk-sv-item .tk-sv-meta, body.tk .tk-sv-item .tk-sv-live, body.tk .tk-sv-item .tk-sv-ph{ text-transform:uppercase !important; letter-spacing:.14em; }
body.tk .tk-sv-list, body.tk .tk-sv-list li{ background:none !important; border:0 !important; box-shadow:none !important; }
body.tk .tk-sv-now h3{ color:#e9f6ff !important; }
body.tk .tk-sv-now h3{ -webkit-text-fill-color:#e9f6ff; }
@media (max-width:760px){
  body.tk .tk-content .tk-sv-list{ margin:6px -16px 0 -14px !important; padding:14px 16px 18px 14px !important; }
}
@media (max-width:760px){ body.tk .tk-content .tk-sv-list{ scroll-padding-left:14px; } }
