/* Aussie MMA Hub — dark combat-sports theme, mobile-first
   v12: design system + i18n layout hardening (text expansion, RTL, universal fonts, locale-aware formats)
   60/30/10 palette: dark surfaces 60% · card/panel tones 30% · red accent + gold highlight 10% */
:root {
  /* Surface scale (60/30/10) */
  --bg: #1f1570;
  --bg2: #2a1e8c;
  --card: #35289e;
  --card-hover: #4234bd;
  --line: #5b48e0;
  --text: #f6f4ff;
  --muted: #c0b8f5;
  /* Accent (10%) */
  --red: #ff2e63;
  --red-dark: #d4124a;
  --gold: #ffc531;
  --green: #2ee6a8;
  --blue: #4dabff;
  /* Typography */
  --font-head: system-ui, -apple-system, "Segoe UI", "SF Pro Display", "Noto Sans", "Noto Sans Arabic", "Noto Sans CJK SC", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans Arabic", "Noto Sans CJK SC", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Elevation + motion */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 46, 99, .06), transparent 60%),
    radial-gradient(900px 420px at 0% 0%, rgba(255, 197, 49, .04), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #3b1a8f 0%, #2a1e8c 62%, #1f1570 100%);
  border-bottom: 3px solid var(--red);
  padding: 18px 16px 14px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, .45);
}
.header-inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo-icon { font-size: 28px; }
.logo-img {
  width: 52px; height: 52px; flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 197, 49, .55);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  background: #2a1e8c;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 26px; font-weight: 300; letter-spacing: .5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.logo-text strong { color: var(--red); font-weight: 800; text-transform: uppercase; }
