:root {
  --bg: #050505;
  --bg-card: rgba(12, 12, 12, 0.78);
  --gold: #f5c518;
  --gold-2: #ffd84a;
  --gold-dim: rgba(245, 197, 24, 0.14);
  --gold-line: rgba(245, 197, 24, 0.38);
  --text: #f6f6f2;
  --muted: #b0b0a8;
  --danger: #ff5a3d;
  --live: #3ddc84;
  --radius: 20px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body,
body.custom-background,
body.oplacar-theme,
.site {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text) !important;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.5;
  background-color: #000 !important;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.82) 42%, rgba(0, 0, 0, 0.96) 100%),
    url("../img/bg-stadium.jpg") !important;
  background-size: cover, cover !important;
  background-position: center, center 48% !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: scroll, scroll !important;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}

.site-main {
  flex: 1;
  background: transparent;
}

body.admin-bar .oplacar-header {
  top: 32px;
}

body.admin-bar .site {
  padding-top: calc(var(--header-h) + 32px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(760px, calc(100% - 40px));
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100000;
  background: var(--gold);
  color: #111;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
}

/* Header */
.oplacar-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(245, 197, 24, 0.12);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  transition: transform 0.35s var(--ease);
}

.oplacar-header.is-hidden {
  transform: translate3d(0, -110%, 0) !important;
  pointer-events: none;
}

.oplacar-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.oplacar-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.oplacar-header__logo,
.oplacar-logo {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.oplacar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.oplacar-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.oplacar-nav__list a {
  color: #f2f2ea;
  font-size: 14px;
  font-weight: 600;
}

.oplacar-nav__list a:hover,
.oplacar-nav__list .current-menu-item > a,
.oplacar-nav__list .current_page_item > a {
  color: var(--gold);
}

.oplacar-nav__list .menu-item-has-children {
  position: relative;
}

.oplacar-nav__list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: 180px;
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.96);
  border: 1px solid rgba(245, 197, 24, 0.22);
}

@media (min-width: 861px) {
  .oplacar-nav__list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px;
  }

  .oplacar-nav__list .menu-item-has-children:hover > .sub-menu,
  .oplacar-nav__list .menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }
}

.oplacar-header__cta {
  display: inline-flex !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  white-space: nowrap;
  border-radius: 999px !important;
  flex-shrink: 0;
  z-index: 2;
}

.btn-white {
  background: #fff;
  color: #111;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.08);
}

.btn-white:hover {
  background: #f2f2f2;
  color: #111;
}

.oplacar-header__cta-short {
  display: none;
}

/* Mobile bottom tab bar */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(245, 197, 24, 0.18);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  transition: transform 0.3s var(--ease);
}

.mobile-tab-bar.is-hidden {
  transform: translateY(100%);
}

.mobile-tab-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 8px 2px;
  text-decoration: none;
}

.mobile-tab-bar__item svg {
  width: 22px;
  height: 22px;
}

.mobile-tab-bar__item.is-active,
.mobile-tab-bar__item:hover {
  color: var(--gold);
}

.mobile-tab-bar__item--live {
  color: var(--live);
}

.mobile-tab-bar__item--live.is-active {
  color: var(--live);
}

/* Hero */
.hero {
  position: relative;
  padding: 34px 0 18px;
  text-align: left;
  overflow: hidden;
}

.hero--home {
  padding-top: 42px;
}

.hero h1 {
  max-width: 11ch;
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
}

.hero .lede {
  margin: 0 0 28px;
  max-width: 42ch;
  color: #d8d8d0;
  font-size: clamp(16px, 2.2vw, 20px);
}

.hero-cards {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
  --hero-card-body-h: 196px;
}

.hero-cards > .glass-card {
  display: grid;
  grid-template-rows: auto var(--hero-card-body-h) auto;
  align-self: stretch;
  margin: 0 !important;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.glass-card {
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.featured-match {
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(18, 20, 26, 0.92), rgba(8, 8, 8, 0.88));
}

.featured-match.is-live {
  border-color: rgba(61, 220, 132, 0.38);
  box-shadow: 0 0 0 1px rgba(61, 220, 132, 0.08), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.featured-match__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
}

.featured-match__liga {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  max-width: 55%;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.35);
  color: var(--live);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-badge--soon {
  background: rgba(245, 197, 24, 0.1);
  border-color: rgba(245, 197, 24, 0.28);
  color: var(--gold);
}

.featured-match__board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  align-content: center;
  gap: 12px;
  height: 100%;
  min-height: 0;
  padding: 0 18px;
  box-sizing: border-box;
}

