/* ONE Championship Fights — Polymarket Dark-Mode Obsidian Shell */
:root {
  --bg: #0c0e13;
  --panel: #1c1f27;
  --line: #2d3037;
  --text: #edeff1;
  --muted: #8a9098;
  --red: #3262ff;
  --red2: #7ea6ff;
  --up: #7ea6ff;
  --down: #8a9098;
  --gold: #7ea6ff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0c0e13;
  color: #edeff1;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #5485ff;
}

.lede a,
.prose a,
.faq p a,
.bio a,
.note a,
.card .hd a.more,
.bout .vs a.mu,
a.pv {
  color: #5485ff;
}

.lede a:hover,
.prose a:hover,
.faq p a:hover,
.bio a:hover,
.note a:hover,
.card .hd a.more:hover,
.bout .vs a.mu:hover,
a.pv:hover {
  color: #7ea6ff;
}

.bio a {
  text-decoration: underline;
  text-decoration-color: rgba(84, 133, 255, 0.35);
  text-underline-offset: 3px;
}

a[style*="var(--red2)"] {
  color: #5485ff !important;
}

a[style*="var(--red2)"]:hover {
  color: #7ea6ff !important;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.crumbs {
  font-size: 13px;
  color: #8a9098;
  margin: 18px 0 8px;
}

.crumbs a {
  color: #8a9098;
}

.crumbs a:hover {
  color: #edeff1;
}

h1 {
  font-size: clamp(26px, 2.8vw, 32px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 6px 0 10px;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 28px 0 12px;
}

h3 {
  color: #ffffff;
  font-weight: 600;
}

.lede {
  color: #b6bbc4;
  font-size: 15px;
  line-height: 1.55;
  max-width: 820px;
}

.note,
.credit {
  color: #8a9098;
}

/* Updated Indicator (Flat Blue Dot, Zero Glow) */
.upd {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13px;
  color: #8a9098;
  margin: 6px 0 18px;
}

.upd b {
  color: #edeff1;
  font-weight: 600;
  white-space: nowrap;
}

.upd .dot,
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3262ff;
  box-shadow: none;
  flex: none;
}

/* Polymarket 2-Row Sticky Header — Desktop (>920px) */
.burger,
.m-only,
.m-sep {
  display: none !important;
}

header.top {
  background: #0c0e13;
  border-bottom: 1px solid #2d3037;
  position: sticky;
  top: 0;
  z-index: 50;
}

header.top .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: auto;
  gap: 0;
}

header.top a.logo {
  order: 1;
  flex: none;
  display: flex;
  align-items: center;
  padding: 16px 0;
  height: 60px;
}

header.top .logo img {
  height: 22px;
  width: auto;
  display: block;
}

header.top #pm-search-wrap,
header.top .pm-search-wrap {
  order: 2;
  margin-left: 24px;
}

@media (min-width: 1021px) {
  header.top .wrap {
    position: relative;
  }
  header.top #pm-search-wrap,
  header.top .pm-search-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    width: min(460px, 38vw);
    margin-left: 0;
    z-index: 80;
  }
}

@media (min-width: 921px) and (max-width: 1020px) {
  header.top #pm-search-wrap,
  header.top .pm-search-wrap {
    margin: 0 auto;
    flex: 0 1 340px;
  }
  header.top #pm-hactions,
  header.top .pm-hactions,
  header.top #pm-hcontrols,
  header.top .wrap > #pk-acct-btn {
    margin-left: 0;
  }
}

header.top #pm-hactions,
header.top .pm-hactions,
header.top #pm-hcontrols,
header.top .wrap > #pk-acct-btn {
  order: 3;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

header.top #pm-msearch-btn,
header.top .pm-msearch-btn {
  display: none;
}

header.top nav.main {
  order: 4;
  flex-basis: 100%;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 500;
  color: #b6bbc4;
  min-width: 0;
}

header.top nav.main::-webkit-scrollbar {
  display: none;
}

