:root {
  color: #171a1f;
  background: #f3f5f7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --accent: #006437;
  --accent-strong: #004f2b;
  --accent-soft: #eef8f2;
  --ink: #171a1f;
  --muted: #68717d;
  --line: #e1e5e9;
  --surface: #ffffff;
}

:root[data-theme="black"] {
  color-scheme: dark;
  --ink: #f4f7f5;
  --muted: #a8b3ae;
  --line: #29352f;
  --surface: #121916;
  --accent-soft: #172b24;
  color: var(--ink);
  background: #080c0a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% -10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 36%),
    #f3f5f7;
  color: var(--ink);
}

:root[data-theme="black"] body {
  background:
    radial-gradient(circle at 15% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 36%),
    #080c0a;
}

button,
select {
  font: inherit;
}

a {
  color: inherit;
}

.demo-bar {
  background: #111418;
  color: #fff;
}

.demo-bar__inner,
.site-header__inner,
.sports-nav__inner,
.page-shell,
.footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.demo-bar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
}

.demo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.demo-label::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffcf4d;
  content: "";
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d9dde3;
  font-size: 12px;
  font-weight: 700;
}

.demo-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.preview-theme-toggle {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid #464c54;
  border-radius: 50%;
  background: #23272d;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.preview-theme-toggle:hover {
  background: #343a42;
}

.language-control select {
  border: 1px solid #464c54;
  border-radius: 8px;
  padding: 5px 28px 5px 9px;
  background: #23272d;
  color: #fff;
}

.site-header {
  border-bottom: 4px solid var(--accent);
  background: var(--surface);
}

.site-header__inner {
  min-height: 90px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr);
  align-items: center;
  gap: 32px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px 5px 15px 5px;
  background: var(--accent);
  box-shadow: 7px 7px 0 color-mix(in srgb, var(--accent) 19%, #fff);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand__name {
  display: grid;
  line-height: 1;
}

.brand__name strong {
  font-size: 24px;
  letter-spacing: -.04em;
}

.brand__name span {
  margin-top: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.site-disclaimer {
  justify-self: end;
  max-width: 680px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, #dfe4e8);
  border-radius: 12px;
  padding: 10px 13px;
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--accent) 80%, #15181c);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.sports-nav {
  overflow-x: auto;
  border-bottom: 1px solid #dfe3e7;
  background: #fff;
}

:root[data-theme="black"] .sports-nav {
  border-bottom-color: var(--line);
  background: var(--surface);
}

:root[data-theme="black"] .sports-nav a,
:root[data-theme="black"] .footer p {
  color: var(--muted);
}

:root[data-theme="black"] .footer {
  border-top-color: var(--line);
  background: var(--surface);
}

:root[data-theme="black"] .site-disclaimer {
  color: color-mix(in srgb, var(--accent) 58%, #fff);
}

.sports-nav__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}

.sports-nav a {
  color: #4f5864;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.sports-nav a[aria-current="page"] {
  color: var(--accent);
}

.page-shell {
  padding: 28px 0 64px;
}

.breadcrumbs {
  margin-bottom: 20px;
  color: #68717d;
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.match-heading {
  margin-bottom: 18px;
}

.match-heading__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #ec1f2a;
  color: #fff;
  font-size: 11px;
  letter-spacing: .06em;
}

.live-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .22);
  content: "";
}

.match-heading h1 {
  margin: 10px 0 7px;
  font-size: clamp(29px, 4.5vw, 48px);
  letter-spacing: -.045em;
  line-height: 1.03;
}

.match-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.score-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(30, 38, 48, .08);
}

.score-card__meta {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  background: #fafbfc;
  color: #5d6671;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.scoreboard {
  min-height: 196px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 28px 36px 24px;
}

.team {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.team .team__badge {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--team-color);
  box-shadow: 0 0 0 1px #dfe3e7, 0 8px 18px rgba(20, 28, 36, .12);
  color: var(--team-text, #fff);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.team strong {
  font-size: 16px;
  line-height: 1.2;
}

.team span {
  color: var(--muted);
  font-size: 12px;
}

.score {
  min-width: 126px;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.score__numbers {
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: 1;
}

.score__status {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.score__location {
  color: #7a838e;
  font-size: 11px;
  text-align: center;
}

.match-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.match-tabs a {
  position: relative;
  padding: 14px 10px;
  color: #69727c;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.match-tabs a + a {
  border-left: 1px solid var(--line);
}

.match-tabs a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.match-tabs a[aria-current="page"]::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  content: "";
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  align-items: start;
  gap: 24px;
  margin-top: 24px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(30, 38, 48, .05);
}

.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 20px 22px;
}

.panel__header h2,
.side-panel h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -.025em;
}

