.cn-bra,
.cn-bra * {
  box-sizing: border-box;
}

body.cn-brasileirao-hub-page {
  background: #f4f7fb;
}

body.cn-brasileirao-hub-page .single-page.none-header,
body.cn-brasileirao-hub-page .single-page .rb-container,
body.cn-brasileirao-hub-page .single-page .grid-container,
body.cn-brasileirao-hub-page .single-page .s-ct {
  max-width: none;
}

body.cn-brasileirao-hub-page .single-page .grid-container {
  display: block;
}

.cn-bra {
  --cn-blue: #0756b8;
  --cn-blue-dark: #003f91;
  --cn-blue-soft: #eaf2ff;
  --cn-green: #07945a;
  --cn-red: #ef3340;
  --cn-yellow: #f6a800;
  --cn-text: #111827;
  --cn-muted: #64748b;
  --cn-border: #dfe7f2;
  --cn-card: #ffffff;
  --cn-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  --cn-radius: 8px;
  width: 100%;
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px 32px;
  color: var(--cn-text);
  font-family: inherit;
}

.cn-bra a {
  color: inherit;
  text-decoration: none;
}

.cn-bra-hero {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: start;
  min-height: 176px;
  margin: 0 -12px;
  padding: 34px 32px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 84% 46%, rgba(255,255,255,.16) 0 70px, transparent 72px),
    radial-gradient(circle at 87% 46%, transparent 0 104px, rgba(255,255,255,.09) 106px 110px, transparent 112px),
    linear-gradient(125deg, #063f92 0%, #075bbf 52%, #04479f 100%);
}

.cn-bra-hero::after {
  content: "";
  position: absolute;
  right: 44px;
  bottom: -82px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 34px solid rgba(255,255,255,.07);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.06);
}

.cn-bra-hero-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 0;
  background: transparent;
  color: var(--cn-blue);
  border: 0;
  box-shadow: none;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -.03em;
}

.cn-bra-hero-content {
  position: relative;
  z-index: 1;
  justify-self: start;
  text-align: left;
}

.cn-bra-hero h1 {
  margin: 0 0 8px;
  color: #fff !important;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.cn-bra-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.92);
  font-size: 19px;
  line-height: 1.45;
}

.cn-bra-hero-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.2));
}

.cn-bra-tabs {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  gap: 0;
  margin: 0 -12px 20px;
  overflow-x: auto;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--cn-border);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
  backdrop-filter: blur(12px);
}

.cn-bra-tab {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  color: #1f2937;
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.cn-bra-tab::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: transparent;
}

.cn-bra-tab:hover,
.cn-bra-tab.is-active {
  color: var(--cn-blue);
}

.cn-bra-tab.is-active::after {
  background: var(--cn-blue);
}

.cn-bra-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.cn-bra-main,
.cn-bra-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}

.cn-bra-card {
  min-width: 0;
  padding: 18px;
  background: var(--cn-card);
  border: 1px solid var(--cn-border);
  border-radius: var(--cn-radius);
  box-shadow: var(--cn-shadow);
}

.cn-bra-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.cn-bra-section-head h2 {
  margin: 0;
  color: var(--cn-text) !important;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.cn-bra-section-head p {
  margin: 4px 0 0;
  color: var(--cn-muted);
  font-size: 14px;
}

.cn-bra-updated,
.cn-bra-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--cn-blue-soft);
  color: var(--cn-blue);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.cn-bra-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--cn-border);
  border-radius: var(--cn-radius);
  background: #fff;
}

.cn-bra-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.cn-bra-table th {
  padding: 12px 10px;
  color: #334155;
  text-align: left;
  font-size: 12px;
  font-weight: 850;
  background: #f8fafc;
}

.cn-bra-table td {
  padding: 11px 10px;
  border-top: 1px solid #edf2f7;
  color: var(--cn-text);
  vertical-align: middle;
}

.cn-bra-table tr {
  border-left: 5px solid transparent;
}