header.top nav.main a {
  display: flex;
  align-items: center;
  flex: none;
  position: relative;
  white-space: nowrap;
  padding: 0 2px;
  color: #b6bbc4;
  font-weight: 500;
  transition: color 0.15s;
}

header.top nav.main a:hover {
  color: #edeff1;
}

header.top nav.main a.on {
  color: #edeff1;
  font-weight: 600;
}

header.top nav.main a.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ffffff;
  border-radius: 2px 2px 0 0;
}

/* Header Action Pill & Signed-In Dot (Dot Hidden When Signed Out) */
header.top .nav-acct,
.nav-acct {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 0;
  background: #3262ff;
  color: #ffffff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
  box-shadow: none;
  transition: background 0.15s, box-shadow 0.15s;
}

header.top .nav-acct:hover,
.nav-acct:hover {
  background: #406dff;
  color: #ffffff;
}

header.top .nav-acct .acct-dot,
.nav-acct .acct-dot {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3262ff;
  box-shadow: none;
  flex: none;
}

header.top .nav-acct.signed,
.nav-acct.signed {
  background: #1c1f27;
  box-shadow: inset 0 0 0 1px #2d3037;
  color: #edeff1;
}

header.top .nav-acct.signed:hover,
.nav-acct.signed:hover {
  background: #242832;
  box-shadow: inset 0 0 0 1px #3f444e;
}

header.top .nav-acct.signed .acct-dot,
.nav-acct.signed .acct-dot {
  display: inline-block;
  background: #3262ff;
  box-shadow: none;
}

/* Polymarket 2-Row Sticky Header — Mobile (<=920px, <=96px total) */
@media (max-width: 920px) {
  header.top .wrap {
    padding: 0;
    gap: 0;
    height: auto;
  }
  header.top #pm-search-wrap,
  header.top .pm-search-wrap {
    display: none !important;
  }
  header.top a.logo {
    order: 1;
    padding: 13px 0 11px 16px;
    height: 53px;
  }
  header.top .logo img {
    height: 19px;
    width: auto;
  }
  header.top #pm-hactions,
  header.top .pm-hactions,
  header.top #pm-hcontrols,
  header.top #pm-mcontrols {
    order: 2;
    margin-left: auto;
    padding-right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 53px;
  }
  header.top .wrap > #pk-acct-btn {
    order: 2;
    margin: 10px 16px 11px auto;
  }
  header.top #pm-msearch-btn,
  header.top .pm-msearch-btn {
    display: inline-flex;
  }
  header.top nav.main,
  header.top.open nav.main {
    order: 3;
    flex-basis: 100%;
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    width: 100%;
    height: 42px;
    max-height: none !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px !important;
    gap: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    scrollbar-width: none;
  }
  header.top nav.main::-webkit-scrollbar {
    display: none;
  }
  header.top nav.main a {
    display: flex;
    align-items: center;
    flex: none;
    border-bottom: 0 !important;
    padding: 0 2px !important;
    font-size: 13.5px !important;
    font-weight: 500;
    color: #b6bbc4 !important;
  }
  header.top nav.main a.on {
    color: #edeff1 !important;
    font-weight: 600;
  }
  header.top nav.main a.on::after {
    bottom: 0;
    height: 2px;
    background: #ffffff;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
  body {
    padding-bottom: 72px;
  }
  h1 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
  }
}

/* Flat #1c1f27 Cards & Crisp Ring Elevation */
.card {
  background: #1c1f27;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.card .hd {
  padding: 13px 16px;
  border-bottom: 1px solid #2d3037;
}

.card .hd h2,
.card .hd h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.card .hd h2 a:hover,
.card .hd h3 a:hover {
  color: #5485ff;
}

.card .hd small {
  color: #8a9098;
  font-size: 12.5px;
}

.card .hd a.more {
  color: #5485ff;
  font-weight: 600;
  font-size: 13px;
}

.card .hd a.more:hover {
  color: #7ea6ff;
}