.panel__header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.auto-update {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 6px 9px;
  background: #f1f4f6;
  color: #66707b;
  font-size: 11px;
  font-weight: 750;
}

.auto-update::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22a65a;
  content: "";
}

.timeline {
  position: relative;
  padding: 10px 22px 22px;
}

.timeline::before {
  position: absolute;
  top: 26px;
  bottom: 30px;
  left: 89px;
  width: 2px;
  background: #e1e5e9;
  content: "";
}

.timeline-event,
.timeline-break {
  position: relative;
  display: grid;
  grid-template-columns: 50px 30px minmax(0, 1fr);
  gap: 9px;
}

.timeline-event {
  padding: 12px 0;
}

.timeline-event__minute {
  padding-top: 8px;
  color: #515a65;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.timeline-event__marker {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  align-self: start;
  justify-self: center;
  margin-top: 5px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #9aa3ad;
  box-shadow: 0 0 0 1px #cfd5da;
}

.timeline-event--goal .timeline-event__marker {
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.timeline-event--card .timeline-event__marker {
  background: #f3c840;
}

.timeline-event--sub .timeline-event__marker {
  background: #2875c7;
}

.timeline-event__content {
  border: 1px solid #e5e8eb;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.timeline-event--goal .timeline-event__content {
  border-color: color-mix(in srgb, var(--accent) 24%, #dfe4e8);
  background: var(--accent-soft);
}

.timeline-event__tag {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.timeline-event__content h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.timeline-event__content p {
  margin: 5px 0 0;
  color: #606a75;
  font-size: 13px;
  line-height: 1.5;
}

.timeline-break {
  align-items: center;
  padding: 14px 0;
}

.timeline-break__marker {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #252a30;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.timeline-break__label {
  border-radius: 9px;
  padding: 9px 12px;
  background: #f0f2f4;
  color: #515a65;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.side-column {
  display: grid;
  gap: 18px;
}

.side-panel {
  padding: 20px;
}

.side-panel > p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.stats {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}

.stat__label,
.stat__values {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stat__label {
  margin-bottom: 6px;
  color: #5d6670;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.stat__values {
  font-size: 12px;
  font-weight: 850;
}

.stat__bar {
  height: 6px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ebee;
}

.stat__bar span:first-child {
  width: var(--home-value);
  background: var(--accent);
}

.stat__bar span:last-child {
  flex: 1;
  background: #343a41;
}

.context-box {
  border-color: color-mix(in srgb, var(--accent) 20%, #dfe4e8);
  background: var(--accent-soft);
}

.context-box code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 12px;
  border-radius: 9px;
  padding: 10px;
  background: #fff;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
}

.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #58616c;
  font-size: 12px;
}

.byline__avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.footer {
  border-top: 1px solid #dfe3e7;
  background: #fff;
}

.footer__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

.footer strong {
  color: var(--accent);
}

.footer p {
  max-width: 760px;
  margin: 0;
  color: #68717d;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

@media (min-width: 1300px) {
  .page-shell {
    width: min(1040px, calc(100% - 500px));
    margin-right: 0;
    margin-left: max(24px, calc((100vw - 1440px) / 2 + 24px));
  }
}

@media (max-width: 1080px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .demo-bar__inner,
  .site-header__inner,
  .sports-nav__inner,
  .page-shell,
  .footer__inner {
    width: min(100% - 24px, 1180px);
  }

  .demo-bar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 9px 0;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .site-disclaimer {
    justify-self: stretch;
  }

  .scoreboard {
    gap: 10px;
    padding: 24px 12px 20px;
  }

  .team__badge {
    width: 56px;
    height: 56px;
    font-size: 14px;
  }

  .team strong {
    font-size: 13px;
  }

  .team > span:not(.team__badge),
  .score__location {
    display: none;
  }

  .score {
    min-width: 90px;
  }

  .match-tabs {
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-tabs a:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .match-tabs a:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .panel__header {
    flex-direction: column;
  }

  .timeline {
    padding-right: 12px;
    padding-left: 12px;
  }

  .timeline::before {
    left: 68px;
  }

  .timeline-event,
  .timeline-break {
    grid-template-columns: 36px 22px minmax(0, 1fr);
    gap: 9px;
  }

  .timeline-event__marker {
    width: 18px;
    height: 18px;
  }

  .timeline-event__content {
    padding: 11px 12px;
  }

  .side-column {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }
}
braspin-chat braspin-chat-footer button.braspin-chat-login-button:disabled {
  cursor: not-allowed;
}