.cn-zone-libertadores { border-left-color: var(--cn-green) !important; }
.cn-zone-pre-libertadores { border-left-color: #1479d4 !important; }
.cn-zone-sul-americana { border-left-color: var(--cn-yellow) !important; }
.cn-zone-rebaixamento { border-left-color: var(--cn-red) !important; }

.cn-team-cell,
.cn-bra-game-team {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cn-team-cell {
  min-width: 170px;
}

.cn-team-cell small {
  display: block;
  margin-top: 2px;
  color: var(--cn-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
}

.cn-team-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--cn-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 4px 10px rgba(7, 86, 184, .18);
}

.cn-team-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.cn-form-dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.cn-form-dots i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
}

.cn-form-dots .win { background: var(--cn-green); }
.cn-form-dots .draw { background: #94a3b8; }
.cn-form-dots .loss { background: var(--cn-red); }

.cn-bra-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  color: #475569;
  font-size: 12px;
}

.cn-bra-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cn-bra-legend i {
  width: 14px;
  height: 5px;
  border-radius: 999px;
}

.cn-bra-legend .libertadores { background: var(--cn-green); }
.cn-bra-legend .pre-libertadores { background: #1479d4; }
.cn-bra-legend .sul-americana { background: var(--cn-yellow); }
.cn-bra-legend .rebaixamento { background: var(--cn-red); }

.cn-bra-sim-notice {
  margin-bottom: 12px;
  padding: 11px 13px;
  border-radius: var(--cn-radius);
  background: #f1f7ff;
  color: #214b80;
  font-size: 13px;
  font-weight: 750;
}

.cn-bra-sim-notice.is-active {
  background: #e9f8f0;
  color: #05603a;
}

.cn-bra-round-nav {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.cn-bra-round-nav button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(7,86,184,.22);
  border-radius: 50%;
  background: #fff;
  color: var(--cn-blue);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.cn-bra-round-nav button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.cn-bra-round-nav strong {
  justify-self: center;
  color: var(--cn-text);
  font-size: 16px;
}

.cn-bra-round-nav span {
  color: var(--cn-muted);
  font-size: 12px;
  white-space: nowrap;
}

.cn-bra-sim-layout {
  display: block;
}

.cn-bra-games-panel {
  border: 1px solid var(--cn-border);
  border-radius: var(--cn-radius);
  background: #fbfdff;
  overflow: hidden;
}

.cn-bra-round-title {
  padding: 12px 14px;
  border-bottom: 1px solid var(--cn-border);
  color: #334155;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.cn-bra-game-row {
  display: grid;
  grid-template-columns: 116px minmax(120px, 1fr) auto minmax(120px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  background: #fff;
  border-bottom: 1px solid #edf2f7;
}

.cn-bra-game-row:last-of-type {
  border-bottom: 0;
}

.cn-bra-game-meta span,
.cn-bra-game-meta small {
  display: block;
}

.cn-bra-game-meta span {
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.cn-bra-game-meta small {
  margin-top: 3px;
  color: var(--cn-muted);
  font-size: 11px;
}

.cn-bra-game-team {
  min-width: 0;
  color: var(--cn-text);
  font-size: 14px;
}

.cn-bra-game-team strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cn-bra-game-team.home {
  justify-content: flex-end;
  text-align: right;
}

.cn-bra-team-short {
  display: none;
}

.cn-bra-score-editor {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.cn-bra-score-editor input {
  width: 48px;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff !important;
  color: var(--cn-text) !important;
  -webkit-text-fill-color: var(--cn-text);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

.cn-bra-score-editor input:focus {
  border-color: var(--cn-blue);
  box-shadow: 0 0 0 3px rgba(7,86,184,.12);
}

.cn-bra-score-editor input:disabled {
  opacity: .72;
  background: #eef2f7 !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569;
}

.cn-bra-clear-game {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #eef4ff;
  color: var(--cn-blue);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.cn-bra-sim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--cn-border);
  background: #fbfdff;
}

.cn-bra-btn,
.cn-bra-history-card button,
.cn-bra-scorer-card button,
.cn-bra-see-all,
.cn-bra-app-more {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(7,86,184,.22);
  border-radius: 8px;
  background: #fff;
  color: var(--cn-blue);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: all .2s ease;
}

.cn-bra-btn.primary {
  border-color: var(--cn-blue);
  background: #fff;
  color: var(--cn-blue);
  font-weight: 900;
}

.cn-bra-btn.primary:hover,
.cn-bra-btn.primary:focus-visible,
.cn-bra-btn.primary:active,
.cn-bra-btn.primary.is-active,
.cn-bra-history-card button:hover,
.cn-bra-scorer-card button:hover,
.cn-bra-app-more:hover {
  background: var(--cn-blue);
  color: #fff;
}

.cn-bra-btn.ghost:hover,
.cn-bra-see-all:hover {
  background: var(--cn-blue-soft);
}

.cn-bra-btn.whatsapp {
  background: #128c4a;
  border-color: #128c4a;
  color: #fff;
}

.cn-bra-movement {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid var(--cn-border);
  border-radius: var(--cn-radius);
  background: #fff;
  color: #475569;
  font-size: 13px;
}

.cn-bra-movement strong {
  color: var(--cn-text);
}

.cn-bra-movement[hidden] {
  display: none;
}

.cn-move-up { color: var(--cn-green); font-weight: 900; }
.cn-move-down { color: var(--cn-red); font-weight: 900; }
.cn-move-same { color: var(--cn-muted); font-weight: 900; }

.cn-bra-card-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
}

.cn-bra-carousel {
  position: relative;
}

.cn-bra-carousel-track.cn-bra-card-row {
  display: flex;
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.cn-bra-carousel-track.cn-bra-card-row::-webkit-scrollbar {
  display: none;
}

.cn-bra-carousel-track .cn-bra-history-card {
  flex: 0 0 calc((100% - 48px) / 5);
  scroll-snap-align: start;
}

.cn-bra-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(7,86,184,.22);
  border-radius: 50%;
  background: #fff;
  color: var(--cn-blue);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15,23,42,.16);
  transform: translateY(-50%);
}

.cn-bra-carousel-arrow:hover {
  background: var(--cn-blue);
  color: #fff;
}

.cn-bra-carousel-arrow.prev {
  left: -8px;
}

.cn-bra-carousel-arrow.next {
  right: -8px;
}

.cn-bra-carousel-arrow[hidden] {
  display: none;
}

.cn-bra-history-card,
.cn-bra-scorer-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--cn-border);
  border-radius: var(--cn-radius);
  background: #fbfdff;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border .2s ease;
}

.cn-bra-history-card:hover,
.cn-bra-scorer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(7,86,184,.35);
  box-shadow: 0 12px 24px rgba(15,23,42,.08);
}

.cn-bra-history-card .cn-team-badge {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  font-size: 24px;
}

.cn-bra-history-card h3,
.cn-bra-scorer-card h3 {
  margin: 6px 0 2px;
  color: var(--cn-text) !important;
  font-size: 15px;
  line-height: 1.2;
}

.cn-bra-history-card strong,
.cn-bra-scorer-card strong {
  display: block;
  color: var(--cn-blue);
  font-size: 30px;
  line-height: 1;
}

.cn-bra-history-card span,
.cn-bra-scorer-card span {
  color: var(--cn-muted);
  font-size: 12px;
}

.cn-bra-history-card p,
.cn-bra-scorer-card p {
  min-height: 34px;
  margin: 8px 0 10px;
  color: #526173;
  font-size: 12px;
  line-height: 1.35;
}

.cn-bra-photo-missing {
  display: block;
  margin: -2px 0 8px;
  color: #7c8aa0;
  font-size: 10px;
  line-height: 1.3;
  word-break: break-word;
}

.cn-bra-player-photo {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  border-radius: var(--cn-radius);
  background:
    linear-gradient(145deg, rgba(7,86,184,.12), rgba(7,86,184,.22)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 220 160"><rect width="220" height="160" fill="%23eef4ff"/><circle cx="110" cy="62" r="30" fill="%230756b8" opacity=".20"/><path d="M48 150c10-38 36-56 62-56s52 18 62 56" fill="%230756b8" opacity=".20"/></svg>');
  background-size: cover;
  background-position: center;
}

.cn-bra-image-help {
  margin: -4px 0 14px;
  padding: 10px 12px;
  border: 1px dashed rgba(7,86,184,.28);
  border-radius: var(--cn-radius);
  background: #f8fbff;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.cn-bra-image-help code {
  color: var(--cn-blue);
  font-weight: 850;
}

.cn-bra-news-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #edf2f7;
}

.cn-bra-news-item img,
.cn-bra-news-thumb {
  display: block;
  width: 92px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--cn-radius);
  background: linear-gradient(135deg, #e6effc, #d5e6ff);
}

.cn-bra-news-item strong {
  display: block;
  color: var(--cn-text);
  font-size: 14px;
  line-height: 1.28;
}

.cn-bra-news-item small {
  display: block;
  margin-top: 5px;
  color: var(--cn-muted);
  font-size: 12px;
}

.cn-bra-see-all {
  width: 100%;
  margin-top: 12px;
}

.cn-bra-stats dl {
  margin: 0;
}

.cn-bra-stats div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf2f7;
}