.featured-match__club {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #f2f2ea;
  min-width: 0;
}

.featured-match__club span {
  line-height: 1.25;
}

.featured-match__crest {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-match__crest img,
.featured-match__club img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.featured-match__score {
  text-align: center;
  min-width: 88px;
}

.featured-match__score b {
  display: block;
  font-size: clamp(28px, 3.8vw, 38px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.featured-match__vs {
  font-size: 22px !important;
  color: #c8c8c0;
}

.featured-match__score small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.featured-match__score small.is-live {
  color: var(--live);
}

.featured-match__score small.is-schedule {
  color: #f6f6f2;
}

.featured-match__score small.is-schedule .featured-match__schedule-day,
.featured-match__schedule-day {
  color: var(--gold);
}

.featured-match__cta,
.oplacar-table__cta {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  text-align: center;
  color: #111;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  box-sizing: border-box;
}

.featured-match__cta:hover,
.featured-match__cta:focus-visible,
.oplacar-table__cta:hover,
.oplacar-table__cta:focus-visible {
  color: #111 !important;
  background: #ffe166;
}

.featured-match__empty {
  grid-row: 1 / -1;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px;
  min-height: calc(var(--hero-card-body-h, 188px) + 52px);
}

.featured-match__empty p {
  margin: 0;
}

.featured-match__empty .featured-match__cta {
  width: 100%;
}

.oplacar-table-wrap--hero {
  padding: 0;
  margin-top: 0 !important;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(18, 20, 26, 0.92), rgba(8, 8, 8, 0.88));
}

.oplacar-table-wrap__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
}

.oplacar-table-wrap__liga {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  max-width: 55%;
}

.oplacar-table-wrap__body {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.oplacar-table-wrap--hero .oplacar-table-wrap__body:not(.oplacar-table-wrap__body--empty) {
  padding: 0 14px;
  box-sizing: border-box;
}

.oplacar-table-wrap__body--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  text-align: center;
}

.oplacar-table-wrap__body--empty .oplacar-empty__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.oplacar-table-wrap--hero .standings {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  font-size: 12px;
}

.oplacar-table-wrap--hero .standings__row {
  flex: 0 0 auto;
  min-height: 30px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.oplacar-table-wrap--hero .oplacar-section-head {
  margin: 0;
  padding: 16px 18px 8px;
  align-items: center;
}

.oplacar-table-wrap--hero .oplacar-section-head h2 {
  font-size: 16px;
}

.oplacar-table-wrap--hero .oplacar-table td:last-child,
.oplacar-table-wrap--hero .oplacar-table td:last-child b {
  color: var(--gold);
  font-weight: 800;
}

.has-gold-bar {
  position: relative;
  padding-left: 14px;
}

.has-gold-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 99px;
  background: var(--gold);
}

.oplacar-days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 18px auto 0;
}

.oplacar-days a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 72px;
  padding: 12px 10px;
  border-radius: 16px;
  border: 1px solid rgba(245, 197, 24, 0.24);
  background: rgba(8, 8, 8, 0.55);
  color: #f2f2ea;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}

.oplacar-days a small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.oplacar-days a:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 197, 24, 0.45);
}

.oplacar-days a.is-on {
  background: linear-gradient(180deg, #ffd84a, var(--gold));
  border-color: #e0b40a;
  color: #111;
}

.oplacar-days a.is-on small {
  color: rgba(0, 0, 0, 0.62);
}

.oplacar-days a:last-child {
  border-color: rgba(61, 220, 132, 0.35);
}

.oplacar-days a:last-child small {
  color: var(--live);
}

.oplacar-days a:last-child.is-on,
.oplacar-days a:last-child:hover {
  background: rgba(61, 220, 132, 0.12);
  color: var(--live);
}

.news-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oplacar-home-news {
  padding: 8px 0 28px;
}

.oplacar-home-cta {
  padding-bottom: 48px;
}

.oplacar-quick__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.oplacar-quick__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(245, 197, 24, 0.22);
  border-radius: 16px;
  color: inherit;
  min-height: 140px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.oplacar-quick__card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 197, 24, 0.5);
  color: inherit;
}