.card ul li {
  color: #edeff1;
}

.grid {
  gap: 12px;
}

.grid.rkgrid {
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
}

@media (max-width: 540px) {
  .grid.rkgrid {
    grid-template-columns: 1fr;
  }
}

.bout .side > span {
  min-width: 0;
}

table.rk.compact td,
table.rk.compact th {
  padding: 8px 10px;
}

/* Filter Pills */
.pills a {
  background: #1c1f27;
  border: 1px solid #2d3037;
  border-radius: 9999px;
  color: #b6bbc4;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pills a:hover {
  background: #242832;
  border-color: #3a3e47;
  color: #edeff1;
}

.pills a.on {
  background: #2d3037;
  border-color: #3f444e;
  color: #ffffff;
}

/* Rankings Tables, Champions & Movement Indicators */
table.rk {
  font-variant-numeric: tabular-nums;
}

table.rk th {
  color: #8a9098;
  font-weight: 600;
  border-bottom: 1px solid #2d3037;
}

table.rk td {
  color: #edeff1;
  border-bottom: 1px solid #2d3037;
}

table.rk tbody tr {
  transition: background 0.15s;
}

table.rk tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

td.r {
  color: #8a9098;
  font-weight: 600;
}

tr.champ {
  background: rgba(50, 98, 255, 0.06);
}

tr.champ:hover {
  background: rgba(50, 98, 255, 0.09);
}

tr.champ td.r {
  color: #7ea6ff;
}

td.f .nm {
  color: #edeff1;
  font-weight: 600;
}

td.f a.nm:hover {
  color: #5485ff;
}

td.f small {
  color: #8a9098;
}

td.rec {
  color: #8a9098;
}

.belt {
  display: inline-block;
  background: #141f42;
  color: #7ea6ff;
  border: 1px solid rgba(50, 98, 255, 0.32);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: 2px;
}

.mv {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mv.up {
  color: #7ea6ff;
}

.mv.down {
  color: #8a9098;
}

.mv.new {
  display: inline-block;
  background: #141f42;
  color: #7ea6ff;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.mv.same {
  color: #5d636e;
}

/* Circular Fighter Headshots & Clean Initials Avatars */
.hs {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #242832;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hs.ini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #edeff1;
  letter-spacing: -0.02em;
  flex: none;
}

.compact .hs {
  width: 32px;
  height: 32px;
}

.compact .hs.ini {
  font-size: 11px;
}

/* Flat Hero Banner, Dual Grid & Watch Strip */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  align-items: center;
  padding: 18px 18px 16px;
  background: #1c1f27;
  border-bottom: 1px solid #2d3037;
}

.hero .k {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ea6ff;
}

.hero h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 4px 0 4px;
  color: #ffffff;
}

.hero p {
  margin: 0;
  color: #b6bbc4;
  font-size: 14px;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.watch {
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #b6bbc4;
  border-bottom: 1px solid #2d3037;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
}

.watch a:not(.cta-pill) {
  color: #5485ff;
  font-weight: 600;
}

.watch a:not(.cta-pill):hover {
  color: #7ea6ff;
}

@media (max-width: 768px) {
  .hero,
  .duo {
    grid-template-columns: 1fr;
  }
}

/* Events & Bouts */
.ev {
  border-color: #2d3037;
  transition: background 0.15s;
}

a.ev:hover {
  background: #242832;
  color: inherit;
}

.ev .dt {
  color: #8a9098;
}

.ev .dt b {
  color: #ffffff;
}

.ev strong {
  color: #edeff1;
  font-weight: 600;
}

.ev small {
  color: #8a9098;
}

.bout {
  border-color: #2d3037;
  transition: background 0.15s;
}

.bout .side .nm {
  color: #edeff1;
  font-weight: 600;
}

.bout .side a.nm:hover {
  color: #5485ff;
}

.bout .side small {
  color: #8a9098;
}

.bout .vs {
  color: #8a9098;
}

.bout .vs b {
  color: #ffffff;
  font-weight: 600;
}

.bout .vs a.mu {
  color: #5485ff;
  font-weight: 600;
}

.bout .vs a.mu:hover {
  color: #7ea6ff;
}

.win {
  color: #7ea6ff;
  font-weight: 700;
}

.loss {
  color: #7d8189;
}

table.rk.tot td.k {
  color: #8a9098;
}

table.rk.tot td.better {
  color: #7ea6ff;
  font-weight: 700;
}

/* Start Times Grid & Live Bar */
.times {
  background: #2d3037;
  border: 1px solid #2d3037;
}

.times div {
  background: #1c1f27;
}

.times span {
  color: #7ea6ff;
  font-weight: 600;
}

.times b {
  color: #ffffff;
}

.times small {
  color: #8a9098;
}

.livebar {
  background: #1c1f27;
  border: 1px solid #3262ff;
  border-radius: 12px;
  color: #edeff1;
}

.livebar b {
  color: #ffffff;
}

#livebar .dotl,
.livebar .dotl {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3262ff;
  box-shadow: none;
  animation: none;
}

/* Fighter Profile, Facts, Stat Bars & Prose */
.prof .body {
  background: #1c1f27;
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.16);
}

