/* Public site redesign. Loaded only by the site layout, after app.css; every rule is scoped to .is-site. */

/* ===== Foundation ===== */
.is-site {
  --bg: #070708;
  --text: #f2f2f4;
  --muted: #c9c9d1;
  --dim: #a0a0ab;
  --sub: #a0a0ab;
  --card: #111115;
  --card-2: #0c0c0f;
  --edge: #24242b;
  --rule: #1d1d23;
  --pink: #d81b60;
  --pink-text: #ff4f9a;
  --pick: #1c1015;
  --font: 'Anuphan', system-ui, sans-serif;
  --display: 'Anuphan', system-ui, sans-serif;
  --num: 'Big Shoulders Display', 'Anuphan', sans-serif;
  --wrap: 1200px;
  background: var(--bg);
}
.is-site a { text-decoration: none; }
.is-site .wrap { padding: 0 clamp(16px, 4vw, 40px); }
.is-site h1, .is-site h2, .is-site h3 { font-family: var(--font); }

/* Display type: the club wordmark, numbers and scores. */
.is-site .dp, .is-site .num { font-family: var(--num); font-weight: 900; line-height: .9; letter-spacing: .005em; }
.is-site .dp { text-transform: uppercase; }
.is-site .nw { white-space: nowrap; }
/* Big Shoulders' 1 reads as I below ~20px, so small counts use the text face with even-width figures. */
.is-site .sub .num, .is-site .tr-index-meta .num, .is-site .tr-chip-n, .is-site .tr-count, .is-site .bk-no, .is-site .bk-team .seed, .is-site .rank { font-family: var(--font); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: inherit; }
/* Small pink label above a heading. */
/* Thai reads worse spaced out, so the label keeps only a hint of tracking. */
.is-site .kick { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--pink-text); }
.is-site .sub { color: var(--sub); }
/* Slanted status tag, same cut as the broadcast score box. */
.is-site .tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 14px 0 10px; font-size: 12px; font-weight: 700; background: var(--pink); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); white-space: nowrap; }
.is-site .tag.live { background: #fff; color: #070708; }
.is-site .tag.done { background: var(--edge); color: var(--muted); }
.is-site .tag.wait { background: #3a2a05; color: #ffd04d; }
/* Corner brackets, the logo's frame. */
.is-site .br { position: relative; }
.is-site .br::before, .is-site .br::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--pink-text); pointer-events: none; }
.is-site .br::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.is-site .br::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* Page header used by every inner page. */
.is-site .ph-head { display: grid; gap: 10px; padding-top: 56px; margin-bottom: 32px; }
.is-site .ph-head h1 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.1; font-weight: 700; }
.is-site .ph-head p { margin: 0; max-width: 58ch; color: var(--sub); }

