/* Public writing fields retain their resting appearance; Tab highlights the label. */
@media (max-width: 1000px), (any-pointer: coarse) {
    body.arena-theme:not(.wp-admin):not(.elementor-editor-active):not(.elementor-editor-preview) :is(
        input:not([type="file"]):not([type="color"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="hidden"]):not([disabled]):not([readonly]),
        select:not([disabled]), textarea:not([disabled]):not([readonly]), [contenteditable="true"]
    ) {
        /* Family selectors must not reduce the shared touch editing size. */
        font-size: 16px !important;
    }
}

/* Sports control roles share a readable scale without changing their data or states. */
body.arena-theme .arena-results-parity .results-tabs { gap:3px; }
body.arena-theme .arena-results-parity .results-tabs :is(a,button) { font-size:15px; white-space:nowrap; }
body.arena-theme .arena-results-parity :is(.results-filter-field>span,.results-search>span) { font-size:13px; }
body.arena-theme .arena-results-parity :is(.results-filter-form input,.results-filter-form select,.arena-results-advanced__fields select,.arena-results-date,[data-results-date-label],.results-advanced-toggle) { font-size:14px; }
body.arena-theme .arena-results-parity :is(.results-side-nav a,.results-side-nav button,.results-side-competitions a,.results-country-nav a) { font-size:15px; }
body.arena-theme .arena-results-parity .results-side-label,
body.arena-theme .arena-results-parity :is(.results-side-competitions a,.results-country-nav a) { white-space:nowrap; }
body.arena-theme .arena-results-parity .results-sidebar-section h2 { font-size:12px; }
body.arena-theme .arena-results-parity .results-view-all { font-size:14px; }
body.arena-theme .odds-page :is(.odds-quick-filters button,.odds-team-search input,.odds-date-input,.odds-competition-control select) { font-size:15px; }
body.arena-theme .odds-page .odds-control-label { font-size:14px; }
@container arena-page (min-width:981px) and (max-width:1320px) {
    body.arena-theme .arena-results-parity .results-filter-form { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@container arena-page (max-width:520px) {
    body.arena-theme .arena-results-parity .results-control-card {
        grid-template-columns:1fr 1.2fr 1.1fr .7fr;
        grid-template-areas:"live scheduled all filters" "search search search search" "date date date date" "advanced advanced advanced advanced";
    }
    body.arena-theme .arena-results-parity :is(.results-tabs>[data-results-view],.results-advanced-toggle) { font-size:13px; gap:3px; padding-inline:2px; }
    body.arena-theme .arena-results-parity .arena-results-advanced__fields select { padding-inline:9px; }
}

/* Text inputs also match :focus-visible after clicks; modality is handled separately. */
body.arena-theme:not(.elementor-editor-active) :where(
    input:not([type="file"]):not([type="color"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="hidden"]), textarea, select
):focus {
    outline: 0 !important;
}
body.arena-theme[data-arena-field-modality="keyboard"] .arena-field-keyboard-focus {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
@media (forced-colors: active) {
    body.arena-theme[data-arena-field-modality="keyboard"] .arena-field-keyboard-focus { text-decoration-color: CanvasText; }
}

/* Tablet public UI: shared small-type roles, without changing article prose/H1. */
@media (min-width:834px) and (max-width:1279px) {
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) {
        --arena-shell-type:14px; --arena-card-type:14px; --arena-meta-type:13px;
    }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-header :is(.arena-nav__list>li>a,.arena-nav__football-trigger,.arena-account-link,.arena-header__cta) { font-size:14px; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-info-strip__inner { font-size:14px; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-home :is(.arena-module-header__title,.arena-overview__disclosure>summary .arena-module-header__title) { font-size:14px; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) :is(.arena-module-header__action,.arena-sidebar-link,.arena-analysis-read,.arena-story__cta,.arena-community .arena-button) { font-size:14px; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-home :is(.arena-news-grid,.arena-lower-panel) .arena-story h3 { font-size:var(--arena-card-type); }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-hero-news .arena-story :is(h2,h3) { font-size:14px; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-home .elementor-element.arena-hero-grid { height:auto; min-height:var(--arena-hero-height,0px); }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) :is(.arena-story time,.arena-story__category,.arena-entry__meta,.arena-entry__eyebrow,.arena-label,.arena-fine-print,.arena-rating__label,.arena-widget .post-date) { font-size:13px; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-hero-news .arena-story :is(time,.arena-story__category) { line-height:1.3; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-widget .arena-module-header__title { font-size:16px; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-widget .arena-analysis-card--compact h3 { font-size:15px; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-promo-placeholder p { font-size:14px; }
    .arena-home :is(.arena-community p,.arena-community ul,.arena-overview__empty,.arena-overview__stats span) { font-size:14px; line-height:1.4; }
    .arena-home .arena-overview__competitions a { font-size:13px; line-height:1.4; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-footer :is(p,.arena-footer__links li,h2) { font-size:14px; }
    body.arena-theme:not(.arena-landing-shellless):not(:has(main.arena-account-page)) .arena-footer__bottom { font-size:13px; line-height:1.5; }
    .arena-home .arena-calendar--async :is(.arena-calendar__tabs a,.arena-calendar__date-control input[type=date]) { font-size:14px; }
    .arena-home .arena-calendar--async :is(.arena-calendar__table,.arena-calendar__table th,.arena-game__status,.arena-calendar__foot) { font-size:13px; }
    .arena-home .arena-calendar--async :is(.arena-calendar__table th,.arena-game__status) { line-height:1.3; }
}
/* Mobile homepage: measured disclosures and comfortable compact sports controls. */
@media (max-width:700px) {
 .arena-home :is(.arena-hero-news,.arena-lower-panel) .arena-editorial__items.arena-mobile-disclosure { height:auto; align-content:start; grid-template-rows:none; grid-auto-rows:max-content; }
 .arena-home .arena-mobile-disclosure[data-disclosure-animating] { overflow:clip; }
 .arena-home .arena-mobile-disclosure { overflow-anchor:none; }
 /* Keep viewport position stable while the following content moves in normal flow. */
 html:has(.arena-home .arena-mobile-disclosure[data-disclosure-animating]),
 html:has(.arena-home .arena-mobile-disclosure[data-disclosure-animating]) body { overflow-anchor:none; }
 .arena-home .arena-show-more { touch-action:manipulation; }
 body.arena-theme .arena-home .arena-calendar--async .arena-calendar__controls--home .arena-calendar__tabs a { font-size:clamp(11px,calc(2vw + 3.2px),12px); line-height:1.25; padding:7px; gap:5px; min-height:44px; }
 body.arena-theme .arena-home .arena-calendar__controls--home .arena-tab-count { min-width:20px; height:18px; padding:1px 4px; font-size:10px; line-height:1; }
}
.arena-calendar__label-short { display:none; }
@media (max-width:700px) {
 body.arena-theme .arena-home .arena-calendar--async .arena-calendar__controls--home { grid-template-columns:minmax(0,1fr) auto; gap:4px; }
 body.arena-theme .arena-home .arena-calendar--async .arena-calendar__controls--home .arena-calendar__tabs { display:flex; gap:3px; }
 body.arena-theme .arena-home .arena-calendar--async .arena-calendar__controls--home .arena-calendar__tabs a { flex:1 0 auto; font-size:clamp(10px,calc(3.333vw - 2px),11px); padding:5px 3px; gap:3px; }
 body.arena-theme .arena-home .arena-calendar__controls--home .arena-tab-count { min-width:12px; padding:1px 2px; font-size:9px; }
 body.arena-theme .arena-home .arena-calendar--async .arena-calendar__controls--home .arena-calendar__date-control { grid-row:auto; justify-self:end; gap:3px; }
 body.arena-theme .arena-home .arena-calendar--async .arena-calendar__controls--home .arena-calendar__date-value { min-height:44px; padding:0 3px; gap:0; font-size:clamp(10px,calc(3.333vw - 2px),11px); }
 body.arena-theme .arena-home .arena-calendar--async .arena-calendar__controls--home .arena-calendar__date-value .arena-icon { display:none; }
 body.arena-theme .arena-home .arena-calendar--async .arena-calendar__controls--home .arena-calendar__date-control > :is(a,span) { width:24px; height:44px; }
 .arena-home .arena-calendar__label-short { display:inline; }
 .arena-home .arena-calendar__label-full { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
 .arena-home .arena-calendar--async .arena-calendar__date-field:focus-within { outline:0; box-shadow:none; }
 .arena-home .arena-calendar--async .arena-calendar__date-field:focus-within .arena-calendar__date-value { border-color:#9caeb6; box-shadow:none; }
 body.arena-theme[data-arena-field-modality="keyboard"] .arena-home .arena-calendar__date-field:focus-within .arena-calendar__date-value { border-color:#64758a; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; }
}