.oplacar-quick__kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.oplacar-quick__card strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.oplacar-quick__card span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.oplacar-cta-app {
  display: none !important;
}

.oplacar-cta-app__glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(245, 197, 24, 0.25), transparent 70%);
  pointer-events: none;
}

.oplacar-cta-app__inner {
  position: relative;
}

.oplacar-cta-app__icon {
  margin: 0 0 16px;
  color: var(--gold);
}

.oplacar-cta-app__icon svg {
  display: inline-block;
}

.oplacar-cta-app h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.6vw, 36px);
  letter-spacing: -0.03em;
}

.oplacar-cta-app__sub {
  margin: 0 auto 20px;
  max-width: 38ch;
  color: #b0b0a8;
  font-size: 15px;
  line-height: 1.5;
}

.oplacar-cta-app__now {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.oplacar-cta-app .store-row {
  margin-bottom: 0;
}

.kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

h1,
.page-title,
.entry-title {
  margin: 0 auto 12px;
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #f6f6f2;
}

.hero h1 {
  max-width: 18ch;
}

h1 .gold,
.gold {
  color: var(--gold);
}

.lede {
  margin: 0 auto 20px;
  max-width: 46ch;
  color: #d6d6ce;
  font-size: 17px;
}

.page-header {
  padding: 28px 0 18px;
  text-align: center;
  overflow: visible;
}

.page-header .lede {
  margin-bottom: 0;
}

.news-heading-wrap {
  padding: 20px 0 8px;
}

.news-heading {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: clamp(28px, 4.2vw, 40px) !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  color: #f6f6f2 !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  position: relative !important;
}

@media (max-width: 860px) {
  .news-heading-wrap,
  .news-heading {
    text-align: center;
  }
}

.store-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 12px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.store-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.store-slot img {
  display: block;
  height: 44px;
  width: auto;
  max-width: none;
  max-height: 44px;
  object-fit: contain;
}

.store-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  user-select: none;
}

.store-soon span:last-child {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8d8d86;
  white-space: nowrap;
}

a:hover .store-slot img {
  filter: brightness(1.06);
}

.ticker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 20px;
}

.ticker span,
.ticker a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f2f2ea;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(8, 8, 8, 0.55));
  border: 1px solid rgba(245, 197, 24, 0.32);
}

.ticker a:hover,
.ticker .is-on {
  color: #111;
  background: linear-gradient(180deg, #ffd84a, var(--gold));
  border-color: #e0b40a;
}

.ticker .live-chip {
  color: var(--live);
}

.ticker .live-chip:hover,
.ticker .live-chip.is-on {
  color: #111;
}

.panel,
.feature,
.news-card,
.match-card,
.oplacar-widget,
.entry,
.comments-area,
.search-form {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.panel {
  padding: 28px;
}

.oplacar-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 16px;
}

.oplacar-section-head h2,
.oplacar-league__title,
.comments-title,
.oplacar-related h2,
.oplacar-widget__title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.oplacar-more {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.oplacar-home-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  padding: 4px 0 32px;
}

.oplacar-home-col {
  background: var(--bg-card);
  border: 1px solid rgba(245, 197, 24, 0.18);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  backdrop-filter: blur(14px);
}

.oplacar-home-col .panel,
.oplacar-home-col .oplacar-table-wrap,
.oplacar-home-col .oplacar-empty {
  background: rgba(8, 8, 8, 0.35);
  margin-top: 12px;
  padding: 16px;
}

.oplacar-home-col .oplacar-section-head {
  margin-top: 0;
}

.oplacar-league {
  margin-bottom: 22px;
}

.oplacar-league__title {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.oplacar-league__list {
  display: grid;
  gap: 8px;
}

a.match-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.match-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
  background: rgba(8, 8, 8, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.match-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-1px);
}

.match-card.is-live {
  border-color: rgba(61, 220, 132, 0.35);
}

.match-card__team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  min-width: 0;
}