/* Surfaces and controls */
.is-site .card, .is-site .panel { background: var(--card); border: 1px solid var(--edge); }
.is-site .btn { min-height: 48px; height: auto; padding: 0 22px; font-weight: 700; letter-spacing: 0; }
.is-site .btn-primary { background: var(--pink); color: #fff; }
.is-site .btn-primary:hover { background: #e91e63; }
.is-site .btn-ghost { border-color: #3a3a44; }
.is-site .input, .is-site .select, .is-site .textarea { min-height: 48px; height: auto; background: var(--card-2); border-color: #2e2e36; font-size: 16px; }
.is-site .label { font-size: 14px; color: var(--muted); font-weight: 500; }
.is-site .more { color: var(--pink-text); font-weight: 700; }
/* Chips: filter links (aria-current on the chosen one). */
.is-site .chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.is-site .chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #2a2a31; color: var(--muted); font-size: 14px; font-weight: 600; }
.is-site .chip:hover { color: #fff; border-color: #3a3a44; }
.is-site .chip.on, .is-site .chip[aria-current="page"], .is-site .chip[aria-current="true"] { background: var(--text); border-color: var(--text); color: #070708; }
/* Underline tabs */
.is-site .utabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--rule); scrollbar-width: none; }
.is-site .utabs a { flex: none; min-height: 48px; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; color: var(--sub); font-weight: 500; white-space: nowrap; }
.is-site .utabs a:hover { color: #fff; }
.is-site .utabs a.on, .is-site .utabs a[aria-current="page"] { color: #fff; font-weight: 700; box-shadow: inset 0 -3px 0 var(--pink-text); }
/* Phones: tabs wrap into rows that fill the width, so none hides past the edge. */
@media (max-width: 720px) {
  .is-site .utabs { flex-wrap: wrap; gap: 0; overflow: visible; border-bottom: 0; }
  .is-site .utabs a { flex: 1 0 auto; justify-content: center; padding: 0 12px; border-bottom: 1px solid var(--rule); }
}
/* Image placeholder when a record has no picture. */
.is-site .noimg { background: #15151a; display: grid; place-items: center; color: #7d7d89; }

/* ===== Header ===== */
.is-site .topbar { background: rgba(7, 7, 8, .94); border-bottom-color: var(--rule); }
.is-site .topbar .wrap { height: 72px; gap: 28px; }
.is-site .topbar .logo { gap: 12px; }
.is-site .logo .word { display: grid; line-height: 1.1; }
.is-site .logo .word b { white-space: nowrap; font: 900 22px/1 var(--num); letter-spacing: .02em; color: var(--text); text-transform: uppercase; }
.is-site .logo .word small { margin: 2px 0 0; font: 400 11px/1.3 var(--font); color: var(--sub); }
.is-site .nav { gap: 2px; }
.is-site .nav a:not(.btn) { font: 500 15px/1 var(--font); color: var(--muted); padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; letter-spacing: 0; }
.is-site .nav a:not(.btn):hover { color: #fff; }
.is-site .nav a.on { color: #fff; font-weight: 700; box-shadow: inset 0 -2px 0 var(--pink-text); }
.is-site .topbar .cta { min-height: 44px; }

/* ===== Footer ===== */
.is-site .footer { margin-top: 96px; background: #050506; border-top-color: var(--rule); }
.is-site .foot-grid { padding-top: 56px !important; gap: 40px; }
.is-site .foot-word { font: 900 clamp(44px, 6vw, 72px)/.85 var(--num); letter-spacing: .01em; text-transform: uppercase; color: var(--text); }
.is-site .foot-word span { color: var(--pink-text); }
.is-site .foot-grid nav b { font-size: 13px; letter-spacing: .1em; }
.is-site .foot-grid nav a { color: var(--sub); }
.is-site .foot-legal { border-top-color: var(--rule); color: #7d7d89; }

@media (max-width: 1000px) {
  .is-site .nav a:not(.btn) { min-height: 48px; padding: 0 16px; }
  .is-site .nav a.on { box-shadow: none; color: var(--pink-text); }
}

/* ===== Pages: home ===== */
/* Section rhythm and heads */
.is-site .hm-sec { padding-top: 96px; }
.is-site .hm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.is-site .hm-head h2 { margin: 6px 0 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; }
.is-site .hm-head .more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; white-space: nowrap; }
.is-site .hm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.is-site .hm-actions .btn { min-height: 50px; padding: 0 24px; }

/* On air strip */
.is-site .hm-onair { padding: 20px 0; border-bottom: 1px solid var(--rule); background: var(--card-2); }
.is-site .hm-onair .live-stamp { margin: 4px 0 0; }

/* Hero: key art of the featured tournament behind a dark scrim */
.is-site .hm-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--rule); background: var(--bg); }
.is-site .hm-hero-art { position: absolute; inset: 0; z-index: -1; }
.is-site .hm-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.is-site .hm-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #070708 38%, rgba(7, 7, 8, .82) 60%, rgba(7, 7, 8, .35)), linear-gradient(0deg, #070708, transparent 40%); }
.is-site .hm-hero-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.is-site .hm-hero-copy { flex: 3 1 520px; min-width: 0; display: grid; gap: 22px; justify-items: start; }
.is-site .hm-word { font-size: clamp(88px, 12vw, 176px); line-height: .86; color: var(--text); }
.is-site .hm-word span { color: var(--pink-text); }
.is-site .hm-hero-copy h1 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 700; max-width: 18ch; }
.is-site .hm-hero-copy p { margin: 0; max-width: 46ch; font-size: 17px; }
.is-site .hm-hero-copy p.sub { color: #d2d2da; }
.is-site .hm-join { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; font-size: 15px; }
.is-site .hm-place { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.is-site .hm-place .ic { color: var(--pink-text); }

/* Featured tournament card */
.is-site .hm-feat { flex: 2 1 340px; min-width: 0; max-width: 440px; padding: 24px; display: grid; gap: 16px; color: var(--text); background: rgba(17, 17, 21, .92); transition: border-color .2s; }
.is-site .hm-feat:hover { border-color: #3a3a44; }
.is-site .hm-feat-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; }
.is-site .hm-feat-name { display: grid; gap: 4px; }
.is-site .hm-feat-name b { font-size: 26px; line-height: 1.2; overflow-wrap: anywhere; }
.is-site .hm-feat-name .sub { font-size: 14px; }
.is-site .hm-feat-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 1px; background: var(--edge); border: 1px solid var(--edge); }
.is-site .hm-feat-counts > div { background: var(--card); padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.is-site .hm-feat-counts .sub { font-size: 12px; overflow-wrap: anywhere; }
.is-site .hm-feat-counts .num { font-size: 30px; }
.is-site .hm-feat-counts .num span { color: #7d7d89; }
.is-site .hm-feat-prize { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.is-site .hm-feat-prize .ic { color: var(--pink-text); }
.is-site .hm-feat-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.is-site .hm-feat-foot .more { display: inline-flex; align-items: center; gap: 4px; }

/* Tournaments */
.is-site .hm-tgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

/* News: one lead story, the rest as a list */
.is-site .hm-news { display: flex; flex-wrap: wrap; gap: 32px; }
.is-site .hm-news-main { flex: 3 1 560px; min-width: 0; }
.is-site .hm-lead { display: grid; gap: 14px; color: var(--text); }
.is-site .hm-lead img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; background: #15151a; }
.is-site .hm-lead b { font-size: 24px; line-height: 1.3; transition: color .2s; }
.is-site .hm-lead p { margin: 0; max-width: 64ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.is-site .hm-lead:hover b, .is-site .hm-news-list a:hover b { color: var(--pink-text); }
.is-site .hm-news-list { flex: 2 1 340px; min-width: 0; display: grid; align-content: start; padding-top: 4px; }
.is-site .hm-news-list a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); color: var(--text); }
.is-site .hm-news-list b { font-size: 17px; line-height: 1.4; transition: color .2s; }
.is-site .hm-date { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; }
.is-site .hm-pin { display: inline-flex; align-items: center; gap: 4px; color: var(--pink-text); font-weight: 600; }

/* Squad players */
.is-site .hm-squad { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.is-site .hm-player { display: grid; gap: 4px; align-content: start; color: var(--text); }
.is-site .hm-player img, .is-site .hm-player .noimg { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 6px; }
.is-site .hm-player .noimg { font-size: 56px; }
.is-site .hm-player b { overflow-wrap: anywhere; transition: color .2s; }
.is-site .hm-player .sub { font-size: 13px; }
.is-site .hm-player:hover b { color: var(--pink-text); }

/* Latest achievement */
.is-site .hm-award { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 36px 40px; color: var(--text); transition: border-color .2s; }
.is-site .hm-award:hover { border-color: #3a3a44; }
.is-site .hm-place-no { font-size: clamp(64px, 8vw, 104px); line-height: .86; color: var(--pink-text); }
.is-site .hm-place-no sup { font-size: .4em; }
.is-site .hm-place-no .ic { width: 64px; height: 64px; }
.is-site .hm-award-txt { flex: 1 1 360px; min-width: 0; display: grid; gap: 6px; }
.is-site .hm-award-txt h2 { margin: 0; }
.is-site .hm-award-txt b { font-size: 24px; line-height: 1.3; }
.is-site .hm-award-note { font-size: 14px; }
.is-site .hm-award .more { display: inline-flex; align-items: center; gap: 4px; }
.is-site .hm-award-list { display: grid; margin-top: 8px; }
.is-site .hm-award-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--text); }
.is-site .hm-award-list a > span:nth-child(2) { display: grid; gap: 2px; }
.is-site .hm-award-list a:hover b { color: var(--pink-text); }
.is-site .hm-award-list .num { font-size: 30px; color: var(--pink-text); }
.is-site .hm-award-list .num sup { font-size: .45em; }
.is-site .hm-award-list .sub { font-size: 13px; }
.is-site .hm-all { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 12px; }

/* Games (partials.game-tiles without strip) */
.is-site .hm-games { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.is-site .hm-games a { background: var(--bg); padding: 26px 24px; display: grid; gap: 4px; color: var(--text); transition: background .2s; }
.is-site .hm-games a { position: relative; overflow: hidden; }
.is-site .hm-games a > span { position: relative; }
.is-site .hm-g-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; transition: opacity .3s; }
.is-site .hm-games a:hover .hm-g-art { opacity: .35; }
.is-site .hm-games a:hover { background: var(--card); }
.is-site .hm-games .dp { font-size: 40px; overflow-wrap: anywhere; }
.is-site .hm-games .sub { font-size: 13px; }

/* Join call to action */
.is-site .hm-cta { background: var(--pink); color: #fff; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.is-site .hm-cta > div:first-child { display: grid; gap: 8px; }
.is-site .hm-cta h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; color: #fff; }
.is-site .hm-cta p { margin: 0; max-width: 46ch; color: #fff; }
.is-site .hm-btn-light { background: #fff; border-color: #fff; color: #070708; }
.is-site .hm-btn-light:hover { background: #ffe1ee; }
.is-site .hm-btn-line { border-color: #fff; color: #fff; }
.is-site .hm-btn-line:hover { background: rgba(255, 255, 255, .12); }
.is-site .hm-cta .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 720px) {
  .is-site .hm-sec { padding-top: 56px; }
  .is-site .hm-head { margin-bottom: 18px; }
  .is-site .hm-head h2 { font-size: 24px; }
  .is-site .hm-hero-art::after { background: rgba(7, 7, 8, .82); }
  .is-site .hm-hero-in { padding-top: 36px; padding-bottom: 32px; gap: 28px; }
  .is-site .hm-hero-copy { gap: 16px; }
  .is-site .hm-word { font-size: 96px; }
  .is-site .hm-hero-copy h1 { font-size: 26px; }
  .is-site .hm-hero-copy p { font-size: 15px; }
  .is-site .hm-actions, .is-site .hm-actions .btn { width: 100%; }
  .is-site .hm-hero-copy .hm-join { justify-self: center; }
  .is-site .hm-feat { max-width: none; padding: 18px; gap: 12px; }
  .is-site .hm-feat-name b { font-size: 20px; line-height: 1.25; }
  .is-site .hm-feat-counts .num { font-size: 24px; }
  .is-site .hm-feat-foot { font-size: 13px; }
  .is-site .hm-news { gap: 0; }
  .is-site .hm-lead { gap: 8px; padding-bottom: 12px; }
  .is-site .hm-lead img { aspect-ratio: 16 / 9; }
  .is-site .hm-lead b { font-size: 17px; line-height: 1.35; }
  .is-site .hm-news-list { padding-top: 0; }
  .is-site .hm-news-list a { padding: 14px 0; border-bottom: 0; border-top: 1px solid var(--rule); }
  .is-site .hm-news-list b { font-size: 15px; }
  .is-site .hm-squad { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .is-site .hm-player { flex: 0 0 132px; scroll-snap-align: start; }
  .is-site .hm-player b { font-size: 14px; }
  .is-site .hm-player .noimg { font-size: 40px; }
  .is-site .hm-award { padding: 24px; gap: 12px 24px; }
  .is-site .hm-award-txt { flex-basis: 100%; }
  .is-site .hm-award-txt b { font-size: 19px; }
  .is-site .hm-award-list a { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; }
  .is-site .hm-award-list time { grid-column: 2; }
  .is-site .hm-games .dp { font-size: 32px; }
  .is-site .hm-games a { padding: 20px; }
  .is-site .hm-cta { padding: 24px; gap: 16px; }
  .is-site .hm-cta h2 { font-size: 24px; line-height: 1.2; }
  .is-site .hm-cta p { font-size: 14px; }
  .is-site .hm-cta .btn { min-height: 48px; }
}

/* ===== Pages: tournaments ===== */
/* Shared bits: status dot, game square, meter, team mark, facts list. */
.is-site .tr-dot { width: 8px; height: 8px; border-radius: 50%; background: #e11d2e; flex: none; animation: blink 1.4s infinite; }
.is-site .tr-gdot { width: 9px; height: 9px; flex: none; background: var(--game, var(--pink)); display: inline-block; }
.is-site .tr-meter { height: 8px; background: var(--edge); overflow: hidden; }
.is-site .tr-meter i { display: block; height: 100%; background: var(--pink-text); }
.is-site .tr-mark { flex: none; display: inline-grid; place-items: center; overflow: hidden; border: 0; color: #fff; background: hsl(var(--h, 230) 45% 30%); font: 900 13px/1 var(--num); letter-spacing: .02em; }
.is-site .tr-mark:has(img) { background: #eceef0; }
.is-site .tr-mark.is-none { background: transparent; box-shadow: inset 0 0 0 1px #3a3a44; color: transparent; }
.is-site .tr-mark.xs { width: 22px; height: 22px; font-size: 11px; }
.is-site .tr-mark.sm { width: 28px; height: 28px; font-size: 12px; }
.is-site .tr-mark.lg { width: 44px; height: 44px; font-size: 16px; }
.is-site .tr-mark.xl { width: 56px; height: 56px; font-size: 19px; }
.is-site .tr-dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; font-size: 15px; }
.is-site .tr-dl dt { color: var(--sub); }
.is-site .tr-dl dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.is-site .tr-dl .tr-prize { color: #ffd04d; }
.is-site .tr-dl-n { font-size: 20px; }

/* Header shared by every tournament page */
.is-site .tr-head { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--rule); background: #1a0d14; }
.is-site .tr-head-art { position: absolute; inset: 0; z-index: -2; }
.is-site .tr-head-art img { width: 100%; height: 100%; object-fit: cover; }
.is-site .tr-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #070708 35%, rgba(7, 7, 8, .55)), linear-gradient(0deg, rgba(7, 7, 8, .7), transparent 60%); }
.is-site .tr-head-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; padding-top: 40px; padding-bottom: 36px; }
.is-site .tr-head-copy { flex: 1 1 520px; min-width: 0; display: grid; gap: 14px; }
.is-site .tr-crumbs { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: 13px; color: var(--sub); }
.is-site .tr-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sub); }
.is-site .tr-crumbs a:hover { color: #fff; }
.is-site .tr-head-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.is-site .tr-mine { font-size: 13px; font-weight: 600; color: var(--muted); padding: 2px 10px; border: 1px solid #3a3a44; }
.is-site .tr-head h1 { margin: 0; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.is-site .tr-meta { margin: 0; color: var(--muted); font-size: 15px; }
.is-site .tr-head-champ { margin: 0; display: flex; align-items: center; gap: 8px; color: #ffd04d; font-weight: 600; }
.is-site .tr-head-champ b { color: #fff; }
.is-site .tr-head-sum { margin: 0; max-width: 68ch; color: var(--sub); }
.is-site .tr-head-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.is-site .tr-btn { min-height: 50px; gap: 8px; }
.is-site .tr-head-act .btn-ghost { background: transparent; color: var(--text); }
/* Who may enter, shown under every register button so nobody signs up and gets turned away. */
.is-site .tr-elig { flex-basis: 100%; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--pink-text); }
.is-site .tr-state { min-height: 50px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px dashed #3a3a44; color: var(--muted); font-weight: 600; }
.is-site .tr-nav { display: grid; }
.is-site .tr-divs { padding: 18px 0 6px; gap: 6px; }
.is-site .tr-divs .chip { padding: 0 14px; }
.is-site .tr-count { font-size: 15px; color: var(--sub); }
.is-site .utabs a.on .tr-count { color: var(--pink-text); }

/* Page body: one column, or main + side on the overview */
.is-site .tr-page { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; padding-top: 32px; }
.is-site .tr-main { flex: 999 1 560px; min-width: 0; display: grid; gap: 28px; }
.is-site .tr-stack { display: grid; gap: 32px; min-width: 0; }
.is-site .tr-stack > * { min-width: 0; }
.is-site .tr-stamp { margin: 0 0 -16px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--sub); }
.is-site .tr-side { flex: 1 1 320px; display: grid; gap: 16px; align-content: start; }
.is-site .tr-info { padding: 22px; display: grid; gap: 16px; }
.is-site .tr-info h2, .is-site .tr-ask h2 { margin: 0; font-size: 18px; }
.is-site .tr-side .btn { min-height: 50px; }
.is-site .tr-side-link { display: flex; align-items: center; justify-content: center; min-height: 44px; text-align: center; font-weight: 600; font-size: 14px; color: var(--pink-text); }
.is-site .tr-side-note { margin: 0; font-size: 14px; }
.is-site .tr-ask { padding: 22px; display: grid; gap: 8px; font-size: 14px; }
.is-site .tr-ask-links { display: flex; flex-wrap: wrap; gap: 16px; }
.is-site .tr-ask-links a { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: var(--pink-text); font-weight: 700; }
.is-site .tr-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.is-site .tr-sec-head h2, .is-site .tr-h2 { margin: 0; font-size: 22px; font-weight: 700; }
.is-site .tr-sec-head h2 .sub { font-weight: 500; }
.is-site .tr-sec-head > .sub { font-size: 14px; }
.is-site .tr-h2 { margin-bottom: 12px; }
.is-site .tr-h3 { margin: 0; font-size: 18px; }
.is-site .tr-pad { padding: 22px; display: grid; gap: 12px; }
.is-site .tr-pad p { margin: 0; font-size: 14.5px; }
.is-site .tr-prose { color: #d6d6dc; }
.is-site .tr-page .empty { background: var(--card); border-color: #3a3a44; }
.is-site .tr-group { margin: 18px 0 10px; font-size: 17px; }
.is-site .tr-rail { grid-auto-columns: minmax(260px, 1fr); }

/* Registration countdown */
.is-site .tr-count-card { padding: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.is-site .tr-cd { display: grid; gap: 4px; }
.is-site .tr-cd > .sub { font-size: 13px; }
.is-site .tr-cd-nums { display: flex; gap: 18px; }
.is-site .tr-cd-nums div { display: grid; }
.is-site .tr-cd-nums b { font-size: clamp(48px, 6vw, 64px); }
.is-site .tr-cd-nums .sub { font-size: 12px; }
.is-site .tr-fill { flex: 1 1 240px; display: grid; gap: 8px; }
.is-site .tr-fill-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.is-site .tr-fill-top .num { font-size: 22px; }
.is-site .tr-fill > .sub { font-size: 13px; }
.is-site .tr-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.is-site .tr-steps li { background: var(--card-2); padding: 20px; display: grid; gap: 6px; align-content: start; }
.is-site .tr-steps .dp { font-size: 36px; color: var(--pink-text); }
.is-site .tr-steps .sub { font-size: 14px; }
.is-site .tr-steps .more { font-size: 14px; }

/* League path (admin shows it too and keeps its own look) */
.is-site .tr-path { border-color: var(--edge); background: var(--card-2); }
.is-site .tr-path li.on { border-top-color: var(--pink-text); }
.is-site .tr-path li.gate { background: var(--pink); border-top-color: var(--pink); }
.is-site .tr-path li b { font-family: var(--font); }

/* Tables: standings and league */
.is-site .tr-page .table-wrap { border-color: var(--edge); }
.is-site .tr-page .table { background: var(--card); }
.is-site .tr-page .table th { background: var(--card-2); border-bottom-color: var(--edge); color: var(--sub); }
.is-site .tr-page .table td { border-bottom-color: var(--rule); }
.is-site .tr-page .table .total { font: 900 20px/1 var(--num); }
.is-site .tr-page .rank { font-size: 15px; background: var(--edge); }
.is-site .tr-page .rank.in { background: var(--pick); color: var(--pink-text); box-shadow: inset 0 0 0 1px var(--pink-text); }
.is-site .tr-page .table tr.cut td { border-bottom-color: var(--pink-text); }
.is-site .tr-page .league-note i { background: var(--pink-text); }

/* Bracket */
.is-site .tr-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; margin-bottom: 16px; }
.is-site .tr-legend > .sub { flex: 1 1 260px; }
.is-site .tr-legend-keys { display: flex; flex-wrap: wrap; gap: 16px; }
.is-site .tr-legend-keys span { display: inline-flex; align-items: center; gap: 8px; }
.is-site .tr-key-win { width: 12px; height: 12px; background: var(--pick); border: 1px solid var(--pink-text); }
.is-site .tr-key-live { width: 12px; height: 12px; border: 2px solid var(--pink-text); }
.is-site .tr-page .bk-scroll { --bk-card: 232px; --bk-gap: 48px; --bk-line: #3a3a44; padding: 4px 0 16px; }
.is-site .tr-page .bk-heads { background: none; border: 0; margin-bottom: 4px; }
.is-site .tr-page .bk-head { text-align: left; font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: .06em; padding: 4px 0; }
.is-site .tr-page .bk-match { gap: 0; background: var(--card); outline: 1px solid var(--edge); }
.is-site .tr-page .bk-match.live { outline: 2px solid var(--pink-text); }
.is-site .tr-page .bk-no { background: var(--bg); color: var(--sub); }
.is-site .tr-page .bk-note { color: var(--sub); }
.is-site .tr-page .bk-note.live-tag { color: var(--pink-text); }
.is-site .tr-page .bk-team { grid-template-columns: 24px 22px minmax(0, 1fr) 34px; align-items: center; height: 42px; background: none; font-size: 14px; font-weight: 500; }
.is-site .tr-page .bk-team + .bk-team { border-top: 1px solid var(--edge); }
.is-site .tr-page .bk-team .seed { background: none; height: 100%; color: #7d7d89; font: 700 13px/1 var(--font); font-variant-numeric: tabular-nums; }
.is-site .tr-page .bk-team .name { padding: 0 10px; }
.is-site .tr-page .bk-team .sc { background: none; height: 100%; color: var(--text); font: 900 22px/1 var(--num); }
.is-site .tr-page .bk-team.win { background: var(--pick); }
.is-site .tr-page .bk-team.win .name { font-weight: 700; }
.is-site .tr-page .bk-team.win .sc { background: none; color: var(--pink-text); }
.is-site .tr-page .bk-team.lose .name, .is-site .tr-page .bk-team.lose .sc { color: #7d7d89; }
.is-site .tr-page .bk-team.tbd .name { color: var(--sub); }
.is-site .tr-page .bk-team.hl { background: #2a1520; }
.is-site .tr-page .bk-team.mine .name { color: var(--pink-text); }
.is-site .tr-champ { margin-top: 20px; display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--card); border: 1px solid var(--edge); }
.is-site .tr-champ > .ic { width: 34px; height: 34px; color: #ffd04d; flex: none; }
.is-site .tr-champ div { display: grid; gap: 2px; min-width: 0; }
.is-site .tr-champ b { font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.is-site .tr-champ .sub { font-size: 13px; }

/* Match rows (also used on home and account) */
.is-site .tr-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 96px minmax(0, 1fr) minmax(0, 160px); align-items: center; gap: 12px; min-height: 68px; padding: 10px 20px; background: var(--card); border: 1px solid var(--edge); color: var(--text); }
.is-site a.tr-row:hover { background: #16161b; color: var(--text); }
.is-site .tr-row.is-live { background: var(--pick); border-color: var(--pink-text); }
.is-site .tr-row.is-mine { box-shadow: inset 0 0 0 1px var(--pink-text); }
.is-site .tr-row-when { display: grid; line-height: 1.25; color: var(--sub); }
.is-site .tr-row-when b { font-weight: 600; color: var(--muted); }
.is-site .tr-row-when small { font-size: 12.5px; }
.is-site .tr-row .tr-row-on { color: var(--pink-text); font-weight: 700; }
.is-site .tr-row-team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; }
.is-site .tr-row-team.a { justify-content: flex-end; text-align: right; }
.is-site .tr-row-team .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-site .tr-row-team.win .nm { color: var(--pink-text); }
.is-site .tr-row-team.lost .nm { color: #7d7d89; font-weight: 500; }
.is-site .tr-row-score { display: flex; justify-content: center; align-items: baseline; font: 900 28px/1 var(--num); }
.is-site .tr-row-score i { font-style: normal; color: #5b5b66; padding: 0 6px; }
.is-site .tr-row-score .win { color: var(--pink-text); }
.is-site .tr-row-score .lost { color: #7d7d89; }
.is-site .tr-vs { font-size: 18px; color: var(--sub); }
.is-site .tr-row-info { display: flex; align-items: center; justify-content: flex-end; gap: 8px; text-align: right; font-size: 13px; color: var(--sub); min-width: 0; }
.is-site .tr-row-done { font-weight: 500; }
.is-site .tr-row-ctx { display: grid; line-height: 1.35; min-width: 0; }
.is-site .tr-row-ctx > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-site .tr-list { background: var(--card); border: 1px solid var(--edge); display: grid; }
.is-site .tr-list.is-live { border-color: var(--pink-text); }
.is-site .tr-list > .tr-row { border: 0; border-top: 1px solid var(--rule); }
.is-site .tr-list > .tr-row:first-child { border-top: 0; }
.is-site .tr-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 14px 20px; background: var(--card-2); }
.is-site .tr-list-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.is-site .tr-list-head .sub { font-size: 13px; }
.is-site .tr-list .table-wrap { border: 0; border-top: 1px solid var(--rule); }
.is-site .tr-list-empty { margin: 0; padding: 16px 20px; border-top: 1px solid var(--rule); }
.is-site .tr-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.is-site .tr-filter .label { margin: 0; }
.is-site .tr-filter .select { flex: 0 1 300px; min-width: 0; }
@media (max-width: 720px) {
  .is-site .tr-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px 10px; padding: 12px 16px; }
  .is-site .tr-row-when { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; }
  .is-site .tr-row-info { grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
  .is-site .tr-row-ctx { display: flex; flex-wrap: wrap; gap: 0 10px; }
  .is-site .tr-row-team { gap: 8px; font-size: 14.5px; }
  .is-site .tr-row-team .nm { white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
  .is-site .tr-row-score { font-size: 24px; }
}

/* Live match on the schedule */
.is-site .tr-live { background: var(--card); border: 1px solid var(--pink-text); padding: 26px 28px; display: grid; gap: 18px; }
.is-site .tr-live-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.is-site .tr-live-top .sub { font-size: 14px; }
.is-site .tr-live-score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; }
.is-site .tr-live-team { display: flex; align-items: center; gap: 14px; min-width: 0; }
.is-site .tr-live-team.a { justify-content: flex-end; text-align: right; }
.is-site .tr-live-team b { font-size: clamp(16px, 2.4vw, 28px); line-height: 1.2; overflow-wrap: anywhere; }
.is-site .tr-live-num { font-size: clamp(44px, 7vw, 84px); white-space: nowrap; }
.is-site .tr-live-num span[aria-hidden] { color: #5b5b66; padding: 0 12px; }
.is-site .tr-live-go { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--pink-text); }
@media (max-width: 560px) {
  .is-site .tr-live { padding: 20px 16px; }
  .is-site .tr-live-score { gap: 10px; }
  .is-site .tr-live-team { flex-direction: column-reverse; align-items: center; text-align: center; gap: 8px; }
  .is-site .tr-live-team.a { flex-direction: column; text-align: center; }
  .is-site .tr-live-num span[aria-hidden] { padding: 0 6px; }
  .is-site .tr-live .tr-mark.xl { width: 44px; height: 44px; font-size: 16px; }
}

/* Teams and players */
.is-site .tr-note { margin: 0; }
.is-site .tr-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.is-site .tr-jump a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 14px; color: var(--muted); border: 1px solid #2a2a31; }
.is-site .tr-jump a:hover { color: #fff; border-color: #3a3a44; }
.is-site .tr-teams { display: grid; gap: 10px; }
.is-site .tr-team { background: var(--card); border: 1px solid var(--edge); scroll-margin-top: 96px; }
.is-site .tr-team summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 20px; }
.is-site .tr-team summary::-webkit-details-marker { display: none; }
.is-site .tr-team-txt { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.is-site .tr-team-txt b { font-size: 18px; overflow-wrap: anywhere; }
.is-site .tr-team-txt .sub { font-size: 13px; }
.is-site .tr-team-arrow { color: var(--sub); flex: none; transition: transform .2s; }
.is-site .tr-team[open] .tr-team-arrow { transform: rotate(180deg); }
.is-site .tr-team-empty { margin: 0; padding: 0 20px 20px; font-size: 14px; }
.is-site .tr-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 10px; padding: 4px 20px 20px; }
.is-site .tr-players-solo { padding: 0; }
.is-site .tr-player { display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--card-2); min-width: 0; }
.is-site .tr-players-solo .tr-player { background: var(--card); border: 1px solid var(--edge); }
.is-site .tr-player.is-sub { opacity: .75; }
.is-site .tr-player-pic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; overflow: hidden; background: hsl(var(--h) 28% 18%); color: #d6d6dc; font: 900 14px/1 var(--num); }
.is-site .tr-player-pic img { width: 100%; height: 100%; object-fit: cover; }
.is-site .tr-player-txt { display: grid; line-height: 1.3; min-width: 0; }
.is-site .tr-player-txt b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-site .tr-player-txt .sub { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-site .tr-open { border: 1px dashed #3a3a44; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.is-site .tr-open > div { display: grid; }
.is-site .tr-open .sub { font-size: 14px; }

/* Rules */
.is-site .tr-rules { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.is-site .tr-toc { flex: 0 1 240px; display: grid; gap: 2px; border-left: 1px solid var(--edge); position: sticky; top: 96px; }
.is-site .tr-toc a { display: block; padding: 8px 12px; color: var(--sub); font-size: 14px; }
.is-site .tr-toc a:hover { color: #fff; background: var(--pick); }
.is-site .tr-toc .tr-toc-more { margin-top: 12px; color: var(--pink-text); font-weight: 600; }
.is-site .tr-read { flex: 999 1 560px; min-width: 0; max-width: 72ch; }
.is-site .tr-read-note { margin: -4px 0 18px; font-size: 14px; }
.is-site .tr-read .prose { font-size: 17px; }
.is-site .tr-read .socials { margin-top: 16px; }
.is-site .tr-read .prose h2 { font-size: 22px; margin-top: 36px; scroll-margin-top: 96px; }
.is-site .tr-read-more { margin-top: 24px; }
@media (max-width: 800px) { .is-site .tr-toc { position: static; } }

/* Divisions */
.is-site .tr-divlist { display: grid; background: var(--card); border: 1px solid var(--edge); }
.is-site .tr-div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto) auto; align-items: center; gap: 16px 24px; padding: 22px; border-top: 1px solid var(--rule); }
.is-site .tr-div:first-child { border-top: 0; }
.is-site .tr-div-main { display: grid; gap: 6px; min-width: 0; }
.is-site .tr-div-tags { display: flex; }
.is-site .tr-div h3 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.is-site .tr-div h3 a { color: var(--text); }
.is-site .tr-div h3 a:hover { color: var(--pink-text); }
.is-site .tr-div-main > .sub { font-size: 14px; }
.is-site .tr-div-main .tr-meter { max-width: 320px; height: 6px; }
.is-site .tr-div-champ { display: flex; align-items: center; gap: 10px; min-width: 0; }
.is-site .tr-div-champ .ic { width: 26px; height: 26px; flex: none; color: #ffd04d; }
.is-site .tr-div-champ b { display: block; font-size: 17px; overflow-wrap: anywhere; }
.is-site .tr-div-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; }
.is-site .tr-div-go .tr-elig { justify-content: flex-end; }
@media (max-width: 760px) {
  .is-site .tr-div { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
  .is-site .tr-div-go { justify-content: flex-start; }
  .is-site .tr-div-go .tr-elig { justify-content: flex-start; }
}

/* List page and tournament cards (cards also used on home and account) */
.is-site .tr-index-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; }
.is-site .tr-index-meta .num { font-size: 18px; color: var(--text); }
.is-site .tr-index-meta .more { display: inline-flex; align-items: center; gap: 4px; }
.is-site .tr-filters { display: grid; gap: 12px; margin-bottom: 32px; }
.is-site .tr-filters > .chips-row:first-child { padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.is-site .tr-chip-n { margin-left: 6px; font-size: 16px; color: var(--pink-text); }
.is-site .chip[aria-current="true"] .tr-chip-n { color: var(--pink); }
.is-site .tr-search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.is-site .tr-search .field-icon { flex: 1 1 240px; }
.is-site .tr-more { display: grid; gap: 16px; margin-top: 40px; }
.is-site .tr-more:first-child { margin-top: 0; }
.is-site .tr-more h2 { margin: 0; font-size: 22px; }
.is-site .tr-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.is-site .tr-clear { margin-top: 14px; }
.is-site .tr-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--edge); color: var(--text); overflow: hidden; min-width: 0; }
.is-site .tr-card:hover { border-color: #3a3a44; color: var(--text); }
.is-site .tr-card:hover h3 { color: var(--pink-text); }
.is-site .tr-card-art { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: #15151a; }
.is-site .tr-card-art img { width: 100%; height: 100%; object-fit: cover; }
.is-site .tr-card-art .art span { font-size: 120px; bottom: -26%; }
.is-site .tr-card-body { flex: 1; padding: 18px 20px 20px; display: grid; gap: 10px; align-content: start; }
.is-site .tr-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.is-site .tr-card-tags .sub { font-size: 13px; }
.is-site .tr-card h3 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; transition: color .2s; }
.is-site .tr-card-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sub); }
.is-site .tr-card-champ { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #ffd04d; }
.is-site .tr-card-champ b { color: var(--text); }
.is-site .tr-card .tr-dl { font-size: 14px; gap: 6px 16px; }
.is-site .tr-card .tr-meter { height: 6px; }
.is-site .tr-card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; margin-top: auto; padding-top: 4px; font-size: 13px; }
.is-site .tr-card-foot .more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; margin-left: auto; }
.is-site .tr-card.is-big { flex-direction: row; flex-wrap: wrap; margin-bottom: 8px; }
.is-site .tr-card.is-big .tr-card-art { flex: 3 1 420px; aspect-ratio: auto; min-height: 300px; }
.is-site .tr-card.is-big .tr-card-body { flex: 2 1 340px; padding: 32px; gap: 16px; align-content: center; }
.is-site .tr-card.is-big h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.is-site .tr-card.is-big .tr-dl dd { text-align: left; }
.is-site .tr-card.is-big .tr-card-foot .more { margin-left: 0; font-size: 15px; }
@media (max-width: 560px) {
  .is-site .tr-card.is-big .tr-card-art { flex-basis: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .is-site .tr-card.is-big .tr-card-body { padding: 20px; }
  .is-site .tr-head-in { padding-top: 28px; padding-bottom: 26px; gap: 18px; }
  .is-site .tr-head-act { width: 100%; }
  .is-site .tr-head-act .tr-btn, .is-site .tr-state { flex: 1 1 auto; justify-content: center; }
  /* Past the overview a captain came for the schedule or bracket: the header shrinks to the title so it fits the first screen. */
  .is-site .tr-head.is-sub .tr-head-in { padding-top: 8px; padding-bottom: 16px; }
  .is-site .tr-head.is-sub .tr-head-copy { gap: 6px; }
  .is-site .tr-head.is-sub h1 { font-size: 22px; line-height: 1.35; }
  .is-site .tr-head.is-sub :is(.tr-meta, .tr-head-act) { display: none; }
  .is-site .tr-count-card { padding: 22px 18px; }
  .is-site .tr-page { padding-top: 24px; }
  .is-site .tr-open { padding: 20px 16px; }
  .is-site .tr-team summary { padding: 12px 14px; gap: 12px; }
  .is-site .tr-players { padding: 4px 14px 14px; gap: 8px; }
  .is-site .tr-jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px; }
  .is-site .tr-jump a { flex: none; }
}

/* ===== Pages: register + account ===== */
/* Status tags on entries (pending uses .tag.wait). */
.is-site .tag.ac-ok { background: #0f2a1c; color: #6ee7a8; }
.is-site .tag.ac-no { background: #2a0f14; color: #ff8a8f; }

/* Three-step bar: team account -> team and players -> committee check. */
.is-site .rg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--edge); border: 1px solid var(--edge); list-style: none; margin: 0 0 28px; padding: 0; }
.is-site .rg-steps li { background: var(--card-2); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; min-width: 0; }
.is-site .rg-steps .num { font-size: 28px; color: #3a3a44; flex: none; }
.is-site .rg-steps .done .num { color: var(--pink-text); }
.is-site .rg-steps .now { background: var(--pick); }
.is-site .rg-steps .now .num { color: #fff; }
.is-site .rg-steps li > div { display: grid; line-height: 1.35; min-width: 0; }
.is-site .rg-steps li .sub { font-size: 12px; }
.is-site .rg-steps-v { grid-template-columns: 1fr; margin: 0; }

/* Register */
.is-site .rg-head { margin-bottom: 24px; }
.is-site .rg > .alert { margin-bottom: 20px; }
.is-site .rg-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.is-site .rg-form, .is-site .rg-closed { flex: 999 1 600px; min-width: 0; display: grid; gap: 20px; }
.is-site .rg-closed { padding: clamp(24px, 4vw, 40px); justify-items: start; gap: 12px; }
.is-site .rg-closed h2 { margin: 0; font-size: 24px; }
.is-site .rg-closed p { margin: 0; }
.is-site .rg-card { padding: 24px; display: grid; gap: 16px; min-width: 0; }
.is-site .rg-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.is-site .rg-card-head h2 { margin: 0; font-size: 20px; }
.is-site .rg-card-head .sub { font-size: 13px; }
.is-site .rg-card-head .sub b { color: var(--text); }
.is-site .rg-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.is-site .rg-logo { flex: none; gap: 6px; }
.is-site .rg-logo .photo-pick { width: 112px; height: 112px; align-content: center; gap: 6px; font-size: 13px; color: var(--sub); border-color: #3a3a44; }
.is-site .rg-logo .photo-pick .ic { width: 28px; height: 28px; }
.is-site .rg-logo .photo-pick img { position: absolute; inset: 0; object-fit: contain; }
.is-site .rg-logo .photo-pick:has(img) span { display: none; }
.is-site .rg-logo-text { flex: 1 1 240px; display: grid; gap: 4px; font-size: 13px; min-width: 0; }
.is-site .rg-logo-text b { font-size: 15px; }
.is-site .rg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px 16px; margin: 0; }
.is-site .rg-facts dt { font-size: 12px; color: var(--sub); }
.is-site .rg-facts dd { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.is-site .rg-facts .num { font-size: 22px; }
.is-site .rg-prize { color: var(--pink-text); }
.is-site .rg-note { font-size: 13px; margin: 0; }

/* Player rows: number, photo, name, in-game name, (student ID), remove. */
.is-site .rg-players { display: grid; gap: 0; }
.is-site .rg .player-row { grid-template-columns: 40px 56px minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 10px; padding: 12px 0; border-top: 1px solid var(--rule); }
.is-site .rg .player-row.with-id { grid-template-columns: 40px 56px minmax(0, 1fr) minmax(0, 1fr) 120px 44px; }
.is-site .rg .player-head { border-top: 0; padding: 0 0 4px; font-size: 12px; color: var(--sub); }
.is-site .rg-no { display: grid; justify-items: center; line-height: 1; gap: 4px; }
.is-site .rg-no .num { font-size: 24px; }
.is-site .rg-no small { font-size: 11px; color: var(--sub); }
.is-site .rg-x { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: none; border: 1px solid #2e2e36; color: var(--sub); cursor: pointer; }
.is-site .rg-x:hover { color: var(--text); border-color: #3a3a44; }
.is-site .rg-x:focus-visible, .is-site .rg-add:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 2px; }
.is-site .rg-add { background: var(--text); color: #070708; border: 0; }
.is-site .rg-add:hover { background: #fff; }
.is-site .rg .row-error { margin: -6px 0 8px; }
.is-site .rg-send { display: grid; gap: 14px; }
.is-site .rg-submit { min-height: 54px; padding: 0 36px; font-size: 17px; }
.is-site .rg-side { flex: 1 1 300px; min-width: 0; display: grid; gap: 20px; }
.is-site .rg-side-h { margin: 0; font-size: 17px; }
.is-site .rg-after { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }

@media (max-width: 720px) {
  .is-site .rg-steps:not(.rg-steps-v) { grid-template-columns: 1fr; }
  .is-site .rg-steps li { padding: 10px 14px; }
  .is-site .rg-card { padding: 18px 16px; }
  .is-site .rg .player-head { display: none; }
  .is-site .rg .player-row, .is-site .rg .player-row.with-id { grid-template-columns: 28px 56px minmax(0, 1fr) 44px; gap: 8px; align-items: start; }
  .is-site .rg .player-row > .rg-no { grid-column: 1; grid-row: 1; padding-top: 10px; }
  .is-site .rg .player-row > .photo-cell { grid-column: 2; grid-row: 1 / span 2; }
  .is-site .rg .player-row > div:not(.photo-cell) { grid-column: 3; }
  .is-site .rg .player-row > .rg-x { grid-column: 4; grid-row: 1; }
  .is-site .rg .player-row .p-label { position: static; display: block; width: auto; height: auto; margin-bottom: 4px; overflow: visible; clip: auto; white-space: normal; font-size: 13px; color: var(--muted); }
}

/* Sign in */
.is-site .au { display: flex; flex-wrap: wrap; min-height: 640px; }
.is-site .au-side { flex: 1 1 460px; min-width: 0; position: relative; overflow: hidden; background: var(--card-2); border-right: 1px solid var(--rule); display: flex; align-items: flex-end; padding: 48px clamp(16px, 5vw, 72px); }
.is-site .au-word { position: absolute; top: 40px; left: clamp(16px, 5vw, 72px); font-size: clamp(96px, 12vw, 180px); line-height: .84; color: #17171c; pointer-events: none; }
.is-site .au-side-text { position: relative; display: grid; gap: 10px; max-width: 400px; width: 100%; }
.is-site .au-side-text > b { font-size: 22px; }
.is-site .au-main { flex: 1 1 420px; min-width: 0; display: grid; place-items: center; padding: 56px 24px; }
.is-site .au-box { width: 100%; max-width: 400px; display: grid; gap: 16px; }
.is-site .au-box h1 { margin: 0; font-size: 32px; }
.is-site .au-lead { margin: -12px 0 0; }
.is-site .au-gate { display: grid; gap: 4px; padding: 12px 14px; background: var(--pick); font-size: 14px; }
.is-site .au-gate > b { font-size: 16px; }
.is-site .au-form { display: grid; gap: 16px; }
.is-site .au-form .input { min-height: 52px; font-size: 17px; }
.is-site .au-form .pw-toggle { width: 52px; }
.is-site .au-remember { align-items: center; min-height: 44px; color: var(--muted); }
.is-site .au-submit { min-height: 54px; font-size: 17px; width: 100%; }
.is-site .au-alt { margin: 0; text-align: center; }
.is-site .au-small { font-size: 14px; }
@media (max-width: 720px) {
  .is-site .au { min-height: 0; }
  .is-site .au-main { order: 1; padding: 40px 16px; }
  .is-site .au-side { order: 2; border-right: 0; border-top: 1px solid var(--rule); flex-direction: column; align-items: flex-start; padding: 32px 16px; }
  .is-site .au-word { position: static; font-size: 72px; margin-bottom: 20px; }
}

/* Sign up and team details */
.is-site .au-signup { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 56px; }
.is-site .au-intro { flex: 1 1 300px; min-width: 0; display: grid; gap: 20px; }
.is-site .au-intro h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
.is-site .au-intro p { margin: 0; }
.is-site .au-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.is-site .au-points li { display: flex; gap: 14px; align-items: baseline; }
.is-site .au-points .dp { font-size: 28px; color: var(--pink-text); width: 36px; flex: none; }
.is-site .au-card { flex: 2 1 520px; min-width: 0; padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; }
.is-site .au-grp { border: 0; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--rule); min-width: 0; display: grid; gap: 14px; }
.is-site .au-grp:first-of-type { border-top: 0; padding-top: 0; }
.is-site .au-grp > legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-size: 16px; font-weight: 700; letter-spacing: .04em; color: var(--pink-text); }
.is-site .au-grp > legend small { font-weight: 400; letter-spacing: 0; font-size: 13px; }
.is-site .au-grp > :not(legend) { clear: both; }
.is-site .au-grp .hint { margin: 0; }
.is-site .au-grp .label + .input + .hint, .is-site .au-grp .error + .hint { margin-top: 6px; }
.is-site .au-fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.is-site .au-card .input { min-height: 52px; }
.is-site .au-card .au-submit { width: auto; padding: 0 36px; }

/* Team page */
.is-site .ac-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 48px; margin-bottom: 28px; }
.is-site .ac-logo { width: 88px; height: 88px; flex: none; object-fit: contain; background: var(--card-2); border: 1px solid var(--edge); }
.is-site .ac-initials { display: grid; place-items: center; background: #eceef0; border: 0; color: #070708; font-size: 30px; }
.is-site .ac-who { flex: 1 1 300px; min-width: 0; display: grid; gap: 2px; }
.is-site .ac-who h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; overflow-wrap: anywhere; }
.is-site .ac-who .sub { font-size: 14px; overflow-wrap: anywhere; }
.is-site .ac-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.is-site .ac > .alert { margin-bottom: 20px; }
.is-site .ac-next { border-color: var(--pink-text); padding: 22px 24px; display: grid; gap: 12px; margin-bottom: 24px; min-width: 0; }
.is-site .ac-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.is-site .ac-entries { flex: 999 1 560px; min-width: 0; }
.is-site .ac-entries > .empty { margin: 0 22px 22px; }
.is-site .ac-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 18px 22px; }
.is-site .ac-card-head h2 { margin: 0; font-size: 20px; }
.is-site .ac-en { display: grid; gap: 8px; padding: 18px 22px; border-top: 1px solid var(--rule); min-width: 0; }
.is-site .ac-en-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.is-site .ac-en-title { flex: 1 1 260px; min-width: 0; font-weight: 700; font-size: 17px; color: var(--text); }
.is-site .ac-en-title:hover { color: var(--pink-text); }
.is-site .ac-en-meta { font-size: 14px; overflow-wrap: anywhere; }
.is-site .ac-reason { padding: 10px 14px; background: #1a0d10; font-size: 14px; }
.is-site .ac-en-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.is-site .ac-en-act .btn { min-height: 44px; font-size: 14px; }
.is-site .ac-members { flex: 1 1 340px; min-width: 0; padding: 18px 20px; display: grid; gap: 10px; }
.is-site .ac-members .ac-card-head { padding: 0; align-items: baseline; }
.is-site .ac-small { font-size: 13px; }
.is-site .ac-mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.is-site .ac-mb { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--card-2); min-width: 0; }
.is-site .ac-av { width: 44px; height: 44px; flex: none; object-fit: cover; font-size: 12px; font-weight: 700; }
.is-site .ac-mb > div { display: grid; line-height: 1.3; min-width: 0; }
.is-site .ac-mb b { font-size: 15px; overflow-wrap: anywhere; }
.is-site .ac-mb .sub { font-size: 12px; overflow-wrap: anywhere; }
.is-site .ac-open { margin-top: 48px; }
.is-site .ac-open-head { padding: 0 0 16px; }
.is-site .ac-ph { padding-top: 48px; }
.is-site .ac-form { max-width: 760px; }
.is-site .ac-form-act { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Pages: club + content ===== */
/* Shared bits */
.is-site .cl-h2 { margin: 0 0 20px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.is-site .cl-sec { padding-top: 88px; }
.is-site .cl-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.is-site .cl-facts dd { margin: 0; }
/* Club channels: square icon buttons, the same everywhere (footer, about, join, help, rules). */
.is-site .socials { display: flex; flex-wrap: wrap; gap: 10px; }
.is-site .socials a { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #3a3a44; background: none; color: var(--text); transition: border-color .2s, color .2s; }
.is-site .socials a:hover { border-color: var(--pink-text); color: var(--pink-text); background: none; }
.is-site .socials a:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 2px; }
.is-site .socials .ic { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .is-site .socials { gap: 8px; }
  .is-site .socials a { width: 48px; height: 48px; }
  .is-site .socials .ic { width: 22px; height: 22px; }
}

/* About */
.is-site .cl-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; padding-top: 64px; }
.is-site .cl-hero-text { flex: 3 1 520px; min-width: 0; display: grid; gap: 18px; }
.is-site .cl-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.1; }
.is-site .cl-lead { font-size: 18px; color: var(--muted); max-width: 58ch; }
.is-site .cl-intro { color: var(--sub); max-width: 58ch; }
.is-site .cl-intro li::marker { color: var(--pink-text); }
.is-site .cl-stats { flex: 1 1 280px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--edge); border: 1px solid var(--edge); }
.is-site .cl-stats div { display: grid; gap: 6px; padding: 20px; background: var(--bg); }
.is-site .cl-stats dd { order: -1; margin: 0; font-size: 56px; }
.is-site .cl-stats dt { font-size: 13px; }
.is-site .cl-room { display: grid; gap: 14px; justify-items: start; padding: 32px; }
.is-site .cl-room h2 { margin: 0; font-size: 30px; }
.is-site .cl-preview { display: grid; gap: 20px; justify-items: center; }
.is-site .cl-pp-row { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.is-site .cl-pp-row .person { width: 180px; }
.is-site .cl-advisors { display: flex; flex-wrap: wrap; gap: 16px; }
.is-site .cl-advisor { position: relative; flex: 1 1 320px; max-width: 580px; display: flex; align-items: center; gap: 16px; padding: 16px; transition: border-color .2s; }
.is-site .cl-advisor:hover { border-color: var(--pink-text); }
.is-site .cl-advisor .person-photo { flex: none; width: 72px; height: 72px; aspect-ratio: 1; background: #15151a; }
.is-site .cl-advisor .person-photo span { font: 900 28px/1 var(--num); color: #7d7d89; -webkit-text-stroke: 0; }
.is-site .cl-advisor b { display: block; font-size: 17px; }
.is-site .cl-advisor small { display: block; color: var(--pink-text); font-size: 14px; font-weight: 600; }
.is-site .cl-advisor .sub { display: block; font-size: 14px; }
.is-site .cl-contact { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 32px; border: 1px solid var(--edge); }
.is-site .cl-contact h2 { margin: 0 0 6px; font-size: 28px; }
.is-site .cl-contact-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Committee cards: about preview, staff chart (tree and dragged board) */
.is-site :is(.cl-preview, .cl-org) .person { position: relative; display: grid; align-content: start; gap: 8px; padding: 10px; text-align: center; background: var(--card); border: 1px solid var(--edge); transition: border-color .2s; }
.is-site :is(.cl-preview, .cl-org) .person:hover { transform: none; border-color: var(--pink-text); }
.is-site :is(.cl-preview, .cl-org) .person-photo { aspect-ratio: 1; background: #15151a; }
.is-site :is(.cl-preview, .cl-org) .person-photo span { font: 900 56px/1 var(--num); color: #7d7d89; -webkit-text-stroke: 0; }
.is-site :is(.cl-preview, .cl-org) .person-body { padding: 0; min-height: 0; gap: 2px; justify-items: center; }
.is-site :is(.cl-preview, .cl-org) .person-body b { font-size: 15px; }
.is-site :is(.cl-preview, .cl-org) .person-body small { color: var(--sub); font-size: 12px; font-weight: 500; }
.is-site :is(.cl-preview, .cl-org) .person-body span { color: #7d7d89; font-size: 12px; }
.is-site :is(.cl-preview, .cl-org) .person-more { color: #7d7d89; }
.is-site :is(.cl-preview, .cl-org) .person-more:hover { color: var(--pink-text); }
.is-site .cl-preview > .cl-pp-row:first-child .person, .is-site .cl-org .org-top > .person, .is-site .cl-org .board-card.top .person { border-color: var(--pink-text); }
.is-site .cl-org { --line-2: #3a3a44; }
.is-site .cl-org .org-stack .person { text-align: left; padding: 8px; gap: 10px; }
.is-site .cl-org .org-stack .person-body { justify-items: start; }
.is-site .cl-org .org-stack .person-photo span { font-size: 22px; }
/* Staff page: the committee as a tree. Phones read it as an indented outline; wide screens branch the top levels
   sideways (st-branch) and hang each team below as a column (st-stack). */
.is-site .st-scroll { overflow-x: auto; padding-bottom: 8px; }
.is-site .st-tree, .is-site .st-tree ul { list-style: none; margin: 0; padding: 0; }
.is-site .st-tree { max-width: 640px; }
.is-site .st-tree ul { display: grid; gap: 8px; margin-left: 14px; padding: 8px 0 0 14px; }
.is-site .st-tree li { position: relative; min-width: 0; }
.is-site .st-tree ul > li::before { content: ''; position: absolute; left: -14px; top: 28px; width: 14px; border-top: 1px solid var(--line-2); }
.is-site .st-tree ul > li::after { content: ''; position: absolute; left: -14px; top: -8px; bottom: 0; border-left: 1px solid var(--line-2); }
.is-site .st-tree ul > li:last-child::after { bottom: auto; height: 36px; }
.is-site .cl-org .st-tree .person { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; text-align: left; }
.is-site .cl-org .st-tree .person-photo { width: 40px; height: 40px; min-height: 0; aspect-ratio: 1; }
.is-site .cl-org .st-tree .person-photo span { font-size: 15px; }
.is-site .cl-org .st-tree .person-body { justify-items: start; }
.is-site .cl-org .st-tree .person-body span { display: none; }
.is-site .cl-org .st-tree .person-body small { color: var(--pink-text); font-weight: 600; }
.is-site .cl-org .st-stack .person-body small { color: var(--sub); font-weight: 500; }
.is-site .cl-org .st-tree > li > .person { border-color: var(--pink-text); }
@media (min-width: 1180px) {
  .is-site .st-tree { display: flex; justify-content: center; width: max-content; min-width: 100%; max-width: none; }
  .is-site .st-tree > li { display: flex; flex-direction: column; align-items: center; }
  .is-site .cl-org .st-tree > li > .person, .is-site .cl-org .st-branch > li > .person { width: 240px; min-height: 72px; grid-template-columns: 48px minmax(0, 1fr); padding: 12px 14px; }
  .is-site .cl-org .st-tree > li > .person .person-photo, .is-site .cl-org .st-branch > li > .person .person-photo { width: 48px; height: 48px; }
  .is-site .st-tree .st-branch { position: relative; display: flex; justify-content: center; gap: 0; margin: 0; padding: 24px 0 0; }
  .is-site .st-tree .st-branch::before { content: ''; position: absolute; top: 0; left: 50%; height: 24px; border-left: 1px solid var(--line-2); }
  .is-site .st-tree .st-branch > li { display: flex; flex-direction: column; align-items: center; padding: 24px 8px 0; }
  .is-site .st-tree .st-branch > li::before, .is-site .st-tree .st-branch > li::after { top: 0; bottom: auto; left: auto; right: 50%; width: 50%; height: 24px; border-top: 1px solid var(--line-2); border-left: 0; }
  .is-site .st-tree .st-branch > li::after { right: auto; left: 50%; border-left: 1px solid var(--line-2); }
  .is-site .st-tree .st-branch > li:first-child::before, .is-site .st-tree .st-branch > li:last-child::after { border-top: 0; }
  .is-site .st-tree .st-branch > li:last-child::after { height: 24px; }
  .is-site .st-tree .st-branch > li:only-child::before { display: none; }
  .is-site .st-tree .st-branch > li > .st-stack { align-self: stretch; }
}

/* Person sheet */
.is-site dialog.cl-sheet { background: var(--card); border: 1px solid var(--edge); max-width: min(560px, calc(100vw - 32px)); }
.is-site dialog.cl-sheet[open] { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 22px; }
.is-site .cl-sheet .person-sheet-photo { align-self: start; aspect-ratio: 1; height: auto; min-height: 0; background: #15151a; }
.is-site .cl-sheet .person-sheet-photo img { width: 100%; height: 100%; object-fit: cover; }
.is-site .cl-sheet .person-sheet-photo span { font: 900 48px/1 var(--num); color: #7d7d89; -webkit-text-stroke: 0; }
.is-site .cl-sheet .person-sheet-body { padding: 0; gap: 6px; }
.is-site .cl-sheet h2 { margin: 0; padding-right: 44px; font-size: 22px; }
.is-site .cl-sheet .person-sheet-role { color: var(--pink-text); font-size: 14px; font-weight: 600; }
.is-site .cl-sheet .sub { font-size: 14px; }
.is-site .cl-sheet-bio { color: var(--muted); font-size: 15px; white-space: pre-line; }
.is-site .cl-sheet .close-x { top: 8px; right: 8px; width: 44px; height: 44px; background: transparent; border-color: var(--edge); }

/* Squads */
.is-site .cl-games small { color: #7d7d89; font-size: 12px; font-weight: 500; }
.is-site .cl-squad { display: grid; gap: 18px; padding-top: 56px; scroll-margin-top: 80px; }
.is-site .cl-squad > header { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.is-site .cl-squad-game { font-size: 72px; color: var(--pink-text); }
.is-site .cl-squad > header > div { flex: 1 1 200px; display: grid; min-width: 0; }
.is-site .cl-squad h2 { margin: 0; font-size: 26px; }
.is-site .cl-squad > header .sub { font-size: 14px; }
.is-site .cl-squad-result { display: flex; align-items: center; gap: 10px; max-width: 100%; min-height: 48px; padding: 6px 14px; border: 1px solid var(--edge); color: var(--text); transition: border-color .2s; }
.is-site .cl-squad-result:hover { border-color: var(--pink-text); }
.is-site .cl-squad-result .ic { flex: none; color: var(--pink-text); }
.is-site .cl-squad-result span { display: grid; min-width: 0; }
.is-site .cl-squad-result b, .is-site .cl-squad-result small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-site .cl-squad-result b { font-size: 14px; }
.is-site .cl-squad-result small { color: var(--sub); font-size: 12px; }
.is-site .cl-players { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); margin: 0; padding: 0; list-style: none; }
.is-site .cl-player { position: relative; display: grid; width: 100%; height: 100%; align-content: start; padding: 0; font: inherit; text-align: left; color: var(--text); background: var(--card); border: 1px solid var(--edge); cursor: pointer; transition: border-color .2s; }
.is-site .cl-player:hover { border-color: var(--pink-text); }
.is-site .cl-player-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.is-site .cl-player-photo img { width: 100%; height: 100%; object-fit: cover; }
.is-site .cl-player-photo i { font: 900 64px/1 var(--num); font-style: normal; color: #3a3a44; }
.is-site .cl-role { position: absolute; top: 10px; left: 0; max-width: calc(100% - 10px); height: 24px; display: inline-flex; align-items: center; padding: 0 12px 0 10px; overflow: hidden; white-space: nowrap; font: 800 13px/1 var(--num); letter-spacing: .06em; text-transform: uppercase; background: var(--pink); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.is-site .cl-player-text { display: grid; gap: 2px; min-width: 0; padding: 12px 14px; }
.is-site .cl-player-text b, .is-site .cl-player-text .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-site .cl-player-text b { font-size: 17px; }
.is-site .cl-player-text .sub { font-size: 13px; }
.is-site .cl-note { margin-top: 48px; font-size: 15px; }

/* Achievements */
.is-site .cl-ach-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.is-site .cl-ach-head > div { flex: 1 1 420px; display: grid; gap: 10px; min-width: 0; }
.is-site .cl-medals { display: flex; flex-wrap: wrap; gap: 20px 28px; margin: 0; }
.is-site .cl-medals div { display: grid; gap: 6px; }
.is-site .cl-medals dd { order: -1; margin: 0; font-size: 64px; }
.is-site .cl-medals .hot dd { color: var(--pink-text); }
.is-site .cl-medals dt { font-size: 13px; }
.is-site .cl-year { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: 24px; padding-top: 40px; }
.is-site .cl-year h2 { margin: 0; font-size: 64px; color: #3a3a44; }
.is-site .cl-year h2.cl-year-none { font-size: 22px; line-height: 1.4; color: var(--sub); }
.is-site .cl-awards .award > span:empty { display: none; }
.is-site .cl-awards { display: grid; }
.is-site .cl-awards .award { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 20px; padding: 20px 0; background: none; border: 0; border-top: 1px solid var(--rule); color: var(--text); }
.is-site .cl-awards .award:has(.award-photo) { grid-template-columns: 96px minmax(0, 1fr) 200px; }
.is-site .cl-awards .award > div { grid-column: 2; grid-row: 1; display: grid; gap: 4px; }
.is-site .cl-awards .award time { display: block; grid-column: 2; grid-row: 2; color: var(--sub); font-size: 14px; }
.is-site .cl-awards .award > .ic { grid-column: 3; grid-row: 1 / span 2; color: #5b5b66; }
.is-site .cl-awards .award:has(.award-photo) > .ic { display: none; }
.is-site .cl-awards .award-photo { grid-column: 3; grid-row: 1 / span 2; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.is-site .cl-awards .award h3 { font-size: 19px; line-height: 1.4; transition: color .2s; }
.is-site .cl-awards .award:hover h3 { color: var(--pink-text); }
.is-site .cl-awards .award p { color: var(--sub); font-size: 14px; }
.is-site .cl-awards .medal-dot { grid-row: 1 / span 2; width: auto; height: auto; justify-content: start; border-radius: 0; background: none; font: 900 56px/.9 var(--num); color: var(--text); }
.is-site .cl-awards .medal-dot:is(.gold, .silver) { color: var(--pink-text); }
.is-site .cl-awards .medal-dot .ic { width: 40px; height: 40px; color: var(--sub); }

/* One achievement */
.is-site .cl-crumbs { padding-top: 48px; }
.is-site .cl-award { display: grid; gap: 40px; max-width: 760px; padding-top: 24px; }
.is-site .cl-award.with-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; max-width: none; }
.is-site .cl-award-body { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.is-site .cl-award-body > header { display: flex; align-items: flex-end; gap: 20px; }
.is-site .cl-place { flex: none; font-size: 120px; color: var(--text); }
.is-site .cl-place.hot { color: var(--pink-text); }
.is-site .cl-place .ic { width: 64px; height: 64px; color: var(--sub); }
.is-site .cl-award h1 { margin: 8px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; }
.is-site .cl-award .ct-art { margin: 0; }
.is-site .cl-award-photo { width: 100%; border: 1px solid var(--edge); }

/* Join */
.is-site .cl-join { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 56px; }
.is-site .cl-join-side { flex: 1 1 320px; display: grid; gap: 22px; min-width: 0; }
.is-site .cl-join-side h1 { margin: 0; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.12; }
.is-site .cl-perks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.is-site .cl-perks li { display: flex; gap: 14px; }
.is-site .cl-perks .dp { flex: none; width: 36px; font-size: 28px; color: var(--pink-text); }
.is-site .cl-perks li > div { display: grid; }
.is-site .cl-perks .sub { font-size: 14px; }
.is-site .cl-room-mini { display: grid; gap: 8px; padding-top: 22px; border-top: 1px solid var(--rule); }
.is-site .cl-room-mini > .sub { font-size: 14px; }
.is-site .cl-small { font-size: 14px; }
.is-site .cl-form { flex: 2 1 560px; min-width: 0; display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); }
.is-site .cl-fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.is-site .cl-fld { display: grid; gap: 6px; align-content: start; min-width: 0; }
.is-site .cl-fld .label, .is-site .cl-gamepick .label { margin: 0; }
.is-site .cl-fld .label small { color: #7d7d89; font-size: 12px; }
.is-site .cl-fld .error { margin: 0; }
.is-site .cl-hint { color: #7d7d89; font-size: 12px; }
.is-site .cl-gamepick { min-width: 0; margin: 0; padding: 0; border: 0; }
.is-site .cl-gamepick legend { padding: 0; margin-bottom: 8px; }
.is-site .cl-gamepick > div { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.is-site .cl-chk { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; background: var(--card-2); border: 1px solid #2e2e36; font-size: 15px; cursor: pointer; }
.is-site .cl-chk:has(input:checked) { background: var(--pick); border-color: var(--pink-text); }
.is-site .cl-chk input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--pink); }
.is-site .cl-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.is-site .cl-submit .btn { min-height: 54px; padding: 0 36px; font-size: 17px; }
.is-site .cl-submit .sub { font-size: 13px; }
.is-site .cl-done { flex: 2 1 560px; min-width: 0; display: grid; justify-items: start; gap: 14px; padding: clamp(24px, 4vw, 40px); }
.is-site .cl-page:not(.cl-join) > .cl-done { max-width: 720px; margin: 64px auto 0; }
.is-site .cl-done h1, .is-site .cl-done h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; }
.is-site .cl-done p { max-width: 52ch; }
.is-site .cl-done-mark { width: 56px; height: 56px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--edge); color: var(--sub); }
.is-site .cl-done-mark.ok { background: var(--pink); border-color: var(--pink); color: #fff; }
.is-site .cl-done-mark .ic { width: 28px; height: 28px; }
.is-site .cl-done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* News, help, videos: list pages */
.is-site .ct-tabs { margin-bottom: 32px; }
.is-site .ct-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--sub); font-size: 14px; }
.is-site .ct-pin { display: inline-flex; align-items: center; gap: 4px; color: var(--pink-text); font-weight: 700; }
.is-site .ct-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #15151a; }
.is-site .ct-thumb img, .is-site .ct-lead-art img { width: 100%; height: 100%; object-fit: cover; }
.is-site :is(.ct-thumb, .ct-lead-art) .noimg { position: absolute; inset: 0; }
.is-site .ct-lead-art .noimg .ic { width: 40px; height: 40px; }
.is-site .ct-lead { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-bottom: 16px; color: var(--text); }
.is-site .ct-lead-art { position: relative; flex: 3 1 480px; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #15151a; }
.is-site .ct-lead-text { flex: 2 1 320px; min-width: 0; display: grid; gap: 12px; }
.is-site .ct-lead h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; transition: color .2s; }
.is-site .ct-lead:hover h2, .is-site .ct-row:hover h3, .is-site .ct-more-grid a:hover b, .is-site .ct-vcard:hover h3 { color: var(--pink-text); }
.is-site .ct-lead .more { display: inline-flex; align-items: center; gap: 6px; }
.is-site .ct-rows { display: grid; }
.is-site .ct-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--text); }
.is-site .ct-row-text { display: grid; gap: 6px; min-width: 0; }
.is-site .ct-row h3 { margin: 0; font-size: 20px; line-height: 1.35; transition: color .2s; }
.is-site .ct-sum { color: var(--sub); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.is-site .ct-meta + h3 { margin-top: 0; }
.is-site .ct-rows.no-thumb .ct-row { grid-template-columns: minmax(0, 1fr) auto; min-height: 64px; padding: 18px 0; border-bottom: 0; border-top: 1px solid var(--rule); }
.is-site .ct-rows.no-thumb .ct-row:last-child { border-bottom: 1px solid var(--rule); }
.is-site .ct-rows.no-thumb h3 { font-size: 18px; font-weight: 600; }
.is-site .ct-rows.no-thumb .ct-row > .ic { color: var(--sub); }
.is-site .ct-help { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.is-site .ct-help-main { flex: 999 1 560px; min-width: 0; display: grid; gap: 28px; }
.is-site .ct-help-main .ct-pager { margin-top: 0; }
.is-site .ct-h2 { margin: 0 0 8px; font-size: 24px; }
/* Help: built-in questions, one line each until opened */
.is-site .ct-faq { display: grid; }
.is-site .ct-faq details { border-top: 1px solid var(--rule); }
.is-site .ct-faq details:last-child { border-bottom: 1px solid var(--rule); }
.is-site .ct-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; font-size: 17px; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
.is-site .ct-faq summary::-webkit-details-marker { display: none; }
.is-site .ct-faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--pink-text); border-bottom: 2px solid var(--pink-text); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.is-site .ct-faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.is-site .ct-faq summary:hover { color: var(--pink-text); }
.is-site .ct-faq summary:focus-visible { outline: 2px solid var(--pink-text); outline-offset: 2px; }
.is-site .ct-faq p { margin: 0 0 18px; max-width: 65ch; color: var(--muted); line-height: 1.75; }
.is-site .ct-faq a { color: var(--pink-text); }
.is-site .ct-ask { flex: 1 1 280px; display: grid; gap: 10px; padding: 22px; }
.is-site .ct-ask > b { font-size: 17px; }
.is-site .ct-ask > .sub { font-size: 14px; }
.is-site .ct-ask .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }

/* Videos */
.is-site .ct-vlead .ct-lead-art { flex-basis: 520px; }
.is-site .ct-vlead .ct-lead-art .art span { font-size: clamp(110px, 18vw, 220px); }
.is-site .ct-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: grid; place-items: center; background: rgba(7, 7, 8, .75); border: 1px solid #3a3a44; color: #fff; transition: background .2s, border-color .2s; }
.is-site .ct-vlead:hover .ct-play { background: var(--pink); border-color: var(--pink); }
.is-site .ct-vlead h2 { font-size: clamp(22px, 2.4vw, 26px); }
.is-site .ct-vgrid { display: grid; gap: 22px 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin-top: 32px; }
.is-site .ct-vcard { gap: 10px; overflow: visible; background: none; border: 0; }
.is-site .ct-vcard:hover { transform: none; }
.is-site .ct-vcard .acard-art { background: #15151a; }
.is-site .ct-vcard .acard-body { gap: 4px; padding: 0; }
.is-site .ct-vcard h3 { font-size: 16px; line-height: 1.35; transition: color .2s; }
.is-site .ct-vcard .acard-foot { gap: 8px; color: var(--sub); font-size: 13px; }
.is-site .ct-vcard .platform { padding: 2px 8px; background: rgba(0, 0, 0, .8); font-size: 12px; }
.is-site .ct-vcard .play span { border-radius: 0; background: rgba(7, 7, 8, .75); border-color: #3a3a44; backdrop-filter: none; }
.is-site .ct-vcard:hover .play span { transform: none; background: var(--pink); border-color: var(--pink); }

/* One post */
.is-site .ct-post-head { max-width: 920px; display: grid; gap: 16px; padding-top: 48px; }
.is-site .ct-post-head .crumbs { font-size: 13px; }
.is-site .ct-post-head h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.25; }
.is-site .ct-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; color: var(--sub); font-size: 14px; }
.is-site .ct-copy { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; background: transparent; border: 1px solid #2e2e36; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.is-site .ct-copy:hover { border-color: #3a3a44; }
.is-site .ct-cover { margin-top: 32px; }
.is-site .ct-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.is-site .ct-post .ct-art { margin-top: 40px; }

/* Article typography for rich text, read at about 68 characters a line */
.is-site .ct-art { width: 100%; max-width: 68ch; margin-inline: auto; color: #d6d6dc; font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.is-site .ct-art > * { margin: 0 0 20px; }
.is-site .ct-art > :last-child { margin-bottom: 0; }
.is-site .ct-art h2 { margin: 36px 0 12px; font-size: 24px; line-height: 1.35; color: var(--text); }
.is-site .ct-art h3 { margin: 28px 0 10px; font-size: 20px; line-height: 1.4; color: var(--text); }
.is-site .ct-art > :first-child { margin-top: 0; }
.is-site .ct-art strong, .is-site .ct-art b { color: var(--text); }
.is-site .ct-art a { color: var(--pink-text); text-decoration: underline; text-underline-offset: 3px; }
.is-site .ct-art a:hover { color: #ffc2dc; }
.is-site .ct-art ul, .is-site .ct-art ol { padding-left: 1.4em; }
.is-site .ct-art li + li { margin-top: .4em; }
.is-site .ct-art li::marker { color: var(--pink-text); }
.is-site .ct-art img, .is-site .ct-art video { display: block; max-width: 100%; height: auto; margin: 28px 0; }
.is-site .ct-art p > img { margin: 8px 0; }
.is-site .ct-art iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; margin: 28px 0; border: 0; }
.is-site .ct-art figure { margin: 28px 0; }
.is-site .ct-art figcaption { margin-top: 8px; color: var(--sub); font-size: 13px; }
.is-site .ct-art blockquote { margin: 28px 0; padding: 18px 22px; background: var(--card); border: 1px solid var(--edge); color: var(--muted); }
.is-site .ct-art hr { margin: 36px 0; border: 0; border-top: 1px solid var(--rule); }

/* More posts */
.is-site .ct-more { display: grid; gap: 18px; margin-top: 72px; }
.is-site .ct-more h2 { margin: 0; font-size: 22px; }
.is-site .ct-more-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.is-site .ct-more-grid a { display: grid; gap: 10px; align-content: start; color: var(--text); }
.is-site .ct-more-grid b { transition: color .2s; }
.is-site .ct-more-grid time { margin-top: -6px; font-size: 13px; }

/* Empty state and pager (shared partials) */
.is-site .ct-empty { gap: 10px; padding: 48px 20px; background: var(--card); border: 1px solid var(--edge); color: var(--sub); }
.is-site .ct-empty .ic { width: 32px; height: 32px; color: #5b5b66; }
.is-site .ct-empty b { font-size: 17px; }
.is-site .ct-pager { flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.is-site .ct-pager a, .is-site .ct-pager span { min-width: 44px; height: 44px; background: none; border: 1px solid var(--edge); color: var(--muted); }
.is-site .ct-pager a:hover { border-color: #3a3a44; color: #fff; }
.is-site .ct-pager .on { background: var(--pink); border-color: var(--pink); color: #fff; }

@media (max-width: 760px) {
  .is-site .cl-sec { padding-top: 56px; }
  .is-site .cl-hero { padding-top: 40px; }
  .is-site .cl-stats dd { font-size: 44px; }
  .is-site .cl-room, .is-site .cl-contact { padding: 22px 20px; }
  .is-site .cl-pp-row { gap: 10px; }
  .is-site .cl-pp-row .person { width: calc(50% - 5px); max-width: 180px; }
  .is-site .cl-squad-game { font-size: 56px; }
  .is-site .cl-medals dd { font-size: 48px; }
  .is-site .cl-year { grid-template-columns: 1fr; gap: 8px; }
  .is-site .cl-year h2 { font-size: 48px; }
  .is-site .cl-year h2.cl-year-none { font-size: 20px; }
  .is-site .cl-awards .award, .is-site .cl-awards .award:has(.award-photo) { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; }
  .is-site .cl-awards .award > .ic { display: none; }
  .is-site .cl-awards .award-photo { grid-column: 1 / -1; grid-row: 3; margin-top: 10px; }
  .is-site .cl-awards .medal-dot { font-size: 44px; }
  .is-site .cl-awards .award h3 { font-size: 17px; }
  .is-site .cl-award.with-photo { grid-template-columns: 1fr; }
  .is-site .cl-place { font-size: 84px; }
  .is-site .cl-join { padding-top: 40px; gap: 32px; }
  .is-site .ct-row { grid-template-columns: 1fr; gap: 14px; }
  .is-site .ct-row h3 { font-size: 18px; }
  .is-site .ct-cover img { aspect-ratio: 16 / 9; }
  .is-site .ct-art { font-size: 17px; line-height: 1.8; }
  .is-site .ct-copy { margin-left: 0; }
}
@media (max-width: 720px) {
  .is-site .cl-org .org .person { grid-template-columns: 52px minmax(0, 1fr); text-align: left; padding: 8px; gap: 12px; }
  .is-site .cl-org .org-top > .person { grid-template-columns: 72px minmax(0, 1fr); }
  .is-site .cl-org .person-photo { align-self: center; aspect-ratio: 1; min-height: 0; }
  .is-site .cl-org .person-photo span { font-size: 22px; }
  .is-site .cl-org .person-body { justify-items: start; }
}
@media (max-width: 520px) {
  .is-site .cl-players { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .is-site .cl-player-text { padding: 10px; }
  .is-site .cl-player-text b { font-size: 15px; }
  .is-site .cl-player-photo i { font-size: 44px; }
  .is-site dialog.cl-sheet[open] { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .is-site .cl-sheet .person-sheet-photo span { font-size: 32px; }
}

/* ===== Pages: shop + items + errors ===== */
/* Shop: top bar, pre-order notice */
.is-site .marquee { background: var(--pink); border-bottom: 0; }
.is-site .marquee-track { padding: 12px 0; color: #fff; font-size: 14px; font-weight: 600; }
.is-site .marquee-track span::before { background: #fff; }
.is-site .sp-page { display: grid; gap: 24px; padding-top: 32px; }
.is-site .sp-narrow { max-width: 1000px; }
.is-site .sp-page .notice { gap: 14px 24px; padding: 16px 20px; background: var(--card); border: 1px solid var(--edge); font-size: 15px; }
.is-site .sp-page .notice b { color: var(--pink-text); font-weight: 700; }
.is-site .sp-page .notice p { margin: 2px 0 0; color: var(--muted); }
.is-site .sp-page .countdown { display: grid; gap: 4px; justify-items: center; min-width: 168px; padding: 10px 18px; background: var(--card-2); border: 1px solid var(--edge); }
.is-site .sp-page .countdown small { font-size: 12px; color: var(--sub); }
.is-site .sp-page .countdown b { font-family: var(--num); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .02em; color: var(--text); }
.is-site .sp-page .countdown.closed b { font-family: var(--font); font-weight: 700; font-size: 17px; color: #ffd04d; }
.is-site .sp-page .order-no { font-family: var(--num); font-weight: 900; letter-spacing: .04em; color: var(--text); font-variant-numeric: tabular-nums; }

/* Shop: product and order form */
.is-site .sp-shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; padding-top: 16px; }
.is-site .sp-media { position: sticky; top: 96px; display: grid; gap: 10px; }
.is-site .sp-photo { position: relative; display: block; width: 100%; padding: 0; background: var(--card-2); border: 1px solid var(--edge); cursor: zoom-in; }
.is-site .sp-photo img { display: block; width: 100%; height: auto; }
.is-site .sp-photo:hover { border-color: var(--pink-text); }
.is-site .sp-zoom { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(7, 7, 8, .88); color: var(--text); font-size: 13px; font-weight: 600; }
.is-site .sp-spec { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--edge); }
.is-site .sp-spec p { margin: 2px 0 0; font-size: 14px; }
.is-site .sp-buy { display: grid; gap: 22px; min-width: 0; }
.is-site .sp-title { display: grid; gap: 10px; }
.is-site .sp-kickrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.is-site .sp-kickrow .more { font-size: 14px; }
.is-site .sp-title h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; font-weight: 700; }
.is-site .sp-title > p { margin: 0; }
.is-site .sp-price { display: flex; align-items: baseline; gap: 10px; }
.is-site .sp-price .num { font-size: 56px; }
.is-site .sp-promo { display: grid; gap: 8px; padding: 16px 18px; background: var(--card); border: 1px solid var(--edge); }
.is-site .sp-promo b { display: flex; align-items: center; gap: 8px; color: #ffd04d; }
.is-site .sp-promo ul { margin: 0; padding: 0; list-style: none; }
.is-site .sp-promo li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--rule); }
.is-site .sp-promo li > span { min-width: 56px; font-weight: 600; }
.is-site .sp-promo li strong { font-size: 28px; color: var(--text); }
.is-site .sp-promo li small, .is-site .sp-promo > small { font-size: 13px; }
.is-site .sp-closed { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 16px 20px; background: var(--pick); border: 1px solid var(--pink-text); color: var(--pink-text); }
.is-site .sp-closed .ic { width: 24px; height: 24px; margin-top: 2px; }
.is-site .sp-closed b { font-size: 18px; }
.is-site .sp-closed p { margin: 2px 0 0; color: var(--text); font-size: 15px; }
.is-site .sp-buy.closed .sp-form { opacity: .55; }
.is-site .sp-fs { display: grid; gap: 22px; min-width: 0; margin: 0; padding: 0; border: 0; }
.is-site .sp-fs legend.label { margin-bottom: 10px; padding: 0; }
.is-site .sp-legend { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.is-site .sp-legend .label { margin: 0; }
.is-site .sp-legend .more { font-size: 14px; }
.is-site .sp-form .sizes { gap: 6px; }
.is-site .sp-form .size-btn { min-width: 56px; height: 48px; padding: 0 10px; background: var(--card-2); border: 1px solid #2e2e36; color: var(--text); font: 700 15px var(--font); transition: none; }
.is-site .sp-form .size-btn:hover { background: var(--card-2); border-color: #4a4a55; }
.is-site .sp-form .size-btn[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #070708; }
.is-site .sp-form .qty-list { gap: 6px; }
.is-site .sp-form .qty-row { padding: 6px 6px 6px 16px; background: var(--card); border: 1px solid var(--edge); }
.is-site .sp-form .qty-row b { font: 900 24px/1 var(--num); color: var(--text); }
.is-site .sp-form .stepper { gap: 0; border: 1px solid #2e2e36; }
.is-site .sp-form .stepper button { width: 44px; height: 44px; background: none; color: var(--text); font-size: 20px; font-weight: 500; }
.is-site .sp-form .stepper button:hover { background: #1a1a20; }
.is-site .sp-form .stepper input { width: 52px; height: 44px; border: 0; border-left: 1px solid #2e2e36; border-right: 1px solid #2e2e36; background: none; color: var(--text); font: 900 24px/1 var(--num); -moz-appearance: textfield; appearance: textfield; }
.is-site .sp-form .stepper input::-webkit-inner-spin-button, .is-site .sp-form .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.is-site .sp-opts { display: grid; gap: 8px; }
.is-site .sp-opt { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; background: var(--card-2); border: 1px solid #2e2e36; cursor: pointer; }
.is-site .sp-opt:hover { border-color: #4a4a55; }
.is-site .sp-opt:has(input:checked) { background: var(--pick); border-color: var(--pink-text); }
.is-site .sp-opt input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--pink); }
.is-site .sp-opt > span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.is-site .sp-opt b { font-size: 16px; }
.is-site .sp-opt em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--pink-text); }
.is-site .sp-opt em.free { color: #6ee7b7; }
.is-site .sp-opt small { font-size: 13px; color: var(--sub); }
.is-site .sp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.is-site .sp-form .textarea { min-height: 72px; }
.is-site .sp-form .totals { gap: 8px; padding: 16px 0 0; background: none; border: 0; border-top: 1px solid var(--rule); font-size: 15px; }
.is-site .sp-form .totals dt { color: var(--sub); }
.is-site .sp-form .totals .save { color: #6ee7b7; }
.is-site .sp-form .totals .note { margin: 0; color: #ffd04d; font-size: 13px; }
.is-site .sp-form .totals .grand { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--rule); }
.is-site .sp-form .totals .grand dt { color: var(--text); font-size: 16px; font-weight: 600; }
.is-site .sp-form .totals .grand dd { font-size: 16px; font-weight: 600; color: var(--text); }
.is-site .sp-form .totals .grand .num { font-size: 48px; }
.is-site .sp-submit { min-height: 56px; font-size: 17px; }
.is-site .sp-next { margin: 0; text-align: center; font-size: 14px; }
.is-site .sp-chart { display: grid; gap: 12px; margin-top: 40px; }
.is-site .sp-chart h2 { margin: 0; font-size: 22px; }
.is-site .sp-scroll { overflow-x: auto; }
.is-site .sp-chart-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.is-site .sp-chart-table th, .is-site .sp-chart-table td { padding: 10px 6px; border: 1px solid var(--edge); }
.is-site .sp-chart-table th { color: var(--sub); font-weight: 600; }
.is-site .sp-chart-table thead th { color: var(--text); background: var(--card); }
.is-site dialog.sheet-modal { background: var(--card); border-color: var(--edge); }
.is-site dialog.sheet-modal h2 { margin: 0; font-size: 18px; }

/* Shop: payment, success, tracking */
.is-site .sp-head { display: grid; gap: 8px; padding-top: 24px; }
.is-site .sp-head h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; font-weight: 700; }
.is-site .sp-head h1.order-no { font-size: clamp(36px, 6vw, 56px); line-height: 1; overflow-wrap: anywhere; }
.is-site .sp-head p { margin: 0; }
.is-site .sp-head .sub .order-no { font-size: 22px; }
.is-site .sp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; }
.is-site .sp-cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.is-site .sp-cols > * { flex: 1 1 340px; min-width: 0; }
.is-site .sp-stack { display: grid; gap: 20px; }
.is-site .sp-card { display: grid; gap: 16px; padding: 24px; }
.is-site .sp-card h2 { margin: 0; font-size: 18px; }
.is-site .sp-qr { justify-items: center; text-align: center; }
.is-site .sp-qr h2 { justify-self: start; }
.is-site .sp-qr .qr-frame { box-shadow: none; }
.is-site .sp-amount { display: grid; gap: 4px; }
.is-site .sp-amount p { margin: 0; font-size: 22px; font-weight: 600; }
.is-site .sp-amount .num { font-size: 60px; }
.is-site .sp-amount small { font-size: 13px; }
.is-site .pp-id { font-size: 14px; }
.is-site .pp-id b { font: 900 22px/1 var(--num); letter-spacing: .04em; }
.is-site .pp-id .btn { min-height: 44px; }
.is-site .sp-card .drop { position: relative; min-height: 200px; place-items: center; align-content: center; gap: 8px; padding: 16px; background: var(--card-2); border: 1px dashed #3a3a44; color: var(--sub); }
.is-site .sp-card .drop:hover { background: var(--pick); border-color: var(--pink-text); }
.is-site .sp-card .drop:focus-within { outline: 2px solid var(--pink-text); outline-offset: 2px; }
.is-site .sp-drop-text { display: grid; justify-items: center; gap: 6px; }
.is-site .sp-drop-text .ic { width: 32px; height: 32px; }
.is-site .sp-drop-text b { color: var(--text); }
.is-site .sp-card .error { margin: 0; }
.is-site .sp-card > .btn-lg { min-height: 54px; font-size: 17px; }
.is-site .sp-tick { flex: none; display: grid; place-items: center; width: 64px; height: 64px; background: var(--pink); color: #fff; }
.is-site .sp-tick .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.is-site .sp-sent { display: flex; align-items: center; gap: 16px; }
.is-site .sp-sent .sp-tick { width: 48px; height: 48px; }
.is-site .sp-sent .sp-tick .ic { width: 24px; height: 24px; }
.is-site .sp-sent p { margin: 4px 0 0; }
.is-site .sp-done { display: grid; gap: 18px; justify-items: center; width: 100%; max-width: 620px; margin: 24px auto 0; padding: clamp(28px, 5vw, 48px); background: var(--card); border: 1px solid var(--edge); text-align: center; }
.is-site .sp-done h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; }
.is-site .sp-done > p { margin: 0; max-width: 40ch; }
.is-site .sp-ticket { display: grid; gap: 8px; justify-items: center; padding: 16px 24px; border: 1px dashed #3a3a44; max-width: 100%; }
.is-site .sp-ticket .sub { font-size: 13px; }
.is-site .sp-ticket .order-no { font-size: clamp(26px, 6vw, 34px); line-height: 1; overflow-wrap: anywhere; }
.is-site .sp-done .sp-tip { color: #ffd04d; font-size: 14px; }
.is-site .sp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.is-site .sp-search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.is-site .sp-search .label { margin-bottom: 6px; }
.is-site .sp-search .btn { min-height: 48px; margin-top: 27px; padding: 0 28px; }
.is-site .sp-tl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.is-site .sp-tl li { display: grid; align-content: start; gap: 8px; font-size: 13px; line-height: 1.35; color: #7d7d89; overflow-wrap: anywhere; }
.is-site .sp-tl .bar { height: 6px; background: var(--edge); }
.is-site .sp-tl .done { color: var(--text); }
.is-site .sp-tl .done .bar { background: var(--pink-text); }
.is-site .sp-tl .now { color: #fff; font-weight: 700; }
.is-site .sp-tl .now .bar { background: var(--pink-text); box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--pink-text); }
.is-site .sp-msg { margin: 0; padding: 14px 16px; background: var(--pick); font-size: 15px; }
.is-site .sp-msg.bad { background: #2a1012; color: #fca5a5; }

/* Order summary (shared with the admin order pages; restyled here for the public site only) */
.is-site .sp-page .sum-grid { gap: 14px 18px; font-size: 15px; }
.is-site .sp-page .sum-grid small { color: var(--sub); }
.is-site .sp-page .sum-grid .full:has(table) { overflow-x: auto; }
.is-site .sp-page .items-table th { color: var(--sub); border-bottom-color: var(--rule); }
.is-site .sp-page .items-table td { border-bottom-color: var(--rule); }
.is-site .sp-page .items-table tfoot td { color: var(--sub); }
.is-site .sp-page .items-table tfoot tr:last-child td { color: var(--text); border-top-color: var(--edge); }
.is-site .sp-page .items-table tfoot tr:last-child td:last-child { font: 900 28px/1 var(--num); }
/* Order status (shop.partials.status) as slanted tags */
.is-site .pill[class*="s-"] { height: 26px; padding: 0 14px 0 10px; font-size: 12px; font-weight: 700; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.is-site .pill[class*="s-"]::before { display: none; }
.is-site .pill.s-amber { background: #3a2a05; color: #ffd04d; }
.is-site .pill.s-orange { background: #3a1f0a; color: #fdba74; }
.is-site .pill.s-blue { background: #0d2140; color: #93c5fd; }
.is-site .pill.s-violet { background: #241a40; color: #c4b5fd; }
.is-site .pill.s-emerald { background: #0b2a20; color: #6ee7b7; }
.is-site .pill.s-red { background: #3a1012; color: #fca5a5; }
.is-site .sp-page .contact-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding: 18px 20px; text-align: left; }
.is-site .sp-page .contact-box p { margin: 4px 0 0; color: var(--sub); }
.is-site .sp-page .contact-box .socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-color: #3a3a44; color: var(--text); font-size: 14px; }
.is-site .sp-page .contact-box .socials a:hover { background: none; border-color: var(--pink-text); }

@media (max-width: 900px) {
  .is-site .sp-shop { grid-template-columns: minmax(0, 1fr); }
  .is-site .sp-media { position: static; }
}
@media (max-width: 640px) {
  .is-site .sp-price .num { font-size: 48px; }
  .is-site .sp-search { grid-template-columns: minmax(0, 1fr); }
  .is-site .sp-search .btn { margin-top: 0; width: 100%; }
  .is-site .sp-card { padding: 20px 16px; }
  .is-site .sp-page .notice { padding: 14px 16px; }
  .is-site .sp-page .countdown { width: 100%; }
  .is-site .sp-amount .num { font-size: 52px; }
  .is-site .sp-tl li { font-size: 12px; }
}

/* RoV items */
.is-site .it-bar { display: grid; gap: 12px; margin-bottom: 32px; }
.is-site .it-search { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; background: var(--card-2); border: 1px solid #2e2e36; color: var(--sub); }
.is-site .it-search:focus-within { border-color: var(--pink-text); }
.is-site .it-search input { flex: 1; min-width: 0; min-height: 46px; background: none; border: 0; outline: 0; color: var(--text); font: 16px var(--font); }
.is-site button.chip { background: none; font-family: var(--font); cursor: pointer; }
.is-site button.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #070708; }
.is-site .it-bar-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.is-site .it-count { margin: 0; font-size: 14px; }
.is-site .it-count .num { font-size: 24px; color: var(--text); }
.is-site .it-group { margin: 0 0 40px; }
.is-site .it-group h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-size: 22px; }
.is-site .it-group h2 .sub { font-size: 14px; font-weight: 400; }
.is-site .it-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; }
.is-site .it-tile { display: grid; justify-items: center; align-content: start; gap: 6px; min-height: 0; margin: 0; padding: 14px 8px; background: var(--card); border: 1px solid var(--edge); color: var(--text); text-align: center; transition: none; }
.is-site .it-tile:hover { background: var(--pick); border-color: var(--pink-text); }
.is-site .it-tile b { font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.is-site .it-tile small { font-size: 12px; font-variant-numeric: tabular-nums; }
.is-site .it-ic { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; background: #15151a; border: 1px solid #2a2a31; box-shadow: none; color: var(--sub); }
.is-site .it-ic img { width: 100%; height: 100%; object-fit: cover; }
.is-site .it-ic .dp { font-size: 24px; }
.is-site .it-source { margin: 8px 0 0; font-size: 13px; }
.is-site .it-source a { color: var(--pink-text); }
.is-site .it-crumb { padding-top: 32px; margin-bottom: 16px; }
.is-site .it-crumb a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--sub); font-size: 14px; font-weight: 600; }
.is-site .it-crumb a:hover { color: var(--text); }
.is-site .it-sheet { margin-bottom: 48px; background: var(--card); border: 1px solid var(--edge); }
.is-site .it-sheet-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 24px; border-bottom: 1px solid var(--rule); }
.is-site .it-sheet-head > div { display: grid; gap: 6px; flex: 1 1 220px; min-width: 0; }
.is-site .it-sheet-head .it-ic { width: 96px; height: 96px; }
.is-site .it-sheet-head .it-ic .dp { font-size: 36px; }
.is-site .it-sheet h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; }
.is-site .it-sheet-head p { margin: 0; }
.is-site .it-price { color: var(--sub); }
.is-site .it-price .num { font-size: 52px; color: var(--text); }
.is-site .it-stats { margin: 0; padding: 8px 24px 16px; }
.is-site .it-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.is-site .it-stats div:last-child { border-bottom: 0; }
.is-site .it-stats dt { color: var(--sub); }
.is-site .it-stats dd { margin: 0; font-size: 28px; }
.is-site .it-nostats { margin: 0; padding: 16px 24px; }
.is-site .it-passive { margin: 0 24px 24px; padding: 14px 16px; background: var(--card-2); }
.is-site .it-passive b { font-size: 13px; color: var(--pink-text); }
.is-site .it-passive p { margin: 4px 0 0; line-height: 1.7; white-space: pre-line; }

/* Error pages (standalone, no site layout) */
.is-site .er-page { position: relative; overflow: hidden; display: grid; place-items: center; min-height: calc(100vh - 73px); min-height: calc(100dvh - 73px); padding: 48px clamp(16px, 4vw, 40px); }
.is-site .er-code { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(200px, 34vw, 460px); line-height: .8; letter-spacing: -.02em; color: #121216; pointer-events: none; user-select: none; }
.is-site .er-body { position: relative; display: grid; gap: 16px; justify-items: center; max-width: 520px; text-align: center; }
.is-site .er-body h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }
.is-site .er-body p { margin: 0; color: var(--sub); }
.is-site .er-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