.header-right {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.tagline { color: var(--muted); font-size: 13px; flex: 1 1 100%; overflow-wrap: anywhere; }
.lang-label { font-size: 16px; }
.lang-select {
  background: #37289e; color: #fff; border: 1px solid #5a45b8; border-radius: 8px;
  padding: 6px 10px; font-size: 13px; cursor: pointer; font-family: inherit;
  max-width: 100%;
}
.lang-select:focus { outline: 2px solid var(--red); }

/* Sister-site link (Boxing Hub ⇄ MMA Hub) */
.sister-link {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #5a45b8, #37289e);
  border: 1px solid #8a6ae0; color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  transition: transform .15s, filter .15s;
}
.sister-link:hover { transform: translateY(-1px); filter: brightness(1.1); }
.sister-link:active { transform: translateY(0) scale(.96); }

/* Global search bar (site-wide, every tab) */
.gsearch { position: relative; width: 100%; z-index: 60; }
.gsearch-box {
  display: flex; align-items: center; gap: 8px;
  background: #2a1e8c; border: 1px solid #4a3ab0; border-radius: 999px;
  padding: 8px 14px; transition: border-color .15s, box-shadow .15s;
}
.gsearch-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 197, 49, .18);
}
.gsearch-icon { font-size: 14px; opacity: .7; flex: 0 0 auto; }
.gsearch-input {
  flex: 1 1 auto; min-width: 0; background: transparent; border: none; outline: none;
  color: #fff; font-size: 14px; font-family: inherit;
}
.gsearch-input::placeholder { color: #a99ce8; opacity: 1; }
.gsearch-clear {
  flex: 0 0 auto; background: #362a90; color: #d8d0ff; border: none; cursor: pointer;
  width: 20px; height: 20px; border-radius: 50%; font-size: 11px; line-height: 1;
}
.gsearch-clear:hover { background: #5a45b8; color: #fff; }
.gsearch-drop {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #2a1e8c; border: 1px solid #4a3ab0; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .65);
  overflow: hidden; z-index: 70;
}
.gsearch-results { max-height: 380px; overflow-y: auto; }
.gsearch-empty { padding: 18px 16px; color: #d8d0ff; font-size: 13px; line-height: 1.5; }
.gsearch-empty .gsearch-xlink { color: var(--gold, #d4af37); }
.gsearch-item {
  display: block; width: 100%; text-align: left; background: none; border: none;
  border-bottom: 1px solid #35289e; padding: 9px 14px; cursor: pointer;
  color: #fff; font-family: inherit;
}
.gsearch-item:last-child { border-bottom: none; }
.gsearch-item:hover, .gsearch-item.cur { background: #35289e; }
.gsearch-item-title { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gsearch-item-sub { font-size: 12px; color: #c0b8f5; margin-top: 2px; line-height: 1.35; }
.gsearch-cat {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px;
  color: var(--red); border: 1px solid #7a2a6a; border-radius: 999px; padding: 1px 8px;
  flex: 0 0 auto;
}
.gsearch-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 9px 14px; background: #35289e; border-top: 1px solid #5b48e0;
}
.gsearch-footer-hint { font-size: 11px; color: #a99ce8; }
.gsearch-xlink {
  color: var(--gold, #d4af37); text-decoration: none; font-size: 12px; font-weight: 700;
}
.gsearch-xlink:hover { text-decoration: underline; }
@keyframes gsPop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.gsearch-drop.open { animation: gsPop .12s ease-out; }
@keyframes gsFlash {
  0% { background: rgba(255, 197, 49, .45); }
  100% { background: transparent; }
}
.gs-flash { animation: gsFlash 1.4s ease-out; border-radius: 10px; }


/* Tabs */
.tabs {
  position: sticky; top: 0; z-index: 10;
  display: flex; overflow: visible;   /* NOT auto — a scroller here clips the More menu that hangs below the bar */
  background: rgba(19, 23, 34, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
/* The horizontal tab strip. .tab-more is its SIBLING, never a child — an overflow scroller clips
   anything positioned below it (the More dropdown). See the note in css/theme-pro.css. */
.tabs-scroll {
  display: flex; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: thin;
}
.tab {
  flex: 1 0 auto; min-width: 88px; max-width: 172px;
  background: none; border: none;
  color: var(--muted);
  padding: 13px 10px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
}
.tab:hover { color: var(--text); }
.tab:active { transform: translateY(1px); }
.tab.active {
  color: var(--text); border-bottom-color: var(--red);
  background: linear-gradient(180deg, rgba(255, 46, 99, .10), transparent);
}

/* Main */
main { max-width: 860px; margin: 0 auto; padding: 20px 16px 64px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

h2 {
  font-family: var(--font-head);
  font-size: 20px; margin: 12px 0 12px; color: var(--gold);
  text-transform: uppercase; letter-spacing: .5px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
h3 { font-family: var(--font-head); font-size: 16px; margin: 24px 0 10px; color: var(--text); }
.sub-note { color: var(--muted); font-size: 13px; margin: -6px 0 16px; overflow-wrap: anywhere; }

/* Filter chips */
.filter-row { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #c0b8f5); margin: 2px 0 8px; }
.chip {
  background: var(--card); color: var(--muted);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 7px 15px; font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease), transform .12s var(--ease), box-shadow .15s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--red); transform: translateY(-1px); }
.chip:active { transform: translateY(0) scale(.97); }
.chip.active {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: var(--red); color: #fff;
  box-shadow: 0 3px 10px rgba(255, 46, 99, .35);
}

/* Cards */
.card-list { display: flex; flex-direction: column; gap: 12px; }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--card), #2a1e8c);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover {
  background: linear-gradient(180deg, var(--card-hover), #35289e);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #5b48e0;
}
.card.reading { border-color: var(--red); box-shadow: 0 0 0 2px rgba(255, 46, 99, .25); }
h2.reading, h3.reading, h4.reading, p.reading, li.reading, .train-desc.reading {
  background: rgba(255, 46, 99, .08); border-radius: 6px;
}

/* Per-card "listen" button */
.card-read {
  position: absolute; bottom: 9px; right: 9px; z-index: 5;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card-hover);
  color: var(--text); font-size: 14px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: .75; transition: opacity .12s ease, background .12s ease, transform .12s var(--ease);
}
.card:hover .card-read { opacity: 1; }
.card-read:hover { background: var(--red); color: #fff; border-color: var(--red); transform: scale(1.1); }

/* Floating read-aloud controls in the header */
.read-fab {
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700; padding: 8px 14px;
  color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 3px 10px rgba(255, 46, 99, .3);
  transition: transform .12s var(--ease), filter .12s ease;
  white-space: nowrap;
}
.read-fab:hover { transform: translateY(-1px); filter: brightness(1.08); }
.read-fab:active { transform: translateY(0) scale(.96); }
.read-fab.stop { background: #7a6ae0; box-shadow: none; }

.card-title {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.card-title .tag {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px;
  margin-left: 8px; vertical-align: middle; max-width: 100%; white-space: nowrap;
}
.tag.major { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; }
.tag.international { background: var(--blue); color: #fff; }
.tag.local { background: var(--green); color: #06301c; }
.tag.state { background: #f6c945; color: #35289e; }
.tag.cancelled { background: #6b7280; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.card.is-cancelled { opacity: .72; border-left: 4px solid #6b7280; }
.card.is-cancelled .card-title { text-decoration: line-through; text-decoration-thickness: 2px; }

.card-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 9px; }
.meta-row { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.meta-row b { color: var(--text); font-weight: 600; }
.meta-row a { color: var(--blue); text-decoration: none; }
.meta-row a:hover { text-decoration: underline; }

.card-main {
  font-size: 14px; color: var(--text);
  background: linear-gradient(90deg, rgba(255, 255, 255, .02), transparent 70%), var(--bg2);
  border-inline-start: 3px solid var(--red);
  padding: 9px 11px; border-radius: 0 8px 8px 0;
  margin-bottom: 9px; overflow-wrap: anywhere;
}
.card-links { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: var(--card); border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); text-decoration: none;
  padding: 8px 13px; font-size: 13px; font-weight: 600;
  font-family: var(--font-head);
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease), box-shadow .15s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); box-shadow: 0 3px 8px rgba(255, 46, 99, .25); }
.btn:active { transform: translateY(0) scale(.97); }
.btn.primary { background: linear-gradient(135deg, var(--red), var(--red-dark)); border-color: var(--red); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); box-shadow: 0 4px 12px rgba(255, 46, 99, .4); }
.btn.blue { background: linear-gradient(135deg, #4dabff, #4dabff); border-color: var(--blue); color: #fff; }

/* Boxer ranking cards */
.rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(145deg, #ffc61f, #e09c00);
  color: #1a1200; font-weight: 800; font-size: 15px;
  margin-inline-end: 10px; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(255, 197, 49, .3);
}
.boxer-head { display: flex; align-items: center; }
.fighter-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; margin-right: 10px; flex: 0 0 auto; border: 2px solid rgba(255,197,49,.35); background: #35289e; }
.rank-badge + .fighter-avatar { margin-left: -6px; }
.fighter-avatar.placeholder { display: flex; align-items: center; justify-content: center; font-size: 20px; background: linear-gradient(135deg, #4234bd, #35289e); }
.boxer-name { font-family: var(--font-head); font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.fighter-link { cursor: pointer; border-bottom: 1px dotted var(--accent, #c0b8f5); transition: background .15s ease; }
.fighter-link:hover { background: rgba(255, 255, 255, 0.12); }
.boxer-record { color: var(--gold); font-weight: 700; font-size: 14px; }
.boxer-division { color: var(--muted); font-size: 13px; margin-top: 2px; }
.boxer-fight { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.boxer-fight b { color: var(--text); }
.boxer-note { font-size: 13px; color: var(--muted); margin-top: 6px; border-inline-start: 3px solid var(--line); padding-inline-start: 10px; }

.mentions { display: flex; flex-wrap: wrap; gap: 8px; }
.mentions span {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 6px 12px; font-size: 13px; color: var(--muted);
}

/* TV + patterns */
.pattern-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pattern-list li {
  background: var(--card); border-inline-start: 3px solid var(--gold);
  padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: 13.5px; color: var(--text);
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); padding: 20px 16px 34px;
  text-align: center; color: var(--muted); font-size: 12.5px;
  overflow-wrap: anywhere;
}
.footer-contact { margin-top: 8px; font-size: 13px; }
.footer-contact a { color: var(--gold); text-decoration: underline; word-break: break-all; }

/* Loading */
.loading { text-align: center; color: var(--muted); padding: 60px 0; font-size: 15px; }

/* Empty / error */
.empty { color: var(--muted); text-align: center; padding: 30px 0; }

/* Boxer search */
#boxers-search {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 15px;
  font-size: 14px;
  margin-bottom: 14px;
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
#boxers-search:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 197, 49, .15); }
.active-count {
  display: inline-block;
  background: linear-gradient(135deg, #ffc61f, #e09c00); color: #1a1200;
  font-size: 12px; font-weight: 700;
  padding: 2px 10px; border-radius: 12px;
  vertical-align: middle; margin-inline-start: 6px;
}

/* Reviews */
.review-sub { font-size: 14px; color: var(--muted); font-style: italic; margin-bottom: 8px; }
.review-rating {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  background: var(--bg2); border-radius: 8px;
  padding: 6px 10px; margin-bottom: 8px; font-size: 13.5px;
}
.review-stars { color: var(--gold); letter-spacing: 2px; }
.review-rating-label { color: var(--muted); font-size: 12px; }
.review-call {
  background: var(--bg2); border-inline-start: 3px solid var(--gold);
  padding: 8px 10px; border-radius: 0 6px 6px 0; margin-bottom: 8px;
  font-size: 13.5px; color: var(--text); overflow-wrap: anywhere;
}
.review-h {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: .5px; margin: 12px 0 6px;
}
.review-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.review-list li { font-size: 13.5px; color: var(--text); padding-inline-start: 16px; position: relative; }
.review-list li::before { content: "🥊"; position: absolute; inset-inline-start: 0; top: 0; font-size: 11px; }
.review-quote {
  background: var(--bg2); border-inline-start: 3px solid var(--blue);
  margin: 6px 0; padding: 8px 10px; border-radius: 0 6px 6px 0;
  font-size: 13.5px; color: var(--text); font-style: italic;
}
.review-who { font-style: normal; color: var(--muted); font-size: 12px; margin-top: 4px; }
.review-verdict { font-size: 13.5px; color: var(--text); line-height: 1.65; }
.review-sources { font-size: 12px; color: var(--muted); margin-top: 10px; }
.review-sources a { color: var(--blue); text-decoration: none; word-break: break-all; }
.review-sources a:hover { text-decoration: underline; }

/* Review social: like + comments */
.review-social { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.like-btn {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 20px;
  color: var(--text); font-size: 13px; font-weight: 600;
  padding: 6px 13px; cursor: pointer;
  transition: all .15s var(--ease);
}
.like-btn:hover { border-color: var(--red); transform: translateY(-1px); }
.like-btn:active { transform: scale(.94); }
.like-btn.liked { background: linear-gradient(135deg, var(--red), var(--red-dark)); border-color: var(--red); color: #fff; }
.like-count {
  display: inline-block; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; font-size: 11px; font-weight: 700; padding: 1px 7px; margin-inline-start: 4px;
}
.like-btn.liked .like-count { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.comment-toggle { font-size: 13px; color: var(--muted); cursor: pointer; }

.comment-area { margin-top: 12px; }
.comment-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.comment {
  background: var(--bg2); border-radius: 8px; padding: 8px 10px;
  border: 1px solid var(--line);
}
.comment-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 3px; flex-wrap: wrap; }
.comment-head b { color: var(--gold); font-weight: 700; }
.comment-head span { color: var(--muted); font-size: 11px; }
.comment-text { font-size: 13px; color: var(--text); }
.comment-empty { font-size: 13px; color: var(--muted); }
.comment-form { display: flex; flex-direction: column; gap: 8px; }
.comment-form input.cname, .comment-form textarea.ctext {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); font-size: 13px; padding: 8px 10px; font-family: inherit; outline: none;
}
.comment-form textarea.ctext { resize: vertical; min-height: 44px; }
.comment-form input.cname:focus, .comment-form textarea.ctext:focus { border-color: var(--gold); }
.comment-form .csubmit { align-self: flex-start; }

/* ---------------- Training ---------------- */
.train-grid { display: flex; flex-direction: column; gap: 16px; }
.train-card {
  background: linear-gradient(180deg, var(--card), #2a1e8c);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.train-card h3 { margin: 0 0 6px; color: var(--gold); font-size: 17px; }
.train-desc { color: var(--muted); font-size: 13px; margin-bottom: 12px; overflow-wrap: anywhere; }

.timer-wrap { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.timer-display {
  font-family: var(--font-head);
  font-size: 52px; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums; line-height: 1.1;
  letter-spacing: 2px;
}
.timer-phase { color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 12px; min-height: 20px; }
.timer-controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.timer-field { display: flex; flex-direction: column; gap: 4px; text-align: start; }
.timer-field label {
  font-size: 12px; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}
.timer-field select {
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 10px; font-size: 14px; font-weight: 600;
  outline: none; cursor: pointer; max-width: 100%;
}
.timer-field select:focus { border-color: var(--gold); }
.timer-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.timer-hint { font-size: 12px; color: var(--muted); margin-top: 10px; }

.combo-levels { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.combo-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; min-height: 34px; }
.combo-pill {
  background: var(--bg2); color: var(--muted);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 6px 13px; font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease);
}
.combo-pill:hover { border-color: var(--gold); color: var(--text); transform: translateY(-1px); }
.combo-pill:active { transform: scale(.96); }
.combo-pill.sel { background: linear-gradient(135deg, #ffc61f, #e09c00); border-color: var(--gold); color: #1a1200; }
.combo-player { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.combo-status { display: block; width: 100%; font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.wearables-list { display: flex; flex-direction: column; gap: 12px; }
.wearables-list .card { padding: 12px 14px; }

/* ---------------- Rankings ---------------- */
.rank-champ {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(255, 197, 49, .07), transparent 60%), var(--bg2);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: 12px 14px;
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 10px;
}
.rank-crown { font-size: 18px; }
.rank-vacant { color: var(--muted); font-style: italic; font-weight: 600; }
.rank-list { list-style: none; display: flex; flex-direction: column; }
.rank-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.rank-list li:last-child { border-bottom: none; }
.rank-list li:nth-child(odd) { background: var(--bg2); }
.rank-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  color: var(--muted); font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.rank-list li:nth-child(1) .rank-num { background: linear-gradient(135deg, #ffc61f, #e09c00); border-color: var(--gold); color: #1a1200; }
.rank-list li:nth-child(2) .rank-num { background: #d8d0ff; border-color: #d8d0ff; color: #35289e; }
.rank-list li:nth-child(3) .rank-num { background: #c97b3d; border-color: #c97b3d; color: #1a1200; }
.rank-name { flex: 1; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.rank-state { color: var(--muted); font-size: 12px; font-weight: 600; }
#rank-division {
  width: 100%;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; font-weight: 600;
  outline: none; cursor: pointer;
}
#rank-division:focus { border-color: var(--gold); }


.pattern-list { list-style: none; margin-top: 10px; }
.pattern-list li {
  color: var(--muted); font-size: 13.5px;
  padding: 6px 0 6px 18px; position: relative;
}
.pattern-list li::before {
  content: "▸"; position: absolute; inset-inline-start: 0; color: var(--red);
}

/* Gyms & Sparring Finder */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag-row .tag { margin-left: 0; }
.spar-select-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.spar-select-row select {
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 12px; font-size: 14px; cursor: pointer; flex: 1 1 260px;
}
#gym-state-filter { margin: 4px 0 12px; }
.mini-del {
  float: right; background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 6px; width: 24px; height: 24px; cursor: pointer; font-size: 12px; line-height: 1;
  transition: border-color .12s ease, color .12s ease;
}
.mini-del:hover { border-color: var(--red); color: var(--red); }
.board-post .card-main { margin-top: 4px; }
.gym-phone { margin-top: 2px; }
.gym-phone a {
  color: var(--red); font-weight: 600; text-decoration: none;
}
.gym-phone a:hover { text-decoration: underline; }
.gym-url { color: var(--red); font-weight: 600; text-decoration: none; }
.gym-url:hover { text-decoration: underline; }

/* ---------------- Fighter Profile Overlay ---------------- */
.profile-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20, 12, 60, .82); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.profile-overlay.open { display: flex; }
.profile-panel {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 16px;
  max-width: 600px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 22px; box-shadow: var(--shadow-md); position: relative;
}
.profile-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 15px;
  line-height: 1; transition: border-color .12s ease, color .12s ease;
}
.profile-close:hover { border-color: var(--red); color: var(--red); }
.profile-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.profile-avatar {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  border: 2px solid var(--gold); background: var(--card);
}
.profile-avatar.placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; font-weight: 800; color: var(--gold);
}
.profile-name { font-size: 22px; font-weight: 800; line-height: 1.2; }
.profile-nick { color: var(--muted); font-style: italic; margin-top: 2px; }
.profile-rank { color: var(--gold); font-weight: 700; margin-top: 4px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-field {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px;
}
.profile-field.wide { grid-column: 1 / -1; }
.pf-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); opacity: .85; }
.pf-value { font-size: 14px; color: var(--text); margin-top: 3px; word-break: break-word; }
.pf-value a { color: var(--blue); text-decoration: none; }
.pf-value a:hover { text-decoration: underline; }
.profile-back { margin-top: 16px; }
.profile-blocks { display: flex; flex-direction: column; gap: 14px; }
.profile-block { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: rgba(0,0,0,.15); }
.profile-block-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.fh-list { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; }
.fh-row { display: grid; grid-template-columns: 86px 1fr 44px 1.2fr; gap: 8px; align-items: center; font-size: 12.5px; padding: 6px 8px; border-radius: 8px; background: rgba(0,0,0,.12); }
.fh-row:nth-child(odd) { background: rgba(0,0,0,.22); }
.fh-date { color: var(--text-dim, #c0b8f5); white-space: nowrap; }
.fh-opp { font-weight: 600; }
.fh-result { font-weight: 800; text-align: center; border-radius: 999px; padding: 1px 6px; font-size: 11px; }
.fh-win { color: #fff; background: var(--green); }
.fh-loss { color: #fff; background: var(--red); }
.fh-draw { color: var(--text); background: rgba(255,255,255,.12); }
.fh-venue { color: var(--text-dim, #c0b8f5); text-align: right; }

/* ---------------- Event Detail Overlay ---------------- */
.event-detail-header { margin-bottom: 16px; }
.event-detail-title { font-size: 20px; font-weight: 800; line-height: 1.3; }
.event-detail-cats { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.event-detail-poster { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.event-detail-poster img { width: 100%; height: auto; display: block; max-height: 400px; object-fit: cover; object-position: center; }
.event-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.event-detail-grid .profile-field.wide { grid-column: 1 / -1; }
.event-detail-main { margin-top: 14px; }
.event-detail-main h4 { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.event-detail-main p { color: var(--text); line-height: 1.5; font-size: 14px; }
.event-detail-links { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.event-detail-links .btn { margin: 0; }
/* Ticket info that is not a link ("Registration $250 / event tickets", "Contact club")
   is shown as a note rather than a button, so it can't 404 on our own domain. */
.tix-note, .card-links .tix-note {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .06); border: 1px dashed var(--line-strong, #3a4049);
  color: var(--muted, #a9b1bd); font-size: 13px; line-height: 1.35;
}
.event-detail-map { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.event-detail-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.event-detail-map-placeholder { height: 280px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.event-detail-back { margin-top: 16px; }
@media (max-width: 480px) {
  .event-detail-grid { grid-template-columns: 1fr; }
  .event-detail-map iframe { height: 200px; }
}

@media (max-width: 480px) {
  .fh-row { grid-template-columns: 74px 1fr 38px; }
  .fh-venue { grid-column: 1 / -1; text-align: left; padding-left: 0; }
}
@media (max-width: 480px) {
  .profile-head { flex-direction: column; text-align: center; }
  .profile-avatar { width: 84px; height: 84px; }
  .profile-grid { grid-template-columns: 1fr; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 700px) {
  .logo-text { font-size: 23px; }
  .tab { min-width: 80px; font-size: 12.5px; }
}
@media (max-width: 480px) {
  .logo-text { font-size: 21px; }
  .card-title { font-size: 15px; }
  .header-right .read-fab { padding: 7px 12px; }
  .timer-display { font-size: 46px; }
}
@media (max-width: 360px) {
  .tab { min-width: 74px; font-size: 12px; padding-inline: 8px; }
}

/* ---------------- RTL (for future RTL languages; en/es/fr/tl are LTR) ---------------- */
html[dir="rtl"] .card-main,
html[dir="rtl"] .boxer-note,
html[dir="rtl"] .pattern-list li,
html[dir="rtl"] .review-call,
html[dir="rtl"] .review-quote,
html[dir="rtl"] .rank-champ {
  border-radius: 8px 0 0 8px;
}
html[dir="rtl"] .rank-badge { margin-inline-end: 0; margin-inline-start: 10px; }
html[dir="rtl"] .rank-list li { text-align: right; }
html[dir="rtl"] .card-title .tag { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] .mini-del { float: left; }

/* ===== v20 VIBRANT THEME — colour pass (Scott: "less doom and gloom") ===== */
:root {
  --violet: #7b5cff; --magenta: #ff3ea5; --pink: #ff2e63; --orange: #ff8a3d;
  --cyan: #22d3ee; --teal: #14e0c0; --lime: #b6f04a; --sun: #ffc531; --sky: #4dabff;
  --grad-hero: linear-gradient(120deg, #7b5cff 0%, #ff3ea5 48%, #ff8a3d 100%);
  --grad-cool: linear-gradient(120deg, #22d3ee 0%, #7b5cff 55%, #ff3ea5 100%);
  --grad-warm: linear-gradient(120deg, #ffc531 0%, #ff8a3d 60%, #ff2e63 100%);
}
body {
  background:
    radial-gradient(900px 520px at 88% -6%, rgba(255, 62, 165, .30), transparent 62%),
    radial-gradient(820px 460px at 2% 4%, rgba(34, 211, 238, .26), transparent 60%),
    radial-gradient(760px 500px at 50% 108%, rgba(255, 138, 61, .22), transparent 62%),
    radial-gradient(700px 420px at 12% 82%, rgba(123, 92, 255, .34), transparent 60%),
    linear-gradient(180deg, #2a1e8c 0%, #3224a8 55%, #241a7a 100%);
  background-attachment: fixed;
}
.site-header {
  background: linear-gradient(120deg, #3b1a8f 0%, #7b2bb8 40%, #c02a7a 72%, #e0642a 100%);
  border-bottom: 3px solid #ff3ea5;
}
.logo-text strong { color: #ffe066; }
.tagline { color: #efe6ff; }
.lang-select { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .34); }
.sister-link { background: linear-gradient(135deg, #ff3ea5, #7b5cff); border-color: transparent; color: #fff; }
.gsearch-box { background: rgba(0, 0, 0, .28); border-color: rgba(255, 255, 255, .28); }
.gsearch-box:focus-within { border-color: #22d3ee; box-shadow: 0 0 0 3px rgba(34, 211, 238, .28); }
.gsearch-drop { background: #2a1e8c; border-color: rgba(255, 255, 255, .24); }

/* tab bar — colourful pills, no more monochrome strip */
.tabs { background: transparent; }
.tab {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .20);
  color: #ece6ff;
}
.tab:hover { background: rgba(255, 255, 255, .18); }
.tab.active {
  background: var(--grad-hero);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 62, 165, .45);
}

/* headings — gradient text instead of flat white */
h2 {
  background: var(--grad-cool);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}
h3 { color: #ffd166; }
.sub-note { color: #d9d2ff; }
.card-main, .card-meta, .meta-row, .boxer-note, .boxer-division, .train-desc { color: #e0daff; }
.card-main b, .meta-row b { color: #ffffff; }
.gsearch-input::placeholder { color: #cfc6ff; }
.tagline { color: #f2ecff; }

/* cards — coloured left rail cycling through the palette */
.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)), var(--card);
  border: 1px solid rgba(255, 255, 255, .15);
  border-left: 4px solid var(--violet);
}
.card-list > .card:nth-child(5n+1) { border-left-color: var(--magenta); }
.card-list > .card:nth-child(5n+2) { border-left-color: var(--cyan); }
.card-list > .card:nth-child(5n+3) { border-left-color: var(--lime); }
.card-list > .card:nth-child(5n+4) { border-left-color: var(--orange); }
.card-list > .card:nth-child(5n+5) { border-left-color: var(--sky); }
.card:hover { box-shadow: 0 10px 30px rgba(123, 92, 255, .38); }
.card-title { color: #fff; }

/* chips, buttons, tags */
.chip { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); color: #e8e2ff; }
.chip.active { background: var(--grad-hero); border-color: transparent; color: #fff; }
.btn { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .24); color: #f4f0ff; }
.btn.primary { background: var(--grad-hero); border-color: transparent; color: #fff; }
.btn.blue { background: linear-gradient(120deg, #22d3ee, #4dabff); border-color: transparent; color: #04213a; }
.tag { background: rgba(255, 255, 255, .16); color: #fff; }
.tag.major { background: var(--grad-warm); color: #33180a; }
.tag.international { background: linear-gradient(120deg, #22d3ee, #4dabff); color: #04213a; }
.tag.local { background: linear-gradient(120deg, #14e0c0, #b6f04a); color: #06301c; }
.rank-badge { background: var(--grad-hero); color: #fff; }
.rank-champ { background: var(--grad-warm); color: #33180a; }
.rank-num { background: linear-gradient(120deg, #7b5cff, #22d3ee); color: #fff; }
.rank-list li:nth-child(odd) { background: rgba(255, 255, 255, .07); }
.fighter-avatar { border-color: rgba(255, 255, 255, .55); box-shadow: 0 0 0 2px rgba(255, 62, 165, .40); }
.review-stars, .review-rating { color: #ffc531; }
.like-btn.liked { background: var(--grad-hero); border-color: transparent; color: #fff; }
.med-track { background: linear-gradient(90deg, #22d3ee, #b6f04a); }
.site-footer { border-top-color: #ff3ea5; }

/* ===== end v20 vibrant theme ===== */

/* ===== v20 ENGAGEMENT — Aussie Spotlight, Reels, Comps ===== */

/* ---------- Aussie Spotlight strip ---------- */
.spot-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.spot-head h3 { margin-bottom: 4px; }
.spot-strip {
  display: flex; gap: 14px; overflow-x: auto; padding: 8px 2px 18px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  /* Scott, 20 Nov 2026: "can we change the size of the box in red they are to tall make
     them shorter so we can see more of the screen instead on the empty space under the
     writing" ... then "they can all be one size. I'm not worried if the text doesn't fit
     into the box they can click on it". So: every card the same height (stretch), the
     height capped, and the blurb capped so the text that doesn't fit is simply clipped. */
  align-items: stretch;
}
.spot-strip::-webkit-scrollbar { height: 8px; }
.spot-strip::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .3); border-radius: 8px; }
.spot-card {
  flex: 0 0 268px; scroll-snap-align: start; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 16px; padding: 14px 13px 12px;
  max-height: 330px;   /* one size for every card; extra text is clipped (Scott's call) */
}
/* the spotlight card is a real link now — every click loads a page, never a pop-up */
a.spot-card { text-decoration: none; color: inherit; cursor: pointer; display: flex; flex-direction: column; }
a.spot-card:hover { border-color: rgba(255, 255, 255, .48); transform: translateY(-2px); }
a.spot-card:focus-visible { outline: 2px solid var(--ring-red, #e01b1b); outline-offset: 2px; }
.spot-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-hero); }
.spot-card:nth-child(4n+1)::before { background: linear-gradient(90deg, #ffc531, #ff8a3d); }
.spot-card:nth-child(4n+2)::before { background: linear-gradient(90deg, #22d3ee, #4dabff); }
.spot-card:nth-child(4n+3)::before { background: linear-gradient(90deg, #14e0c0, #b6f04a); }
.spot-card:nth-child(4n+4)::before { background: linear-gradient(90deg, #ff3ea5, #7b5cff); }
.spot-flag {
  position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 800; letter-spacing: .08em;
  background: rgba(0, 0, 0, .35); color: #ffe066; padding: 3px 7px; border-radius: 999px;
}
.spot-name { font-weight: 800; font-size: 17px; color: #fff; margin-top: 8px; line-height: 1.25; }
.spot-nick { color: #ffd166; font-style: italic; font-size: 13px; margin-top: 2px; }
.spot-meta { font-size: 12.5px; color: #ded8ff; margin-top: 8px; line-height: 1.45; }
.spot-meta b { color: #fff; }
.spot-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.spot-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; }
.spot-badge.champ { background: linear-gradient(120deg, #ffc531, #ff8a3d); color: #33180a; }
.spot-badge.rank { background: linear-gradient(120deg, #7b5cff, #22d3ee); color: #fff; }
.spot-badge.sport { background: linear-gradient(120deg, #ff3ea5, #7b5cff); color: #fff; }
/* Same request as the strip above: the long blurb was what made the tallest card tall, so
   cap it at four lines and trim the box padding. Card 468px -> 328px, strip 494px -> 354px. */
.spot-why {
  font-size: 12.5px; color: #f0ecff; margin-top: 9px; border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 8px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
  line-clamp: 4; overflow: hidden;
}

/* ---------- Reels ---------- */
.reel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(276px, 1fr)); gap: 16px; }
.reel {
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; overflow: hidden;
}
.reel-thumb { position: relative; aspect-ratio: 16 / 9; background: #120c3a; cursor: pointer; }
.reel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.reel-play i {
  width: 58px; height: 58px; border-radius: 50%; background: var(--grad-hero); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-style: normal;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .55); padding-left: 4px;
}
.reel-body { padding: 12px 13px 14px; }
.reel-title { font-weight: 700; color: #fff; font-size: 14.5px; line-height: 1.35; }
.reel-sub { font-size: 12px; color: #d7cfff; margin-top: 6px; }
.reel iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* ---------- Polls ---------- */
.poll-item {
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .2); border-left: 4px solid #ff8a3d;
  border-radius: 14px; padding: 14px; margin-bottom: 12px;
}
.poll-item:nth-child(3n+2) { border-left-color: #22d3ee; }
.poll-item:nth-child(3n+3) { border-left-color: #b6f04a; }
.poll-title { font-weight: 700; color: #fff; font-size: 15px; }
.poll-sub { font-size: 12.5px; color: #d7cfff; margin-top: 5px; }
.poll-bar { height: 12px; border-radius: 999px; background: rgba(0, 0, 0, .3); overflow: hidden; margin-top: 10px; }
.poll-fill { height: 100%; width: 0; background: var(--grad-warm); border-radius: 999px; transition: width .45s ease; }
.poll-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.poll-count { font-size: 12.5px; color: #e6e0ff; }
.poll-vote {
  border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 13px; padding: 7px 16px;
  border-radius: 999px; background: var(--grad-hero); color: #fff;
}
.poll-vote:disabled { opacity: .65; cursor: default; }
.poll-voted { background: linear-gradient(120deg, #14e0c0, #b6f04a); color: #06301c; }

/* ---------- Tipping ---------- */
.tip-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .2); border-left: 4px solid #7b5cff;
  border-radius: 14px; padding: 14px; margin-bottom: 12px;
}
.tip-event { font-weight: 700; color: #fff; font-size: 15px; }
.tip-when { font-size: 12.5px; color: #d7cfff; margin-top: 4px; }
.tip-bouts { margin-top: 12px; }
.tip-bout { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.tip-bout:first-child { border-top: 0; }
.tip-bout-name { font-size: 13.5px; color: #f2eeff; flex: 1 1 150px; }
.tip-pick {
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08);
  color: #f2eeff; font: inherit; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; cursor: pointer;
}
.tip-pick.on { background: var(--grad-hero); border-color: transparent; color: #fff; font-weight: 700; }
.tip-sum { font-size: 12.5px; color: #ffd166; margin-top: 10px; font-weight: 700; }

/* ---------- Comps ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.comp-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 16px; padding: 16px; position: relative; overflow: hidden;
}
.comp-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--grad-hero); opacity: .22; }
.comp-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: #ffe066; }
.comp-title { font-weight: 800; font-size: 17px; color: #fff; margin-top: 6px; }
.comp-blurb { font-size: 13px; color: #eae4ff; margin-top: 8px; line-height: 1.55; }
.comp-how { font-size: 12.5px; color: #d7cfff; margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 10px; }

/* ---------- Ticket rail ---------- */
.tix-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tix-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .2); border-left: 4px solid #22d3ee;
  border-radius: 12px; padding: 12px 14px;
}
.tix-name { font-weight: 700; color: #fff; font-size: 14px; }
.tix-meta { font-size: 12px; color: #d7cfff; margin-top: 4px; }

/* ---------- Event promo block (fight-week promo) ---------- */
.ev-promo { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.ev-promo-tagline {
  font-size: 17px; font-weight: 800; line-height: 1.35; color: #fff;
  background: var(--grad-hero); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}
.ev-promo-result {
  margin-top: 10px; font-size: 14px; font-weight: 800; letter-spacing: .3px;
  color: #0b0b0d; background: linear-gradient(90deg, #ffe066, #f7c948);
  border-radius: 12px; padding: 11px 14px; line-height: 1.4;
}
.ev-promo-result::before { content: "FINAL RESULT  "; font-weight: 900; opacity: .72; }
.ev-countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.ev-cd-cell {
  flex: 1 1 68px; text-align: center; border-radius: 12px; padding: 10px 6px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .25);
}
.ev-cd-num { font-size: 24px; font-weight: 800; color: #ffe066; line-height: 1; }
.ev-cd-lab { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #eae4ff; margin-top: 5px; }
.ev-promo-sec { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, .03); }
.ev-promo-sec h4 { font-size: 14px; font-weight: 800; color: var(--gold); margin: 0 0 10px; letter-spacing: .02em; }
.ev-bout { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); }
.ev-bout:first-child { border-top: 0; padding-top: 0; }
.ev-bout-body { flex: 1 1 auto; }
.ev-bout-main { font-size: 14px; font-weight: 700; color: #fff; }
.ev-bout-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ev-bout-badge { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: #06121f; background: #ffe066; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.ev-tix-table { width: 100%; border-collapse: collapse; }
.ev-tix-table td { padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text); }
.ev-tix-table tr:first-child td { border-top: 0; }
.ev-tix-table td:last-child { text-align: right; font-weight: 800; color: #ffe066; white-space: nowrap; }
.ev-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ev-video { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; background: #06121f; }
.ev-video img { width: 100%; height: 112px; object-fit: cover; display: block; }
.ev-video iframe { width: 100%; height: 200px; border: 0; display: block; }
.ev-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.ev-video-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 11.5px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.ev-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.ev-gallery img { width: 100%; height: 92px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.ev-quote { border-left: 3px solid #ffe066; padding: 4px 0 4px 12px; margin-bottom: 12px; }
.ev-quote:last-child { margin-bottom: 0; }
.ev-quote-text { font-size: 13.5px; color: #f2eeff; line-height: 1.55; font-style: italic; }
.ev-quote-who { font-size: 12px; color: var(--gold); font-weight: 800; margin-top: 6px; }
.ev-quote-src { font-size: 11px; color: var(--muted); margin-top: 2px; }
.ev-poll-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-poll-btn { border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #f2eeff; font: inherit; font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.ev-poll-btn.on { background: var(--grad-hero); border-color: transparent; color: #fff; }
.ev-poll-note { font-size: 12px; color: var(--muted); margin-top: 9px; }
.ev-tape-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.ev-tape-row:first-child { border-top: 0; }
.ev-tape-a { text-align: right; font-weight: 800; color: #fff; font-size: 13.5px; }
.ev-tape-b { text-align: left; font-weight: 800; color: #fff; font-size: 13.5px; }
.ev-tape-lab { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ev-fact { font-size: 13px; color: var(--text); line-height: 1.55; padding: 5px 0 5px 18px; position: relative; }
.ev-fact::before { content: "★"; position: absolute; left: 0; color: #ffe066; }
.ev-promo-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-promo-cta .btn { margin: 0; }
@media (max-width: 620px) {
  .ev-tix-table td { font-size: 12.5px; }
  .ev-video-grid, .ev-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 620px) {
  .spot-card { flex: 0 0 232px; }
  .reel-grid, .comp-grid, .tix-list { grid-template-columns: 1fr; }
}
/* ============ Analytics tab (js/analytics.js) ============ */
.an-count { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }

.an-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; }
.an-kpi { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.an-kpi-v { font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--gold); }
.an-kpi-l { font-size: 12.5px; font-weight: 600; margin-top: 4px; color: var(--text); }
.an-kpi-s { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.an-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.an-table tr { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.an-table tr:last-child { border-bottom: 0; }
.an-table td { padding: 8px 6px; font-size: 13.5px; vertical-align: middle; }
.an-rank { width: 26px; font-weight: 700; color: var(--muted); text-align: right; }
.an-num { width: 62px; text-align: right; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.an-bar { height: 5px; background: rgba(255, 255, 255, .10); border-radius: 3px; margin-top: 5px; overflow: hidden; }
.an-bar span { display: block; height: 100%; background: var(--red); border-radius: 3px; }

.an-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.an-stat, .an-leader { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.an-stat-v { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--green); line-height: 1.1; }
.an-stat-l { font-size: 12.5px; font-weight: 600; color: var(--text); margin-top: 3px; }
.an-leader-n { font-size: 14.5px; font-weight: 700; margin: 5px 0 3px; }

.an-mrow { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 8px; padding: 10px 12px; transition: background .15s var(--ease), transform .15s var(--ease); }
.an-mrow:hover { background: rgba(255, 255, 255, .10); transform: translateY(-1px); }
.an-mname { font-size: 14.5px; font-weight: 700; color: var(--text); }
.an-mmeta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.an-mlast { font-size: 11.5px; color: var(--muted); opacity: .8; margin-top: 3px; }

.an-count, .an-kpi-v, .an-stat-v, .an-num { -webkit-font-smoothing: antialiased; }

/* Prayer for the fighters */
.prayer-card { max-width: 660px; margin: 18px auto; padding: 22px 26px;
  border: 1px solid rgba(255, 214, 120, .30); border-left: 4px solid #ffd678;
  border-radius: 14px; background: rgba(255, 255, 255, .045); }
.prayer-body { font-size: 1.06rem; line-height: 1.8; color: #f3f4f6; margin: 0; }
.prayer-amen { margin: 16px 0 0; font-weight: 700; color: #ffd678; letter-spacing: .03em; }


/* ===== nav trim (19 Nov 2026): 6 core tabs + a More menu ===== */
.tab-more { position: relative; }
.tab-more-summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tab-more-summary::-webkit-details-marker { display: none; }
.tab-more-summary::after { content: "▾"; font-size: 11px; opacity: .7; }
.tab-more[open] > .tab-menu { display: flex; }
.tab-more > .tab-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 210px; flex-direction: column; gap: 2px; padding: 6px;
  background: #17181c; border: 1px solid rgba(255,255,255,.10); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.footer-meta { color: rgba(255,255,255,.55); font-size: 12.5px; line-height: 1.5; margin: 0; }

/* ===== Fighter page (full profile) — built 2026-11-20 ===== */
.fp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fp-badge { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.fp-badge.gold { background: rgba(216,161,58,.16); border-color: rgba(216,161,58,.5); color: var(--gold); }
.fp-body { display: block; }
.fp-fights { display: flex; flex-direction: column; gap: 4px; }
.fp-fight { display: grid; grid-template-columns: 92px 1fr 40px 1.1fr; gap: 8px; align-items: center;
  font-size: 12.5px; padding: 7px 9px; border-radius: 8px; background: rgba(0,0,0,.12); }
.fp-fight:nth-child(odd) { background: rgba(0,0,0,.22); }
.fp-fight-date { color: var(--muted); white-space: nowrap; }
.fp-fight-opp { font-weight: 650; display: flex; flex-direction: column; gap: 2px; }
.fp-fight-title { font-size: 11px; font-weight: 500; color: var(--gold); }
.fp-fight-res { font-weight: 800; text-align: center; }
.fp-fight-loc { color: var(--muted); font-size: 12px; }
.fp-fight-cards { grid-column: 1 / -1; font-size: 12px; color: var(--gold); padding: 2px 9px 4px 101px; }
.fp-card-k { text-transform: uppercase; font-size: 10.5px; letter-spacing: .07em; color: var(--muted); margin-right: 6px; }
.fp-count { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.fp-empty { font-size: 12.5px; color: var(--muted); font-style: italic; }
.fp-plain { font-weight: 650; }
.fp-news-list { display: flex; flex-direction: column; gap: 10px; }
.fp-news { display: flex; flex-direction: column; gap: 3px; padding: 9px 10px; border-radius: 8px;
  background: rgba(0,0,0,.14); border-left: 2px solid var(--gold); }
.fp-news-date { font-size: 11px; color: var(--muted); }
.fp-news-title { font-size: 13px; font-weight: 700; }
.fp-news-sum { font-size: 12.5px; color: var(--text); opacity: .88; }
.fp-news-src { font-size: 11px; color: var(--muted); }
.fp-sponsors { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-sponsor { font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 8px; text-decoration: none;
  color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.fp-sponsor:hover { border-color: var(--gold); color: var(--gold); }
.fp-sources { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.fp-sources a { color: var(--muted); text-decoration: none; }
.fp-sources a:hover { color: var(--gold); }
@media (max-width: 620px) {
  .fp-fight { grid-template-columns: 76px 1fr 34px; }
  .fp-fight-loc { grid-column: 2 / -1; font-size: 11.5px; }
  .fp-fight-cards { padding-left: 0; }
}

/* ---- "Add to Home screen" button + guide (Scott, 20 Nov 2026) --------------
   MOVE IT: the button is ONE line in index_boxing.html (<button id="install-app">) —
   cut that line and paste it wherever you want it in the header.
   DELETE IT: remove that line, this whole block, and the "Add to Home screen" block at
   the end of js/app.js. Nothing else references it.

   iPhone: Safari's Share button sits in the toolbar at the bottom of the screen, so the
   guide sits above it and an arrow animates down into it. iPad Safari keeps Share at the
   top, so that version points up instead. */

.install-fab {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-strong, #3a4049);
  color: var(--text);
  font-family: var(--font-head); font-size: 13px; font-weight: 650; letter-spacing: .02em;
  padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.install-fab:hover { border-color: var(--gold); color: var(--gold); }

.install-shade { position: fixed; inset: 0; background: rgba(0, 0, 0, .62); z-index: 1200; }
.install-sheet {
  position: fixed; left: 12px; right: 12px; bottom: 72px; z-index: 1201;
  max-width: 470px; margin: 0 auto;
  background: var(--surface-2, #1a1d22); border: 1px solid var(--line-strong, #3a4049);
  border-radius: 16px; padding: 18px 18px 14px; color: var(--text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  animation: installIn .18s ease-out;
}
@keyframes installIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.install-sheet h3 { margin: 0 0 6px; font-family: var(--font-head); font-size: 21px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; }
.install-sub { margin: 0 0 12px; color: var(--text-muted); font-size: 13px; }
.install-steps { margin: 0 0 12px; padding-left: 20px; font-size: 13.5px; line-height: 1.55; }
.install-steps li { margin-bottom: 8px; }
.install-ico { vertical-align: -3px; color: var(--gold); }
.install-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.install-note { margin: 10px 0 0; color: var(--text-dim, #767f8c); font-size: 11.5px; line-height: 1.45; }
.install-x {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line, #2a2f37); color: var(--text-muted);
  cursor: pointer; line-height: 1; font-size: 13px;
}
.install-arrow {
  position: fixed; left: 50%; bottom: 12px; z-index: 1202;
  margin-left: -14px; width: 28px; text-align: center;
  font-size: 30px; line-height: 1; color: var(--gold);
  animation: installBounceDown .9s ease-in-out infinite;
}
.install-arrow.up { bottom: auto; top: 12px; animation-name: installBounceUp; }
@keyframes installBounceDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes installBounceUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 700px) {
  .install-sheet { bottom: 68px; padding: 16px 14px 12px; }
  .install-sheet h3 { font-size: 19px; }
}

/* Next fights on each channel in the TV Guide (Scott, 20 Nov 2026: "can u put on the tv guid the
   next fights on that channel time and date and names?"). One row per upcoming card, tapped to open
   the same event sheet the Events tab uses (the row carries data-event-id). */
.tv-next { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.tv-next-head {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 6px;
}
.tv-next-row { padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); cursor: pointer; }
.tv-next-row:last-child { border-bottom: 0; }
.tv-next-row:hover { background: var(--surface-2); }
.tv-next-when { color: var(--text); font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tv-next-who { color: var(--text-muted); font-size: 14px; line-height: 1.45; }
.tv-next-meta { color: var(--text-dim); font-size: 12px; }
.tv-next-none { color: var(--text-dim); font-size: 13px; line-height: 1.5; }

/* share row — every article, fighter page and the hub footer carry one (Scott, 20 Nov 2026:
   "how can we share the page and facebook page to as many people at once"). Explicit
   WhatsApp / Facebook / copy buttons, plus the native share sheet when the browser has one.
   Links are filled from the page's own canonical URL at click time, so the same markup works
   on 648 static pages and in the app. */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.share-row-label { color: var(--text-dim, var(--muted)); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface-1, #171a20);
  color: var(--text); font: 600 13px/1 var(--font-head, system-ui); text-decoration: none; cursor: pointer;
}
.share-btn:hover { border-color: var(--accent, #d8a13a); color: var(--accent, #d8a13a); }
.share-btn.done { border-color: var(--ok, #3f9c6b); color: var(--ok, #3f9c6b); }
.footer-follow { color: var(--text-muted, var(--muted)); font-size: 13.5px; margin: 6px 0; }
.footer-follow a { color: var(--accent, #d8a13a); }


/* Aussie Boxing Hub — v21 Broadcast theme.
   V21 THEME REVERT: remove the theme-pro stylesheet line from the HTML head.
   Revert: delete the one the theme-pro stylesheet line line. */
@font-face{font-family:"Barlow Condensed";src:url("../assets/fonts/barlow-condensed-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url("../assets/fonts/barlow-condensed-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url("../assets/fonts/barlow-condensed-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root{
  --bg:#0b0c0e;--surface-1:#131519;--surface-2:#1a1d22;--surface-3:#23272e;
  --line:#2a2f37;--line-strong:#3a4049;--text:#f4f5f7;--text-muted:#a3abb6;--text-dim:#767f8c;
  --accent:#d8a13a;--accent-hi:#f0bd5e;--accent-ink:#1a1205;--live:#d8402f;--blue:#3f6fd8;--ok:#3f9c6b;
  --focus:#f0bd5e;--font-head:"Barlow Condensed","Oswald","Arial Narrow",system-ui,sans-serif;
  --font-body:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:24px;--s-6:32px;--s-7:40px;--s-8:48px;
  --ease:ease-out;
}
*{box-sizing:border-box}html{background:var(--bg);scroll-padding-top:116px}body{background:var(--bg)!important;color:var(--text);font-family:var(--font-body);font-size:15px;line-height:1.65;overflow-x:hidden}
body,.site-header,.tabs,.card,.train-card,.profile-panel,.gsearch-drop,.tab-menu,.reel,.comp-card,.poll-item,.tix-item,.an-kpi,.an-stat,.an-leader{box-shadow:none!important}
:where(button,a,input,select,summary,textarea):focus-visible{outline:2px solid var(--focus)!important;outline-offset:3px}
:where(button,a,input,select,summary,textarea){transition:color 160ms var(--ease),background-color 160ms var(--ease),border-color 160ms var(--ease),opacity 160ms var(--ease),transform 160ms var(--ease)!important}

.site-header{position:sticky;top:0;z-index:50;background:var(--surface-2)!important;border-bottom:1px solid var(--line)!important;padding:10px 16px!important}
.header-inner{max-width:1240px!important;flex-direction:row!important;align-items:center;gap:16px}.logo{flex:0 1 auto}.logo-img{width:38px!important;height:38px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--surface-1)!important}.logo-icon,.gsearch-icon{display:none!important}.logo-text{font-family:var(--font-head)!important;font-size:clamp(22px,3vw,30px)!important;font-weight:600!important;letter-spacing:.02em!important}.logo-text strong{color:var(--accent)!important;font-weight:700}.gsearch{max-width:360px;flex:1}.gsearch-box{background:var(--surface-1)!important;border:1px solid var(--line)!important;border-radius:8px!important;padding:7px 10px!important}.gsearch-box:focus-within{border-color:var(--line-strong)!important;box-shadow:0 0 0 3px rgb(240 189 94 / .25)!important}.gsearch-input{color:var(--text)!important;font-size:14px!important}.gsearch-input::placeholder{color:var(--text-dim)!important}.gsearch-drop{background:var(--surface-2)!important;border:1px solid var(--line)!important;border-radius:10px!important}.gsearch-item{color:var(--text)!important;border-color:var(--line)!important}.gsearch-item:hover,.gsearch-item.cur{background:var(--surface-3)!important}.header-right{margin-left:auto;flex:0 1 auto;gap:8px!important}.tagline{display:none}.lang-label{font-size:0}.lang-label::after{content:"LANG";font-family:var(--font-head);font-size:12px;color:var(--text-muted);letter-spacing:.08em}.lang-select{background:var(--surface-1)!important;color:var(--text)!important;border:1px solid var(--line)!important;border-radius:8px!important}.read-fab,.sister-link{background:transparent!important;border:1px solid var(--line)!important;border-radius:8px!important;color:var(--text)!important;box-shadow:none!important}.read-fab:hover,.sister-link:hover{background:var(--surface-3)!important;border-color:var(--line-strong)!important;filter:none!important}

.tabs{top:59px;z-index:40;position:sticky;background:var(--surface-1)!important;border-bottom:1px solid var(--line)!important;overflow:visible!important;scrollbar-width:none;padding:0 16px;isolation:isolate}
/* Scott, 20 Nov 2026 — "nothing happens when I click the more tab". Cause: .tabs carried
   overflow-x:auto, and a box with overflow-x:auto computes overflow-y to auto too, so the
   absolutely-positioned More menu (top:calc(100% + 4px), i.e. BELOW the bar) was clipped away:
   <details> opened, the menu was in the DOM, no pixels were painted and the taps fell through to
   the page. The horizontal scrolling now lives on .tabs-scroll and .tab-more is its sibling, so
   nothing clips the menu. Do NOT put overflow back on .tabs, and do NOT move More inside
   .tabs-scroll. */
.tabs-scroll{display:flex;flex:1 1 auto;min-width:0;align-items:stretch;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tabs-scroll::after{content:"";position:sticky;right:0;align-self:stretch;flex:0 0 auto;min-width:28px;margin-left:-28px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--surface-1));z-index:3}.tab{font-family:var(--font-head)!important;font-size:14px!important;font-weight:600!important;letter-spacing:.04em;text-transform:uppercase;background:transparent!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;color:var(--text-muted)!important;min-width:max-content!important;max-width:none!important;padding:14px 12px!important}.tab:hover{color:var(--text)!important;background:var(--surface-2)!important}.tab.active{color:var(--accent)!important;background:transparent!important;border-bottom-color:var(--accent)!important}.tab-more{flex:0 0 auto;position:relative}.tab-more-summary{font-family:var(--font-head);font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);min-height:46px;padding:14px 12px}.tab-more-summary:hover{color:var(--text);background:var(--surface-2)}.tab-more-summary::after{color:var(--accent)!important}.tab-more>.tab-menu{top:calc(100% + 4px)!important;right:0;background:var(--surface-2)!important;border:1px solid var(--line)!important;border-radius:10px!important;padding:4px!important;min-width:220px!important;box-shadow:0 8px 24px rgb(0 0 0 / .45)!important}.tab-menu .tab{display:block;width:100%;text-align:left;border-bottom:0!important;border-radius:8px!important;padding:10px 12px!important}.tab-menu .tab.active{background:var(--surface-3)!important;color:var(--accent)!important}

main{max-width:1240px!important;padding:32px 20px 64px!important}.tab-panel.active{animation:none!important}h1,h2,h3,h4,.card-title,.boxer-name,.profile-name,.timer-display,.an-kpi-v,.an-stat-v,.spot-name,.comp-title,.reel-title,.tix-name{font-family:var(--font-head)!important;color:var(--text)!important;text-wrap:balance}h2{font-size:clamp(26px,3vw,30px)!important;line-height:1!important;letter-spacing:.01em!important;margin:32px 0 16px!important;text-transform:uppercase!important;background:none!important;-webkit-text-fill-color:currentColor!important;filter:none!important}h2::before{content:"";width:3px;height:1em;background:var(--accent);display:inline-block;margin-right:8px}h3{font-size:clamp(20px,2.4vw,22px)!important;line-height:1.05!important;margin:24px 0 12px!important;text-transform:uppercase;letter-spacing:.015em}.sub-note,.train-desc{color:var(--text-muted)!important;font-size:15px!important;line-height:1.6!important;text-wrap:pretty}.card-list{gap:12px!important}.card,.train-card{background:var(--surface-1)!important;border:1px solid var(--line)!important;border-left:1px solid var(--line)!important;border-radius:10px!important;padding:16px!important}.card-list>.card:nth-child(n){border-left:1px solid var(--line)!important}.card:hover,.train-card:hover{background:var(--surface-2)!important;border-color:var(--line-strong)!important;transform:translateY(-1px)!important}.card-title,.boxer-name{font-size:clamp(20px,2.5vw,24px)!important;line-height:1!important;margin-bottom:8px!important}.card-meta,.meta-row,.boxer-division,.boxer-note,.card-main{color:var(--text-muted)!important}.meta-row,.boxer-record,.rank-state,.timer-display,.an-num,.ev-cd-num{font-variant-numeric:tabular-nums}.meta-row a,.gym-phone a,.gym-url,.review-sources a,.footer-contact a{color:var(--accent)!important}.card-main,.review-call,.review-quote,.boxer-note{background:var(--surface-2)!important;border-left:2px solid var(--line-strong)!important;border-radius:0 8px 8px 0!important;color:var(--text)!important}.card-main b,.meta-row b{color:var(--text)!important}

.chip,.mentions span,.combo-pill,.tip-pick{background:transparent!important;border:1px solid var(--line)!important;border-radius:999px!important;color:var(--text-muted)!important;font-family:var(--font-head);font-weight:600}.chip:hover,.mentions span:hover,.combo-pill:hover{border-color:var(--line-strong)!important;color:var(--text)!important}.chip.active,.combo-pill.sel{background:var(--surface-3)!important;border-color:var(--accent)!important;color:var(--accent)!important;box-shadow:none!important}.tag,.card-title .tag,.spot-badge,.comp-tag{background:transparent!important;border:1px solid var(--line)!important;border-radius:999px!important;color:var(--text-muted)!important;font-family:var(--font-head);font-size:11px!important;letter-spacing:.08em;text-transform:uppercase}.tag.major,.tag.champion,.tag.belt,.spot-badge.champ{border-color:var(--accent)!important;color:var(--accent)!important;background:transparent!important}.tag.cancelled,.tag.live{border-color:var(--live)!important;color:var(--live)!important;background:transparent!important}.tag.international,.tag.local,.tag.state,.spot-badge.rank,.spot-badge.sport{border-color:var(--line)!important;color:var(--text-muted)!important;background:transparent!important}
.btn{min-height:40px;background:transparent!important;border:1px solid var(--line)!important;border-radius:8px!important;color:var(--text)!important;font-family:var(--font-head)!important;font-size:14px!important;font-weight:600!important;letter-spacing:.03em;box-shadow:none!important}.btn:hover{background:var(--surface-3)!important;border-color:var(--line-strong)!important;transform:translateY(-1px)!important}.btn.primary{background:var(--accent)!important;border-color:var(--accent)!important;color:var(--accent-ink)!important}.btn.primary:hover{background:var(--accent-hi)!important;border-color:var(--accent-hi)!important;filter:none!important}.btn:active,.poll-vote:active{transform:scale(.98)!important}

.review-sub,.review-rating-label,.review-sources{color:var(--text-muted)!important}.review-rating{background:var(--surface-2)!important;border:1px solid var(--line)!important;border-radius:8px!important}.review-stars,.review-h{color:var(--accent)!important}.review-verdict,.review-quote{max-width:68ch;line-height:1.65!important}.review-list li::before{content:"—"!important;color:var(--accent)!important}.like-btn,.comment{background:var(--surface-2)!important;border-color:var(--line)!important;color:var(--text)!important}.like-btn:hover{border-color:var(--accent)!important}.like-btn.liked{background:var(--surface-3)!important;border-color:var(--accent)!important;color:var(--accent)!important}
.spot-card,.reel,.comp-card,.poll-item,.tix-item{background:var(--surface-1)!important;border:1px solid var(--line)!important;border-left:1px solid var(--line)!important;border-radius:10px!important}.spot-card::before,.comp-card::after{display:none!important}.spot-flag{background:var(--surface-2)!important;color:var(--accent)!important;border:1px solid var(--line)!important}.spot-name,.comp-title{font-size:22px!important}.spot-nick,.spot-meta,.spot-why,.reel-sub,.comp-blurb,.comp-how,.poll-sub,.poll-count,.tix-meta{color:var(--text-muted)!important}.spot-why,.comp-how{border-color:var(--line)!important}.reel-thumb{background:var(--surface-2)!important}.reel-play i{width:42px!important;height:42px!important;background:var(--accent)!important;color:var(--accent-ink)!important;border-radius:999px!important;box-shadow:none!important}.reel-body{padding:14px!important}.reel-title{font-size:20px!important}.poll-item{padding:16px!important}.poll-bar,.an-bar{background:var(--surface-3)!important;border-radius:999px!important}.poll-fill,.an-bar span{background:var(--accent)!important}.poll-vote{min-height:40px;background:transparent!important;border:1px solid var(--accent)!important;border-radius:8px!important;color:var(--accent)!important;font-family:var(--font-head);font-weight:600}.poll-vote:hover{background:var(--surface-3)!important}.poll-voted{background:var(--surface-3)!important;color:var(--accent)!important}.tix-item{padding:14px 16px!important}.tix-name{font-size:20px!important}

.rank-badge,.rank-num{background:var(--surface-2)!important;border:1px solid var(--line)!important;border-radius:8px!important;color:var(--accent)!important;box-shadow:none!important}.rank-champ{background:var(--surface-2)!important;border:1px solid var(--accent)!important;border-left:2px solid var(--accent)!important;border-radius:10px!important;color:var(--text)!important}.rank-list li,.an-table tr{border-color:var(--line)!important}.rank-list li:nth-child(odd){background:var(--surface-2)!important}.rank-list li:nth-child(n) .rank-num{color:var(--text-muted)!important}.rank-list li:first-child .rank-num{color:var(--accent)!important;border-color:var(--accent)!important}.fighter-avatar,.profile-avatar{border-color:var(--line)!important;box-shadow:none!important;background:var(--surface-2)!important}.timer-wrap,.profile-field,.profile-block,.an-kpi,.an-stat,.an-leader,.an-mrow{background:var(--surface-2)!important;border:1px solid var(--line)!important;border-left:1px solid var(--line)!important;border-radius:8px!important}.timer-phase,.an-kpi-v,.an-stat-v,.an-num{color:var(--accent)!important}.timer-field select,#rank-division,#boxers-search,#gyms-search,#matrix-search,.comment-form input.cname,.comment-form textarea.ctext{background:var(--surface-2)!important;border-color:var(--line)!important;border-radius:8px!important;color:var(--text)!important}.pattern-list li{background:var(--surface-1)!important;border-left:2px solid var(--line-strong)!important;border-radius:0 8px 8px 0!important;color:var(--text-muted)!important}.pattern-list li::before{color:var(--accent)!important}

table,.an-table,.ev-tix-table{width:100%;border-collapse:collapse;background:var(--surface-1);border:1px solid var(--line);border-radius:10px;overflow:hidden}th,td,.an-table td,.ev-tix-table td{padding:10px 12px!important;border-color:var(--line)!important;color:var(--text-muted)!important;font-variant-numeric:tabular-nums}th{background:var(--surface-2);color:var(--text);font-family:var(--font-head);letter-spacing:.05em;text-transform:uppercase}.site-footer{background:var(--surface-1)!important;border-top:1px solid var(--line)!important;color:var(--text-muted)!important;padding:24px 16px 36px!important}.footer-meta{color:var(--text-dim)!important}.footer-contact{color:var(--text-muted)!important}

@media(max-width:700px){.site-header{padding:8px 12px!important;position:relative!important;top:0!important}
/* Scott, 20 Nov 2026: on an iPhone the header was one squeezed row — the search box
   sat on top of the logo and the words "Aussie Boxing Hub" were crushed to zero width
   (measured: 0px at 390px wide), so the top of the site read as mush. The phone header
   is now three stacked rows that cannot overlap each other: logo + site name, then the
   search bar, then the language/AUDIO controls. The header no longer sticks (three
   sticky rows would eat a third of the screen and block the page); the tab bar sticks
   to the top instead, so section jumps still land below it. */
html{scroll-padding-top:56px}
.header-inner{gap:8px;flex-wrap:wrap!important;row-gap:8px;align-items:center}
.logo{order:1;flex:1 1 100%;min-width:0}
.logo-img{width:34px!important;height:34px!important}
.logo-text{font-size:24px!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gsearch{order:2;flex:1 1 100%;max-width:none}
.header-right{order:3;flex:1 1 100%;margin-left:0;justify-content:flex-start}.lang-select{max-width:none!important;min-width:92px;font-size:12.5px!important}.read-fab{min-height:36px;padding:6px 8px!important;font-size:0!important}.read-fab::after{content:"AUDIO";font-size:12px}.tabs{top:0;padding:0 8px}.tab-more-summary,.tab{min-height:44px;padding:12px 10px!important}main{padding:24px 16px 48px!important}.card,.train-card{padding:14px!important}.filter-row{gap:6px!important}.chip{min-height:36px;padding:6px 11px!important}.reel-grid,.comp-grid,.tix-list{grid-template-columns:1fr!important}.spot-card{flex-basis:260px!important}.profile-panel{padding:16px!important}}
@media(max-width:360px){.logo-text{font-size:21px!important}.header-right{gap:4px}.lang-select{min-width:84px!important;max-width:none!important;font-size:12px!important}.tabs{top:0}main{padding-inline:12px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* chrome gradients killed: the v20 layer painted gradients on the header and tab bar */
.site-header,.tabs,.tab,.site-header>:not(.gsearch),.tabs>*{background-image:none!important}
.tabs::before{display:none!important}


/* ---- Standalone fighter page chrome (appended to assets/hub.css) ----------------
   The fighter pages reuse the hub's own stylesheet, so this file only adds the
   page frame around the shared profile blocks: top bar, breadcrumb, width and
   the A–Z index. Keep it small — every byte here is fetched by every page. */

.fp-page { min-height: 100vh; }

.fp-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .35); position: sticky; top: 0; z-index: 20; flex-wrap: wrap;
}
.fp-bar-brand { font-weight: 800; letter-spacing: .02em; color: var(--text); text-decoration: none; font-size: 16px; }
.fp-bar-brand:hover { color: var(--gold); }
.fp-bar-nav { display: flex; gap: 14px; font-size: 13px; }
.fp-bar-nav a { color: var(--muted); text-decoration: none; }
.fp-bar-nav a:hover { color: var(--gold); }

.fp-main { max-width: 880px; margin: 0 auto; padding: 18px 16px 60px; }
.fp-crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.fp-crumb a { color: var(--muted); text-decoration: none; }
.fp-crumb a:hover { color: var(--gold); }

/* the profile panel is a fixed overlay in the app; here it is just a box */
.fp-page .profile-panel { max-width: none; max-height: none; overflow: visible; padding: 20px; }
.fp-page .profile-close { display: none; }
.fp-page h1.profile-name { margin: 0; }

.fp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.fp-actions .btn { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* Scott, 20 Nov 2026: "return to homepage button at the top ... left-hand side above
   number one rank". Same destination as the ← Back to the hub button in .fp-actions at
   the foot of the page, so a visitor never has to scroll to the bottom to get back.
   Left-aligned above the profile panel, so on a phone it sits directly above the
   fighter's photo, name and #rank badges. */
.fp-topbar { display: flex; gap: 10px; margin: 0 0 12px; align-items: center; }
.fp-topbar .btn { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.fp-foot { color: var(--muted); font-size: 12px; margin-top: 22px; text-align: center; }
.fp-foot a { color: var(--muted); }

/* ---- highlight footage cards ---- */
.fp-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.fp-vid { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
.fp-vid-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--line);
}
.fp-vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-vid-thumb iframe { width: 100%; height: 100%; border: 0; display: block; }
.fp-vid-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; background: rgba(0, 0, 0, .28); transition: background .15s ease;
}
.fp-vid:hover .fp-vid-play { background: rgba(0, 0, 0, .1); }
.fp-vid-play::before {
  content: ""; position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 46, 99, .92);
}
.fp-vid-play { text-shadow: 0 1px 3px rgba(0, 0, 0, .6); z-index: 1; }
.fp-vid-play::after { content: "▶"; position: relative; z-index: 2; font-size: 20px; left: 2px; }
.fp-vid-dur {
  position: absolute; right: 7px; bottom: 7px; z-index: 3;
  font-size: 11.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px;
  background: rgba(0, 0, 0, .78); color: #fff;
}
.fp-vid-title { font-size: 13px; font-weight: 650; line-height: 1.35; }
.fp-vid-ch { font-size: 11.5px; color: var(--muted); }

/* ---- A–Z index (/boxers/) ---- */
.fp-index-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 20px; }
.fp-index-letters a {
  font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: none;
  border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px;
}
.fp-index-letters a:hover { color: var(--gold); border-color: var(--gold); }
.fp-index h2 {
  font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
  margin: 22px 0 8px; padding-bottom: 5px; border-bottom: 1px solid var(--line);
}
.fp-index-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2px 16px; }
.fp-index-list a {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  padding: 6px 8px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px;
}
.fp-index-list a:hover { background: rgba(255, 255, 255, .07); color: var(--gold); }
.fp-index-list .rec { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.fp-legend { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

@media (max-width: 640px) {
  .fp-main { padding: 14px 10px 50px; }
  .fp-page .profile-panel { padding: 14px; }
  .fp-bar { padding: 10px 12px; }
}

/* ---------- the next-fight block — leads a fighter page (Scott, 20 Nov 2026) ---------- */
.fp-up {
  padding: 14px 16px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 46, 99, .11), rgba(255, 46, 99, .02));
  border: 1px solid rgba(255, 255, 255, .12);
}
.fp-up + .fp-up { margin-top: 10px; }
.fp-up-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fp-up-opp { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: #fff; }
.fp-up-opp a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.fp-up-tba { color: var(--text-dim); font-weight: 600; font-size: 17px; }
.fp-up-belt {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 9px;
}
.fp-up-when { margin-top: 7px; font-size: 16px; font-weight: 650; }
.fp-up-time { color: var(--accent); }
.fp-up-card { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; color: var(--text-dim); }
.fp-up-where { margin-top: 4px; font-size: 13.5px; color: var(--text-dim); }
.fp-up-tv { margin-top: 7px; font-size: 12.5px; color: var(--text-dim); }
@media (max-width: 700px) {
  .fp-up { padding: 11px 12px; }
  .fp-up-opp { font-size: 18px; }
  .fp-up-when { font-size: 14.5px; }
}


/* Aussie Boxing Hub — page background (Scott, 20 Nov 2026):
   "boxing gym, tough rugged confident strong bold".
   One dark gym photo behind the whole page, faded down the screen so panels and
   white text stay readable, plus a worn steel tile across the page chrome.

   CHANGED 20 Nov 2026 (evening): the gym photo is out. Scott sent a close-up of a dark
   honeycomb / perforated-metal sheet, asked for it "in full size make it fit the page",
   then approved it: "yes the honeycomb love it" — to run on iPhone and PC alike. So
   assets/bg/hub-bg.jpg is now that mesh, and the page shows ONE continuous sheet of
   metal (cover, no repeat, fixed) rather than a small tile repeating down the page.
   The top of the gradient was lifted from .20 to .44 because a mesh needs less of the
   screen to read as metal than a lit boxing ring did — at .20 the highlights blew out
   behind the header type. Panels are unchanged and still opaque.

   The image URLs are TOKENS on purpose:
     build_boxing.py          swaps them for base64 data URIs (the single file must
                              work straight off the Desktop with no assets folder)
     build_fighter_pages.mjs  points them at the published /assets/ copies
   Never hard-code a path here.

   !important is required: css/theme-pro.css sets `body{background:var(--bg)!important}`
   and blanks the header/tab backgrounds with `background-image:none!important`. Longhand
   + !important + later wins.

   The gradient is tuned so the gym photo READS at the top of the page (spotlight,
   ring post, ropes visible behind the header and the section gaps) while every panel
   stays opaque underneath. Anything darker than ~.20 at the top and it stops looking
   like a gym at all — measured on 1400px and 1280px viewports.

   To swap the art: replace assets/bg/hub-bg.jpg (1600x893 dark JPEG) and
   assets/bg/hub-steel.jpg (512x512 tile) and rebuild. Nothing else to touch. */

/* the base colour lives on <html> (the canvas) and <body> is left TRANSPARENT on purpose: the two
   fixed layers below are negative z-index, and an opaque body background paints over them — that
   mistake made the honeycomb disappear completely the first time it was moved onto a fixed layer. */
html {
  background: #06070a !important;
}
body {
  background: transparent !important;
}

/* The mesh sheet and the readability gradient sit on two FIXED layers instead of on `body`.
   CHANGED 20 Nov 2026 (evening). Scott: "there no honeycomb on the phone site. It refreshes u can
   see it then it disappears." Cause: `background-size: cover` sizes against the ELEMENT BOX whenever
   the attachment is `scroll`, and iOS ignores `background-attachment: fixed`, so the phone block below
   forced `scroll`. The hub is 130,709px tall on a 390px phone, so cover scaled the 1208x864 mesh about
   151x: the hexagons were briefly visible while the page was still short, then the data rendered, the
   body grew, and the mesh blew up into a flat grey — "it disappears". A position:fixed layer is sized
   against the viewport on every browser, so a phone now shows the same sheet as a PC. Do NOT move these
   backgrounds back onto `body`: cover + a 130k-px-tall document is the bug. */
body::before {
  content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2; pointer-events: none;
  background-image: url("hub-bg.jpg");
  background-repeat: no-repeat;
  background-position: center 18%;
  background-size: cover;
}

/* readability gradient over the mesh (top lifted to .44 so the highlight does not blow out behind
   the header type) + the faint red glow */
body::after {
  content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(6, 7, 10, .44) 0%, rgba(6, 7, 10, .60) 16%, rgba(6, 7, 10, .74) 44%, rgba(6, 7, 10, .88) 100%),
    radial-gradient(1100px 560px at 50% -8%, rgba(255, 46, 99, .16), transparent 62%);
  background-repeat: no-repeat, no-repeat;
  background-position: left top, left top;
  background-size: cover, cover;
}

/* worn steel on the page chrome (hub header, tab bar, fighter-page bar) */
.site-header,
.tabs,
.fp-bar {
  background-color: rgba(7, 8, 12, .93) !important;
  background-image:
    linear-gradient(180deg, rgba(7, 8, 12, .58), rgba(7, 8, 12, .84)),
    url("hub-steel.jpg") !important;
  background-repeat: no-repeat, repeat !important;
  background-size: cover, 380px auto !important;
  background-position: left top, left top !important;
  background-attachment: scroll, fixed !important;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

/* the profile panels sit ON the photo — give them a hairline of steel so the
   fighter pages feel like the same material as the hub */
.profile-panel,
.profile-block {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .022), rgba(0, 0, 0, .1)) !important;
}

/* The mesh and the gradient no longer need a phone override: they are fixed layers sized against
   the viewport, which is exactly what a phone needs. Only the chrome tile still shifts with the bar
   and sits a touch smaller on a narrow screen. */
@media (max-width: 760px) {
  .site-header, .tabs, .fp-bar {
    background-size: auto, 300px auto !important;
    background-attachment: scroll, scroll !important;
  }
}

@media print {
  body { background-color: #fff !important; }
  body::before, body::after { display: none !important; }
}


/* Aussie Boxing Hub — red outline on the panels and cards (Scott, 20 Nov 2026).
   Brief: "i don't like the blue boarder let's outline it with thin red boarder around
   the blue" then "1 mm around the blue, .5 mm around the black or gray".

   ONE red, declared once, used by every rule in this file: #e01b1b. He rejected
   rgba(255,46,99,…) ("the inner one looks pink not red") and the two-tone previews
   (the two thicknesses must LOOK the same colour, which at 2px they only do if the
   value is identical).

   1 mm = 3.5px and 0.5 mm = 2px at the 96 CSS px/inch every browser assumes. It is a
   screen, not a printer, so this is the honest reading of his millimetre request.

   outline (not border) so nothing reflows and the layout never shifts; outline-offset
   is the visible air gap he approved between the blue edge and the red line.
   Do NOT merge this into bg-texture.css — that file is the page background only. */

:root {
  --ring-red: #e01b1b;
}

/* 1 mm — the blue profile panel on a fighter page */
.fp-page .profile-panel {
  outline: 3.5px solid var(--ring-red);
  outline-offset: 4px;
}

/* 0.5 mm — every dark grey/black box: the section panels on a fighter page */
.fp-page .profile-block {
  outline: 2px solid var(--ring-red);
  outline-offset: 3px;
}

/* 0.5 mm — the same treatment for the dark cards on the hub itself */
.spot-card,
.card,
.tix-item,
.reel-thumb,
.comp-card {
  outline: 2px solid var(--ring-red);
  outline-offset: 2px;
}

/* ---- In-app pop-ups (Scott, 20 Nov 2026): "can we get the red border around these
   as well" — the screenshot was the ARES 45 event card, i.e. the `#event-detail` pop-up,
   which carries the same .profile-overlay / .profile-panel / .profile-field markup as
   the fighter pop-up. Same two thicknesses as a fighter page: 1 mm around the blue
   panel, 0.5 mm around every dark grey box (the DATE / LOCATION / PROMOTER / TV-STREAM /
   CATEGORY fields and the profile blocks). Scoped to .profile-overlay so the standalone
   fighter pages (.fp-page) keep the rules above and nothing double-rings. --- */

.profile-overlay .profile-panel {
  outline: 3.5px solid var(--ring-red);
  outline-offset: 4px;
}

.profile-overlay .profile-field,
.profile-overlay .profile-block {
  outline: 2px solid var(--ring-red);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .profile-overlay .profile-panel { outline-width: 3px; outline-offset: 3px; }
  .profile-overlay .profile-field,
  .profile-overlay .profile-block { outline-width: 1.5px; outline-offset: 2px; }
}

/* ---- Search bar (Scott, 20 Nov 2026): "can you make the search bar at the top of
   the screen outlined in red so it's more visible?" — same #e01b1b as every other
   ring on the site, 2px so it reads at arm's length on a phone. The yellow version
   (red ring outside, gold border inside) is the alternative he is choosing between;
   to switch, add the two `border` lines commented out below. --- */

.gsearch-box {
  outline: 2px solid var(--ring-red);
  outline-offset: 2px;
}

/* YELLOW-INNER VARIANT — uncomment these two lines for "red and yellow":
.gsearch-box { border: 2px solid var(--accent, #d8a13a) !important; }
*/

/* ---- Tab bar (Scott, 20 Nov 2026): "make all the head lines words yellow like the
   one thats already there and when its clicked on its outlined red the box".
   Every label gold (the active tab was the only gold one); the open tab gets the
   same #e01b1b box as the panels. Lives here because this stylesheet is the last one
   loaded in both builds and has to beat `theme-pro`'s `color:var(--text-muted)!important`. */

.tabs .tab,
.tabs .tab-more-summary {
  color: var(--accent) !important;
}

.tab:hover,
.tab-more-summary:hover {
  color: var(--accent-hi, #f0bd5e) !important;
}

.tabs .tab.active,
.tabs .tab-more[open] > .tab-more-summary {
  outline: 2px solid var(--ring-red);
  outline-offset: 2px;
}

/* on a phone the bar is cramped — thinner box, same gold */
@media (max-width: 700px) {
  .tabs .tab.active,
  .tabs .tab-more[open] > .tab-more-summary { outline-width: 1.5px; outline-offset: 1px; }
}

/* on a phone the rings eat too much of the small card, so they thin out with the
   box, not with the millimetres */
@media (max-width: 700px) {
  .fp-page .profile-panel { outline-width: 3px; outline-offset: 3px; }
  .fp-page .profile-block { outline-width: 1.5px; outline-offset: 2px; }
  .spot-card, .card, .tix-item, .reel-thumb, .comp-card { outline-width: 1.5px; outline-offset: 1px; }
}