.match-card__team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-card__team img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.match-card__team--away {
  justify-content: flex-end;
  text-align: right;
}

.match-card__mid {
  text-align: center;
  min-width: 72px;
}

.match-card__score {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.match-card__kick {
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}

.match-card__kick--schedule {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.1;
}

.match-card__kick-day {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-card__kick-time {
  color: #f6f6f2;
  font-size: 14px;
  font-weight: 800;
}

.match-card__status {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--live);
  font-size: 11px;
  font-weight: 700;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.7);
  animation: livePulse 1.6s ease-out infinite;
}

.live-page {
  padding-bottom: 48px;
}

.live-page__head {
  text-align: center;
  padding: 28px 0 22px;
}

.live-page__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.35);
  color: var(--live);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-page__title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f6f6f2;
}

.live-page__meta {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.live-page .oplacar-league {
  margin-bottom: 28px;
}

.live-page .oplacar-league__title {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.22);
  font-size: 11px;
}

.live-page .oplacar-league__list {
  gap: 10px;
}

.live-page .match-card {
  padding: 16px 14px;
  min-height: 72px;
  border-radius: 16px;
  background: rgba(10, 12, 16, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.live-page .match-card.is-live {
  border-color: rgba(61, 220, 132, 0.45);
  box-shadow: 0 0 0 1px rgba(61, 220, 132, 0.12), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.live-page .match-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.live-page .match-card__team {
  font-size: 15px;
  gap: 10px;
}

.live-page .match-card__team img {
  width: 36px;
  height: 36px;
}

.live-page .match-card__score {
  font-size: 22px;
}

.live-page .live {
  font-size: 12px;
}

.live-page .oplacar-empty {
  padding: 36px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 8, 0.4);
}

.live-page .oplacar-more-row {
  margin-top: 8px;
  margin-bottom: 56px;
}

.live-page--idle .live-page__head {
  padding-bottom: 8px;
}

.live-page__badge--idle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.live-empty {
  position: relative;
  margin: 8px 0 48px;
  padding: 36px 28px 32px;
  border-radius: 22px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(14, 16, 20, 0.92) 0%, rgba(8, 10, 12, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.live-empty__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(circle at 50% 0%, rgba(61, 220, 132, 0.12), transparent 62%);
  pointer-events: none;
}

.live-empty__icon {
  position: relative;
  width: min(220px, 72vw);
  margin: 0 auto 18px;
  opacity: 0.95;
}

.live-empty__icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.live-empty__title {
  position: relative;
  margin: 0 0 10px;
  font-size: clamp(22px, 3.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f6f6f2;
}

.live-empty__text {
  position: relative;
  max-width: 34rem;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.live-empty__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.live-empty__hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.live-empty__hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245, 197, 24, 0.85);
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.35);
  animation: liveIdlePulse 2.4s ease-out infinite;
}

@keyframes liveIdlePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.35);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(245, 197, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
  }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #f6f6f2;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(245, 197, 24, 0.45);
  background: rgba(245, 197, 24, 0.08);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .live-page .match-card__team {
    font-size: 13px;
  }

  .live-page .match-card__team img {
    width: 30px;
    height: 30px;
  }

  .live-page .match-card__score {
    font-size: 18px;
  }
}

.oplacar-empty {
  text-align: center;
  color: var(--muted);
}

.oplacar-empty h1,
.oplacar-empty .entry-title {
  max-width: none;
}

.oplacar-table-wrap {
  padding: 16px 14px 10px;
  margin-top: 18px;
  overflow: visible;
}

.oplacar-table-wrap--page {
  margin-top: 8px;
  margin-bottom: 0;
  padding: 12px 14px 8px;
}

.site-main--tabela {
  flex: 0 0 auto;
  padding-bottom: 20px;
}

body.page-template-page-templates-template-tabela-php .site,
body.page-template-template-tabela-php .site {
  min-height: auto;
}

body.page-template-page-templates-template-tabela-php .site-footer,
body.page-template-template-tabela-php .site-footer {
  margin-top: 0;
}