.cn-bra-stats div:last-child {
  border-bottom: 0;
}

.cn-bra-stats dt {
  color: #526173;
}

.cn-bra-stats dd {
  margin: 0;
  color: var(--cn-text);
  font-weight: 900;
}

.cn-bra-app-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 16px;
  min-height: 270px;
  padding: 22px;
  overflow: hidden;
  border-radius: var(--cn-radius);
  color: #fff;
  background:
    radial-gradient(circle at 84% 15%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(145deg, #0756b8, #003f91);
  box-shadow: 0 18px 36px rgba(7,86,184,.24);
}

.cn-bra-app-copy {
  position: relative;
  z-index: 1;
}

.cn-bra-app-box h2 {
  margin: 0 0 8px;
  color: #fff !important;
  font-size: 22px;
}

.cn-bra-app-box p,
.cn-bra-app-box li {
  color: rgba(255,255,255,.9);
}

.cn-bra-app-box p {
  margin: 0;
}

.cn-bra-app-box ul {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.cn-bra-app-box li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
}

.cn-bra-app-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7de0b1;
}

.cn-bra-store-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.cn-bra-store {
  display: block;
  width: 144px;
  padding: 7px 10px;
  border-radius: 7px;
  background: #05070b;
  color: #fff;
  line-height: 1.1;
}

