@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;
  }
}

/* ==========================================================================
   Site refinements (Oct 2026)
   ========================================================================== */

/* Social rail floats over full-width content instead of reserving a gutter. */
.has-social-rail {
  padding-right: 0;
}
@media (max-width: 800px) {
  .has-social-rail {
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  .has-social-rail .container {
    width: calc(100% - 32px);
  }
}

/* Arrows sit closer to their labels */
.text-link:has(> .link-arrow) {
  gap: 0.35em;
}
.post-card .text-link {
  gap: 8px;
}
.hero-actions .button {
  gap: 10px;
}

/* Community page buttons: no underline, dark text on gold, wider gap */
.community-page .panel .button {
  text-decoration: none;
  margin: 6px 14px 6px 0;
}
.community-page .panel .button-gold {
  color: #211a0c;
}
.community-page .panel .button-outline {
  color: var(--gold-light);
}

/* Date selector: custom chevron with breathing room from the right border */
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23d9b66f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.field select::-ms-expand {
  display: none;
}
.field input[type="date"] {
  padding-right: 16px;
}
.field input[type="date"]::-webkit-calendar-picker-indicator {
  margin-right: 4px;
  cursor: pointer;
}

/* Custom date dropdown (enhances select[data-date-select]) */
.bt-select {
  position: relative;
}
.bt-select-native {
  position: absolute !important;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.bt-select-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 9px 44px 9px 13px;
  background-color: #111214;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23d9b66f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  border: 1px solid #424247;
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s;
}
.bt-select-trigger:hover,
.bt-select.is-open .bt-select-trigger {
  border-color: var(--gold-dim);
}
.bt-select.is-open .bt-select-trigger {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5 6 1.5 11 6.5' fill='none' stroke='%23d9b66f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.bt-select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bt-select-list {
  display: none;
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  min-width: 100%;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface-raised);
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  box-shadow: 0 16px 32px #000a;
  outline: none;
}
.bt-select.is-open .bt-select-list {
  display: block;
}
.bt-select-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 13px;
  color: #d6d3cb;
  cursor: pointer;
}
.bt-select-list li.is-active {
  background: #d9b66f1a;
  color: var(--gold-light);
}
.bt-select-list li[aria-selected="true"] {
  color: var(--gold-light);
  font-weight: 700;
}
.bt-select-list li[aria-selected="true"]:after {
  content: "";
  width: 12px;
  height: 8px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5 4.3 7.8 11 1' fill='none' stroke='%23d9b66f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.bt-select-list::-webkit-scrollbar {
  width: 6px;
}
.bt-select-list::-webkit-scrollbar-thumb {
  background: #d9b66f44;
  border-radius: 3px;
}
@media (max-width: 600px) {
  .bt-select-trigger,
  .bt-select-list li {
    font-size: 16px;
  }
}

/* Board footer: update time sits bottom-right, text a little larger */
.board-bottom {
  align-items: center;
  font-size: 12px;
}
.board-bottom .board-feedback {
  display: flex;
  align-items: center;
  padding: 0;
  min-height: 0;
  margin-left: auto;
  font-size: inherit;
  color: inherit;
  text-align: right;
}
.board-bottom .board-feedback.is-warning {
  color: var(--gold-light);
}
.board-bottom .board-feedback:before {
  flex-shrink: 0;
}

/* Footer: slightly larger text, tidier alignment */
.footer-grid p {
  font-size: 14px;
  line-height: 1.8;
}
.footer-grid .menu a {
  font-size: 14px;
}
.footer-bottom,
.footer-bottom > * {
  font-size: 12px;
}
@media (min-width: 801px) {
  .footer-grid {
    align-items: center;
  }
  .footer-grid .menu {
    margin: 0;
    gap: 8px 32px;
    justify-content: flex-end;
  }
  .footer-bottom {
    align-items: center;
  }
}

/* Tighter heading rhythm: eyebrow, title and description (every page) */
.page-heading .eyebrow {
  margin-bottom: 10px;
}
.page-heading h1 {
  line-height: 1.15;
  margin: 0 0 8px;
}
.page-heading .lede {
  margin-top: 0;
}
.hero-copy .eyebrow {
  margin-bottom: 0;
}
.hero-copy h1 {
  margin-bottom: 7px;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
}

/* Mobile: menu button is icon only (label kept for screen readers) */
@media (max-width: 800px) {
  .menu-toggle {
    gap: 0;
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .menu-toggle > span:not(.menu-bars) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ==========================================================================
   Mobile only (max 800px). Desktop untouched.
   ========================================================================== */
.back-to-top {
  display: none;
}
@media (max-width: 800px) {
  /* Logo left, menu button right, same row */
  .header-inner > .brand {
    order: 1;
    max-width: calc(100% - 130px);
    margin-right: auto;
  }
  .header-inner .brand-logo {
    width: auto;
    max-width: 100%;
    object-position: left center;
  }
  .header-inner > .menu-toggle {
    order: 2;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Drawer: current page shown by colour only, no underline */
  .primary-navigation .current-menu-item > a:after {
    display: none;
  }

  /* Floating social rail sits a little lower */
  .social-rail {
    top: 62%;
  }

  /* Refresh: icon only, no frame, tight (text kept for screen readers) */
  .refresh-button {
    font-size: 0;
    gap: 0;
    border: 0;
    padding: 0;
    width: 36px;
    height: 36px;
    min-height: 36px;
    justify-content: center;
  }
  .refresh-button > span {
    font-size: 22px;
  }

  /* Hide the "updated at" line */
  .board-feedback,
  .board-bottom .board-feedback {
    display: none;
  }

  /* Board tabs: ทั้งหมด / กำลังแข่งขัน a little larger */
  .board-tab {
    font-size: 13px;
  }
  .board-tab [data-live-count] {
    font-size: 12px;
  }

  /* "See all / Read all": larger, no arrow */
  .section-heading .text-link {
    font-size: 13px;
  }
  .section-heading .link-arrow {
    display: none;
  }

  /* Floating back-to-top button */
  .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: 60;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d9b66f66;
    border-radius: 50%;
    background: #121315ef;
    color: var(--gold-light);
    box-shadow: 0 6px 20px #0006;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
      opacity 0.25s,
      transform 0.25s,
      visibility 0.25s;
  }
  .back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
  .footer-bottom a[href="#main-content"] {
    display: none;
  }

  /* Footer: everything centred, menu in one gold column */
  .footer-grid {
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-grid .brand {
    justify-content: center;
  }
  .footer-grid .brand-logo {
    object-position: center;
  }
  .footer-grid p {
    margin: 12px auto 0;
  }
  .footer-grid .menu {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
  }
  .footer-grid .menu a {
    min-height: 40px;
    color: var(--gold);
  }
  .footer-grid .menu a:hover,
  .footer-grid .menu .current-menu-item > a {
    color: var(--gold-light);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .footer-bottom > span:nth-child(2) {
    width: auto;
    order: 0;
  }
  .board-bottom {
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .footer-bottom,
  .footer-bottom > * {
    font-size: 11px;
  }
}
@media (max-width: 800px) and (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

/* Refresh icon (SVG), vertically centred with the label */
.refresh-button {
  align-items: center;
  line-height: 1;
}
.refresh-button > .refresh-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
}
.refresh-button > .refresh-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 800px) {
  .refresh-button > .refresh-icon {
    width: 20px;
    height: 20px;
    font-size: 0;
  }
}

/* Refresh label: own span, nudged 1px down to sit optically centred with the icon */
.refresh-button > .refresh-label {
  font-size: inherit;
  line-height: 1;
  position: relative;
  top: 1px;
}
.refresh-button.is-loading > .refresh-label {
  animation: none;
}
@media (max-width: 800px) {
  .refresh-button > .refresh-label {
    font-size: 0;
  }
}



/* ==========================================================================
   Hero art: drifting smoke (driven by main.js)
   ========================================================================== */
.hero-fx-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.hero-art .hero-smoke {
  filter: url(#hero-smoke-filter);
  /* Only the smoke column billows; the tower, sky and rocket stay sharp. */
  -webkit-mask-image:
    radial-gradient(ellipse 16% 19% at 39% 66%, #000 45%, transparent 100%),
    radial-gradient(ellipse 10% 15% at 56% 42%, #000 35%, transparent 100%),
    radial-gradient(ellipse 6% 10% at 64% 25%, #000 25%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 16% 19% at 39% 66%, #000 45%, transparent 100%),
    radial-gradient(ellipse 10% 15% at 56% 42%, #000 35%, transparent 100%),
    radial-gradient(ellipse 6% 10% at 64% 25%, #000 25%, transparent 100%);
  opacity: 0;
  transform-origin: 40% 85%;
  pointer-events: none;
  transition: opacity 2s ease;
}
.hero-art.is-animated .hero-smoke {
  opacity: 0.85;
  animation: hero-smoke-rise 22s ease-in-out infinite alternate;
}
@keyframes hero-smoke-rise {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0.3%, -1%, 0) scale(1.015);
  }
}
.hero-art .hero-water {
  filter: url(#hero-water-filter);
  /* Only the paddy water at the bottom of the photo ripples. */
  -webkit-mask-image: linear-gradient(to bottom, transparent var(--water-top, 88%), #000 calc(var(--water-top, 88%) + 2.5%));
  mask-image: linear-gradient(to bottom, transparent var(--water-top, 88%), #000 calc(var(--water-top, 88%) + 2.5%));
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s ease;
}
.hero-art.is-animated .hero-water {
  opacity: 0.85;
}
.hero-art .hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s ease;
}
.hero-art.is-animated .hero-fx {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .hero-smoke,
  .hero-art .hero-water,
  .hero-art .hero-fx {
    display: none;
  }
}


/* ==========================================================================
   Single article — news layout
   ========================================================================== */
.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);
}
/* Share bar */
.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;
}
/* Sidebar */
.article-aside {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  position: sticky;
  top: 24px;
  display: grid;
  gap: 28px;
}
.line-cta {
  padding: 18px;
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  background: var(--surface);
}
.line-cta h2 {
  font-size: 18px;
  font-style: italic;
  color: var(--gold-light);
  margin: 0 0 6px;
}
.line-cta p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
}
.line-cta-button {
  width: 100%;
}
.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;
  }
}

/* Community page: wider gap between login and register buttons */
.community-page .panel .button {
  margin: 6px 24px 6px 0;
}
.community-page .panel .button:last-child {
  margin-right: 0;
}


/* Mobile drawer button: two lines morph into an "X" while the drawer is open */
.menu-toggle .menu-bars {
  position: relative;
  border-block: 0;
}
.menu-toggle .menu-bars::before,
.menu-toggle .menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transition:
    top 0.25s ease,
    transform 0.25s ease;
}
.menu-toggle .menu-bars::before {
  top: 0;
}
.menu-toggle .menu-bars::after {
  top: calc(100% - 1px);
}
.menu-toggle[aria-expanded="true"] .menu-bars::before {
  top: calc(50% - 0.5px);
  transform: rotate(45deg) scaleX(1.15);
}
.menu-toggle[aria-expanded="true"] .menu-bars::after {
  top: calc(50% - 0.5px);
  transform: rotate(-45deg) scaleX(1.15);
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle .menu-bars::before,
  .menu-toggle .menu-bars::after {
    transition: none;
  }
}


/* Mobile board controls: date field must not crowd out the match counter (iOS Safari) */
@media (max-width: 600px) {
  .board-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 14px;
  }
  .board-counter {
    justify-self: end;
    align-self: end;
    padding-bottom: 10px;
  }
}
.field input[type="date"] {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}
.field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
}

/* Date field: keep the native picker (iOS/Android), show a calendar icon on mobile */
.field input[type="date"] {
  -webkit-appearance: auto;
  appearance: auto;
}
@media (max-width: 800px) {
  .board-controls > .field:first-child {
    min-width: 0;
    overflow: hidden;
  }
  .field input[type="date"] {
    position: relative;
    width: 100%;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9b66f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
    cursor: pointer;
  }
  /* Android/Chrome: invisible native trigger covers the whole field */
  .field input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }
}

/* Mobile: tighter space between the page heading description and the content */
@media (max-width: 800px) {
  .page-heading {
    margin-bottom: 20px;
  }
  .page-heading .lede {
    margin-bottom: 0;
  }
}

/* iOS Safari ignores width on a natively-styled date input; drop native styling on mobile
   so it fits its column (the tap still opens the system date picker). */
@media (max-width: 800px) {
  .field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  .field input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    margin: 0;
  }
}

/* Only the native date field needs clipping; the custom dropdown (live page) must overflow freely */
@media (max-width: 800px) {
  .board-controls > .field:first-child {
    overflow: visible;
  }
  .board-controls > .field:first-child:has(> input[type="date"]) {
    overflow: hidden;
  }
}

/* Mobile homepage: tighter gap between section headings and their content */
@media (max-width: 800px) {
  .section-heading {
    align-items: flex-end;
    margin-bottom: 16px;
  }
  .section-heading h2 {
    margin-bottom: 0;
  }
  .section-heading .text-link {
    margin: 0;
    padding-bottom: 4px;
  }
}
