/* Norwegian edition of the shared 433 match centre. */
html {
  color-scheme: light;
  background: #edf2f5;
}

body.brand-433 {
  --no-canvas: #edf2f5;
  --no-paper: #fff;
  --no-wash: #f3f6f8;
  --no-tint: #e7eef3;
  --no-line: #cbd7df;
  --no-ink: #142b42;
  --no-navy: #163957;
  --no-muted: #455a6d;
  --no-red: #ac1739;
  --brand-accent: var(--no-red);
  --brand-accent-dark: #8d1230;
  --brand-accent-rgb: 172, 23, 57;
  --brand-bg-start: var(--no-canvas);
  --brand-bg-mid: var(--no-canvas);
  --brand-bg-surface: var(--no-paper);
  --brand-bg-end: var(--no-canvas);
  --brand-panel: var(--no-paper);
  --brand-row: var(--no-paper);
  --brand-row-alt: var(--no-wash);
  --brand-row-hover: #eaf1f5;
  --brand-line: var(--no-line);
  --brand-text: var(--no-ink);
  --brand-row-text: var(--no-ink);
  --brand-muted: var(--no-muted);
  --brand-soft-text: #576b7d;
  min-height: 100vh;
  color: var(--no-ink);
  background: var(--no-canvas);
}

body.brand-433::before { display: none; }

body.brand-433 .norway-masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--no-line);
  border-radius: 12px;
  background: linear-gradient(105deg, #fff 0%, #fff 41%, #f4f8fa 72%, #e2ecf2 100%);
  box-shadow: 0 3px 12px #183a5610;
}
body.brand-433 .app-hero { min-height: 0; }
body.brand-433 .app-hero::before,
body.brand-433 .app-hero::after { content: none; }

.masthead-art, .masthead-art::before, .masthead-art::after {
  position: absolute;
  pointer-events: none;
}
.masthead-art { inset: 0; z-index: -1; overflow: hidden; }
.masthead-art::before {
  content: "";
  inset: 0 0 0 32%;
  /* A 138-degree normal gives all four stripes a 42-degree uphill slope. */
  background: linear-gradient(138deg,
    transparent calc(43% - 28px), #a4b9c8 calc(43% - 28px) calc(43% - 27px),
    transparent calc(43% - 27px) calc(43% - 15px), #ab1739 calc(43% - 15px) calc(43% - 8px),
    transparent calc(43% - 8px) calc(43% - 2px), #163957 calc(43% - 2px) calc(43% + 1px),
    transparent calc(43% + 1px) calc(43% + 12px), #bdcdd7 calc(43% + 12px) calc(43% + 13px),
    transparent calc(43% + 13px));
}
.masthead-art::after {
  content: "";
  inset-block: 8%;
  right: clamp(5rem, 11%, 8rem);
  width: 20%;
  background: url("/assets/norway-mainland.svg") right center / contain no-repeat;
}
body.brand-433 .app-hero-inner {
  display: flex;
  align-items: center;
  position: static;
  min-height: 162px;
  padding: 24px clamp(18px, 3.4vw, 38px);
}
body.brand-433 .hero-copy-block {
  width: fit-content;
  max-width: 56%;
  gap: 7px;
}
body.brand-433 .hero-brand {
  display: inline-flex;
  align-items: baseline;
  gap: .045em;
  font-size: clamp(48px, 5.8vw, 69px);
  line-height: .95;
  letter-spacing: -.045em;
  text-shadow: none;
}
body.brand-433 .hero-brand .hero-brand-main,
body.brand-433 .footer-logo-main {
  color: var(--no-navy);
  -webkit-text-fill-color: currentColor;
}
body.brand-433 .hero-brand .hero-brand-cat,
body.brand-433 .footer-logo-cat,
body.brand-433 .growth-brand b {
  color: var(--no-red);
  -webkit-text-fill-color: currentColor;
}
body.brand-433 .hero-brand .hero-brand-cat {
  font-size: .49em;
  letter-spacing: -.035em;
  white-space: nowrap;
}
body.brand-433 .app-title, body.brand-433 .app-title span,
body.brand-433 .footer-red {
  color: var(--no-ink);
  -webkit-text-fill-color: currentColor;
}
body.brand-433 .app-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(13px, 1.5vw, 17px);
  line-height: 1.23;
}
body.brand-433 .app-title span { margin-left: 0; }
.masthead-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 15px; margin-top: 2px; }
body.brand-433 .masthead-meta .brand-credit {
  color: var(--no-red);
  -webkit-text-fill-color: currentColor;
  font-size: 1rem;
  font-weight: 700;
}
body.brand-433 .footer-inner > .brand-credit--footer {
  color: var(--no-muted);
  -webkit-text-fill-color: currentColor;
}
body.brand-433 .app-hero .live-feed-btn {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid #bdcad4;
  border-radius: 5px;
  background: #f6f9fa;
  box-shadow: none;
  transform: none;
}
body.brand-433 .app-hero .live-feed-text {
  color: var(--no-navy);
  -webkit-text-fill-color: currentColor;
  font: 750 .69rem/1.2 var(--ui);
  letter-spacing: .018em;
}
body.brand-433 .app-hero .live-feed-star {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  color: var(--no-red);
  fill: currentColor;
  animation: norway-live-pulse 2.6s ease-in-out infinite;
}
@keyframes norway-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .42; }
}