.cn-bra-store span {
  display: block;
  color: rgba(255,255,255,.76);
  font-size: 9px;
}

.cn-bra-store strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.cn-bra-app-more {
  width: 100%;
  border-color: rgba(255,255,255,.44);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.cn-bra-phone {
  position: relative;
  align-self: end;
  width: 104px;
  height: 212px;
  padding: 7px;
  border: 4px solid #101827;
  border-radius: 26px;
  background: linear-gradient(160deg, #1c2638, #0f172a);
  box-shadow: 0 22px 34px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(2deg);
}

.cn-bra-phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 1;
  width: 38px;
  height: 14px;
  background: #101827;
  border-radius: 0 0 10px 10px;
  transform: translateX(-50%);
}

.cn-bra-phone-screen {
  display: grid;
  gap: 5px;
  align-content: start;
  height: 100%;
  padding: 14px 7px 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: var(--cn-blue);
  font-size: 9px;
  overflow: hidden;
}

.cn-bra-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  color: #0f172a;
  font-size: 7px;
  font-weight: 800;
}

.cn-bra-phone-signal {
  display: block;
  width: 16px;
  height: 7px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, #0f172a 0 60%, transparent 60%) 0 0/4px 100%,
    linear-gradient(90deg, #0f172a 0 60%, transparent 60%) 6px 0/4px 100%,
    linear-gradient(90deg, #0f172a 0 60%, transparent 60%) 12px 0/4px 100%;
  background-color: transparent;
}

.cn-bra-phone-header {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(7,86,184,.14);
}

.cn-bra-phone-logo {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--cn-blue), var(--cn-blue-dark));
}

.cn-bra-phone-header strong {
  color: #0f172a;
  font-size: 9px;
  font-weight: 900;
}

.cn-bra-phone-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 5px;
  align-items: center;
  padding: 4px 5px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(15,23,42,.06);
}

.cn-bra-phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.cn-bra-phone-dot.win { background: var(--cn-green); }
.cn-bra-phone-dot.draw { background: #94a3b8; }
.cn-bra-phone-dot.loss { background: var(--cn-red); }

.cn-bra-phone-row span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #dbe6f7;
}

.cn-bra-phone-row b {
  color: #0f172a;
  font-size: 8px;
  font-weight: 900;
}

.cn-bra-phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid rgba(7,86,184,.14);
}

.cn-bra-phone-tabs i {
  display: block;
  height: 5px;
  margin: 0 auto;
  width: 10px;
  border-radius: 3px;
  background: #cbd8ec;
}

.cn-bra-phone-tabs i:first-child {
  width: 14px;
  background: var(--cn-blue);
}

.cn-bra-empty {
  margin: 0;
  padding: 16px;
  color: var(--cn-muted);
}

.cn-bra-faq details {
  border-top: 1px solid #edf2f7;
  padding: 12px 0;
}

.cn-bra-faq summary {
  color: var(--cn-text);
  font-weight: 900;
  cursor: pointer;
}

.cn-bra-faq p {
  margin: 8px 0 0;
  color: #526173;
}

.cn-bra-modal[hidden] {
  display: none;
}

.cn-bra-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  justify-items: end;
}

.cn-bra-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.58);
}

