@font-face {
  font-family: "Noto Sans Thai";
  src: url("../fonts/noto-sans-thai.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
/* Ringside Gold — design tokens and shared WordPress styles. */
:root {
  --bg: #0b0c0e;
  --surface: #131416;
  --surface-raised: #1a1b1e;
  --line: #2a2b2e;
  --gold: #d9b66f;
  --gold-light: #f6dfaa;
  --gold-dim: #a47a35;
  --gold-gradient: linear-gradient(
    110deg,
    #ae7e32 0%,
    #f8e4b4 35%,
    #d5ae61 63%,
    #f3d99c 100%
  );
  --text: #f3f1ec;
  --muted: #a8a7a4;
  --red: #ff979a;
  --blue: #9cc6ff;
  --green: #8ed3a5;
  --radius: 12px;
  --font: "Noto Sans Thai", "Thonburi", "Tahoma", sans-serif;
  --font-display: var(--font);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a,
button {
  touch-action: manipulation;
}
img {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0 0 24px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
}
h1 {
  font-size: clamp(36px, 5.4vw, 72px);
  letter-spacing: -0.035em;
  font-weight: 800;
}
h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 19px;
}
p {
  margin-bottom: 20px;
}
::selection {
  background: var(--gold);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}
input,
select,
textarea {
  background: #111214;
  border: 1px solid #424247;
  color: var(--text);
  border-radius: 6px;
  min-height: 46px;
  padding: 9px 13px;
  max-width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #9e9d9a;
}
textarea {
  width: 100%;
  min-height: 140px;
}
label {
  display: block;
  font-size: 13px;
  color: #c7c4bd;
  margin-bottom: 5px;
}
.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.section {
  padding-block: 64px;
}
.gold,
.hero h1,
.page-heading h1,
.brand-mark,
.error-number {
  color: var(--gold-light);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 15px;
}
.gold-line {
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.lede {
  font-size: 18px;
  color: #b8b7b1;
  line-height: 1.9;
  max-width: 590px;
}
.text-link {
  color: var(--gold-light);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
}
.text-link:hover {
  color: white;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.button-gold {
  background: var(--gold-gradient);
  color: #211a0c;
  border-color: #e0bf7a;
  box-shadow: inset 0 1px 0 #fff5;
}
.button-gold:after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #fff7, transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.65s;
}
.button-gold:hover:after {
  left: 130%;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px #d6ac5919;
}
.button:active {
  transform: translateY(0);
}
.button-outline {
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--gold-gradient) border-box;
  border: 1px solid transparent;
  color: var(--gold-light);
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--gold);
  color: #111;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  white-space: nowrap;
}
.topline {
  background: #111214;
  border-bottom: 1px solid #ffffff08;
  color: #93938e;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.topline .container {
  display: flex;
  justify-content: space-between;
  padding-block: 8px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: #0d0e10;
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 94px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  max-width: 100%;
}
.brand-mark {
  font:
    bold italic 49px/1 Georgia,
    serif;
  letter-spacing: -7px;
  padding-right: 6px;
}
.brand-mark span {
  color: var(--gold);
}
.brand-word {
  font:
    bold 22px/1.2 Arial,
    sans-serif;
  letter-spacing: 1.7px;
  max-width: 230px;
  overflow-wrap: anywhere;
}
.brand-word small {
  font:
    8px/1.4 Arial,
    sans-serif;
  letter-spacing: 2.1px;
  display: block;
  color: #aaa393;
  margin-top: 6px;
}
.brand-logo {
  width: var(--logo-width, 170px);
  height: auto;
  max-height: 88px;
  object-fit: contain;
}
.primary-navigation {
  margin-left: auto;
}
.primary-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  align-items: center;
}
.primary-navigation a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: #b5b4b0;
  font-size: 14px;
  position: relative;
  transition: color 0.2s;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
  color: var(--gold-light);
}
.primary-navigation .current-menu-item > a:after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  background: var(--gold-gradient);
}
.primary-navigation li {
  position: relative;
}
.primary-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 24px #0008;
}
.primary-navigation .sub-menu a {
  padding: 6px 8px;
}
.primary-navigation li:focus-within > .sub-menu,
.primary-navigation li:hover > .sub-menu,
.primary-navigation .submenu-open > .sub-menu {
  display: block;
}
.primary-navigation .sub-menu .sub-menu {
  left: 100%;
  top: 0;
}
.menu-item-has-children > a {
  padding-right: 28px;
}
.submenu-toggle {
  position: absolute;
  right: -9px;
  top: 2px;
  background: transparent;
  border: 0;
  color: var(--gold);
  width: 32px;
  min-height: 44px;
}
.header-live {
  font:
    bold 11px Arial,
    sans-serif;
  letter-spacing: 0.09em;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 5px;
  border: 1px solid #d8b26a55;
  color: var(--gold-light);
  background: #d8b26a08;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px #8ed3a50b;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 35px;
  min-height: 520px;
  align-items: center;
  padding-block: 58px;
}
.hero h1 {
  margin-bottom: 22px;
  max-width: 600px;
  text-wrap: balance;
}
.hero-copy .lede {
  font-size: 16px;
  max-width: 430px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-caption {
  color: #93938f;
  font-size: 11px;
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-art {
  height: 420px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 45% 20%, #9b72311f, transparent 70%) padding-box,
    linear-gradient(135deg, #d9b66f66, #d9b66f05 45%, #d9b66f33) border-box;
  box-shadow: inset 0 0 100px #0008;
}
.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.art-label {
  position: absolute;
  left: 28px;
  top: 25px;
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 2px;
  color: #b5a07a;
  z-index: 1;
}
.art-bottom {
  position: absolute;
  left: 28px;
  bottom: 32px;
  font:
    700 31px/0.98 Arial,
    sans-serif;
  letter-spacing: -1px;
  color: #ffffffd9;
}
.art-bottom b {
  color: var(--gold-light);
}
.art-number {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font:
    10px Arial,
    sans-serif;
  color: #b2a07d;
  letter-spacing: 2px;
}
.ticker {
  border-block: 1px solid #d9b66f22;
  background: #141310;
}
.ticker .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 15px;
  color: #a59371;
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.16em;
  overflow: hidden;
  white-space: nowrap;
}
.ticker i {
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  background: var(--gold-dim);
  flex-shrink: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading .eyebrow {
  margin-bottom: 9px;
}
.fight-board {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(120deg, #d9b66f69, #323335 28%, #323335 70%, #b88e4644)
      border-box;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 50px #0002;
}
.board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
}
.board-tabs {
  display: flex;
  gap: 26px;
  align-items: center;
}
.board-tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  min-height: 62px;
  padding: 12px 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.board-tab.is-active {
  color: var(--gold-light);
  border-image: var(--gold-gradient) 1;
}
.board-tab [data-live-count] {
  font:
    11px Arial,
    sans-serif;
  border-radius: 4px;
  background: #252b25;
  color: #b7d8bd;
  padding: 2px 6px;
}
.board-title {
  color: var(--gold-light);
  font-weight: 600;
  padding-block: 18px;
}
.refresh-button {
  background: none;
  border: 1px solid #3d3d3c;
  border-radius: 5px;
  color: #ccc6b8;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 8px 13px;
  min-height: 44px;
}
.refresh-button > span {
  font-size: 22px;
  line-height: 1;
}
.refresh-button:hover {
  border-color: var(--gold);
}
.refresh-button.is-loading > span {
  animation: spin 1s linear infinite;
}
.board-controls {
  display: flex;
  align-items: end;
  gap: 16px;
  padding: 20px 24px 14px;
}
.field input,
.field select {
  width: 100%;
  font-size: 13px;
}
.field {
  min-width: 205px;
}
.field-grow {
  flex: 1;
  max-width: 430px;
}
.board-counter {
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
  padding-bottom: 6px;
}
.board-counter strong {
  font:
    500 27px Arial,
    sans-serif;
  color: var(--gold-light);
}
.board-counter span {
  font-size: 12px;
  color: var(--muted);
}
.board-feedback {
  font-size: 11px;
  color: #a4a59d;
  padding: 0 24px 16px;
  min-height: 34px;
}
.board-feedback:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 8px;
}
.board-feedback.is-warning {
  color: var(--gold-light);
}
.board-feedback.is-warning:before {
  background: var(--gold);
}
.match-group {
  margin: 0 16px 16px;
  border: 1px solid #2c2c2b;
  border-radius: 8px;
  overflow: hidden;
}
.group-heading {
  background: linear-gradient(100deg, #d9b66f12, #d9b66f04);
  border-bottom: 1px solid #d9b66f20;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.group-heading h3 {
  font-size: 13px;
  color: #e0c58d;
  font-weight: 500;
  margin: 0;
}
.group-heading > span {
  font-size: 10px;
  color: #a9a393;
  white-space: nowrap;
}
.match-row {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr) 188px 80px;
  align-items: center;
  gap: 20px;
  min-height: 114px;
  padding: 16px 18px;
  border-bottom: 1px solid #252629;
  background: #121315;
  transition: background 0.2s;
}
.match-row:last-child {
  border-bottom: 0;
}
.match-row:hover {
  background: #18191c;
}
.match-time {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 2px 10px;
}
.match-index {
  grid-row: 1/3;
  align-self: center;
  font:
    10px Arial,
    sans-serif;
  color: #9b9c96;
}
.match-time strong {
  font:
    500 16px Arial,
    sans-serif;
}
.match-state {
  font-size: 10px;
  color: #a6a7a0;
  white-space: nowrap;
}
.match-state.is-live {
  color: var(--green);
}
.match-fighters {
  display: grid;
  gap: 13px;
  min-width: 0;
}
.fighter {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.fighter strong {
  font-weight: 500;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.corner {
  font-size: 8px;
  width: 32px;
  flex-shrink: 0;
  text-align: center;
  border-radius: 3px;
  padding: 1px 0;
}
.fighter.red .corner {
  color: var(--red);
  background: #ff60601a;
  border-left: 2px solid #e87375;
}
.fighter.blue .corner {
  color: var(--blue);
  background: #659cff18;
  border-left: 2px solid #81aaf0;
}
.match-odds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.odds-cell {
  border: 1px solid #353132;
  border-radius: 6px;
  padding: 7px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px 5px;
  background: #23191c;
}
.odds-cell.blue {
  background: #17202c;
  border-color: #2d3642;
}
.odds-cell > span {
  font-size: 9px;
  color: var(--red);
}
.odds-cell.blue > span {
  color: var(--blue);
}
.odds-cell strong {
  font:
    500 20px Arial,
    sans-serif;
  grid-column: 1/3;
  color: #f0e8e5;
}
.odds-cell small {
  font-size: 9px;
  color: #b6afa7;
  grid-row: 1;
  grid-column: 2;
  text-align: right;
}
.match-round {
  color: #b9ae95;
  font-size: 10px;
  text-align: right;
}
.match-result {
  grid-column: 3/5;
  display: grid;
  gap: 5px;
  text-align: right;
}
.match-result strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-light);
}
.match-result strong.red {
  color: var(--red);
}
.match-result strong.blue {
  color: var(--blue);
}
.match-result span {
  font-size: 10px;
  color: var(--muted);
}
.winner-label {
  font-size: 9px;
  border: 1px solid #d6b15e55;
  border-radius: 3px;
  color: var(--gold-light);
  padding: 1px 5px;
  white-space: nowrap;
}
.board-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #949590;
  font-size: 10px;
}
.limit-note {
  padding: 0 24px;
  font-size: 12px;
  color: var(--muted);
}
.skeleton-row {
  height: 94px;
  margin: 12px 20px;
  border-radius: 7px;
  background: linear-gradient(100deg, #1a1b1e 20%, #272624 45%, #1a1b1e 70%);
  background-size: 200%;
  animation: shimmer 1.6s ease-in-out infinite;
}
.empty-state {
  padding: 48px 24px;
  text-align: center;
  width: 100%;
  grid-column: 1/-1;
}
.empty-state h3 {
  font-size: 20px;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
}
.empty-symbol {
  font:
    44px Georgia,
    serif;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.empty-state .eyebrow {
  justify-content: center;
}
.editorial-section {
  padding-top: 14px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.post-card:hover {
  border-color: #b8904d88;
  transform: translateY(-3px);
}
.post-image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #18191c;
}
.post-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.post-card:hover .post-image img {
  transform: scale(1.03);
}
.post-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 25px,
      #c3a15c07 26px,
      #c3a15c07 27px
    ),
    radial-gradient(ellipse at top right, #9c793133, transparent 70%);
}
.post-placeholder span {
  font:
    bold 13px Arial,
    sans-serif;
  letter-spacing: 5px;
  color: #d7bb80;
}
.post-placeholder b {
  font:
    bold 42px Arial,
    sans-serif;
  color: #c9ac7440;
  letter-spacing: -2px;
}
.post-placeholder i {
  font-style: normal;
  font-size: 11px;
  color: #a69b86;
  margin-top: 8px;
}
.post-card-body {
  padding: 24px;
}
.post-card h2 {
  font-size: 22px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.post-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.post-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
}
.post-meta a {
  color: var(--gold);
}
.site-footer {
  background: #0e0f11;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, #272727, var(--gold-dim), #272727) 1;
  margin-top: 36px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-block: 48px;
}
.footer-grid p {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
  max-width: 390px;
}
.footer-grid .menu {
  display: flex;
  list-style: none;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0;
  font-size: 12px;
}
.footer-grid .menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #bbb7aa;
}
.footer-grid .sub-menu {
  list-style: none;
  padding: 0;
}
.footer-bottom {
  border-top: 1px solid #252528;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  font-size: 10px;
  color: #9c9c93;
}
.page-heading {
  margin: 0 0 38px;
  padding-top: 8px;
}
.page-heading h1 {
  font-size: clamp(34px, 4vw, 54px);
  margin-bottom: 16px;
}
.page-heading .lede {
  font-size: 16px;
}
.prose {
  max-width: 840px;
  overflow-wrap: anywhere;
  line-height: 1.95;
}
.prose a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose h2,
.prose h3,
.prose h4 {
  margin: 1.6em 0 0.7em;
}
.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1.5em;
}
.prose blockquote,
.wp-block-quote {
  padding: 20px 28px;
  background: var(--surface);
  border-left: 3px solid var(--gold);
  margin: 32px 0;
}
.prose pre {
  overflow: auto;
  padding: 20px;
  background: #18191c;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow: auto;
}
.prose td,
.prose th {
  padding: 12px;
  border: 1px solid var(--line);
}
.prose .wp-block-button__link {
  color: #16130d;
  background: var(--gold-gradient);
  text-decoration: none;
}
.entry-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 30px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 54px;
}
.article-heading {
  max-width: 900px;
  margin-top: 20px;
}
.article-heading .post-meta {
  font-size: 13px;
}
.panel {
  border: 1px solid #b9934c55;
  background:
    linear-gradient(145deg, #d9b66f0c, transparent 60%), var(--surface);
  border-radius: 10px;
  padding: 26px;
}
.sidebar-promo h2 {
  font-size: 32px;
}
.sidebar-promo p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}
.sidebar-promo .button {
  width: 100%;
  padding-inline: 12px;
}
.article-sidebar .search-form {
  margin-top: 24px;
}
.article-sidebar .search-form > div {
  flex-direction: column;
}
.search-form {
  max-width: 580px;
  margin-bottom: 28px;
}
.search-form > div {
  display: flex;
  gap: 10px;
}
.search-form input {
  width: 100%;
  min-width: 0;
}
.search-form label {
  color: var(--muted);
}
.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.post-tags a {
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
}
.nav-links,
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-numbers {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: center;
}
.page-numbers.current {
  background: var(--gold-gradient);
  color: #1d170c;
}
.post-navigation .nav-links {
  justify-content: space-between;
  font-size: 13px;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.comments-area {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.comment-list {
  list-style: none;
  padding: 0;
}
.comment-body {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
}
.comment-author .avatar {
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}
.comment-metadata {
  font-size: 11px;
  color: var(--muted);
}
.comment-form input:not([type="checkbox"]):not([type="submit"]) {
  width: 100%;
}
.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 10px;
}
.comment-form-cookies-consent label {
  margin: 0;
}
.error-page {
  text-align: center;
  max-width: 820px;
}
.error-page .eyebrow {
  justify-content: center;
}
.error-number {
  font:
    bold clamp(110px, 20vw, 210px)/1 Arial,
    sans-serif;
  margin: 20px 0;
}
.error-page h1 {
  font-size: 32px;
}
.error-page .lede,
.error-page .search-form {
  margin: 24px auto;
}
.error-page .search-form {
  text-align: left;
}
.archive-description {
  color: var(--muted);
  margin-bottom: 32px;
}
.full-width {
  max-width: none;
}
.aligncenter {
  margin-inline: auto;
  display: block;
}
.alignleft {
  float: left;
  margin: 0 24px 24px 0;
}
.alignright {
  float: right;
  margin: 0 0 24px 24px;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text,
.gallery-caption {
  color: var(--muted);
  font-size: 13px;
}
.sticky {
  border-color: var(--gold-dim);
}
.bypostauthor .comment-author {
  color: var(--gold);
}
.widget {
  margin-bottom: 24px;
}
.widget-title {
  font-size: 20px;
}
.widget ul {
  padding-left: 20px;
}
.wp-block-image img {
  height: auto;
}
.prose:after {
  content: "";
  display: block;
  clear: both;
}
#main-content:focus {
  outline: none;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 570px;
  }
  .hero-art {
    height: 450px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 20px;
  }
  .primary-navigation ul {
    gap: 18px;
  }
  .header-live {
    display: none;
  }
  .hero {
    gap: 24px;
  }
  .hero-art {
    height: 360px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .brand-word {
    max-width: 190px;
  }
  .article-layout {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .match-row {
    gap: 14px;
    grid-template-columns: 85px minmax(0, 1fr) 176px 66px;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 42px;
  }
  .hero {
    padding-block: 40px;
    min-height: auto;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-art {
    height: 340px;
  }
  .hero-copy .lede {
    font-size: 14px;
  }
  .hero-actions {
    gap: 9px;
  }
  .hero-actions .button {
    padding: 10px 14px;
    font-size: 13px;
    gap: 12px;
  }
  .hero-caption {
    font-size: 10px;
  }
  .art-bottom {
    font-size: 24px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--gold-light);
    background: transparent;
    padding: 8px 14px;
    min-height: 44px;
    font-size: 13px;
  }
  .menu-bars {
    width: 15px;
    height: 9px;
    border-block: 1px solid currentColor;
  }
  .primary-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 18px 20px;
    background: #121315;
    border-bottom: 1px solid #ae8e4955;
    box-shadow: 0 12px 20px #0005;
    max-height: 75vh;
    overflow: auto;
  }
  .primary-navigation.is-open {
    display: block;
  }
  .primary-navigation ul {
    display: block;
  }
  .primary-navigation a {
    padding: 8px 14px;
  }
  .primary-navigation .sub-menu {
    position: static;
    width: auto;
    margin-left: 20px;
    box-shadow: none;
  }
  .primary-navigation .sub-menu .sub-menu {
    position: static;
  }
  .submenu-toggle {
    right: 4px;
    width: 44px;
  }
  .header-inner {
    min-height: 82px;
  }
  .post-grid {
    gap: 16px;
  }
  .post-card-body {
    padding: 18px;
  }
  .post-card h2 {
    font-size: 18px;
  }
  .post-placeholder {
    padding: 20px;
  }
  .post-placeholder b {
    font-size: 30px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    display: none;
  }
  .match-row {
    grid-template-columns: 75px minmax(0, 1fr) 164px;
    gap: 12px;
  }
  .match-round {
    display: none;
  }
  .match-result {
    grid-column: 3;
  }
  .group-heading > span {
    display: none;
  }
  .fighter strong {
    font-size: 13px;
  }
  .board-controls {
    gap: 12px;
  }
  .field {
    min-width: 170px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .ticker .container {
    justify-content: flex-start;
    gap: 24px;
  }
  .ticker .container span:last-child,
  .ticker .container i:last-of-type {
    display: none;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }
  .topline {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .topline .container > span:last-child {
    font-size: 9px;
    letter-spacing: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 1.24;
    max-width: 420px;
  }
  .hero-copy .lede {
    font-size: 15px;
    max-width: 100%;
  }
  .hero-art {
    height: 240px;
  }
  .hero-art img {
    object-position: 50% 55%;
  }
  .hero-caption {
    margin-top: 23px;
    font-size: 10px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 12px 20px;
    flex: 1;
    gap: 12px;
  }
  .art-bottom {
    font-size: 25px;
  }
  .art-label {
    font-size: 8px;
    top: 20px;
  }
  .ticker .container {
    gap: 18px;
    font-size: 9px;
  }
  .ticker .container span:nth-of-type(3),
  .ticker .container i:nth-of-type(2) {
    display: none;
  }
  .section-heading {
    align-items: start;
    gap: 14px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading .text-link {
    font-size: 11px;
    white-space: nowrap;
    margin-top: 26px;
    gap: 4px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .board-top {
    padding: 0 14px;
    gap: 8px;
  }
  .board-tabs {
    gap: 17px;
  }
  .board-tab {
    font-size: 12px;
    gap: 6px;
    min-height: 58px;
  }
  .refresh-button {
    font-size: 11px;
    padding: 6px 9px;
  }
  .board-controls {
    display: grid;
    grid-template-columns: 1fr 54px;
    padding: 16px 14px 10px;
    gap: 12px;
  }
  .field {
    min-width: 0;
  }
  .field-grow {
    grid-column: 1/3;
    grid-row: 2;
    max-width: none;
  }
  .board-counter {
    grid-row: 1;
    grid-column: 2;
  }
  .board-counter strong {
    font-size: 22px;
  }
  .board-counter span {
    font-size: 10px;
  }
  .field label {
    font-size: 11px;
  }
  .field input,
  .field select {
    font-size: 16px;
    min-height: 46px;
  }
  .board-feedback {
    padding: 0 14px 14px;
    font-size: 10px;
  }
  .match-group {
    margin: 0 9px 12px;
  }
  .group-heading {
    padding: 12px;
  }
  .group-heading h3 {
    font-size: 11px;
    line-height: 1.7;
  }
  .match-row {
    grid-template-columns: minmax(0, 1fr) 114px;
    padding: 14px 12px;
    gap: 10px;
  }
  .match-time {
    grid-column: 1/3;
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .match-index {
    font-size: 9px;
  }
  .match-time strong {
    font-size: 12px;
  }
  .match-state {
    margin-left: auto;
    font-size: 9px;
  }
  .match-fighters {
    gap: 12px;
  }
  .fighter {
    gap: 6px;
    flex-wrap: wrap;
  }
  .fighter strong {
    font-size: 12px;
    flex: 1;
  }
  .corner {
    width: 27px;
    font-size: 7px;
  }
  .match-odds {
    gap: 5px;
  }
  .odds-cell {
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 0;
  }
  .odds-cell > span {
    font-size: 8px;
  }
  .odds-cell strong {
    font-size: 17px;
  }
  .odds-cell small {
    font-size: 8px;
  }
  .match-result {
    grid-column: 2;
  }
  .match-result strong {
    font-size: 11px;
  }
  .match-result span {
    font-size: 8px;
  }
  .winner-label {
    margin-left: 33px;
  }
  .board-bottom {
    padding: 12px 14px;
    flex-wrap: wrap;
    font-size: 9px;
    gap: 4px 16px;
  }
  .board-title {
    font-size: 13px;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .post-image {
    aspect-ratio: 16/9;
  }
  .post-card-body {
    padding: 22px;
  }
  .post-card h2 {
    font-size: 23px;
  }
  .post-placeholder b {
    font-size: 48px;
  }
  .post-placeholder {
    padding: 32px;
  }
  .footer-grid {
    padding-block: 34px;
  }
  .footer-grid .menu {
    gap: 8px 24px;
  }
  .footer-bottom {
    gap: 10px;
    font-size: 9px;
  }
  .footer-bottom > span:nth-child(2) {
    width: 100%;
    order: 3;
  }
  .brand-word {
    font-size: 19px;
    max-width: 200px;
  }
  .brand-word small {
    font-size: 7px;
  }
  .brand-mark {
    font-size: 42px;
  }
  .brand-logo {
    max-width: min(var(--logo-width), 220px);
    max-height: 64px;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .page-heading .lede {
    font-size: 14px;
  }
  .prose {
    font-size: 16px;
  }
  .comment-body {
    padding: 14px;
  }
  .comment-list .children {
    padding-left: 14px;
  }
  .alignleft,
  .alignright {
    float: none;
    margin: 0 auto 20px;
  }
  .search-form .button {
    padding-inline: 17px;
  }
  .post-navigation .nav-links > div {
    max-width: 45%;
  }
  .header-inner {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .button:hover,
  .post-card:hover,
  .post-card:hover .post-image img {
    transform: none;
  }
  .button-gold:after {
    display: none;
  }
}

.hero-word {
  display: inline-block;
  max-width: 100%;
}

/* Independent sports brands: header, score display, fixed community rail. */
.header-inner {
  flex-wrap: wrap;
  padding-block: 16px 0;
  gap: 14px 24px;
}
.header-inner > .brand {
  max-width: 340px;
}
.brand-logo {
  max-height: 96px;
  object-fit: contain;
}
.member-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.member-actions .button {
  min-height: 44px;
  font-size: 13px;
  padding: 10px 18px;
  gap: 12px;
}
.primary-navigation {
  width: 100%;
  flex-basis: 100%;
  margin: 0;
  border-top: 1px solid #d9b66f22;
  order: 4;
}
.primary-navigation > ul {
  justify-content: center;
  gap: 36px;
}
.primary-navigation a {
  min-height: 52px;
}
.hero h1 {
  font-size: clamp(36px, 4.7vw, 64px);
}
.hero-art {
  background:
    radial-gradient(ellipse at 45% 20%, #9b72311f, transparent 70%) padding-box,
    linear-gradient(135deg, #d9b66f66, #d9b66f05 45%, #d9b66f33) border-box;
}
.match-row {
  grid-template-columns: 90px minmax(0, 1fr) 90px 140px;
  gap: 18px;
}
.sports-score {
  display: grid;
  gap: 5px;
  text-align: center;
}
.sports-score strong {
  font:
    600 25px Arial,
    sans-serif;
  color: var(--gold-light);
  overflow-wrap: anywhere;
}
.sports-score span {
  font-size: 10px;
  color: var(--muted);
}
.sports-outcome {
  display: grid;
  text-align: right;
  gap: 4px;
}
.sports-outcome strong {
  font-size: 12px;
  color: #dcc48e;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.sports-outcome span {
  font-size: 10px;
  color: var(--muted);
}
.match-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.event-row .fighter .corner {
  display: none;
}
.community-page {
  max-width: 960px;
}
.community-page .panel h2 {
  margin-top: 0;
}
.membership-note {
  margin-top: 22px;
  color: var(--muted);
}
.has-social-rail {
  padding-right: 64px;
}
.social-rail {
  position: fixed;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 52px;
  padding: 5px 3px;
  background: #121315ef;
  border: 1px solid #d9b66f55;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  box-shadow: -8px 0 28px #0003;
}
.social-rail-link {
  min-height: 55px;
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #e7cd94;
  border-radius: 7px;
  transition:
    background 0.2s,
    color 0.2s;
}
.social-rail-link:hover {
  background: #e2bd6220;
  color: #fff0c8;
}
.social-rail-link svg {
  width: 23px;
  height: 23px;
}
.social-rail-link > span {
  font:
    9px Arial,
    sans-serif;
}
.social-rail-link:focus-visible {
  outline-offset: 0;
}
.post-placeholder span {
  font-family: var(--font);
  letter-spacing: 0.05em;
}
.post-placeholder b {
  color: #c9ac745c;
}
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 46px;
  }
  .match-row {
    grid-template-columns: 76px minmax(0, 1fr) 80px 120px;
    gap: 12px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    padding-block: 12px;
    gap: 10px;
  }
  .header-inner > .brand {
    max-width: calc(100% - 66px);
  }
  .header-inner .brand-logo {
    max-width: 100%;
    max-height: 78px;
  }
  .menu-toggle {
    order: 2;
    margin-left: auto;
  }
  .member-actions {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: flex-end;
  }
  .primary-navigation {
    position: absolute;
    top: 100%;
    width: auto;
    left: 0;
    right: 0;
    border-top: 0;
  }
  .primary-navigation > ul {
    display: block;
  }
  .primary-navigation a {
    min-height: 46px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy .lede {
    max-width: 100%;
    font-size: 16px;
  }
  .hero-art {
    height: 340px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-copy {
    max-width: 640px;
  }
  .match-row {
    grid-template-columns: 70px minmax(0, 1fr) 76px;
  }
  .sports-outcome {
    grid-column: 2/4;
    text-align: left;
    display: flex;
    gap: 14px;
  }
  .sports-score {
    grid-column: 3;
  }
  .match-row .match-time {
    align-self: start;
  }
  .social-rail {
    right: 0;
  }
  .has-social-rail {
    padding-right: 58px;
  }
}
@media (max-width: 600px) {
  .has-social-rail {
    padding-right: 48px;
  }
  .has-social-rail .container {
    width: calc(100% - 24px);
  }
  .social-rail {
    width: 44px;
    padding: 3px 0;
    gap: 3px;
    border-radius: 9px 0 0 9px;
  }
  .social-rail-link {
    min-width: 43px;
    min-height: 52px;
  }
  .social-rail-link > span {
    font-size: 8px;
  }
  .social-rail-link svg {
    width: 21px;
    height: 21px;
  }
  .topline .container {
    justify-content: center;
  }
  .topline .container > span:first-child {
    display: none;
  }
  .header-inner > .brand {
    max-width: calc(100% - 64px);
  }
  .header-inner .brand-logo {
    height: auto;
    max-height: 66px;
  }
  .member-actions {
    justify-content: stretch;
  }
  .member-actions .button {
    flex: 1;
    padding: 8px 9px;
    font-size: 12px;
    gap: 6px;
  }
  .hero {
    padding-top: 30px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-actions .button {
    padding: 10px 12px;
    font-size: 12px;
    flex: auto;
    gap: 8px;
  }
  .hero-caption {
    font-size: 9px;
    line-height: 1.9;
  }
  .hero-art {
    height: 235px;
  }
  .art-bottom {
    font-size: 23px;
    left: 20px;
  }
  .art-number {
    font-size: 8px;
    right: 14px;
    bottom: 16px;
  }
  .art-label {
    left: 20px;
  }
  .match-row {
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 10px;
    padding: 13px 10px;
  }
  .match-time {
    grid-column: 1/3;
  }
  .match-fighters {
    grid-column: 1;
  }
  .sports-score {
    grid-column: 2;
    grid-row: 2;
  }
  .sports-score strong {
    font-size: 21px;
  }
  .sports-outcome {
    grid-column: 1/3;
    grid-row: 3;
    border-top: 1px solid #ffffff08;
    padding-top: 8px;
    font-size: 11px;
  }
  .sports-outcome strong {
    font-size: 11px;
  }
  .corner {
    width: 28px;
  }
  .fighter {
    gap: 5px;
  }
  .fighter strong {
    font-size: 12px;
  }
  .hero .lede {
    font-size: 14px;
  }
  .board-tabs {
    gap: 12px;
  }
  .board-tab {
    font-size: 11px;
  }
  .refresh-button {
    font-size: 10px;
    padding: 6px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading .text-link {
    font-size: 10px;
  }
  .post-card h2 {
    font-size: 20px;
  }
  .footer-grid .brand-logo {
    max-width: 100%;
  }
  .post-placeholder b {
    font-size: 38px;
  }
  .prose h1 {
    font-size: 30px;
  }
}

/* ==========================================================
   Refinements — 2026-10-07
   ========================================================== */

/* Tighter arrow spacing on links and hero CTAs */
.text-link { gap: 6px; }
.hero-actions .button { gap: 8px; }

/* Tighter eyebrow → title → description rhythm, every page */
.eyebrow { margin-bottom: 6px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading h2 { line-height: 1.25; }
.hero .eyebrow { margin-bottom: 10px; }
.hero h1 { margin-bottom: 12px; line-height: 1.22; }
.page-heading h1 { margin-bottom: 8px; line-height: 1.22; }
.page-heading .lede { margin-bottom: 0; }
.article-heading h1 { margin-bottom: 12px; }

/* Content runs full width; the social rail floats on top */
.has-social-rail { padding-right: 0; }

/* Footer: larger text, tidier layout */
.footer-grid { align-items: center; padding-block: 44px; }
.footer-grid p { font-size: 14px; line-height: 1.8; margin-top: 14px; }
.footer-grid .menu { font-size: 15px; gap: 4px 32px; margin: 0; justify-content: flex-end; }
.footer-bottom { font-size: 12px; align-items: center; }
.footer-top-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); }
.footer-top-link:hover { color: #fff; }
.back-to-top { display: none; }

/* Community page buttons */
.panel-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 8px; }
.prose .panel-actions a { text-decoration: none; }
.prose .panel-actions .button-gold { color: #211a0c; }

/* Board footer row now carries the update time */
.board-bottom { align-items: center; font-size: 12px; }
.board-bottom .board-feedback { padding: 0; min-height: 0; font-size: 12px; margin-left: auto; text-align: right; }
.refresh-label { font-style: normal; }

/* Custom date picker (replaces native dropdown / calendar) */
.fight-board { overflow: visible; }
.date-picker { position: relative; }
.date-native { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
.date-picker-trigger {
  width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 18px 9px 14px; background: #111214; border: 1px solid #424247; border-radius: 6px;
  color: var(--text); font-size: 13px; text-align: left; transition: border-color .2s;
}
.date-picker-trigger:hover, .date-picker.is-open .date-picker-trigger { border-color: var(--gold-dim); }
.date-picker-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-picker-caret { flex-shrink: 0; width: 8px; height: 8px; margin-top: -4px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .2s, margin .2s; }
.date-picker.is-open .date-picker-caret { transform: rotate(-135deg); margin-top: 4px; }
.date-picker-panel {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%;
  background: var(--surface-raised); border: 1px solid #d9b66f44; border-radius: 8px;
  box-shadow: 0 16px 36px #000a; padding: 6px;
}
.date-picker-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.date-picker-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 5px; font-size: 14px; color: #d7d4cc; cursor: pointer; white-space: nowrap; outline: none;
}
.date-picker-list li:hover, .date-picker-list li:focus { background: #d9b66f14; color: var(--gold-light); }
.date-picker-list li[aria-selected="true"] { color: var(--gold-light); font-weight: 600; }
.date-picker-list li[aria-selected="true"]:after { content: ""; width: 5px; height: 10px; margin-top: -3px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); }
.date-calendar { width: 292px; max-width: calc(100vw - 48px); padding: 6px; }
.date-calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.date-calendar-head strong { font-size: 14px; color: var(--gold-light); font-weight: 600; }
.date-calendar-nav { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--gold-light); font-size: 20px; line-height: 1; }
.date-calendar-nav:hover:not(:disabled) { border-color: var(--gold-dim); }
.date-calendar-nav:disabled { opacity: .3; cursor: default; }
.date-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.date-calendar-dow { text-align: center; font-size: 11px; color: var(--muted); padding: 4px 0; }
.date-calendar-day { aspect-ratio: 1; border: 0; border-radius: 6px; background: transparent; color: #dedbd3; font-size: 13px; }
.date-calendar-day:hover:not(:disabled), .date-calendar-day:focus-visible { background: #d9b66f1c; color: var(--gold-light); outline: none; }
.date-calendar-day.is-today { box-shadow: inset 0 0 0 1px var(--gold-dim); }
.date-calendar-day.is-selected { background: var(--gold-gradient); color: #211a0c; font-weight: 700; }
.date-calendar-day:disabled { color: #4a4a4c; cursor: default; opacity: 1; }

/* ---------- Mobile only ---------- */
@media (max-width: 800px) {
  /* Header: logo left, menu icon right on one row */
  .header-inner { flex-wrap: wrap; }
  .header-inner > .brand { flex: 1 1 auto; min-width: 0; max-width: calc(100% - 60px); justify-content: flex-start; margin-right: auto; }
  .header-inner .brand-logo { width: auto; max-width: 100%; object-position: left center; }
  .menu-toggle { order: 2; flex-shrink: 0; margin-left: auto; gap: 0; padding: 10px 12px; }
  .menu-bars { width: 18px; height: 12px; border-block-width: 1.5px; position: relative; }
  .menu-bars:after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }

  /* Drawer menu: active item shows colour only */
  .primary-navigation .current-menu-item > a:after { display: none; }

  /* Full width content, social rail a little lower */
  .has-social-rail { padding-right: 0; }
  .social-rail { top: 62%; }

  /* Section links: bigger, no arrow */
  .section-heading .text-link { font-size: 13px; }
  .section-heading .link-arrow { display: none; }

  /* Boards */
  .board-bottom .board-feedback { display: none; }
  .board-tab { font-size: 14px; }
  .refresh-label { display: none; }
  .refresh-button { gap: 0; padding: 6px 10px; min-width: 44px; justify-content: center; }
  body .football-odds-widget button.refresh-btn::after,
  body .football-odds-widget .refresh-btn.button::after { display: none !important; }
  body .football-odds-widget button.refresh-btn,
  body .football-odds-widget .refresh-btn.button { padding: 6px 10px; min-width: 44px; justify-content: center; gap: 0; }

  /* Footer: centred, single-column menu in theme colour */
  .footer-grid { align-items: center; text-align: center; gap: 22px; }
  .footer-about { display: flex; flex-direction: column; align-items: center; }
  .footer-grid p { margin-inline: auto; }
  .footer-grid nav { width: 100%; }
  .footer-grid .menu { flex-direction: column; align-items: center; justify-content: center; gap: 0; }
  .footer-grid .menu a { color: var(--gold-light); min-height: 42px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .footer-bottom > span:nth-child(2) { order: 0; width: auto; }
  .footer-top-link { display: none; }

  /* Floating back-to-top */
  .back-to-top {
    display: flex; align-items: center; justify-content: center;
    position: fixed; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 55;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--gold-gradient); color: #211a0c; box-shadow: 0 8px 22px #0009;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
  .back-to-top svg { width: 22px; height: 22px; }
}
@media (max-width: 600px) {
  .has-social-rail { padding-right: 0; }
  .has-social-rail .container { width: calc(100% - 32px); }
  .header-inner .brand-logo { max-height: 60px; }
  .section-heading .text-link { font-size: 13px; }
  .board-tab { font-size: 14px; }
  .refresh-button { padding: 6px 10px; font-size: 18px; }
}
/* Refresh icon (custom SVG) — match boards */
.refresh-button > .refresh-icon { display: inline-flex; font-size: 0; line-height: 0; }
.refresh-button .refresh-icon svg { width: 19px; height: 19px; display: block; }
.refresh-button:hover .refresh-icon { color: var(--gold); }
.refresh-button.is-loading > .refresh-icon { animation: spin 1s linear infinite; }
/* Article page layout — matched to บ้านมวยวัน.com (2026-10-07) */
.article-page {
  --line-green: #0a8f45;
  --line-green-hover: #0ba34f;
  padding-top: 28px;
}
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.article-breadcrumb a {
  color: var(--gold);
}
.article-breadcrumb a:last-child {
  color: var(--muted);
}
.article-breadcrumb a:hover {
  color: var(--gold-light);
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0 48px;
  align-items: start;
}
.article-main {
  min-width: 0;
  max-width: 780px;
}
.article-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--gold-gradient);
  color: #16130d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}
.article-title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.4;
  color: var(--gold-light);
  margin: 16px 0 20px;
  overflow-wrap: anywhere;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.article-figure {
  margin: 0 0 28px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.article-figure img,
.article-figure .post-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}
.article-content {
  max-width: none;
  color: #d6d3cb;
}
.article-content > *:first-child {
  margin-top: 0;
}
.article-content h2 {
  font-size: 22px;
  color: var(--gold-light);
}
.article-share {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.article-share-label {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.article-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 4px;
  border: 1px solid var(--gold-dim);
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.share-outline:hover {
  border-color: var(--gold);
  background: #d9b66f14;
}
.share-line {
  background: var(--line-green);
  border-color: var(--line-green);
  color: #fff;
}
.share-line:hover {
  background: var(--line-green-hover);
  border-color: var(--line-green-hover);
  color: #fff;
}
.bt-line-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.article-aside {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  position: sticky;
  top: 24px;
  display: grid;
  gap: 28px;
}
.related-news h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text);
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-dim);
}
.related-news h2:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.related-news ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-news li {
  border-bottom: 1px solid var(--line);
}
.related-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
}
.related-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.related-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}
.related-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
  transition: color 0.2s;
}
.related-item:hover .related-title {
  color: var(--gold-light);
}
.related-date {
  font-size: 11px;
  color: var(--muted);
}
.related-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1000px) {
  .article-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 0 32px;
  }
  .article-aside {
    padding-left: 22px;
  }
}
@media (max-width: 800px) {
  .article-page {
    padding-top: 16px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .article-main {
    max-width: none;
  }
  .article-aside {
    position: static;
    border-left: 0;
    padding-left: 0;
    padding-top: 28px;
    border-top: 1px solid var(--gold-dim);
  }
  .article-title {
    font-size: 26px;
  }
  .article-figure {
    margin-bottom: 22px;
  }
}
/* Keep Thai words intact when the article title wraps */
.article-title {
  overflow-wrap: break-word;
  word-break: keep-all;
}

/* Hero ambient motion v2 (2026-10-07): static image + CSS-only overlay layers */
.hero-art { container-type: size; }
.hero-art .art-label, .hero-art .art-bottom, .hero-art .art-number { z-index: 2; }
.hero-fx { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: 1; }
/* Stage = the image's own box under object-fit: cover, so overlay % = image coordinates */
.hero-fx-stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100cqw, calc(100cqh * 1448 / 1086)); aspect-ratio: 1448 / 1086;
  transform: translate(-50%, -50%);
}
@supports not (width: 1cqw) { .hero-fx-stage { inset: 0; width: auto; aspect-ratio: auto; left: 0; top: 0; transform: none; } }

/* Spotlight beams: blurred wrapper feathers a clipped cone */
.hero-beam {
  position: absolute; width: 24%; height: 60%; margin-left: -12%;
  transform-origin: 50% 0; filter: blur(9px); mix-blend-mode: screen; opacity: 0;
  will-change: transform, opacity;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); animation-iteration-count: infinite;
}
.hero-beam::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, rgba(250, 230, 178, 0.95) 0%, rgba(233, 198, 124, 0.55) 28%, rgba(217, 182, 111, 0.2) 68%, rgba(217, 182, 111, 0) 100%);
}
.hero-beam-l { left: 15%; top: 7.5%; animation-name: hero-beam-l; animation-duration: 9.6s; animation-delay: -2.2s; }
.hero-beam-r { left: 86%; top: 6.5%; animation-name: hero-beam-r; animation-duration: 11.8s; animation-delay: -6.4s; animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1); }
@keyframes hero-beam-l {
  0%, 100% { transform: rotate(-26deg) scaleX(1) scaleY(0.9); opacity: 0.17; }
  28% { transform: rotate(-23deg) scaleX(1.08) scaleY(1.02); opacity: 0.24; }
  55% { transform: rotate(-27deg) scaleX(0.93) scaleY(0.94); opacity: 0.19; }
  80% { transform: rotate(-24deg) scaleX(1.04) scaleY(1.06); opacity: 0.26; }
}
@keyframes hero-beam-r {
  0%, 100% { transform: rotate(25deg) scaleX(1.02) scaleY(0.96); opacity: 0.2; }
  22% { transform: rotate(27deg) scaleX(0.94) scaleY(0.9); opacity: 0.16; }
  50% { transform: rotate(23deg) scaleX(1.07) scaleY(1.05); opacity: 0.25; }
  74% { transform: rotate(26deg) scaleX(0.97) scaleY(0.99); opacity: 0.21; }
}

/* Camera flashes: tiny dots, hidden for most of each cycle */
.hero-flashes { position: absolute; inset: 0; }
.hero-flash {
  position: absolute; width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%; background: var(--c); opacity: 0;
  animation: hero-flash-a var(--d) ease-out var(--dl) infinite; will-change: opacity, transform;
}
.hero-flash.b { animation-name: hero-flash-b; }
.hero-flash.g { box-shadow: 0 0 calc(var(--s) * 2.2) calc(var(--s) * 0.5) var(--gc); }
@keyframes hero-flash-a {
  0%, 95.8% { opacity: 0; transform: scale(0.6); }
  97% { opacity: var(--o); transform: scale(1); }
  100% { opacity: 0; transform: scale(0.85); }
}
@keyframes hero-flash-b {
  0%, 97.3% { opacity: 0; transform: scale(0.6); }
  98.1% { opacity: var(--o); transform: scale(1); }
  100% { opacity: 0; transform: scale(0.85); }
}
@media (max-width: 600px) {
  .hero-fx-stage { top: 55%; transform: translate(-50%, -55%); }
  .hero-flashes > :nth-child(n + 21) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-fx { display: none; } }

/* Hero beams v2 (2026-10-07): stronger but still within 0.28 opacity / ~5deg tilt */
.hero-beam { filter: blur(5px); mix-blend-mode: plus-lighter; width: 30%; margin-left: -15%; height: 62%; }
.hero-beam::before {
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, rgba(255,236,190,1) 0%, rgba(246,214,148,.85) 22%, rgba(226,190,118,.5) 55%, rgba(217,182,111,.12) 85%, rgba(217,182,111,0) 100%);
}
@keyframes hero-beam-l {
  0%, 100% { transform: rotate(-27deg) scaleX(0.95) scaleY(0.86); opacity: 0.12; }
  28% { transform: rotate(-22.5deg) scaleX(1.1) scaleY(1.04); opacity: 0.27; }
  55% { transform: rotate(-26deg) scaleX(0.9) scaleY(0.92); opacity: 0.16; }
  80% { transform: rotate(-23.5deg) scaleX(1.05) scaleY(1.06); opacity: 0.28; }
}
@keyframes hero-beam-r {
  0%, 100% { transform: rotate(24deg) scaleX(1.04) scaleY(0.98); opacity: 0.24; }
  22% { transform: rotate(27.5deg) scaleX(0.92) scaleY(0.86); opacity: 0.12; }
  50% { transform: rotate(23deg) scaleX(1.1) scaleY(1.06); opacity: 0.28; }
  74% { transform: rotate(26deg) scaleX(0.96) scaleY(0.95); opacity: 0.17; }
}

/* Hero light rays v3 (2026-10-07): six narrow beams from the lamp clusters, each panning visibly */
.hero-ray {
  position: absolute; width: 13%; height: 58%; margin-left: -6.5%;
  transform-origin: 50% 0; filter: blur(4px); mix-blend-mode: screen; mix-blend-mode: plus-lighter;
  opacity: 0; will-change: transform, opacity;
  animation: hero-sweep var(--t) cubic-bezier(0.45, 0, 0.55, 1) var(--dl) infinite alternate;
}
.hero-ray::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, rgba(255,238,196,1) 0%, rgba(247,216,150,.85) 20%, rgba(228,192,120,.45) 55%, rgba(217,182,111,.1) 85%, rgba(217,182,111,0) 100%);
}
@keyframes hero-sweep {
  0%   { transform: rotate(var(--a1)) scaleX(0.92) scaleY(0.9);  opacity: var(--o1); }
  50%  { transform: rotate(var(--am)) scaleX(1.1)  scaleY(1.04); opacity: var(--o2); }
  100% { transform: rotate(var(--a2)) scaleX(0.97) scaleY(0.95); opacity: var(--o1); }
}
/* Left rig: angles negative = pointing down-right, toward the pitch but never onto the ball */
.hero-ray.l1 { left: 7%;  top: 5.5%;  --a1: -4deg;  --am: -12deg; --a2: -20deg; --o1: .14; --o2: .26; --t: 6.4s; --dl: -1.3s; }
.hero-ray.l2 { left: 14%; top: 8.8%;  --a1: -24deg; --am: -16deg; --a2: -9deg;  --o1: .16; --o2: .28; --t: 7.7s; --dl: -4.9s; }
.hero-ray.l3 { left: 22%; top: 12%;   --a1: -15deg; --am: -24deg; --a2: -31deg; --o1: .12; --o2: .25; --t: 9.1s; --dl: -2.6s; }
/* Right rig: mirrored, different timings so the two sides never move in step */
.hero-ray.r1 { left: 93%; top: 5.5%;  --a1: 19deg;  --am: 11deg;  --a2: 4deg;   --o1: .15; --o2: .27; --t: 7.1s; --dl: -3.4s; }
.hero-ray.r2 { left: 86%; top: 8.5%;  --a1: 8deg;   --am: 17deg;  --a2: 25deg;  --o1: .13; --o2: .28; --t: 8.4s; --dl: -0.7s; }
.hero-ray.r3 { left: 78.5%; top: 11.5%; --a1: 30deg; --am: 22deg; --a2: 15deg;  --o1: .16; --o2: .25; --t: 5.9s; --dl: -5.2s; }
@media (prefers-reduced-motion: reduce) { .hero-ray { animation: none; display: none; } }

/* Hero light rays v3.1 (2026-10-07): wider swing (~26-28deg), ~30% faster. Inward limits unchanged so beams never reach the ball. */
.hero-ray.l1 { --a1: 6deg;   --am: -8deg;  --a2: -22deg; --t: 4.5s; --dl: -0.9s; }
.hero-ray.l2 { --a1: -28deg; --am: -15deg; --a2: -2deg;  --t: 5.4s; --dl: -3.4s; }
.hero-ray.l3 { --a1: -4deg;  --am: -18deg; --a2: -31deg; --t: 6.3s; --dl: -1.8s; }
.hero-ray.r1 { --a1: 22deg;  --am: 8deg;   --a2: -6deg;  --t: 5s;   --dl: -2.4s; }
.hero-ray.r2 { --a1: 2deg;   --am: 15deg;  --a2: 28deg;  --t: 5.9s; --dl: -0.5s; }
.hero-ray.r3 { --a1: 30deg;  --am: 17deg;  --a2: 4deg;   --t: 4.2s; --dl: -3.6s; }

/* Mobile: tighter title-to-content spacing on every page (2026-10-07) */
@media (max-width: 800px) {
  .section-heading { align-items: flex-end; margin-bottom: 16px; }
  .section-heading .text-link { margin-top: 0; min-height: 0; padding-block: 6px 3px; line-height: 1.4; }
  .page-heading { margin-bottom: 20px; }
  .page-heading .lede { margin-bottom: 0; }
  .article-breadcrumb { margin-bottom: 18px; }
}

/* Mobile back-to-top: dark theme (2026-10-07) */
@media (max-width: 800px) {
  .back-to-top {
    background: #131416ee;
    color: var(--gold-light);
    border: 1px solid #d9b66f66;
    box-shadow: 0 8px 22px #000a, inset 0 1px 0 #ffffff0d;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .back-to-top:active { background: #1a1b1e; border-color: var(--gold); }
}

/* Mobile menu icon: hamburger -> X when the drawer is open (2026-10-07) */
@media (max-width: 800px) {
  .menu-bars { transition: border-color 0.2s; }
  .menu-bars:before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: currentColor; opacity: 0; }
  .menu-bars:before, .menu-bars:after { transition: transform 0.25s ease, opacity 0.2s; }
  .menu-toggle[aria-expanded="true"] .menu-bars { border-color: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars:after { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars:before { opacity: 1; transform: rotate(-45deg); }
  .menu-toggle[aria-expanded="true"] { border-color: #d9b66f66; }
}
@media (max-width: 800px) and (prefers-reduced-motion: reduce) {
  .menu-bars, .menu-bars:before, .menu-bars:after { transition: none; }
}