.masthead-languages {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
}
body.brand-433 .masthead-languages .language-switch {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 2px;
  margin: 0;
  border: 1px solid #adbdc9;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}
body.brand-433 .masthead-languages .language-switch button {
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 24px;
  padding: 2px 5px;
  border: none;
  border-radius: 3px;
  background: transparent;
  color: var(--no-muted);
  -webkit-text-fill-color: currentColor;
  font: 750 .705rem/1 var(--ui);
  letter-spacing: .02em;
}
body.brand-433 .masthead-languages .language-switch button:hover { background: var(--no-tint); box-shadow: none; }
body.brand-433 .masthead-languages .language-switch button[aria-pressed="true"] {
  color: #fff; background: var(--no-navy);
}
body.brand-433 .growth-header.norway-masthead {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 96px;
  padding: 15px clamp(14px, 3vw, 28px);
}
body.brand-433 .growth-header.norway-masthead .growth-brand {
  color: var(--no-navy);
  -webkit-text-fill-color: currentColor;
}
body.brand-433 .growth-header .masthead-art::before { left: 39%; }

body.brand-433 :is(.app-controls, .panel, .state-card, .detail-sheet, .profile-sheet, .footer-info-sheet) {
  color: var(--no-ink);
  background: var(--no-paper);
  border: 1px solid var(--no-line);
  box-shadow: 0 3px 12px #183a560c;
}
body.brand-433 .app-controls {
  border-radius: 10px;
}
body.brand-433 :is(.tab, .day-chip, .calendar-label, .profile-btn, .refresh-btn, .inline-search,
  .desktop-update-btn, .mobile-update-btn, .detail-tab, .team-tab, .calendar-nav-btn, .panel-share-btn, .panel-more-btn) {
  color: var(--no-navy);
  -webkit-text-fill-color: currentColor;
  background: var(--no-wash);
  border-color: var(--no-line);
  box-shadow: none;
}
body.brand-433 :is(.tab, .day-chip, .calendar-label, .profile-btn, .refresh-btn,
  .desktop-update-btn, .mobile-update-btn, .detail-tab, .team-tab, .calendar-nav-btn, .calendar-date, .panel-share-btn):hover,
body.brand-433 .app-hero .live-feed-btn:hover {
  background: var(--no-tint);
  border-color: #95adbe;
  color: var(--no-ink);
  -webkit-text-fill-color: currentColor;
}
body.brand-433 .tab {
  font-size: .875rem;
  line-height: 1.18;
  text-decoration: none;
}
body.brand-433 :is(.tab.active, .detail-tab[aria-selected="true"], .team-tab[aria-selected="true"]) {
  background: var(--no-red);
  border-color: var(--no-red);
  color: #fff;
  -webkit-text-fill-color: currentColor;
  box-shadow: none;
}
body.brand-433 .tab.active::after { background: #fff; }
body.brand-433 :is(.day-chip.active, .calendar-date.active) {
  background: var(--no-navy);
  border-color: var(--no-navy);
  color: #fff;
  -webkit-text-fill-color: currentColor;
  box-shadow: none;
}
body.brand-433 .day-chip.active span {
  color: #fff;
  -webkit-text-fill-color: currentColor;
}
body.brand-433 :is(.inline-search input, .calendar-label, .calendar-label span, .profile-btn,
  .desktop-update-text, .mobile-update-text, .calendar-nav-btn, .calendar-popover-head strong) {
  color: var(--no-navy);
  -webkit-text-fill-color: currentColor;
}
body.brand-433 .inline-search input { background: transparent; }
body.brand-433 .inline-search input::placeholder,
body.brand-433 :is(.search-icon, .calendar-weekdays, .calendar-popover-note) {
  color: var(--no-muted);
  -webkit-text-fill-color: currentColor;
  opacity: 1;
}
body.brand-433 .calendar-popover { background: #fff; border-color: var(--no-line); box-shadow: 0 12px 40px #16395726; }
body.brand-433 :is(.panel-head, .panel.secondary-panel .panel-head) {
  border-color: var(--no-line);
  background: #eaf0f4;
}
body.brand-433 .panel .panel-title {
  color: var(--no-navy);
  -webkit-text-fill-color: currentColor;
}
body.brand-433 .panel-title .mark { background: var(--no-red); box-shadow: none; }
body.brand-433 :is(.section-note, .section-note.is-bridge-note) {
  background: var(--no-paper);
  color: var(--no-muted);
  -webkit-text-fill-color: currentColor;
  border-color: var(--no-line);
}
body.brand-433 .section-note::before { background: #98aeba; box-shadow: none; }
body.brand-433 .section-note.is-bridge-note::before { background: var(--no-red); box-shadow: none; }
body.brand-433 .match-row,
body.brand-433 .match-row:is([data-status], .is-status-update) {
  background: var(--no-paper);
  color: var(--no-ink);
  border-color: #dae3e9;
  box-shadow: none;
}
body.brand-433 .match-row:nth-child(even) { background: #f7f9fb; }
body.brand-433 .match-row:is(:hover, :focus-within) { background: #eaf1f5; }
body.brand-433 .match-row:is([data-status], .is-status-update) :is(.minute, .team-name, .score) {
  color: var(--no-ink);
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}
body.brand-433 .match-row .league { color: var(--no-muted); -webkit-text-fill-color: currentColor; }
body.brand-433 .team-logo.has-real-logo,
body.brand-433 .team-logo.has-real-logo .club-logo {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
body.brand-433 .match-row .team-favorite-btn {
  color: var(--no-muted);
  -webkit-text-fill-color: currentColor;
  background: #f5f8fa;
  border: 1px solid #b5c5d1;
  box-shadow: none;
}
body.brand-433 .match-row .team-favorite-btn[aria-pressed="true"] {
  color: white;
  background: var(--no-red);
  border-color: var(--no-red);
}
body.brand-433 .match-row .team-favorite-btn::before {
  color: inherit;
  -webkit-text-fill-color: currentColor;
}
body.brand-433 :is(.focus-score-card, .team-hero-card) {
  background: var(--no-tint);
  color: var(--no-ink);
  border: 1px solid var(--no-line);
  box-shadow: none;
}
body.brand-433 :is(.focus-team strong, .focus-score-number, .focus-scorers,
  .focus-scorer, .team-hero-main strong, .team-hero-main span, .focus-phase) {
  color: var(--no-ink);
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}
body.brand-433 .focus-phase { background: var(--no-paper); border-color: var(--no-line); }
body.brand-433 .footer-logo-cat { font-size: .68em; }
body.brand-433 .footer {
  color: var(--no-muted);
  background: transparent;
  border-color: var(--no-line);
  box-shadow: none;
}
body.brand-433 .footer :is(.footer-link, .footer-copy) {
  color: var(--no-muted);
  -webkit-text-fill-color: currentColor;
}
body.brand-433 .no-discovery a { color: var(--no-navy); }
body.brand-433 :is(a, button, input):focus-visible,
body.brand-433 .language-switch button:focus-visible {
  outline: 2px solid #15578c;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  body.brand-433 .app-hero-inner { min-height: 128px; padding: 13px 15px; }
  body.brand-433 .hero-copy-block { max-width: 65%; gap: 6px; }
  body.brand-433 .hero-brand { font-size: clamp(33px, 8vw, 47px); }
  body.brand-433 .hero-brand .hero-brand-cat { font-size: .52em; }
  body.brand-433 .app-title { font-size: .76rem; }
  .masthead-meta { gap: 4px 8px; margin-top: 1px; }
  body.brand-433 .masthead-meta .brand-credit { font-size: .875rem; }
  body.brand-433 .app-hero .live-feed-text { font-size: .60rem; }
  body.brand-433 .app-hero .live-feed-btn { padding: 2px 5px; min-height: 24px; }
  .masthead-languages { top: 7px; right: 8px; }
  body.brand-433 .masthead-languages .language-switch button { min-height: 26px; }
  .masthead-art::before {
    left: 0;
    mask-image: linear-gradient(90deg, transparent 52%, #000 68%);
    background: linear-gradient(138deg,
      transparent calc(66% - 9px), #a4b9c8 calc(66% - 9px) calc(66% - 8px),
      transparent calc(66% - 8px) calc(66% - 3px), #ab1739 calc(66% - 3px) 66%,
      transparent 66% calc(66% + 3px), #163957 calc(66% + 3px) calc(66% + 5px),
      transparent calc(66% + 5px) calc(66% + 10px), #bdcdd7 calc(66% + 10px) calc(66% + 11px),
      transparent calc(66% + 11px));
  }
  .masthead-art::after { top: 44px; bottom: 6px; right: 9px; width: 23%; }
  body.brand-433 .growth-header.norway-masthead { min-height: 90px; }
  body.brand-433 .growth-header .masthead-art::before { left: 0; }
  body.brand-433 .growth-header .masthead-art::after { top: 7px; bottom: 7px; right: 76px; width: 18%; }
  body.brand-433 .tab { font-size: clamp(.68rem, 2.6vw, .80rem); overflow-wrap: anywhere; }
  body.brand-433 .match-row[data-status] .team.away { padding-right: 5px; }
  body.brand-433 .match-row[data-status] .team-name { white-space: normal; overflow-wrap: anywhere; line-height: 1.16; }
  body.brand-433 .match-row:is([data-status], .is-status-update)::after {
    background: #e7eef3;
    border-color: #cad7e1;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.brand-433 .app-hero .live-feed-star { animation: none; opacity: 1; }
}