.oplacar-table-wrap.oplacar-table-wrap--hero {
  padding: 0;
  margin-top: 0;
  overflow: hidden;
}

.standings {
  width: 100%;
}

.standings__row {
  display: grid;
  align-items: center;
  column-gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.standings--full .standings__row {
  grid-template-columns: 28px minmax(0, 1fr) repeat(6, 22px);
}

.standings--compact .standings__row {
  grid-template-columns: 28px minmax(0, 1fr) repeat(3, 28px);
}

.standings__row--head {
  min-height: 28px;
  border-bottom-color: rgba(245, 197, 24, 0.22);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standings__row > span {
  min-width: 0;
  text-align: center;
  font-size: 13px;
}

.standings__row > span:nth-child(2) {
  text-align: left;
}

.standings__rank {
  color: var(--gold);
  font-weight: 800;
}

.standings__team {
  display: flex !important;
  align-items: center;
  gap: 8px;
  text-align: left !important;
}

.standings__team img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.standings__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ecece4;
  font-weight: 600;
  font-size: 13px;
}

.standings__pts {
  color: var(--gold);
  font-weight: 800;
}

.standings__row:last-child {
  border-bottom: 0;
}

.oplacar-league-form {
  display: none;
}

.league-picker {
  position: relative;
  width: min(100%, 420px);
  margin: 8px auto 0;
  z-index: 4;
}

.league-picker__label {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.league-picker__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(245, 197, 24, 0.45);
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.78);
  color: #f6f6f2;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.league-picker__btn::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.league-picker__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.league-picker__chev {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.league-picker.is-open .league-picker__btn {
  border-color: var(--gold);
}

.league-picker.is-open .league-picker__chev {
  transform: rotate(180deg);
}