dl.facts {
  background: #2d3037;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

dl.facts div {
  background: #1c1f27;
}

dl.facts dt {
  color: #8a9098;
}

dl.facts dd {
  color: #ffffff;
}

.bar {
  background: #262a33;
}

.bar i {
  background: #3262ff;
}

.bio,
.prose,
.faq p {
  color: #b6bbc4;
}

.prose h2 {
  color: #ffffff;
}

.faq details {
  background: #1c1f27;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.faq summary {
  color: #edeff1;
}

/* Callouts, Badges, CTA Pills & Promo Strip */
.callout {
  background: #1c1f27;
  border: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), inset 3px 0 0 #3262ff;
  border-radius: 15px;
  color: #b6bbc4;
}

.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 6px;
  padding: 2px 7px;
  background: #262932;
  color: #edeff1;
}

.tag.win,
.tag.main {
  background: #141f42;
  color: #7ea6ff;
}

.tag.title {
  background: #262932;
  color: #edeff1;
  border: 1px solid #383c46;
}

.tag.live {
  background: #1c1f27;
  color: #7ea6ff;
  border: 1px solid #3262ff;
  animation: none;
}

a.cta-pill,
.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3262ff;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 9999px;
  margin: 2px 4px 2px 0;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 2px 0 0 #284ecc;
  transition: background 0.15s;
}

a.cta-pill:hover,
.cta-pill:hover {
  background: #406dff;
  color: #ffffff !important;
}

.promo {
  border-top-color: #2d3037;
  color: #8a9098;
}

.promo a {
  color: #b6bbc4;
}

.promo a:hover {
  color: #5485ff;
}

/* Event Countdown Timer */
.cd {
  display: flex;
  gap: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  flex: none;
}

.cd b {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

.cd span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: #8a9098;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .cd {
    text-align: left;
    gap: 16px;
  }
  .cd b {
    font-size: 24px;
  }
}

/* Footer */
footer {
  background: #0c0e13;
  border-top: 1px solid #2d3037;
  margin-top: 44px;
  color: #8a9098;
}

footer a {
  color: #b6bbc4;
}

footer a:hover {
  color: #edeff1;
}

/* Mobile Bottom Nav (<=768px) */
.pm-bnav {
  display: none;
}

@media (max-width: 768px) {
  .pm-bnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #0c0e13;
    border-top: 1px solid #2d3037;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    transition: transform 0.22s ease;
  }
  body.pm-bnav-hidden .pm-bnav {
    transform: translateY(105%);
  }
  .pm-bnav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #8a9098;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
  }
  .pm-bnav a svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .pm-bnav a.on {
    color: #ffffff;
    font-weight: 600;
  }
  .pm-bnav a.on svg {
    stroke: #ffffff;
  }
}