.cn-bra-modal-panel {
  position: relative;
  width: min(520px, 94vw);
  height: 100%;
  overflow: auto;
  background: #fff !important;
  color: #1f2937 !important;
  box-shadow: -20px 0 60px rgba(0,0,0,.26);
  padding: 24px;
  animation: cnSlideIn .18s ease-out;
}

@keyframes cnSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cn-bra-modal-close {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--cn-blue);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.cn-bra-modal-hero {
  margin: -24px -24px 20px;
  padding: 32px 24px;
  color: #fff;
  background: linear-gradient(135deg, #0756b8, #003f91);
}

.cn-bra-modal-hero h2 {
  margin: 0 0 4px;
  color: #fff !important;
  font-size: 30px;
}

.cn-bra-modal-hero p {
  margin: 0;
  color: rgba(255,255,255,.86) !important;
}

.cn-bra-modal-content h3 {
  margin: 20px 0 8px;
  color: var(--cn-blue) !important;
}

.cn-bra-modal-content p,
.cn-bra-modal-content li,
.cn-bra-modal-content strong {
  color: #475569 !important;
  line-height: 1.55;
}

.cn-bra-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 16px;
  overflow: hidden;
  border-radius: var(--cn-radius);
  background: #eef4ff;
}

.cn-bra-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cn-bra-anthem {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 1180px) {
  .cn-bra-grid {
    grid-template-columns: 1fr;
  }

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

  .cn-bra-news,
  .cn-bra-stats,
  .cn-bra-app-box {
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .cn-bra {
    padding: 0 10px 26px;
  }

  .cn-bra-hero {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    margin: 0 -10px;
    padding: 28px 18px;
  }

  .cn-bra-hero-mark {
    width: 72px;
    height: 72px;
    border-radius: 0;
    font-size: 22px;
  }

  .cn-bra-hero h1 {
    font-size: 34px;
  }

  .cn-bra-hero p {
    font-size: 16px;
  }

  .cn-bra-tabs {
    grid-template-columns: repeat(5, minmax(116px, 1fr));
    margin-left: -10px;
    margin-right: -10px;
  }

  .cn-bra-section-head {
    display: block;
  }

  .cn-bra-updated,
  .cn-bra-pill {
    margin-top: 8px;
  }

  .cn-bra-card {
    padding: 14px;
  }

  .cn-bra-game-row {
    grid-template-columns: minmax(64px, 1fr) auto minmax(64px, 1fr);
    grid-template-areas:
      "meta meta meta"
      "home score away";
    column-gap: 8px;
    row-gap: 10px;
    text-align: center;
  }

  .cn-bra-game-meta {
    grid-area: meta;
  }

  .cn-bra-game-team {
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    text-align: center;
  }

  .cn-bra-game-team.home {
    grid-area: home;
    justify-content: center;
  }

  .cn-bra-game-team.away {
    grid-area: away;
  }

  .cn-bra-game-team strong {
    display: none;
  }

  .cn-bra-team-short {
    display: block;
    color: var(--cn-text);
    font-size: 12px;
    font-weight: 850;
    white-space: normal;
  }

  .cn-bra-score-editor {
    grid-area: score;
    justify-content: center;
  }

  .cn-bra-score-editor input {
    width: 50px;
    height: 42px;
    font-size: 18px;
  }

  .cn-bra-card-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .cn-bra-history-card,
  .cn-bra-scorer-card {
    flex: 0 0 158px;
    scroll-snap-align: start;
  }

  .cn-bra-carousel-track .cn-bra-history-card {
    flex: 0 0 158px;
  }

  .cn-bra-carousel-arrow {
    display: none;
  }

  .cn-bra-sidebar {
    grid-template-columns: 1fr;
  }

  .cn-bra-app-box {
    grid-template-columns: minmax(0, 1fr) 96px;
  }
}

@media (max-width: 520px) {
  .cn-bra-hero {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }

  .cn-bra-hero-mark {
    width: 76px;
    height: 76px;
  }

  .cn-bra-tabs {
    position: relative;
  }

  .cn-bra-sim-actions .cn-bra-btn {
    flex: 1 1 100%;
  }

  .cn-bra-round-nav {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .cn-bra-round-nav span {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .cn-bra-news-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .cn-bra-news-item img,
  .cn-bra-news-thumb {
    width: 82px;
    height: 58px;
  }

  .cn-bra-app-box {
    grid-template-columns: 1fr;
  }

  .cn-bra-phone {
    display: none;
  }
}