.league-picker__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: min(58vh, 380px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #0c0e12;
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.league-picker__panel::-webkit-scrollbar {
  display: none;
  width: 0;
}

.league-picker__panel ul {
  list-style: none;
  margin: 0;
  padding: 6px;
}

.league-picker__panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: #f6f6f2;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.league-picker__panel a:hover,
.league-picker__panel a:focus-visible {
  background: rgba(245, 197, 24, 0.12);
}

.league-picker__panel a.is-on {
  background: var(--gold);
  color: #111;
}

@media (max-width: 860px) {
  .league-picker {
    width: 100%;
  }

  .league-picker__btn {
    min-height: 56px;
    font-size: 16px;
    padding: 14px 16px;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.news-card {
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
}

.news-card__link {
  color: inherit;
  display: block;
}

.news-card__media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card__body {
  padding: 16px 18px 18px;
}

.news-card__cat {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card__title {
  margin: 6px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.news-card__excerpt,
.news-card__time {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.news-card__time {
  display: block;
  margin-top: 10px;
  font-size: 12px;
}

.oplacar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 8px 0 64px;
  align-items: start;
}

.oplacar-sidebar {
  display: grid;
  gap: 16px;
}

.oplacar-widget {
  padding: 20px;
}

.oplacar-widget ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.oplacar-widget li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

a.btn:hover {
  color: inherit;
}

.btn-white:hover,
.btn-white:focus-visible {
  background: var(--gold);
  color: #111 !important;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #111;
  padding: 14px 24px;
  font-size: 15px;
  box-shadow: 0 8px 28px rgba(245, 197, 24, 0.28);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: #ffe166;
  color: #111 !important;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 22px;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #fff;
  color: #111 !important;
  border-color: #fff;
}

.oplacar-breadcrumbs-wrap,
.oplacar-breadcrumbs,
.rank-math-breadcrumb {
  display: none !important;
}

.oplacar-breadcrumbs,
.rank-math-breadcrumb {
  color: var(--muted);
  font-size: 13px;
}

.oplacar-breadcrumbs a,
.rank-math-breadcrumb a {
  color: #d4d4cc;
}

.oplacar-breadcrumbs__sep {
  margin: 0 8px;
  color: rgba(245, 197, 24, 0.55);
}

.entry {
  padding: 8px 0 32px;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.entry--page,
.entry--single {
  padding-top: 8px;
}

.entry-meta {
  color: var(--muted);
  font-size: 13px;
}

.entry-hero {
  margin: 0 0 24px;
  border-radius: 18px;
  overflow: hidden;
}

.entry-hero img {
  width: 100%;
}

.entry-hero figcaption {
  color: var(--muted);
  font-size: 12px;
  padding: 8px 4px 0;
}

.entry-content {
  font-size: 17px;
  line-height: 1.7;
  color: #e8e8e0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  letter-spacing: -0.03em;
  margin: 1.6em 0 0.5em;
}

.entry-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content img,
.entry-content .wp-block-image img {
  border-radius: 14px;
}

.entry-content blockquote,
.entry-content .wp-block-quote {
  border-left: 3px solid var(--gold);
  margin: 1.5em 0;
  padding: 4px 0 4px 18px;
  color: #d6d6ce;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
}

.legal-page {
  padding-bottom: 56px;
}

.legal-head {
  text-align: center;
  padding: 28px 8px 8px;
}

.legal-head__title {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f6f6f2;
}

.legal-head__meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-card {
  margin-top: 12px;
  padding: 28px 28px 32px !important;
  background: rgba(10, 12, 16, 0.78) !important;
  border: 1px solid rgba(245, 197, 24, 0.18) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.legal-body {
  font-size: 16px;
  line-height: 1.75;
  color: #dcdcd4;
}

.legal-body h2,
.legal-body h3 {
  color: #f6f6f2;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 1.8em 0 0.55em;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

.legal-body p {
  margin: 0 0 1em;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.legal-body li {
  margin-bottom: 0.45em;
}

.legal-body a {
  color: var(--gold);
}

.legal-switch {
  display: flex;
  justify-content: center;
  margin: 22px 0 8px;
}

.legal-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.legal-switch a:hover {
  background: var(--gold);
  color: #111 !important;
}

@media (max-width: 860px) {
  .legal-card {
    padding: 20px 16px 24px !important;
  }

  .legal-body {
    font-size: 15px;
  }
}

.entry-tags a {
  display: inline-block;
  margin: 4px 6px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 24, 0.28);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.post-navigation {
  margin: 28px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 197, 24, 0.16);
  border-bottom: 1px solid rgba(245, 197, 24, 0.16);
}

.post-navigation span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comments-area {
  padding: 24px;
  margin: 24px 0 48px;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list .comment {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comment-form p {
  margin: 12px 0;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.comment-form input[type="submit"] {
  width: auto;
  background: var(--gold);
  color: #111;
  border: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.comment-form input[type="submit"]:hover {
  background: var(--gold-2);
}

.search-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  margin: 16px 0;
}

.search-form label {
  flex: 1;
}

.search-form .search-field {
  width: 100%;
}

.pagination,
.oplacar-pagination,
.nav-links.wp-block-query-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 28px 0;
}

.page-numbers,
.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(245, 197, 24, 0.22);
  background: rgba(12, 12, 12, 0.7);
  font-weight: 700;
}

.page-numbers.current {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}

.alignwide {
  max-width: var(--max);
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.wp-caption {
  max-width: 100%;
}

.wp-block-button__link {
  border-radius: 999px !important;
}

.rank-math-toc-wrapper,
.wp-block-rank-math-toc-block,
.rank-math-faq-block,
.rank-math-review-data,
.rank-math-seo-score {
  background: var(--bg-card);
  border: 1px solid rgba(245, 197, 24, 0.22);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 1.5em 0;
}

.rank-math-toc-wrapper a,
.rank-math-faq-block a {
  color: var(--gold);
}

.oplacar-more-row,
.oplacar-404-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 48px;
}

.site-footer {
  border-top: 1px solid rgba(245, 197, 24, 0.16);
  padding: 48px 0 36px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(0, 0, 0, 0.92);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: block;
  margin-bottom: 14px;
}

.footer-brand img,
.footer-brand .oplacar-logo {
  height: 56px;
  width: auto;
  max-width: 280px;
  background: transparent;
  box-shadow: none;
}

.footer-tagline {
  margin: 0 0 18px;
  color: #b0b0a8;
  font-size: 14px;
  max-width: 32ch;
  line-height: 1.55;
}

.footer-col--brand .store-row {
  justify-content: flex-start;
  margin-bottom: 0;
}

.footer-col--brand .store-slot img {
  height: 36px;
  max-height: 36px;
}

.footer-col__title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  color: #f2f2ea;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col__list li {
  margin-bottom: 10px;
}

.footer-col__list a {
  color: #b0b0a8;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col__list a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 197, 24, 0.1);
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: #8a8a82;
}

.sticky .news-card__title::after {
  content: " Destaque";
  color: var(--gold);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.8s var(--ease) forwards;
}

.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.4s; }
.d5 { animation-delay: 0.52s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -18%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -18%) scale(1.08); }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.65); }
  100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); }
}

@media (max-width: 960px) {
  .hero-cards,
  .news-grid--3,
  .oplacar-home-grid,
  .oplacar-layout,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .oplacar-quick__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .oplacar-table__name {
    display: inline;
  }
}

@media (max-width: 860px) {
  body {
    background-attachment: scroll;
    padding-bottom: 68px;
  }

  .page-header--news {
    text-align: center;
  }

  .page-header--news .page-title {
    margin-left: auto;
    margin-right: auto;
  }

  .news-heading-wrap,
  .news-heading {
    text-align: center;
  }

  .mobile-tab-bar {
    display: flex;
  }

  .match-page {
    padding-bottom: 36px;
  }

  .match-app {
    margin-bottom: 72px;
  }

  .page-template-template-jogos-php .site-main {
    padding-bottom: 56px;
  }

  .oplacar-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: space-between;
  }

  .oplacar-nav--desktop {
    display: none !important;
  }

  .oplacar-header__cta {
    display: inline-flex !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
  }

  body.admin-bar .site {
    padding-top: calc(var(--header-h) + 46px);
  }

  .oplacar-header__logo,
  .oplacar-logo {
    height: 42px;
    max-width: 220px;
  }

  .hero {
    padding-top: 22px;
    text-align: center;
  }

  .hero .lede {
    margin-inline: auto;
  }

  h1,
  .page-title {
    font-size: 28px;
  }

  .oplacar-days {
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-col--brand .store-row {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  body.admin-bar .oplacar-header {
    top: 46px;
  }
}

@media (min-width: 861px) {
  .mobile-tab-bar {
    display: none !important;
  }

  .oplacar-header.is-hidden {
    transform: none !important;
    pointer-events: auto;
  }
}

.match-page {
  padding-bottom: 72px;
}

.match-back {
  margin: 8px 0 14px;
}

.match-back a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.match-app {
  padding: 0;
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto 48px;
}

.match-app__header {
  padding: 18px 18px 8px;
  text-align: center;
}

.match-app__liga {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-app__board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.match-app__club {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
}

.match-app__club img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.match-app__score b {
  display: block;
  font-size: 32px;
  letter-spacing: 1px;
}

.match-app__score small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.match-app__score small.is-live {
  color: #3ddc84;
}

.match-app__stadium {
  display: inline-flex;
  margin: 14px auto 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
}

.lmt-frame {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 10px;
  background: #257a37;
  overflow: hidden;
}

@media (min-width: 520px) {
  .lmt-frame {
    height: 320px;
  }
}

.pitch-wrap {
  padding: 8px 16px 4px;
}

.pitch {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pitch-stripes {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(90deg, #1f7a3a 0 12.5%, #176832 12.5% 25%);
}

.pitch-markings {
  position: absolute;
  inset: 4%;
  z-index: 2;
  pointer-events: none;
}

.pitch-markings .outline {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.pitch-markings .center-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
}

.pitch-markings .center-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.pitch-markings .center-spot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 50%;
}

.pitch-markings .box {
  position: absolute;
  top: 22%;
  height: 56%;
  width: 16%;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.pitch-markings .box-left {
  left: 0;
  border-left: none;
}

.pitch-markings .box-right {
  right: 0;
  border-right: none;
}

.pitch-markings .six {
  position: absolute;
  top: 34%;
  height: 32%;
  width: 7%;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.pitch-markings .box-left-six {
  left: 0;
  border-left: none;
}

.pitch-markings .box-right-six {
  right: 0;
  border-right: none;
}

.attack-zone {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 34%;
  z-index: 3;
  background: rgba(0, 0, 0, 0.28);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, left 0.45s;
}

.attack-zone.show-left {
  left: 4%;
  opacity: 1;
}

.attack-zone.show-right {
  right: 4%;
  left: auto;
  opacity: 1;
  transform: scaleX(-1);
}

.attack-zone.show-mid {
  left: 33%;
  opacity: 0.45;
  clip-path: none;
  border-radius: 8px;
}

.attack-label {
  position: absolute;
  left: 10px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.attack-label .bar {
  width: 4px;
  height: 28px;
  background: #e53935;
  border-radius: 2px;
}

.attack-label .lbl-team {
  font-weight: 700;
  font-size: 14px;
}

.attack-label .lbl-state {
  font-size: 12px;
  opacity: 0.9;
}

.ball {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 5;
  transform: translate(-50%, -50%);
  transition: left 0.9s cubic-bezier(0.22, 0.7, 0.3, 1), top 0.9s cubic-bezier(0.22, 0.7, 0.3, 1);
  background: #fff;
  border-radius: 50%;
  padding: 1px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ball img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pitch-clock {
  text-align: center;
  color: #3ddc84;
  font-weight: 800;
  margin: 8px 0 0;
}

.pitch-countdown-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.42);
  border-radius: inherit;
  text-align: center;
  z-index: 3;
}

.pitch-countdown__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pitch-countdown__timer {
  margin: 0;
  color: var(--gold);
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(245, 197, 24, 0.25);
}

.pitch-countdown__when {
  margin: 0;
  color: #f6f6f2;
  font-size: 13px;
  font-weight: 600;
}

.match-app.is-scheduled .pitch {
  position: relative;
}

.match-app.is-scheduled .match-app__score small {
  color: var(--gold);
}

.pitch-obs,
.pitch-hint {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 0;
}

.match-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 12px 16px 0;
}

.match-tabs button {
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 6px;
  border-radius: 10px;
  cursor: pointer;
}

.match-tabs button.is-on {
  background: var(--gold);
  color: #111;
}

.match-panel {
  padding: 16px;
}

.match-panel[hidden] {
  display: none !important;
}

.match-panel__title {
  font-size: 15px;
  margin: 0 0 12px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.event-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1e2633;
  flex-shrink: 0;
}

.ico-card {
  width: 14px;
  height: 18px;
  border-radius: 2px;
}

.ico-card.yellow {
  background: linear-gradient(180deg, #ffe566, #f5c518);
}

.ico-card.red {
  background: linear-gradient(180deg, #ff6b6b, #e53935);
}

.ico-ball {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
}

.ico-sub {
  width: 16px;
  height: 16px;
  position: relative;
}

.ico-sub::before,
.ico-sub::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.ico-sub::before {
  top: 0;
  left: 1px;
  border-bottom: 7px solid #3ddc84;
}

.ico-sub::after {
  bottom: 0;
  right: 1px;
  border-top: 7px solid #e53935;
}

.ico-var {
  font-size: 10px;
  font-weight: 800;
  color: #6ea8fe;
}

.ico-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7280;
}

.ico-dot.is-goal {
  background: #3ddc84;
}

.event-meta {
  flex: 1;
  min-width: 0;
}

.event-title {
  font-weight: 700;
  font-size: 14px;
}

.event-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.event-min {
  color: #6ea8fe;
  font-weight: 800;
  font-size: 14px;
}

.lineup-block + .lineup-block {
  margin-top: 22px;
}

.lineup-block h3 {
  font-size: 14px;
  margin: 0 0 10px;
}

.lineup-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lineup-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.lineup-list .num {
  color: var(--gold);
  font-weight: 800;
}

.lineup-list small {
  color: var(--muted);
}

.lineup-bench-label {
  margin: 14px 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-row {
  margin-bottom: 12px;
}

.stat-row__vals {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 4px;
}

.stat-row__vals span {
  text-align: center;
  color: var(--muted);
}

.stat-bar {
  display: flex;
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.stat-bar span {
  background: var(--gold);
}

.stat-bar i {
  background: rgba(255, 255, 255, 0.28);
}

.oplacar-empty-inline {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
