/* Arena UI Framework 1.2 | 0.2.56 | light application, dark public shell */
:root {--aui-bg:#fff;--aui-surface:#f4f7fb;--aui-surface-alt:#eef3fa;--aui-text:#14213a;--aui-muted:#61728f;--aui-border:#d6e1f0;--aui-primary:#195df1;--aui-primary-hover:#104aca;--aui-active:#7450f7;--aui-radius-sm:7px;--aui-radius:12px;--aui-shadow:0 2px 9px rgba(21,47,91,.05)}
/* Shared public components: preserve dark page background, give content widgets consistent geometry. */
:where(.arena-table-card,.arena-match-stack,.arena-result-stack,.arena-entity-card,.list-card,.single-card,.widget,.arena-featured-match){border-radius:var(--aui-radius);}
:where(.arena-table-card,.arena-match-stack,.arena-result-stack,.arena-entity-card,.list-card,.single-card,.widget) {overflow-wrap:anywhere;}
:where(.arena-component,.arena-component-head,.arena-components-grid){min-width:0}
:where(.arena-component,.arena-entity-card,.arena-table-card,.arena-match-stack,.arena-result-stack) :is(a,button):focus-visible {outline:3px solid #a6bfff;outline-offset:2px}
/* White app canvas, scoped to plugin-managed pages, not dark marketing pages. */
body.arena-plugin-active :is(.arena-my-arena,.arena-my-team,.arena-manager-dashboard,.arena-manager-area,.arena-frontend,.arena-app) :is(.aui-panel,.arena-ui-panel){background:var(--aui-bg);color:var(--aui-text);border:1px solid var(--aui-border);border-radius:var(--aui-radius);box-shadow:var(--aui-shadow)}
body.arena-plugin-active :is(.arena-my-arena,.arena-my-team,.arena-manager-dashboard,.arena-manager-area,.arena-frontend,.arena-app) :is(.aui-panel-header,.arena-ui-panel-header){background:var(--aui-surface-alt);color:var(--aui-text);border-bottom:1px solid var(--aui-border)}
body.arena-plugin-active :is(.arena-my-arena,.arena-my-team,.arena-manager-dashboard,.arena-manager-area,.arena-frontend,.arena-app) :is(.arena-ui-action-primary,.aui-action){background:var(--aui-primary);color:#fff;border-color:var(--aui-primary);border-radius:var(--aui-radius-sm)}
body.arena-plugin-active :is(.arena-my-arena,.arena-my-team,.arena-manager-dashboard,.arena-manager-area,.arena-frontend,.arena-app) :is(.arena-ui-action-secondary){background:#f0f5fc;color:var(--aui-text);border:1px solid var(--aui-border);border-radius:var(--aui-radius-sm)}
/* Specific verified betting selectors: previous CSS set the round to a navy gradient with !important. */
body.arena-app-view.arena-plugin-active .entry-content .arena-manager-section[data-arena-section="apuestas"] :is(.arena-betting-summary,.arena-betting-rules,.arena-betting-round),
body.arena-app-view.arena-plugin-active .arena-betting-round {
 background:#fff!important;background-image:none!important;color:var(--aui-text)!important;
 border:1px solid var(--aui-border)!important;border-radius:12px!important;box-shadow:var(--aui-shadow)!important;
}
body.arena-app-view.arena-plugin-active .arena-betting-round .arena-bet-match,
body.arena-app-view.arena-plugin-active .arena-betting-round .arena-bet-match :is(span,strong,b,small,div),
body.arena-app-view.arena-plugin-active .arena-betting-round :is(.arena-bet-match strong,.arena-bet-match b,.arena-bet-match span,.arena-bet-match small){
 color:var(--aui-text)!important;-webkit-text-fill-color:var(--aui-text)!important;opacity:1!important;
}
body.arena-app-view.arena-plugin-active .arena-betting-round-title{background:var(--aui-surface-alt)!important;background-image:none!important;color:var(--aui-text)!important;border-color:var(--aui-border)!important}
body.arena-app-view.arena-plugin-active .arena-betting-round-title :is(span,strong,b,small){color:var(--aui-text)!important;-webkit-text-fill-color:var(--aui-text)!important}
body.arena-app-view.arena-plugin-active .arena-betting-round .arena-bet-odd {background:var(--aui-primary)!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--aui-primary)!important;box-shadow:none!important}
body.arena-app-view.arena-plugin-active .arena-betting-round .arena-bet-odd :is(span,strong,b,small){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.arena-app-view.arena-plugin-active .arena-betting-round .arena-bet-odd.is-selected {background:var(--aui-active)!important;border-color:var(--aui-active)!important}
/* The version is in footer.php, no JS mutation observer or page-specific badge. */
.site-footer .arena-footer-theme-version {color:#a9b5cf;font-size:.83em;font-weight:500;white-space:nowrap}
@media(max-width:700px){body.arena-app-view.arena-plugin-active .arena-betting-round .arena-bet-match{min-width:0}.site-footer .arena-footer-theme-version{white-space:normal}}

/* 0.2.57: FORM.arena-betting-card is the confirmed dark element. */
body.arena-plugin-active .arena-betting-ui form.arena-betting-card {background:#fff!important;background-image:none!important;color:#172b4d!important;-webkit-text-fill-color:#172b4d!important;border:1px solid var(--aui-border)!important}
body.arena-plugin-active .arena-betting-ui form.arena-betting-card :is(.arena-bet-match-main,.arena-bet-teams,.arena-bet-team) {color:#172b4d!important;-webkit-text-fill-color:#172b4d!important;opacity:1!important}
body.arena-plugin-active .arena-betting-ui form.arena-betting-card :is(.arena-bet-match-main,.arena-bet-teams,.arena-bet-team) :is(span,strong,b,small,div):not(.arena-bet-odd):not(.arena-bet-odd *) {color:#172b4d!important;-webkit-text-fill-color:#172b4d!important;opacity:1!important}

/* Standardized application tables, using the same alternating surface as Plantilla.
   Exclude betting odds and financial ledgers with specialized layout. */
body.arena-app-view.arena-plugin-active .entry-content .arena-manager-section :is(table.arena-front-table,table.arena-players-table) {
  border:1px solid #d6e1f0;border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-manager-section :is(table.arena-front-table,table.arena-players-table) thead th {
  background:#eef3fa!important;color:#172b4d!important;-webkit-text-fill-color:#172b4d!important;
  border-bottom:1px solid #d6e1f0!important;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-manager-section :is(table.arena-front-table,table.arena-players-table) tbody tr:nth-child(even) td {
  background:#f7f9fc!important;
}
@media(max-width:700px){
 body.arena-app-view.arena-plugin-active .entry-content .arena-ui-tab{min-height:44px!important;padding:10px 12px!important}
}

/* Betting odds: blue surface, white text including direct text and nested spans. */
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-betting-round .arena-bet-odd:not(:disabled):not([disabled]) {
 background:#195df1!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 border:1px solid #195df1!important;text-shadow:none!important;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-betting-round .arena-bet-odd :is(span,strong,b,small,em) {
 color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-betting-round .arena-bet-odd.is-selected:not(:disabled) {
 background:#7445f7!important;border-color:#7445f7!important;box-shadow:0 0 0 3px #c5b2ff!important;
}
/* Alternative betting views: selected only when marked active by the plugin. */
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui :is([role="tab"],.arena-betting-tab,.arena-bet-tab)[aria-selected="false"],
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui :is([role="tab"],.arena-betting-tab,.arena-bet-tab):not(.active):not(.is-active):not([aria-selected="true"]) {
 background:#fff!important;color:#34486d!important;-webkit-text-fill-color:#34486d!important;border:1px solid #aebfda!important;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui :is([role="tab"],.arena-betting-tab,.arena-bet-tab):is(.active,.is-active,[aria-selected="true"]) {
 background:#195df1!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #195df1!important;
}

body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-bet-odd:not(:disabled):not([disabled]),
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-bet-odd:not(:disabled):not([disabled]) :is(span,b,strong,small,em) {
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}

/* Navigation 0.2.61 and 0.2.62 superseded by unified contract below. */
body.arena-app-view.arena-plugin-active .entry-content .arena-topic-preferences table,
body.arena-app-view.arena-plugin-active .entry-content .arena-topic-preferences table :is(th,td) {
  border-color:#d8e2ef!important;color:#172b4d!important;
  -webkit-text-fill-color:#172b4d!important;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-topic-preferences table thead th {
  background:#eef3fa!important;background-image:none!important;
  color:#172b4d!important;-webkit-text-fill-color:#172b4d!important;
  font-weight:700!important;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-topic-preferences table tbody tr > th,
body.arena-app-view.arena-plugin-active .entry-content .arena-topic-preferences table tbody tr > td {
  background:#fff!important;background-image:none!important;
  color:#172b4d!important;-webkit-text-fill-color:#172b4d!important;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-topic-preferences table tbody tr:nth-child(even) > :is(th,td) {
  background:#f6f9fd!important;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-topic-preferences table input[type=checkbox] {
  accent-color:#195df1;
}

/* 0.2.63: Betting odds use button.arena-bet-odd with span and strong (Arena 1.13.30).
   Scope to actual betting UI; do not recolor labels elsewhere. */
.arena-betting-ui button.arena-bet-odd,
.arena-betting-ui button.arena-bet-odd span,
.arena-betting-ui button.arena-bet-odd strong,
.arena-betting-ui button.arena-bet-odd:hover span,
.arena-betting-ui button.arena-bet-odd:hover strong,
.arena-betting-ui button.arena-bet-odd.is-selected span,
.arena-betting-ui button.arena-bet-odd.is-selected strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
.arena-betting-ui button.arena-bet-odd { background-color: #195df1 !important; }
.arena-betting-ui button.arena-bet-odd.is-selected { background-color: #7445f7 !important; }


/* 0.2.64 - Confirmed by live Chrome test: white, unbroken odds.
   Use actual plugin class; apply to all descendants, including direct text
   via inherited color and WebKit text-fill. */
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui button.arena-bet-odd,
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui button.arena-bet-odd * {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  white-space:nowrap !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui button.arena-bet-odd {
  min-width:0;
  font-size:14px !important;
  gap:5px !important;
}
/* Keep the confirmed desktop layout unchanged. Mobile-only layout. */
@media (max-width:620px) {
  body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-bet-match-main {
    min-width:0;
    width:100%;
  }
  body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-bet-teams {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) !important;
    gap:4px !important;
    width:100%;
    min-width:0;
  }
  body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-bet-teams > div {
    min-width:0;
    grid-template-columns:26px minmax(0,1fr) !important;
    column-gap:4px !important;
  }
  body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-bet-teams > div:last-child {
    grid-template-columns:minmax(0,1fr) 26px !important;
  }
  body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-bet-teams img {
    width:24px !important;height:24px !important;
  }
  body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-bet-teams strong {
    font-size:clamp(10px,2.75vw,12px) !important;
    line-height:1.25 !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    hyphens:none !important;
    min-width:0;
  }
  body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui .arena-bet-odds {
    min-width:0;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  body.arena-app-view.arena-plugin-active .entry-content .arena-betting-ui button.arena-bet-odd {
    font-size:12px !important;
    gap:4px !important;
    padding:7px 3px !important;
    min-height:40px;
  }
}

/* 0.2.66: explicit text nodes, confirmed in DevTools (SPAN + STRONG).
   Do not depend on color inherited from the button. */
html body .arena-betting-ui .arena-betting-card button.arena-bet-odd > :is(span,strong) {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    white-space:nowrap !important;
}

/* 0.2.68 — Arena navigation contract (visual only).
   Ownership: theme; plugin supplies markup, .is-active and unread counts.
   No width, padding or border-width changes between interaction states. */
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav {
  --arena-nav-accent:#7445f7;
  --arena-nav-ink:#172b4d;
  --arena-nav-unread:#dc2626;
}
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab],
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab].is-active {
  box-sizing:border-box!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;min-height:48px!important;
  padding:11px 14px!important;
  border:0!important;border-bottom:3px solid transparent!important;
  border-radius:6px 6px 0 0!important;
  background:transparent!important;background-image:none!important;
  color:var(--arena-nav-ink)!important;-webkit-text-fill-color:var(--arena-nav-ink)!important;
  font-weight:600!important;box-shadow:none!important;
  outline:none!important;text-decoration:none!important;
  transform:none!important;transition:background-color .15s ease,color .15s ease,border-color .15s ease!important;
}
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab]:hover:not(.is-active) {
  background:#f3f0ff!important;border-bottom-color:#c5b2ff!important;
}
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab].is-active,
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab][aria-current="page"] {
  background:#f4efff!important;border-bottom-color:var(--arena-nav-accent)!important;
  color:#6336dd!important;-webkit-text-fill-color:#6336dd!important;
}
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab]:focus-visible {
  outline:2px solid #195df1!important;outline-offset:2px!important;
}
/* Plugin markup may wrap the label in a span; remove legacy pill styling. */
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab] > span:not(.arena-nav-badge) {
  display:inline!important;padding:0!important;margin:0!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  color:inherit!important;-webkit-text-fill-color:currentColor!important;
  font:inherit!important;
}
/* Active nested label: same state color as its parent, excluding badge. */
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab].is-active > span:not(.arena-nav-badge),
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab][aria-current="page"] > span:not(.arena-nav-badge) {
 color:#6336dd!important;-webkit-text-fill-color:#6336dd!important;
}
/* Unread counter: visually prominent but no positional shift between states. */
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab] .arena-nav-badge,
body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab].is-active .arena-nav-badge {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;flex:0 0 auto!important;
  min-width:21px!important;height:21px!important;padding:0 5px!important;
  border:0!important;border-radius:999px!important;
  background:var(--arena-nav-unread)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:11px!important;font-weight:800!important;line-height:1!important;
  box-shadow:none!important;transform:none!important;
}
@media(max-width:700px) {
 body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab],
 body.arena-app-view.arena-plugin-active .entry-content nav.arena-manager-nav a[data-arena-tab].is-active {
  min-height:44px!important;padding:9px 12px!important;
 }
}

/* 0.2.70 - Variante de acceso visual (opcion 5). Solo en Resumen de Mi Arena.
   La navegacion superior conserva la opcion 3. */
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access{margin:24px 0}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access h4{margin:0 0 12px;color:#172b4d;font-size:18px}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-card{box-sizing:border-box;display:flex;align-items:center;gap:12px;min-width:0;min-height:92px;padding:16px;border:1px solid #d7e1f2;border-radius:12px;background:#fff;color:#172b4d;text-decoration:none;box-shadow:0 3px 12px rgba(19,38,75,.05);transition:background-color .15s,border-color .15s,box-shadow .15s}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-card:hover{background:#f8f6ff;border-color:#9471ef;box-shadow:0 5px 16px rgba(76,51,142,.1)}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-card:focus-visible{outline:3px solid #7950f2;outline-offset:2px}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-card .arena-quick-copy{display:grid;gap:4px;min-width:0}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-card .arena-quick-copy strong{color:#172b4d;font-size:15px;line-height:1.3}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-card .arena-quick-copy small{color:#63728b;font-size:12px;line-height:1.35}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-card .arena-quick-arrow{margin-left:auto;color:#7950f2;font-size:27px;line-height:1}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-card .arena-quick-icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:#f0eaff;color:#7043df;font-size:23px;font-weight:700}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-icon-users::before{content:"♟"}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-icon-repeat::before{content:"⇄"}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-icon-wallet::before{content:"€"}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-icon-calendar::before{content:"▦"}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-icon-ticket::before{content:"◈"}
body.arena-app-view.arena-plugin-active .entry-content .arena-quick-icon-bell::before{content:"♧"}
@media(max-width:950px){body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-grid{grid-template-columns:1fr}body.arena-app-view.arena-plugin-active .entry-content .arena-quick-access-card{min-height:76px;padding:12px}}
