:root {
  --nbfc-ink: #06131f;
  --nbfc-ink-2: #0a2234;
  --nbfc-cyan: #35dce8;
  --nbfc-red: #d8434b;
  --nbfc-pink: #d8434b;
  --nbfc-cream: #fff6d8;
  --nbfc-white: #ffffff;
  --nbfc-muted: rgba(255, 255, 255, 0.7);
  --nbfc-line: rgba(255, 255, 255, 0.22);
  --nbfc-panel: rgba(2, 7, 12, 0.86);
  --nbfc-panel-strong: rgba(2, 7, 12, 0.96);
  --nbfc-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

html {
  min-height: 100%;
  background: var(--nbfc-ink);
}

body.nbfc-app-body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--nbfc-ink);
  color: var(--nbfc-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.nbfc-standalone,
html.nbfc-standalone body.nbfc-app-body {
  width: 100%;
  height: var(--nbfc-app-height, 100dvh);
  min-height: var(--nbfc-app-height, 100dvh);
  overflow-x: hidden;
  background: #06131f;
}

html.nbfc-standalone .nbfc-shell {
  min-height: var(--nbfc-app-height, 100dvh) !important;
}

html.nbfc-standalone .nbfc-shell.is-authenticated,
html.nbfc-standalone .nbfc-shell.is-authenticated .nbfc-app-layout {
  height: var(--nbfc-app-height, 100dvh) !important;
  min-height: var(--nbfc-app-height, 100dvh) !important;
}

html.nbfc-standalone body.nbfc-app-body.nbfc-auth-body {
  overflow: hidden;
}

html.nbfc-standalone .nbfc-shell::before {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: max(env(safe-area-inset-top, 0px), 1px);
  content: "";
  background: #06131f;
  pointer-events: none;
}

body.nbfc-app-body * {
  box-sizing: border-box;
}

body.nbfc-app-body button,
body.nbfc-app-body input,
body.nbfc-app-body select,
body.nbfc-app-body textarea {
  font: inherit;
}

body.nbfc-app-body button {
  border: 0;
  cursor: pointer;
}

body.nbfc-app-body [hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nbfc-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  background: var(--nbfc-ink);
}

.nbfc-shell[data-theme="day"] {
  --nbfc-muted: rgba(255, 255, 255, 0.78);
  --nbfc-line: rgba(255, 255, 255, 0.32);
  --nbfc-panel: rgba(4, 18, 28, 0.8);
  --nbfc-panel-strong: rgba(4, 18, 28, 0.92);
}

.nbfc-bg,
.nbfc-bg::before,
.nbfc-bg::after,
.nbfc-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.nbfc-bg {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.02) 0%, rgba(6, 19, 31, 0.38) 48%, rgba(6, 19, 31, 0.95) 84%),
    radial-gradient(circle at 78% 18%, rgba(53, 220, 232, 0.3), transparent 28%),
    radial-gradient(circle at 22% 42%, rgba(255, 51, 71, 0.34), transparent 34%),
    url("../images/nbfc-night-rooftop-bg.png") center top / cover no-repeat,
    #04111c;
  overflow: hidden;
  transition: background 420ms ease, filter 420ms ease;
  animation: nbfcBgDrift 18s ease-in-out infinite alternate;
}

.nbfc-bg::before,
.nbfc-bg::after {
  content: "";
  display: block;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 420ms ease, filter 420ms ease, background-image 420ms ease;
}

.nbfc-bg::before {
  background-image:
    linear-gradient(180deg, rgba(6, 19, 31, 0.05) 0%, rgba(6, 19, 31, 0.44) 52%, rgba(6, 19, 31, 0.98) 86%),
    url("../images/nbfc-action-night-bg.png");
  filter: saturate(1.16) contrast(1.06);
  opacity: 0;
  transform: scale(1.03);
  animation: nbfcSlideFade 28s ease-in-out infinite, nbfcSlideMove 28s ease-in-out infinite, nbfcNightGallery 28s linear infinite;
}

.nbfc-bg::after {
  background-image:
    linear-gradient(115deg, transparent 0 38%, rgba(53, 220, 232, 0.16) 44% 46%, transparent 52% 100%),
    linear-gradient(75deg, transparent 0 60%, rgba(255, 63, 147, 0.16) 63% 65%, transparent 72% 100%);
  mix-blend-mode: screen;
  opacity: 0.6;
  transform: translateX(-10%);
  animation: nbfcLightSweep 11s ease-in-out infinite;
}

.nbfc-shell[data-theme="day"] .nbfc-bg::before {
  background-image:
    linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.28) 52%, rgba(6, 19, 31, 0.95) 86%),
    url("../images/nbfc-action-day-bg.png");
  animation: nbfcSlideFade 28s ease-in-out infinite, nbfcSlideMove 28s ease-in-out infinite, nbfcDayGallery 28s linear infinite;
}

.nbfc-shell[data-theme="day"] .nbfc-bg::after {
  opacity: 0.45;
}

.nbfc-shell[data-theme="day"] .nbfc-bg {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.22) 46%, rgba(6, 19, 31, 0.92) 86%),
    radial-gradient(circle at 74% 16%, rgba(255, 246, 216, 0.24), transparent 26%),
    radial-gradient(circle at 18% 46%, rgba(53, 220, 232, 0.18), transparent 32%),
    url("../images/nbfc-day-graffiti-bg.png") center top / cover no-repeat,
    #06131f;
}

.nbfc-noise {
  z-index: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(53, 220, 232, 0.16) 47% 49%, transparent 50% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}

.nbfc-splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background: #040b12;
  transition: opacity 720ms ease, visibility 720ms ease;
}

.nbfc-shell.is-ready .nbfc-splash {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.nbfc-splash__scene {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 11, 18, 0.05), rgba(4, 11, 18, 0.8)),
    url("../images/nbfc-action-night-bg.png") center / cover no-repeat;
  filter: saturate(1.18) contrast(1.06);
  animation: nbfcSplashScene 3450ms ease both;
}

.nbfc-splash::before {
  position: absolute;
  inset: auto -16% 21% -16%;
  height: 28px;
  content: "";
  background: var(--nbfc-cyan);
  filter: blur(13px);
  transform: rotate(-4deg);
  opacity: 0.52;
}

.nbfc-splash::after {
  position: absolute;
  width: min(72vw, 380px);
  aspect-ratio: 1;
  border: 1px solid rgba(53, 220, 232, 0.4);
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle, rgba(53, 220, 232, 0.18), transparent 58%),
    conic-gradient(from 210deg, transparent 0 16%, rgba(255, 63, 147, 0.64) 18%, transparent 24% 54%, rgba(53, 220, 232, 0.68) 58%, transparent 66% 100%);
  filter: blur(0.2px) drop-shadow(0 0 26px rgba(53, 220, 232, 0.36));
  opacity: 0;
  animation: nbfcSplashRing 3150ms ease-out 120ms both;
}

.nbfc-splash__logo {
  position: relative;
  z-index: 1;
  width: min(58%, 238px);
  aspect-ratio: 1;
  object-fit: contain;
  filter:
    drop-shadow(0 0 16px rgba(53, 220, 232, 0.65))
    drop-shadow(0 18px 36px rgba(0, 0, 0, 0.72));
  animation: nbfcLogoPulse 2050ms cubic-bezier(0.16, 1, 0.3, 1) 240ms both, nbfcLogoFloat 1400ms ease-in-out 2050ms infinite alternate;
}

.nbfc-splash__copy {
  position: relative;
  display: grid;
  gap: 4px;
  width: min(100%, 360px);
  margin-top: -20px;
  text-align: center;
  text-transform: uppercase;
  animation: nbfcSplashCopy 1050ms ease-out 820ms both;
}

.nbfc-splash__copy span,
.nbfc-splash__copy strong,
.nbfc-graffiti {
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 4px 0 0 rgba(53, 220, 232, 0.55), -4px 0 0 rgba(255, 51, 71, 0.5), 0 16px 30px rgba(0, 0, 0, 0.5);
}

.nbfc-splash__copy span {
  color: var(--nbfc-cream);
  font-size: 4rem;
}

.nbfc-splash__copy strong {
  color: var(--nbfc-pink);
  font-size: 2.25rem;
  transform: skew(-8deg) rotate(-2deg);
}

.nbfc-splash__copy em {
  margin-top: 10px;
  color: var(--nbfc-cyan);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.nbfc-splash__bar {
  position: relative;
  width: min(72%, 340px);
  height: 4px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.nbfc-splash__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--nbfc-red), var(--nbfc-cyan));
  transform-origin: left;
  animation: nbfcLoad 2100ms ease-out both;
}

.nbfc-app-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "top"
    "hero"
    "panel"
    "nav";
  grid-template-rows: auto minmax(260px, auto) auto auto;
  width: min(100vw, 480px);
  max-width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  overflow-x: clip;
  padding: calc(18px + env(safe-area-inset-top)) 18px calc(100px + env(safe-area-inset-bottom));
}

.nbfc-shell:not(.is-authenticated) .nbfc-app-layout {
  grid-template-areas:
    "top"
    "hero"
    "panel";
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(188px, auto) auto;
  align-content: center;
  gap: 14px;
  width: min(100vw, 460px);
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
}

.nbfc-shell:not(.is-authenticated) .nbfc-tabbar {
  display: none;
}

.nbfc-shell:not(.is-authenticated) .nbfc-panel {
  align-self: center;
}

.nbfc-topbar {
  grid-area: top;
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 12px;
}

.nbfc-shell:not(.is-authenticated) .nbfc-topbar {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  left: 14px;
  justify-content: flex-end;
}

.nbfc-shell:not(.is-authenticated) .nbfc-brand {
  display: none;
}

.nbfc-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--nbfc-cream);
  text-decoration: none;
}

.nbfc-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(53, 220, 232, 0.6))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
}

.nbfc-brand span {
  color: var(--nbfc-cream);
  font-size: 1.08rem;
  font-weight: 950;
  text-shadow: 2px 0 0 rgba(53, 220, 232, 0.38), -2px 0 0 rgba(255, 63, 147, 0.32);
}

.nbfc-topbar__actions {
  position: relative;
  z-index: 14;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nbfc-icon-button,
.nbfc-mode-toggle {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 7, 12, 0.58);
  color: var(--nbfc-white);
  box-shadow: 0 0 24px rgba(53, 220, 232, 0.12);
  backdrop-filter: blur(16px);
}

.nbfc-icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.nbfc-mode-toggle {
  grid-template-columns: 18px auto;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
}

.nbfc-mode-toggle strong {
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-theme-icon {
  display: inline-grid;
  place-items: center;
}

.nbfc-theme-icon--day {
  display: none;
}

.nbfc-shell[data-theme="day"] .nbfc-theme-icon--night {
  display: none;
}

.nbfc-shell[data-theme="day"] .nbfc-theme-icon--day {
  display: inline-grid;
}

.nbfc-icon-button svg,
.nbfc-mode-toggle svg {
  width: 20px;
  height: 20px;
}

.nbfc-hero {
  grid-area: hero;
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: start;
  align-content: end;
  min-height: 280px;
  padding: 28px 2px 18px;
}

.nbfc-shell:not(.is-authenticated) .nbfc-hero {
  justify-items: center;
  align-content: center;
  min-height: 228px;
  padding: 4px 0 0;
  text-align: center;
}

.nbfc-shell:not(.is-authenticated) .nbfc-hero::before,
.nbfc-shell:not(.is-authenticated) .nbfc-hero::after {
  display: none;
}

.nbfc-hero::before {
  position: absolute;
  inset: -72px -18px -8px;
  z-index: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.06), rgba(6, 19, 31, 0.66) 76%, rgba(6, 19, 31, 0.95)),
    url("../images/nbfc-urban-court-bg.png") center top / cover no-repeat;
  filter: saturate(1.12) contrast(1.06);
  opacity: 0.78;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

.nbfc-hero::after {
  position: absolute;
  inset: -60px -18px -8px;
  z-index: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.08), rgba(6, 19, 31, 0.72) 78%, rgba(6, 19, 31, 0.96)),
    url("../images/nbfc-action-night-bg.png") center top / cover no-repeat;
  filter: saturate(1.14) contrast(1.06);
  opacity: 0;
  transform: scale(1.03);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  animation: nbfcHeroSlide 16s ease-in-out infinite;
}

.nbfc-shell[data-theme="day"] .nbfc-hero::before {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.0), rgba(6, 19, 31, 0.42) 76%, rgba(6, 19, 31, 0.92)),
    url("../images/nbfc-urban-court-day-bg.png") center top / cover no-repeat;
  opacity: 0.86;
}

.nbfc-shell[data-theme="day"] .nbfc-hero::after {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.0), rgba(6, 19, 31, 0.42) 78%, rgba(6, 19, 31, 0.93)),
    url("../images/nbfc-action-day-bg.png") center top / cover no-repeat;
}

.nbfc-hero > * {
  position: relative;
  z-index: 1;
}

.nbfc-hero__logo {
  width: 106px;
  height: 106px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(53, 220, 232, 0.66))
    drop-shadow(0 0 24px rgba(255, 63, 147, 0.32))
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.62));
  animation: nbfcHeroLogoFloat 2600ms ease-in-out infinite alternate;
}

.nbfc-shell:not(.is-authenticated) .nbfc-hero__logo {
  width: 128px;
  height: 128px;
}

.nbfc-hero__subtitle {
  margin: 4px 0 0;
  color: var(--nbfc-cyan);
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(53, 220, 232, 0.52);
}

.nbfc-kicker {
  margin: 0 0 8px;
  color: var(--nbfc-cyan);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-hero h1 {
  max-width: 100%;
  margin: 0;
  color: var(--nbfc-cream);
  font-size: 3.05rem;
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 3px 0 0 rgba(53, 220, 232, 0.56), -3px 0 0 rgba(255, 63, 147, 0.58), 0 18px 36px rgba(0, 0, 0, 0.62);
}

.nbfc-shell:not(.is-authenticated) .nbfc-hero h1 {
  margin-top: -8px;
  font-size: 2.95rem;
  line-height: 0.84;
  transform: skew(-6deg) rotate(-1deg);
  text-shadow:
    3px 0 0 rgba(53, 220, 232, 0.58),
    -3px 0 0 rgba(255, 63, 147, 0.56),
    0 0 24px rgba(53, 220, 232, 0.28),
    0 18px 36px rgba(0, 0, 0, 0.62);
}

.nbfc-words {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  text-transform: uppercase;
}

.nbfc-words span {
  width: max-content;
  max-width: 100%;
  padding: 1px 9px 2px;
  color: var(--nbfc-white);
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
  transform: skew(-7deg) rotate(-2deg);
}

.nbfc-words span:nth-child(1) {
  color: var(--nbfc-pink);
}

.nbfc-words span:nth-child(2) {
  color: var(--nbfc-cyan);
}

.nbfc-words span:nth-child(3) {
  color: var(--nbfc-cream);
}

.nbfc-panel {
  grid-area: panel;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--nbfc-panel), var(--nbfc-panel-strong));
  box-shadow: var(--nbfc-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nbfc-shell:not(.is-authenticated) .nbfc-panel {
  box-shadow:
    0 0 28px rgba(53, 220, 232, 0.13),
    0 18px 58px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nbfc-shell:not(.is-authenticated) .nbfc-login-panel,
.nbfc-shell:not(.is-authenticated) .nbfc-access-panel {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.075) 44%, rgba(53, 220, 232, 0.12)),
    linear-gradient(180deg, rgba(2, 7, 12, 0.16), rgba(2, 7, 12, 0.36));
  box-shadow:
    0 0 32px rgba(53, 220, 232, 0.2),
    0 18px 58px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px) saturate(1.85);
  -webkit-backdrop-filter: blur(24px) saturate(1.85);
}

.nbfc-shell:not(.is-authenticated) .nbfc-login-panel::before,
.nbfc-shell:not(.is-authenticated) .nbfc-access-panel::before {
  position: absolute;
  inset: -1px;
  content: "";
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.46), transparent 28%, rgba(53, 220, 232, 0.18) 48%, transparent 68%, rgba(255, 63, 147, 0.2)),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.4), transparent 30%);
  opacity: 0.5;
  pointer-events: none;
}

.nbfc-shell:not(.is-authenticated) .nbfc-login-panel > *,
.nbfc-shell:not(.is-authenticated) .nbfc-access-panel > * {
  position: relative;
  z-index: 1;
}

.nbfc-panel[hidden] {
  display: none;
}

.nbfc-login-panel,
.nbfc-access-panel,
.nbfc-player-panel {
  padding: 18px;
}

.nbfc-player-panel {
  overflow: hidden;
}

.nbfc-player-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 8%, rgba(53, 220, 232, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255, 63, 147, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(6, 19, 31, 0.08), rgba(255, 51, 71, 0.08));
  opacity: 0.9;
  pointer-events: none;
}

.nbfc-player-panel > * {
  position: relative;
  z-index: 1;
}

.nbfc-login,
.nbfc-access {
  display: grid;
  gap: 12px;
}

.nbfc-panel-head,
.nbfc-player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.nbfc-panel-head h2,
.nbfc-player-head h2 {
  margin: 0;
  color: var(--nbfc-cream);
  font-size: 1.9rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 2px 0 0 rgba(53, 220, 232, 0.48), -2px 0 0 rgba(255, 63, 147, 0.42);
}

.nbfc-field {
  position: relative;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 32px;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid var(--nbfc-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.nbfc-access .nbfc-field {
  grid-template-columns: 29px minmax(0, 1fr);
}

.nbfc-field:focus-within {
  border-color: rgba(53, 220, 232, 0.82);
  box-shadow: 0 0 0 3px rgba(53, 220, 232, 0.16), 0 0 28px rgba(53, 220, 232, 0.2);
}

.nbfc-field__icon,
.nbfc-field__action,
.nbfc-primary svg,
.nbfc-secondary svg,
.nbfc-card svg,
.nbfc-tabbar svg {
  display: inline-grid;
  place-items: center;
}

.nbfc-field__icon svg,
.nbfc-field__action svg,
.nbfc-icon-button svg,
.nbfc-mode-toggle svg,
.nbfc-primary svg,
.nbfc-secondary svg,
.nbfc-card svg,
.nbfc-tabbar svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nbfc-field__icon--cyan {
  color: var(--nbfc-cyan);
}

.nbfc-field__icon--pink {
  color: var(--nbfc-pink);
}

.nbfc-field__icon svg,
.nbfc-field__action svg {
  width: 21px;
  height: 21px;
}

.nbfc-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--nbfc-white);
  font-size: 0.95rem;
}

.nbfc-field input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.nbfc-field__action {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  color: var(--nbfc-white);
}

.nbfc-login__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  min-height: 26px;
  font-size: 0.9rem;
}

.nbfc-login__row a {
  color: var(--nbfc-cyan);
  font-weight: 800;
  text-decoration: none;
}

.nbfc-login__row a:hover,
.nbfc-login__row a:focus-visible {
  text-decoration: underline;
}

.nbfc-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nbfc-muted);
}

.nbfc-remember input {
  width: 18px;
  height: 18px;
  accent-color: var(--nbfc-cyan);
}

.nbfc-primary,
.nbfc-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 50px;
  border-radius: 8px;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-primary {
  position: relative;
  margin-top: 6px;
  overflow: hidden;
  background: var(--nbfc-cyan);
  color: #04131a;
  box-shadow: 0 0 20px rgba(53, 220, 232, 0.42), 0 14px 30px rgba(53, 220, 232, 0.22);
}

.nbfc-primary::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  transform: translateX(-105%);
}

.nbfc-primary:hover::before,
.nbfc-primary:focus-visible::before {
  transform: translateX(105%);
  transition: transform 700ms ease;
}

.nbfc-primary:disabled {
  cursor: wait;
  filter: grayscale(0.35);
  opacity: 0.72;
}

.nbfc-primary span,
.nbfc-secondary span {
  position: relative;
  z-index: 1;
}

.nbfc-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
}

.nbfc-separator::before,
.nbfc-separator::after {
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.32);
}

.nbfc-secondary {
  border: 1px solid rgba(255, 63, 147, 0.9);
  background: rgba(255, 63, 147, 0.05);
  color: var(--nbfc-pink);
  box-shadow: 0 0 20px rgba(255, 63, 147, 0.18);
}

.nbfc-status {
  min-height: 20px;
  margin: 0;
  color: var(--nbfc-muted);
  font-size: 0.9rem;
  text-align: center;
}

.nbfc-status.is-error {
  color: #ffb6c6;
}

.nbfc-status.is-success {
  color: #96f7ff;
}

.nbfc-shell:not(.is-authenticated) .nbfc-access-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 35;
  width: min(calc(100vw - 28px), 620px);
  max-height: min(86svh, 760px);
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translate(-50%, -50%);
}

.nbfc-access-glow {
  position: absolute;
  inset: auto -18% -22% -18%;
  z-index: 0;
  height: 180px;
  background:
    radial-gradient(circle at 26% 50%, rgba(53, 220, 232, 0.38), transparent 34%),
    radial-gradient(circle at 74% 52%, rgba(255, 63, 147, 0.34), transparent 36%);
  filter: blur(28px);
  opacity: 0.78;
  pointer-events: none;
  animation: nbfcLiquidGlow 7s ease-in-out infinite alternate;
}

.nbfc-shell:not(.is-authenticated) .nbfc-access-glow {
  position: absolute;
  z-index: 0;
}

.nbfc-flow-head {
  align-items: center;
  margin-bottom: 12px;
}

.nbfc-flow-head h2 {
  font-size: clamp(1.7rem, 8vw, 2.55rem);
}

.nbfc-flow-head img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(53, 220, 232, 0.62));
}

.nbfc-flow-progress {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.nbfc-flow-progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--nbfc-cyan), var(--nbfc-pink), var(--nbfc-red)),
    var(--nbfc-cyan);
  box-shadow: 0 0 18px rgba(53, 220, 232, 0.48);
  transition: width 280ms ease;
}

.nbfc-flow-count {
  margin: 7px 0 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 950;
  text-align: right;
  text-transform: uppercase;
}

.nbfc-flow-step {
  display: grid;
  gap: 10px;
  min-height: 250px;
  margin: 0;
  padding: 4px 0 0;
  border: 0;
  animation: nbfcFlowIn 280ms ease both;
}

.nbfc-flow-step[hidden] {
  display: none;
}

.nbfc-flow-step legend {
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  color: var(--nbfc-cream);
  font-size: clamp(1.45rem, 7vw, 2.1rem);
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
  text-shadow: 2px 0 0 rgba(53, 220, 232, 0.5), -2px 0 0 rgba(255, 63, 147, 0.42);
}

.nbfc-flow-fields,
.nbfc-choice-stack {
  display: grid;
  gap: 10px;
}

.nbfc-choice-card {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 62px;
  padding: 11px 14px 11px 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07)),
    rgba(3, 11, 18, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.nbfc-choice-card::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(53, 220, 232, 0.84);
  border-radius: 5px;
  content: "";
  transform: translateY(-50%) rotate(-4deg);
  box-shadow: 0 0 14px rgba(53, 220, 232, 0.24);
}

.nbfc-choice-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.24) 44%, transparent 51% 100%);
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity 180ms ease, transform 520ms ease;
  pointer-events: none;
}

.nbfc-choice-card:hover::after,
.nbfc-choice-card:focus-within::after {
  opacity: 1;
  transform: translateX(70%);
}

.nbfc-choice-card:has(input:checked) {
  border-color: rgba(53, 220, 232, 0.86);
  background:
    linear-gradient(135deg, rgba(53, 220, 232, 0.28), rgba(255, 63, 147, 0.12)),
    rgba(3, 11, 18, 0.28);
  box-shadow: 0 0 28px rgba(53, 220, 232, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nbfc-choice-card:has(input:checked)::before {
  background: var(--nbfc-cyan);
  box-shadow: 0 0 18px rgba(53, 220, 232, 0.66);
}

.nbfc-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nbfc-choice-card span {
  color: var(--nbfc-cream);
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-choice-card em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
}

.nbfc-select,
.nbfc-textarea {
  display: grid;
  gap: 8px;
}

.nbfc-select span {
  color: var(--nbfc-cyan);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-select select,
.nbfc-textarea textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--nbfc-line);
  border-radius: 8px;
  outline: 0;
  background: rgba(0, 0, 0, 0.24);
  color: var(--nbfc-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nbfc-select select {
  min-height: 48px;
  padding: 0 11px;
}

.nbfc-textarea textarea {
  min-height: 118px;
  padding: 12px;
  resize: vertical;
}

.nbfc-select select:focus,
.nbfc-textarea textarea:focus {
  border-color: rgba(53, 220, 232, 0.82);
  box-shadow: 0 0 0 3px rgba(53, 220, 232, 0.16), 0 0 26px rgba(53, 220, 232, 0.16);
}

.nbfc-flow-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 246, 216, 0.28);
  border-radius: 8px;
  color: var(--nbfc-cream);
  font-size: 0.82rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background: rgba(255, 246, 216, 0.08);
}

.nbfc-flow-download svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nbfc-flow-actions {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 10px;
}

.nbfc-flow-actions .nbfc-secondary,
.nbfc-flow-actions .nbfc-primary {
  margin-top: 0;
}

.nbfc-flow-actions .nbfc-secondary[hidden] + .nbfc-primary {
  grid-column: 1 / -1;
}

.nbfc-access.is-complete .nbfc-flow-actions {
  display: none;
}

.nbfc-flow-success {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 334px;
  text-align: center;
  animation: nbfcSuccessPop 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nbfc-flow-success img {
  width: min(42vw, 172px);
  height: min(42vw, 172px);
  object-fit: contain;
  filter:
    drop-shadow(0 0 22px rgba(53, 220, 232, 0.75))
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
  animation: nbfcLogoFloat 1250ms ease-in-out infinite alternate;
}

.nbfc-flow-success strong {
  color: var(--nbfc-cream);
  font-size: clamp(1.6rem, 8vw, 2.3rem);
  font-weight: 950;
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 2px 0 0 rgba(53, 220, 232, 0.52), -2px 0 0 rgba(255, 63, 147, 0.44);
}

.nbfc-flow-success p {
  max-width: 32ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  font-weight: 800;
}

.nbfc-view-rail {
  display: flex;
  gap: 8px;
  margin: -4px 0 14px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nbfc-view-rail::-webkit-scrollbar {
  display: none;
}

.nbfc-view-rail button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-view-rail button.is-active {
  border-color: rgba(53, 220, 232, 0.72);
  background: rgba(53, 220, 232, 0.14);
  color: var(--nbfc-cyan);
  box-shadow: 0 0 18px rgba(53, 220, 232, 0.2);
}

.nbfc-player-views {
  min-height: 410px;
}

.nbfc-view {
  display: grid;
  gap: 12px;
  animation: nbfcViewIn 260ms ease both;
}

.nbfc-view[hidden] {
  display: none;
}

.nbfc-view-hero {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nbfc-view-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.16), rgba(6, 19, 31, 0.88)),
    url("../images/nbfc-action-night-bg.png") center 42% / cover no-repeat;
  filter: saturate(1.12) contrast(1.04);
  opacity: 0.7;
}

.nbfc-shell[data-theme="day"] .nbfc-view-hero::before {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.02), rgba(6, 19, 31, 0.78)),
    url("../images/nbfc-action-day-bg.png") center 42% / cover no-repeat;
  opacity: 0.82;
}

.nbfc-player-panel[data-active-view="matches"] .nbfc-view-hero::before,
.nbfc-player-panel[data-active-view="convocations"] .nbfc-view-hero::before {
  background-position: center 32%;
}

.nbfc-player-panel[data-active-view="messages"] .nbfc-view-hero::before,
.nbfc-player-panel[data-active-view="video"] .nbfc-view-hero::before {
  background-position: center 58%;
}

.nbfc-view-hero > * {
  position: relative;
  z-index: 1;
}

.nbfc-view-hero p,
.nbfc-view-hero strong,
.nbfc-view-hero span {
  margin: 0;
}

.nbfc-view-hero p {
  color: var(--nbfc-cyan);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-view-hero strong {
  color: var(--nbfc-cream);
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 2px 0 0 rgba(53, 220, 232, 0.42), -2px 0 0 rgba(255, 63, 147, 0.38);
}

.nbfc-view-hero span {
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.nbfc-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nbfc-card {
  display: grid;
  gap: 12px;
  min-height: 120px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.nbfc-card:hover {
  border-color: rgba(53, 220, 232, 0.38);
  box-shadow: 0 0 22px rgba(53, 220, 232, 0.12);
}

.nbfc-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
}

.nbfc-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(53, 220, 232, 0.14);
  color: var(--nbfc-cyan);
}

.nbfc-card p,
.nbfc-card strong,
.nbfc-card em {
  margin: 0;
}

.nbfc-card p {
  color: var(--nbfc-muted);
  font-size: 0.88rem;
}

.nbfc-card strong {
  display: block;
  margin-top: 4px;
  color: var(--nbfc-cream);
  font-size: 1.05rem;
}

.nbfc-card em {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
}

.nbfc-resume-layout {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px;
}

.nbfc-resume-card {
  display: grid;
  gap: 12px;
  width: min(100%, 520px);
  padding: 22px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(2, 7, 12, 0.32);
  backdrop-filter: blur(24px) saturate(1.75);
  -webkit-backdrop-filter: blur(24px) saturate(1.75);
}

.nbfc-resume-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(53, 220, 232, 0.58));
}

.nbfc-resume-card h1,
.nbfc-resume-card p,
.nbfc-resume-card ul {
  margin: 0;
}

.nbfc-resume-card h1 {
  color: var(--nbfc-cream);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 2px 0 0 rgba(53, 220, 232, 0.5), -2px 0 0 rgba(255, 63, 147, 0.42);
}

.nbfc-resume-card p,
.nbfc-resume-card li {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.nbfc-resume-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.nbfc-list {
  display: grid;
  gap: 10px;
}

.nbfc-list article,
.nbfc-roster article,
.nbfc-video-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nbfc-list article {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
}

.nbfc-list span,
.nbfc-list strong,
.nbfc-list em,
.nbfc-roster strong,
.nbfc-roster span,
.nbfc-roster em,
.nbfc-video-card strong,
.nbfc-video-card p {
  margin: 0;
}

.nbfc-list span {
  color: var(--nbfc-pink);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-list strong {
  color: var(--nbfc-cream);
  font-size: 1.02rem;
  font-weight: 950;
}

.nbfc-list em {
  color: var(--nbfc-muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.nbfc-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.nbfc-choice-grid button {
  min-height: 46px;
  border: 1px solid rgba(53, 220, 232, 0.36);
  border-radius: 8px;
  background: rgba(53, 220, 232, 0.1);
  color: var(--nbfc-cyan);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(53, 220, 232, 0.14);
}

.nbfc-choice-grid button:nth-child(2) {
  border-color: rgba(255, 246, 216, 0.34);
  color: var(--nbfc-cream);
}

.nbfc-choice-grid button:nth-child(3) {
  border-color: rgba(255, 63, 147, 0.42);
  color: var(--nbfc-pink);
}

.nbfc-roster {
  display: grid;
  gap: 10px;
}

.nbfc-roster article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
}

.nbfc-roster strong {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 63, 147, 0.14);
  color: var(--nbfc-pink);
  font-weight: 950;
}

.nbfc-roster span {
  color: var(--nbfc-cream);
  font-weight: 950;
}

.nbfc-roster em {
  color: var(--nbfc-muted);
  font-size: 0.86rem;
  font-style: normal;
}

.nbfc-video-card {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 18px;
  text-align: center;
}

.nbfc-video-card span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(53, 220, 232, 0.13);
  color: var(--nbfc-cyan);
  box-shadow: 0 0 24px rgba(53, 220, 232, 0.2);
}

.nbfc-video-card svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nbfc-video-card strong {
  color: var(--nbfc-cream);
  font-size: 1.24rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-video-card p {
  color: var(--nbfc-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nbfc-tabbar {
  grid-area: nav;
  position: fixed;
  right: max(12px, calc((100vw - 480px) / 2 + 12px));
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: max(12px, calc((100vw - 480px) / 2 + 12px));
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 70px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  min-height: 76px;
  padding: 8px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(2, 7, 12, 0.88);
  box-shadow: 0 0 26px rgba(53, 220, 232, 0.14), 0 18px 44px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(20px);
}

.nbfc-tabbar button,
.nbfc-tabbar a {
  display: grid;
  place-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 54px;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  text-decoration: none;
  background: transparent;
}

.nbfc-tabbar button.is-active {
  color: var(--nbfc-cyan);
  text-shadow: 0 0 14px rgba(53, 220, 232, 0.44);
}

.nbfc-tabbar span {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.nbfc-tabbar__home {
  position: relative;
  align-self: center;
  width: 70px;
  height: 70px;
  margin-top: -26px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 63, 147, 0.3), transparent 58%),
    rgba(6, 19, 31, 0.92);
}

.nbfc-tabbar__home::before {
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 2px solid rgba(53, 220, 232, 0.78);
  border-radius: 50%;
  content: "";
}

.nbfc-tabbar__home img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(53, 220, 232, 0.65));
}

.nbfc-toast {
  position: fixed;
  left: 50%;
  bottom: calc(100px + env(safe-area-inset-bottom));
  z-index: 60;
  width: min(88%, 360px);
  padding: 12px 16px;
  border: 1px solid rgba(53, 220, 232, 0.4);
  border-radius: 8px;
  background: rgba(2, 7, 12, 0.92);
  color: var(--nbfc-white);
  text-align: center;
  transform: translateX(-50%);
  box-shadow: var(--nbfc-shadow);
}

@keyframes nbfcSplashScene {
  0% {
    transform: scale(1.08);
    filter: saturate(0.85) brightness(0.72);
  }
  45% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
    filter: saturate(1.18) brightness(1);
  }
}

@keyframes nbfcLogoPulse {
  0% {
    opacity: 0;
    transform: scale(0.82) rotate(-5deg);
    filter:
      drop-shadow(0 0 4px rgba(53, 220, 232, 0.3))
      drop-shadow(0 18px 36px rgba(0, 0, 0, 0.72));
  }
  28% {
    opacity: 1;
    transform: scale(1.1) rotate(2deg);
  }
  65% {
    opacity: 1;
    transform: scale(0.98) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes nbfcLogoFloat {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-7px) scale(1.015);
  }
}

@keyframes nbfcSplashRing {
  0% {
    opacity: 0;
    transform: scale(0.62) rotate(-24deg);
  }
  42% {
    opacity: 0.86;
    transform: scale(1.03) rotate(10deg);
  }
  100% {
    opacity: 0.38;
    transform: scale(1.18) rotate(42deg);
  }
}

@keyframes nbfcSplashCopy {
  0% {
    opacity: 0;
    transform: translateY(18px) skew(-3deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) skew(0);
  }
}

@keyframes nbfcHeroLogoFloat {
  0% {
    transform: translateY(0) rotate(-1deg);
  }
  100% {
    transform: translateY(-5px) rotate(1deg);
  }
}

@keyframes nbfcLoad {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes nbfcBgDrift {
  0% {
    filter: saturate(1) contrast(1);
  }
  100% {
    filter: saturate(1.12) contrast(1.04);
  }
}

@keyframes nbfcSlideFade {
  0%,
  7%,
  30%,
  38%,
  62%,
  70%,
  100% {
    opacity: 0;
  }
  13%,
  25%,
  44%,
  57%,
  76%,
  91% {
    opacity: 0.82;
  }
}

@keyframes nbfcNightGallery {
  0%,
  32% {
    background-image:
      linear-gradient(180deg, rgba(6, 19, 31, 0.05) 0%, rgba(6, 19, 31, 0.44) 52%, rgba(6, 19, 31, 0.98) 86%),
      url("../images/nbfc-action-night-bg.png");
  }
  33%,
  65% {
    background-image:
      linear-gradient(180deg, rgba(6, 19, 31, 0.06) 0%, rgba(6, 19, 31, 0.42) 52%, rgba(6, 19, 31, 0.98) 86%),
      url("../images/nbfc-night-tunnel-bg.png");
  }
  66%,
  100% {
    background-image:
      linear-gradient(180deg, rgba(6, 19, 31, 0.06) 0%, rgba(6, 19, 31, 0.42) 52%, rgba(6, 19, 31, 0.98) 86%),
      url("../images/nbfc-urban-court-bg.png");
  }
}

@keyframes nbfcDayGallery {
  0%,
  32% {
    background-image:
      linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.28) 52%, rgba(6, 19, 31, 0.95) 86%),
      url("../images/nbfc-action-day-bg.png");
  }
  33%,
  65% {
    background-image:
      linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.28) 52%, rgba(6, 19, 31, 0.95) 86%),
      url("../images/nbfc-day-warehouse-bg.png");
  }
  66%,
  100% {
    background-image:
      linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.28) 52%, rgba(6, 19, 31, 0.95) 86%),
      url("../images/nbfc-urban-court-day-bg.png");
  }
}

@keyframes nbfcSlideMove {
  0% {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.08) translate3d(-2%, 1%, 0);
  }
}

@keyframes nbfcLightSweep {
  0%,
  100% {
    opacity: 0.25;
    transform: translateX(-18%);
  }
  48% {
    opacity: 0.72;
    transform: translateX(12%);
  }
}

@keyframes nbfcLiquidGlow {
  0% {
    transform: translate3d(-3%, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(3%, -8px, 0) scale(1.08);
  }
}

@keyframes nbfcFlowIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes nbfcSuccessPop {
  0% {
    opacity: 0;
    transform: scale(0.86) rotate(-2deg);
  }
  70% {
    opacity: 1;
    transform: scale(1.03) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes nbfcHeroSlide {
  0%,
  32% {
    opacity: 0;
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  46%,
  76% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: scale(1.07) translate3d(-2%, 1%, 0);
  }
}

@keyframes nbfcViewIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 390px) {
  .nbfc-app-layout {
    padding-right: 12px;
    padding-left: 12px;
  }

  .nbfc-hero h1 {
    font-size: 2.72rem;
  }

  .nbfc-words span {
    font-size: 1.35rem;
  }

  .nbfc-login-panel,
  .nbfc-access-panel,
  .nbfc-player-panel {
    padding: 14px;
  }

  .nbfc-field {
    min-height: 48px;
    grid-template-columns: 28px minmax(0, 1fr) 32px;
  }
}

@media (min-width: 900px) {
  .nbfc-bg {
    background:
      linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.2) 48%, rgba(6, 19, 31, 0.82) 100%),
      radial-gradient(circle at 70% 20%, rgba(53, 220, 232, 0.18), transparent 28%),
      radial-gradient(circle at 18% 44%, rgba(255, 51, 71, 0.2), transparent 34%),
      url("../images/nbfc-desktop-night-bg.png") center center / cover no-repeat,
      #04111c;
  }

  .nbfc-bg::before {
    opacity: 0;
    animation: none;
  }

  .nbfc-shell[data-theme="day"] .nbfc-bg {
    background:
      linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.12) 50%, rgba(6, 19, 31, 0.72) 100%),
      radial-gradient(circle at 78% 18%, rgba(255, 246, 216, 0.16), transparent 28%),
      radial-gradient(circle at 20% 50%, rgba(53, 220, 232, 0.12), transparent 34%),
      url("../images/nbfc-desktop-day-bg.png") center center / cover no-repeat,
      #06131f;
  }

  .nbfc-shell[data-theme="day"] .nbfc-bg::before {
    animation: none;
  }

  .nbfc-app-layout {
    grid-template-areas:
      "top top"
      "hero panel"
      "nav nav";
    grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
    grid-template-rows: auto minmax(520px, 1fr) auto;
    column-gap: 48px;
    width: min(100% - 64px, 1180px);
    min-height: 100svh;
    padding: 28px 0 24px;
  }

  .nbfc-hero {
    min-height: auto;
    padding: 0 0 28px;
  }

  .nbfc-hero h1 {
    max-width: 9ch;
    font-size: 5.6rem;
  }

  .nbfc-words {
    grid-template-columns: repeat(3, max-content);
    gap: 12px;
    margin-top: 24px;
  }

  .nbfc-words span {
    font-size: 1.75rem;
  }

  .nbfc-panel {
    align-self: end;
  }

  .nbfc-tabbar {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    margin-top: 24px;
    padding: 10px;
  }

  .nbfc-tabbar button,
  .nbfc-tabbar a {
    grid-template-columns: 24px auto;
    justify-content: center;
    min-height: 54px;
  }

  .nbfc-tabbar span {
    font-size: 0.78rem;
  }

  .nbfc-tabbar__home {
    width: auto;
    height: 54px;
    margin-top: 0;
    border-radius: 8px;
  }

  .nbfc-tabbar__home::before {
    inset: 0;
    border-radius: 8px;
  }

  .nbfc-tabbar__home img {
    width: 48px;
    height: 48px;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-app-layout {
    grid-template-areas:
      "top"
      "hero"
      "panel";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(188px, auto) auto;
    width: min(100% - 64px, 460px);
    padding: 34px 0 32px;
    column-gap: 0;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-hero {
    min-height: 208px;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-hero__logo {
    width: 118px;
    height: 118px;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-hero h1 {
    max-width: 100%;
    font-size: 3.2rem;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-login-panel,
  .nbfc-shell:not(.is-authenticated) .nbfc-access-panel {
    width: 100%;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-access-panel {
    width: min(620px, calc(100vw - 80px));
  }
}

@media (min-width: 1180px) {
  .nbfc-hero h1 {
    font-size: 6.4rem;
  }
}

/* 0.4.2 dashboard/login polish */
:root {
  --nbfc-graffiti-font: "Marker Felt", "Chalkduster", Impact, "Arial Black", fantasy;
}

html,
body.nbfc-app-body,
.nbfc-shell,
.nbfc-app-layout {
  min-height: 100dvh;
}

.nbfc-shell {
  overflow-x: hidden;
}

.nbfc-bg,
.nbfc-bg::before,
.nbfc-bg::after,
.nbfc-noise {
  min-height: 100dvh;
}

.nbfc-shell:not(.is-authenticated) .nbfc-bg {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.02) 0%, rgba(6, 19, 31, 0.28) 48%, rgba(6, 19, 31, 0.78) 100%),
    radial-gradient(circle at 78% 18%, rgba(53, 220, 232, 0.28), transparent 28%),
    radial-gradient(circle at 22% 42%, rgba(255, 51, 71, 0.3), transparent 34%),
    url("../images/nbfc-night-rooftop-bg.png") center center / cover no-repeat,
    #04111c;
}

.nbfc-shell[data-theme="day"]:not(.is-authenticated) .nbfc-bg {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.18) 48%, rgba(6, 19, 31, 0.68) 100%),
    radial-gradient(circle at 74% 16%, rgba(255, 246, 216, 0.22), transparent 26%),
    radial-gradient(circle at 18% 46%, rgba(53, 220, 232, 0.16), transparent 32%),
    url("../images/nbfc-day-graffiti-bg.png") center center / cover no-repeat,
    #06131f;
}

.nbfc-shell:not(.is-authenticated) .nbfc-app-layout {
  grid-template-rows: auto minmax(158px, auto) auto;
  align-content: center;
  gap: 8px;
  width: min(100vw, 430px);
  padding: calc(58px + env(safe-area-inset-top)) 16px calc(22px + env(safe-area-inset-bottom));
}

.nbfc-shell:not(.is-authenticated) .nbfc-hero {
  min-height: 168px;
  gap: 0;
  padding: 2px 0 0;
}

.nbfc-shell:not(.is-authenticated) .nbfc-hero__logo {
  width: clamp(136px, 34vw, 156px);
  height: clamp(136px, 34vw, 156px);
  margin-bottom: -15px;
}

.nbfc-shell:not(.is-authenticated) .nbfc-hero h1 {
  position: relative;
  margin-top: -10px;
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(3.25rem, 17vw, 4.65rem);
  line-height: 0.74;
  color: var(--nbfc-cyan);
  transform: skew(-9deg) rotate(-2deg);
  text-shadow:
    3px 2px 0 rgba(255, 63, 147, 0.9),
    -2px -1px 0 rgba(255, 246, 216, 0.5),
    0 0 20px rgba(53, 220, 232, 0.55),
    0 18px 36px rgba(0, 0, 0, 0.68);
}

.nbfc-shell:not(.is-authenticated) .nbfc-hero h1::after {
  position: absolute;
  right: -10%;
  bottom: -8px;
  left: 10%;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--nbfc-pink), var(--nbfc-cyan), transparent);
  filter: blur(0.2px) drop-shadow(0 0 10px rgba(53, 220, 232, 0.52));
  transform: rotate(-2deg);
}

.nbfc-shell:not(.is-authenticated) .nbfc-hero__subtitle {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 10px 4px;
  border: 2px solid rgba(53, 220, 232, 0.78);
  color: var(--nbfc-cream);
  font-size: 0.86rem;
  line-height: 1;
  text-shadow: 0 0 12px rgba(53, 220, 232, 0.45);
  transform: rotate(-2deg);
}

.nbfc-shell:not(.is-authenticated) .nbfc-login-panel {
  padding: 14px;
  transform: translateY(12px);
}

.nbfc-shell:not(.is-authenticated) .nbfc-login-panel,
.nbfc-shell:not(.is-authenticated) .nbfc-access-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.045) 46%, rgba(53, 220, 232, 0.08)),
    linear-gradient(180deg, rgba(2, 7, 12, 0.06), rgba(2, 7, 12, 0.22));
  backdrop-filter: blur(20px) saturate(1.75);
  -webkit-backdrop-filter: blur(20px) saturate(1.75);
}

.nbfc-shell:not(.is-authenticated) .nbfc-login-panel::before,
.nbfc-shell:not(.is-authenticated) .nbfc-access-panel::before {
  opacity: 0.36;
}

.nbfc-login {
  gap: 9px;
}

.nbfc-login .nbfc-field {
  min-height: 45px;
}

.nbfc-login .nbfc-primary,
.nbfc-login .nbfc-secondary {
  min-height: 47px;
}

.nbfc-login .nbfc-separator {
  gap: 10px;
  font-size: 0.82rem;
}

.nbfc-login .nbfc-status:empty {
  min-height: 0;
}

.nbfc-shell.is-authenticated .nbfc-app-layout {
  grid-template-rows: auto minmax(390px, auto) auto auto;
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: calc(108px + env(safe-area-inset-bottom));
}

.nbfc-shell.is-authenticated .nbfc-topbar {
  position: absolute;
  top: calc(22px + env(safe-area-inset-top));
  right: 18px;
  left: 18px;
  justify-content: flex-end;
}

.nbfc-shell.is-authenticated .nbfc-brand {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  min-height: 48px;
  padding: 0 18px;
  background: rgba(5, 13, 21, 0.62);
  box-shadow: 0 0 28px rgba(53, 220, 232, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nbfc-shell.is-authenticated .nbfc-hero {
  min-height: clamp(360px, 51dvh, 500px);
  padding: calc(84px + env(safe-area-inset-top)) 4px 26px;
  align-content: start;
  justify-items: start;
}

.nbfc-shell.is-authenticated .nbfc-hero::before {
  inset: -92px -18px -58px;
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.12) 48%, rgba(6, 19, 31, 0.72) 100%),
    url("../images/nbfc-urban-court-bg.png") center center / cover no-repeat;
  opacity: 0.9;
  -webkit-mask-image: none;
  mask-image: none;
  animation: nbfcHeroBreath 12s ease-in-out infinite alternate;
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-hero::before {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.08) 48%, rgba(6, 19, 31, 0.62) 100%),
    url("../images/nbfc-urban-court-day-bg.png") center center / cover no-repeat;
}

.nbfc-shell.is-authenticated .nbfc-hero::after {
  inset: -92px -18px -58px;
  -webkit-mask-image: none;
  mask-image: none;
  opacity: 0.38;
}

.nbfc-shell.is-authenticated .nbfc-hero__logo {
  width: clamp(128px, 31vw, 176px);
  height: clamp(128px, 31vw, 176px);
  margin-left: 10px;
}

.nbfc-shell.is-authenticated .nbfc-hero h1 {
  max-width: 7.4ch;
  margin: 20px 0 0 4px;
  color: var(--nbfc-cyan);
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(3.7rem, 17vw, 5.8rem);
  line-height: 0.76;
  transform: skew(-9deg) rotate(-2deg);
  text-shadow:
    3px 2px 0 rgba(255, 63, 147, 0.9),
    -2px -1px 0 rgba(255, 246, 216, 0.5),
    0 0 24px rgba(53, 220, 232, 0.5),
    0 18px 38px rgba(0, 0, 0, 0.68);
}

.nbfc-shell.is-authenticated .nbfc-hero__subtitle {
  display: inline-block;
  margin: 14px 0 0 72px;
  padding: 4px 14px 6px;
  border: 2px solid rgba(53, 220, 232, 0.82);
  color: var(--nbfc-cream);
  line-height: 1;
  transform: rotate(-2deg);
}

.nbfc-shell.is-authenticated .nbfc-player-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.nbfc-shell.is-authenticated .nbfc-player-panel::before {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-player-head {
  display: none;
}

.nbfc-player-views {
  min-height: 0;
}

.nbfc-view {
  gap: 12px;
}

.nbfc-match-card,
.nbfc-score-card,
.nbfc-poll-card,
.nbfc-card--mini,
.nbfc-profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(3, 12, 22, 0.58);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(53, 220, 232, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
}

.nbfc-match-card::before,
.nbfc-score-card::before,
.nbfc-poll-card::before,
.nbfc-profile-card::before {
  position: absolute;
  inset: -1px;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 32%, rgba(53, 220, 232, 0.22) 42%, transparent 54% 100%),
    radial-gradient(circle at 88% 12%, rgba(255, 63, 147, 0.24), transparent 32%);
  opacity: 0.72;
  pointer-events: none;
  animation: nbfcGlassSweep 8s ease-in-out infinite;
}

.nbfc-match-card > *,
.nbfc-score-card > *,
.nbfc-poll-card > *,
.nbfc-card--mini > *,
.nbfc-profile-card > * {
  position: relative;
  z-index: 1;
}

.nbfc-match-card {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.nbfc-match-card p,
.nbfc-score-card p,
.nbfc-poll-card p,
.nbfc-profile-card p {
  margin: -46px 0 0;
  color: var(--nbfc-cyan);
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-match-card__teams {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto minmax(0, 1fr) 58px;
  align-items: center;
  gap: 10px;
}

.nbfc-match-card__teams strong {
  min-width: 0;
  color: var(--nbfc-white);
  font-size: clamp(1.1rem, 6vw, 1.8rem);
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-match-card__teams em {
  color: var(--nbfc-pink);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 950;
}

.nbfc-match-card__crest img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(53, 220, 232, 0.55));
}

.nbfc-match-card__opponent {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 58px;
  border: 2px solid rgba(255, 63, 147, 0.88);
  border-radius: 8px;
  color: var(--nbfc-pink);
  font-size: 2rem;
  font-weight: 950;
  background: rgba(6, 19, 31, 0.72);
  box-shadow: 0 0 18px rgba(255, 63, 147, 0.28);
}

.nbfc-match-card__meta {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 750;
}

.nbfc-match-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.nbfc-match-card__meta svg {
  width: 19px;
  height: 19px;
  color: var(--nbfc-cream);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nbfc-match-card__button {
  justify-self: end;
  width: min(100%, 230px);
}

.nbfc-dashboard-grid--home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nbfc-score-card,
.nbfc-poll-card {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: 220px;
  padding: 16px;
}

.nbfc-score-card__score {
  display: grid;
  grid-template-columns: 54px 1fr 48px;
  align-items: center;
  gap: 10px;
}

.nbfc-score-card__score img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.nbfc-score-card__score strong {
  color: var(--nbfc-white);
  font-size: clamp(2rem, 10vw, 3rem);
  font-weight: 950;
  text-align: center;
}

.nbfc-score-card__score span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 50px;
  border: 2px solid rgba(255, 63, 147, 0.86);
  border-radius: 8px;
  color: var(--nbfc-pink);
  font-size: 1.65rem;
  font-weight: 950;
}

.nbfc-score-card em {
  color: var(--nbfc-cyan);
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.nbfc-score-card .nbfc-primary,
.nbfc-poll-card .nbfc-primary {
  min-height: 46px;
  margin-top: 0;
  font-size: 0.86rem;
}

.nbfc-poll-card__intro {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.nbfc-poll-card__intro span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 63, 147, 0.78);
  border-radius: 8px;
  color: var(--nbfc-pink);
  background: rgba(255, 63, 147, 0.08);
}

.nbfc-poll-card__intro svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nbfc-poll-card__intro strong {
  color: var(--nbfc-white);
  font-size: 0.78rem;
  line-height: 1.35;
}

.nbfc-poll-bars {
  display: grid;
  gap: 8px;
}

.nbfc-poll-bars span {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding-bottom: 8px;
  color: var(--nbfc-white);
  font-size: 0.86rem;
  font-weight: 750;
}

.nbfc-poll-bars span::before,
.nbfc-poll-bars span::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  border-radius: 999px;
  content: "";
}

.nbfc-poll-bars span::before {
  background: rgba(255, 255, 255, 0.16);
}

.nbfc-poll-bars span::after {
  width: calc(var(--value) * 1%);
  background: linear-gradient(90deg, var(--nbfc-cyan), var(--nbfc-pink));
  box-shadow: 0 0 14px rgba(53, 220, 232, 0.42);
}

.nbfc-poll-bars em {
  color: var(--nbfc-cyan);
  font-style: normal;
  font-weight: 950;
}

.nbfc-poll-bars span:nth-child(2) em,
.nbfc-poll-bars span:nth-child(2)::after {
  color: var(--nbfc-pink);
}

.nbfc-card--mini {
  grid-column: 1 / -1;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  padding: 12px 14px;
}

.nbfc-card--mini span {
  width: 46px;
  height: 46px;
}

.nbfc-profile-card {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 240px;
  padding: 20px;
  text-align: center;
}

.nbfc-profile-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(53, 220, 232, 0.62));
}

.nbfc-profile-card strong {
  color: var(--nbfc-cream);
  font-size: 1.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-profile-card span {
  max-width: 30ch;
  color: var(--nbfc-muted);
  font-weight: 750;
}

.nbfc-tabbar {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 94px minmax(0, 1fr) minmax(0, 1fr);
  min-height: 88px;
  padding: 10px 10px 12px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(3, 12, 22, 0.78);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(53, 220, 232, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(1.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
}

.nbfc-tabbar button {
  min-height: 60px;
  border-radius: 8px;
}

.nbfc-tabbar button.is-active:not(.nbfc-tabbar__community) {
  color: var(--nbfc-cyan);
}

.nbfc-tabbar__community {
  position: relative;
  align-self: center;
  width: 94px;
  height: 94px;
  margin-top: -34px;
  border: 1px solid rgba(255, 63, 147, 0.86);
  border-radius: 50%;
  color: var(--nbfc-pink);
  background:
    radial-gradient(circle, rgba(255, 63, 147, 0.28), transparent 62%),
    rgba(6, 19, 31, 0.92);
  box-shadow:
    0 0 26px rgba(255, 63, 147, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nbfc-tabbar__community svg {
  width: 33px;
  height: 33px;
}

.nbfc-tabbar__community span {
  color: currentColor;
  font-size: 0.68rem;
}

@keyframes nbfcGlassSweep {
  0%,
  100% {
    opacity: 0.44;
    transform: translateX(-18%);
  }
  50% {
    opacity: 0.82;
    transform: translateX(14%);
  }
}

@keyframes nbfcHeroBreath {
  0% {
    transform: scale(1);
    filter: saturate(1.06) contrast(1.02);
  }
  100% {
    transform: scale(1.045);
    filter: saturate(1.16) contrast(1.06);
  }
}

@media (max-width: 390px) {
  .nbfc-shell:not(.is-authenticated) .nbfc-app-layout {
    padding-right: 12px;
    padding-left: 12px;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-hero {
    min-height: 154px;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-hero__logo {
    width: 128px;
    height: 128px;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-hero h1 {
    font-size: 3.05rem;
  }

  .nbfc-match-card {
    padding: 14px;
  }

  .nbfc-match-card__teams {
    grid-template-columns: 48px minmax(0, 1fr) auto minmax(0, 1fr) 46px;
    gap: 7px;
  }

  .nbfc-match-card__crest img {
    width: 48px;
    height: 48px;
  }

  .nbfc-match-card__opponent {
    width: 42px;
    height: 50px;
  }

  .nbfc-score-card,
  .nbfc-poll-card {
    min-height: 210px;
    padding: 13px;
  }

  .nbfc-tabbar {
    left: 8px;
    right: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 82px minmax(0, 1fr) minmax(0, 1fr);
  }

  .nbfc-tabbar__community {
    width: 82px;
    height: 82px;
  }
}

@media (min-width: 900px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    grid-template-areas:
      "top top"
      "hero panel"
      "nav nav";
    grid-template-columns: minmax(420px, 1fr) minmax(440px, 560px);
    grid-template-rows: auto minmax(620px, auto) auto;
    width: min(100% - 64px, 1220px);
    column-gap: 44px;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    grid-area: top;
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    min-height: 620px;
    padding-top: 92px;
  }

  .nbfc-shell.is-authenticated .nbfc-hero h1 {
    font-size: clamp(5rem, 8vw, 7rem);
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel {
    align-self: end;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-area: nav;
    width: min(100%, 820px);
    margin: 24px auto 0;
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-app-layout {
    width: min(100% - 64px, 430px);
  }

  .nbfc-shell:not(.is-authenticated) .nbfc-hero {
    min-height: 174px;
  }
}

/* 0.4.3 login and onboarding flow */
body.nbfc-app-body {
  background: #04111c;
}

.nbfc-shell:not(.is-authenticated) {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.02) 0%, rgba(6, 19, 31, 0.28) 48%, rgba(6, 19, 31, 0.78) 100%),
    url("../images/nbfc-night-rooftop-bg.png") center center / cover no-repeat,
    #04111c;
}

.nbfc-shell[data-theme="day"]:not(.is-authenticated) {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.18) 48%, rgba(6, 19, 31, 0.68) 100%),
    url("../images/nbfc-day-graffiti-bg.png") center center / cover no-repeat,
    #06131f;
}

.nbfc-shell:not(.is-authenticated) .nbfc-bg,
.nbfc-shell:not(.is-authenticated) .nbfc-bg::before,
.nbfc-shell:not(.is-authenticated) .nbfc-bg::after,
.nbfc-shell:not(.is-authenticated) .nbfc-noise {
  position: absolute;
  min-height: 100%;
}

.nbfc-shell:not(.is-authenticated)[data-screen="login"] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
}

.nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-app-layout {
  min-height: 100%;
  grid-template-rows: auto minmax(284px, auto) auto;
  align-content: start;
  gap: 10px;
  padding-top: calc(54px + env(safe-area-inset-top));
}

.nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-hero {
  min-height: 284px;
  align-content: center;
  padding-top: 18px;
}

.nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-hero__logo {
  width: clamp(182px, 47vw, 218px);
  height: clamp(182px, 47vw, 218px);
  margin-bottom: 22px;
}

.nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-hero h1 {
  margin-top: 10px;
  font-size: clamp(3.15rem, 15vw, 4.35rem);
}

.nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-login-panel {
  transform: translateY(36px);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 7, 14, 0.08) 0%, rgba(4, 7, 14, 0.34) 48%, rgba(4, 7, 14, 0.96) 100%),
    url("../images/nbfc-join-night-bg.png") center center / cover no-repeat,
    #04070f;
}

.nbfc-shell[data-theme="day"]:not(.is-authenticated)[data-screen="access"] {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.18) 48%, rgba(6, 19, 31, 0.88) 100%),
    url("../images/nbfc-join-day-bg.png") center center / cover no-repeat,
    #06131f;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-topbar,
.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-hero {
  display: none;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-app-layout {
  width: 100%;
  min-height: 100%;
  padding: 0;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-access-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-rows: 42px minmax(260px, 0.58fr) minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100svh;
  max-height: 100dvh;
  padding: calc(28px + env(safe-area-inset-top)) clamp(20px, 5.6vw, 34px) calc(22px + env(safe-area-inset-bottom));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 14, 0.04), rgba(4, 7, 14, 0.72) 60%, rgba(4, 7, 14, 0.97)),
    url("../images/nbfc-join-night-bg.png") center center / cover no-repeat,
    #04070f;
  box-shadow: none;
  transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nbfc-shell[data-theme="day"]:not(.is-authenticated)[data-screen="access"] .nbfc-access-panel {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.02), rgba(6, 19, 31, 0.34) 54%, rgba(6, 19, 31, 0.95)),
    url("../images/nbfc-join-day-bg.png") center center / cover no-repeat,
    #06131f;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-access-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 63, 147, 0.24), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(53, 220, 232, 0.2), transparent 30%),
    linear-gradient(180deg, transparent 0 42%, rgba(4, 7, 14, 0.82) 76%, #04070f 100%);
  opacity: 1;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-access-panel > * {
  position: relative;
  z-index: 1;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-access-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
}

.nbfc-flow-close {
  position: fixed;
  top: calc(34px + env(safe-area-inset-top));
  right: clamp(20px, 5.6vw, 34px);
  left: auto;
  z-index: 4;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--nbfc-white);
  background: transparent;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-close {
  position: fixed;
  right: clamp(20px, 5.6vw, 34px);
  left: auto;
}

.nbfc-flow-close svg,
.nbfc-search-field svg,
.nbfc-team-option svg,
.nbfc-access-switches svg,
.nbfc-choice-card__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nbfc-flow-close svg {
  width: 30px;
  height: 30px;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-progress {
  grid-row: 1;
  align-self: start;
  width: min(78%, 360px);
  height: 5px;
  margin: calc(7px + env(safe-area-inset-top)) auto 0;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 17%, transparent 17% 22%, rgba(255, 255, 255, 0.28) 22% 39%, transparent 39% 44%, rgba(255, 255, 255, 0.28) 44% 61%, transparent 61% 66%, rgba(255, 255, 255, 0.28) 66% 83%, transparent 83% 88%, rgba(255, 255, 255, 0.28) 88% 100%);
  box-shadow: none;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-progress span {
  height: 100%;
  background:
    linear-gradient(90deg, var(--nbfc-pink), #8c32ff),
    var(--nbfc-pink);
  box-shadow: 0 0 18px rgba(255, 63, 147, 0.58);
}

.nbfc-flow-hero {
  grid-row: 2;
  display: grid;
  align-self: center;
  justify-items: center;
  gap: 0;
  min-height: 226px;
  padding-top: 0;
  text-align: center;
  text-transform: uppercase;
}

.nbfc-flow-crown {
  color: var(--nbfc-pink);
  font-size: 2.2rem;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 63, 147, 0.65);
  transform: rotate(-8deg);
}

.nbfc-flow-hero strong,
.nbfc-flow-hero em {
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(3.2rem, 15.5vw, 5.25rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
  text-shadow:
    3px 2px 0 rgba(53, 220, 232, 0.45),
    -3px 0 0 rgba(255, 63, 147, 0.32),
    0 22px 38px rgba(0, 0, 0, 0.68);
}

.nbfc-flow-hero strong {
  color: var(--nbfc-cream);
  transform: rotate(-3deg) skew(-7deg);
}

.nbfc-flow-hero em {
  margin-top: -4px;
  color: var(--nbfc-pink);
  font-style: normal;
  transform: rotate(-4deg) skew(-8deg);
}

.nbfc-flow-hero p {
  max-width: 24ch;
  margin: 12px 0 0;
  color: var(--nbfc-white);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.2;
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
}

.nbfc-flow-hero p::after {
  display: block;
  color: var(--nbfc-cyan);
  content: "Et entre dans le jeu";
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-access {
  grid-row: 3;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  min-height: 0;
  height: 100%;
  gap: 10px;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-step {
  align-self: end;
  display: grid;
  gap: 12px;
  min-height: 0;
  max-height: 100%;
  padding: 0;
  overflow-y: auto;
  border: 0;
  scrollbar-width: none;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-step::-webkit-scrollbar {
  display: none;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-step legend {
  margin: 0;
  color: var(--nbfc-cream);
  font-size: clamp(1.8rem, 8vw, 2.55rem);
  line-height: 0.95;
  text-shadow: 2px 0 0 rgba(53, 220, 232, 0.4), -2px 0 0 rgba(255, 63, 147, 0.36);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-count {
  margin: 0 0 -4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  text-align: left;
}

.nbfc-flow-copy {
  margin: -2px 0 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 750;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 2px 14px;
  min-height: 70px;
  padding: 12px 14px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(4, 7, 14, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 18px rgba(0, 0, 0, 0.2);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card::before {
  display: none;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card:has(input:checked),
.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card--primary {
  border-color: rgba(255, 63, 147, 0.88);
  box-shadow: 0 0 24px rgba(255, 63, 147, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nbfc-choice-card__icon {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 63, 147, 0.55);
  border-radius: 8px;
  color: var(--nbfc-pink);
  background: rgba(255, 63, 147, 0.07);
}

.nbfc-choice-card__icon svg {
  width: 26px;
  height: 26px;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card span:not(.nbfc-choice-card__icon) {
  align-self: end;
  color: var(--nbfc-white);
  font-size: 0.98rem;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card em {
  color: rgba(255, 255, 255, 0.62);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-field {
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon input";
  min-height: 66px;
  padding: 8px 13px;
  background: rgba(4, 7, 14, 0.6);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-field__icon {
  grid-area: icon;
}

.nbfc-field__label {
  display: none;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-field__label {
  grid-area: label;
  display: block;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-field input {
  grid-area: input;
  font-size: 0.94rem;
}

.nbfc-search-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(4, 7, 14, 0.6);
}

.nbfc-search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--nbfc-white);
}

.nbfc-search-field svg {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.nbfc-team-suggestions,
.nbfc-access-switches {
  display: grid;
  gap: 10px;
}

.nbfc-team-option,
.nbfc-access-switches label,
.nbfc-confirm-card {
  display: grid;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(4, 7, 14, 0.62);
}

.nbfc-team-option {
  grid-template-columns: 44px minmax(0, 1fr) 30px;
  gap: 10px;
  cursor: pointer;
}

.nbfc-team-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nbfc-team-option:has(input:checked) {
  border-color: rgba(255, 63, 147, 0.88);
  box-shadow: 0 0 22px rgba(255, 63, 147, 0.22);
}

.nbfc-team-option img,
.nbfc-team-option__badge {
  width: 42px;
  height: 42px;
}

.nbfc-team-option img {
  object-fit: contain;
}

.nbfc-team-option__badge {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--nbfc-pink);
  font-weight: 950;
  background: rgba(255, 63, 147, 0.12);
}

.nbfc-team-option strong,
.nbfc-team-option em {
  display: block;
  margin: 0;
}

.nbfc-team-option strong {
  color: var(--nbfc-white);
  font-size: 0.9rem;
}

.nbfc-team-option em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-style: normal;
}

.nbfc-team-option b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #04131a;
  background: var(--nbfc-pink);
}

.nbfc-team-option b svg {
  width: 18px;
  height: 18px;
}

.nbfc-access-switches label {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  color: var(--nbfc-white);
}

.nbfc-access-switches span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--nbfc-pink);
  background: rgba(255, 63, 147, 0.08);
}

.nbfc-access-switches input {
  width: 42px;
  height: 24px;
  accent-color: var(--nbfc-pink);
}

.nbfc-confirm-card {
  justify-items: center;
  gap: 8px;
  min-height: 190px;
  text-align: center;
}

.nbfc-confirm-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(53, 220, 232, 0.6));
}

.nbfc-confirm-card strong {
  color: var(--nbfc-cream);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.nbfc-confirm-card span {
  color: rgba(255, 255, 255, 0.7);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-actions {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 0;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-prev {
  width: 54px;
  min-height: 54px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: var(--nbfc-white);
  background: rgba(4, 7, 14, 0.42);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-prev span {
  display: none;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-actions .nbfc-secondary[hidden] + .nbfc-primary {
  grid-column: 1 / -1;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-actions .nbfc-primary {
  min-height: 56px;
  margin-top: 0;
  border-radius: 8px;
  color: var(--nbfc-white);
  background: linear-gradient(100deg, var(--nbfc-pink), #7b2cff);
  box-shadow: 0 0 26px rgba(255, 63, 147, 0.34), 0 16px 32px rgba(0, 0, 0, 0.32);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-status {
  min-height: 18px;
  font-size: 0.82rem;
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-success {
  align-self: center;
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(255, 63, 147, 0.42);
  border-radius: 8px;
  background: rgba(4, 7, 14, 0.68);
}

@media (max-height: 760px) {
  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-app-layout {
    grid-template-rows: auto minmax(236px, auto) auto;
    padding-top: calc(42px + env(safe-area-inset-top));
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-hero {
    min-height: 236px;
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-hero__logo {
    width: 148px;
    height: 148px;
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-login-panel {
    transform: translateY(16px);
  }

  .nbfc-flow-hero {
    min-height: 200px;
  }

  .nbfc-flow-hero strong,
  .nbfc-flow-hero em {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }
}

@media (min-width: 900px) {
  .nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-access-panel {
    grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 480px);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 42px;
    padding-right: max(42px, calc((100vw - 1180px) / 2));
    padding-left: max(42px, calc((100vw - 1180px) / 2));
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-flow-progress {
    grid-column: 1 / -1;
  }

  .nbfc-flow-hero {
    align-self: center;
    justify-items: start;
    text-align: left;
  }

  .nbfc-flow-hero p::after {
    display: inline;
    content: " et entre dans le jeu";
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-access {
    align-self: center;
    min-height: min(620px, calc(100dvh - 150px));
  }
}

/* 0.4.13 dashboard fixed hero and liquid tabbar */
body.nbfc-app-body.nbfc-auth-body {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
}

.nbfc-shell.is-authenticated {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
}

.nbfc-shell.is-authenticated .nbfc-app-layout {
  display: block;
  width: min(100vw, 480px);
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  padding: 0 12px;
  overflow: hidden;
}

.nbfc-shell.is-authenticated .nbfc-topbar {
  position: fixed;
  top: calc(22px + env(safe-area-inset-top));
  right: max(18px, calc((100vw - 480px) / 2 + 18px));
  left: max(18px, calc((100vw - 480px) / 2 + 18px));
  z-index: 34;
  pointer-events: none;
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions,
.nbfc-shell.is-authenticated .nbfc-mode-toggle,
.nbfc-shell.is-authenticated .nbfc-icon-button {
  pointer-events: auto;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  min-height: 46px;
  padding: 0 17px;
  border-radius: 999px;
  background: rgba(5, 13, 21, 0.7);
  backdrop-filter: blur(22px) saturate(1.42);
  -webkit-backdrop-filter: blur(22px) saturate(1.42);
}

.nbfc-shell.is-authenticated .nbfc-hero {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 2;
  width: min(100vw, 480px);
  height: clamp(380px, 52dvh, 455px);
  min-height: 0;
  padding: calc(86px + env(safe-area-inset-top)) 22px 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.nbfc-shell.is-authenticated .nbfc-hero::before {
  inset: 0 -16px -74px;
  background-position: center top;
}

.nbfc-shell.is-authenticated .nbfc-hero::after {
  inset: 0 -16px -74px;
}

.nbfc-shell.is-authenticated .nbfc-hero__logo {
  width: clamp(118px, 31vw, 146px);
  height: clamp(118px, 31vw, 146px);
  margin-left: 8px;
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting {
  display: grid;
  gap: 0;
  max-width: min(9.8ch, calc(100vw - 36px));
  margin: 14px 0 0 2px;
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(2.7rem, 12.3vw, 3.82rem);
  font-weight: 950;
  line-height: 0.76;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: skew(-8deg) rotate(-2deg);
  text-shadow:
    2px 2px 0 rgba(255, 63, 147, 0.76),
    -2px -1px 0 rgba(255, 246, 216, 0.44),
    0 0 22px rgba(53, 220, 232, 0.46),
    0 14px 32px rgba(0, 0, 0, 0.62);
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting span {
  color: var(--nbfc-cyan);
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting strong {
  min-width: 0;
  color: var(--nbfc-pink);
  font: inherit;
  overflow-wrap: anywhere;
}

.nbfc-shell.is-authenticated .nbfc-hero__subtitle {
  margin: 12px 0 0 62px;
  padding: 4px 13px 6px;
  font-size: 0.9rem;
}

.nbfc-shell.is-authenticated .nbfc-player-panel {
  position: fixed;
  top: clamp(426px, 52dvh, 454px);
  right: max(0px, calc((100vw - 480px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 480px) / 2));
  z-index: 8;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0 clamp(14px, 5vw, 20px) calc(128px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nbfc-shell.is-authenticated .nbfc-player-panel::-webkit-scrollbar {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-player-views {
  min-height: 0;
}

.nbfc-shell.is-authenticated .nbfc-view {
  gap: 10px;
}

.nbfc-shell.is-authenticated .nbfc-match-card {
  grid-template-columns: minmax(0, 1fr) minmax(124px, 0.76fr);
  gap: 10px 12px;
  min-height: 0;
  padding: 14px;
}

.nbfc-shell.is-authenticated .nbfc-match-card p,
.nbfc-shell.is-authenticated .nbfc-match-card__teams {
  grid-column: 1 / -1;
}

.nbfc-shell.is-authenticated .nbfc-match-card p,
.nbfc-shell.is-authenticated .nbfc-score-card p,
.nbfc-shell.is-authenticated .nbfc-poll-card p {
  font-size: 0.84rem;
}

.nbfc-shell.is-authenticated .nbfc-match-card__teams {
  grid-template-columns: 48px minmax(0, 1fr) auto minmax(0, 1fr) 46px;
  gap: 7px;
}

.nbfc-shell.is-authenticated .nbfc-match-card__teams strong {
  font-size: clamp(1rem, 5.1vw, 1.42rem);
  line-height: 0.98;
}

.nbfc-shell.is-authenticated .nbfc-match-card__teams strong[data-dashboard-next-match] {
  overflow: hidden;
  font-size: clamp(0.86rem, 4.25vw, 1.18rem);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nbfc-shell.is-authenticated .nbfc-match-card__crest img {
  width: 48px;
  height: 48px;
}

.nbfc-shell.is-authenticated .nbfc-match-card__opponent {
  width: 42px;
  height: 48px;
  font-size: 1.55rem;
}

.nbfc-shell.is-authenticated .nbfc-match-card__meta {
  grid-column: 1;
  gap: 4px;
  font-size: 0.76rem;
  line-height: 1.18;
}

.nbfc-shell.is-authenticated .nbfc-match-card__meta span {
  gap: 7px;
}

.nbfc-shell.is-authenticated .nbfc-match-card__meta svg {
  width: 16px;
  height: 16px;
}

.nbfc-shell.is-authenticated .nbfc-match-card__button {
  grid-column: 2;
  align-self: end;
  width: 100%;
  min-height: 44px;
  padding: 0 11px;
  font-size: 0.78rem;
}

.nbfc-shell.is-authenticated .nbfc-dashboard-grid--home {
  gap: 10px;
}

.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card {
  min-height: 192px;
  padding: 12px;
  gap: 8px;
}

.nbfc-shell.is-authenticated .nbfc-score-card__score {
  grid-template-columns: 42px 1fr 38px;
  gap: 7px;
}

.nbfc-shell.is-authenticated .nbfc-score-card__score img {
  width: 42px;
  height: 42px;
}

.nbfc-shell.is-authenticated .nbfc-score-card__score strong {
  font-size: clamp(1.72rem, 8vw, 2.32rem);
}

.nbfc-shell.is-authenticated .nbfc-score-card__score span {
  width: 36px;
  height: 42px;
  font-size: 1.25rem;
}

.nbfc-shell.is-authenticated .nbfc-score-card em {
  font-size: 0.9rem;
}

.nbfc-shell.is-authenticated .nbfc-poll-card__intro {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
}

.nbfc-shell.is-authenticated .nbfc-poll-card__intro span {
  width: 36px;
  height: 36px;
}

.nbfc-shell.is-authenticated .nbfc-poll-card__intro svg {
  width: 21px;
  height: 21px;
}

.nbfc-shell.is-authenticated .nbfc-poll-card__intro strong {
  font-size: 0.68rem;
}

.nbfc-shell.is-authenticated .nbfc-poll-bars {
  gap: 5px;
}

.nbfc-shell.is-authenticated .nbfc-poll-bars span {
  padding-bottom: 7px;
  font-size: 0.72rem;
}

.nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary,
.nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary {
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.nbfc-shell.is-authenticated .nbfc-card--mini {
  min-height: 64px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  --nbfc-tab-liquid-x: 12px;
  --nbfc-tab-liquid-w: 64px;
  --nbfc-tab-liquid-scale: 1;
  right: max(8px, calc((100vw - 480px) / 2 + 8px));
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: max(8px, calc((100vw - 480px) / 2 + 8px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 90px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 86px;
  padding: 9px 10px 10px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.05)),
    rgba(3, 12, 22, 0.62);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.48),
    0 0 32px rgba(53, 220, 232, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(28px) saturate(1.72);
  -webkit-backdrop-filter: blur(28px) saturate(1.72);
  touch-action: none;
}

.nbfc-tabbar__liquid {
  position: absolute;
  top: 9px;
  bottom: 10px;
  left: 0;
  z-index: 0;
  width: var(--nbfc-tab-liquid-w);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.3), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(6, 19, 31, 0.58);
  box-shadow:
    0 0 24px rgba(53, 220, 232, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0.98;
  pointer-events: none;
  transform: translate3d(var(--nbfc-tab-liquid-x), 0, 0) scale(var(--nbfc-tab-liquid-scale));
  transition:
    width 360ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 430ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms ease,
    background 260ms ease;
}

.nbfc-tabbar.is-touching .nbfc-tabbar__liquid {
  box-shadow:
    0 0 34px rgba(53, 220, 232, 0.25),
    0 0 36px rgba(255, 63, 147, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button {
  position: relative;
  z-index: 1;
  min-height: 62px;
  border-radius: 26px;
  color: rgba(255, 255, 255, 0.88);
  transition:
    color 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 220ms ease;
}

.nbfc-shell.is-authenticated .nbfc-tabbar svg {
  width: 27px;
  height: 27px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar span {
  font-size: 0.64rem;
  letter-spacing: 0;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-cyan);
  text-shadow: 0 0 16px rgba(53, 220, 232, 0.45);
  transform: translateY(-2px);
}

.nbfc-shell.is-authenticated .nbfc-tabbar__community {
  width: auto;
  height: 72px;
  margin-top: -22px;
  border: 0;
  border-radius: 30px;
  color: var(--nbfc-pink);
  background: transparent;
  box-shadow: none;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__community svg {
  width: 32px;
  height: 32px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__community span {
  font-size: 0.62rem;
}

@media (max-width: 390px) {
  .nbfc-shell.is-authenticated .nbfc-player-panel {
    padding-right: clamp(14px, 5vw, 20px);
    padding-left: clamp(14px, 5vw, 20px);
  }

  .nbfc-shell.is-authenticated .nbfc-hero__greeting {
    font-size: clamp(2.52rem, 12vw, 3.42rem);
  }

  .nbfc-shell.is-authenticated .nbfc-match-card {
    grid-template-columns: minmax(0, 1fr) minmax(116px, 0.74fr);
    padding: 12px;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 84px minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 900px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    width: min(100vw, 1220px);
    padding: 0 32px;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar {
    right: max(32px, calc((100vw - 1220px) / 2 + 32px));
    left: max(32px, calc((100vw - 1220px) / 2 + 32px));
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    left: 50%;
    width: min(100vw, 1220px);
    height: 100dvh;
    padding-top: 88px;
    padding-left: 44px;
  }

  .nbfc-shell.is-authenticated .nbfc-hero__logo {
    width: 176px;
    height: 176px;
  }

  .nbfc-shell.is-authenticated .nbfc-hero__greeting {
    max-width: 9.4ch;
    font-size: clamp(4.2rem, 6.2vw, 6.2rem);
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(560px, 46vw);
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    margin: 0 0 0 auto;
    padding-top: calc(116px + env(safe-area-inset-top));
    padding-right: 0;
    padding-left: 0;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    position: fixed;
    top: auto;
    right: auto;
    bottom: calc(18px + env(safe-area-inset-bottom));
    left: 50%;
    width: min(820px, calc(100vw - 64px));
    transform: translateX(-50%);
  }
}

/* 0.4.18 dashboard flowing layout */
body.nbfc-app-body.nbfc-auth-body {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

.nbfc-shell.is-authenticated {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: visible;
}

.nbfc-shell.is-authenticated .nbfc-bg {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0) 0%, rgba(6, 19, 31, 0.1) 36%, rgba(6, 19, 31, 0.86) 74%, #06131f 100%),
    radial-gradient(circle at 76% 14%, rgba(255, 246, 216, 0.16), transparent 26%),
    radial-gradient(circle at 17% 45%, rgba(53, 220, 232, 0.18), transparent 35%),
    url("../images/nbfc-urban-court-bg.png") center top / cover no-repeat,
    #06131f;
  animation: nbfcBgDrift 22s ease-in-out infinite alternate;
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-bg {
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0) 0%, rgba(6, 19, 31, 0.08) 36%, rgba(6, 19, 31, 0.76) 78%, #06131f 100%),
    radial-gradient(circle at 82% 12%, rgba(255, 246, 216, 0.22), transparent 28%),
    radial-gradient(circle at 17% 44%, rgba(53, 220, 232, 0.16), transparent 34%),
    url("../images/nbfc-urban-court-day-bg.png") center top / cover no-repeat,
    #06131f;
}

.nbfc-shell.is-authenticated .nbfc-app-layout {
  display: block;
  width: min(100vw, 480px);
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 0 clamp(18px, 4.8vw, 28px) calc(124px + env(safe-area-inset-bottom));
  overflow: visible;
}

.nbfc-shell.is-authenticated .nbfc-topbar {
  position: sticky;
  top: 0;
  right: auto;
  left: auto;
  z-index: 42;
  display: flex;
  justify-content: space-between;
  width: auto;
  min-height: calc(86px + env(safe-area-inset-top));
  padding: calc(14px + env(safe-area-inset-top)) 0 8px;
  pointer-events: auto;
}

.nbfc-shell.is-authenticated .nbfc-topbar::before {
  position: absolute;
  inset: 0 -18px auto;
  height: calc(96px + env(safe-area-inset-top));
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 19, 31, 0.68), rgba(6, 19, 31, 0.08) 72%, transparent),
    rgba(6, 19, 31, 0.18);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition: opacity 260ms ease;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  opacity: 1;
}

.nbfc-shell.is-authenticated .nbfc-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  transform-origin: left center;
  transition: transform 260ms ease;
}

.nbfc-shell.is-authenticated .nbfc-brand img {
  width: clamp(74px, 21vw, 94px);
  height: clamp(74px, 21vw, 94px);
  filter:
    drop-shadow(0 0 16px rgba(53, 220, 232, 0.58))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
}

.nbfc-shell.is-authenticated .nbfc-brand span {
  display: none;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  transform: scale(0.78);
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions {
  position: relative;
  z-index: 1;
  align-self: start;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 13, 21, 0.64);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(22px) saturate(1.42);
  -webkit-backdrop-filter: blur(22px) saturate(1.42);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-mode-toggle {
  background: rgba(20, 28, 34, 0.58);
}

.nbfc-shell.is-authenticated .nbfc-hero {
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  display: grid;
  align-content: end;
  justify-items: start;
  width: auto;
  height: clamp(235px, 34dvh, 330px);
  min-height: 0;
  margin: calc(-16px - env(safe-area-inset-top)) 0 18px;
  padding: 0 0 14px;
  pointer-events: auto;
  transform: none;
}

.nbfc-shell.is-authenticated .nbfc-hero::before,
.nbfc-shell.is-authenticated .nbfc-hero::after {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-hero__logo {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting {
  display: grid;
  gap: 0;
  max-width: min(12ch, calc(100vw - 64px));
  margin: 0 0 0 2px;
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(2.05rem, 9.4vw, 3.05rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: skew(-7deg) rotate(-2deg);
  transform-origin: left bottom;
  text-shadow:
    2px 2px 0 rgba(255, 63, 147, 0.72),
    -1px -1px 0 rgba(255, 246, 216, 0.45),
    0 0 18px rgba(53, 220, 232, 0.46),
    0 12px 28px rgba(0, 0, 0, 0.6);
  transition:
    opacity 240ms ease,
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nbfc-shell.is-dashboard-scrolled .nbfc-hero__greeting {
  opacity: 0;
  transform: translateY(-10px) scale(0.96) skew(-7deg) rotate(-2deg);
}

.nbfc-shell.is-dashboard-scrolled .nbfc-hero__subtitle {
  opacity: 0;
  transform: translateY(-8px) scale(0.96) rotate(-2deg);
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting span {
  color: var(--nbfc-cyan);
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting strong {
  color: var(--nbfc-pink);
  font: inherit;
}

.nbfc-shell.is-authenticated .nbfc-hero__subtitle {
  display: inline-block;
  margin: 10px 0 0 76px;
  padding: 4px 12px 6px;
  border: 2px solid rgba(53, 220, 232, 0.82);
  color: var(--nbfc-cream);
  font-size: 0.82rem;
  line-height: 1;
  transform: rotate(-2deg);
  transition:
    opacity 240ms ease,
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nbfc-shell.is-authenticated .nbfc-player-panel {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 8;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.nbfc-shell.is-authenticated .nbfc-view {
  gap: 12px;
}

.nbfc-shell.is-authenticated .nbfc-match-card,
.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card,
.nbfc-shell.is-authenticated .nbfc-card--mini,
.nbfc-shell.is-authenticated .nbfc-profile-card {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.055)),
    linear-gradient(135deg, rgba(53, 220, 232, 0.07), rgba(255, 63, 147, 0.08)),
    rgba(4, 13, 22, 0.56);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(53, 220, 232, 0.08),
    0 0 30px rgba(53, 220, 232, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(1.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.55);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-match-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-score-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-poll-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-card--mini,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-profile-card {
  border-color: rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(53, 220, 232, 0.08), rgba(255, 63, 147, 0.08)),
    rgba(4, 20, 31, 0.46);
}

.nbfc-shell.is-authenticated .nbfc-match-card {
  grid-template-columns: minmax(0, 1fr) minmax(128px, 0.78fr);
  min-height: 0;
  padding: 14px;
}

.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card {
  min-height: 206px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  --nbfc-tab-liquid-x: 12px;
  --nbfc-tab-liquid-w: 64px;
  --nbfc-tab-liquid-scale: 1;
  right: max(10px, calc((100vw - 480px) / 2 + 10px));
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: max(10px, calc((100vw - 480px) / 2 + 10px));
  min-height: 84px;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(5, 13, 21, 0.68);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.46),
    0 0 32px rgba(53, 220, 232, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    rgba(5, 18, 28, 0.54);
}

.nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(53, 220, 232, 0.28), rgba(53, 220, 232, 0.08)),
    rgba(6, 19, 31, 0.62);
  box-shadow:
    0 0 26px rgba(53, 220, 232, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar__liquid {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(180deg, rgba(255, 63, 147, 0.32), rgba(255, 63, 147, 0.09)),
    rgba(5, 18, 28, 0.56);
  box-shadow:
    0 0 28px rgba(255, 63, 147, 0.24),
    0 0 18px rgba(53, 220, 232, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-cyan);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-pink);
}

@media (min-width: 900px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    width: min(100vw, 1220px);
    padding: 0 32px calc(128px + env(safe-area-inset-bottom));
  }

  .nbfc-shell.is-authenticated .nbfc-topbar {
    width: min(100%, 1220px);
    margin: 0 auto;
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    width: min(52vw, 560px);
    height: 46dvh;
    min-height: 360px;
    margin-top: -12px;
    padding-left: 8px;
  }

  .nbfc-shell.is-authenticated .nbfc-hero__greeting {
    font-size: clamp(3rem, 4.7vw, 4.9rem);
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel {
    width: min(560px, 46vw);
    margin: -32dvh 0 0 auto;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    right: auto;
    left: 50%;
    width: min(820px, calc(100vw - 64px));
    transform: translateX(-50%);
  }
}

@media (max-width: 390px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 72px;
    height: 72px;
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    height: clamp(220px, 31dvh, 295px);
  }

  .nbfc-shell.is-authenticated .nbfc-hero__greeting {
    font-size: clamp(1.94rem, 9vw, 2.72rem);
  }
}

/* 0.4.19 dashboard header/dock polish */
body.nbfc-app-body.nbfc-auth-body {
  background: #06131f;
}

.nbfc-shell.is-authenticated .nbfc-bg {
  background-position:
    center top,
    center top,
    center top,
    center 34%,
    center;
}

.nbfc-shell.is-authenticated .nbfc-app-layout {
  padding-right: clamp(16px, 4.4vw, 24px);
  padding-left: clamp(16px, 4.4vw, 24px);
}

.nbfc-shell.is-authenticated .nbfc-topbar {
  min-height: calc(102px + env(safe-area-inset-top));
  padding-top: calc(8px + env(safe-area-inset-top));
  padding-bottom: 2px;
  align-items: flex-start;
}

.nbfc-shell.is-authenticated .nbfc-topbar::before {
  right: -16px;
  left: -16px;
  height: calc(86px + env(safe-area-inset-top));
  background:
    linear-gradient(180deg, rgba(4, 12, 20, 0.66), rgba(4, 12, 20, 0.16) 74%, transparent),
    rgba(5, 13, 21, 0.16);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-topbar::before {
  background:
    linear-gradient(180deg, rgba(5, 18, 28, 0.42), rgba(5, 18, 28, 0.08) 76%, transparent),
    rgba(255, 255, 255, 0.08);
}

.nbfc-shell.is-authenticated .nbfc-brand {
  align-items: flex-start;
}

.nbfc-shell.is-authenticated .nbfc-brand img {
  width: clamp(88px, 25vw, 108px);
  height: clamp(88px, 25vw, 108px);
  filter:
    drop-shadow(0 0 14px rgba(53, 220, 232, 0.58))
    drop-shadow(0 0 10px rgba(255, 63, 147, 0.22))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38));
}

.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  transform: translateY(-4px) scale(0.66);
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  min-height: 42px;
  padding: 0 15px;
  font-size: 0.76rem;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle svg {
  width: 20px;
  height: 20px;
}

.nbfc-shell.is-authenticated .nbfc-hero {
  height: clamp(188px, 27dvh, 248px);
  margin: calc(-30px - env(safe-area-inset-top)) 0 12px;
  padding-bottom: 11px;
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting {
  max-width: min(10.5ch, calc(100vw - 88px));
  font-size: clamp(1.55rem, 7.1vw, 2.24rem);
  line-height: 0.86;
  text-shadow:
    1.5px 1.5px 0 rgba(255, 63, 147, 0.7),
    -1px -1px 0 rgba(255, 246, 216, 0.35),
    0 0 16px rgba(53, 220, 232, 0.38),
    0 9px 22px rgba(0, 0, 0, 0.54);
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting span {
  font-size: 0.84em;
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.nbfc-shell.is-authenticated .nbfc-hero__subtitle {
  margin-top: 8px;
  margin-left: clamp(38px, 14vw, 62px);
  padding: 4px 10px 5px;
  font-size: 0.7rem;
  box-shadow:
    0 0 18px rgba(53, 220, 232, 0.24),
    inset 0 0 18px rgba(53, 220, 232, 0.08);
}

.nbfc-shell.is-dashboard-scrolled .nbfc-hero__greeting {
  opacity: 0;
  transform: translateY(-14px) scale(0.9) skew(-7deg) rotate(-2deg);
}

.nbfc-shell.is-dashboard-scrolled .nbfc-hero__subtitle {
  opacity: 0;
  transform: translateY(-12px) scale(0.9) rotate(-2deg);
}

.nbfc-shell.is-authenticated .nbfc-match-card,
.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card,
.nbfc-shell.is-authenticated .nbfc-card--mini,
.nbfc-shell.is-authenticated .nbfc-profile-card {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.045)),
    linear-gradient(135deg, rgba(53, 220, 232, 0.08), rgba(255, 63, 147, 0.08)),
    rgba(3, 13, 22, 0.48);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(53, 220, 232, 0.1),
    0 0 28px rgba(255, 63, 147, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-match-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-score-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-poll-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-card--mini,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-profile-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.055)),
    linear-gradient(135deg, rgba(53, 220, 232, 0.07), rgba(255, 63, 147, 0.075)),
    rgba(8, 24, 34, 0.42);
}

.nbfc-shell.is-authenticated .nbfc-match-card {
  grid-template-columns: minmax(0, 1fr) minmax(116px, 0.7fr);
  padding: 12px;
}

.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card {
  min-height: 190px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  --nbfc-tab-liquid-x: 10px;
  --nbfc-tab-liquid-w: 58px;
  bottom: calc(9px + env(safe-area-inset-bottom));
  min-height: 74px;
  padding: 7px 9px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.055)),
    rgba(5, 14, 22, 0.64);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(53, 220, 232, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.23);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.07)),
    rgba(5, 18, 28, 0.5);
}

.nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
  top: 7px;
  bottom: 7px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(53, 220, 232, 0.36), rgba(53, 220, 232, 0.08)),
    rgba(5, 22, 31, 0.62);
  box-shadow:
    0 0 28px rgba(53, 220, 232, 0.26),
    0 0 16px rgba(255, 63, 147, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar__liquid {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(180deg, rgba(255, 63, 147, 0.42), rgba(255, 63, 147, 0.1)),
    rgba(15, 24, 31, 0.54);
  box-shadow:
    0 0 30px rgba(255, 63, 147, 0.28),
    0 0 18px rgba(53, 220, 232, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button {
  min-height: 58px;
  gap: 3px;
  border-radius: 23px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar svg {
  width: 24px;
  height: 24px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar span {
  font-size: 0.58rem;
  line-height: 1;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-cyan);
  transform: translateY(-1px) scale(1.02);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-pink);
}

.nbfc-shell.is-authenticated .nbfc-tabbar__community {
  height: 64px;
  margin-top: -15px;
  border-radius: 26px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__community svg {
  width: 30px;
  height: 30px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__community span {
  font-size: 0.56rem;
}

@media (min-width: 900px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    width: min(100vw, 1220px);
    padding-top: 0;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar {
    min-height: 94px;
    padding-top: 14px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 86px;
    height: 86px;
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    width: min(46vw, 500px);
    height: min(38dvh, 330px);
    min-height: 265px;
    margin-top: -8px;
  }

  .nbfc-shell.is-authenticated .nbfc-hero__greeting {
    font-size: clamp(2.35rem, 3.6vw, 3.6rem);
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel {
    width: min(560px, 47vw);
    margin-top: -26dvh;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    width: min(760px, calc(100vw - 80px));
    min-height: 74px;
  }
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-topbar {
    min-height: calc(104px + env(safe-area-inset-top));
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: clamp(90px, 25vw, 100px);
    height: clamp(90px, 25vw, 100px);
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    height: clamp(186px, 26dvh, 232px);
    margin-top: calc(-28px - env(safe-area-inset-top));
  }

  .nbfc-shell.is-authenticated .nbfc-hero__greeting {
    font-size: clamp(1.48rem, 6.8vw, 2.08rem);
  }

  .nbfc-shell.is-authenticated .nbfc-hero__subtitle {
    font-size: 0.66rem;
  }
}

/* 0.4.20 compact scroll state */
.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    background 220ms ease,
    box-shadow 220ms ease;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  min-height: calc(74px + env(safe-area-inset-top));
  padding-bottom: 0;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  height: calc(72px + env(safe-area-inset-top));
  background:
    linear-gradient(180deg, rgba(4, 12, 20, 0.5), rgba(4, 12, 20, 0.08) 76%, transparent),
    rgba(5, 13, 21, 0.08);
  opacity: 0.78;
  backdrop-filter: blur(14px) saturate(1.22);
  -webkit-backdrop-filter: blur(14px) saturate(1.22);
}

.nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-topbar::before {
  background:
    linear-gradient(180deg, rgba(5, 18, 28, 0.28), rgba(5, 18, 28, 0.04) 78%, transparent),
    rgba(255, 255, 255, 0.05);
}

.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle {
  transform: translateY(-2px) scale(0.92);
  transform-origin: right top;
}

.nbfc-shell.is-authenticated .nbfc-hero__greeting {
  max-width: min(8.7ch, calc(100vw - 104px));
  font-size: clamp(1.1rem, 5.15vw, 1.58rem);
  line-height: 0.92;
}

.nbfc-shell.is-authenticated .nbfc-hero__subtitle {
  margin-left: clamp(34px, 12vw, 54px);
}

@media (min-width: 900px) {
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    min-height: 70px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
    height: 68px;
  }

  .nbfc-shell.is-authenticated .nbfc-hero__greeting {
    max-width: 9.2ch;
    font-size: clamp(1.85rem, 2.7vw, 2.75rem);
  }
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-hero__greeting {
    font-size: clamp(1.08rem, 5vw, 1.52rem);
  }
}

/* 0.4.22 final greeting specificity */
.nbfc-shell.is-authenticated .nbfc-hero h1.nbfc-hero__greeting {
  max-width: min(8.7ch, calc(100vw - 104px));
  margin: 0 0 0 2px;
  color: inherit;
  font-size: clamp(1.1rem, 5.15vw, 1.58rem);
  line-height: 0.92;
}

.nbfc-shell.is-authenticated .nbfc-hero h1.nbfc-hero__greeting span {
  font-size: 0.84em;
}

@media (min-width: 900px) {
  .nbfc-shell.is-authenticated .nbfc-hero h1.nbfc-hero__greeting {
    max-width: 9.2ch;
    font-size: clamp(1.85rem, 2.7vw, 2.75rem);
  }
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-hero h1.nbfc-hero__greeting {
    font-size: clamp(1.08rem, 5vw, 1.52rem);
  }
}

/* 0.4.23 dashboard reference polish */
.nbfc-header-greeting {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-app-layout {
  padding-right: clamp(16px, 4vw, 24px);
  padding-left: clamp(16px, 4vw, 24px);
}

.nbfc-shell.is-authenticated .nbfc-topbar {
  position: sticky;
  top: 0;
  z-index: 46;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0 12px;
  min-height: calc(174px + env(safe-area-inset-top));
  padding: calc(8px + env(safe-area-inset-top)) 0 8px;
  align-items: start;
}

.nbfc-shell.is-authenticated .nbfc-topbar::before {
  right: -16px;
  left: -16px;
  height: calc(92px + env(safe-area-inset-top));
  background:
    linear-gradient(180deg, rgba(2, 8, 15, 0.78), rgba(2, 8, 15, 0.1) 82%, transparent),
    rgba(5, 14, 24, 0.08);
  opacity: 0;
}

.nbfc-shell.is-authenticated .nbfc-brand {
  grid-row: 1 / 3;
  grid-column: 1;
  align-self: start;
  transform: none;
}

.nbfc-shell.is-authenticated .nbfc-brand img {
  width: clamp(106px, 29vw, 126px);
  height: clamp(106px, 29vw, 126px);
  filter:
    drop-shadow(0 0 16px rgba(53, 220, 232, 0.72))
    drop-shadow(0 0 14px rgba(255, 63, 147, 0.28))
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.5));
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  align-self: start;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  min-height: 42px;
  padding: 0 15px;
  border-color: rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(5, 12, 20, 0.72);
}

.nbfc-shell.is-authenticated .nbfc-header-greeting {
  grid-row: 2;
  grid-column: 2;
  display: grid;
  justify-items: start;
  align-self: end;
  margin: 13px 0 0;
  transform: skew(-6deg) rotate(-1.5deg);
  transform-origin: left bottom;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nbfc-header-greeting h1,
.nbfc-header-greeting p {
  margin: 0;
}

.nbfc-header-greeting h1 {
  display: grid;
  gap: 0;
  color: var(--nbfc-pink);
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(1.55rem, 9.2vw, 2.65rem);
  font-weight: 950;
  line-height: 0.74;
  text-transform: uppercase;
  text-shadow:
    2px 2px 0 rgba(53, 220, 232, 0.78),
    -1px -1px 0 rgba(255, 246, 216, 0.42),
    0 0 18px rgba(255, 63, 147, 0.38),
    0 12px 24px rgba(0, 0, 0, 0.56);
}

.nbfc-header-greeting h1 span {
  color: var(--nbfc-cream);
  font-size: 0.62em;
}

.nbfc-header-greeting h1 strong {
  max-width: min(6.6ch, 100%);
  overflow-wrap: anywhere;
  font: inherit;
}

.nbfc-header-greeting p {
  display: inline-block;
  margin-top: 8px;
  margin-left: 26px;
  padding: 4px 10px 5px;
  border: 2px solid rgba(53, 220, 232, 0.82);
  color: var(--nbfc-cream);
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 0 18px rgba(53, 220, 232, 0.26),
    inset 0 0 18px rgba(53, 220, 232, 0.08);
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  min-height: calc(100px + env(safe-area-inset-top));
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  height: calc(88px + env(safe-area-inset-top));
  opacity: 0.84;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  transform: translateY(-2px) scale(0.82);
  transform-origin: left top;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting {
  opacity: 0;
  transform: translateY(-8px) scale(0.9) skew(-6deg) rotate(-1.5deg);
  pointer-events: none;
}

.nbfc-shell.is-authenticated .nbfc-hero {
  height: clamp(115px, 17dvh, 168px);
  margin: calc(-12px - env(safe-area-inset-top)) 0 10px;
  padding: 0;
  pointer-events: none;
}

.nbfc-shell.is-authenticated .nbfc-hero > * {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-match-card,
.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card,
.nbfc-shell.is-authenticated .nbfc-card--mini,
.nbfc-shell.is-authenticated .nbfc-view-hero,
.nbfc-shell.is-authenticated .nbfc-list article,
.nbfc-shell.is-authenticated .nbfc-roster article,
.nbfc-shell.is-authenticated .nbfc-video-card,
.nbfc-shell.is-authenticated .nbfc-profile-card,
.nbfc-shell.is-authenticated .nbfc-choice-grid button {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 10%, rgba(53, 220, 232, 0.1), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(255, 63, 147, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(3, 12, 22, 0.74);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(53, 220, 232, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-match-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-score-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-poll-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-card--mini,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-view-hero,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-list article,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-roster article,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-video-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-profile-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-choice-grid button {
  background:
    radial-gradient(circle at 12% 10%, rgba(53, 220, 232, 0.12), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(255, 63, 147, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(4, 18, 28, 0.58);
}

.nbfc-shell.is-authenticated .nbfc-match-card::before,
.nbfc-shell.is-authenticated .nbfc-score-card::before,
.nbfc-shell.is-authenticated .nbfc-poll-card::before,
.nbfc-shell.is-authenticated .nbfc-profile-card::before,
.nbfc-shell.is-authenticated .nbfc-view-hero::before {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-match-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, 0.72fr);
  gap: 13px 14px;
  min-height: 0;
  padding: 16px;
}

.nbfc-shell.is-authenticated .nbfc-match-card > p {
  grid-column: 1 / -1;
  color: var(--nbfc-pink);
  font-size: 0.84rem;
  letter-spacing: 0;
}

.nbfc-shell.is-authenticated .nbfc-match-card__teams {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto minmax(0, 1fr) 50px;
  gap: 9px;
  align-items: center;
}

.nbfc-shell.is-authenticated .nbfc-match-card__teams strong {
  font-size: clamp(1rem, 5vw, 1.38rem);
  text-align: center;
}

.nbfc-shell.is-authenticated .nbfc-match-card__teams em {
  color: var(--nbfc-pink);
  font-family: var(--nbfc-graffiti-font);
  font-size: 1.36rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.nbfc-shell.is-authenticated .nbfc-match-card__crest img {
  width: 50px;
  height: 50px;
}

.nbfc-shell.is-authenticated .nbfc-match-card__opponent {
  width: 46px;
  height: 50px;
  border-color: rgba(255, 63, 147, 0.9);
  border-radius: 13px;
  color: var(--nbfc-pink);
  font-size: 1.42rem;
}

.nbfc-shell.is-authenticated .nbfc-match-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-height: 58px;
  padding: 8px 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
}

.nbfc-shell.is-authenticated .nbfc-match-card__meta span {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 0;
  padding: 0 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--nbfc-cream);
  font-size: 0.58rem;
  text-align: center;
  text-transform: uppercase;
}

.nbfc-shell.is-authenticated .nbfc-match-card__meta span:last-child {
  border-right: 0;
}

.nbfc-shell.is-authenticated .nbfc-match-card__meta svg {
  width: 18px;
  height: 18px;
}

.nbfc-shell.is-authenticated .nbfc-match-card__button {
  align-self: stretch;
  min-height: 58px;
  padding: 0 9px;
  border-radius: 14px;
  font-size: 0.68rem;
}

.nbfc-shell.is-authenticated .nbfc-match-card__button svg {
  width: 18px;
  height: 18px;
}

.nbfc-shell.is-authenticated .nbfc-dashboard-grid--home {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card {
  min-height: 194px;
  padding: 15px;
}

.nbfc-shell.is-authenticated .nbfc-score-card > p,
.nbfc-shell.is-authenticated .nbfc-poll-card > p {
  color: var(--nbfc-cyan);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nbfc-shell.is-authenticated .nbfc-score-card__score {
  display: grid;
  grid-template-columns: 46px minmax(70px, 1fr) 46px;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin: 8px 0 0;
}

.nbfc-shell.is-authenticated .nbfc-score-card__score img {
  width: 46px;
  height: 46px;
}

.nbfc-shell.is-authenticated .nbfc-score-card__score strong {
  font-size: clamp(1.62rem, 7.4vw, 2.12rem);
  white-space: nowrap;
}

.nbfc-shell.is-authenticated .nbfc-score-card__score span {
  width: 44px;
  height: 48px;
  border-color: rgba(255, 63, 147, 0.88);
  border-radius: 13px;
  color: var(--nbfc-pink);
}

.nbfc-shell.is-authenticated .nbfc-score-card em {
  margin-top: 4px;
  color: var(--nbfc-cyan);
  font-size: 0.88rem;
}

.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut {
  align-content: space-between;
}

.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 6px 0;
}

.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro span {
  width: 56px;
  height: 56px;
  color: var(--nbfc-pink);
}

.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro svg {
  width: 30px;
  height: 30px;
}

.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro strong {
  color: var(--nbfc-cream);
  font-size: 1rem;
}

.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-bars {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary,
.nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary {
  min-height: 50px;
  border-radius: 14px;
}

.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-primary {
  color: var(--nbfc-ink);
  background: linear-gradient(135deg, var(--nbfc-pink), #ff2f72);
}

.nbfc-shell.is-authenticated .nbfc-card--mini {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 13px 16px;
}

.nbfc-shell.is-authenticated .nbfc-card--mini > span {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(53, 220, 232, 0.12);
  color: var(--nbfc-cyan);
}

.nbfc-shell.is-authenticated .nbfc-card--mini i {
  display: inline-grid;
  place-items: center;
  color: var(--nbfc-cream);
  font-style: normal;
}

.nbfc-shell.is-authenticated .nbfc-card--mini i svg {
  width: 24px;
  height: 24px;
}

.nbfc-shell.is-authenticated .nbfc-view-hero {
  min-height: 116px;
  align-content: center;
}

.nbfc-shell.is-authenticated .nbfc-view-hero strong {
  text-shadow: none;
}

.nbfc-shell.is-authenticated .nbfc-list article,
.nbfc-shell.is-authenticated .nbfc-roster article {
  padding: 14px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  --nbfc-tab-liquid-w: 78px;
  min-height: 76px;
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(4, 13, 22, 0.74);
}

.nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
  top: 7px;
  bottom: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(145deg, rgba(255, 63, 147, 0.34), rgba(53, 220, 232, 0.12)),
    rgba(11, 23, 33, 0.7);
  box-shadow:
    0 0 28px rgba(255, 63, 147, 0.26),
    0 0 22px rgba(53, 220, 232, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nbfc-tabbar.is-touching .nbfc-tabbar__liquid {
  filter: saturate(1.25) brightness(1.08);
  box-shadow:
    0 0 40px rgba(255, 63, 147, 0.38),
    0 0 38px rgba(53, 220, 232, 0.26),
    0 16px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button {
  transition:
    color 180ms ease,
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 180ms ease;
}

.nbfc-shell.is-authenticated .nbfc-tabbar.is-touching button {
  transform: scale(0.96);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-pink);
}

@media (min-width: 900px) {
  .nbfc-shell.is-authenticated .nbfc-topbar {
    grid-template-columns: 112px minmax(300px, 0.56fr) minmax(160px, 1fr);
    min-height: 150px;
    padding-top: 16px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 106px;
    height: 106px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
    margin-top: 0;
  }

  .nbfc-header-greeting h1 {
    font-size: clamp(2.1rem, 3.4vw, 3.5rem);
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions {
    grid-column: 3;
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    width: min(42vw, 470px);
    height: min(28dvh, 245px);
    min-height: 190px;
    margin-top: -18px;
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel {
    width: min(560px, 48vw);
    margin-top: -22dvh;
  }

  .nbfc-shell.is-authenticated .nbfc-dashboard-grid--home {
    gap: 14px;
  }
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-topbar {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: calc(166px + env(safe-area-inset-top));
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 108px;
    height: 108px;
  }

  .nbfc-header-greeting h1 {
    font-size: clamp(1.42rem, 8vw, 2.15rem);
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    height: clamp(105px, 15dvh, 144px);
  }

  .nbfc-shell.is-authenticated .nbfc-match-card {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 0.66fr);
    padding: 14px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__meta span {
    font-size: 0.54rem;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__button {
    font-size: 0.62rem;
  }
}

/* 0.4.24 compact score fix */
.nbfc-shell.is-authenticated .nbfc-score-card__score {
  grid-template-columns: 38px minmax(52px, 1fr) 38px;
  gap: 6px;
  max-width: 100%;
}

.nbfc-shell.is-authenticated .nbfc-score-card__score img {
  width: 38px;
  height: 38px;
}

.nbfc-shell.is-authenticated .nbfc-score-card__score strong {
  font-size: clamp(1.35rem, 6.4vw, 1.82rem);
}

.nbfc-shell.is-authenticated .nbfc-score-card__score span {
  width: 38px;
  height: 42px;
  font-size: 1.12rem;
}

@media (min-width: 900px) {
  .nbfc-shell.is-authenticated .nbfc-score-card__score {
    grid-template-columns: 46px minmax(70px, 1fr) 46px;
    gap: 8px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score img {
    width: 46px;
    height: 46px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score strong {
    font-size: clamp(1.62rem, 3vw, 2.12rem);
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score span {
    width: 44px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* 0.4.25 mobile header and NBFC red accent */
.nbfc-shell.is-authenticated .nbfc-brand img {
  filter:
    drop-shadow(0 0 16px rgba(53, 220, 232, 0.68))
    drop-shadow(0 0 14px rgba(255, 51, 71, 0.34))
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.5));
}

.nbfc-header-greeting h1 {
  color: var(--nbfc-red);
  text-shadow:
    2px 2px 0 rgba(53, 220, 232, 0.72),
    -1px -1px 0 rgba(255, 246, 216, 0.4),
    0 0 18px rgba(255, 51, 71, 0.46),
    0 12px 24px rgba(0, 0, 0, 0.56);
}

.nbfc-header-greeting h1 strong {
  max-width: none;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.nbfc-shell.is-authenticated .nbfc-match-card > p,
.nbfc-shell.is-authenticated .nbfc-match-card__teams em,
.nbfc-shell.is-authenticated .nbfc-match-card__opponent,
.nbfc-shell.is-authenticated .nbfc-score-card__score span,
.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro span,
.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-red);
}

.nbfc-shell.is-authenticated .nbfc-match-card__opponent,
.nbfc-shell.is-authenticated .nbfc-score-card__score span {
  border-color: rgba(255, 51, 71, 0.9);
}

.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-primary {
  background: linear-gradient(135deg, var(--nbfc-red), #e7192e);
}

.nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(145deg, rgba(255, 51, 71, 0.38), rgba(53, 220, 232, 0.12)),
    rgba(11, 23, 33, 0.7);
  box-shadow:
    0 0 28px rgba(255, 51, 71, 0.28),
    0 0 22px rgba(53, 220, 232, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nbfc-tabbar.is-touching .nbfc-tabbar__liquid {
  box-shadow:
    0 0 40px rgba(255, 51, 71, 0.4),
    0 0 38px rgba(53, 220, 232, 0.26),
    0 16px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-topbar {
    grid-template-columns: 114px minmax(0, 1fr);
    min-height: calc(184px + env(safe-area-inset-top));
    padding-bottom: 18px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand {
    padding-bottom: 12px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 112px;
    height: 112px;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions {
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 32px;
  }

  .nbfc-shell.is-authenticated .nbfc-mode-toggle {
    min-height: 44px;
    padding: 0 16px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting {
    max-width: calc(100vw - 154px);
    margin-top: 14px;
  }

  .nbfc-header-greeting h1 {
    font-size: clamp(1.62rem, 7.15vw, 2.22rem);
    line-height: 0.78;
  }

  .nbfc-header-greeting h1 span {
    font-size: 0.58em;
  }

  .nbfc-header-greeting p {
    margin-top: 8px;
    margin-left: 18px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    min-height: calc(112px + env(safe-area-inset-top));
    padding-bottom: 12px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    transform: translateY(-1px) scale(0.76);
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting {
    visibility: hidden;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
    margin-top: 24px;
  }
}

/* 0.4.26 desktop cockpit, notification center and stronger liquid glass */
.nbfc-notification-lock {
  overflow: hidden;
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  --nbfc-tab-liquid-scale: 1;
  border-color: rgba(255, 255, 255, 0.34);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.24), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(4, 13, 22, 0.68);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(53, 220, 232, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -18px 42px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(34px) saturate(1.9);
  -webkit-backdrop-filter: blur(34px) saturate(1.9);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.42), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12)),
    rgba(7, 24, 35, 0.56);
}

.nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
  top: 6px;
  bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 28px;
  background:
    radial-gradient(circle at 42% 14%, rgba(255, 255, 255, 0.5), transparent 28%),
    radial-gradient(circle at 72% 76%, rgba(53, 220, 232, 0.24), transparent 36%),
    linear-gradient(145deg, rgba(255, 51, 71, 0.42), rgba(53, 220, 232, 0.13)),
    rgba(10, 22, 34, 0.66);
  box-shadow:
    0 0 34px rgba(255, 51, 71, 0.34),
    0 0 30px rgba(53, 220, 232, 0.23),
    0 18px 34px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 -20px 32px rgba(255, 255, 255, 0.05);
  transform: translate3d(var(--nbfc-tab-liquid-x), 0, 0) scale(var(--nbfc-tab-liquid-scale));
  transition:
    width 420ms cubic-bezier(0.2, 1.25, 0.22, 1),
    transform 460ms cubic-bezier(0.2, 1.25, 0.22, 1),
    filter 220ms ease,
    box-shadow 220ms ease;
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar__liquid {
  background:
    radial-gradient(circle at 42% 12%, rgba(255, 255, 255, 0.66), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(53, 220, 232, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(255, 51, 71, 0.34), rgba(53, 220, 232, 0.18)),
    rgba(255, 255, 255, 0.22);
}

.nbfc-tabbar.is-touching .nbfc-tabbar__liquid {
  filter: saturate(1.35) brightness(1.1);
  box-shadow:
    0 0 46px rgba(255, 51, 71, 0.5),
    0 0 48px rgba(53, 220, 232, 0.32),
    0 22px 38px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    inset 0 -24px 36px rgba(255, 255, 255, 0.07);
}

.nbfc-shell.is-authenticated .nbfc-tabbar.is-touching button {
  transform: scale(0.92);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-red);
  text-shadow:
    0 0 16px rgba(255, 51, 71, 0.54),
    0 0 18px rgba(53, 220, 232, 0.25);
  transform: translateY(-3px) scale(1.04);
}

.nbfc-notification-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-items: end;
  pointer-events: none;
}

.nbfc-notification-sheet__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 74%, rgba(53, 220, 232, 0.16), transparent 34%),
    rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 260ms ease;
}

.nbfc-notification-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(82dvh, 720px);
  margin: 0 auto;
  padding: 13px clamp(18px, 5vw, 28px) calc(20px + env(safe-area-inset-bottom));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 32px 32px 0 0;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.24), transparent 30%),
    radial-gradient(circle at 92% 24%, rgba(255, 51, 71, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(4, 13, 22, 0.78);
  box-shadow:
    0 -28px 70px rgba(0, 0, 0, 0.5),
    0 0 38px rgba(53, 220, 232, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  transform: translateY(108%) scale(0.98);
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 260ms ease;
  backdrop-filter: blur(34px) saturate(1.72);
  -webkit-backdrop-filter: blur(34px) saturate(1.72);
}

.nbfc-shell[data-theme="day"] .nbfc-notification-sheet__panel {
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.34), transparent 30%),
    radial-gradient(circle at 92% 24%, rgba(255, 51, 71, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(5, 20, 31, 0.7);
}

.nbfc-notification-sheet.is-open {
  pointer-events: auto;
}

.nbfc-notification-sheet.is-open .nbfc-notification-sheet__scrim {
  opacity: 1;
}

.nbfc-notification-sheet.is-open .nbfc-notification-sheet__panel {
  transform: translateY(0) scale(1);
}

.nbfc-notification-sheet__handle {
  display: block;
  width: 64px;
  height: 6px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
  cursor: grab;
  touch-action: none;
}

.nbfc-notification-sheet__close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--nbfc-white);
}

.nbfc-notification-sheet__close svg {
  width: 20px;
  height: 20px;
}

.nbfc-notification-sheet__head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-right: 52px;
}

.nbfc-notification-sheet__head > span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(53, 220, 232, 0.36);
  border-radius: 18px;
  background: rgba(53, 220, 232, 0.12);
  color: var(--nbfc-cyan);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 20px rgba(53, 220, 232, 0.16);
}

.nbfc-notification-sheet__head > span svg,
.nbfc-notification-card > span svg {
  color: var(--nbfc-cyan);
  fill: none;
  stroke: currentColor;
}

.nbfc-notification-sheet__head svg {
  width: 28px;
  height: 28px;
}

.nbfc-notification-sheet__head p,
.nbfc-notification-card p {
  margin: 0;
  color: var(--nbfc-cyan);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-notification-sheet__head h2 {
  margin: 0;
  color: var(--nbfc-cream);
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-notification-sheet__head strong {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nbfc-red);
  color: var(--nbfc-white);
  box-shadow: 0 0 22px rgba(255, 51, 71, 0.44);
}

.nbfc-notification-sheet__intro {
  display: grid;
  gap: 2px;
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.nbfc-notification-sheet__intro strong {
  color: var(--nbfc-cream);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.nbfc-notification-sheet__intro span {
  color: var(--nbfc-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.nbfc-notification-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 12px 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(3, 12, 22, 0.38);
}

.nbfc-notification-filters button {
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--nbfc-muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
}

.nbfc-notification-filters button.is-active {
  background: var(--nbfc-red);
  color: var(--nbfc-white);
  box-shadow: 0 8px 20px rgba(181, 54, 61, 0.24);
}

.nbfc-notification-list {
  display: grid;
  gap: 10px;
}

.nbfc-notification-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 82px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(3, 12, 22, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.nbfc-notification-card.is-unread {
  border-color: rgba(255, 51, 71, 0.62);
  box-shadow:
    0 0 24px rgba(255, 51, 71, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nbfc-notification-card:where(:hover, :focus-visible) {
  transform: translateY(-2px);
  border-color: rgba(53, 220, 232, 0.48);
}

.nbfc-notification-card__media {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(53, 220, 232, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 40% 28%, rgba(255, 51, 71, 0.5), transparent 34%),
    linear-gradient(135deg, rgba(53, 220, 232, 0.22), rgba(255, 51, 71, 0.18)),
    rgba(4, 13, 22, 0.72);
  background-position: center;
  background-size: cover;
  color: var(--nbfc-cream);
  font-weight: 950;
}

.nbfc-notification-card strong {
  display: block;
  margin-top: 2px;
  color: var(--nbfc-white);
  font-size: 0.94rem;
  line-height: 1.22;
}

.nbfc-notification-card em {
  display: block;
  margin-top: 5px;
  color: var(--nbfc-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.nbfc-notification-sheet__read {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--nbfc-cyan), #67f7ff);
  color: var(--nbfc-ink);
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(53, 220, 232, 0.28);
}

.nbfc-notification-sheet__read svg {
  width: 21px;
  height: 21px;
}

@media (max-width: 430px) {
  .nbfc-notification-sheet__head {
    grid-template-columns: 54px minmax(0, 1fr) 34px;
    gap: 12px;
    padding-right: 46px;
  }

  .nbfc-notification-sheet__head > span {
    width: 54px;
    height: 54px;
  }

  .nbfc-notification-sheet__head h2 {
    font-size: clamp(1.38rem, 7.2vw, 1.82rem);
  }

  .nbfc-notification-sheet__head strong {
    min-width: 32px;
    height: 32px;
  }

  .nbfc-notification-sheet__close {
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting {
    max-width: calc(100vw - 146px);
    margin-top: 13px;
  }

  .nbfc-header-greeting h1 {
    font-size: clamp(1.82rem, 7.85vw, 2.42rem);
    line-height: 0.76;
  }

  .nbfc-header-greeting p {
    margin-top: 9px;
    margin-left: 15px;
    font-size: 0.7rem;
  }
}

@media (min-width: 960px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    width: min(100vw, 1380px);
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(620px, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 24px 30px;
    padding: calc(18px + env(safe-area-inset-top)) 34px calc(118px + env(safe-area-inset-bottom));
  }

  .nbfc-shell.is-authenticated .nbfc-topbar {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 118px minmax(360px, 1fr) auto;
    align-items: center;
    min-height: 118px;
    padding: 10px 0;
    background: transparent;
  }

  .nbfc-shell.is-authenticated .nbfc-brand {
    display: flex;
    width: 118px;
    height: 118px;
    padding: 0 0 10px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 116px;
    height: 116px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand span {
    display: none;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting {
    grid-column: 2;
    grid-row: auto;
    align-self: center;
    max-width: none;
    margin: 0;
  }

  .nbfc-header-greeting h1 {
    font-size: clamp(2.45rem, 3.2vw, 3.55rem);
    line-height: 0.78;
  }

  .nbfc-header-greeting p {
    width: fit-content;
    margin-top: 8px;
    margin-left: 48px;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions {
    grid-column: 3;
    grid-row: auto;
    justify-self: end;
    align-self: center;
    margin-top: 0;
  }

  .nbfc-shell.is-authenticated .nbfc-mode-toggle {
    min-height: 48px;
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: auto;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  .nbfc-shell.is-authenticated .nbfc-hero::before {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(6, 19, 31, 0.04) 0%, rgba(6, 19, 31, 0.42) 70%, rgba(6, 19, 31, 0.72) 100%),
      url("../images/nbfc-desktop-night-bg.png") center center / cover no-repeat;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-hero::before {
    background:
      linear-gradient(180deg, rgba(6, 19, 31, 0.0) 0%, rgba(6, 19, 31, 0.28) 70%, rgba(6, 19, 31, 0.6) 100%),
      url("../images/nbfc-desktop-day-bg.png") center center / cover no-repeat;
  }

  .nbfc-shell.is-authenticated .nbfc-hero__logo {
    align-self: end;
    justify-self: start;
    width: 148px;
    height: 148px;
    margin: 0 0 28px 26px;
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    align-self: stretch;
  }

  .nbfc-player-views,
  .nbfc-view.is-active {
    height: 100%;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active {
    display: grid;
    align-content: start;
    gap: 18px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
    min-height: 206px;
    padding: 22px 24px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__teams {
    grid-template-columns: 76px minmax(90px, 0.8fr) 54px minmax(150px, 1fr) 62px;
    gap: 18px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__button {
    min-height: 58px;
    font-size: 0.88rem;
  }

  .nbfc-shell.is-authenticated .nbfc-dashboard-grid--home {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: 18px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card,
  .nbfc-shell.is-authenticated .nbfc-poll-card {
    min-height: 240px;
    padding: 20px;
  }

  .nbfc-shell.is-authenticated .nbfc-card--mini {
    grid-column: 1 / -1;
    min-height: 96px;
  }

  .nbfc-shell.is-authenticated .nbfc-view:not([data-view-panel="home"]) {
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  }

  .nbfc-shell.is-authenticated .nbfc-view:not([data-view-panel="home"]) .nbfc-view-hero {
    min-height: 100%;
  }

  .nbfc-shell.is-authenticated .nbfc-list,
  .nbfc-shell.is-authenticated .nbfc-roster,
  .nbfc-shell.is-authenticated .nbfc-choice-grid {
    align-content: start;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    right: auto;
    left: 50%;
    width: min(860px, calc(100vw - 64px));
    max-width: none;
    margin: 0 auto;
    transform: translateX(-50%);
  }

  .nbfc-notification-sheet__panel {
    width: min(720px, calc(100vw - 56px));
    max-height: min(78dvh, 760px);
    border-radius: 32px;
    margin-bottom: 28px;
  }
}

/* 0.4.29 four-tab nav and header notification trigger */
.nbfc-notification-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 18%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(5, 13, 21, 0.62);
  color: var(--nbfc-cyan);
  box-shadow:
    0 0 24px rgba(53, 220, 232, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(22px) saturate(1.65);
  -webkit-backdrop-filter: blur(22px) saturate(1.65);
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.nbfc-notification-toggle:where(:hover, :focus-visible),
.nbfc-notification-toggle[aria-expanded="true"] {
  border-color: rgba(255, 51, 71, 0.62);
  color: var(--nbfc-red);
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 24px rgba(255, 51, 71, 0.2),
    0 0 18px rgba(53, 220, 232, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.nbfc-notification-toggle svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.25;
}

.nbfc-notification-toggle svg * {
  fill: none;
  stroke: currentColor;
}

.nbfc-notification-toggle__badge {
  position: absolute;
  top: -4px;
  right: -3px;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: var(--nbfc-red);
  color: var(--nbfc-white);
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 16px rgba(255, 51, 71, 0.58);
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-red);
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-topbar__actions {
    gap: 7px;
  }

  .nbfc-notification-toggle {
    width: 44px;
    height: 44px;
  }

  .nbfc-notification-toggle svg {
    width: 21px;
    height: 21px;
  }

  .nbfc-notification-toggle__badge {
    top: -3px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    font-size: 0.58rem;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .nbfc-shell.is-authenticated .nbfc-topbar__actions {
    gap: 10px;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    width: min(760px, calc(100vw - 64px));
  }
}

/* 0.4.32 dashboard header, cards, notification sheet polish */
.nbfc-shell.is-authenticated .nbfc-topbar {
  top: calc(4px + env(safe-area-inset-top));
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions {
  align-self: start;
  margin-top: 4px;
}

.nbfc-header-greeting h1 {
  color: var(--nbfc-red);
  filter: drop-shadow(0 0 12px rgba(216, 67, 75, 0.42));
}

.nbfc-header-greeting h1 span {
  color: var(--nbfc-cream);
}

.nbfc-header-greeting h1 strong {
  color: var(--nbfc-red);
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.18),
    0 0 20px rgba(216, 67, 75, 0.32);
}

.nbfc-shell.is-authenticated .nbfc-match-card,
.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card {
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(53, 220, 232, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -24px 46px rgba(2, 7, 12, 0.3);
}

.nbfc-shell.is-authenticated .nbfc-match-card::after,
.nbfc-shell.is-authenticated .nbfc-score-card::after,
.nbfc-shell.is-authenticated .nbfc-poll-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  opacity: 0.18;
  mix-blend-mode: screen;
  transform: translateZ(0);
}

.nbfc-shell.is-authenticated .nbfc-match-card::after {
  background-image:
    linear-gradient(90deg, rgba(4, 13, 22, 0.88) 0%, rgba(4, 13, 22, 0.34) 58%, rgba(4, 13, 22, 0.8) 100%),
    url("../images/nbfc-action-night-bg.png");
  background-position: center, right bottom;
  background-size: cover, min(58%, 360px) auto;
  opacity: 0.2;
}

.nbfc-shell.is-authenticated .nbfc-score-card::after {
  background-image:
    radial-gradient(circle at 50% 48%, rgba(216, 67, 75, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(4, 13, 22, 0.72), rgba(4, 13, 22, 0.92)),
    url("../images/nbfc-night-tunnel-bg.png");
  background-position: center, center, center bottom;
  background-size: cover, cover, 120% auto;
  opacity: 0.17;
}

.nbfc-shell.is-authenticated .nbfc-poll-card::after {
  background-image:
    radial-gradient(circle at 78% 26%, rgba(216, 67, 75, 0.28), transparent 36%),
    linear-gradient(90deg, rgba(4, 13, 22, 0.84), rgba(4, 13, 22, 0.48)),
    url("../images/nbfc-day-graffiti-bg.png");
  background-position: center, center, right center;
  background-size: cover, cover, 92% auto;
  opacity: 0.14;
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-match-card::after {
  background-image:
    linear-gradient(90deg, rgba(4, 13, 22, 0.82) 0%, rgba(4, 13, 22, 0.26) 58%, rgba(4, 13, 22, 0.72) 100%),
    url("../images/nbfc-action-day-bg.png");
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-score-card::after {
  background-image:
    radial-gradient(circle at 50% 48%, rgba(216, 67, 75, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(4, 13, 22, 0.62), rgba(4, 13, 22, 0.88)),
    url("../images/nbfc-urban-court-day-bg.png");
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-poll-card::after {
  background-image:
    radial-gradient(circle at 78% 26%, rgba(216, 67, 75, 0.24), transparent 36%),
    linear-gradient(90deg, rgba(4, 13, 22, 0.78), rgba(4, 13, 22, 0.42)),
    url("../images/nbfc-day-warehouse-bg.png");
}

.nbfc-shell.is-authenticated .nbfc-match-card > *,
.nbfc-shell.is-authenticated .nbfc-score-card > *,
.nbfc-shell.is-authenticated .nbfc-poll-card > * {
  position: relative;
  z-index: 2;
}

.nbfc-shell.is-authenticated .nbfc-match-card::before,
.nbfc-shell.is-authenticated .nbfc-score-card::before,
.nbfc-shell.is-authenticated .nbfc-poll-card::before {
  border-color: rgba(255, 255, 255, 0.22);
  opacity: 0.78;
}

.nbfc-shell.is-authenticated .nbfc-match-card__button,
.nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary,
.nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary {
  width: auto;
  height: 42px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.74rem;
  letter-spacing: 0;
  box-shadow:
    0 0 18px rgba(53, 220, 232, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.nbfc-shell.is-authenticated .nbfc-match-card__button svg,
.nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary svg,
.nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary svg {
  width: 18px;
  height: 18px;
}

.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-primary {
  background: linear-gradient(135deg, var(--nbfc-red), #b72f37);
  color: var(--nbfc-white);
  box-shadow:
    0 0 18px rgba(216, 67, 75, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.nbfc-notification-sheet.is-expanded .nbfc-notification-sheet__panel {
  max-height: min(92dvh, 860px);
}

.nbfc-notification-sheet__panel {
  overscroll-behavior: contain;
  will-change: transform;
}

.nbfc-notification-sheet__handle,
.nbfc-notification-sheet__head {
  touch-action: none;
}

.nbfc-notification-sheet__close {
  z-index: 6;
  opacity: 1;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.22), transparent 34%),
    rgba(4, 13, 22, 0.72);
  color: var(--nbfc-cream);
  box-shadow:
    0 0 22px rgba(216, 67, 75, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
}

.nbfc-notification-sheet__close svg,
.nbfc-notification-sheet__close svg * {
  fill: none;
  stroke: currentColor;
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-topbar {
    top: calc(0px + env(safe-area-inset-top));
    min-height: calc(142px + env(safe-area-inset-top));
    padding-top: 0;
    padding-bottom: 8px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand {
    width: 116px;
    height: 124px;
    padding-bottom: 5px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 114px;
    height: 114px;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions {
    margin-top: 8px;
    gap: 7px;
  }

  .nbfc-shell.is-authenticated .nbfc-mode-toggle,
  .nbfc-notification-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .nbfc-shell.is-authenticated .nbfc-mode-toggle strong {
    display: none;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting {
    max-width: calc(100vw - 142px);
    margin-top: 10px;
  }

  .nbfc-header-greeting h1 {
    max-width: 100%;
    font-size: clamp(2.08rem, 8.65vw, 2.66rem);
    line-height: 0.8;
  }

  .nbfc-header-greeting h1 span,
  .nbfc-header-greeting h1 strong {
    white-space: nowrap;
  }

  .nbfc-header-greeting p {
    margin-top: 9px;
    margin-left: 18px;
    font-size: 0.74rem;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card {
    min-height: 192px;
    padding: 16px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__teams {
    gap: 8px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__meta {
    gap: 5px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__meta span {
    min-height: 44px;
    padding: 8px 7px;
    font-size: 0.62rem;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__button,
  .nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary,
  .nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary {
    align-self: center;
    height: 38px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 13px;
    font-size: 0.68rem;
  }

  .nbfc-shell.is-authenticated .nbfc-dashboard-grid--home {
    gap: 12px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card,
  .nbfc-shell.is-authenticated .nbfc-poll-card {
    min-height: 206px;
    padding: 15px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score {
    margin-top: 8px;
    gap: 10px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score img {
    width: 54px;
    height: 54px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score strong {
    font-size: clamp(1.72rem, 8vw, 2.18rem);
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score span {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card em {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro {
    min-height: 86px;
  }

  .nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro span {
    width: 56px;
    height: 56px;
  }

  .nbfc-notification-sheet__panel {
    max-height: min(78dvh, 700px);
    padding-top: 12px;
  }

  .nbfc-notification-sheet.is-expanded .nbfc-notification-sheet__panel {
    max-height: min(92dvh, 840px);
  }

  .nbfc-notification-sheet__close {
    top: 12px;
    right: 14px;
  }
}

@media (min-width: 960px) {
  .nbfc-shell.is-authenticated .nbfc-topbar {
    min-height: 104px;
    padding-top: 0;
    padding-bottom: 4px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand {
    width: 128px;
    height: 108px;
    padding-bottom: 0;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 124px;
    height: 124px;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions {
    margin-top: 0;
    align-self: start;
  }

  .nbfc-header-greeting h1 {
    font-size: clamp(2.82rem, 3.6vw, 4.2rem);
    line-height: 0.76;
  }

  .nbfc-header-greeting p {
    margin-left: 56px;
    font-size: 0.84rem;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card {
    min-height: 184px;
    padding: 20px 22px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__button,
  .nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary,
  .nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary {
    align-self: center;
    height: 44px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.78rem;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card,
  .nbfc-shell.is-authenticated .nbfc-poll-card {
    min-height: 218px;
  }

  .nbfc-notification-sheet.is-expanded .nbfc-notification-sheet__panel {
    max-height: min(88dvh, 880px);
  }
}

/* 0.4.34 homepage container and compact header pass */
.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  align-items: center;
  justify-content: center;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle .nbfc-theme-icon {
  width: 22px;
  height: 22px;
  place-items: center;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle svg {
  display: block;
  margin: 0;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  min-height: calc(74px + env(safe-area-inset-top));
  padding-top: calc(2px + env(safe-area-inset-top));
  padding-bottom: 0;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  height: calc(72px + env(safe-area-inset-top));
  opacity: 0.74;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  width: 78px;
  height: 72px;
  padding-bottom: 0;
  transform: none;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 72px;
  height: 72px;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
  align-self: start;
  margin-top: 3px;
}

.nbfc-shell.is-authenticated .nbfc-match-card,
.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card {
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 12%, rgba(53, 220, 232, 0.16), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(216, 67, 75, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.135), rgba(255, 255, 255, 0.035)),
    rgba(3, 12, 22, 0.68);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    0 0 30px rgba(53, 220, 232, 0.1),
    0 0 28px rgba(216, 67, 75, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -26px 48px rgba(2, 7, 12, 0.28);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-match-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-score-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-poll-card {
  background:
    radial-gradient(circle at 14% 12%, rgba(53, 220, 232, 0.18), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(216, 67, 75, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.048)),
    rgba(4, 18, 28, 0.58);
}

.nbfc-shell.is-authenticated .nbfc-match-card::before,
.nbfc-shell.is-authenticated .nbfc-score-card::before,
.nbfc-shell.is-authenticated .nbfc-poll-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  padding: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(53, 220, 232, 0.72), rgba(255, 255, 255, 0.22) 34%, rgba(216, 67, 75, 0.62) 70%, rgba(53, 220, 232, 0.22));
  opacity: 0.86;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.nbfc-shell.is-authenticated .nbfc-match-card::after {
  background-position: center, right 52%;
  background-size: cover, min(64%, 420px) auto;
  opacity: 0.16;
}

.nbfc-shell.is-authenticated .nbfc-score-card::after,
.nbfc-shell.is-authenticated .nbfc-poll-card::after {
  opacity: 0.12;
}

.nbfc-shell.is-authenticated .nbfc-match-card > p,
.nbfc-shell.is-authenticated .nbfc-score-card > p,
.nbfc-shell.is-authenticated .nbfc-poll-card > p {
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1;
}

.nbfc-shell.is-authenticated .nbfc-match-card__meta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(2, 7, 12, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 18px rgba(53, 220, 232, 0.06);
}

.nbfc-shell.is-authenticated .nbfc-match-card__button,
.nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary,
.nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-shadow: none;
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-mode-toggle {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    place-items: center;
    justify-content: center;
  }

  .nbfc-shell.is-authenticated .nbfc-mode-toggle .nbfc-theme-icon {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
  }

  .nbfc-shell.is-authenticated .nbfc-mode-toggle svg {
    width: 21px;
    height: 21px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: calc(72px + env(safe-area-inset-top));
    padding-top: calc(2px + env(safe-area-inset-top));
    padding-bottom: 0;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    width: 76px;
    height: 70px;
    transform: none;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 70px;
    height: 70px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
    grid-row: 1;
    grid-column: 2;
    margin-top: 5px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    padding: 15px;
    border-radius: 24px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card > p {
    margin-bottom: -1px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__teams {
    grid-template-columns: 48px minmax(54px, 0.9fr) 34px minmax(72px, 1fr) 42px;
    gap: 7px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__teams strong {
    font-size: clamp(1rem, 5.1vw, 1.28rem);
    line-height: 1;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__teams strong[data-dashboard-next-match] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__teams em {
    font-size: 1.2rem;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__crest img {
    width: 48px;
    height: 48px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__opponent {
    width: 42px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.22rem;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__meta {
    grid-column: 1 / -1;
    min-height: 48px;
    padding: 6px 4px;
    border-radius: 16px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__meta span {
    min-height: 38px;
    padding: 5px 4px;
    font-size: 0.56rem;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__meta svg {
    width: 16px;
    height: 16px;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__button {
    grid-column: 1 / -1;
    justify-self: end;
    width: min(100%, 176px);
    margin-top: 0;
  }

  .nbfc-shell.is-authenticated .nbfc-dashboard-grid--home {
    gap: 11px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card,
  .nbfc-shell.is-authenticated .nbfc-poll-card {
    min-height: 184px;
    padding: 13px;
    border-radius: 22px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score {
    grid-template-columns: 34px minmax(64px, 1fr) 34px;
    gap: 4px;
    margin-top: 8px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score img {
    width: 34px;
    height: 34px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score strong {
    font-size: clamp(1.36rem, 6.8vw, 1.76rem);
  }

  .nbfc-shell.is-authenticated .nbfc-score-card__score span {
    width: 34px;
    height: 38px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card em {
    margin-top: 7px;
    font-size: 0.78rem;
  }

  .nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 9px;
    min-height: 76px;
    margin: 4px 0;
  }

  .nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro span {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro svg {
    width: 25px;
    height: 25px;
  }

  .nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro strong {
    font-size: 0.92rem;
    line-height: 1.1;
  }
}

@media (min-width: 960px) {
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    min-height: 78px;
    padding-top: 0;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    width: 84px;
    height: 76px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 78px;
    height: 78px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
    margin-top: 0;
  }

  .nbfc-shell.is-authenticated .nbfc-match-card {
    min-height: 172px;
    padding: 20px 22px;
  }

  .nbfc-shell.is-authenticated .nbfc-score-card,
  .nbfc-shell.is-authenticated .nbfc-poll-card {
    min-height: 204px;
  }
}

/* 0.4.36 scroll header, GTA cards and push consent */
.nbfc-shell.is-authenticated .nbfc-topbar {
  position: sticky;
  top: 0;
  align-items: start;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle,
.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  transform: none;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle svg,
.nbfc-shell.is-authenticated .nbfc-mode-toggle svg {
  width: 22px;
  height: 22px;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  grid-template-columns: 1fr;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle strong {
  display: none;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  grid-template-columns: 98px minmax(0, 1fr);
  min-height: calc(96px + env(safe-area-inset-top));
  padding-top: calc(4px + env(safe-area-inset-top));
  padding-bottom: 0;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  right: -16px;
  left: -16px;
  height: calc(94px + env(safe-area-inset-top));
  opacity: 0.9;
  background:
    linear-gradient(180deg, rgba(2, 7, 12, 0.8), rgba(2, 7, 12, 0.42) 64%, transparent),
    radial-gradient(circle at 12% 10%, rgba(53, 220, 232, 0.12), transparent 30%),
    rgba(4, 13, 22, 0.22);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
}

.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  width: 92px;
  height: 92px;
  padding: 0;
  transform: none;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 88px;
  height: 88px;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
  grid-row: 1;
  grid-column: 2;
  align-self: start;
  justify-self: end;
  gap: 8px;
  margin-top: 4px;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  transform: none;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-match-card,
.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card {
  border-color: rgba(255, 246, 216, 0.42);
  background:
    linear-gradient(120deg, rgba(53, 220, 232, 0.12), transparent 28%),
    linear-gradient(300deg, rgba(216, 67, 75, 0.18), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 44px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.028)),
    rgba(2, 9, 16, 0.72);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.45),
    0 0 38px rgba(53, 220, 232, 0.12),
    0 0 30px rgba(216, 67, 75, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -30px 54px rgba(2, 7, 12, 0.34);
}

.nbfc-shell.is-authenticated .nbfc-match-card::before,
.nbfc-shell.is-authenticated .nbfc-score-card::before,
.nbfc-shell.is-authenticated .nbfc-poll-card::before {
  background:
    linear-gradient(135deg, rgba(53, 220, 232, 0.95), rgba(255, 246, 216, 0.18) 30%, rgba(216, 67, 75, 0.86) 68%, rgba(53, 220, 232, 0.24)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0 1px, transparent 1px 7px);
  opacity: 0.92;
}

.nbfc-shell.is-authenticated .nbfc-match-card > p,
.nbfc-shell.is-authenticated .nbfc-score-card > p,
.nbfc-shell.is-authenticated .nbfc-poll-card > p {
  color: var(--nbfc-red);
  text-shadow: 0 0 14px rgba(216, 67, 75, 0.28);
}

.nbfc-shell.is-authenticated .nbfc-match-card__teams em,
.nbfc-shell.is-authenticated .nbfc-score-card__score span {
  color: var(--nbfc-red);
}

.nbfc-shell.is-authenticated .nbfc-match-card__meta,
.nbfc-shell.is-authenticated .nbfc-poll-card--shortcut .nbfc-poll-card__intro span {
  border-color: rgba(255, 246, 216, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(2, 7, 12, 0.32);
}

.nbfc-shell.is-authenticated .nbfc-match-card__button,
.nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary,
.nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary {
  text-transform: uppercase;
  box-shadow:
    0 0 24px rgba(53, 220, 232, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.nbfc-push-permission {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(53, 220, 232, 0.16), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(216, 67, 75, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nbfc-push-permission__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(53, 220, 232, 0.38);
  border-radius: 16px;
  color: var(--nbfc-cyan);
  background: rgba(53, 220, 232, 0.1);
}

.nbfc-push-permission__icon svg {
  width: 25px;
  height: 25px;
}

.nbfc-push-permission__icon svg * {
  fill: none;
  stroke: currentColor;
}

.nbfc-push-permission strong {
  display: block;
  color: var(--nbfc-cream);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.nbfc-push-permission p {
  margin: 4px 0 0;
  color: var(--nbfc-muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.25;
}

.nbfc-push-diagnostics {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.nbfc-push-diagnostics li {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 246, 216, 0.72);
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.nbfc-push-diagnostics li.is-ok {
  border-color: rgba(53, 220, 232, 0.35);
  background: rgba(53, 220, 232, 0.12);
  color: var(--nbfc-cyan);
}

.nbfc-push-diagnostics li.is-waiting {
  border-color: rgba(216, 67, 75, 0.34);
  background: rgba(216, 67, 75, 0.12);
  color: rgba(255, 246, 216, 0.82);
}

.nbfc-push-permission__actions {
  display: grid;
  gap: 7px;
  min-width: 96px;
}

.nbfc-push-permission__button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nbfc-cyan), #70f6ff);
  color: var(--nbfc-ink);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(53, 220, 232, 0.22);
}

.nbfc-push-permission__button--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--nbfc-cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nbfc-push-permission[data-push-state="ready"] .nbfc-push-permission__button,
.nbfc-push-permission[data-push-state="waiting"] .nbfc-push-permission__button {
  background: linear-gradient(135deg, var(--nbfc-red), #b83239);
  color: var(--nbfc-white);
  box-shadow: 0 0 18px rgba(216, 67, 75, 0.24);
}

.nbfc-push-permission[data-push-state="ready"] .nbfc-push-permission__button--ghost,
.nbfc-push-permission[data-push-state="waiting"] .nbfc-push-permission__button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--nbfc-cream);
}

.nbfc-push-permission[data-push-state="blocked"] {
  opacity: 0.72;
}

.nbfc-push-permission__button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

@media (max-width: 430px) {
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: calc(92px + env(safe-area-inset-top));
    padding-top: calc(3px + env(safe-area-inset-top));
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
    height: calc(90px + env(safe-area-inset-top));
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    width: 90px;
    height: 90px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 86px;
    height: 86px;
  }

  .nbfc-shell.is-authenticated .nbfc-notification-toggle,
  .nbfc-shell.is-authenticated .nbfc-mode-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
    margin-top: 6px;
  }

  .nbfc-push-permission {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
  }

  .nbfc-push-permission__icon {
    width: 46px;
    height: 46px;
  }

  .nbfc-push-permission__actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .nbfc-push-permission__button {
    width: 100%;
  }
}

/* 0.4.38 final dashboard header lock, GTA cards and notification setup */
.nbfc-shell.is-authenticated .nbfc-app-layout {
  padding-top: calc(4px + env(safe-area-inset-top));
}

.nbfc-shell.is-authenticated .nbfc-topbar {
  position: sticky !important;
  top: 0;
  z-index: 90;
  display: grid !important;
  grid-template-columns: minmax(94px, auto) minmax(0, 1fr) auto;
  align-items: start !important;
  gap: 8px;
  min-height: calc(116px + env(safe-area-inset-top));
  padding: calc(6px + env(safe-area-inset-top)) 0 8px !important;
  transform: translateZ(0);
}

.nbfc-shell.is-authenticated .nbfc-topbar::before {
  inset: 0 -16px auto !important;
  height: 100%;
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(180deg, rgba(2, 7, 12, 0.52), rgba(2, 7, 12, 0.2) 72%, transparent),
    radial-gradient(circle at 12% 0%, rgba(53, 220, 232, 0.12), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(190, 46, 56, 0.1), transparent 30%);
  opacity: 0;
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
}

.nbfc-shell.is-authenticated .nbfc-brand {
  grid-column: 1;
  align-self: start !important;
  justify-self: start;
  width: 102px;
  height: 102px;
  margin: 0;
  padding: 0 0 6px;
  transform: none;
}

.nbfc-shell.is-authenticated .nbfc-brand img {
  width: 100px;
  height: 100px;
  transform-origin: top left;
  transition: width 260ms ease, height 260ms ease, filter 260ms ease;
}

.nbfc-shell.is-authenticated .nbfc-header-greeting {
  grid-column: 2;
  align-self: start;
  max-width: min(100%, 370px);
  margin: 11px 0 0;
  transform: none;
}

.nbfc-shell.is-authenticated .nbfc-header-greeting h1 {
  margin: 0;
  color: var(--nbfc-cream);
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(2.08rem, 7.3vw, 3.65rem);
  line-height: 0.76;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    2px 1px 0 rgba(53, 220, 232, 0.58),
    -2px 2px 0 rgba(190, 46, 56, 0.78),
    0 0 22px rgba(53, 220, 232, 0.28),
    0 12px 24px rgba(0, 0, 0, 0.48);
}

.nbfc-shell.is-authenticated .nbfc-header-greeting h1 span {
  display: block;
  font-size: 0.55em;
  line-height: 0.95;
}

.nbfc-shell.is-authenticated .nbfc-header-greeting h1 strong {
  display: block;
  color: var(--nbfc-red);
  white-space: nowrap;
}

.nbfc-shell.is-authenticated .nbfc-header-greeting p {
  width: max-content;
  margin: 8px 0 0 18px;
  padding: 3px 10px 4px;
  border: 1px solid rgba(53, 220, 232, 0.72);
  color: var(--nbfc-cream);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions {
  grid-column: 3;
  align-self: start !important;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 3px 0 0 !important;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle,
.nbfc-shell.is-authenticated .nbfc-mode-toggle,
.nbfc-shell.is-authenticated .nbfc-icon-button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 16px;
  line-height: 0;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle {
  grid-template-columns: 1fr;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle strong {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-theme-icon {
  grid-area: 1 / 1;
  place-items: center;
  width: 100%;
  height: 100%;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle svg,
.nbfc-shell.is-authenticated .nbfc-mode-toggle svg,
.nbfc-shell.is-authenticated .nbfc-icon-button svg {
  display: block;
  width: 22px;
  height: 22px;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  grid-template-columns: minmax(80px, auto) minmax(0, 1fr) auto;
  min-height: calc(84px + env(safe-area-inset-top));
  padding-top: calc(4px + env(safe-area-inset-top)) !important;
  padding-bottom: 0 !important;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  height: calc(82px + env(safe-area-inset-top));
  opacity: 0.96;
  background:
    linear-gradient(180deg, rgba(2, 7, 12, 0.84), rgba(2, 7, 12, 0.52) 66%, transparent),
    radial-gradient(circle at 12% 0%, rgba(53, 220, 232, 0.14), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(190, 46, 56, 0.12), transparent 28%);
}

.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  width: 80px;
  height: 80px;
  padding-bottom: 4px;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 78px;
  height: 78px;
  filter:
    drop-shadow(0 0 14px rgba(53, 220, 232, 0.5))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.48));
}

.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting {
  opacity: 0;
  transform: translateY(-8px) scale(0.94);
  pointer-events: none;
}

.nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
  margin-top: 2px !important;
}

.nbfc-shell.is-authenticated .nbfc-match-card,
.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card,
.nbfc-shell.is-authenticated .nbfc-view-hero,
.nbfc-shell.is-authenticated .nbfc-list article,
.nbfc-shell.is-authenticated .nbfc-profile-card,
.nbfc-notification-sheet__panel,
.nbfc-push-permission {
  border-color: rgba(255, 246, 216, 0.34);
  background:
    radial-gradient(circle at 16% 0%, rgba(53, 220, 232, 0.14), transparent 32%),
    radial-gradient(circle at 96% 8%, rgba(190, 46, 56, 0.16), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03)),
    rgba(3, 12, 22, 0.7);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.46),
    0 0 30px rgba(53, 220, 232, 0.12),
    0 0 28px rgba(190, 46, 56, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -30px 48px rgba(2, 7, 12, 0.32);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-match-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-score-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-poll-card,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-view-hero,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-list article,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-profile-card {
  background:
    radial-gradient(circle at 16% 0%, rgba(53, 220, 232, 0.18), transparent 32%),
    radial-gradient(circle at 96% 8%, rgba(190, 46, 56, 0.14), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08)),
    rgba(4, 16, 27, 0.58);
}

.nbfc-shell.is-authenticated .nbfc-match-card::after,
.nbfc-shell.is-authenticated .nbfc-score-card::after,
.nbfc-shell.is-authenticated .nbfc-poll-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
}

.nbfc-shell.is-authenticated .nbfc-match-card::after {
  background:
    linear-gradient(110deg, transparent 0 54%, rgba(53, 220, 232, 0.12) 65%, transparent 76%),
    url("../images/nbfc-action-night-bg.png") right -74px bottom -98px / 270px auto no-repeat;
  opacity: 0.3;
}

.nbfc-shell.is-authenticated .nbfc-score-card::after {
  background:
    radial-gradient(circle at 70% 28%, rgba(53, 220, 232, 0.18), transparent 26%),
    url("../images/nbfc-night-rooftop-bg.png") center / cover no-repeat;
  opacity: 0.16;
}

.nbfc-shell.is-authenticated .nbfc-poll-card::after {
  background:
    radial-gradient(circle at 82% 24%, rgba(190, 46, 56, 0.24), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255, 246, 216, 0.08) 0 1px, transparent 1px 12px);
  opacity: 0.5;
}

.nbfc-shell.is-authenticated .nbfc-match-card::before,
.nbfc-shell.is-authenticated .nbfc-score-card::before,
.nbfc-shell.is-authenticated .nbfc-poll-card::before,
.nbfc-shell.is-authenticated .nbfc-match-card::after,
.nbfc-shell.is-authenticated .nbfc-score-card::after,
.nbfc-shell.is-authenticated .nbfc-poll-card::after {
  border-radius: inherit;
}

.nbfc-shell.is-authenticated .nbfc-match-card > *,
.nbfc-shell.is-authenticated .nbfc-score-card > *,
.nbfc-shell.is-authenticated .nbfc-poll-card > * {
  position: relative;
  z-index: 1;
}

.nbfc-shell.is-authenticated .nbfc-match-card > p,
.nbfc-shell.is-authenticated .nbfc-score-card > p,
.nbfc-shell.is-authenticated .nbfc-poll-card > p,
.nbfc-shell.is-authenticated .nbfc-view-hero p {
  color: var(--nbfc-red);
  letter-spacing: 0;
}

.nbfc-shell.is-authenticated .nbfc-match-card__button,
.nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary,
.nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 15px;
  font-size: 0.78rem;
}

.nbfc-notification-sheet {
  z-index: 120;
}

.nbfc-notification-sheet__panel {
  max-height: min(86dvh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.nbfc-notification-sheet__close {
  z-index: 4;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-color: rgba(255, 246, 216, 0.34);
  background: rgba(2, 7, 12, 0.58);
  box-shadow: 0 0 24px rgba(190, 46, 56, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.nbfc-notification-sheet__handle {
  width: 72px;
  background: linear-gradient(90deg, rgba(53, 220, 232, 0.72), rgba(255, 246, 216, 0.42), rgba(190, 46, 56, 0.72));
}

.nbfc-push-permission[data-push-state="ready"] {
  border-color: rgba(190, 46, 56, 0.5);
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-topbar {
    grid-template-columns: minmax(90px, auto) minmax(0, 1fr) auto;
    min-height: calc(110px + env(safe-area-inset-top));
    padding-top: calc(5px + env(safe-area-inset-top)) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-brand {
    width: 96px;
    height: 96px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 94px;
    height: 94px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting {
    max-width: calc(100vw - 202px);
    margin-top: 13px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting h1 {
    font-size: clamp(2rem, 7.6vw, 2.46rem);
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting p {
    margin-top: 7px;
    margin-left: 10px;
    font-size: 0.64rem;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions {
    gap: 7px;
    margin-top: 1px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-notification-toggle,
  .nbfc-shell.is-authenticated .nbfc-mode-toggle,
  .nbfc-shell.is-authenticated .nbfc-icon-button {
    width: 43px;
    min-width: 43px;
    height: 43px;
    min-height: 43px;
    border-radius: 15px;
  }

  .nbfc-shell.is-authenticated .nbfc-notification-toggle svg,
  .nbfc-shell.is-authenticated .nbfc-mode-toggle svg,
  .nbfc-shell.is-authenticated .nbfc-icon-button svg {
    width: 21px;
    height: 21px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    grid-template-columns: minmax(74px, auto) minmax(0, 1fr) auto;
    min-height: calc(78px + env(safe-area-inset-top));
    padding-top: calc(3px + env(safe-area-inset-top)) !important;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    width: 74px;
    height: 74px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 72px;
    height: 72px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
    height: calc(76px + env(safe-area-inset-top));
  }

  .nbfc-shell.is-authenticated .nbfc-match-card__button,
  .nbfc-shell.is-authenticated .nbfc-score-card .nbfc-primary,
  .nbfc-shell.is-authenticated .nbfc-poll-card .nbfc-primary {
    min-height: 40px;
    font-size: 0.72rem;
  }
}

@media (min-width: 960px) {
  .nbfc-shell.is-authenticated .nbfc-topbar {
    grid-column: 1 / -1;
    grid-template-columns: 112px minmax(360px, 1fr) auto;
    min-height: 112px;
    padding-top: 6px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-brand,
  .nbfc-shell.is-authenticated .nbfc-brand img {
    width: 106px;
    height: 106px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting h1 {
    font-size: clamp(3rem, 4vw, 4.15rem);
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    min-height: 82px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-brand,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 78px;
    height: 78px;
  }

  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
    height: 80px;
  }
}

/* 0.4.39 dashboard remodel: cinematic command deck */
.nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"] {
  gap: 14px;
}

.nbfc-home-command {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  min-height: 138px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 216, 0.28);
  border-radius: 30px;
  background:
    linear-gradient(115deg, rgba(2, 7, 12, 0.22) 0 38%, rgba(2, 7, 12, 0.64) 72%),
    radial-gradient(circle at 86% 18%, rgba(53, 220, 232, 0.28), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(190, 46, 56, 0.25), transparent 36%),
    url("../images/nbfc-desktop-night-bg.png") center 46% / cover no-repeat;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-home-command {
  background:
    linear-gradient(115deg, rgba(2, 7, 12, 0.08) 0 34%, rgba(2, 7, 12, 0.48) 74%),
    radial-gradient(circle at 86% 18%, rgba(53, 220, 232, 0.26), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(190, 46, 56, 0.18), transparent 36%),
    url("../images/nbfc-desktop-day-bg.png") center 45% / cover no-repeat;
}

.nbfc-home-command::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 30%, rgba(53, 220, 232, 0.18) 44%, transparent 58%),
    repeating-linear-gradient(135deg, rgba(255, 246, 216, 0.08) 0 1px, transparent 1px 13px);
  opacity: 0.68;
  animation: nbfcCommandScan 8s ease-in-out infinite;
}

.nbfc-home-command::after {
  position: absolute;
  right: -38px;
  bottom: -58px;
  width: 190px;
  height: 190px;
  content: "";
  background: url("../images/nbfc-logo-neon.png") center / contain no-repeat;
  filter: drop-shadow(0 0 24px rgba(53, 220, 232, 0.38));
  opacity: 0.26;
  transform: rotate(-9deg);
}

.nbfc-home-command__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.nbfc-home-command__copy span {
  width: max-content;
  padding: 4px 9px;
  border: 1px solid rgba(53, 220, 232, 0.46);
  border-radius: 999px;
  background: rgba(2, 7, 12, 0.42);
  color: var(--nbfc-cyan);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-home-command__copy h2 {
  max-width: 8.5ch;
  margin: 0;
  color: var(--nbfc-cream);
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(2.25rem, 10vw, 4.2rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    2px 1px 0 rgba(53, 220, 232, 0.58),
    -2px 2px 0 rgba(190, 46, 56, 0.82),
    0 18px 32px rgba(0, 0, 0, 0.48);
}

.nbfc-home-command__copy p {
  max-width: 30ch;
  margin: 0;
  color: rgba(255, 246, 216, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.28;
}

.nbfc-home-command__actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(62px, 1fr));
  gap: 8px;
}

.nbfc-home-command__actions button {
  display: grid;
  gap: 2px;
  place-items: center;
  min-height: 66px;
  padding: 8px;
  border: 1px solid rgba(255, 246, 216, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(145deg, rgba(53, 220, 232, 0.22), rgba(190, 46, 56, 0.16)),
    rgba(2, 7, 12, 0.58);
  color: var(--nbfc-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nbfc-home-command__actions strong {
  color: var(--nbfc-cyan);
  font-size: 1.34rem;
  font-weight: 950;
  line-height: 1;
}

.nbfc-home-command__actions span {
  color: var(--nbfc-cream);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-home-layout {
  display: grid;
  gap: 13px;
}

.nbfc-match-card.nbfc-match-card--showcase,
.nbfc-score-card.nbfc-score-card--result,
.nbfc-poll-card.nbfc-poll-card--priority,
.nbfc-home-rail__item {
  border-radius: 28px;
  border-color: rgba(255, 246, 216, 0.26);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.026)),
    rgba(2, 9, 16, 0.64);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px) saturate(1.68);
  -webkit-backdrop-filter: blur(24px) saturate(1.68);
}

.nbfc-card-eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nbfc-card-eyebrow p {
  margin: 0 !important;
  color: var(--nbfc-cyan);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nbfc-card-eyebrow span {
  display: inline-grid;
  place-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(190, 46, 56, 0.38);
  border-radius: 999px;
  background: rgba(190, 46, 56, 0.14);
  color: var(--nbfc-cream);
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-match-card.nbfc-match-card--showcase {
  min-height: 218px;
  padding: 18px;
  background:
    linear-gradient(100deg, rgba(3, 12, 22, 0.92) 0 42%, rgba(3, 12, 22, 0.48) 72%),
    radial-gradient(circle at 74% 8%, rgba(53, 220, 232, 0.18), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(190, 46, 56, 0.2), transparent 35%),
    url("../images/nbfc-action-night-bg.png") center 58% / cover no-repeat;
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-match-card.nbfc-match-card--showcase {
  background:
    linear-gradient(100deg, rgba(3, 12, 22, 0.76) 0 40%, rgba(3, 12, 22, 0.34) 72%),
    radial-gradient(circle at 74% 8%, rgba(53, 220, 232, 0.2), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(190, 46, 56, 0.16), transparent 35%),
    url("../images/nbfc-action-day-bg.png") center 58% / cover no-repeat;
}

.nbfc-match-card.nbfc-match-card--showcase::before {
  background:
    linear-gradient(90deg, rgba(53, 220, 232, 0.9), rgba(255, 246, 216, 0.2), rgba(190, 46, 56, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 8px);
  opacity: 0.86;
}

.nbfc-match-card.nbfc-match-card--showcase::after {
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(53, 220, 232, 0.16) 56%, transparent 67%),
    radial-gradient(circle at 86% 76%, rgba(190, 46, 56, 0.24), transparent 26%);
  animation: nbfcCircuitMove 8s ease-in-out infinite;
  opacity: 0.7;
}

.nbfc-match-card--showcase .nbfc-match-card__teams {
  grid-template-columns: 58px minmax(0, 1fr) 42px minmax(0, 1fr) 50px;
  gap: 9px;
  min-height: 74px;
  padding: 10px 0;
}

.nbfc-match-card--showcase .nbfc-match-card__teams strong {
  font-size: clamp(1.18rem, 5.5vw, 1.95rem);
  letter-spacing: 0;
}

.nbfc-match-card--showcase .nbfc-match-card__teams em {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(190, 46, 56, 0.2);
  color: var(--nbfc-red);
  font-size: 1rem;
  box-shadow: 0 0 18px rgba(190, 46, 56, 0.22);
}

.nbfc-match-card--showcase .nbfc-match-card__crest img {
  width: 58px;
  height: 58px;
}

.nbfc-match-card--showcase .nbfc-match-card__opponent {
  width: 48px;
  height: 54px;
  border-radius: 16px;
  border-color: rgba(190, 46, 56, 0.72);
  color: var(--nbfc-red);
}

.nbfc-match-card__footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.nbfc-match-card--showcase .nbfc-match-card__meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.nbfc-match-card--showcase .nbfc-match-card__meta span {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 7px 4px;
  border: 1px solid rgba(255, 246, 216, 0.18);
  border-radius: 16px;
  background: rgba(2, 7, 12, 0.42);
  text-align: center;
}

.nbfc-match-card--showcase .nbfc-match-card__meta svg {
  width: 17px;
  height: 17px;
  color: var(--nbfc-cyan);
}

.nbfc-match-card--showcase .nbfc-match-card__meta b {
  color: var(--nbfc-cream);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.nbfc-match-card--showcase .nbfc-match-card__button {
  width: auto;
  min-width: 154px;
  min-height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--nbfc-cyan), #6bf7ff);
}

.nbfc-dashboard-grid.nbfc-dashboard-grid--home {
  gap: 13px;
}

.nbfc-poll-card.nbfc-poll-card--priority,
.nbfc-score-card.nbfc-score-card--result {
  min-height: 188px;
  padding: 16px;
}

.nbfc-poll-card.nbfc-poll-card--priority {
  background:
    linear-gradient(150deg, rgba(2, 9, 16, 0.88), rgba(2, 9, 16, 0.56)),
    radial-gradient(circle at 82% 18%, rgba(190, 46, 56, 0.24), transparent 34%),
    radial-gradient(circle at 16% 90%, rgba(53, 220, 232, 0.14), transparent 30%);
}

.nbfc-poll-card--priority .nbfc-poll-card__intro {
  grid-template-columns: 52px minmax(0, 1fr);
}

.nbfc-poll-card--priority .nbfc-poll-card__intro span {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border-color: rgba(190, 46, 56, 0.54);
  color: var(--nbfc-red);
  background: rgba(190, 46, 56, 0.13);
}

.nbfc-poll-card--priority .nbfc-poll-card__intro strong {
  font-size: 1rem;
  line-height: 1.05;
}

.nbfc-poll-mini-bars {
  display: grid;
  gap: 7px;
}

.nbfc-poll-mini-bars i {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.nbfc-poll-mini-bars i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, var(--nbfc-red), var(--nbfc-cyan));
  box-shadow: 0 0 14px rgba(53, 220, 232, 0.28);
}

.nbfc-score-card.nbfc-score-card--result {
  background:
    linear-gradient(150deg, rgba(2, 9, 16, 0.88), rgba(2, 9, 16, 0.52)),
    radial-gradient(circle at 72% 30%, rgba(53, 220, 232, 0.18), transparent 34%),
    radial-gradient(circle at 14% 96%, rgba(190, 46, 56, 0.16), transparent 30%);
}

.nbfc-score-card--result .nbfc-score-card__score {
  grid-template-columns: 48px minmax(88px, 1fr) 46px;
  gap: 8px;
  align-items: center;
}

.nbfc-score-card--result .nbfc-score-card__score img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 12px rgba(53, 220, 232, 0.46));
}

.nbfc-score-card--result .nbfc-score-card__score strong {
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1;
}

.nbfc-score-card--result .nbfc-score-card__score span {
  width: 46px;
  height: 50px;
  border-radius: 16px;
  border-color: rgba(190, 46, 56, 0.68);
  color: var(--nbfc-red);
  background: rgba(190, 46, 56, 0.08);
}

.nbfc-home-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nbfc-home-rail__item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  overflow: hidden;
  color: var(--nbfc-white);
  text-align: left;
}

.nbfc-home-rail__item::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--nbfc-cyan), var(--nbfc-red), transparent);
  opacity: 0.76;
}

.nbfc-home-rail__item > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(53, 220, 232, 0.38);
  border-radius: 16px;
  color: var(--nbfc-cyan);
  background: rgba(53, 220, 232, 0.1);
}

.nbfc-home-rail__item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

.nbfc-home-rail__item strong {
  display: block;
  color: var(--nbfc-cream);
  font-size: 0.84rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.nbfc-home-rail__item em {
  display: block;
  margin-top: 3px;
  color: var(--nbfc-muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

@media (max-width: 430px) {
  .nbfc-home-command {
    min-height: 130px;
    padding: 15px;
    border-radius: 26px;
  }

  .nbfc-home-command__copy h2 {
    font-size: clamp(2.05rem, 10.5vw, 2.9rem);
  }

  .nbfc-home-command__copy p {
    max-width: 22ch;
    font-size: 0.76rem;
  }

  .nbfc-home-command__actions {
    grid-template-columns: 1fr;
  }

  .nbfc-home-command__actions button {
    min-height: 48px;
    min-width: 58px;
    border-radius: 16px;
  }

  .nbfc-match-card.nbfc-match-card--showcase {
    min-height: 214px;
    padding: 15px;
    border-radius: 26px;
  }

  .nbfc-match-card--showcase .nbfc-match-card__teams {
    grid-template-columns: 50px minmax(0, 1fr) 36px minmax(0, 1fr) 42px;
    gap: 7px;
  }

  .nbfc-match-card--showcase .nbfc-match-card__crest img {
    width: 50px;
    height: 50px;
  }

  .nbfc-match-card--showcase .nbfc-match-card__teams strong {
    font-size: clamp(1rem, 5vw, 1.32rem);
  }

  .nbfc-match-card--showcase .nbfc-match-card__teams em {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .nbfc-match-card--showcase .nbfc-match-card__opponent {
    width: 42px;
    height: 48px;
    font-size: 1.45rem;
  }

  .nbfc-match-card__footer {
    grid-template-columns: 1fr;
  }

  .nbfc-match-card--showcase .nbfc-match-card__button {
    justify-self: stretch;
    min-height: 44px;
  }

  .nbfc-poll-card.nbfc-poll-card--priority,
  .nbfc-score-card.nbfc-score-card--result {
    min-height: 178px;
    padding: 14px;
    border-radius: 24px;
  }

  .nbfc-home-rail {
    gap: 10px;
  }

  .nbfc-home-rail__item {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 106px;
  }
}

@media (min-width: 960px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    width: min(100vw, 1460px);
  }

  .nbfc-shell.is-authenticated .nbfc-hero {
    display: none !important;
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"] {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    align-items: start;
    gap: 18px;
  }

  .nbfc-home-command {
    grid-column: 1 / -1;
    min-height: 174px;
    padding: 24px;
    background-position: center 52%;
  }

  .nbfc-home-command__actions {
    grid-template-columns: repeat(2, 92px);
  }

  .nbfc-home-command__actions button {
    min-height: 82px;
  }

  .nbfc-home-layout {
    display: grid;
    gap: 16px;
  }

  .nbfc-match-card.nbfc-match-card--showcase {
    min-height: 266px;
    padding: 22px;
  }

  .nbfc-match-card__footer {
    grid-template-columns: minmax(0, 1fr) minmax(176px, auto);
  }

  .nbfc-dashboard-grid.nbfc-dashboard-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nbfc-home-rail {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
  }

  .nbfc-home-rail__item {
    min-height: 112px;
    padding: 16px;
  }
}

@keyframes nbfcCommandScan {
  0%, 100% {
    transform: translateX(-8%);
    opacity: 0.48;
  }

  50% {
    transform: translateX(8%);
    opacity: 0.82;
  }
}

@keyframes nbfcCircuitMove {
  0%, 100% {
    transform: translateX(-3%);
  }

  50% {
    transform: translateX(3%);
  }
}

/* 0.4.41 contrast cards, polls cockpit and honest mobile push status */
.nbfc-home-command {
  background:
    linear-gradient(110deg, rgba(2, 7, 12, 0.9) 0 34%, rgba(2, 7, 12, 0.5) 68%),
    radial-gradient(circle at 76% 20%, rgba(53, 220, 232, 0.22), transparent 34%),
    radial-gradient(circle at 14% 86%, rgba(190, 46, 56, 0.26), transparent 38%),
    url("../images/nbfc-desktop-day-bg.png") center 52% / cover no-repeat;
}

.nbfc-match-card.nbfc-match-card--showcase {
  border-color: rgba(53, 220, 232, 0.36);
  background:
    radial-gradient(circle at 18% 16%, rgba(53, 220, 232, 0.22), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(190, 46, 56, 0.24), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 246, 216, 0.055) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, rgba(4, 19, 31, 0.98), rgba(9, 28, 39, 0.9) 48%, rgba(11, 7, 13, 0.96));
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.54),
    0 0 34px rgba(53, 220, 232, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 0 0 1px rgba(53, 220, 232, 0.08);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-match-card.nbfc-match-card--showcase {
  background:
    radial-gradient(circle at 18% 16%, rgba(53, 220, 232, 0.26), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(190, 46, 56, 0.2), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 246, 216, 0.08) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, rgba(4, 22, 34, 0.94), rgba(9, 39, 50, 0.86) 48%, rgba(18, 11, 15, 0.9));
}

.nbfc-match-card.nbfc-match-card--showcase::after {
  background:
    radial-gradient(circle at 64% 48%, rgba(255, 246, 216, 0.09), transparent 22%),
    linear-gradient(115deg, transparent 0 42%, rgba(53, 220, 232, 0.16) 50%, transparent 58%),
    url("../images/nbfc-logo-neon.png") right -44px bottom -62px / 190px auto no-repeat;
  opacity: 0.44;
}

.nbfc-poll-card.nbfc-poll-card--priority {
  border-color: rgba(190, 46, 56, 0.42);
  background:
    radial-gradient(circle at 80% 16%, rgba(190, 46, 56, 0.34), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(53, 220, 232, 0.16), transparent 34%),
    linear-gradient(150deg, rgba(29, 7, 18, 0.96), rgba(18, 12, 28, 0.88) 58%, rgba(3, 12, 22, 0.94));
}

.nbfc-score-card.nbfc-score-card--result {
  border-color: rgba(53, 220, 232, 0.34);
  background:
    radial-gradient(circle at 74% 24%, rgba(53, 220, 232, 0.28), transparent 34%),
    radial-gradient(circle at 10% 96%, rgba(255, 246, 216, 0.1), transparent 34%),
    linear-gradient(150deg, rgba(2, 18, 30, 0.98), rgba(4, 29, 39, 0.88) 54%, rgba(4, 10, 17, 0.96));
}

.nbfc-home-rail__item {
  border-color: rgba(255, 246, 216, 0.2);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 88% 0%, rgba(53, 220, 232, 0.12), transparent 30%),
    rgba(2, 7, 12, 0.82);
}

.nbfc-push-requirements {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.nbfc-push-requirements li {
  position: relative;
  padding-left: 14px;
  color: rgba(255, 246, 216, 0.76);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
}

.nbfc-push-requirements li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nbfc-cyan);
  content: "";
  box-shadow: 0 0 10px rgba(53, 220, 232, 0.38);
}

.nbfc-polls-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  min-height: 154px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(53, 220, 232, 0.34);
  border-radius: 30px;
  background:
    linear-gradient(110deg, rgba(2, 7, 12, 0.92), rgba(2, 7, 12, 0.48)),
    radial-gradient(circle at 84% 18%, rgba(190, 46, 56, 0.26), transparent 34%),
    url("../images/nbfc-night-tunnel-bg.png") center / cover no-repeat;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-polls-hero {
  background:
    linear-gradient(110deg, rgba(2, 7, 12, 0.82), rgba(2, 7, 12, 0.38)),
    radial-gradient(circle at 84% 18%, rgba(190, 46, 56, 0.2), transparent 34%),
    url("../images/nbfc-day-graffiti-bg.png") center / cover no-repeat;
}

.nbfc-polls-hero::after {
  position: absolute;
  right: -36px;
  bottom: -64px;
  width: 180px;
  height: 180px;
  content: "";
  background: url("../images/nbfc-logo-neon.png") center / contain no-repeat;
  opacity: 0.2;
  filter: drop-shadow(0 0 18px rgba(53, 220, 232, 0.34));
}

.nbfc-polls-hero > * {
  position: relative;
  z-index: 1;
}

.nbfc-polls-hero p {
  margin: 0 0 5px;
  color: var(--nbfc-cyan);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-polls-hero strong {
  display: block;
  max-width: 9ch;
  color: var(--nbfc-cream);
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(2.1rem, 9vw, 3.8rem);
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 2px 1px 0 rgba(53, 220, 232, 0.54), -2px 2px 0 rgba(190, 46, 56, 0.78);
}

.nbfc-polls-hero span {
  display: block;
  max-width: 30ch;
  margin-top: 8px;
  color: rgba(255, 246, 216, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.nbfc-polls-hero button {
  display: inline-grid;
  grid-template-columns: 22px auto;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 246, 216, 0.24);
  border-radius: 16px;
  background: rgba(2, 7, 12, 0.56);
  color: var(--nbfc-cream);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-polls-hero button svg {
  width: 20px;
  height: 20px;
  color: var(--nbfc-cyan);
  fill: none;
  stroke: currentColor;
}

.nbfc-polls-stack {
  display: grid;
  gap: 13px;
}

.nbfc-poll-detail {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 246, 216, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 12%, rgba(53, 220, 232, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(2, 9, 16, 0.78);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nbfc-poll-detail.is-hot {
  border-color: rgba(190, 46, 56, 0.42);
  background:
    radial-gradient(circle at 86% 12%, rgba(190, 46, 56, 0.26), transparent 34%),
    radial-gradient(circle at 18% 100%, rgba(53, 220, 232, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(30, 7, 18, 0.95), rgba(2, 9, 16, 0.8));
}

.nbfc-poll-detail__head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.nbfc-poll-detail__head > span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(53, 220, 232, 0.36);
  border-radius: 18px;
  color: var(--nbfc-cyan);
  background: rgba(53, 220, 232, 0.1);
}

.nbfc-poll-detail__head svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
}

.nbfc-poll-detail__head p,
.nbfc-poll-detail__head strong,
.nbfc-poll-detail__head em {
  display: block;
  margin: 0;
}

.nbfc-poll-detail__head p {
  color: var(--nbfc-cyan);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-poll-detail__head strong {
  margin-top: 3px;
  color: var(--nbfc-cream);
  font-size: 1rem;
  line-height: 1.12;
}

.nbfc-poll-detail__head em {
  margin-top: 4px;
  color: var(--nbfc-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.nbfc-poll-detail__options {
  display: grid;
  gap: 8px;
}

.nbfc-poll-detail__options button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 216, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--nbfc-white);
}

.nbfc-poll-detail__options button::before {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--nbfc-red), var(--nbfc-cyan));
  opacity: 0;
}

.nbfc-poll-detail__options button.is-leading {
  border-color: rgba(53, 220, 232, 0.34);
}

.nbfc-poll-detail__options button.is-selected {
  border-color: rgba(53, 220, 232, 0.72);
  background: rgba(53, 220, 232, 0.13);
  box-shadow: 0 0 22px rgba(53, 220, 232, 0.12);
}

.nbfc-poll-detail__options button.is-selected::before {
  opacity: 1;
}

.nbfc-poll-detail__options span {
  font-size: 0.86rem;
  font-weight: 900;
}

.nbfc-poll-detail__options strong {
  color: var(--nbfc-cyan);
  font-size: 0.8rem;
  font-weight: 950;
}

.nbfc-poll-detail__options--presence {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nbfc-poll-detail__options--presence button {
  justify-content: center;
  min-height: 50px;
}

.nbfc-poll-detail .nbfc-primary {
  min-height: 44px;
  border-radius: 16px;
}

.nbfc-poll-detail .nbfc-primary.is-done {
  background: linear-gradient(135deg, rgba(53, 220, 232, 0.88), rgba(255, 246, 216, 0.88));
}

.nbfc-poll-detail--soon {
  opacity: 0.78;
}

@media (max-width: 430px) {
  .nbfc-polls-hero {
    grid-template-columns: 1fr;
    min-height: 148px;
    padding: 16px;
    border-radius: 26px;
  }

  .nbfc-polls-hero button {
    justify-self: start;
  }

  .nbfc-poll-detail {
    padding: 14px;
    border-radius: 24px;
  }

  .nbfc-poll-detail__options--presence {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 960px) {
  .nbfc-shell.is-authenticated .nbfc-view[data-view-panel="polls"] {
    grid-template-columns: minmax(360px, 0.8fr) minmax(560px, 1.2fr);
    align-items: start;
    gap: 18px;
  }

  .nbfc-polls-hero {
    min-height: 100%;
  }

  .nbfc-polls-stack {
    align-content: start;
  }
}

/* 0.4.46 push repair, calmer home cards and clearer licence flow */
.nbfc-shell.is-authenticated .nbfc-match-card,
.nbfc-shell.is-authenticated .nbfc-score-card,
.nbfc-shell.is-authenticated .nbfc-poll-card,
.nbfc-shell.is-authenticated .nbfc-home-rail__item {
  transform: none !important;
}

.nbfc-shell.is-authenticated .nbfc-match-card:hover,
.nbfc-shell.is-authenticated .nbfc-score-card:hover,
.nbfc-shell.is-authenticated .nbfc-poll-card:hover,
.nbfc-shell.is-authenticated .nbfc-home-rail__item:hover {
  transform: none !important;
}

.nbfc-shell.is-authenticated .nbfc-match-card::before,
.nbfc-shell.is-authenticated .nbfc-match-card::after,
.nbfc-shell.is-authenticated .nbfc-score-card::before,
.nbfc-shell.is-authenticated .nbfc-score-card::after,
.nbfc-shell.is-authenticated .nbfc-poll-card::before,
.nbfc-shell.is-authenticated .nbfc-poll-card::after,
.nbfc-shell.is-authenticated .nbfc-home-rail__item::after {
  animation: none !important;
}

.nbfc-match-card.nbfc-match-card--showcase,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-match-card.nbfc-match-card--showcase {
  border-color: rgba(53, 220, 232, 0.42);
  background:
    linear-gradient(112deg, rgba(1, 5, 10, 0.96) 0 36%, rgba(5, 22, 34, 0.92) 54%, rgba(15, 8, 13, 0.94) 100%),
    radial-gradient(circle at 12% 10%, rgba(53, 220, 232, 0.28), transparent 30%),
    radial-gradient(circle at 88% 70%, rgba(216, 67, 75, 0.28), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255, 246, 216, 0.07) 0 1px, transparent 1px 13px);
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(53, 220, 232, 0.1);
}

.nbfc-match-card.nbfc-match-card--showcase::after {
  background:
    radial-gradient(circle at 82% 78%, rgba(255, 246, 216, 0.08), transparent 28%),
    url("../images/nbfc-logo-neon.png") right -38px bottom -54px / 176px auto no-repeat;
  opacity: 0.24;
}

.nbfc-poll-card.nbfc-poll-card--priority,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-poll-card.nbfc-poll-card--priority {
  border-color: rgba(216, 67, 75, 0.46);
  background:
    radial-gradient(circle at 78% 12%, rgba(216, 67, 75, 0.34), transparent 34%),
    linear-gradient(145deg, rgba(38, 9, 18, 0.98), rgba(12, 9, 18, 0.94) 56%, rgba(3, 12, 22, 0.98));
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nbfc-score-card.nbfc-score-card--result,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-score-card.nbfc-score-card--result {
  border-color: rgba(53, 220, 232, 0.4);
  background:
    radial-gradient(circle at 76% 14%, rgba(53, 220, 232, 0.26), transparent 32%),
    linear-gradient(145deg, rgba(2, 26, 38, 0.98), rgba(3, 15, 25, 0.95) 58%, rgba(2, 7, 12, 0.98));
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nbfc-home-rail__item,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-home-rail__item {
  border-color: rgba(255, 246, 216, 0.24);
  background:
    linear-gradient(135deg, rgba(9, 17, 26, 0.96), rgba(2, 7, 12, 0.9)),
    radial-gradient(circle at 92% 4%, rgba(53, 220, 232, 0.18), transparent 32%);
}

.nbfc-age-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(53, 220, 232, 0.34);
  border-radius: 8px;
  background: rgba(4, 7, 14, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nbfc-age-card > span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(53, 220, 232, 0.42);
  border-radius: 8px;
  color: var(--nbfc-cyan);
  background: rgba(53, 220, 232, 0.08);
}

.nbfc-age-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

.nbfc-age-card strong {
  color: var(--nbfc-cream);
  font-size: 0.94rem;
  line-height: 1.05;
}

.nbfc-age-card em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.nbfc-field__icon--red {
  color: var(--nbfc-red);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card {
  grid-template-columns: 52px minmax(0, 1fr);
  padding-right: 54px;
  border-color: rgba(255, 246, 216, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(3, 9, 16, 0.72);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card::before {
  right: 14px;
  left: auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 246, 216, 0.38);
  border-radius: 9px;
  color: #04131a;
  font-size: 0.56rem;
  font-weight: 950;
  line-height: 1;
  transform: translateY(-50%) rotate(-2deg);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card:has(input:checked) {
  border-color: rgba(53, 220, 232, 0.88);
  background:
    linear-gradient(135deg, rgba(53, 220, 232, 0.2), rgba(216, 67, 75, 0.14)),
    rgba(3, 9, 16, 0.82);
  box-shadow:
    0 0 24px rgba(53, 220, 232, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card:has(input:checked)::before {
  content: "OK";
  border-color: var(--nbfc-cyan);
  background: var(--nbfc-cyan);
  box-shadow: 0 0 18px rgba(53, 220, 232, 0.52);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card__icon {
  border-color: rgba(216, 67, 75, 0.48);
  color: var(--nbfc-red);
  background: rgba(216, 67, 75, 0.08);
}

.nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-choice-card:has(input:checked) .nbfc-choice-card__icon {
  border-color: rgba(53, 220, 232, 0.52);
  color: var(--nbfc-cyan);
  background: rgba(53, 220, 232, 0.1);
}

/* 0.4.48 native-push repair and cinematic player home */
body.nbfc-app-body.nbfc-auth-body,
.nbfc-shell.is-authenticated {
  overflow: hidden;
}

.nbfc-shell.is-authenticated .nbfc-app-layout {
  position: relative;
  display: block !important;
  width: min(100vw, 480px);
  height: 100dvh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(4px + env(safe-area-inset-top)) 14px calc(112px + env(safe-area-inset-bottom)) !important;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-padding-top: calc(96px + env(safe-area-inset-top));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nbfc-shell.is-authenticated .nbfc-app-layout::-webkit-scrollbar {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-hero {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  position: sticky !important;
  inset: 0 auto auto !important;
  z-index: 76;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: start !important;
  gap: 8px;
  min-height: calc(100px + env(safe-area-inset-top));
  padding: calc(4px + env(safe-area-inset-top)) 0 6px !important;
  pointer-events: auto;
}

.nbfc-shell.is-authenticated .nbfc-topbar::before,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  right: -14px !important;
  left: -14px !important;
  height: calc(100% + 6px) !important;
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(180deg, rgba(2, 7, 12, 0.72), rgba(2, 7, 12, 0.3) 74%, transparent),
    radial-gradient(circle at 12% 0%, rgba(53, 220, 232, 0.14), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(181, 54, 61, 0.12), transparent 30%);
  opacity: 0.86;
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-topbar::before,
.nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-topbar::before {
  background:
    linear-gradient(180deg, rgba(255, 246, 216, 0.16), rgba(2, 7, 12, 0.18) 70%, transparent),
    radial-gradient(circle at 12% 0%, rgba(53, 220, 232, 0.14), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(181, 54, 61, 0.1), transparent 30%);
}

.nbfc-shell.is-authenticated .nbfc-brand,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  grid-column: 1;
  align-self: start !important;
  justify-self: start;
  width: 92px;
  height: 92px;
  margin: 0;
  padding: 0 0 8px;
  transform: none;
}

.nbfc-shell.is-authenticated .nbfc-brand img,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  transform: none;
  filter:
    drop-shadow(0 0 15px rgba(53, 220, 232, 0.5))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
}

.nbfc-shell.is-authenticated .nbfc-brand span {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-header-greeting,
.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting {
  display: grid;
  grid-column: 2;
  align-self: start;
  max-width: 100%;
  margin: 11px 0 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.nbfc-shell.is-authenticated .nbfc-header-greeting h1,
.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting h1 {
  margin: 0;
  color: var(--nbfc-cream);
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(2.08rem, 8.5vw, 3.1rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    2px 1px 0 rgba(53, 220, 232, 0.55),
    -2px 2px 0 rgba(181, 54, 61, 0.76),
    0 14px 26px rgba(0, 0, 0, 0.48);
}

.nbfc-shell.is-authenticated .nbfc-header-greeting h1 span,
.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting h1 span {
  display: block;
  font-size: 0.52em;
  line-height: 0.96;
}

.nbfc-shell.is-authenticated .nbfc-header-greeting h1 strong,
.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting h1 strong {
  display: block;
  color: #b5363d;
  white-space: normal;
  overflow-wrap: anywhere;
}

.nbfc-shell.is-authenticated .nbfc-header-greeting p,
.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting p {
  width: max-content;
  margin: 7px 0 0 10px;
  padding: 3px 10px 4px;
  border: 1px solid rgba(53, 220, 232, 0.62);
  color: var(--nbfc-cream);
  font-size: 0.66rem;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
  grid-column: 3;
  align-self: start !important;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 3px 0 0 !important;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle,
.nbfc-shell.is-authenticated .nbfc-mode-toggle,
.nbfc-shell.is-authenticated .nbfc-icon-button,
.nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 16px;
  border-color: rgba(255, 246, 216, 0.26);
  background:
    radial-gradient(circle at 48% 12%, rgba(255, 255, 255, 0.18), transparent 42%),
    rgba(2, 7, 12, 0.58);
  line-height: 0;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle {
  grid-template-columns: 1fr;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle strong,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle strong {
  display: none;
}

.nbfc-shell.is-authenticated .nbfc-theme-icon,
.nbfc-shell.is-dashboard-scrolled .nbfc-theme-icon {
  grid-area: 1 / 1;
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle svg,
.nbfc-shell.is-authenticated .nbfc-mode-toggle svg,
.nbfc-shell.is-authenticated .nbfc-icon-button svg {
  width: 21px;
  height: 21px;
}

.nbfc-shell.is-authenticated .nbfc-player-panel,
.nbfc-shell.is-dashboard-scrolled .nbfc-player-panel {
  position: relative !important;
  inset: auto !important;
  z-index: 8;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  overflow: visible;
}

.nbfc-shell.is-authenticated .nbfc-player-views,
.nbfc-shell.is-authenticated .nbfc-view.is-active {
  height: auto;
}

.nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"] {
  display: block;
  min-height: calc(100dvh - 218px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}

.nbfc-player-stage {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 220px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: hidden;
  border-radius: 30px;
  padding: 18px;
}

.nbfc-player-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 220, 232, 0.18), transparent 30%),
    radial-gradient(circle at 92% 70%, rgba(181, 54, 61, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(2, 7, 12, 0.02), rgba(2, 7, 12, 0.22) 68%, rgba(2, 7, 12, 0.52));
}

.nbfc-player-stage::after {
  position: absolute;
  right: -30%;
  bottom: -26%;
  z-index: -1;
  width: 86%;
  height: 48%;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(53, 220, 232, 0.28), rgba(181, 54, 61, 0.16) 38%, transparent 70%);
  filter: blur(10px);
  transform: rotate(-8deg);
}

.nbfc-player-stage__copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 7px;
  max-width: 52%;
}

.nbfc-player-stage__copy > span {
  width: max-content;
  padding: 5px 10px;
  border: 1px solid rgba(53, 220, 232, 0.5);
  border-radius: 999px;
  background: rgba(2, 7, 12, 0.42);
  color: var(--nbfc-cyan);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.nbfc-player-stage__copy h2 {
  margin: 0;
  font-family: var(--nbfc-graffiti-font);
  font-size: clamp(2.55rem, 12.5vw, 4.35rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    2px 1px 0 rgba(53, 220, 232, 0.55),
    -2px 2px 0 rgba(181, 54, 61, 0.78),
    0 16px 28px rgba(0, 0, 0, 0.54);
  transform: rotate(-2deg);
}

.nbfc-player-stage__copy h2 em,
.nbfc-player-stage__copy h2 strong {
  display: block;
  font: inherit;
}

.nbfc-player-stage__copy h2 em {
  color: var(--nbfc-cream);
  font-size: 0.54em;
}

.nbfc-player-stage__copy h2 strong {
  color: #b5363d;
  overflow-wrap: anywhere;
}

.nbfc-player-stage__copy p {
  max-width: 25ch;
  margin: 0;
  color: rgba(255, 246, 216, 0.88);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.28;
}

.nbfc-player-stage__avatar {
  position: absolute;
  right: -22%;
  bottom: -8%;
  z-index: 2;
  width: auto;
  max-width: none;
  height: min(64dvh, 610px);
  object-fit: contain;
  pointer-events: none;
  filter:
    drop-shadow(0 0 24px rgba(53, 220, 232, 0.34))
    drop-shadow(-16px 22px 34px rgba(0, 0, 0, 0.56));
  transform: rotate(-1deg);
}

.nbfc-player-stage__actions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 292px;
}

.nbfc-stage-action {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 26px;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 216, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(3, 12, 22, 0.7), rgba(3, 12, 22, 0.36));
  color: var(--nbfc-white);
  text-align: left;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}

.nbfc-stage-action--primary {
  border-color: rgba(53, 220, 232, 0.54);
  background:
    linear-gradient(135deg, rgba(53, 220, 232, 0.92), rgba(72, 238, 248, 0.78)),
    rgba(2, 7, 12, 0.28);
  color: #031019;
}

.nbfc-stage-action > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(2, 7, 12, 0.4);
  color: var(--nbfc-cyan);
}

.nbfc-stage-action--primary > span {
  background: rgba(2, 7, 12, 0.14);
  color: #031019;
}

.nbfc-stage-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
}

.nbfc-stage-action > strong {
  display: block;
  color: currentColor;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.nbfc-stage-action > em {
  grid-column: 2;
  color: rgba(255, 246, 216, 0.72);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.nbfc-stage-action--primary > em {
  color: rgba(3, 16, 25, 0.74);
}

.nbfc-stage-action > svg:last-child {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 7px;
    min-height: calc(98px + env(safe-area-inset-top));
  }

  .nbfc-shell.is-authenticated .nbfc-brand,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    width: 88px;
    height: 88px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 84px;
    height: 84px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting h1,
  .nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting h1 {
    font-size: clamp(2rem, 8.2vw, 2.66rem);
  }

  .nbfc-shell.is-authenticated .nbfc-notification-toggle,
  .nbfc-shell.is-authenticated .nbfc-mode-toggle,
  .nbfc-shell.is-authenticated .nbfc-icon-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 15px;
  }

  .nbfc-player-stage {
    min-height: calc(100dvh - 210px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 16px;
    border-radius: 28px;
  }

  .nbfc-player-stage__copy {
    max-width: 52%;
  }

  .nbfc-player-stage__copy h2 {
    font-size: clamp(2.3rem, 12vw, 3.25rem);
  }

  .nbfc-player-stage__copy p {
    max-width: 20ch;
    font-size: 0.8rem;
  }

  .nbfc-player-stage__avatar {
    right: -18%;
    bottom: -8%;
    height: min(58dvh, 520px);
  }

  .nbfc-player-stage__actions {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: min(292px, 78vw);
  }
}

@media (min-width: 960px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    display: block !important;
    width: min(100vw, 1440px);
    padding: calc(14px + env(safe-area-inset-top)) 32px calc(124px + env(safe-area-inset-bottom)) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    grid-template-columns: 118px minmax(0, 1fr) auto;
    min-height: 118px;
    padding-top: 4px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-brand,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    width: 118px;
    height: 112px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 108px;
    height: 108px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting {
    margin-top: 14px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting h1,
  .nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting h1 {
    font-size: clamp(3.15rem, 4.1vw, 4.55rem);
  }

  .nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"],
  .nbfc-player-stage {
    min-height: calc(100dvh - 268px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .nbfc-player-stage {
    border-radius: 36px;
    padding: 34px;
  }

  .nbfc-player-stage__copy {
    max-width: 42%;
  }

  .nbfc-player-stage__copy h2 {
    font-size: clamp(4.4rem, 6.2vw, 7.2rem);
  }

  .nbfc-player-stage__copy p {
    max-width: 31ch;
    font-size: 1rem;
  }

  .nbfc-player-stage__avatar {
    right: 3%;
    bottom: -10%;
    height: min(74dvh, 800px);
  }

  .nbfc-player-stage__actions {
    right: auto;
    bottom: 34px;
    left: 34px;
    max-width: 390px;
    grid-template-columns: 1fr 1fr;
  }

  .nbfc-stage-action {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 86px;
  }

  .nbfc-stage-action > svg:last-child {
    display: none;
  }
}

/* 0.4.49 push device diagnostics, notification reader and clean avatar home */
.nbfc-shell.is-authenticated .nbfc-topbar,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  top: 0 !important;
  align-items: start !important;
  min-height: calc(88px + env(safe-area-inset-top)) !important;
  padding: calc(0px + env(safe-area-inset-top)) 0 4px !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar::before,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  height: calc(100% + 2px) !important;
  border-radius: 0 0 18px 18px;
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
  align-self: start !important;
  align-items: center !important;
  margin-top: 4px !important;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle,
.nbfc-shell.is-authenticated .nbfc-mode-toggle,
.nbfc-shell.is-authenticated .nbfc-icon-button,
.nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nbfc-shell.is-authenticated .nbfc-theme-icon,
.nbfc-shell.is-dashboard-scrolled .nbfc-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"] {
  overflow: hidden;
}

.nbfc-player-panel[data-active-view="home"] {
  overflow: hidden !important;
}

.nbfc-player-stage--clean {
  height: calc(100dvh - 198px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  min-height: calc(100dvh - 198px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  border: 0;
  background:
    radial-gradient(circle at 74% 22%, rgba(53, 220, 232, 0.12), transparent 30%),
    radial-gradient(circle at 26% 76%, rgba(181, 54, 61, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(2, 7, 12, 0.02), rgba(2, 7, 12, 0.28));
  box-shadow: none;
}

.nbfc-player-stage--clean::before {
  background:
    radial-gradient(circle at 72% 14%, rgba(255, 246, 216, 0.1), transparent 26%),
    radial-gradient(circle at 76% 70%, rgba(53, 220, 232, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(2, 7, 12, 0), rgba(2, 7, 12, 0.42));
}

.nbfc-player-stage--clean::after {
  right: -24%;
  bottom: -17%;
  width: 78%;
  height: 42%;
  opacity: 0.7;
}

.nbfc-player-stage--clean .nbfc-player-stage__avatar {
  right: -17%;
  bottom: -7%;
  height: min(67dvh, 650px);
  filter:
    drop-shadow(0 0 26px rgba(53, 220, 232, 0.3))
    drop-shadow(-18px 22px 34px rgba(0, 0, 0, 0.58));
}

.nbfc-notification-card {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  cursor: pointer;
}

.nbfc-notification-card__delete {
  align-self: start;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid rgba(255, 246, 216, 0.18);
  border-radius: 999px;
  background: rgba(181, 54, 61, 0.14);
  color: var(--nbfc-cream);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nbfc-notification-card__delete:where(:hover, :focus-visible) {
  border-color: rgba(181, 54, 61, 0.52);
  background: rgba(181, 54, 61, 0.28);
  color: #fff;
}

.nbfc-notification-detail-view {
  display: grid;
  gap: 16px;
  min-height: calc(100dvh - 214px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}

.nbfc-notification-detail__back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 246, 216, 0.22);
  border-radius: 999px;
  background: rgba(3, 12, 22, 0.56);
  color: var(--nbfc-cream);
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(16px) saturate(1.45);
  -webkit-backdrop-filter: blur(16px) saturate(1.45);
}

.nbfc-notification-detail__back svg,
.nbfc-notification-detail__media svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

.nbfc-notification-detail {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 246, 216, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 6%, rgba(53, 220, 232, 0.22), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(181, 54, 61, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(3, 12, 22, 0.86), rgba(6, 19, 31, 0.62));
  color: var(--nbfc-cream);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.nbfc-notification-detail__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 246, 216, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(53, 220, 232, 0.2), rgba(181, 54, 61, 0.26)),
    url("../images/nbfc-action-night-bg.png") center / cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nbfc-notification-detail__image.is-empty {
  background:
    radial-gradient(circle at 50% 44%, rgba(53, 220, 232, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(3, 12, 22, 0.8), rgba(181, 54, 61, 0.18));
}

.nbfc-notification-detail p {
  margin: 0;
  color: var(--nbfc-cyan);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-notification-detail h2 {
  margin: 0;
  color: var(--nbfc-cream);
  font-size: clamp(1.65rem, 7vw, 2.7rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.nbfc-notification-detail__body {
  color: rgba(255, 246, 216, 0.9);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.45;
  white-space: pre-wrap;
}

.nbfc-notification-detail__media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--nbfc-cyan), rgba(53, 220, 232, 0.78));
  color: #031019;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 430px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    padding-top: calc(0px + env(safe-area-inset-top)) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    min-height: calc(90px + env(safe-area-inset-top)) !important;
    gap: 6px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    width: 92px;
    height: 86px;
    padding-bottom: 0;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 88px;
    height: 88px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting,
  .nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting {
    margin-top: 7px;
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting h1,
  .nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting h1 {
    font-size: clamp(1.92rem, 8.8vw, 2.58rem);
  }

  .nbfc-shell.is-authenticated .nbfc-header-greeting p,
  .nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting p {
    margin-top: 5px;
    margin-left: 5px;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
    gap: 6px;
    margin-top: 4px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-notification-toggle,
  .nbfc-shell.is-authenticated .nbfc-mode-toggle,
  .nbfc-shell.is-authenticated .nbfc-icon-button,
  .nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-icon-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 14px;
  }

  .nbfc-player-stage--clean {
    height: calc(100dvh - 184px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: calc(100dvh - 184px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin-top: -2px;
    border-radius: 24px;
  }

  .nbfc-player-stage--clean .nbfc-player-stage__avatar {
    position: fixed;
    right: max(-44px, calc((100vw - 480px) / 2 - 72px));
    bottom: calc(70px + env(safe-area-inset-bottom));
    height: min(69dvh, 600px);
    z-index: 10;
  }

  .nbfc-notification-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .nbfc-notification-card__delete {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }
}

@media (min-width: 960px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    padding-top: calc(4px + env(safe-area-inset-top)) !important;
  }

  .nbfc-player-stage--clean {
    height: calc(100dvh - 262px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    min-height: calc(100dvh - 262px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .nbfc-player-stage--clean .nbfc-player-stage__avatar {
    right: 8%;
    bottom: -9%;
    height: min(78dvh, 830px);
  }

  .nbfc-notification-detail-view {
    max-width: 880px;
    margin: 0 auto;
  }
}

/* 0.4.52 - stable player shell: mobile app HUD + desktop CRM layout */
.nbfc-shell.is-authenticated .nbfc-header-greeting,
.nbfc-shell.is-dashboard-scrolled .nbfc-header-greeting {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  position: fixed !important;
  top: 0 !important;
  left: max(12px, env(safe-area-inset-left)) !important;
  right: max(12px, env(safe-area-inset-right)) !important;
  z-index: 120 !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box;
  min-height: calc(58px + env(safe-area-inset-top)) !important;
  padding: calc(6px + env(safe-area-inset-top)) 0 6px !important;
  margin: 0 !important;
  pointer-events: none;
  background: transparent !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar::before,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  content: "";
  position: absolute !important;
  inset: auto 0 0 !important;
  top: calc(4px + env(safe-area-inset-top)) !important;
  height: 54px !important;
  border-radius: 20px;
  border: 1px solid rgba(255, 246, 216, 0.16);
  background:
    radial-gradient(circle at 13% 8%, rgba(53, 220, 232, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(3, 12, 22, 0.74), rgba(7, 22, 34, 0.48));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-topbar::before,
.nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-topbar::before {
  border-color: rgba(6, 19, 31, 0.14);
  background:
    radial-gradient(circle at 14% 0%, rgba(53, 220, 232, 0.22), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 246, 216, 0.38));
  box-shadow:
    0 18px 44px rgba(3, 12, 22, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.nbfc-shell.is-authenticated .nbfc-brand,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  position: relative !important;
  z-index: 2;
  width: 64px !important;
  height: 54px !important;
  padding: 0 0 0 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  pointer-events: auto;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nbfc-shell.is-authenticated .nbfc-brand img,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(53, 220, 232, 0.42));
}

.nbfc-shell.is-authenticated .nbfc-brand span,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand span {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
  position: relative !important;
  z-index: 2;
  align-self: center !important;
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 7px 0 0 !important;
  pointer-events: auto;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle,
.nbfc-shell.is-authenticated .nbfc-mode-toggle,
.nbfc-shell.is-authenticated .nbfc-icon-button,
.nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-icon-button {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 15px !important;
  border: 1px solid rgba(255, 246, 216, 0.18) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at 36% 8%, rgba(255, 255, 255, 0.2), transparent 40%),
    rgba(3, 12, 22, 0.66) !important;
  color: var(--nbfc-cream) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 26px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-notification-toggle,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-mode-toggle,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-icon-button,
.nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-notification-toggle,
.nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-mode-toggle,
.nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-icon-button {
  border-color: rgba(6, 19, 31, 0.14) !important;
  background:
    radial-gradient(circle at 36% 8%, rgba(255, 255, 255, 0.78), transparent 42%),
    rgba(255, 255, 255, 0.52) !important;
  color: var(--nbfc-ink) !important;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle svg,
.nbfc-shell.is-authenticated .nbfc-mode-toggle svg,
.nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle svg,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle svg {
  width: 20px !important;
  height: 20px !important;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle strong,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle strong {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-theme-icon,
.nbfc-shell.is-dashboard-scrolled .nbfc-theme-icon {
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle__badge,
.nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle__badge {
  top: -4px !important;
  right: -4px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: #b5363d !important;
  color: #fff6d8 !important;
  border: 1px solid rgba(255, 246, 216, 0.72) !important;
  box-shadow: 0 0 18px rgba(181, 54, 61, 0.5) !important;
}

.nbfc-shell.is-authenticated .nbfc-app-layout {
  width: min(100vw, 480px) !important;
  max-width: none !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: calc(72px + env(safe-area-inset-top)) 12px calc(92px + env(safe-area-inset-bottom)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-padding-top: calc(78px + env(safe-area-inset-top));
}

.nbfc-shell.is-authenticated .nbfc-player-head {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-player-panel {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nbfc-shell.is-authenticated .nbfc-player-views {
  margin: 0 !important;
}

.nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"] {
  min-height: calc(100dvh - 164px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
  overflow: hidden !important;
}

.nbfc-player-stage--clean {
  position: relative !important;
  height: calc(100dvh - 164px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
  min-height: calc(100dvh - 164px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nbfc-player-stage--clean::before {
  content: "";
  position: absolute;
  inset: auto -22px -20px -22px;
  height: 46%;
  border-radius: 34px 34px 0 0;
  background:
    radial-gradient(circle at 86% 50%, rgba(181, 54, 61, 0.2), transparent 34%),
    linear-gradient(180deg, transparent, rgba(3, 12, 22, 0.74) 62%, rgba(3, 12, 22, 0.92));
  pointer-events: none;
  z-index: 4;
}

.nbfc-player-stage--clean::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: 62px;
  width: 230px;
  height: 84px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(53, 220, 232, 0.24), rgba(181, 54, 61, 0.14) 42%, transparent 72%);
  filter: blur(10px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 5;
}

.nbfc-player-stage--clean .nbfc-player-stage__avatar {
  position: fixed !important;
  right: max(-34px, calc((100vw - 480px) / 2 - 44px)) !important;
  bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  height: min(58dvh, 500px) !important;
  width: auto !important;
  max-width: none !important;
  z-index: 12 !important;
  object-fit: contain;
  object-position: right bottom;
  transform: translateY(8%) rotate(-1deg) !important;
  filter:
    drop-shadow(0 26px 40px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 22px rgba(53, 220, 232, 0.22));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  pointer-events: none;
}

.nbfc-home-priority {
  position: absolute;
  left: 10px;
  right: 96px;
  bottom: 18px;
  z-index: 18;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 246, 216, 0.18);
  background:
    radial-gradient(circle at 16% 8%, rgba(53, 220, 232, 0.18), transparent 34%),
    radial-gradient(circle at 92% 110%, rgba(181, 54, 61, 0.2), transparent 44%),
    rgba(3, 12, 22, 0.64);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
}

.nbfc-shell[data-theme="day"] .nbfc-home-priority {
  border-color: rgba(6, 19, 31, 0.14);
  background:
    radial-gradient(circle at 14% 8%, rgba(53, 220, 232, 0.22), transparent 34%),
    radial-gradient(circle at 92% 110%, rgba(181, 54, 61, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.62);
}

.nbfc-home-priority span {
  color: var(--nbfc-cyan);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nbfc-home-priority strong {
  color: var(--nbfc-cream);
  font-size: clamp(1.18rem, 6vw, 1.55rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.nbfc-shell[data-theme="day"] .nbfc-home-priority strong {
  color: var(--nbfc-ink);
}

.nbfc-home-priority p {
  max-width: 22ch;
  margin: 0;
  color: rgba(255, 246, 216, 0.78);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.28;
}

.nbfc-shell[data-theme="day"] .nbfc-home-priority p {
  color: rgba(6, 19, 31, 0.72);
}

.nbfc-home-priority__button {
  min-height: 42px;
  border: 0;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--nbfc-cyan), rgba(53, 220, 232, 0.78));
  color: #031019;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(53, 220, 232, 0.24);
}

.nbfc-home-priority__button svg {
  width: 18px;
  height: 18px;
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  position: fixed !important;
  left: max(12px, env(safe-area-inset-left)) !important;
  right: max(12px, env(safe-area-inset-right)) !important;
  bottom: calc(10px + env(safe-area-inset-bottom)) !important;
  z-index: 125 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: center !important;
  width: auto !important;
  max-width: 456px !important;
  height: 70px !important;
  margin: 0 auto !important;
  padding: 7px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 246, 216, 0.14) !important;
  background:
    radial-gradient(circle at 16% 8%, rgba(53, 220, 232, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(3, 12, 22, 0.78), rgba(7, 22, 34, 0.58)) !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(20px) saturate(1.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.55);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar {
  border-color: rgba(6, 19, 31, 0.12) !important;
  background:
    radial-gradient(circle at 18% 4%, rgba(53, 220, 232, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.58) !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
  top: 7px !important;
  left: 7px;
  height: 56px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 246, 216, 0.2);
  background:
    radial-gradient(circle at 35% 0%, rgba(255, 255, 255, 0.28), transparent 40%),
    linear-gradient(135deg, rgba(181, 54, 61, 0.55), rgba(53, 220, 232, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 28px rgba(181, 54, 61, 0.22);
  transform-origin: center;
}

.nbfc-shell.is-authenticated .nbfc-tabbar.is-touching .nbfc-tabbar__liquid {
  transform: translate3d(var(--nbfc-tab-liquid-x), 0, 0) scale(var(--nbfc-tab-liquid-scale)) !important;
  filter: saturate(1.25);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button {
  min-width: 0 !important;
  height: 56px !important;
  padding: 5px 2px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  color: rgba(255, 246, 216, 0.82) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button {
  color: rgba(6, 19, 31, 0.74) !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-cream) !important;
  transform: none !important;
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active {
  color: var(--nbfc-ink) !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button svg {
  width: 21px !important;
  height: 21px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button span {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.64rem !important;
  font-weight: 850 !important;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.nbfc-desktop-sidebar {
  display: none;
}

.nbfc-desktop-sidebar__brand,
.nbfc-desktop-nav,
.nbfc-desktop-nav button {
  min-width: 0;
}

.nbfc-desktop-nav b[data-notification-count] {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background: #b5363d;
  color: #fff6d8;
  font-size: 0.62rem;
  font-weight: 950;
}

@media (min-width: 768px) {
  body.nbfc-app-body.nbfc-auth-body,
  .nbfc-shell.is-authenticated {
    overflow: hidden !important;
  }

  .nbfc-shell.is-authenticated .nbfc-app-layout {
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 24px 28px 28px 292px !important;
    overflow: auto !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    left: 292px !important;
    right: 28px !important;
    min-height: 64px !important;
    padding: 0 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar::before,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
    top: 0 !important;
    height: 64px !important;
    border-radius: 20px;
  }

  .nbfc-shell.is-authenticated .nbfc-brand,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    display: none !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
    height: 64px !important;
    padding-right: 12px !important;
  }

  .nbfc-desktop-sidebar {
    position: fixed;
    top: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 130;
    display: flex !important;
    width: 236px;
    flex-direction: column;
    gap: 20px;
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(255, 246, 216, 0.18);
    background:
      radial-gradient(circle at 16% 8%, rgba(53, 220, 232, 0.14), transparent 36%),
      radial-gradient(circle at 110% 94%, rgba(181, 54, 61, 0.18), transparent 42%),
      linear-gradient(180deg, rgba(3, 12, 22, 0.84), rgba(7, 22, 34, 0.66));
    box-shadow:
      0 24px 80px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(1.45);
    -webkit-backdrop-filter: blur(20px) saturate(1.45);
  }

  .nbfc-shell[data-theme="day"] .nbfc-desktop-sidebar {
    border-color: rgba(6, 19, 31, 0.12);
    background:
      radial-gradient(circle at 16% 8%, rgba(53, 220, 232, 0.18), transparent 36%),
      radial-gradient(circle at 110% 94%, rgba(181, 54, 61, 0.14), transparent 42%),
      rgba(255, 255, 255, 0.58);
  }

  .nbfc-desktop-sidebar__brand {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 66px;
  }

  .nbfc-desktop-sidebar__brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(53, 220, 232, 0.42));
  }

  .nbfc-desktop-sidebar__brand strong {
    display: block;
    color: var(--nbfc-cream);
    font-size: 1.18rem;
    font-weight: 950;
    line-height: 1;
  }

  .nbfc-shell[data-theme="day"] .nbfc-desktop-sidebar__brand strong {
    color: var(--nbfc-ink);
  }

  .nbfc-desktop-sidebar__brand span {
    display: block;
    margin-top: 3px;
    color: var(--nbfc-cyan);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .nbfc-desktop-nav {
    display: grid;
    gap: 8px;
  }

  .nbfc-desktop-nav button {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 246, 216, 0.1);
    display: flex;
    align-items: center;
    gap: 11px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 246, 216, 0.78);
    font-size: 0.82rem;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
  }

  .nbfc-shell[data-theme="day"] .nbfc-desktop-nav button {
    border-color: rgba(6, 19, 31, 0.1);
    background: rgba(255, 255, 255, 0.42);
    color: rgba(6, 19, 31, 0.72);
  }

  .nbfc-desktop-nav button svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
  }

  .nbfc-desktop-nav button.is-active {
    border-color: rgba(53, 220, 232, 0.46);
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 38%),
      linear-gradient(135deg, rgba(53, 220, 232, 0.22), rgba(181, 54, 61, 0.18));
    color: var(--nbfc-cream);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .nbfc-shell[data-theme="day"] .nbfc-desktop-nav button.is-active {
    color: var(--nbfc-ink);
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    display: none !important;
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel {
    margin-top: 88px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-player-views {
    max-width: 1180px;
    margin: 0 auto !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"] {
    min-height: 560px !important;
  }

  .nbfc-player-stage--clean {
    height: auto !important;
    min-height: 560px !important;
    border: 1px solid rgba(255, 246, 216, 0.14) !important;
    border-radius: 28px !important;
    background:
      radial-gradient(circle at 12% 12%, rgba(53, 220, 232, 0.12), transparent 36%),
      radial-gradient(circle at 84% 110%, rgba(181, 54, 61, 0.18), transparent 42%),
      linear-gradient(135deg, rgba(3, 12, 22, 0.58), rgba(7, 22, 34, 0.36)) !important;
    box-shadow:
      0 24px 80px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  }

  .nbfc-shell[data-theme="day"] .nbfc-player-stage--clean {
    border-color: rgba(6, 19, 31, 0.12) !important;
    background:
      radial-gradient(circle at 12% 12%, rgba(53, 220, 232, 0.18), transparent 36%),
      radial-gradient(circle at 84% 110%, rgba(181, 54, 61, 0.12), transparent 42%),
      rgba(255, 255, 255, 0.52) !important;
  }

  .nbfc-player-stage--clean::before {
    height: 56%;
    background:
      radial-gradient(circle at 88% 55%, rgba(181, 54, 61, 0.18), transparent 34%),
      linear-gradient(180deg, transparent, rgba(3, 12, 22, 0.56) 60%, rgba(3, 12, 22, 0.82));
  }

  .nbfc-player-stage--clean .nbfc-player-stage__avatar {
    position: absolute !important;
    right: 2% !important;
    bottom: -5% !important;
    height: min(62vh, 620px) !important;
    z-index: 7 !important;
    transform: rotate(-1deg) !important;
  }

  .nbfc-home-priority {
    left: 32px;
    right: auto;
    bottom: 32px;
    width: min(430px, 42vw);
    padding: 22px;
  }

  .nbfc-home-priority strong {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
  }

  .nbfc-home-priority p {
    max-width: 34ch;
    font-size: 0.95rem;
  }

  .nbfc-shell.is-authenticated .nbfc-view:not([data-view-panel="home"]) {
    max-width: 1180px;
    margin: 0 auto;
  }
}

/* 0.15.3 - centered home scene with layered player depth */
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean {
  display: grid !important;
  place-items: start center !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  position: relative !important;
  isolation: isolate;
  width: min(72%, 760px) !important;
  min-height: clamp(320px, 52dvh, 470px) !important;
  margin-inline: auto !important;
  overflow: hidden !important;
  border-color: rgba(53, 220, 232, 0.42) !important;
  background:
    linear-gradient(145deg, rgba(2, 12, 22, 0.86), rgba(3, 24, 38, 0.76)) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(181, 54, 61, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::before,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::before {
  z-index: -2;
  background: url("../images/nbfc-action-night-bg.png") center 34% / cover no-repeat;
  opacity: 0.3;
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.025);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 12, 22, 0.94) 0%, rgba(2, 14, 24, 0.76) 54%, rgba(2, 14, 24, 0.42) 100%),
    linear-gradient(180deg, rgba(2, 12, 22, 0.22), rgba(2, 12, 22, 0.76));
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  border-color: rgba(8, 91, 113, 0.38) !important;
  background: linear-gradient(145deg, rgba(255, 250, 235, 0.88), rgba(211, 233, 237, 0.78)) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::before {
  background-image: url("../images/nbfc-action-day-bg.png");
  opacity: 0.28;
  filter: saturate(0.9) contrast(0.92);
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::after {
  background:
    linear-gradient(90deg, rgba(255, 250, 235, 0.96) 0%, rgba(237, 245, 241, 0.82) 56%, rgba(221, 239, 241, 0.48) 100%),
    linear-gradient(180deg, rgba(255, 250, 235, 0.2), rgba(216, 235, 238, 0.72));
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > article,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-poll,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-match {
  position: relative;
  z-index: 2;
  min-height: 100% !important;
  padding: 18px 18px 64px !important;
  overflow: hidden !important;
  background: linear-gradient(140deg, rgba(5, 25, 39, 0.74), rgba(2, 9, 17, 0.4)) !important;
  box-shadow:
    inset 3px 0 0 rgba(53, 220, 232, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.11) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-poll {
  box-shadow:
    inset 3px 0 0 var(--nbfc-red),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > article,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-poll,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-match {
  background: linear-gradient(140deg, rgba(255, 250, 235, 0.78), rgba(219, 236, 238, 0.48)) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  right: auto !important;
  bottom: 16px !important;
  left: 16px !important;
  z-index: 5 !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 14px !important;
  border-color: rgba(53, 220, 232, 0.58) !important;
  background: linear-gradient(145deg, rgba(5, 35, 50, 0.96), rgba(8, 91, 113, 0.9)) !important;
  color: var(--nbfc-cream) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 18px rgba(53, 220, 232, 0.22) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  border-color: rgba(181, 54, 61, 0.6) !important;
  background: linear-gradient(145deg, #c34a4d, #913039) !important;
  color: #fff8e6 !important;
  box-shadow: 0 10px 22px rgba(91, 29, 34, 0.24), 0 0 16px rgba(181, 54, 61, 0.18) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
  z-index: 30 !important;
  opacity: 0.98 !important;
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean {
    padding-bottom: 2px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    width: min(calc(100% - 32px), 420px) !important;
    height: clamp(300px, calc(100dvh - 302px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 430px) !important;
    min-height: 300px !important;
    max-height: 430px !important;
    margin-inline: auto !important;
    padding: 8px !important;
    border-radius: 24px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > article {
    padding: 14px 14px 60px !important;
    border-radius: 18px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
    right: -78px !important;
    bottom: calc(66px + env(safe-area-inset-bottom)) !important;
    height: min(63dvh, 570px) !important;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    height: clamp(276px, calc(100dvh - 286px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 350px) !important;
    min-height: 276px !important;
  }
}

/* 0.27.4 - stable hand-style card collection and centered preview */
.nbfc-card-collection-modal {
  overscroll-behavior: none;
}

.nbfc-card-collection__track {
  touch-action: pan-x;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.nbfc-card-collection__controls button {
  touch-action: manipulation;
}

.nbfc-card-collection__controls button:disabled {
  opacity: 0.35;
  cursor: default;
  filter: saturate(0.35);
}

.nbfc-player-card-edition.is-awarded::after {
  content: "STAFF";
  position: absolute;
  z-index: 8;
  top: 12px;
  left: 12px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--edition-light) 70%, transparent);
  border-radius: 999px;
  background: rgba(2, 10, 18, 0.72);
  color: var(--edition-light);
  font-size: 0.54rem;
  font-weight: 950;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nbfc-card-preview-modal {
  display: grid;
  place-items: center;
  padding:
    max(12px, env(safe-area-inset-top))
    max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
}

.nbfc-card-preview-modal[hidden] {
  display: none !important;
}

.nbfc-card-preview {
  position: relative;
  width: min(88vw, 470px) !important;
  max-width: 470px !important;
  max-height: min(90dvh, 760px) !important;
  margin: auto !important;
  padding: 13px !important;
  border-radius: 22px !important;
}

.nbfc-card-preview__art {
  width: auto;
  max-width: min(78vw, 390px);
  height: min(72dvh, 585px);
  aspect-ratio: 2 / 3;
}

.nbfc-card-preview__art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.nbfc-card-preview .nbfc-profile-modal__close {
  z-index: 5;
  top: 10px;
  right: 10px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(2, 12, 23, 0.78);
  color: #fff8e9;
}

.nbfc-shell[data-theme="day"] .nbfc-card-preview .nbfc-profile-modal__close {
  border-color: rgba(8, 34, 56, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: #082238;
}

@media (max-width: 767px) {
  .nbfc-card-collection-modal .nbfc-profile-modal__panel.nbfc-card-collection {
    height: var(--nbfc-app-height, 100dvh) !important;
    max-height: var(--nbfc-app-height, 100dvh) !important;
  }

  .nbfc-card-collection__track {
    scroll-snap-type: x mandatory;
  }

  .nbfc-player-card-edition {
    scroll-snap-align: center;
    transition:
      transform 190ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 190ms ease,
      filter 190ms ease;
  }

  .nbfc-player-card-edition[data-collection-offset="-2"] {
    transform: translate(34px, 18px) rotate(-9deg) scale(0.86);
  }

  .nbfc-player-card-edition[data-collection-offset="-1"] {
    transform: translate(16px, 10px) rotate(-5deg) scale(0.91);
  }

  .nbfc-player-card-edition[data-collection-offset="1"] {
    transform: translate(-16px, 10px) rotate(5deg) scale(0.91);
  }

  .nbfc-player-card-edition[data-collection-offset="2"] {
    transform: translate(-34px, 18px) rotate(9deg) scale(0.86);
  }

  .nbfc-player-card-edition.is-selected {
    transform: translate(0, 0) rotate(0) scale(1);
  }

  .nbfc-card-preview {
    width: min(90vw, 360px) !important;
    max-height: calc(var(--nbfc-app-height, 100dvh) - 24px) !important;
    padding: 10px !important;
  }

  .nbfc-card-preview__art {
    width: min(76vw, 300px);
    height: auto;
    max-height: calc(var(--nbfc-app-height, 100dvh) - 110px);
    aspect-ratio: 2 / 3;
  }

  .nbfc-card-preview__caption {
    padding: 7px 46px 0 4px;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-card-preview {
    width: min(84vw, 300px) !important;
  }

  .nbfc-card-preview__art {
    width: min(69vw, 245px);
  }
}

/* 0.27.2 - automatic theme, clearer home scenes and collectible preview */
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active::before {
  border-color: rgba(255, 255, 255, 0.4) !important;
  background:
    radial-gradient(circle at 38% 18%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(145deg, #c94d52, #9f2e35) !important;
  box-shadow:
    0 0 18px rgba(181, 54, 61, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active svg,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active span {
  color: #fff !important;
  text-shadow: 0 1px 7px rgba(35, 6, 9, 0.5) !important;
  filter: drop-shadow(0 1px 4px rgba(35, 6, 9, 0.46)) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="priority"] {
  background:
    linear-gradient(90deg, rgba(2, 11, 20, 0.58) 0%, rgba(2, 12, 22, 0.24) 50%, rgba(2, 12, 22, 0.04) 100%),
    linear-gradient(180deg, rgba(2, 9, 17, 0.02), rgba(2, 9, 17, 0.32)),
    url("../images/nbfc-home-priority-night.jpg") center / cover no-repeat !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="results"] {
  background:
    linear-gradient(90deg, rgba(2, 11, 20, 0.54) 0%, rgba(2, 12, 22, 0.2) 54%, rgba(2, 12, 22, 0.03) 100%),
    linear-gradient(180deg, rgba(2, 9, 17, 0.02), rgba(2, 9, 17, 0.3)),
    url("../images/nbfc-home-results-night.jpg") center / cover no-repeat !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="upcoming"] {
  background:
    linear-gradient(90deg, rgba(2, 11, 20, 0.52) 0%, rgba(2, 12, 22, 0.18) 56%, rgba(2, 12, 22, 0.03) 100%),
    linear-gradient(180deg, rgba(2, 9, 17, 0.02), rgba(2, 9, 17, 0.31)),
    url("../images/nbfc-home-upcoming-night.jpg") center / cover no-repeat !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="priority"] {
  background:
    linear-gradient(90deg, rgba(252, 253, 246, 0.6) 0%, rgba(242, 249, 246, 0.22) 54%, rgba(235, 246, 245, 0.04) 100%),
    url("../images/nbfc-home-priority-day.jpg") center / cover no-repeat !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="results"] {
  background:
    linear-gradient(90deg, rgba(252, 253, 246, 0.58) 0%, rgba(240, 248, 246, 0.2) 56%, rgba(230, 243, 243, 0.04) 100%),
    url("../images/nbfc-home-results-day.jpg") center / cover no-repeat !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="upcoming"] {
  background:
    linear-gradient(90deg, rgba(252, 253, 246, 0.58) 0%, rgba(240, 248, 246, 0.18) 58%, rgba(230, 243, 243, 0.03) 100%),
    url("../images/nbfc-home-upcoming-day.jpg") center / cover no-repeat !important;
}

.nbfc-collector-card--art[data-profile-card-preview] {
  cursor: zoom-in;
}

.nbfc-card-preview-modal .nbfc-profile-modal__scrim {
  background: rgba(1, 6, 13, 0.72);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
}

.nbfc-card-preview {
  width: min(92vw, 560px) !important;
  max-width: 560px !important;
  max-height: calc(100dvh - 30px) !important;
  padding: 14px !important;
  overflow: visible !important;
  border: 1px solid rgba(255, 246, 216, 0.28) !important;
  border-radius: 24px !important;
  background: rgba(2, 12, 23, 0.76) !important;
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.66),
    0 0 42px rgba(53, 220, 232, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.nbfc-card-preview__art {
  position: relative;
  width: min(74vw, 390px);
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid rgba(53, 220, 232, 0.58);
  border-radius: 18px;
  background: #020910;
  box-shadow:
    0 0 0 5px rgba(255, 246, 216, 0.08),
    0 0 34px rgba(53, 220, 232, 0.28);
}

.nbfc-card-preview__art::after {
  position: absolute;
  inset: -40% -70%;
  content: "";
  pointer-events: none;
  background: linear-gradient(110deg, transparent 39%, rgba(255, 255, 255, 0.38) 49%, transparent 59%);
  transform: translateX(-42%) rotate(8deg);
  animation: nbfc-card-preview-shine 5.4s ease-in-out infinite;
}

.nbfc-card-preview__art img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 150px);
  object-fit: contain;
}

.nbfc-card-preview__caption {
  padding: 11px 42px 2px 6px;
}

.nbfc-card-preview__caption p {
  margin: 0 0 2px;
  color: var(--nbfc-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nbfc-card-preview__caption h2 {
  margin: 0;
  color: var(--nbfc-cream);
  font-size: clamp(1.15rem, 5vw, 1.65rem);
}

.nbfc-shell[data-theme="day"] .nbfc-card-preview {
  border-color: rgba(8, 55, 73, 0.22) !important;
  background: rgba(246, 250, 247, 0.84) !important;
}

.nbfc-shell[data-theme="day"] .nbfc-card-preview__caption h2 {
  color: #08283c;
}

@keyframes nbfc-card-preview-shine {
  0%,
  30% {
    transform: translateX(-46%) rotate(8deg);
  }
  72%,
  100% {
    transform: translateX(46%) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-card-preview__art::after {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::before {
    transform: none;
  }
}

@media (min-width: 1180px) {
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    padding-left: 320px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    left: 320px !important;
  }

  .nbfc-desktop-sidebar {
    width: 260px;
  }
}

@media (max-width: 370px) {
  .nbfc-home-priority {
    right: 82px;
    padding: 12px;
  }

  .nbfc-home-priority p {
    display: none;
  }

  .nbfc-player-stage--clean .nbfc-player-stage__avatar {
    right: max(-48px, calc((100vw - 480px) / 2 - 52px)) !important;
    height: min(56dvh, 460px) !important;
  }
}

.nbfc-sport-match-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 15px !important;
  border-color: rgba(53, 220, 232, 0.22) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.15), transparent 34%),
    linear-gradient(150deg, rgba(6, 25, 40, 0.96), rgba(3, 10, 18, 0.96)) !important;
}

.nbfc-sport-match-card__head,
.nbfc-sport-match-card__fixture,
.nbfc-sport-match-card__meta {
  display: flex;
  align-items: center;
}

.nbfc-sport-match-card__head {
  justify-content: space-between;
  gap: 10px;
}

.nbfc-sport-match-card__head small {
  overflow: hidden;
  color: rgba(255, 246, 216, 0.62);
  font-size: 0.66rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nbfc-sport-match-card__fixture {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 11px;
}

.nbfc-sport-match-card__crest,
.nbfc-sport-match-card__opponent {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 246, 216, 0.14);
  border-radius: 16px;
  background: rgba(255, 246, 216, 0.055);
  color: var(--nbfc-cyan);
  font-size: 0.75rem;
  font-weight: 950;
}

.nbfc-sport-match-card__crest img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.nbfc-sport-match-card__fixture > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.nbfc-sport-match-card__fixture > div > strong {
  overflow: hidden;
  color: var(--nbfc-cream);
  font-size: 0.94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nbfc-sport-match-card__fixture em {
  color: var(--nbfc-cyan);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-sport-match-card__fixture em.is-loss { color: #ff6471; }
.nbfc-sport-match-card__fixture em.is-draw { color: #ffb13d; }
.nbfc-sport-match-card__fixture > b { color: var(--nbfc-cream); font-size: 1.32rem; white-space: nowrap; }

.nbfc-sport-match-card__meta {
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 246, 216, 0.1);
}

.nbfc-sport-match-card__meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 10px;
  background: rgba(255, 246, 216, 0.055);
  color: rgba(255, 246, 216, 0.7);
  font-size: 0.66rem;
  font-weight: 850;
}

.nbfc-sport-match-card__meta svg {
  width: 14px;
  height: 14px;
  color: var(--nbfc-cyan);
}

.nbfc-sport-match-card__meta strong {
  font: inherit;
}

/* 0.4.54 - per-player home avatar + five-tab mobile navigation */
.nbfc-home-priority {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  min-height: calc(64px + env(safe-area-inset-top)) !important;
  padding-top: calc(5px + env(safe-area-inset-top)) !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar::before,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  top: calc(3px + env(safe-area-inset-top)) !important;
  height: 58px !important;
  border-radius: 19px;
  background:
    radial-gradient(circle at 12% 0%, rgba(53, 220, 232, 0.18), transparent 34%),
    radial-gradient(circle at 98% 120%, rgba(181, 54, 61, 0.14), transparent 40%),
    linear-gradient(135deg, rgba(3, 12, 22, 0.78), rgba(7, 22, 34, 0.52));
}

.nbfc-shell.is-authenticated .nbfc-brand,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  width: 70px !important;
  height: 58px !important;
  padding-left: 9px !important;
}

.nbfc-shell.is-authenticated .nbfc-brand img,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 50px !important;
  height: 50px !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
  height: 58px !important;
  gap: 7px !important;
  padding-right: 8px !important;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle,
.nbfc-shell.is-authenticated .nbfc-mode-toggle,
.nbfc-shell.is-authenticated .nbfc-icon-button,
.nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-icon-button {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  border-radius: 16px !important;
}

.nbfc-shell.is-authenticated .nbfc-app-layout {
  padding-top: calc(78px + env(safe-area-inset-top)) !important;
}

.nbfc-player-stage--clean .nbfc-player-stage__avatar {
  right: max(-28px, calc((100vw - 480px) / 2 - 38px)) !important;
  bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  height: min(62dvh, 540px) !important;
}

.nbfc-player-stage--clean .nbfc-player-stage__avatar--badge {
  position: fixed !important;
  right: max(22px, calc((100vw - 480px) / 2 + 22px)) !important;
  bottom: calc(138px + env(safe-area-inset-bottom)) !important;
  height: min(30dvh, 220px) !important;
  opacity: 0.72;
  transform: none !important;
  -webkit-mask-image: none;
  mask-image: none;
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  height: 76px !important;
  max-width: 456px !important;
  padding: 8px !important;
  border-radius: 25px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
  top: 8px !important;
  height: 60px !important;
  border-radius: 19px !important;
  background:
    radial-gradient(circle at 38% 0%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, rgba(181, 54, 61, 0.5), rgba(53, 220, 232, 0.18));
}

.nbfc-shell.is-authenticated .nbfc-tabbar button {
  height: 60px !important;
  padding: 5px 1px !important;
  border-radius: 19px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button svg {
  width: 20px !important;
  height: 20px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button span {
  font-size: 0.58rem !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__poll svg {
  width: 22px !important;
  height: 22px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__poll.is-active {
  color: var(--nbfc-cream) !important;
}

@media (min-width: 768px) {
  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    min-height: 64px !important;
    padding-top: 0 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar::before,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
    top: 0 !important;
    height: 64px !important;
  }

  .nbfc-player-stage--clean .nbfc-player-stage__avatar {
    right: 2% !important;
    bottom: -5% !important;
    height: min(62vh, 620px) !important;
  }

  .nbfc-player-stage--clean .nbfc-player-stage__avatar--badge {
    right: 6% !important;
    bottom: 8% !important;
    height: min(34vh, 300px) !important;
  }
}

@media (max-width: 370px) {
  .nbfc-shell.is-authenticated .nbfc-tabbar button span {
    font-size: 0.53rem !important;
  }

  .nbfc-player-stage--clean .nbfc-player-stage__avatar {
    right: max(-44px, calc((100vw - 480px) / 2 - 50px)) !important;
    height: min(59dvh, 500px) !important;
  }

  .nbfc-player-stage--clean .nbfc-player-stage__avatar--badge {
    right: 18px !important;
    height: min(28dvh, 190px) !important;
  }
}

/* 0.4.56 - cleaner fixed HUD, single theme icon, stable avatar and tighter tab focus */
.nbfc-shell.is-authenticated .nbfc-topbar,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  min-height: calc(78px + env(safe-area-inset-top)) !important;
  padding: calc(8px + env(safe-area-inset-top)) 14px 8px !important;
  background:
    linear-gradient(180deg, rgba(3, 12, 22, 0.64), rgba(3, 12, 22, 0.22) 72%, transparent) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-topbar,
.nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-topbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18) 72%, transparent) !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar::before,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar::before {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-brand,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  width: 82px !important;
  height: 62px !important;
  padding: 0 !important;
  justify-content: center !important;
}

.nbfc-shell.is-authenticated .nbfc-brand img,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 62px !important;
  height: 62px !important;
  filter:
    drop-shadow(0 9px 18px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 16px rgba(53, 220, 232, 0.36)) !important;
}

.nbfc-shell.is-authenticated .nbfc-topbar__actions,
.nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
  height: 62px !important;
  gap: 8px !important;
  padding-right: 0 !important;
}

.nbfc-shell.is-authenticated .nbfc-notification-toggle,
.nbfc-shell.is-authenticated .nbfc-mode-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 17px !important;
  border-color: rgba(255, 246, 216, 0.2) !important;
  background:
    radial-gradient(circle at 35% 8%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(3, 12, 22, 0.72), rgba(7, 22, 34, 0.56)) !important;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle .nbfc-theme-icon,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle .nbfc-theme-icon {
  display: none !important;
}

.nbfc-shell[data-theme="night"].is-authenticated .nbfc-mode-toggle .nbfc-theme-icon--night,
.nbfc-shell[data-theme="night"].is-dashboard-scrolled .nbfc-mode-toggle .nbfc-theme-icon--night,
.nbfc-shell[data-theme="day"].is-authenticated .nbfc-mode-toggle .nbfc-theme-icon--day,
.nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-mode-toggle .nbfc-theme-icon--day {
  display: inline-flex !important;
}

.nbfc-shell.is-authenticated .nbfc-mode-toggle strong,
.nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle strong {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-app-layout {
  padding-top: calc(86px + env(safe-area-inset-top)) !important;
}

.nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"].is-active,
.nbfc-shell.is-authenticated .nbfc-player-stage--clean {
  overflow: hidden !important;
}

.nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"].is-active .nbfc-player-stage__avatar:not(.nbfc-player-stage__avatar--badge) {
  position: fixed !important;
  right: max(-22px, calc((100vw - 480px) / 2 - 30px)) !important;
  bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  height: min(63dvh, 560px) !important;
  z-index: 12 !important;
  transform: translateY(8%) rotate(-1deg) !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  height: 74px !important;
  padding: 9px !important;
  border-radius: 28px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
  top: 9px !important;
  height: 56px !important;
  border-radius: 999px !important;
  border-color: rgba(255, 246, 216, 0.22) !important;
  background:
    radial-gradient(circle at 38% 0%, rgba(255, 255, 255, 0.25), transparent 42%),
    linear-gradient(135deg, rgba(181, 54, 61, 0.42), rgba(53, 220, 232, 0.14)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 22px rgba(181, 54, 61, 0.16) !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar.is-touching .nbfc-tabbar__liquid {
  transform: translate3d(var(--nbfc-tab-liquid-x), 0, 0) scale(var(--nbfc-tab-liquid-scale)) !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button {
  height: 56px !important;
  border-radius: 999px !important;
  gap: 3px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button svg,
.nbfc-shell.is-authenticated .nbfc-tabbar__poll svg {
  width: 19px !important;
  height: 19px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button span {
  font-size: 0.56rem !important;
}

@media (min-width: 768px) {
  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    left: 292px !important;
    right: 0 !important;
    min-height: 86px !important;
    padding: 14px 28px 12px 0 !important;
    background:
      linear-gradient(180deg, rgba(3, 12, 22, 0.58), rgba(3, 12, 22, 0.16) 76%, transparent) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
    height: 60px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-notification-toggle,
  .nbfc-shell.is-authenticated .nbfc-mode-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle {
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
  }

  .nbfc-desktop-sidebar__brand {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    min-height: 82px !important;
  }

  .nbfc-desktop-sidebar__brand img {
    width: 74px !important;
    height: 74px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"].is-active .nbfc-player-stage__avatar:not(.nbfc-player-stage__avatar--badge) {
    position: fixed !important;
    right: 3vw !important;
    bottom: 28px !important;
    height: min(72vh, 720px) !important;
    z-index: 8 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel {
    margin-top: 100px !important;
  }
}

@media (min-width: 1180px) {
  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    left: 320px !important;
  }
}

@media (max-width: 370px) {
  .nbfc-shell.is-authenticated .nbfc-brand img,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 56px !important;
    height: 56px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-notification-toggle,
  .nbfc-shell.is-authenticated .nbfc-mode-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }
}

/* 0.4.60 - true fixed transparent player avatar + centered neon tab focus */
.nbfc-fixed-player-avatar {
  display: none;
  position: fixed;
  right: max(-22px, calc((100vw - 480px) / 2 - 30px));
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 22;
  width: auto;
  height: min(66dvh, 600px);
  max-width: none;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  outline: 0 !important;
  mix-blend-mode: normal !important;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  transform: translateY(8%) rotate(-1deg);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  user-select: none;
}

.nbfc-fixed-player-avatar--badge {
  right: max(18px, calc((100vw - 480px) / 2 + 18px));
  bottom: calc(138px + env(safe-area-inset-bottom));
  height: min(30dvh, 220px);
  opacity: 0.78;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
  display: block;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean .nbfc-player-stage__avatar {
  display: none !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-view[data-view-panel="home"] .nbfc-player-stage__avatar {
  display: none !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean::before,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean::after {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-brand,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  width: 102px !important;
  height: 76px !important;
}

.nbfc-shell.is-authenticated .nbfc-brand img,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 76px !important;
  height: 76px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  --nbfc-tab-liquid-w: 54px;
  --nbfc-tab-liquid-x: 10px;
  height: 78px !important;
  padding: 9px !important;
  border-radius: 30px !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
  display: none !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button {
  position: relative !important;
  height: 60px !important;
  border-radius: 999px !important;
  isolation: isolate;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: -1;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 246, 216, 0.42), transparent 24%),
    radial-gradient(circle, rgba(53, 220, 232, 0.95) 0%, rgba(53, 220, 232, 0.34) 46%, rgba(181, 54, 61, 0.24) 70%, transparent 100%);
  box-shadow:
    0 0 18px rgba(53, 220, 232, 0.74),
    0 0 30px rgba(181, 54, 61, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: translateX(-50%) scale(0.72);
  transition:
    opacity 190ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-preview::before {
  opacity: 0.72;
  transform: translateX(-50%) scale(0.92);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button svg,
.nbfc-shell.is-authenticated .nbfc-tabbar__poll svg {
  position: relative;
  z-index: 1;
  width: 22px !important;
  height: 22px !important;
  transition:
    color 180ms ease,
    filter 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active svg {
  color: #031019 !important;
  filter: drop-shadow(0 0 10px rgba(53, 220, 232, 0.72));
  transform: translateY(-1px) scale(1.08);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-preview:not(.is-active) svg {
  color: var(--nbfc-cyan) !important;
  filter: drop-shadow(0 0 10px rgba(53, 220, 232, 0.72));
  transform: translateY(-1px) scale(1.05);
}

.nbfc-shell.is-authenticated .nbfc-tabbar button span {
  position: relative;
  z-index: 1;
  margin-top: 1px;
  font-size: 0.55rem !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active span {
  color: var(--nbfc-cyan) !important;
  text-shadow: 0 0 12px rgba(53, 220, 232, 0.58);
}

@media (min-width: 768px) {
  .nbfc-fixed-player-avatar {
    right: 3vw;
    bottom: 18px;
    height: min(74vh, 760px);
    z-index: 20;
  }

  .nbfc-fixed-player-avatar--badge {
    right: 6vw;
    bottom: 8vh;
    height: min(34vh, 320px);
  }

  .nbfc-desktop-sidebar__brand {
    grid-template-columns: 82px minmax(0, 1fr) !important;
  }

  .nbfc-desktop-sidebar__brand img {
    width: 82px !important;
    height: 82px !important;
  }
}

@media (max-width: 370px) {
  .nbfc-shell.is-authenticated .nbfc-brand img,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 68px !important;
    height: 68px !important;
  }

  .nbfc-fixed-player-avatar {
    right: max(-34px, calc((100vw - 480px) / 2 - 42px));
    height: min(62dvh, 540px);
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button::before {
    width: 46px;
    height: 46px;
  }
}

/* 0.4.71 - fixed mobile home stack, compact actions, dark default */
.nbfc-mobile-home-card {
  display: none;
}

html:has(body.nbfc-home-lock),
body.nbfc-home-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.nbfc-home-lock {
  min-height: 100dvh;
}

.nbfc-notification-sheet {
  z-index: 1000 !important;
}

.nbfc-shell.is-notification-sheet-open .nbfc-fixed-player-avatar {
  z-index: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10%) rotate(-1deg) scale(0.98);
  transition:
    opacity 140ms ease,
    visibility 140ms ease,
    transform 180ms ease;
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-app-layout,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-panel {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-view[data-view-panel="home"] {
    min-height: calc(100dvh - 88px - env(safe-area-inset-top)) !important;
    overflow: visible !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean {
    height: calc(100dvh - 88px - env(safe-area-inset-top)) !important;
    min-height: 0 !important;
    overflow: visible !important;
    isolation: isolate;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    position: fixed !important;
    top: clamp(30px, 4.5dvh, 42px);
    bottom: calc(150px + env(safe-area-inset-bottom));
    left: max(14px, env(safe-area-inset-left));
    z-index: 24;
    display: grid;
    width: clamp(218px, 62vw, 286px);
    max-width: calc(100vw - 132px);
    min-height: 0;
    grid-template-rows: minmax(124px, 0.9fr) minmax(118px, 0.74fr) minmax(142px, 0.86fr);
    gap: clamp(8px, 1.35dvh, 13px);
    padding: clamp(10px, 2.8vw, 14px);
    overflow: hidden;
    border: 1px solid rgba(255, 246, 216, 0.18);
    border-radius: 28px;
    background:
      radial-gradient(circle at 8% 0%, rgba(181, 54, 61, 0.28), transparent 34%),
      radial-gradient(circle at 104% 16%, rgba(53, 220, 232, 0.24), transparent 30%),
      radial-gradient(circle at 50% 116%, rgba(53, 220, 232, 0.12), transparent 44%),
      linear-gradient(145deg, rgba(3, 12, 22, 0.78), rgba(3, 10, 18, 0.58));
    box-shadow:
      0 22px 64px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(53, 220, 232, 0.07),
      0 0 36px rgba(181, 54, 61, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(24px) saturate(1.55);
    -webkit-backdrop-filter: blur(24px) saturate(1.55);
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(181, 54, 61, 0.58), transparent 34%, rgba(53, 220, 232, 0.58)) top / 100% 1px no-repeat,
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 28%);
    opacity: 0.78;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    border-color: rgba(6, 19, 31, 0.15);
    background:
      radial-gradient(circle at 8% 0%, rgba(181, 54, 61, 0.18), transparent 34%),
      radial-gradient(circle at 104% 16%, rgba(53, 220, 232, 0.22), transparent 30%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(5, 20, 31, 0.42));
  }

  .nbfc-home-poll,
  .nbfc-home-match {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 246, 216, 0.12);
    border-radius: 22px;
    background:
      radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.12), transparent 32%),
      linear-gradient(150deg, rgba(5, 16, 27, 0.82), rgba(2, 7, 12, 0.64));
    box-shadow:
      0 14px 30px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .nbfc-home-poll {
    align-content: space-between;
    padding: clamp(12px, 3vw, 15px);
    border-color: rgba(181, 54, 61, 0.52);
    background:
      radial-gradient(circle at 100% 16%, rgba(53, 220, 232, 0.16), transparent 32%),
      radial-gradient(circle at 0% 0%, rgba(181, 54, 61, 0.24), transparent 36%),
      linear-gradient(150deg, rgba(5, 16, 27, 0.86), rgba(2, 7, 12, 0.66));
  }

  .nbfc-home-poll__badge,
  .nbfc-home-card-title {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
    margin: 0;
    color: var(--nbfc-red);
    font-size: clamp(0.64rem, 2.8vw, 0.76rem);
    font-weight: 950;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(181, 54, 61, 0.44);
  }

  .nbfc-home-poll__badge svg,
  .nbfc-home-card-title svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: currentColor;
  }

  .nbfc-home-poll__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    align-items: center;
    gap: 8px;
    min-height: 0;
  }

  .nbfc-home-poll h3,
  .nbfc-home-empty strong {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--nbfc-cream);
    font-size: clamp(1.05rem, 5vw, 1.38rem);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: 0;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .nbfc-home-poll p,
  .nbfc-home-empty span {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    color: rgba(255, 246, 216, 0.66);
    font-size: clamp(0.73rem, 3.3vw, 0.86rem);
    font-weight: 780;
    line-height: 1.22;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .nbfc-home-poll.is-empty h3,
  .nbfc-home-match.is-empty .nbfc-home-empty strong {
    font-size: clamp(0.92rem, 4.4vw, 1.14rem);
    line-height: 1.08;
  }

  .nbfc-home-poll.is-empty p,
  .nbfc-home-match.is-empty .nbfc-home-empty span {
    font-size: clamp(0.68rem, 3.1vw, 0.78rem);
  }

  .nbfc-home-poll.is-empty .nbfc-home-poll__art {
    opacity: 0.22;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-home-poll h3,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-home-empty strong {
    color: var(--nbfc-cream);
  }

  .nbfc-home-poll__art {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--nbfc-cyan);
    filter: drop-shadow(0 0 12px rgba(53, 220, 232, 0.56));
  }

  .nbfc-home-poll__art svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.8;
  }

  .nbfc-home-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: clamp(38px, 10.8vw, 46px);
    min-width: clamp(38px, 10.8vw, 46px);
    height: clamp(38px, 10.8vw, 46px);
    min-height: clamp(38px, 10.8vw, 46px);
    padding: 0;
    border: 1px solid rgba(255, 246, 216, 0.2);
    border-radius: 15px;
    background: linear-gradient(145deg, #d71f3a, #b5363d 52%, #8f1828);
    color: #fff8e6;
    box-shadow:
      0 12px 28px rgba(181, 54, 61, 0.34),
      0 0 18px rgba(181, 54, 61, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .nbfc-home-card-button svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
  }

  .nbfc-home-mini-action {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 246, 216, 0.16);
    border-radius: 14px;
    background:
      radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.18), transparent 34%),
      linear-gradient(145deg, rgba(53, 220, 232, 0.22), rgba(181, 54, 61, 0.2));
    color: var(--nbfc-cream);
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.26),
      0 0 16px rgba(53, 220, 232, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .nbfc-home-mini-action svg {
    width: 17px;
    height: 17px;
    filter: drop-shadow(0 0 8px rgba(53, 220, 232, 0.46));
  }

  .nbfc-home-match {
    align-content: space-between;
    padding: clamp(10px, 2.7vw, 13px);
    padding-right: clamp(48px, 13vw, 54px);
  }

  .nbfc-home-match--last {
    border-color: rgba(53, 220, 232, 0.38);
  }

  .nbfc-home-match--next {
    border-color: rgba(181, 92, 217, 0.46);
  }

  .nbfc-home-match--last .nbfc-home-card-title {
    color: var(--nbfc-cyan);
    text-shadow: 0 0 14px rgba(53, 220, 232, 0.38);
    padding-right: 8px;
  }

  .nbfc-home-match--next .nbfc-home-card-title {
    color: #d186ff;
    text-shadow: 0 0 14px rgba(209, 134, 255, 0.42);
    padding-right: 8px;
  }

  .nbfc-home-scoreline,
  .nbfc-home-versus {
    display: grid;
    grid-template-columns: minmax(48px, 1fr) auto minmax(48px, 1fr);
    align-items: center;
    gap: clamp(5px, 1.8vw, 10px);
    min-width: 0;
  }

  .nbfc-home-team {
    display: grid;
    justify-items: center;
    gap: 4px;
    min-width: 0;
  }

  .nbfc-home-team img,
  .nbfc-home-team > span {
    width: clamp(38px, 12vw, 54px);
    height: clamp(38px, 12vw, 54px);
  }

  .nbfc-home-team img {
    object-fit: contain;
    filter:
      drop-shadow(0 0 10px rgba(53, 220, 232, 0.34))
      drop-shadow(0 8px 12px rgba(0, 0, 0, 0.38));
  }

  .nbfc-home-team > span {
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 246, 216, 0.72);
    border-radius: 15px;
    background:
      radial-gradient(circle at 50% 0%, rgba(181, 54, 61, 0.48), transparent 38%),
      linear-gradient(145deg, rgba(5, 18, 34, 0.96), rgba(7, 30, 54, 0.84));
    color: var(--nbfc-cream);
    font-size: clamp(0.8rem, 3.7vw, 1rem);
    font-weight: 950;
    box-shadow: 0 0 16px rgba(255, 246, 216, 0.16);
  }

  .nbfc-home-team strong {
    width: 100%;
    overflow: hidden;
    color: var(--nbfc-cream);
    font-size: clamp(0.64rem, 3vw, 0.78rem);
    font-weight: 950;
    line-height: 1.05;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .nbfc-home-score {
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: clamp(1.72rem, 10vw, 2.8rem);
    font-weight: 950;
    line-height: 1;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.52);
  }

  .nbfc-home-score span,
  .nbfc-home-vs {
    color: var(--nbfc-cream);
    font-size: 0.76em;
    font-weight: 950;
  }

  .nbfc-home-vs {
    color: #d186ff;
    font-size: clamp(1.42rem, 8vw, 2.3rem);
    font-style: italic;
    text-shadow: 0 0 18px rgba(209, 134, 255, 0.42);
  }

  .nbfc-home-result {
    justify-self: center;
    width: min(120px, 62%);
    margin-top: -2px;
    padding-top: 5px;
    border-top: 1px solid rgba(53, 220, 232, 0.22);
    color: var(--nbfc-cyan);
    font-size: clamp(0.72rem, 3.4vw, 0.88rem);
    font-style: normal;
    font-weight: 950;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(53, 220, 232, 0.45);
  }

  .nbfc-home-result--loss {
    color: var(--nbfc-red);
    text-shadow: 0 0 12px rgba(181, 54, 61, 0.42);
  }

  .nbfc-home-result--draw {
    color: var(--nbfc-cream);
  }

  .nbfc-home-match small,
  .nbfc-home-match-meta span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 6px;
    overflow: hidden;
    color: rgba(255, 246, 216, 0.62);
    font-size: clamp(0.65rem, 3.1vw, 0.78rem);
    font-weight: 850;
    line-height: 1.12;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .nbfc-home-match small {
    justify-self: center;
  }

  .nbfc-home-match small svg,
  .nbfc-home-match-meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: currentColor;
  }

  .nbfc-home-match-meta {
    display: grid;
    gap: 7px;
    min-width: 0;
    margin-top: 2px;
  }

  .nbfc-home-match-meta span {
    color: rgba(255, 246, 216, 0.66);
  }

  .nbfc-home-match-meta span:nth-child(2) {
    color: #d186ff;
  }

  .nbfc-home-empty {
    align-self: center;
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .nbfc-home-empty strong {
    font-size: clamp(0.92rem, 4.2vw, 1.12rem);
    -webkit-line-clamp: 2;
  }

  .nbfc-home-empty span {
    margin: 0;
    -webkit-line-clamp: 2;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
    right: max(-72px, calc((100vw - 480px) / 2 - 64px));
    bottom: calc(72px + env(safe-area-inset-bottom));
    z-index: 34;
    height: min(70dvh, 640px);
    transform: translateY(8%) rotate(-1deg);
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    z-index: 170 !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    height: 78px !important;
    max-width: 456px !important;
    padding: 9px 10px !important;
    border-radius: 32px !important;
    border-color: rgba(255, 246, 216, 0.16) !important;
    background:
      radial-gradient(circle at 6% 0%, rgba(53, 220, 232, 0.18), transparent 34%),
      radial-gradient(circle at 94% 100%, rgba(181, 54, 61, 0.2), transparent 36%),
      linear-gradient(135deg, rgba(3, 12, 22, 0.8), rgba(7, 22, 34, 0.56)) !important;
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.48),
      0 0 26px rgba(53, 220, 232, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button {
    height: 58px !important;
    gap: 4px !important;
    border-radius: 21px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button::before {
    top: 2px;
    left: 50%;
    width: min(58px, calc(100% - 8px));
    height: 54px;
    border: 1px solid rgba(53, 220, 232, 0.16);
    border-radius: 22px;
    opacity: 0;
    background:
      radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.2), transparent 32%),
      linear-gradient(145deg, rgba(53, 220, 232, 0.2), rgba(181, 54, 61, 0.12));
    box-shadow:
      0 0 16px rgba(53, 220, 232, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateX(-50%) scale(0.9);
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-preview::before {
    opacity: 0.42;
    transform: translateX(-50%) scale(0.98);
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active::before {
    opacity: 0.72;
    transform: translateX(-50%) scale(1);
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button svg,
  .nbfc-shell.is-authenticated .nbfc-tabbar__poll svg {
    width: 23px !important;
    height: 23px !important;
    color: rgba(255, 246, 216, 0.72) !important;
    filter: none !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active svg {
    color: var(--nbfc-cyan) !important;
    filter: drop-shadow(0 0 12px rgba(53, 220, 232, 0.64)) !important;
    transform: translateY(-1px) scale(1.08);
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button span {
    color: rgba(255, 246, 216, 0.74) !important;
    font-size: 0.58rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em;
    text-transform: uppercase;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active span {
    color: var(--nbfc-cyan) !important;
    text-shadow: 0 0 10px rgba(53, 220, 232, 0.54);
  }
}

@media (max-width: 370px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    top: clamp(22px, 3.4dvh, 34px);
    bottom: calc(142px + env(safe-area-inset-bottom));
    width: 218px;
    max-width: calc(100vw - 112px);
    gap: 8px;
    padding: 10px;
    border-radius: 24px;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
    right: max(-92px, calc((100vw - 480px) / 2 - 78px));
    height: min(67dvh, 590px);
  }
}

/* 0.5.0 - unified home actions, convocations timeline, day/night tab accent */
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
  position: relative;
  padding-bottom: clamp(50px, 12vw, 58px) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  position: absolute !important;
  top: auto !important;
  right: 9px !important;
  bottom: 9px !important;
  z-index: 5;
  display: grid !important;
  place-items: center;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 246, 216, 0.2) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(53, 220, 232, 0.3), rgba(181, 54, 61, 0.82)) !important;
  color: #fff8e6 !important;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(53, 220, 232, 0.18),
    0 0 16px rgba(181, 54, 61, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action svg {
  width: 17px !important;
  height: 17px !important;
  filter: drop-shadow(0 0 8px rgba(255, 246, 216, 0.42));
}

.nbfc-shell.is-authenticated .nbfc-tabbar {
  --nbfc-tab-accent: var(--nbfc-cyan);
  --nbfc-tab-accent-rgb: 53, 220, 232;
  --nbfc-tab-active-ink: #031019;
}

.nbfc-shell.is-authenticated[data-theme="day"] .nbfc-tabbar {
  --nbfc-tab-accent: var(--nbfc-red);
  --nbfc-tab-accent-rgb: 181, 54, 61;
  --nbfc-tab-active-ink: #fff6d8;
}

.nbfc-shell.is-authenticated[data-theme="night"] .nbfc-tabbar {
  --nbfc-tab-accent: var(--nbfc-cyan);
  --nbfc-tab-accent-rgb: 53, 220, 232;
  --nbfc-tab-active-ink: #031019;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button::before {
  border-color: rgba(var(--nbfc-tab-accent-rgb), 0.26) !important;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(var(--nbfc-tab-accent-rgb), 0.42), rgba(var(--nbfc-tab-accent-rgb), 0.16)) !important;
  box-shadow:
    0 0 18px rgba(var(--nbfc-tab-accent-rgb), 0.44),
    0 0 34px rgba(var(--nbfc-tab-accent-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active svg {
  color: var(--nbfc-tab-accent) !important;
  filter: drop-shadow(0 0 12px rgba(var(--nbfc-tab-accent-rgb), 0.72)) !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-preview:not(.is-active) svg {
  color: var(--nbfc-tab-accent) !important;
  filter: drop-shadow(0 0 10px rgba(var(--nbfc-tab-accent-rgb), 0.62)) !important;
}

.nbfc-shell.is-authenticated .nbfc-tabbar button.is-active span {
  color: var(--nbfc-tab-accent) !important;
  text-shadow: 0 0 12px rgba(var(--nbfc-tab-accent-rgb), 0.58) !important;
}

.nbfc-convocation-shell {
  display: grid;
  gap: clamp(14px, 3vw, 20px);
  padding: clamp(12px, 3vw, 18px) 0 calc(92px + env(safe-area-inset-bottom));
}

.nbfc-convocation-timeline {
  display: grid;
  gap: 12px;
}

.nbfc-convocation-day {
  position: sticky;
  top: 8px;
  z-index: 3;
  width: fit-content;
  margin: 8px 0 -2px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 246, 216, 0.14);
  border-radius: 999px;
  background: rgba(5, 16, 29, 0.82);
  color: var(--nbfc-cyan);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.nbfc-convocation-card,
.nbfc-convocation-detail,
.nbfc-convocation-empty {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 216, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(53, 220, 232, 0.16), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(181, 54, 61, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(5, 13, 25, 0.88), rgba(3, 16, 26, 0.74));
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nbfc-convocation-card {
  display: grid;
  gap: 10px;
  min-height: 158px;
  padding: 16px 62px 16px 16px;
  cursor: pointer;
}

.nbfc-convocation-card::before,
.nbfc-convocation-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(110deg, rgba(53, 220, 232, 0.2), transparent 32%),
    linear-gradient(290deg, rgba(181, 54, 61, 0.22), transparent 34%);
  opacity: 0.62;
}

.nbfc-convocation-card > *,
.nbfc-convocation-detail > *,
.nbfc-convocation-empty > * {
  position: relative;
  z-index: 1;
}

.nbfc-convocation-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nbfc-convocation-type,
.nbfc-convocation-card__head em,
.nbfc-convocation-detail__head span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 246, 216, 0.08);
  color: var(--nbfc-cyan);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.nbfc-convocation-card__head em {
  color: var(--nbfc-cream);
  opacity: 0.8;
}

.nbfc-convocation-card > strong {
  color: var(--nbfc-cream);
  font-size: clamp(1.1rem, 4.8vw, 1.48rem);
  line-height: 1.02;
}

.nbfc-convocation-card > p {
  margin: 0;
  color: rgba(255, 246, 216, 0.72);
  font-size: 0.84rem;
  line-height: 1.4;
}

.nbfc-convocation-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nbfc-convocation-card__stats span {
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(255, 246, 216, 0.07);
  color: rgba(255, 246, 216, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.nbfc-convocation-card__stats strong {
  color: var(--nbfc-cyan);
}

.nbfc-convocation-card.is-present .nbfc-convocation-card__head em,
.nbfc-convocation-card.is-present .nbfc-convocation-card__stats strong {
  color: #7ee1a4;
}

.nbfc-convocation-card.is-maybe .nbfc-convocation-card__head em {
  color: #ffc36e;
}

.nbfc-convocation-card.is-absent .nbfc-convocation-card__head em {
  color: #dc777b;
}

.nbfc-convocation-card__open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 246, 216, 0.22);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(53, 220, 232, 0.36), rgba(181, 54, 61, 0.72));
  color: var(--nbfc-cream);
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(53, 220, 232, 0.18);
}

.nbfc-convocation-detail {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.nbfc-convocation-detail[hidden] {
  display: none !important;
}

.nbfc-convocation-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(255, 246, 216, 0.18);
  border-radius: 999px;
  background: rgba(255, 246, 216, 0.07);
  color: var(--nbfc-cream);
  padding: 8px 12px;
  font-weight: 900;
}

.nbfc-convocation-detail__image {
  display: block;
  min-height: 132px;
  border: 1px solid rgba(255, 246, 216, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(53, 220, 232, 0.2), transparent 34%),
    radial-gradient(circle at 80% 90%, rgba(181, 54, 61, 0.24), transparent 36%),
    url("../images/nbfc-action-night-bg.png") center / cover no-repeat;
  box-shadow: inset 0 -40px 50px rgba(0, 0, 0, 0.36);
}

.nbfc-convocation-detail__head {
  display: grid;
  gap: 8px;
}

.nbfc-convocation-detail__head p {
  margin: 0;
  color: var(--nbfc-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nbfc-convocation-detail__head h2 {
  margin: 0;
  color: var(--nbfc-cream);
  font-size: clamp(1.55rem, 7vw, 2.32rem);
  line-height: 0.96;
}

.nbfc-convocation-detail__copy,
.nbfc-convocation-status {
  margin: 0;
  color: rgba(255, 246, 216, 0.76);
  line-height: 1.45;
}

.nbfc-convocation-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.nbfc-convocation-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 246, 216, 0.06);
}

.nbfc-convocation-meta dt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nbfc-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nbfc-convocation-meta dt svg {
  width: 15px;
  height: 15px;
}

.nbfc-convocation-meta dd {
  margin: 0;
  color: var(--nbfc-cream);
  font-weight: 800;
}

.nbfc-convocation-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.nbfc-convocation-stats span {
  display: grid;
  gap: 2px;
  padding: 10px 8px;
  border-radius: 16px;
  background: rgba(255, 246, 216, 0.07);
  color: rgba(255, 246, 216, 0.62);
  font-size: 0.62rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.nbfc-convocation-stats strong {
  color: var(--nbfc-cyan);
  font-size: 1.18rem;
}

.nbfc-convocation-comment {
  display: grid;
  gap: 8px;
  color: var(--nbfc-cream);
  font-weight: 900;
}

.nbfc-convocation-comment textarea {
  min-height: 84px;
  resize: vertical;
  border: 1px solid rgba(255, 246, 216, 0.16);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--nbfc-cream);
  padding: 12px;
  font: inherit;
}

.nbfc-convocation-response {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.nbfc-convocation-response button {
  min-height: 48px;
  border: 1px solid rgba(255, 246, 216, 0.16);
  border-radius: 16px;
  background: rgba(255, 246, 216, 0.07);
  color: var(--nbfc-cream);
  font-weight: 950;
}

.nbfc-convocation-response button.is-selected {
  border-color: rgba(53, 220, 232, 0.62);
  background: linear-gradient(145deg, rgba(53, 220, 232, 0.28), rgba(181, 54, 61, 0.18));
  box-shadow: 0 0 22px rgba(53, 220, 232, 0.24);
}

.nbfc-convocation-response button[data-convocation-response="present"].is-selected {
  border-color: rgba(126, 225, 164, 0.72);
  background: linear-gradient(145deg, rgba(77, 170, 110, 0.36), rgba(9, 55, 42, 0.46));
}

.nbfc-convocation-response button[data-convocation-response="maybe"].is-selected {
  border-color: rgba(255, 195, 110, 0.72);
  background: linear-gradient(145deg, rgba(214, 139, 52, 0.34), rgba(62, 38, 15, 0.46));
}

.nbfc-convocation-response button[data-convocation-response="absent"].is-selected {
  border-color: rgba(220, 119, 123, 0.72);
  background: linear-gradient(145deg, rgba(174, 62, 70, 0.36), rgba(56, 14, 22, 0.46));
}

.nbfc-convocation-response button:disabled {
  opacity: 0.52;
}

.nbfc-convocation-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 190px;
  padding: 24px;
  text-align: center;
}

.nbfc-convocation-empty span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(53, 220, 232, 0.14);
  color: var(--nbfc-cyan);
  font-weight: 950;
}

.nbfc-convocation-empty strong {
  color: var(--nbfc-cream);
  font-size: 1.1rem;
}

.nbfc-convocation-empty p {
  margin: 0;
  color: rgba(255, 246, 216, 0.68);
}

@media (min-width: 768px) {
  .nbfc-convocation-shell {
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    align-items: start;
    padding-bottom: 24px;
  }

  .nbfc-convocation-timeline[hidden] {
    display: grid !important;
  }

  .nbfc-convocation-detail {
    position: sticky;
    top: 24px;
  }

  .nbfc-convocation-card > strong {
    font-size: 1.32rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-splash,
  .nbfc-splash *,
  .nbfc-bg,
  .nbfc-bg::before,
  .nbfc-bg::after,
  .nbfc-hero::after,
  .nbfc-access-glow,
  .nbfc-flow-step,
  .nbfc-flow-success,
  .nbfc-view,
  .nbfc-match-card::before,
  .nbfc-score-card::before,
  .nbfc-poll-card::before,
  .nbfc-profile-card::before,
  .nbfc-shell:not(.is-authenticated)[data-screen="access"] .nbfc-access-panel::before,
  .nbfc-primary::before,
  .nbfc-tabbar__liquid,
  .nbfc-notification-sheet,
  .nbfc-notification-sheet *,
  .nbfc-notification-card {
    animation: none;
    transition: none;
  }
}

/* 0.9.0 - player product layer: shared surfaces, timeline, sport hub */
.nbfc-shell {
  --nbfc-surface-1: rgba(4, 15, 27, 0.9);
  --nbfc-surface-2: rgba(8, 28, 44, 0.78);
  --nbfc-surface-line: rgba(255, 246, 216, 0.16);
  --nbfc-space-1: 8px;
  --nbfc-space-2: 12px;
  --nbfc-space-3: 18px;
  --nbfc-space-4: 26px;
}

.nbfc-shell.is-authenticated .nbfc-view-hero,
.nbfc-shell.is-authenticated .nbfc-convocation-card,
.nbfc-shell.is-authenticated .nbfc-convocation-detail,
.nbfc-shell.is-authenticated .nbfc-sport-match-card,
.nbfc-shell.is-authenticated .nbfc-standings-card {
  border-color: var(--nbfc-surface-line);
}

.nbfc-shell.is-authenticated .nbfc-view-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--nbfc-surface-line);
  border-radius: 24px;
  background:
    linear-gradient(112deg, rgba(181, 54, 61, 0.18), transparent 38%),
    linear-gradient(145deg, var(--nbfc-surface-1), var(--nbfc-surface-2));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nbfc-shell.is-authenticated .nbfc-view-hero::after {
  position: absolute;
  top: 0;
  right: 12%;
  width: 86px;
  height: 2px;
  content: "";
  background: var(--nbfc-cyan);
  box-shadow: 0 0 16px rgba(53, 220, 232, 0.74);
}

.nbfc-convocation-timeline {
  position: relative;
  padding-left: 15px;
}

.nbfc-convocation-timeline::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 3px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--nbfc-cyan), rgba(181, 54, 61, 0.42), transparent);
  box-shadow: 0 0 14px rgba(53, 220, 232, 0.24);
}

.nbfc-convocation-day {
  top: max(8px, env(safe-area-inset-top));
  margin-left: -15px;
  border-color: rgba(53, 220, 232, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.nbfc-convocation-card {
  min-height: 172px;
  padding: 17px 66px 17px 18px;
  border-radius: 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nbfc-convocation-card::after {
  position: absolute;
  top: 25px;
  left: -21px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--nbfc-cyan);
  border-radius: 50%;
  content: "";
  background: #071927;
  box-shadow: 0 0 15px rgba(53, 220, 232, 0.72);
}

.nbfc-convocation-card.is-training::after { border-color: var(--nbfc-cyan); }
.nbfc-convocation-card.is-match::after { border-color: var(--nbfc-red); box-shadow: 0 0 15px rgba(181, 54, 61, 0.7); }
.nbfc-convocation-card.is-poll::after { border-color: #d7b86a; box-shadow: 0 0 15px rgba(215, 184, 106, 0.65); }
.nbfc-convocation-card.is-club_event::after { border-color: var(--nbfc-cream); }

.nbfc-convocation-card:hover,
.nbfc-convocation-card:focus-visible {
  border-color: rgba(53, 220, 232, 0.6);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42), 0 0 22px rgba(53, 220, 232, 0.13);
  outline: none;
  transform: translateY(-2px);
}

.nbfc-convocation-card:active { transform: translateY(0) scale(0.99); }

.nbfc-convocation-card__head em {
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nbfc-convocation-card__stats span {
  min-width: 58px;
  border: 1px solid rgba(255, 246, 216, 0.08);
}

.nbfc-convocation-card__open {
  right: 15px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(53, 220, 232, 0.92), rgba(10, 91, 112, 0.9));
  color: #031019;
  box-shadow: 0 10px 25px rgba(53, 220, 232, 0.24);
}

.nbfc-convocation-detail {
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 0%, rgba(181, 54, 61, 0.22), transparent 29%),
    linear-gradient(145deg, rgba(4, 15, 27, 0.96), rgba(7, 28, 44, 0.88));
}

.nbfc-convocation-response {
  gap: 10px;
}

.nbfc-convocation-response button {
  min-height: 74px;
  border-radius: 19px;
  font-size: clamp(0.78rem, 3.4vw, 0.94rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.nbfc-convocation-response button:hover:not(:disabled),
.nbfc-convocation-response button:focus-visible:not(:disabled) {
  border-color: rgba(255, 246, 216, 0.42);
  outline: none;
  transform: translateY(-2px);
}

.nbfc-convocation-response button:active:not(:disabled) { transform: scale(0.97); }

.nbfc-convocation-response button[data-convocation-response="present"].is-selected {
  box-shadow: 0 0 0 1px rgba(126, 225, 164, 0.28), 0 14px 28px rgba(25, 119, 72, 0.24);
}

.nbfc-convocation-response button[data-convocation-response="maybe"].is-selected {
  box-shadow: 0 0 0 1px rgba(255, 195, 110, 0.28), 0 14px 28px rgba(154, 104, 27, 0.24);
}

.nbfc-convocation-response button[data-convocation-response="absent"].is-selected {
  box-shadow: 0 0 0 1px rgba(220, 119, 123, 0.28), 0 14px 28px rgba(132, 35, 49, 0.24);
}

.nbfc-convocation-status.is-success { color: #7ee1a4; }

.nbfc-match-hub {
  display: grid;
  gap: var(--nbfc-space-3);
  padding: var(--nbfc-space-2) 0 calc(104px + env(safe-area-inset-bottom));
}

.nbfc-sport-stack { display: grid; gap: 10px; }

.nbfc-sport-match-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--nbfc-surface-line);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(53, 220, 232, 0.13), transparent 20%),
    linear-gradient(145deg, rgba(3, 15, 28, 0.94), rgba(5, 25, 40, 0.78));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.nbfc-sport-match-card__marker {
  min-width: 56px;
  padding: 7px 6px;
  border: 1px solid rgba(53, 220, 232, 0.28);
  border-radius: 12px;
  color: var(--nbfc-cyan);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.nbfc-sport-match-card strong { display: block; color: var(--nbfc-cream); font-size: 0.98rem; line-height: 1.18; }
.nbfc-sport-match-card p,
.nbfc-sport-match-card small { display: block; margin: 4px 0 0; color: rgba(255, 246, 216, 0.64); font-size: 0.72rem; line-height: 1.25; }
.nbfc-sport-match-card p:empty { display: none; }
.nbfc-sport-match-card b { min-width: 48px; color: var(--nbfc-cream); font-size: 1.05rem; text-align: right; white-space: nowrap; }

.nbfc-standings-card {
  padding: 16px;
  border: 1px solid var(--nbfc-surface-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 8%, rgba(181, 54, 61, 0.23), transparent 27%),
    linear-gradient(145deg, rgba(5, 18, 31, 0.94), rgba(7, 31, 47, 0.78));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.nbfc-standings-card__head { display: flex; align-items: center; gap: 10px; }
.nbfc-standings-card__head > span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 13px; background: rgba(181, 54, 61, 0.17); color: var(--nbfc-red); }
.nbfc-standings-card__head svg { width: 20px; height: 20px; }
.nbfc-standings-card__head p { margin: 0; color: var(--nbfc-cyan); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.nbfc-standings-card__head strong { color: var(--nbfc-cream); font-size: 0.96rem; }
.nbfc-standings-list { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.nbfc-standings-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 38px; padding: 6px 8px; border-radius: 12px; color: rgba(255, 246, 216, 0.76); }
.nbfc-standings-list li:nth-child(odd) { background: rgba(255, 246, 216, 0.045); }
.nbfc-standings-list li.is-nbfc { background: rgba(53, 220, 232, 0.14); color: var(--nbfc-cream); box-shadow: inset 3px 0 0 var(--nbfc-cyan); }
.nbfc-standings-list b { color: var(--nbfc-cyan); font-size: 0.78rem; text-align: center; }
.nbfc-standings-list strong { overflow: hidden; font-size: 0.82rem; text-overflow: ellipsis; white-space: nowrap; }
.nbfc-standings-list span { color: var(--nbfc-cream); font-size: 0.72rem; font-weight: 900; }
.nbfc-standings-card__empty { margin: 14px 0 2px; color: rgba(255, 246, 216, 0.66); font-size: 0.82rem; line-height: 1.4; }

@media (min-width: 768px) {
  .nbfc-match-hub { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); align-items: start; padding-bottom: 34px; }
  .nbfc-standings-card { position: sticky; top: 24px; }
}

@media (max-width: 430px) {
  .nbfc-convocation-timeline { padding-left: 10px; }
  .nbfc-convocation-card::after { left: -16px; }
  .nbfc-convocation-card__head em { max-width: 46%; }
  .nbfc-convocation-response { gap: 7px; }
  .nbfc-convocation-response button { min-height: 66px; padding: 6px 3px; font-size: 0.7rem; }
  .nbfc-sport-match-card { gap: 8px; padding: 12px 10px; }
  .nbfc-sport-match-card__marker { min-width: 47px; font-size: 0.52rem; }
}

/* 0.9.1 - mobile accessibility and player decision flow */
.nbfc-skip-link {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 8px);
  left: 12px;
  z-index: 1200;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--nbfc-cream);
  color: #071927;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 140ms ease;
}

.nbfc-skip-link:focus { transform: translateY(0); outline: 3px solid var(--nbfc-cyan); outline-offset: 3px; }

.nbfc-shell :is(button, a, input, textarea, select, [role="button"]):focus-visible {
  outline: 3px solid var(--nbfc-cyan) !important;
  outline-offset: 3px;
}

.nbfc-shell[data-theme="day"] :is(button, a, input, textarea, select, [role="button"]):focus-visible {
  outline-color: var(--nbfc-red) !important;
}

.nbfc-player-views:focus { outline: none; }

.nbfc-polls-hero h1 {
  margin: 0;
  color: var(--nbfc-cream);
  font: inherit;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 950;
  line-height: 1.02;
}

.nbfc-polls-hero h1 + span { margin-top: 7px; }

.nbfc-convocation-card[role="button"] { touch-action: manipulation; }

.nbfc-convocation-card[aria-expanded="true"] {
  border-color: rgba(53, 220, 232, 0.82);
  box-shadow: 0 0 0 1px rgba(53, 220, 232, 0.26), 0 24px 56px rgba(0, 0, 0, 0.42);
}

.nbfc-convocation-card[aria-expanded="true"]::after { background: var(--nbfc-cyan); }

.nbfc-convocation-status { min-height: 1.5em; font-weight: 800; }
.nbfc-convocation-status.is-error { color: #ff9a9f; }

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    grid-template-rows: auto minmax(128px, 0.96fr) minmax(116px, 0.74fr) minmax(136px, 0.84fr);
    gap: clamp(7px, 1.1dvh, 11px);
    border-color: rgba(255, 246, 216, 0.24);
    background:
      linear-gradient(112deg, rgba(181, 54, 61, 0.2), transparent 37%),
      radial-gradient(circle at 104% 12%, rgba(53, 220, 232, 0.24), transparent 31%),
      linear-gradient(145deg, rgba(3, 12, 22, 0.84), rgba(3, 10, 18, 0.64));
  }

  .nbfc-home-overline {
    position: relative;
    z-index: 1;
    margin: 1px 3px 0;
    color: rgba(255, 246, 216, 0.76);
    font-size: 0.61rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
  }

  .nbfc-home-poll,
  .nbfc-home-match {
    border-color: rgba(255, 246, 216, 0.18);
    background:
      linear-gradient(125deg, rgba(255, 255, 255, 0.075), transparent 34%),
      linear-gradient(150deg, rgba(3, 15, 28, 0.92), rgba(2, 9, 16, 0.78));
  }

  .nbfc-home-poll.is-hot {
    border-color: rgba(181, 54, 61, 0.72);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3), inset 3px 0 0 var(--nbfc-red);
  }

  .nbfc-home-match--next { border-color: rgba(53, 220, 232, 0.44); }
  .nbfc-home-match--next .nbfc-home-card-title,
  .nbfc-home-match-meta span:nth-child(2) { color: var(--nbfc-cyan); text-shadow: 0 0 14px rgba(53, 220, 232, 0.34); }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
    right: 10px !important;
    bottom: 10px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 15px !important;
    background: linear-gradient(145deg, rgba(53, 220, 232, 0.96), rgba(19, 116, 139, 0.94)) !important;
    color: #031019 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(53, 220, 232, 0.26) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-action {
    background: linear-gradient(145deg, #d15a59, #9d3037) !important;
    color: var(--nbfc-cream) !important;
  }

  .nbfc-polls-hero {
    align-items: center;
    min-height: 148px;
    padding: 20px;
    border-color: rgba(53, 220, 232, 0.28);
    background:
      linear-gradient(115deg, rgba(181, 54, 61, 0.25), transparent 44%),
      rgba(3, 14, 25, 0.9);
  }

  .nbfc-polls-hero button {
    display: grid;
    place-items: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 16px;
  }

  .nbfc-polls-hero button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .nbfc-convocation-shell { padding-top: 16px; }

  .nbfc-convocation-card {
    min-height: 176px;
    padding: 17px 70px 17px 18px;
  }

  .nbfc-convocation-card > strong { font-size: clamp(1.16rem, 5.3vw, 1.42rem); }
  .nbfc-convocation-card > p { color: rgba(255, 246, 216, 0.82); font-size: 0.88rem; }
  .nbfc-convocation-card__stats span { min-height: 30px; padding: 7px 8px; }

  .nbfc-convocation-detail {
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
  }

  .nbfc-convocation-detail__image { min-height: 154px; }
  .nbfc-convocation-detail__head h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .nbfc-convocation-meta div { grid-template-columns: 86px minmax(0, 1fr); padding: 11px; }
  .nbfc-convocation-meta dt { font-size: 0.68rem; }
  .nbfc-convocation-meta dd { font-size: 0.91rem; line-height: 1.28; }

  .nbfc-convocation-response button {
    min-height: 76px;
    border-width: 2px;
    font-size: 0.73rem;
  }
}

@media (prefers-contrast: more) {
  .nbfc-shell.is-authenticated .nbfc-view-hero,
  .nbfc-convocation-card,
  .nbfc-convocation-detail,
  .nbfc-mobile-home-card,
  .nbfc-home-poll,
  .nbfc-home-match { border-width: 2px !important; }

  .nbfc-convocation-card > p,
  .nbfc-home-poll p,
  .nbfc-home-empty span { color: var(--nbfc-cream) !important; opacity: 1; }
}

/* 0.9.2 - keep the complete login flow above the native Safari toolbar */
@media (max-width: 767px) {
  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-app-layout {
    grid-template-rows: auto minmax(224px, 0.84fr) auto;
    gap: 8px;
    padding-top: calc(42px + env(safe-area-inset-top));
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-hero {
    min-height: clamp(224px, 31svh, 266px);
    padding-top: 8px;
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-hero__logo {
    width: clamp(156px, 42vw, 194px);
    height: clamp(156px, 42vw, 194px);
    margin-bottom: 12px;
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-hero h1 {
    margin-top: 4px;
    font-size: clamp(2.74rem, 13.5vw, 3.7rem);
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-login-panel {
    transform: none;
  }
}

/* 0.28.1 - full-bleed iOS canvas and compact mobile sports cards. */
@media (max-width: 767px) {
  html,
  body.nbfc-app-body {
    width: 100% !important;
    min-height: var(--nbfc-screen-height, 100dvh) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  html.nbfc-standalone .nbfc-shell::before,
  html.nbfc-standalone .nbfc-shell::after {
    display: none !important;
    background: transparent !important;
  }

  .nbfc-shell .nbfc-bg,
  .nbfc-shell .nbfc-bg::before,
  .nbfc-shell .nbfc-bg::after,
  .nbfc-shell .nbfc-noise {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: max(var(--nbfc-screen-height, 100dvh), 100dvh) !important;
    min-height: 100lvh !important;
  }

  .nbfc-shell.is-authenticated .nbfc-page-heading,
  .nbfc-shell.is-authenticated .nbfc-page-heading.nbfc-polls-hero {
    flex-basis: 52px !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 7px 4px 1px !important;
    align-items: center !important;
  }

  .nbfc-shell.is-authenticated .nbfc-page-heading h1,
  .nbfc-shell.is-authenticated .nbfc-page-heading.nbfc-polls-hero h1 {
    margin: 0 !important;
    line-height: 1.02 !important;
    transform: none !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: var(--nbfc-mobile-radius) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    display: flex !important;
    padding: 7px !important;
    isolation: isolate;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene] {
    flex: 1 1 auto;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    padding: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(53, 220, 232, 0.28) !important;
    border-radius: calc(var(--nbfc-mobile-radius) - 6px) !important;
    clip-path: inset(0 round calc(var(--nbfc-mobile-radius) - 6px));
    background-position: center !important;
    background-size: cover !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene][hidden] {
    display: none !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list {
    display: grid !important;
    grid-auto-rows: max-content;
    align-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list > .nbfc-home-poll {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 252px !important;
    max-height: 330px !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(53, 220, 232, 0.34) !important;
    border-radius: 17px !important;
    background:
      linear-gradient(145deg, rgba(2, 12, 22, 0.9), rgba(4, 31, 48, 0.76)),
      url("../images/nbfc-home-priority-night.jpg") center / cover no-repeat !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 34px rgba(0, 0, 0, 0.28) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-priority-list > .nbfc-home-poll {
    border-color: rgba(7, 96, 121, 0.3) !important;
    background:
      linear-gradient(145deg, rgba(255, 252, 239, 0.91), rgba(221, 241, 242, 0.76)),
      url("../images/nbfc-home-priority-day.jpg") center / cover no-repeat !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 14px 30px rgba(7, 38, 55, 0.16) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__badge {
    max-width: calc(100% - 48px) !important;
    padding: 7px 10px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 4px 0 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll h3 {
    max-width: 18ch !important;
    font-size: clamp(1.24rem, 6.3vw, 1.75rem) !important;
    line-height: 1 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 7px !important;
    overflow: visible !important;
    color: rgba(255, 246, 216, 0.82) !important;
    -webkit-line-clamp: unset !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll__meta {
    color: #385063 !important;
    text-shadow: none !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__art {
    display: grid !important;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(53, 220, 232, 0.11);
    color: #35dce8;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__art svg {
    width: 28px;
    height: 28px;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 5px !important;
    border-radius: 13px !important;
    font-size: clamp(0.62rem, 3vw, 0.73rem) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="present"] {
    background: rgba(17, 114, 71, 0.82) !important;
    color: #effff4 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="maybe"] {
    background: rgba(156, 93, 18, 0.82) !important;
    color: #fff8e8 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="absent"] {
    background: rgba(156, 47, 59, 0.84) !important;
    color: #fff4f5 !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="present"] {
    background: #168451 !important;
    color: #fff !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="maybe"] {
    background: #b86d13 !important;
    color: #fff !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="absent"] {
    background: #aa3741 !important;
    color: #fff !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll .nbfc-home-card-action {
    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 13px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow: hidden !important;
    border-radius: calc(var(--nbfc-mobile-radius) - 6px) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-results-layout {
    display: grid !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-result-summary, .nbfc-home-ranking-preview) {
    width: 100% !important;
    height: auto !important;
    min-height: 112px !important;
    max-height: 176px !important;
    overflow: auto !important;
    border-radius: 15px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview {
    align-self: auto !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match > .nbfc-home-card-action {
    top: 11px !important;
    right: 11px !important;
    bottom: auto !important;
    left: auto !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button:not(.is-active),
  .nbfc-shell.is-authenticated .nbfc-tabbar button:not(.is-active) svg,
  .nbfc-shell.is-authenticated .nbfc-tabbar button:not(.is-active) span {
    color: #fff2cf !important;
    opacity: 1 !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button:not(.is-active),
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button:not(.is-active) svg,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button:not(.is-active) span {
    color: #183548 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active::before {
    background: linear-gradient(145deg, #35dce8, #1393ab) !important;
    box-shadow: 0 0 0 1px rgba(165, 249, 255, 0.42), 0 0 22px rgba(53, 220, 232, 0.42) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active,
  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active svg,
  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active span {
    color: #031019 !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active::before {
    background: linear-gradient(145deg, #c44b50, #982f37) !important;
    box-shadow: 0 0 0 1px rgba(255, 225, 210, 0.58), 0 0 20px rgba(181, 54, 61, 0.34) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active svg,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active span {
    color: #fffaf0 !important;
  }
}

@media (max-width: 390px) and (max-height: 720px) {
  .nbfc-shell.is-authenticated .nbfc-page-heading,
  .nbfc-shell.is-authenticated .nbfc-page-heading.nbfc-polls-hero {
    flex-basis: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
    padding-top: 5px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene] {
    padding: 8px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list > .nbfc-home-poll {
    min-height: 232px !important;
    max-height: 280px !important;
    padding: 11px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button {
    min-height: 40px !important;
    height: 40px !important;
  }
}

@media (display-mode: browser) and (max-width: 767px) {
  .nbfc-shell:not(.is-authenticated)[data-screen="login"] {
    position: relative;
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-app-layout {
    min-height: 100svh;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

/* 0.9.3 - denser player actions and a readable poll roster */
.nbfc-shell.is-authenticated .nbfc-brand,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  width: 108px !important;
  height: 84px !important;
}

.nbfc-shell.is-authenticated .nbfc-brand img,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 84px !important;
  height: 84px !important;
}

.nbfc-polls-hero {
  min-height: auto !important;
  padding: 8px 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.nbfc-polls-hero h1 {
  display: inline-block;
  color: var(--nbfc-cream) !important;
  font-family: var(--nbfc-graffiti-font) !important;
  font-size: clamp(2rem, 8vw, 3.1rem) !important;
  font-style: italic;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 0.9 !important;
  text-shadow: 3px 3px 0 rgba(181, 54, 61, 0.78), 0 0 22px rgba(53, 220, 232, 0.24);
  transform: rotate(-2deg);
}

.nbfc-convocation-shell {
  padding-top: 8px;
}

.nbfc-convocation-back {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 14px;
  background: rgba(3, 12, 22, 0.76);
  color: var(--nbfc-cream);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.nbfc-convocation-back svg {
  width: 18px;
  height: 18px;
}

.nbfc-convocation-detail__image {
  min-height: 118px;
}

.nbfc-convocation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 246, 216, 0.12);
  border-radius: 18px;
  background: rgba(2, 11, 20, 0.48);
}

.nbfc-convocation-meta > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 11px;
  background: rgba(255, 246, 216, 0.055);
  color: rgba(255, 246, 216, 0.86);
  font-size: 0.76rem;
}

.nbfc-convocation-meta > span svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--nbfc-cyan);
}

.nbfc-convocation-meta > span strong {
  overflow: hidden;
  font: inherit;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nbfc-convocation-meta__place,
.nbfc-convocation-meta__team {
  flex: 1 1 150px;
}

.nbfc-convocation-stats span:nth-child(1) strong { color: #55f18f; text-shadow: 0 0 12px rgba(85, 241, 143, 0.52); }
.nbfc-convocation-stats span:nth-child(2) strong { color: #ffb13d; text-shadow: 0 0 12px rgba(255, 177, 61, 0.5); }
.nbfc-convocation-stats span:nth-child(3) strong { color: #ff5262; text-shadow: 0 0 12px rgba(255, 82, 98, 0.52); }
.nbfc-convocation-stats span:nth-child(4) strong { color: var(--nbfc-cyan); }

.nbfc-convocation-response {
  gap: 8px;
}

.nbfc-convocation-response button {
  min-height: 58px;
  border-width: 1px;
  font-size: clamp(0.7rem, 2.5vw, 0.82rem);
}

.nbfc-convocation-response button[data-convocation-response="present"] {
  border-color: rgba(85, 241, 143, 0.45);
  background: linear-gradient(145deg, rgba(16, 98, 58, 0.64), rgba(5, 45, 30, 0.72));
}

.nbfc-convocation-response button[data-convocation-response="maybe"] {
  border-color: rgba(255, 177, 61, 0.46);
  background: linear-gradient(145deg, rgba(144, 85, 12, 0.64), rgba(64, 39, 7, 0.74));
}

.nbfc-convocation-response button[data-convocation-response="absent"] {
  border-color: rgba(255, 82, 98, 0.46);
  background: linear-gradient(145deg, rgba(135, 32, 45, 0.68), rgba(63, 10, 20, 0.76));
}

.nbfc-convocation-response button[data-convocation-response="present"].is-selected { border-color: #55f18f; background: linear-gradient(145deg, #15995c, #063e2c); box-shadow: 0 0 0 1px rgba(85, 241, 143, 0.28), 0 12px 26px rgba(21, 153, 92, 0.32); }
.nbfc-convocation-response button[data-convocation-response="maybe"].is-selected { border-color: #ffb13d; background: linear-gradient(145deg, #d77a17, #714009); box-shadow: 0 0 0 1px rgba(255, 177, 61, 0.28), 0 12px 26px rgba(215, 122, 23, 0.3); }
.nbfc-convocation-response button[data-convocation-response="absent"].is-selected { border-color: #ff5262; background: linear-gradient(145deg, #d63d4e, #741321); box-shadow: 0 0 0 1px rgba(255, 82, 98, 0.28), 0 12px 26px rgba(214, 61, 78, 0.3); }

.nbfc-convocation-roster {
  display: grid;
  gap: 10px;
}

.nbfc-convocation-roster__group {
  padding: 11px;
  border: 1px solid rgba(255, 246, 216, 0.12);
  border-radius: 16px;
  background: rgba(3, 13, 24, 0.52);
}

.nbfc-convocation-roster__group h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 9px;
  color: var(--nbfc-cream);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.nbfc-convocation-roster__group h3 b {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 246, 216, 0.08);
  color: var(--nbfc-cyan);
  font-size: 0.72rem;
}

.nbfc-convocation-roster__group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nbfc-convocation-roster__group li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  padding: 5px 8px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 246, 216, 0.065);
  color: var(--nbfc-cream);
}

.nbfc-convocation-roster__group img {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 246, 216, 0.28);
  border-radius: 50%;
  object-fit: cover;
  background: #071927;
}

.nbfc-convocation-roster__group li strong {
  overflow: hidden;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nbfc-convocation-roster__group > p {
  margin: 0;
  color: rgba(255, 246, 216, 0.58);
  font-size: 0.74rem;
}

.nbfc-convocation-roster__group.is-present h3 span,
.nbfc-convocation-roster__group.is-present h3 b { color: #55f18f; }
.nbfc-convocation-roster__group.is-maybe h3 span,
.nbfc-convocation-roster__group.is-maybe h3 b { color: #ffb13d; }
.nbfc-convocation-roster__group.is-absent h3 span,
.nbfc-convocation-roster__group.is-absent h3 b { color: #ff5262; }

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  border: 1px solid rgba(255, 246, 216, 0.2) !important;
  border-radius: 13px !important;
  background: rgba(4, 17, 30, 0.7) !important;
  color: var(--nbfc-cyan) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 18px rgba(0, 0, 0, 0.22) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-action {
  background: rgba(255, 246, 216, 0.72) !important;
  color: var(--nbfc-red) !important;
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    min-height: calc(90px + env(safe-area-inset-top)) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    grid-template-rows: minmax(128px, 0.96fr) minmax(116px, 0.74fr) minmax(136px, 0.84fr);
  }

  .nbfc-convocation-detail {
    gap: 13px;
    padding: 16px;
  }

  .nbfc-convocation-detail__image { min-height: 108px; }
  .nbfc-convocation-response button { min-height: 56px; }
  .nbfc-convocation-meta { padding: 8px; }
  .nbfc-convocation-meta > span { padding: 6px 8px; font-size: 0.7rem; }
}

@media (min-width: 768px) {
  .nbfc-convocation-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 0.10.0 - compact home and decision-first polls */
.nbfc-shell.is-authenticated .nbfc-brand,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand {
  width: 120px !important;
  height: 94px !important;
}

.nbfc-shell.is-authenticated .nbfc-brand img,
.nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
  width: 94px !important;
  height: 94px !important;
}

.nbfc-view[data-view-panel="polls"] {
  overflow: visible !important;
}

.nbfc-polls-hero {
  display: block !important;
  overflow: visible !important;
  margin: 0 0 6px !important;
  padding: 5px 4px 4px !important;
}

.nbfc-polls-hero h1 {
  max-width: 100%;
  margin: 0 !important;
  padding: 0.12em 0.08em 0.16em !important;
  overflow: visible;
  font-size: clamp(2.15rem, 8vw, 3.25rem) !important;
  line-height: 1.05 !important;
  transform: rotate(-1deg) !important;
}

.nbfc-convocation-shell {
  display: grid;
  gap: 12px;
  padding-top: 0 !important;
}

.nbfc-convocation-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: min(100%, 520px);
  padding: 5px;
  border: 1px solid rgba(255, 246, 216, 0.14);
  border-radius: 16px;
  background: rgba(3, 13, 23, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.nbfc-convocation-filters button {
  min-width: 0;
  min-height: 40px;
  padding: 7px 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 246, 216, 0.62);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-convocation-filters button.is-active {
  background: linear-gradient(145deg, rgba(53, 220, 232, 0.94), rgba(18, 122, 145, 0.94));
  color: #031019;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24), 0 0 18px rgba(53, 220, 232, 0.2);
}

.nbfc-shell[data-theme="day"] .nbfc-convocation-filters {
  border-color: rgba(4, 18, 30, 0.16);
  background: rgba(255, 249, 229, 0.72);
}

.nbfc-shell[data-theme="day"] .nbfc-convocation-filters button {
  color: rgba(4, 18, 30, 0.64);
}

.nbfc-shell[data-theme="day"] .nbfc-convocation-filters button.is-active {
  background: linear-gradient(145deg, #c34a4d, #9b3037);
  color: #fff6d8;
}

.nbfc-convocation-shell.is-detail-open .nbfc-convocation-filters {
  display: none;
}

.nbfc-convocation-detail {
  gap: 12px !important;
  padding: 14px !important;
  border-color: rgba(53, 220, 232, 0.34) !important;
  background:
    linear-gradient(116deg, rgba(181, 54, 61, 0.13), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.13), transparent 32%),
    linear-gradient(150deg, rgba(4, 16, 29, 0.97), rgba(3, 10, 18, 0.94)) !important;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.nbfc-convocation-back {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex !important;
  justify-self: start;
  width: auto !important;
  min-width: 0;
  height: 40px !important;
  min-height: 40px !important;
  gap: 7px;
  padding: 0 12px !important;
  border: 1px solid rgba(255, 246, 216, 0.17);
  border-radius: 13px !important;
  background: rgba(255, 246, 216, 0.07) !important;
  font-size: 0.72rem;
  font-weight: 900;
}

.nbfc-convocation-detail__head h2 {
  margin: 0 !important;
  color: var(--nbfc-cream);
  font-size: clamp(1.45rem, 6.4vw, 2rem) !important;
  line-height: 1.03 !important;
}

.nbfc-convocation-response {
  order: 0;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px !important;
}

.nbfc-convocation-response button {
  min-width: 0;
  min-height: 54px !important;
  padding: 8px 4px !important;
  border-width: 2px !important;
  border-radius: 15px !important;
  color: #fff !important;
  font-size: clamp(0.66rem, 2.7vw, 0.8rem) !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

.nbfc-convocation-response button[data-convocation-response="present"] {
  border-color: #4cff8b !important;
  background: linear-gradient(145deg, rgba(20, 145, 79, 0.96), rgba(5, 60, 39, 0.96)) !important;
  box-shadow: 0 0 18px rgba(76, 255, 139, 0.2);
}

.nbfc-convocation-response button[data-convocation-response="maybe"] {
  border-color: #ffae2f !important;
  background: linear-gradient(145deg, rgba(211, 119, 13, 0.98), rgba(92, 49, 3, 0.97)) !important;
  box-shadow: 0 0 18px rgba(255, 174, 47, 0.18);
}

.nbfc-convocation-response button[data-convocation-response="absent"] {
  border-color: #ff4b5e !important;
  background: linear-gradient(145deg, rgba(204, 48, 66, 0.98), rgba(91, 10, 23, 0.97)) !important;
  box-shadow: 0 0 18px rgba(255, 75, 94, 0.18);
}

.nbfc-convocation-response button.is-selected {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(255, 246, 216, 0.92), 0 11px 26px rgba(0, 0, 0, 0.34) !important;
}

.nbfc-convocation-meta {
  gap: 6px !important;
  padding: 7px !important;
  border-radius: 15px !important;
}

.nbfc-convocation-meta > span {
  min-height: 35px;
  padding: 6px 8px !important;
  font-size: 0.7rem !important;
}

.nbfc-convocation-detail__copy {
  margin: 0;
  color: rgba(255, 246, 216, 0.8);
  font-size: 0.82rem;
  line-height: 1.42;
}

.nbfc-convocation-stats[hidden],
.nbfc-convocation-roster[hidden] {
  display: none !important;
}

.nbfc-convocation-roster__group ul {
  display: grid !important;
  gap: 6px !important;
}

.nbfc-convocation-roster__group li {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 5px 8px 5px 5px !important;
  border-radius: 14px !important;
}

.nbfc-convocation-roster__group img,
.nbfc-convocation-roster__avatar-fallback {
  display: grid;
  place-items: center;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid rgba(53, 220, 232, 0.42) !important;
  border-radius: 50%;
  background: #071927;
  color: var(--nbfc-cyan);
  font-size: 0.78rem;
  font-weight: 950;
  object-fit: cover;
  object-position: center top;
}

.nbfc-convocation-roster__identity {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.nbfc-convocation-roster__identity strong {
  font-size: 0.78rem !important;
}

.nbfc-convocation-roster__identity small {
  overflow: hidden;
  color: rgba(255, 246, 216, 0.68);
  font-size: 0.68rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nbfc-convocation-roster__identity time {
  color: rgba(53, 220, 232, 0.7);
  font-size: 0.61rem;
  font-weight: 800;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  border-color: rgba(53, 220, 232, 0.62) !important;
  background: rgba(3, 22, 34, 0.94) !important;
  color: #75f4ff !important;
  box-shadow: 0 0 16px rgba(53, 220, 232, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action svg {
  width: 16px !important;
  height: 16px !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-action {
  border-color: rgba(181, 54, 61, 0.62) !important;
  background: rgba(255, 246, 216, 0.92) !important;
  color: var(--nbfc-red) !important;
  box-shadow: 0 0 14px rgba(181, 54, 61, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    min-height: calc(100px + env(safe-area-inset-top)) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    top: calc(108px + env(safe-area-inset-top)) !important;
    bottom: calc(106px + env(safe-area-inset-bottom)) !important;
    left: max(12px, env(safe-area-inset-left)) !important;
    width: clamp(242px, 67vw, 304px) !important;
    max-width: calc(100vw - 98px) !important;
    grid-template-rows: minmax(102px, 0.92fr) minmax(92px, 0.72fr) minmax(106px, 0.8fr) !important;
    gap: clamp(6px, 1dvh, 9px) !important;
    padding: 10px !important;
    border-radius: 25px !important;
    background:
      linear-gradient(112deg, rgba(181, 54, 61, 0.2), transparent 35%),
      radial-gradient(circle at 104% 8%, rgba(53, 220, 232, 0.24), transparent 31%),
      linear-gradient(145deg, rgba(2, 10, 19, 0.92), rgba(5, 24, 37, 0.78)) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
    padding: 10px 44px 10px 11px !important;
    border-radius: 18px !important;
    background:
      linear-gradient(118deg, rgba(255, 255, 255, 0.075), transparent 32%),
      radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.12), transparent 34%),
      linear-gradient(150deg, rgba(6, 25, 39, 0.98), rgba(2, 8, 15, 0.97)) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll.is-hot {
    background:
      radial-gradient(circle at 0% 0%, rgba(181, 54, 61, 0.28), transparent 38%),
      linear-gradient(150deg, rgba(10, 25, 38, 0.98), rgba(3, 9, 17, 0.97)) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action {
    right: 8px !important;
    bottom: 8px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
    right: max(-42px, calc((100vw - 480px) / 2 - 34px)) !important;
    bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    height: min(67dvh, 620px) !important;
    opacity: 1 !important;
  }

  .nbfc-convocation-timeline {
    padding-top: 2px;
  }

  .nbfc-convocation-card {
    min-height: 154px !important;
    padding: 14px 58px 14px 15px !important;
  }

  .nbfc-convocation-detail {
    padding: 13px !important;
    border-radius: 21px !important;
  }

  .nbfc-convocation-comment textarea {
    min-height: 70px;
  }
}

@media (max-width: 370px) {
  .nbfc-shell.is-authenticated .nbfc-brand,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    width: 102px !important;
    height: 82px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 82px !important;
    height: 82px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    top: calc(98px + env(safe-area-inset-top)) !important;
    width: 232px !important;
    max-width: calc(100vw - 88px) !important;
  }
}

.nbfc-sport-match-card__head small {
  display: block;
  margin: 0;
}

.nbfc-sport-match-card__fixture > div > strong {
  display: block;
}

.nbfc-sport-match-card__meta strong {
  display: inline;
  color: inherit;
  font: inherit;
}

.nbfc-sport-match-card__fixture > b {
  min-width: 0;
  font-size: 1.32rem;
}

/* 0.10.1 - mobile spacing and a viewport-anchored home board */
@media (max-width: 767px) {
  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-login-panel {
    margin-top: clamp(14px, 2.4svh, 22px) !important;
    padding-top: clamp(13px, 2.2svh, 18px) !important;
  }

  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-hero {
    padding-bottom: 8px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-view[data-view-panel="home"].is-active {
    animation: none !important;
    transform: none !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    top: calc(118px + env(safe-area-inset-top)) !important;
    bottom: auto !important;
    height: min(68dvh, 520px) !important;
    grid-template-rows: minmax(0, 1.05fr) minmax(0, 0.78fr) minmax(0, 0.88fr) !important;
    gap: 8px !important;
    padding: 9px !important;
    border-color: rgba(53, 220, 232, 0.46) !important;
    background:
      linear-gradient(124deg, rgba(181, 54, 61, 0.2), transparent 31%),
      radial-gradient(circle at 96% 2%, rgba(53, 220, 232, 0.24), transparent 30%),
      linear-gradient(155deg, rgba(2, 8, 16, 0.97), rgba(5, 24, 39, 0.93)) !important;
    box-shadow:
      0 22px 54px rgba(0, 0, 0, 0.52),
      0 0 0 1px rgba(181, 54, 61, 0.18),
      0 0 24px rgba(53, 220, 232, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
    min-height: 0 !important;
    padding: 10px 43px 10px 12px !important;
    border-radius: 18px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll {
    border-color: rgba(181, 54, 61, 0.72) !important;
    background:
      linear-gradient(110deg, rgba(181, 54, 61, 0.2), transparent 48%),
      radial-gradient(circle at 100% 14%, rgba(53, 220, 232, 0.13), transparent 32%),
      linear-gradient(150deg, #102940, #071522 72%) !important;
    box-shadow: inset 3px 0 0 var(--nbfc-red), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match--last {
    border-color: rgba(53, 220, 232, 0.36) !important;
    background:
      radial-gradient(circle at 100% 100%, rgba(53, 220, 232, 0.14), transparent 38%),
      linear-gradient(145deg, #0b2d45, #061521 76%) !important;
    box-shadow: inset 3px 0 0 rgba(53, 220, 232, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match--next {
    border-color: rgba(255, 246, 216, 0.2) !important;
    background:
      radial-gradient(circle at 0% 100%, rgba(181, 54, 61, 0.18), transparent 38%),
      linear-gradient(145deg, #101f32, #050c15 78%) !important;
    box-shadow: inset 3px 0 0 rgba(255, 246, 216, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__body {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__art {
    position: absolute;
    top: 42px;
    right: 10px;
    width: 34px !important;
    height: 34px !important;
    opacity: 0.3;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll h3,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-empty strong {
    margin: 0 !important;
    font-size: clamp(0.94rem, 4.4vw, 1.12rem) !important;
    line-height: 1.06 !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll p,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-empty span {
    margin: 4px 0 0 !important;
    font-size: clamp(0.68rem, 3vw, 0.78rem) !important;
    line-height: 1.22 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action {
    right: 8px !important;
    bottom: 8px !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell:not(.is-authenticated)[data-screen="login"] .nbfc-login-panel {
    margin-top: 10px !important;
    padding-top: 12px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    top: calc(108px + env(safe-area-inset-top)) !important;
    height: min(66dvh, 450px) !important;
  }
}

/* 0.11.0 - balanced home board, explicit themes and tighter polls */
@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    height: min(64dvh, 490px) !important;
    grid-template-rows: minmax(0, 1fr) minmax(0, 0.76fr) minmax(0, 0.84fr) !important;
  }

  .nbfc-shell[data-theme="night"].is-authenticated[data-active-view="home"] .nbfc-home-card-action,
  .nbfc-shell[data-theme="night"].is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
  .nbfc-shell[data-theme="night"].is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
    border-color: #65f1ff !important;
    background: linear-gradient(145deg, #54e5f1, #20abc2) !important;
    color: #031019 !important;
    box-shadow: 0 0 18px rgba(53, 220, 232, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.64) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-action,
  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
    border-color: #d96768 !important;
    background: linear-gradient(145deg, #c34a4d, #983039) !important;
    color: #fff8e6 !important;
    box-shadow: 0 0 17px rgba(181, 54, 61, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action svg {
    color: inherit !important;
    stroke: currentColor !important;
    filter: none !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
    position: absolute !important;
    right: 30px !important;
    z-index: 18 !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    border-color: rgba(9, 55, 75, 0.28) !important;
    background:
      linear-gradient(120deg, rgba(181, 54, 61, 0.12), transparent 34%),
      radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.2), transparent 31%),
      linear-gradient(150deg, rgba(255, 250, 234, 0.94), rgba(218, 235, 238, 0.88)) !important;
    box-shadow:
      0 22px 50px rgba(5, 24, 37, 0.26),
      0 0 0 1px rgba(255, 255, 255, 0.56),
      inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll {
    border-color: rgba(181, 54, 61, 0.58) !important;
    background:
      radial-gradient(circle at 100% 0%, rgba(181, 54, 61, 0.12), transparent 34%),
      linear-gradient(145deg, rgba(255, 250, 235, 0.98), rgba(244, 225, 215, 0.94)) !important;
    box-shadow: inset 3px 0 0 var(--nbfc-red), 0 8px 20px rgba(108, 43, 48, 0.12) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-match--last {
    border-color: rgba(22, 132, 154, 0.38) !important;
    background: linear-gradient(145deg, rgba(233, 249, 250, 0.98), rgba(203, 232, 235, 0.94)) !important;
    box-shadow: inset 3px 0 0 #168aa0, 0 8px 20px rgba(17, 100, 121, 0.11) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-match--next {
    border-color: rgba(7, 42, 61, 0.25) !important;
    background: linear-gradient(145deg, rgba(248, 244, 228, 0.98), rgba(221, 230, 231, 0.95)) !important;
    box-shadow: inset 3px 0 0 rgba(7, 42, 61, 0.5), 0 8px 20px rgba(7, 42, 61, 0.1) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] :is(.nbfc-home-poll h3, .nbfc-home-empty strong, .nbfc-home-score, .nbfc-home-team strong) {
    color: #071b2a !important;
    text-shadow: none !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] :is(.nbfc-home-poll p, .nbfc-home-empty span, .nbfc-home-match small, .nbfc-home-match-meta span) {
    color: rgba(7, 27, 42, 0.68) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-title {
    color: #0c7185 !important;
    text-shadow: none !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-view[data-view-panel="polls"].is-active {
    margin-top: -24px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-polls-hero {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-convocation-shell {
    gap: 8px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-convocation-empty {
    min-height: 200px !important;
    padding: 26px 18px !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    height: min(62dvh, 422px) !important;
  }
}

/* 0.12.1 - player progression card, leaderboard and final mobile contrast */
.nbfc-view[data-view-panel="profile"] {
  padding-bottom: calc(108px + env(safe-area-inset-bottom));
}

.nbfc-player-profile {
  --profile-accent: var(--nbfc-cyan);
  display: grid;
  gap: 16px;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.nbfc-player-profile__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nbfc-player-profile__header p,
.nbfc-points-breakdown header p,
.nbfc-player-ranking header p {
  margin: 0 0 3px;
  color: var(--nbfc-cyan);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nbfc-player-profile__header h2,
.nbfc-points-breakdown header h3,
.nbfc-player-ranking header h3 {
  margin: 0;
  color: var(--nbfc-cream);
  line-height: 1;
}

.nbfc-player-profile__actions {
  display: flex;
  gap: 8px;
}

.nbfc-player-profile__actions button,
.nbfc-profile-modal__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 246, 216, 0.22);
  border-radius: 14px;
  background: rgba(5, 17, 29, 0.72);
  color: var(--nbfc-cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px) saturate(1.25);
}

.nbfc-player-profile__actions svg,
.nbfc-profile-modal__close svg,
.nbfc-profile-metrics svg,
.nbfc-points-breakdown svg,
.nbfc-player-ranking svg,
.nbfc-profile-logout svg,
.nbfc-profile-edit-form > button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nbfc-player-profile__actions button:hover,
.nbfc-player-profile__actions button:focus-visible,
.nbfc-profile-modal__close:hover,
.nbfc-profile-modal__close:focus-visible {
  border-color: rgba(53, 220, 232, 0.68);
  color: var(--nbfc-cyan);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 22px rgba(53, 220, 232, 0.24);
}

.nbfc-collector-card {
  --level-primary: #35dce8;
  --level-secondary: #b5363d;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(228px, 1fr) auto auto auto;
  min-height: 510px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--level-primary) 72%, white 28%);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--level-primary) 28%, transparent), transparent 34%),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--level-secondary) 26%, transparent), transparent 42%),
    linear-gradient(145deg, #071a2a, #02070f 72%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 28px color-mix(in srgb, var(--level-primary) 24%, transparent);
}

.nbfc-collector-card[data-progression-level="2"] { --level-primary: #54e5f1; --level-secondary: #c34a4d; }
.nbfc-collector-card[data-progression-level="3"] { --level-primary: #ffd86f; --level-secondary: #35dce8; }
.nbfc-collector-card[data-progression-level="4"] { --level-primary: #8be9ff; --level-secondary: #d65cff; }
.nbfc-collector-card[data-progression-level="5"] { --level-primary: #fff4b0; --level-secondary: #ff5a61; }

.nbfc-collector-card__foil {
  position: absolute;
  inset: -35%;
  z-index: -1;
  pointer-events: none;
  background: conic-gradient(from 120deg, transparent 0 18%, color-mix(in srgb, var(--level-primary) 18%, transparent) 25%, transparent 34% 62%, color-mix(in srgb, var(--level-secondary) 16%, transparent) 72%, transparent 82%);
  animation: nbfc-profile-foil 10s linear infinite;
}

@keyframes nbfc-profile-foil { to { transform: rotate(360deg); } }

.nbfc-collector-card > header,
.nbfc-collector-card > footer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nbfc-collector-card > header span,
.nbfc-collector-card > header strong {
  color: var(--nbfc-cream);
  font-size: 0.74rem;
  font-weight: 950;
}

.nbfc-collector-card > header span { color: var(--level-primary); }

.nbfc-collector-card__avatar {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: end center;
  min-height: 228px;
}

.nbfc-collector-card__avatar img {
  position: absolute;
  inset: 2px 0 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 12px color-mix(in srgb, var(--level-primary) 48%, transparent));
  transform: scale(1.08);
  transform-origin: center bottom;
}

.nbfc-collector-card__aura {
  position: absolute;
  inset: 7% 12% 0;
  z-index: 0;
  border-radius: 50% 50% 32% 32%;
  background:
    repeating-conic-gradient(from 4deg, color-mix(in srgb, var(--level-primary) 66%, transparent) 0 2deg, transparent 2deg 15deg),
    radial-gradient(ellipse, color-mix(in srgb, var(--level-primary) 38%, transparent), transparent 66%);
  filter: blur(5px);
  opacity: calc(0.28 + (var(--profile-level, 1) * 0.08));
  animation: nbfc-profile-aura 2.8s ease-in-out infinite alternate;
}

.nbfc-collector-card[data-progression-level="1"] { --profile-level: 1; }
.nbfc-collector-card[data-progression-level="2"] { --profile-level: 2; }
.nbfc-collector-card[data-progression-level="3"] { --profile-level: 3; }
.nbfc-collector-card[data-progression-level="4"] { --profile-level: 4; }
.nbfc-collector-card[data-progression-level="5"] { --profile-level: 5; }

@keyframes nbfc-profile-aura {
  from { transform: scale(0.94) rotate(-2deg); opacity: 0.34; }
  to { transform: scale(1.05) rotate(2deg); opacity: 0.8; }
}

.nbfc-collector-card__avatar b {
  position: relative;
  z-index: 3;
  margin-bottom: 8px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--level-primary) 58%, transparent);
  border-radius: 999px;
  background: rgba(2, 8, 15, 0.76);
  color: var(--level-primary);
  font-size: 0.68rem;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.nbfc-collector-card__identity {
  position: relative;
  z-index: 4;
  text-align: center;
}

.nbfc-collector-card__identity span {
  color: var(--level-primary);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-collector-card__identity h3 {
  margin: 3px 0 0;
  color: var(--nbfc-cream);
  font-size: clamp(1.45rem, 7vw, 2.2rem);
  line-height: 0.95;
}

.nbfc-collector-card__identity p {
  margin: 6px 0 0;
  color: rgba(255, 246, 216, 0.7);
  font-size: 0.76rem;
}

.nbfc-collector-card__score {
  position: absolute;
  top: 54px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  min-width: 76px;
  min-height: 76px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--level-primary) 65%, transparent);
  border-radius: 20px;
  background: rgba(2, 9, 17, 0.78);
  box-shadow: 0 0 24px color-mix(in srgb, var(--level-primary) 28%, transparent);
  backdrop-filter: blur(14px);
}

.nbfc-collector-card__score strong { color: var(--nbfc-cream); font-size: 1.7rem; line-height: 1; }
.nbfc-collector-card__score span { color: var(--level-primary); font-size: 0.6rem; font-weight: 900; text-transform: uppercase; }
.nbfc-collector-card__score small {
  color: rgba(255, 246, 216, 0.56);
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.nbfc-collector-card__progress {
  position: relative;
  z-index: 4;
  margin-top: 12px;
}

.nbfc-collector-card__progress > span {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.nbfc-collector-card__progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--level-secondary), var(--level-primary));
  box-shadow: 0 0 12px var(--level-primary);
}

.nbfc-collector-card__progress p { margin: 6px 0 0; color: rgba(255, 246, 216, 0.66); font-size: 0.68rem; text-align: center; }

.nbfc-collector-card > footer {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 246, 216, 0.12);
  color: rgba(255, 246, 216, 0.72);
  font-size: 0.65rem;
  font-weight: 800;
}

.nbfc-collector-card > footer strong { color: var(--level-primary); }

.nbfc-profile-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nbfc-profile-metrics article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(53, 220, 232, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(11, 42, 62, 0.92), rgba(4, 14, 24, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 28px rgba(0, 0, 0, 0.25);
}

.nbfc-profile-metrics article > span { grid-row: 1 / span 2; display: grid; place-items: center; color: var(--nbfc-cyan); }
.nbfc-profile-metrics svg { width: 25px; height: 25px; }
.nbfc-profile-metrics strong { min-width: 0; overflow-wrap: anywhere; color: var(--nbfc-cream); font-size: 1.12rem; line-height: 1; }
.nbfc-profile-metrics p { margin: 0; color: rgba(255, 246, 216, 0.58); font-size: 0.64rem; text-transform: uppercase; }

.nbfc-points-breakdown,
.nbfc-points-journal,
.nbfc-player-ranking,
.nbfc-profile-badges,
.nbfc-profile-seasons {
  padding: 16px;
  border: 1px solid rgba(255, 246, 216, 0.15);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(6, 18, 31, 0.94), rgba(13, 39, 56, 0.88));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nbfc-points-breakdown header,
.nbfc-player-ranking header,
.nbfc-profile-badges header,
.nbfc-profile-seasons header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.nbfc-points-breakdown header > span,
.nbfc-player-ranking header > span,
.nbfc-profile-badges header > span,
.nbfc-profile-seasons header > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: rgba(53, 220, 232, 0.1); color: var(--nbfc-cyan); }
.nbfc-points-breakdown header svg,
.nbfc-player-ranking header svg,
.nbfc-profile-badges header svg,
.nbfc-profile-seasons header svg { width: 23px; height: 23px; }

.nbfc-profile-badges header p,
.nbfc-profile-seasons header p {
  margin: 0 0 2px;
  color: var(--nbfc-cyan);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-profile-badges header h3,
.nbfc-profile-seasons header h3 { margin: 0; color: var(--nbfc-cream); }

.nbfc-profile-badges > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nbfc-profile-badges article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 4px 9px;
  align-items: center;
  min-height: 76px;
  padding: 10px;
  border: 1px solid rgba(255, 246, 216, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  opacity: 0.72;
}
.nbfc-profile-badges article.is-earned {
  border-color: color-mix(in srgb, var(--badge-color, var(--nbfc-cyan)) 58%, transparent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--badge-color, var(--nbfc-cyan)) 18%, transparent), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 22px color-mix(in srgb, var(--badge-color, var(--nbfc-cyan)) 13%, transparent);
  opacity: 1;
}
.nbfc-profile-badges article > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--badge-color, var(--nbfc-cyan)) 14%, transparent);
  color: var(--badge-color, var(--nbfc-cyan));
}
.nbfc-profile-badges article > div { display: grid; grid-column: 2; gap: 4px; min-width: 0; }
.nbfc-profile-badges article svg { width: 23px; height: 23px; }
.nbfc-profile-badges article strong { color: var(--nbfc-cream); font-size: 0.72rem; line-height: 1.1; }
.nbfc-profile-badges article small { color: rgba(255, 246, 216, 0.52); font-size: 0.6rem; }
.nbfc-profile-badges article i {
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}
.nbfc-profile-badges article i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--badge-color, var(--nbfc-cyan));
  box-shadow: 0 0 10px var(--badge-color, var(--nbfc-cyan));
}
.nbfc-profile-badges article > em { grid-column: 3; align-self: start; color: rgba(255, 246, 216, 0.62); font-size: 0.56rem; font-style: normal; font-weight: 900; text-transform: uppercase; }
.nbfc-profile-badges article.is-earned > em { color: var(--badge-color, var(--nbfc-cyan)); }

.nbfc-profile-seasons > div { display: grid; gap: 7px; }
.nbfc-profile-seasons article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 246, 216, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}
.nbfc-profile-seasons article.is-active { border-color: rgba(53, 220, 232, 0.42); background: rgba(53, 220, 232, 0.09); }
.nbfc-profile-seasons article > div,
.nbfc-profile-seasons article > span { display: grid; gap: 2px; }
.nbfc-profile-seasons article > span { justify-items: end; color: var(--nbfc-cyan); font-size: 0.62rem; font-weight: 900; text-transform: uppercase; }
.nbfc-profile-seasons article strong,
.nbfc-profile-seasons article b { color: var(--nbfc-cream); font-size: 0.74rem; }
.nbfc-profile-seasons article small { color: rgba(255, 246, 216, 0.5); font-size: 0.62rem; }
.nbfc-profile-seasons article b { font-size: 0.68rem; }

@keyframes nbfc-level-unlock {
  0% { filter: brightness(1); transform: translateY(0) scale(1); }
  32% { filter: brightness(1.55); transform: translateY(-3px) scale(1.012); }
  64% { filter: brightness(1.15); transform: translateY(0) scale(1.004); }
  100% { filter: brightness(1); transform: translateY(0) scale(1); }
}

.nbfc-collector-card.is-level-up { animation: nbfc-level-unlock 1.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.nbfc-collector-card.is-level-up .nbfc-collector-card__aura { animation-duration: 0.62s; }

.nbfc-points-breakdown > div { display: grid; gap: 0; }
.nbfc-points-breakdown > div span { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 246, 216, 0.09); color: rgba(255, 246, 216, 0.68); font-size: 0.78rem; }
.nbfc-points-breakdown > div span:last-child { border-bottom: 0; }
.nbfc-points-breakdown strong,
.nbfc-points-journal b { color: #72e49d; }
.nbfc-points-breakdown strong.is-negative,
.nbfc-points-journal b.is-negative { color: #ff6d72; }

.nbfc-points-journal h3 { margin: 0 0 8px; color: var(--nbfc-cream); }
.nbfc-points-journal article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 246, 216, 0.08); }
.nbfc-points-journal article:last-child { border-bottom: 0; }
.nbfc-points-journal article span { display: grid; gap: 2px; }
.nbfc-points-journal article strong { color: var(--nbfc-cream); font-size: 0.78rem; }
.nbfc-points-journal article small { color: rgba(255, 246, 216, 0.5); font-size: 0.66rem; }

.nbfc-player-ranking ol { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.nbfc-player-ranking li { display: grid; grid-template-columns: 28px 42px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 56px; padding: 7px 9px; border: 1px solid transparent; border-radius: 16px; background: rgba(255, 255, 255, 0.035); }
.nbfc-player-ranking li.is-current { border-color: rgba(53, 220, 232, 0.5); background: linear-gradient(90deg, rgba(53, 220, 232, 0.14), rgba(181, 54, 61, 0.1)); }
.nbfc-player-ranking li > b { color: var(--nbfc-cyan); text-align: center; }
.nbfc-player-ranking li img { width: 42px; height: 42px; border-radius: 13px; background: #061522; object-fit: contain; }
.nbfc-player-ranking li > span { display: grid; min-width: 0; }
.nbfc-player-ranking li strong { overflow: hidden; color: var(--nbfc-cream); font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }
.nbfc-player-ranking li small { overflow: hidden; color: rgba(255, 246, 216, 0.5); font-size: 0.62rem; text-overflow: ellipsis; white-space: nowrap; }
.nbfc-player-ranking li em { color: var(--nbfc-cream); font-size: 0.72rem; font-style: normal; font-weight: 950; }

.nbfc-profile-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(181, 54, 61, 0.42);
  border-radius: 16px;
  background: rgba(181, 54, 61, 0.1);
  color: var(--nbfc-cream);
  font-weight: 850;
}

.nbfc-profile-logout svg { width: 19px; height: 19px; }

.nbfc-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
}

.nbfc-profile-modal[hidden] { display: none !important; }
.nbfc-profile-modal__scrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(0, 5, 12, 0.7); backdrop-filter: blur(10px); }
.nbfc-profile-modal__panel { position: absolute; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); width: min(calc(100% - 20px), 520px); max-height: min(82dvh, 720px); overflow: auto; padding: 22px 18px 20px; border: 1px solid rgba(53, 220, 232, 0.34); border-radius: 26px; background: linear-gradient(145deg, rgba(7, 25, 40, 0.98), rgba(3, 10, 19, 0.99)); color: var(--nbfc-cream); box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15); transform: translateX(-50%); }
.nbfc-profile-modal__panel > p { margin: 0 48px 3px 0; color: var(--nbfc-cyan); font-size: 0.7rem; font-weight: 950; text-transform: uppercase; }
.nbfc-profile-modal__panel > h2 { margin: 0 48px 16px 0; color: var(--nbfc-cream); }
.nbfc-profile-modal__panel > h3 { margin: 18px 0 10px; color: var(--nbfc-cream); }
.nbfc-profile-modal__panel > small { display: block; margin-top: 14px; color: rgba(255, 246, 216, 0.58); line-height: 1.45; }
.nbfc-profile-modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; }
.nbfc-profile-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.nbfc-profile-rules article { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 9px; border: 1px solid rgba(255, 246, 216, 0.1); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.nbfc-profile-rules span { color: rgba(255, 246, 216, 0.7); font-size: 0.68rem; }
.nbfc-profile-rules strong { color: var(--nbfc-cyan); font-size: 0.72rem; white-space: nowrap; }
.nbfc-profile-rules .is-red strong { color: #ff6d72; }
.nbfc-profile-rules .is-orange strong { color: #ffbd65; }
.nbfc-profile-rules .is-muted strong { color: rgba(255, 246, 216, 0.48); }
.nbfc-profile-levels { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.nbfc-profile-levels li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 8px; border-radius: 13px; background: rgba(255, 255, 255, 0.04); }
.nbfc-profile-levels li.is-current { outline: 1px solid var(--nbfc-cyan); background: rgba(53, 220, 232, 0.12); }
.nbfc-profile-levels b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; background: rgba(53, 220, 232, 0.12); color: var(--nbfc-cyan); }
.nbfc-profile-levels span { color: var(--nbfc-cream); font-weight: 850; }
.nbfc-profile-levels strong { color: rgba(255, 246, 216, 0.56); font-size: 0.7rem; }

.nbfc-profile-edit-form { display: grid; gap: 12px; }
.nbfc-profile-edit-form > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nbfc-profile-edit-form label { display: grid; gap: 6px; color: rgba(255, 246, 216, 0.68); font-size: 0.7rem; font-weight: 850; }
.nbfc-profile-edit-form input,
.nbfc-profile-edit-form select { width: 100%; min-height: 44px; border: 1px solid rgba(255, 246, 216, 0.18); border-radius: 13px; background: rgba(0, 0, 0, 0.22); color: var(--nbfc-cream); }
.nbfc-profile-edit-form > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--nbfc-red), #86252e); color: var(--nbfc-cream); font-weight: 950; }
.nbfc-profile-edit-form > button svg { width: 19px; height: 19px; }
.nbfc-profile-edit-form > p { margin: 0; min-height: 18px; font-size: 0.72rem; }
.nbfc-profile-modal-open { overflow: hidden; }

.nbfc-profile-modal__panel,
.nbfc-profile-modal__panel * {
  box-sizing: border-box;
}

.nbfc-shell[data-theme="day"] .nbfc-player-profile__header h2,
.nbfc-shell[data-theme="day"] .nbfc-points-breakdown header h3,
.nbfc-shell[data-theme="day"] .nbfc-player-ranking header h3,
.nbfc-shell[data-theme="day"] .nbfc-profile-badges header h3,
.nbfc-shell[data-theme="day"] .nbfc-profile-seasons header h3 { color: #071b2a; }

.nbfc-shell[data-theme="day"] .nbfc-profile-metrics article,
.nbfc-shell[data-theme="day"] .nbfc-points-breakdown,
.nbfc-shell[data-theme="day"] .nbfc-points-journal,
.nbfc-shell[data-theme="day"] .nbfc-player-ranking,
.nbfc-shell[data-theme="day"] .nbfc-profile-badges,
.nbfc-shell[data-theme="day"] .nbfc-profile-seasons {
  border-color: rgba(8, 66, 88, 0.22);
  background: linear-gradient(145deg, rgba(250, 247, 233, 0.96), rgba(211, 232, 235, 0.94));
  box-shadow: 0 16px 36px rgba(13, 64, 82, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.nbfc-shell[data-theme="day"] .nbfc-profile-metrics strong,
.nbfc-shell[data-theme="day"] .nbfc-points-journal h3,
.nbfc-shell[data-theme="day"] .nbfc-points-journal article strong,
.nbfc-shell[data-theme="day"] .nbfc-player-ranking li strong,
.nbfc-shell[data-theme="day"] .nbfc-player-ranking li em,
.nbfc-shell[data-theme="day"] .nbfc-profile-badges article strong,
.nbfc-shell[data-theme="day"] .nbfc-profile-seasons article strong,
.nbfc-shell[data-theme="day"] .nbfc-profile-seasons article b { color: #071b2a; }
.nbfc-shell[data-theme="day"] .nbfc-profile-metrics p,
.nbfc-shell[data-theme="day"] .nbfc-points-breakdown > div span,
.nbfc-shell[data-theme="day"] .nbfc-points-journal article small,
.nbfc-shell[data-theme="day"] .nbfc-player-ranking li small,
.nbfc-shell[data-theme="day"] .nbfc-profile-badges article small,
.nbfc-shell[data-theme="day"] .nbfc-profile-seasons article small { color: rgba(7, 27, 42, 0.62); }
.nbfc-shell[data-theme="day"] .nbfc-player-ranking li { background: rgba(7, 42, 61, 0.05); }
.nbfc-shell[data-theme="day"] .nbfc-player-ranking li.is-current { background: linear-gradient(90deg, rgba(53, 220, 232, 0.2), rgba(181, 54, 61, 0.12)); }
.nbfc-shell[data-theme="day"] .nbfc-profile-badges article,
.nbfc-shell[data-theme="day"] .nbfc-profile-seasons article { border-color: rgba(8, 66, 88, 0.16); background-color: rgba(7, 42, 61, 0.045); }
.nbfc-shell[data-theme="day"] .nbfc-profile-badges article { opacity: 0.9; }
.nbfc-shell[data-theme="day"] .nbfc-profile-badges article > span { background: rgba(8, 96, 118, 0.12); color: #08637a; }
.nbfc-shell[data-theme="day"] .nbfc-profile-badges article > em { color: #385767; }
.nbfc-shell[data-theme="day"] .nbfc-profile-badges article.is-earned > span,
.nbfc-shell[data-theme="day"] .nbfc-profile-badges article.is-earned > em { color: var(--badge-color, #08758a); }
.nbfc-shell[data-theme="day"] .nbfc-profile-seasons article.is-active { border-color: rgba(8, 117, 138, 0.45); background: rgba(53, 220, 232, 0.16); }

@media (min-width: 960px) {
  .nbfc-shell.is-authenticated .nbfc-view[data-view-panel="profile"].is-active {
    grid-template-columns: minmax(0, 1fr);
  }

  .nbfc-shell.is-authenticated .nbfc-view[data-view-panel="profile"] .nbfc-player-profile {
    grid-column: 1 / -1;
    width: 100%;
  }

  .nbfc-player-profile { grid-template-columns: minmax(340px, 430px) minmax(0, 1fr); align-items: start; }
  .nbfc-player-profile__header { grid-column: 1 / -1; }
  .nbfc-collector-card { grid-column: 1; grid-row: 2 / span 3; position: sticky; top: 96px; }
  .nbfc-profile-metrics,
  .nbfc-points-breakdown,
  .nbfc-points-journal,
  .nbfc-profile-badges,
  .nbfc-profile-seasons { grid-column: 2; }
  .nbfc-profile-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nbfc-profile-metrics article { grid-template-columns: 1fr; text-align: center; }
  .nbfc-profile-metrics article > span { grid-row: auto; }
  .nbfc-player-ranking,
  .nbfc-profile-logout { grid-column: 1 / -1; }
  .nbfc-player-ranking ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    top: calc(136px + env(safe-area-inset-top)) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-day {
    border-color: rgba(8, 66, 88, 0.25);
    background: rgba(255, 249, 229, 0.9);
    color: #08758a;
    box-shadow: 0 8px 20px rgba(9, 59, 78, 0.12);
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-card {
    border-color: rgba(11, 126, 151, 0.5);
    background:
      radial-gradient(circle at 92% 5%, rgba(53, 220, 232, 0.22), transparent 34%),
      radial-gradient(circle at 0% 100%, rgba(181, 54, 61, 0.12), transparent 38%),
      linear-gradient(145deg, rgba(255, 250, 234, 0.97), rgba(211, 233, 237, 0.94));
    box-shadow: 0 18px 38px rgba(11, 69, 89, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-card::before { opacity: 0.22; }
  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-card > strong { color: #071b2a; text-shadow: none; }
  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-card > p { color: rgba(7, 27, 42, 0.68); }
  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-type,
  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-card__head em,
  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-card__stats span { background: rgba(7, 53, 72, 0.08); color: #0a6378; }
  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-card__open { border-color: rgba(181, 54, 61, 0.5); background: linear-gradient(145deg, #c34a4d, #913039); color: #fff8e6; }

  .nbfc-player-profile { padding-top: 4px; }
  .nbfc-collector-card { min-height: 500px; }
  .nbfc-profile-modal__panel { border-radius: 24px; }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    top: calc(118px + env(safe-area-inset-top)) !important;
  }
  .nbfc-collector-card { min-height: 470px; }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-collector-card__foil,
  .nbfc-collector-card__aura,
  .nbfc-collector-card.is-level-up { animation: none !important; }
}

/* 0.14.0 - unified player pages and full-width home command panel */
.nbfc-page-heading,
.nbfc-page-heading.nbfc-polls-hero {
  position: relative;
  z-index: 12;
  width: min(100%, 1100px);
  min-height: 50px !important;
  margin: 0 auto !important;
  padding: 8px 4px 2px !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.nbfc-page-heading h1,
.nbfc-page-heading.nbfc-polls-hero h1 {
  display: inline-block;
  max-width: 100%;
  margin: 0 !important;
  color: var(--nbfc-cream) !important;
  font-family: var(--nbfc-graffiti-font) !important;
  font-size: 2.65rem !important;
  font-style: italic;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 0.92 !important;
  text-shadow:
    3px 3px 0 rgba(181, 54, 61, 0.84),
    -1px -1px 0 rgba(4, 23, 36, 0.88),
    0 0 22px rgba(53, 220, 232, 0.28);
  white-space: nowrap;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.nbfc-shell[data-theme="day"] .nbfc-page-heading h1 {
  color: #fff7dc !important;
  text-shadow:
    3px 3px 0 rgba(181, 54, 61, 0.92),
    -1px -1px 0 rgba(4, 36, 53, 0.84),
    0 8px 20px rgba(4, 36, 53, 0.28);
}

.nbfc-shell.is-authenticated .nbfc-view.is-active > :is(
  .nbfc-match-hub,
  .nbfc-list,
  .nbfc-roster,
  .nbfc-video-card,
  .nbfc-player-profile
) {
  position: relative;
  z-index: 8;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(53, 220, 232, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(118deg, rgba(181, 54, 61, 0.12), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.15), transparent 30%),
    linear-gradient(150deg, rgba(3, 15, 26, 0.92), rgba(5, 27, 42, 0.84));
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.nbfc-shell[data-theme="day"].is-authenticated .nbfc-view.is-active > :is(
  .nbfc-match-hub,
  .nbfc-list,
  .nbfc-roster,
  .nbfc-video-card,
  .nbfc-player-profile
) {
  border-color: rgba(8, 91, 113, 0.3);
  background:
    linear-gradient(118deg, rgba(181, 54, 61, 0.1), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.2), transparent 30%),
    linear-gradient(150deg, rgba(255, 250, 233, 0.94), rgba(211, 233, 237, 0.91));
  box-shadow:
    0 20px 46px rgba(7, 53, 72, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.nbfc-shell.is-authenticated .nbfc-view[data-view-panel="profile"].is-active > .nbfc-player-profile {
  overflow: visible;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean {
  position: relative !important;
  width: min(100%, 1100px) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  position: relative !important;
  inset: auto !important;
  z-index: 10;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: none !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 12px !important;
  overflow: hidden;
  border: 1px solid rgba(53, 220, 232, 0.36) !important;
  border-radius: 25px !important;
  background:
    linear-gradient(118deg, rgba(181, 54, 61, 0.16), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.18), transparent 32%),
    linear-gradient(150deg, rgba(3, 13, 23, 0.9), rgba(4, 24, 38, 0.79)) !important;
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(181, 54, 61, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
  min-width: 0 !important;
  min-height: 255px !important;
  padding: 16px 54px 16px 16px !important;
  border-radius: 19px !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  right: 12px !important;
  bottom: 12px !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 12px !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  border-color: rgba(8, 91, 113, 0.32) !important;
  background:
    linear-gradient(118deg, rgba(181, 54, 61, 0.1), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.2), transparent 30%),
    linear-gradient(150deg, rgba(255, 250, 233, 0.93), rgba(211, 233, 237, 0.89)) !important;
  box-shadow:
    0 20px 46px rgba(7, 53, 72, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.84) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
  z-index: 6 !important;
  right: max(-54px, calc((100vw - 1180px) / 2 - 20px)) !important;
  bottom: 12px !important;
  height: min(66vh, 690px) !important;
  opacity: 0.4 !important;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.48)) !important;
}

.nbfc-shell.is-authenticated .nbfc-page-heading + :is(
  .nbfc-convocation-shell,
  .nbfc-match-hub,
  .nbfc-list,
  .nbfc-roster,
  .nbfc-video-card,
  .nbfc-player-profile,
  .nbfc-player-stage
) {
  margin-top: 2px !important;
}

.nbfc-page-heading h1:focus-visible,
.nbfc-shell.is-authenticated .nbfc-view.is-active > :is(
  .nbfc-match-hub,
  .nbfc-list,
  .nbfc-roster,
  .nbfc-video-card,
  .nbfc-player-profile
) :is(button, a):focus-visible {
  outline: 3px solid var(--nbfc-cyan);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .nbfc-page-heading,
  .nbfc-page-heading.nbfc-polls-hero {
    min-height: 62px !important;
    padding-top: 10px !important;
  }

  .nbfc-page-heading h1,
  .nbfc-page-heading.nbfc-polls-hero h1 {
    font-size: 3.25rem !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active {
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: start;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-page-heading {
    grid-column: 1 / -1;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    min-height: 330px !important;
    padding: 15px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
    min-height: 300px !important;
    padding: 18px 58px 18px 18px !important;
  }
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-app-layout {
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-panel {
    overflow: visible !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-page-heading,
  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-view[data-view-panel="polls"].is-active {
    margin-top: -18px !important;
  }

  .nbfc-page-heading,
  .nbfc-page-heading.nbfc-polls-hero {
    min-height: 48px !important;
    padding: 5px 3px 1px !important;
  }

  .nbfc-page-heading h1,
  .nbfc-page-heading.nbfc-polls-hero h1 {
    font-size: 2.55rem !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active {
    gap: 7px !important;
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
  }

  .nbfc-shell.is-authenticated .nbfc-view[data-view-panel="home"] {
    min-height: 0 !important;
    overflow: visible !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    width: 100% !important;
    height: min(61dvh, 474px) !important;
    max-height: calc(100dvh - 180px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1.08fr) minmax(0, 0.82fr) minmax(0, 0.9fr) !important;
    gap: 8px !important;
    padding: 9px !important;
    border-radius: 23px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
    min-height: 0 !important;
    padding: 11px 48px 11px 13px !important;
    border-radius: 17px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll h3,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-empty strong {
    font-size: 1.02rem !important;
    line-height: 1.06 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-poll p, .nbfc-home-empty span) {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
    right: 9px !important;
    bottom: 9px !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
    right: -76px !important;
    bottom: calc(68px + env(safe-area-inset-bottom)) !important;
    height: min(58dvh, 520px) !important;
    opacity: 0.28 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active > :is(
    .nbfc-match-hub,
    .nbfc-list,
    .nbfc-roster,
    .nbfc-video-card,
    .nbfc-player-profile
  ) {
    padding: 10px;
    border-radius: 22px;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    height: min(58dvh, 396px) !important;
  }

  .nbfc-page-heading h1,
  .nbfc-page-heading.nbfc-polls-hero h1 {
    font-size: 2.35rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-page-heading h1 { transform: none !important; }
}

/* 0.15.0 - contextual tabs and read-only player cards */
.nbfc-section-tabs {
  position: relative;
  z-index: 24;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: min(100%, 520px);
  margin: 0 auto 4px;
  padding: 5px;
  border: 1px solid rgba(255, 246, 216, 0.14);
  border-radius: 16px;
  background: rgba(3, 13, 23, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.nbfc-section-tabs button {
  min-width: 0;
  min-height: 40px;
  padding: 7px 5px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 246, 216, 0.66);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nbfc-section-tabs button.is-active {
  background: linear-gradient(145deg, rgba(53, 220, 232, 0.96), rgba(18, 122, 145, 0.96));
  color: #031019;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24), 0 0 18px rgba(53, 220, 232, 0.22);
}

.nbfc-section-tabs button:focus-visible {
  outline: 3px solid var(--nbfc-cream);
  outline-offset: 2px;
}

.nbfc-shell[data-theme="day"] .nbfc-section-tabs {
  border-color: rgba(4, 18, 30, 0.16);
  background: rgba(255, 249, 229, 0.78);
}

.nbfc-shell[data-theme="day"] .nbfc-section-tabs button { color: rgba(4, 18, 30, 0.66); }
.nbfc-shell[data-theme="day"] .nbfc-section-tabs button.is-active {
  background: linear-gradient(145deg, #c34a4d, #963138);
  color: #fff6d8;
  box-shadow: 0 8px 20px rgba(81, 26, 31, 0.2), 0 0 16px rgba(181, 54, 61, 0.16);
}

[data-section-pane][hidden] { display: none !important; }

.nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-section-tabs {
  flex: 0 0 auto;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  z-index: 10;
  width: min(78%, 720px) !important;
  min-height: 300px !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  margin-right: auto !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
  min-height: 270px !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
  z-index: 22 !important;
  right: max(-26px, calc((100vw - 1180px) / 2 - 8px)) !important;
  height: min(72vh, 760px) !important;
  opacity: 0.92 !important;
  pointer-events: none;
}

.nbfc-shell.is-notification-sheet-open .nbfc-fixed-player-avatar { z-index: 0 !important; }

.nbfc-match-hub [data-section-pane] { width: 100%; }
.nbfc-match-hub:has(.nbfc-sport-stack:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
.nbfc-section-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(53, 220, 232, 0.2);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--nbfc-cream);
  text-align: center;
}
.nbfc-section-empty > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: rgba(53, 220, 232, 0.1); color: var(--nbfc-cyan); }
.nbfc-section-empty svg { width: 28px; height: 28px; }
.nbfc-section-empty strong { font-size: 1rem; }
.nbfc-section-empty p { max-width: 340px; margin: 0; color: rgba(255, 246, 216, 0.58); font-size: 0.76rem; }
.nbfc-shell[data-theme="day"] .nbfc-section-empty { border-color: rgba(8, 91, 113, 0.22); background: rgba(255, 255, 255, 0.28); color: #071b2a; }
.nbfc-shell[data-theme="day"] .nbfc-section-empty p { color: rgba(7, 27, 42, 0.62); }

.nbfc-nav-player-face {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(53, 220, 232, 0.56);
  border-radius: 50% !important;
  background: #061522;
  object-fit: cover;
  object-position: 50% 9%;
  box-shadow: 0 0 14px rgba(53, 220, 232, 0.2);
}
.nbfc-tabbar button.is-active .nbfc-nav-player-face,
.nbfc-desktop-nav button.is-active .nbfc-nav-player-face { border-color: var(--nbfc-cyan); box-shadow: 0 0 18px rgba(53, 220, 232, 0.52); }

.nbfc-player-ranking li { display: block; padding: 0; }
.nbfc-player-ranking li > button {
  display: grid;
  grid-template-columns: 28px 46px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 7px 9px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: inherit;
  text-align: left;
}
.nbfc-player-ranking li > button > b { color: var(--nbfc-cyan); text-align: center; }
.nbfc-player-ranking li > button > span { display: grid; min-width: 0; }
.nbfc-player-ranking li > button > em { color: var(--nbfc-cream); font-size: 0.72rem; font-style: normal; font-weight: 950; }
.nbfc-player-ranking li img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(53, 220, 232, 0.32);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 9%;
}
.nbfc-player-ranking li > button:focus-visible { outline: 3px solid var(--nbfc-cyan); outline-offset: 2px; }
.nbfc-shell[data-theme="day"] .nbfc-player-ranking li > button > em { color: #071b2a; }

.nbfc-player-preview-modal { z-index: 3200; }
.nbfc-player-preview {
  display: grid;
  justify-items: center;
  gap: 10px;
  overflow: hidden !important;
  text-align: center;
}
.nbfc-player-preview::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 15%, rgba(53, 220, 232, 0.2), transparent 35%), linear-gradient(145deg, rgba(181, 54, 61, 0.16), transparent 48%);
  content: "";
}
.nbfc-player-preview__portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
  margin-top: 4px;
  border: 2px solid var(--nbfc-cyan);
  border-radius: 50%;
  background: #061522;
  box-shadow: 0 0 0 7px rgba(53, 220, 232, 0.08), 0 0 38px rgba(53, 220, 232, 0.3);
}
.nbfc-player-preview__portrait img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 50% 9%; }
.nbfc-player-preview__portrait span { position: absolute; right: -7px; bottom: 7px; display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 7px; border-radius: 13px; background: var(--nbfc-red); color: var(--nbfc-cream); font-weight: 950; }
.nbfc-player-preview > p { margin: 4px 0 -4px !important; color: var(--nbfc-cyan) !important; }
.nbfc-player-preview > h2 { margin: 0 !important; color: var(--nbfc-cream); }
.nbfc-player-preview__identity { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nbfc-player-preview__identity > * { padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 246, 216, 0.76); font-size: 0.68rem; font-style: normal; }
.nbfc-player-preview__score { display: grid; justify-items: center; padding: 10px 24px; border-radius: 18px; background: rgba(53, 220, 232, 0.08); }
.nbfc-player-preview__score > strong { color: var(--nbfc-cyan); font-size: 2rem; line-height: 1; }
.nbfc-player-preview__score > span { color: var(--nbfc-cream); font-size: 0.66rem; font-weight: 900; text-transform: uppercase; }
.nbfc-player-preview__score > small { color: rgba(255, 246, 216, 0.58); }
.nbfc-player-preview__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
.nbfc-player-preview__metrics article { display: grid; gap: 3px; min-width: 0; padding: 10px 5px; border: 1px solid rgba(255, 246, 216, 0.1); border-radius: 14px; background: rgba(255, 255, 255, 0.035); }
.nbfc-player-preview__metrics strong { color: var(--nbfc-cream); font-size: 1.1rem; }
.nbfc-player-preview__metrics span { color: rgba(255, 246, 216, 0.52); font-size: 0.55rem; text-transform: uppercase; }
.nbfc-player-preview__readonly { display: flex !important; align-items: center; gap: 7px; margin-top: 2px !important; color: rgba(255, 246, 216, 0.58) !important; }
.nbfc-player-preview__readonly svg { width: 16px; height: 16px; }

@media (max-width: 767px) {
  .nbfc-section-tabs { width: 100%; margin-bottom: 0; }
  .nbfc-section-tabs button { min-height: 42px; font-size: 0.64rem; }
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    width: calc(100% - 72px) !important;
    height: min(51dvh, 390px) !important;
    min-height: 300px !important;
    max-height: calc(100dvh - 245px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match { min-height: 100% !important; }
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
    z-index: 22 !important;
    right: -88px !important;
    bottom: calc(66px + env(safe-area-inset-bottom)) !important;
    height: min(62dvh, 560px) !important;
    opacity: 0.96 !important;
  }
  .nbfc-player-profile { display: grid; grid-template-columns: minmax(0, 1fr); }
  .nbfc-player-profile > [data-section-pane] { grid-column: 1; }
  .nbfc-player-ranking li > button { grid-template-columns: 26px 48px minmax(0, 1fr) auto; }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    height: min(45dvh, 315px) !important;
    min-height: 270px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-section-tabs button { transition: none; }
}

@media (min-width: 768px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
    position: relative;
    display: grid !important;
    align-content: space-between;
    gap: 14px;
    overflow: hidden !important;
    border: 1px solid rgba(255, 246, 216, 0.14) !important;
    background:
      linear-gradient(118deg, rgba(255, 255, 255, 0.07), transparent 34%),
      radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.12), transparent 34%),
      linear-gradient(150deg, rgba(5, 25, 39, 0.97), rgba(2, 9, 17, 0.95)) !important;
    box-shadow: inset 3px 0 0 rgba(53, 220, 232, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.11) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll {
    border-color: rgba(181, 54, 61, 0.52) !important;
    background:
      radial-gradient(circle at 0% 0%, rgba(181, 54, 61, 0.26), transparent 38%),
      radial-gradient(circle at 100% 8%, rgba(53, 220, 232, 0.12), transparent 34%),
      linear-gradient(150deg, rgba(8, 27, 42, 0.98), rgba(2, 9, 17, 0.96)) !important;
    box-shadow: inset 3px 0 0 var(--nbfc-red), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match--next {
    border-color: rgba(255, 246, 216, 0.22) !important;
    background:
      radial-gradient(circle at 100% 100%, rgba(181, 54, 61, 0.18), transparent 38%),
      linear-gradient(150deg, rgba(8, 22, 35, 0.98), rgba(2, 8, 15, 0.96)) !important;
    box-shadow: inset 3px 0 0 rgba(255, 246, 216, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-poll__badge, .nbfc-home-card-title) {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    margin: 0;
    color: var(--nbfc-cyan);
    font-size: 0.72rem;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__badge {
    color: #d96768;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-poll__badge, .nbfc-home-card-title) svg {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 auto;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 76px;
    align-items: center;
    gap: 12px;
    min-height: 130px;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__art {
    display: grid !important;
    place-items: center;
    width: 76px !important;
    height: 76px !important;
    color: var(--nbfc-cyan);
    opacity: 0.38;
    filter: drop-shadow(0 0 18px rgba(53, 220, 232, 0.4));
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__art svg {
    width: 66px !important;
    height: 66px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll h3,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-empty strong {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--nbfc-cream);
    font-size: 1.22rem;
    font-weight: 950;
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-poll p, .nbfc-home-empty span) {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    color: rgba(255, 246, 216, 0.64);
    font-size: 0.78rem;
    font-weight: 760;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-empty {
    align-self: center;
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-scoreline, .nbfc-home-versus) {
    display: grid;
    grid-template-columns: minmax(62px, 1fr) auto minmax(62px, 1fr);
    align-items: center;
    gap: 10px;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-team {
    display: grid;
    justify-items: center;
    gap: 5px;
    min-width: 0;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-team img, .nbfc-home-team > span) {
    width: 56px;
    height: 56px;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-team > span {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 246, 216, 0.3);
    border-radius: 16px;
    background: rgba(3, 17, 29, 0.72);
    color: var(--nbfc-cream);
    font-weight: 950;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-team strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--nbfc-cream);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-score {
    display: inline-grid;
    grid-auto-flow: column;
    gap: 7px;
    color: var(--nbfc-cream);
    font-size: 2rem;
    font-weight: 950;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-vs {
    color: #d96768;
    font-size: 1.75rem;
    font-style: italic;
    font-weight: 950;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-match small, .nbfc-home-match-meta span) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: rgba(255, 246, 216, 0.62);
    font-size: 0.7rem;
    font-weight: 850;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-match small, .nbfc-home-match-meta span) svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match-meta {
    display: grid;
    gap: 7px;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll,
  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-match {
    border-color: rgba(8, 91, 113, 0.28) !important;
    background: linear-gradient(145deg, rgba(255, 250, 235, 0.97), rgba(218, 235, 238, 0.94)) !important;
    box-shadow: inset 3px 0 0 #128aa2, 0 9px 22px rgba(7, 53, 72, 0.1) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll {
    border-color: rgba(181, 54, 61, 0.48) !important;
    background: linear-gradient(145deg, rgba(255, 250, 235, 0.98), rgba(243, 225, 216, 0.95)) !important;
    box-shadow: inset 3px 0 0 var(--nbfc-red), 0 9px 22px rgba(108, 43, 48, 0.11) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] :is(
    .nbfc-home-poll h3,
    .nbfc-home-empty strong,
    .nbfc-home-team strong,
    .nbfc-home-score
  ) {
    color: #071b2a;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] :is(
    .nbfc-home-poll p,
    .nbfc-home-empty span,
    .nbfc-home-match small,
    .nbfc-home-match-meta span
  ) {
    color: rgba(7, 27, 42, 0.66);
  }
}

/* 0.15.3 - final responsive home scene overrides */
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean {
  display: grid !important;
  place-items: start center !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  isolation: isolate;
  width: min(72%, 760px) !important;
  min-height: clamp(320px, 52dvh, 470px) !important;
  margin-inline: auto !important;
  overflow: hidden !important;
  border-color: rgba(53, 220, 232, 0.42) !important;
  background:
    linear-gradient(90deg, rgba(2, 12, 22, 0.58), rgba(2, 14, 24, 0.2)),
    linear-gradient(180deg, rgba(2, 12, 22, 0.08), rgba(2, 12, 22, 0.48)),
    url("../images/nbfc-action-night-bg.png") center 34% / cover no-repeat !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::before,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card::after {
  display: none;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  border-color: rgba(8, 91, 113, 0.38) !important;
  background:
    linear-gradient(90deg, rgba(255, 250, 235, 0.5), rgba(237, 245, 241, 0.16)),
    linear-gradient(180deg, rgba(255, 250, 235, 0.05), rgba(216, 235, 238, 0.34)),
    url("../images/nbfc-action-day-bg.png") center 34% / cover no-repeat !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > article {
  position: relative;
  z-index: 2;
  min-height: 100% !important;
  padding: 18px 18px 64px !important;
  background: linear-gradient(140deg, rgba(5, 25, 39, 0.28), rgba(2, 9, 17, 0.08)) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-poll {
  box-shadow: inset 3px 0 0 var(--nbfc-red), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > article {
  background: linear-gradient(140deg, rgba(255, 250, 235, 0.25), rgba(219, 236, 238, 0.08)) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-poll,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-match {
  background: linear-gradient(140deg, rgba(5, 25, 39, 0.28), rgba(2, 9, 17, 0.08)) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-poll,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > .nbfc-home-match {
  background: linear-gradient(140deg, rgba(255, 250, 235, 0.25), rgba(219, 236, 238, 0.08)) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  right: auto !important;
  bottom: 16px !important;
  left: 16px !important;
  z-index: 5 !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 14px !important;
  border-color: rgba(53, 220, 232, 0.58) !important;
  background: linear-gradient(145deg, rgba(5, 35, 50, 0.96), rgba(8, 91, 113, 0.9)) !important;
  color: var(--nbfc-cream) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 18px rgba(53, 220, 232, 0.22) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  border-color: rgba(181, 54, 61, 0.6) !important;
  background: linear-gradient(145deg, #c34a4d, #913039) !important;
  color: #fff8e6 !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
  z-index: 30 !important;
  opacity: 0.98 !important;
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    width: min(calc(100% - 32px), 420px) !important;
    height: clamp(300px, calc(100dvh - 320px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 524px) !important;
    min-height: 300px !important;
    max-height: 524px !important;
    margin-inline: auto !important;
    padding: 8px !important;
    border-radius: 24px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > article {
    padding: 14px 14px 60px !important;
    border-radius: 18px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
    right: -78px !important;
    bottom: calc(66px + env(safe-area-inset-bottom)) !important;
    height: min(63dvh, 570px) !important;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    height: clamp(276px, calc(100dvh - 310px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 380px) !important;
    min-height: 276px !important;
  }
}

/* 0.21.0 - player-created polls and reversible in-app moderation */
.nbfc-page-heading.nbfc-polls-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nbfc-polls-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 96px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(53, 220, 232, 0.46);
  border-radius: 15px;
  background: rgba(3, 18, 31, 0.76);
  color: var(--nbfc-cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(15px) saturate(130%);
}

.nbfc-polls-create span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--nbfc-cyan);
  color: #041521;
  font-size: 1.2rem;
  font-weight: 950;
}

.nbfc-polls-create strong {
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-convocation-detail__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.nbfc-convocation-delete {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(181, 54, 61, 0.5);
  border-radius: 14px;
  background: rgba(181, 54, 61, 0.13);
  color: #ff8e94;
}

.nbfc-convocation-delete[hidden] {
  display: none !important;
}

.nbfc-convocation-delete svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nbfc-poll-create-form {
  display: grid;
  gap: 13px;
}

.nbfc-poll-create-form > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nbfc-poll-create-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 246, 216, 0.74);
  font-size: 0.72rem;
  font-weight: 900;
}

.nbfc-poll-create-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(53, 220, 232, 0.25);
  border-radius: 14px;
  background: rgba(0, 6, 13, 0.46);
  color: var(--nbfc-cream);
}

.nbfc-poll-create-form > small {
  color: rgba(255, 246, 216, 0.6);
  line-height: 1.45;
}

.nbfc-poll-create-form > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nbfc-red), #86252e);
  color: var(--nbfc-cream);
  font-weight: 950;
}

.nbfc-poll-create-form > button svg {
  width: 19px;
  height: 19px;
}

.nbfc-poll-create-form > p {
  min-height: 18px;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
}

.nbfc-shell[data-theme="day"] .nbfc-polls-create {
  border-color: rgba(8, 109, 129, 0.34);
  background: rgba(246, 251, 252, 0.88);
  color: #082238;
}

@media (max-width: 520px) {
  .nbfc-polls-create {
    min-width: 46px;
    width: 46px;
    padding: 0;
  }

  .nbfc-polls-create strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* 0.21.2 - balanced mobile layouts and premium collector card */
.nbfc-polls-toolbar {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.nbfc-convocation-shell.is-detail-open .nbfc-polls-toolbar {
  display: none;
}

.nbfc-collector-card {
  --card-metal: color-mix(in srgb, var(--level-primary) 72%, #fff4c9 28%);
  border: 3px solid var(--card-metal);
  border-radius: 27px;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--level-primary) 34%, transparent), transparent 34%),
    radial-gradient(circle at 0 100%, color-mix(in srgb, var(--level-secondary) 34%, transparent), transparent 42%),
    linear-gradient(155deg, #0b263d 0%, #04101d 54%, #02060c 100%);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(2, 8, 15, 0.92),
    0 0 0 4px color-mix(in srgb, var(--card-metal) 42%, transparent),
    inset 0 0 0 1px rgba(255, 248, 218, 0.28),
    inset 0 0 42px color-mix(in srgb, var(--level-primary) 14%, transparent),
    0 0 30px color-mix(in srgb, var(--level-primary) 24%, transparent);
}

.nbfc-collector-card::before {
  position: absolute;
  inset: 7px;
  z-index: 7;
  border: 1px solid color-mix(in srgb, var(--card-metal) 56%, transparent);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.72);
  content: "";
  pointer-events: none;
}

.nbfc-collector-card::after {
  position: absolute;
  inset: -35% -70%;
  z-index: 6;
  background: linear-gradient(
    112deg,
    transparent 38%,
    rgba(255, 255, 255, 0.04) 44%,
    color-mix(in srgb, var(--level-primary) 18%, transparent) 48%,
    rgba(255, 246, 216, 0.26) 50%,
    color-mix(in srgb, var(--level-secondary) 16%, transparent) 53%,
    transparent 60%
  );
  content: "";
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
  transform: translateX(-26%) rotate(3deg);
  animation: nbfc-collector-laminate 8s ease-in-out infinite;
}

.nbfc-collector-card__foil {
  inset: -25%;
  z-index: 1;
  background:
    repeating-linear-gradient(
      118deg,
      transparent 0 17px,
      color-mix(in srgb, var(--level-primary) 8%, transparent) 18px 19px,
      transparent 20px 37px
    ),
    conic-gradient(
      from 130deg,
      transparent,
      color-mix(in srgb, var(--level-primary) 24%, transparent),
      transparent 32%,
      color-mix(in srgb, var(--level-secondary) 20%, transparent),
      transparent 68%
    );
  mix-blend-mode: screen;
  opacity: 0.7;
}

.nbfc-collector-card > header,
.nbfc-collector-card > footer,
.nbfc-collector-card__avatar,
.nbfc-collector-card__identity,
.nbfc-collector-card__score,
.nbfc-collector-card__quickstats,
.nbfc-collector-card__progress {
  z-index: 8;
}

.nbfc-collector-card__quickstats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 12px;
  padding: 7px;
  border: 1px solid color-mix(in srgb, var(--card-metal) 34%, transparent);
  border-radius: 15px;
  background: rgba(1, 8, 16, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px) saturate(130%);
}

.nbfc-collector-card__quickstats > span {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
  padding: 5px 3px;
  border-right: 1px solid rgba(255, 246, 216, 0.1);
}

.nbfc-collector-card__quickstats > span:last-child {
  border-right: 0;
}

.nbfc-collector-card__quickstats strong {
  color: var(--nbfc-cream);
  font-size: 1rem;
  line-height: 1;
}

.nbfc-collector-card__quickstats small {
  color: var(--level-primary);
  font-size: 0.54rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nbfc-collector-card[data-progression-level="1"] {
  --card-metal: #8ddbe6;
}

.nbfc-collector-card[data-progression-level="2"] {
  --card-metal: #59f0f5;
}

.nbfc-collector-card[data-progression-level="3"] {
  --card-metal: #ffd86f;
}

.nbfc-collector-card[data-progression-level="4"] {
  --card-metal: #d997ff;
}

.nbfc-collector-card[data-progression-level="5"] {
  --card-metal: #fff0a5;
}

.nbfc-shell[data-theme="day"] .nbfc-collector-card {
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--level-primary) 38%, transparent), transparent 35%),
    radial-gradient(circle at 0 100%, color-mix(in srgb, var(--level-secondary) 28%, transparent), transparent 43%),
    linear-gradient(155deg, #16415a 0%, #09243a 48%, #03111e 100%);
  box-shadow:
    0 26px 58px rgba(10, 67, 86, 0.28),
    0 0 0 2px rgba(255, 250, 231, 0.92),
    0 0 0 5px color-mix(in srgb, var(--card-metal) 48%, transparent),
    inset 0 0 0 1px rgba(255, 248, 218, 0.38),
    inset 0 0 42px color-mix(in srgb, var(--level-primary) 16%, transparent);
}

.nbfc-poll-create-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 5000 !important;
  width: 100vw !important;
  height: 100dvh !important;
}

.nbfc-poll-create-modal .nbfc-profile-modal__scrim {
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  background: rgba(0, 7, 15, 0.76);
  backdrop-filter: blur(26px) saturate(82%);
  -webkit-backdrop-filter: blur(26px) saturate(82%);
}

.nbfc-poll-create-modal .nbfc-profile-modal__panel {
  top: 50%;
  bottom: auto;
  width: min(calc(100% - 32px), 500px);
  max-height: calc(100dvh - 32px);
  border-color: rgba(53, 220, 232, 0.46);
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.13), transparent 30%),
    linear-gradient(150deg, rgba(8, 34, 52, 0.97), rgba(2, 10, 19, 0.99));
  transform: translate(-50%, -50%);
}

.nbfc-shell[data-theme="day"] .nbfc-poll-create-modal .nbfc-profile-modal__scrim {
  background: rgba(225, 237, 238, 0.72);
}

.nbfc-shell[data-theme="day"] .nbfc-poll-create-modal .nbfc-profile-modal__panel {
  border-color: rgba(8, 91, 113, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 220, 232, 0.2), transparent 32%),
    linear-gradient(150deg, rgba(255, 251, 238, 0.98), rgba(218, 235, 238, 0.98));
  color: #071b2a;
}

.nbfc-shell[data-theme="day"] .nbfc-poll-create-modal .nbfc-profile-modal__panel > h2,
.nbfc-shell[data-theme="day"] .nbfc-poll-create-form label,
.nbfc-shell[data-theme="day"] .nbfc-poll-create-form input {
  color: #071b2a;
}

.nbfc-shell[data-theme="day"] .nbfc-poll-create-form input {
  border-color: rgba(8, 91, 113, 0.3);
  background: rgba(255, 255, 255, 0.68);
}

.nbfc-shell[data-theme="day"] .nbfc-poll-create-form > small {
  color: rgba(7, 27, 42, 0.68);
}

@keyframes nbfc-collector-laminate {
  0%,
  16% {
    transform: translateX(-26%) rotate(3deg);
  }
  50%,
  66% {
    transform: translateX(28%) rotate(3deg);
  }
  100% {
    transform: translateX(-26%) rotate(3deg);
  }
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    width: 100% !important;
    max-width: none !important;
    transform: translateY(8px);
  }

  .nbfc-page-heading.nbfc-polls-hero {
    display: block;
    min-height: 64px !important;
    padding-top: 4px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-convocation-shell {
    gap: 5px !important;
  }

  .nbfc-convocation-filters {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .nbfc-polls-toolbar {
    min-height: 48px;
    padding: 1px 4px 3px;
  }

  .nbfc-polls-create {
    width: auto;
    min-width: 46px;
    min-height: 44px;
    padding: 0 11px;
    border-radius: 14px;
  }

  .nbfc-polls-create strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nbfc-poll-create-modal .nbfc-profile-modal__panel {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 22px 18px 18px;
    border-radius: 25px;
  }

  .nbfc-collector-card {
    min-height: 570px;
    padding: 17px;
  }

  .nbfc-collector-card__avatar {
    min-height: 250px;
  }

  .nbfc-collector-card__identity h3 {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    transform: translateY(6px);
  }

  .nbfc-collector-card {
    min-height: 530px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-collector-card::after {
    animation: none !important;
    opacity: 0.36;
  }
}

/* 0.23.0 - distinct, readable home scenes for actions, results and fixtures */
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  position: relative !important;
  display: block !important;
  isolation: isolate;
  padding: 8px !important;
  border: 1px solid rgba(53, 220, 232, 0.62) !important;
  background: rgba(2, 11, 20, 0.76) !important;
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 246, 216, 0.08),
    0 0 32px rgba(53, 220, 232, 0.17) !important;
  backdrop-filter: blur(18px) saturate(128%);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane] {
  position: absolute !important;
  inset: 8px !important;
  z-index: 2;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  min-height: 0 !important;
  padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px) 74px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 246, 216, 0.2) !important;
  border-radius: 20px !important;
  color: var(--nbfc-cream);
  background-position: center !important;
  background-size: cover !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 4px 0 0 var(--nbfc-cyan),
    0 14px 34px rgba(0, 0, 0, 0.32) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane][hidden] {
  display: none !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="priority"] {
  background:
    linear-gradient(90deg, rgba(2, 10, 19, 0.96) 0%, rgba(3, 18, 31, 0.91) 54%, rgba(3, 16, 28, 0.53) 100%),
    linear-gradient(180deg, rgba(2, 9, 17, 0.04), rgba(2, 9, 17, 0.62)),
    url("../images/nbfc-home-priority-night.jpg") center / cover no-repeat !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 4px 0 0 var(--nbfc-red),
    0 14px 34px rgba(0, 0, 0, 0.34) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="results"] {
  background:
    linear-gradient(90deg, rgba(2, 10, 19, 0.96) 0%, rgba(3, 18, 31, 0.91) 57%, rgba(3, 16, 28, 0.5) 100%),
    linear-gradient(180deg, rgba(2, 9, 17, 0.02), rgba(2, 9, 17, 0.68)),
    url("../images/nbfc-home-results-night.jpg") center / cover no-repeat !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="upcoming"] {
  background:
    linear-gradient(90deg, rgba(2, 10, 19, 0.95) 0%, rgba(3, 18, 31, 0.88) 59%, rgba(3, 16, 28, 0.44) 100%),
    linear-gradient(180deg, rgba(2, 9, 17, 0.03), rgba(2, 9, 17, 0.72)),
    url("../images/nbfc-home-upcoming-night.jpg") center / cover no-repeat !important;
}

/* 0.25.0 - direct poll response from the home priority */
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick {
  position: absolute;
  z-index: 4;
  right: 78px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  max-width: 420px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button {
  min-width: 0;
  min-height: 48px;
  padding: 0 9px;
  border: 1px solid rgba(255, 246, 216, 0.25);
  border-radius: 11px;
  background: rgba(2, 12, 22, 0.78);
  color: var(--nbfc-cream);
  font-size: clamp(0.66rem, 2.2vw, 0.78rem);
  font-weight: 900;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="present"] { border-color: rgba(85, 241, 143, .56); color: #dfffe9; }
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="maybe"] { border-color: rgba(255, 177, 61, .56); color: #fff0cb; }
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="absent"] { border-color: rgba(255, 104, 116, .62); color: #ffe0e3; }

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="present"].is-selected {
  border-color: #55f18f;
  background: #117247;
  box-shadow: 0 0 18px rgba(85, 241, 143, 0.32);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="maybe"].is-selected {
  border-color: #ffb13d;
  background: #9c5d12;
  box-shadow: 0 0 18px rgba(255, 177, 61, 0.28);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="absent"].is-selected {
  border-color: #ff6874;
  background: #9c2f3b;
  box-shadow: 0 0 18px rgba(255, 104, 116, 0.28);
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button {
  border-color: rgba(7, 53, 72, 0.24);
  background: rgba(250, 252, 244, 0.88);
  color: #08283c;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane]::after {
  position: absolute;
  inset: 8px;
  z-index: 0;
  border: 1px solid rgba(53, 220, 232, 0.15);
  border-radius: 14px;
  content: "";
  pointer-events: none;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane] > * {
  position: relative;
  z-index: 1;
}

/* 0.27.5 - several unanswered events remain actionable without crowding home. */
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  scrollbar-width: thin;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list > .nbfc-home-poll {
  position: relative;
  min-height: 188px !important;
  padding-bottom: 70px !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list > .nbfc-home-poll.is-resolved {
  opacity: 0;
  transform: translateX(-10px) scale(.98);
  transition: opacity .28s ease, transform .28s ease;
}

@media (max-width: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list > .nbfc-home-poll {
    min-height: 176px !important;
  }
}

.nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-poll__badge, .nbfc-home-card-title) {
  width: fit-content;
  max-width: calc(100% - 50px);
  margin: 0 !important;
  padding: 7px 10px;
  border: 1px solid rgba(53, 220, 232, 0.18);
  border-radius: 999px;
  background: rgba(0, 7, 14, 0.66);
  color: var(--nbfc-cyan) !important;
  font-size: clamp(0.69rem, 2vw, 0.78rem) !important;
  font-weight: 950 !important;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__badge {
  color: #e47175 !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: end !important;
  flex: 1;
  gap: 12px;
  width: min(76%, 430px);
  padding: 24px 0 4px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll h3,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-empty strong {
  max-width: 15ch;
  margin: 0 !important;
  color: var(--nbfc-cream) !important;
  font-family: var(--nbfc-display);
  font-size: clamp(1.35rem, 4.8vw, 2.25rem) !important;
  line-height: 0.98 !important;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-poll p, .nbfc-home-empty span) {
  max-width: 28ch;
  margin: 8px 0 0 !important;
  color: rgba(255, 246, 216, 0.76) !important;
  font-size: clamp(0.72rem, 2vw, 0.9rem) !important;
  font-weight: 760;
  line-height: 1.32;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__meta {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__art {
  display: none !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-results-layout {
  display: grid;
  grid-template-rows: minmax(126px, auto) minmax(0, 1fr);
  gap: 12px;
  flex: 1;
  width: min(78%, 470px);
  min-height: 0;
  padding-top: 14px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-result-summary, .nbfc-home-ranking-preview) {
  min-width: 0;
  border: 1px solid rgba(53, 220, 232, 0.22);
  border-radius: 16px;
  background: rgba(0, 8, 16, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 12px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-result-summary {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 10px 12px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-result-summary .nbfc-home-empty {
  display: grid;
  align-content: center;
  min-height: 98px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-result-summary .nbfc-home-empty strong {
  font-size: clamp(1rem, 3.7vw, 1.35rem) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-scoreline,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-versus {
  display: grid !important;
  grid-template-columns: minmax(50px, 1fr) auto minmax(50px, 1fr) !important;
  align-items: center;
  gap: 8px !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-team {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

.nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-team img, .nbfc-home-team > span) {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-team > span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 246, 216, 0.28);
  background: rgba(2, 13, 23, 0.82);
  color: var(--nbfc-cream);
  font-size: 0.82rem;
  font-weight: 950;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-team strong {
  width: 100%;
  overflow: hidden;
  color: var(--nbfc-cream) !important;
  font-size: 0.59rem !important;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-score {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 5px;
  color: var(--nbfc-cream) !important;
  font-size: clamp(1.35rem, 4.8vw, 1.9rem) !important;
  font-weight: 950;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-result-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-result-meta :is(em, small) {
  margin: 0 !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview {
  align-self: stretch;
  padding: 10px 11px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview header {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--nbfc-cyan);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview header span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: rgba(53, 220, 232, 0.12);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview header svg {
  width: 15px;
  height: 15px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview ol {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 7px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 246, 216, 0.76);
  font-size: 0.62rem;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li.is-nbfc {
  background: rgba(53, 220, 232, 0.13);
  color: var(--nbfc-cream);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li b {
  color: var(--nbfc-cyan);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li span {
  overflow: hidden;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li em {
  color: var(--nbfc-cream);
  font-style: normal;
  font-weight: 950;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview > p {
  margin: 12px 0 0;
  color: rgba(255, 246, 216, 0.68);
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1.35;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match--next {
  justify-content: flex-start;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match--next > :not(.nbfc-home-card-action) {
  width: min(78%, 470px);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-competition {
  display: inline-flex;
  align-self: flex-start;
  width: auto !important;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(181, 54, 61, 0.18);
  color: #e9898c;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match--next .nbfc-home-versus {
  margin-top: auto;
  margin-bottom: auto;
  padding: 12px;
  border: 1px solid rgba(53, 220, 232, 0.22);
  border-radius: 17px;
  background: rgba(0, 8, 16, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-vs {
  color: #e47175 !important;
  font-size: clamp(1.15rem, 4vw, 1.65rem) !important;
  font-style: italic;
  font-weight: 950;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match-meta {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px !important;
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(0, 8, 16, 0.68);
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match-meta__place {
  grid-column: 1 / -1;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-empty--fixture {
  margin-top: 10px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-empty--fixture strong {
  font-size: clamp(1rem, 3.7vw, 1.35rem) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  right: auto !important;
  bottom: 18px !important;
  left: 18px !important;
  z-index: 4 !important;
  display: grid !important;
  place-items: center;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgba(53, 220, 232, 0.66) !important;
  border-radius: 15px !important;
  background: linear-gradient(145deg, rgba(5, 35, 50, 0.98), rgba(8, 91, 113, 0.94)) !important;
  color: var(--nbfc-cream) !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.38),
    0 0 20px rgba(53, 220, 232, 0.28) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action svg {
  width: 19px;
  height: 19px;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action:focus-visible {
  outline: 3px solid var(--nbfc-cream);
  outline-offset: 3px;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  border-color: rgba(8, 91, 113, 0.48) !important;
  background: rgba(242, 249, 247, 0.78) !important;
  box-shadow:
    0 24px 56px rgba(7, 53, 72, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.78),
    0 0 28px rgba(181, 54, 61, 0.1) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="priority"] {
  background:
    linear-gradient(90deg, rgba(250, 252, 244, 0.97) 0%, rgba(236, 246, 244, 0.92) 56%, rgba(225, 240, 241, 0.58) 100%),
    linear-gradient(180deg, rgba(255, 252, 239, 0.04), rgba(218, 235, 238, 0.52)),
    url("../images/nbfc-home-priority-day.jpg") center / cover no-repeat !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="results"] {
  background:
    linear-gradient(90deg, rgba(250, 252, 244, 0.97) 0%, rgba(230, 242, 242, 0.91) 57%, rgba(218, 235, 238, 0.56) 100%),
    linear-gradient(180deg, rgba(255, 252, 239, 0.04), rgba(218, 235, 238, 0.5)),
    url("../images/nbfc-home-results-day.jpg") center / cover no-repeat !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="upcoming"] {
  background:
    linear-gradient(90deg, rgba(250, 252, 244, 0.97) 0%, rgba(230, 242, 242, 0.9) 58%, rgba(218, 235, 238, 0.52) 100%),
    linear-gradient(180deg, rgba(255, 252, 239, 0.04), rgba(218, 235, 238, 0.54)),
    url("../images/nbfc-home-upcoming-day.jpg") center / cover no-repeat !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] :is(.nbfc-home-poll__badge, .nbfc-home-card-title) {
  border-color: rgba(8, 91, 113, 0.18);
  background: rgba(249, 252, 247, 0.78);
  color: #087f99 !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll__badge {
  color: #a73b43 !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-poll h3,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-empty strong,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] :is(.nbfc-home-team strong, .nbfc-home-score) {
  color: #071b2a !important;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.72);
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] :is(.nbfc-home-poll p, .nbfc-home-empty span) {
  color: rgba(7, 27, 42, 0.72) !important;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.66);
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] :is(.nbfc-home-result-summary, .nbfc-home-ranking-preview, .nbfc-home-match--next .nbfc-home-versus, .nbfc-home-match-meta) {
  border-color: rgba(8, 91, 113, 0.2);
  background: rgba(247, 251, 247, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 24px rgba(7, 53, 72, 0.1);
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li {
  background: rgba(8, 91, 113, 0.07);
  color: rgba(7, 27, 42, 0.76);
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li.is-nbfc {
  background: rgba(8, 127, 153, 0.14);
  color: #071b2a;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li em,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview > p {
  color: rgba(7, 27, 42, 0.72);
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-team > span {
  border-color: rgba(8, 91, 113, 0.24);
  background: rgba(255, 252, 239, 0.78);
  color: #071b2a;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  border-color: rgba(142, 40, 49, 0.74) !important;
  background: linear-gradient(145deg, #bd4b51, #8f3038) !important;
  color: #fff8e6 !important;
  box-shadow:
    0 10px 22px rgba(99, 30, 37, 0.24),
    0 0 18px rgba(181, 54, 61, 0.18) !important;
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    width: min(calc(100% - 20px), 430px) !important;
    height: clamp(310px, calc(100dvh - 324px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 514px) !important;
    min-height: 310px !important;
    max-height: 514px !important;
    transform: translateY(8px);
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane] {
    padding: 15px 98px 67px 15px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__body,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-results-layout,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match--next > :not(.nbfc-home-card-action) {
    width: 100%;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-results-layout {
    grid-template-rows: minmax(116px, auto) minmax(0, 1fr);
    gap: 9px;
    padding-top: 10px;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview {
    padding: 8px 9px;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li {
    min-height: 25px;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match--next .nbfc-home-versus {
    margin-top: 18px;
    margin-bottom: 0;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
    bottom: 15px !important;
    left: 15px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-fixed-player-avatar {
    right: -74px !important;
    bottom: calc(66px + env(safe-area-inset-bottom)) !important;
    z-index: 30 !important;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    height: clamp(276px, calc(100dvh - 306px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 372px) !important;
    min-height: 276px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane] {
    padding-right: 86px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview li:nth-child(3) {
    display: none;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-results-layout {
    grid-template-rows: minmax(102px, auto) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane] {
    transition: none !important;
  }
}

/* 0.24.0 - immersive home scenes and collectible player cards */
.nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-fixed-player-avatar, .nbfc-player-stage__avatar) {
  display: none !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-view.is-active > .nbfc-section-tabs,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  width: min(calc(100% - 24px), 700px) !important;
  margin-inline: auto !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean {
  place-items: stretch !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  height: clamp(340px, calc(100dvh - 300px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 560px) !important;
  min-height: 340px !important;
  max-height: 560px !important;
  border: 1px solid rgba(255, 246, 216, 0.18) !important;
  border-radius: 20px !important;
  background: rgba(2, 10, 18, 0.28) !important;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane] {
  padding: 20px 20px 76px !important;
  border: 0 !important;
  border-radius: 19px !important;
  box-shadow: none !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane]::after {
  display: none !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="priority"] {
  background:
    linear-gradient(90deg, rgba(2, 11, 20, 0.76) 0%, rgba(2, 12, 22, 0.42) 48%, rgba(2, 12, 22, 0.12) 100%),
    linear-gradient(180deg, rgba(2, 9, 17, 0.06), rgba(2, 9, 17, 0.45)),
    url("../images/nbfc-home-priority-night.jpg") center / cover no-repeat !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="results"] {
  background:
    linear-gradient(90deg, rgba(2, 11, 20, 0.7) 0%, rgba(2, 12, 22, 0.34) 52%, rgba(2, 12, 22, 0.1) 100%),
    linear-gradient(180deg, rgba(2, 9, 17, 0.04), rgba(2, 9, 17, 0.42)),
    url("../images/nbfc-home-results-night.jpg") center / cover no-repeat !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="upcoming"] {
  background:
    linear-gradient(90deg, rgba(2, 11, 20, 0.68) 0%, rgba(2, 12, 22, 0.3) 54%, rgba(2, 12, 22, 0.08) 100%),
    linear-gradient(180deg, rgba(2, 9, 17, 0.04), rgba(2, 9, 17, 0.44)),
    url("../images/nbfc-home-upcoming-night.jpg") center / cover no-repeat !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__body,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-results-layout,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match--next > :not(.nbfc-home-card-action) {
  width: 100% !important;
  max-width: none !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-scoreline {
  gap: clamp(12px, 5vw, 34px) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-team img,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-versus .nbfc-home-team img {
  width: clamp(62px, 17vw, 92px) !important;
  height: clamp(62px, 17vw, 92px) !important;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-team > span {
  width: clamp(62px, 17vw, 92px) !important;
  height: clamp(62px, 17vw, 92px) !important;
  font-size: clamp(1rem, 5vw, 1.5rem) !important;
}

.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
.nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
  right: 18px !important;
  bottom: 18px !important;
  left: auto !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
  border-color: rgba(7, 53, 72, 0.18) !important;
  background: rgba(244, 250, 247, 0.34) !important;
  box-shadow:
    0 22px 50px rgba(7, 53, 72, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="priority"] {
  background:
    linear-gradient(90deg, rgba(252, 253, 246, 0.8) 0%, rgba(242, 249, 246, 0.46) 54%, rgba(235, 246, 245, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 252, 239, 0.04), rgba(218, 235, 238, 0.26)),
    url("../images/nbfc-home-priority-day.jpg") center / cover no-repeat !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="results"] {
  background:
    linear-gradient(90deg, rgba(252, 253, 246, 0.78) 0%, rgba(240, 248, 246, 0.42) 56%, rgba(230, 243, 243, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 252, 239, 0.04), rgba(218, 235, 238, 0.24)),
    url("../images/nbfc-home-results-day.jpg") center / cover no-repeat !important;
}

.nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene="upcoming"] {
  background:
    linear-gradient(90deg, rgba(252, 253, 246, 0.78) 0%, rgba(240, 248, 246, 0.4) 58%, rgba(230, 243, 243, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 252, 239, 0.04), rgba(218, 235, 238, 0.24)),
    url("../images/nbfc-home-upcoming-day.jpg") center / cover no-repeat !important;
}

.nbfc-card-collection-modal .nbfc-profile-modal__scrim {
  background: rgba(1, 7, 14, 0.72);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

.nbfc-card-collection {
  width: min(1100px, calc(100vw - 24px)) !important;
  max-width: 1100px !important;
  overflow: hidden !important;
  padding: clamp(20px, 4vw, 38px) !important;
  border-color: rgba(255, 246, 216, 0.18) !important;
  background:
    radial-gradient(circle at 50% 16%, rgba(53, 220, 232, 0.15), transparent 35%),
    linear-gradient(145deg, rgba(5, 22, 36, 0.98), rgba(2, 9, 18, 0.98)) !important;
}

.nbfc-card-collection__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
  margin: 12px auto 18px;
  padding: 10px 13px;
  border: 1px solid rgba(53, 220, 232, 0.2);
  border-radius: 12px;
  background: rgba(53, 220, 232, 0.06);
}

.nbfc-card-collection__summary > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  color: #35dce8;
  background: rgba(53, 220, 232, 0.1);
}

.nbfc-card-collection__summary svg {
  width: 22px;
  height: 22px;
}

.nbfc-card-collection__summary div {
  display: grid;
  gap: 2px;
}

.nbfc-card-collection__summary strong {
  color: var(--nbfc-cream);
}

.nbfc-card-collection__summary small {
  color: rgba(255, 246, 216, 0.62);
}

.nbfc-card-collection__viewport {
  margin-inline: calc(clamp(20px, 4vw, 38px) * -1);
  overflow: hidden;
}

.nbfc-card-collection__track {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  overflow-x: auto;
  padding: 18px max(34px, calc((100% - 300px) / 2)) 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.nbfc-card-collection__track::-webkit-scrollbar {
  display: none;
}

.nbfc-player-card-edition {
  --edition-accent: #a87547;
  --edition-light: #ffd09b;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(245px, 1fr) auto auto auto;
  flex: 0 0 clamp(260px, 74vw, 320px);
  min-height: 470px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--edition-light) 68%, transparent);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--edition-accent) 34%, transparent), transparent 42%),
    linear-gradient(150deg, #13283a, #04111d 58%, #091a28);
  color: #fff8e6;
  scroll-snap-align: center;
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.46),
    inset 0 0 0 3px rgba(255, 255, 255, 0.04),
    inset 0 0 32px color-mix(in srgb, var(--edition-accent) 18%, transparent);
  transform: translateY(12px) scale(0.94);
  transition: transform 220ms ease, filter 220ms ease, opacity 220ms ease;
}

.nbfc-player-card-edition--2 { --edition-accent: #8ba3b6; --edition-light: #e5f4ff; }
.nbfc-player-card-edition--3 { --edition-accent: #d7a62a; --edition-light: #fff0a0; }
.nbfc-player-card-edition--4 { --edition-accent: #34d8de; --edition-light: #d8ffff; }
.nbfc-player-card-edition--5 { --edition-accent: #c862e8; --edition-light: #fff0ff; }

.nbfc-player-card-edition.is-selected {
  z-index: 3;
  filter: saturate(1.12);
  transform: translateY(0) scale(1);
}

.nbfc-player-card-edition.is-locked {
  filter: saturate(0.25) brightness(0.58);
}

.nbfc-player-card-edition__foil {
  position: absolute;
  z-index: 5;
  inset: -45%;
  pointer-events: none;
  opacity: 0.22;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.72) 45%, rgba(53,220,232,0.42) 49%, rgba(181,54,61,0.34) 53%, transparent 66%);
  transform: translateX(-36%) rotate(8deg);
  animation: nbfc-card-foil 5.5s ease-in-out infinite alternate;
}

.nbfc-player-card-edition > *:not(.nbfc-player-card-edition__foil) {
  position: relative;
  z-index: 2;
}

.nbfc-player-card-edition > header,
.nbfc-player-card-edition > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--edition-light);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-player-card-edition__portrait {
  display: grid;
  place-items: end center;
  min-height: 245px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--edition-accent) 50%, transparent), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.16));
}

.nbfc-player-card-edition__portrait img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.48));
}

.nbfc-player-card-edition__identity {
  padding: 10px 3px 8px;
  text-align: center;
}

.nbfc-player-card-edition__identity span {
  color: var(--edition-light);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-player-card-edition__identity h3 {
  margin: 3px 0 1px;
  color: #fff8e6;
  font-size: 1.3rem;
}

.nbfc-player-card-edition__identity p {
  margin: 0;
  color: rgba(255, 248, 230, 0.62);
  font-size: 0.72rem;
}

.nbfc-player-card-edition__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.nbfc-player-card-edition__stats span {
  display: grid;
  gap: 1px;
  padding: 9px 4px;
  text-align: center;
}

.nbfc-player-card-edition__stats strong {
  color: var(--edition-light);
  font-size: 1.05rem;
}

.nbfc-player-card-edition__stats small {
  color: rgba(255, 248, 230, 0.58);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.nbfc-player-card-edition > footer {
  padding-top: 10px;
}

.nbfc-player-card-edition > footer span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 248, 230, 0.66);
  font-size: 0.58rem;
}

.nbfc-player-card-edition > footer svg {
  width: 14px;
  height: 14px;
}

.nbfc-card-collection__controls {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
  width: min(100%, 420px);
  margin: 0 auto;
  color: rgba(255, 246, 216, 0.6);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: center;
}

.nbfc-card-collection__controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(53, 220, 232, 0.28);
  border-radius: 50%;
  background: rgba(53, 220, 232, 0.08);
  color: #35dce8;
}

.nbfc-card-collection__controls svg {
  width: 19px;
  height: 19px;
}

.nbfc-shell[data-theme="day"] .nbfc-card-collection-modal .nbfc-profile-modal__scrim {
  background: rgba(225, 237, 238, 0.64);
}

.nbfc-shell[data-theme="day"] .nbfc-card-collection {
  background:
    radial-gradient(circle at 50% 16%, rgba(8, 127, 153, 0.12), transparent 35%),
    linear-gradient(145deg, rgba(252, 253, 246, 0.98), rgba(225, 238, 239, 0.98)) !important;
}

.nbfc-shell[data-theme="day"] .nbfc-card-collection > :is(p, h2),
.nbfc-shell[data-theme="day"] .nbfc-card-collection__summary strong {
  color: #071b2a;
}

.nbfc-shell[data-theme="day"] .nbfc-card-collection__summary small,
.nbfc-shell[data-theme="day"] .nbfc-card-collection__controls {
  color: rgba(7, 27, 42, 0.66);
}

@keyframes nbfc-card-foil {
  to { transform: translateX(34%) rotate(8deg); }
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    width: calc(100% - 24px) !important;
    height: clamp(330px, calc(100dvh - 292px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 520px) !important;
    min-height: 330px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-section-pane] {
    padding: 16px 16px 70px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-results-layout {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(138px, auto) minmax(0, 1fr);
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
    right: 15px !important;
    bottom: 15px !important;
    left: auto !important;
  }

  .nbfc-card-collection-modal .nbfc-profile-modal__panel {
    width: 100vw !important;
    min-height: 100dvh;
    max-height: 100dvh;
    border: 0 !important;
    border-radius: 0 !important;
    padding-top: max(24px, env(safe-area-inset-top)) !important;
    padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    height: clamp(292px, calc(100dvh - 278px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 390px) !important;
    min-height: 292px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-player-card-edition,
  .nbfc-player-card-edition__foil {
    transition: none !important;
    animation: none !important;
  }
}

/* 0.24.1 - extensible card collection and mobile geometry */
.nbfc-collector-card--art {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  width: min(100%, 430px) !important;
  padding: 14px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 50% 16%, rgba(53, 220, 232, 0.18), transparent 34%),
    linear-gradient(150deg, rgba(8, 31, 49, 0.98), rgba(2, 11, 21, 0.98)) !important;
}

.nbfc-collector-card--art .nbfc-collector-card__art {
  position: relative;
  z-index: 2;
  width: min(100%, 330px);
  aspect-ratio: 2 / 3;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 18px;
  background: #020a12;
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 246, 216, 0.22);
}

.nbfc-collector-card--art .nbfc-collector-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nbfc-collector-card--art .nbfc-collector-card__art > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(2, 10, 18, 0.72);
  color: #fff6d8;
  font-size: 0.65rem;
  font-weight: 950;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nbfc-collector-card--art .nbfc-collector-card__identity {
  padding-inline: 4px;
}

.nbfc-shell[data-theme="day"] .nbfc-collector-card--art {
  background:
    radial-gradient(circle at 50% 16%, rgba(8, 127, 153, 0.16), transparent 34%),
    linear-gradient(150deg, rgba(252, 253, 246, 0.98), rgba(222, 238, 241, 0.98)) !important;
}

.nbfc-player-card-edition {
  grid-template-rows: auto auto auto auto !important;
}

.nbfc-player-card-edition--bronze { --edition-accent: #a87547; --edition-light: #ffd09b; }
.nbfc-player-card-edition--silver { --edition-accent: #8ba3b6; --edition-light: #e5f4ff; }
.nbfc-player-card-edition--gold { --edition-accent: #d7a62a; --edition-light: #fff0a0; }
.nbfc-player-card-edition--chrome { --edition-accent: #34d8de; --edition-light: #d8ffff; }
.nbfc-player-card-edition--legend { --edition-accent: #d8a52f; --edition-light: #fff4c1; }
.nbfc-player-card-edition--red { --edition-accent: #b5363d; --edition-light: #ffdadd; }
.nbfc-player-card-edition--cyan { --edition-accent: #35dce8; --edition-light: #e0fdff; }

.nbfc-player-card-edition__art {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #020a12;
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px color-mix(in srgb, var(--edition-light) 45%, transparent);
}

.nbfc-player-card-edition__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nbfc-player-card-edition__art b {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 28px;
  padding-inline: 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(2, 10, 18, 0.7);
  color: #fff6d8;
  font-size: 0.66rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nbfc-player-card-edition__identity > strong {
  display: block;
  margin: 4px 0 1px;
  color: var(--edition-light);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nbfc-card-collection__controls button {
  position: relative;
  z-index: 8;
  border-color: rgba(53, 220, 232, 0.72) !important;
  background: #35dce8 !important;
  color: #03131f !important;
  box-shadow: 0 10px 24px rgba(53, 220, 232, 0.3);
}

.nbfc-shell[data-theme="day"] .nbfc-card-collection__controls button {
  border-color: rgba(181, 54, 61, 0.7) !important;
  background: #b5363d !important;
  color: #fff8e6 !important;
  box-shadow: 0 10px 22px rgba(181, 54, 61, 0.24);
}

.nbfc-card-collection__controls button:disabled {
  opacity: 0.38;
  box-shadow: none;
}

@media (max-width: 767px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-view.is-active > .nbfc-section-tabs,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean {
    width: 100% !important;
    max-width: 700px !important;
    margin-inline: 0 !important;
    border-radius: 20px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    width: 100% !important;
    height: clamp(286px, calc(100dvh - 320px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 720px) !important;
    min-height: 286px !important;
    max-height: 720px !important;
    border-radius: 20px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    border-radius: 20px !important;
  }

  .nbfc-card-collection {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
  }

  .nbfc-player-card-edition {
    flex-basis: min(78vw, 330px);
    min-height: 650px;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    height: clamp(260px, calc(100dvh - 320px - env(safe-area-inset-top) - env(safe-area-inset-bottom)), 380px) !important;
    min-height: 260px !important;
  }
}

/* 0.25.3 - compact collector cards on iPhone */
@media (max-width: 767px) {
  .nbfc-player-profile {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .nbfc-collector-card--art {
    position: relative;
    display: block !important;
    width: min(100%, 350px) !important;
    height: clamp(330px, 48dvh, 410px);
    min-height: 0 !important;
    padding: 10px !important;
    overflow: hidden;
  }

  .nbfc-collector-card--art .nbfc-collector-card__art {
    position: absolute;
    inset: 10px;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
  }

  .nbfc-collector-card--art .nbfc-collector-card__identity {
    position: absolute;
    z-index: 8;
    right: 24px;
    bottom: 24px;
    left: 24px;
    padding: 34px 12px 8px;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(180deg, transparent, rgba(1, 8, 15, 0.88) 42%);
    text-align: left;
  }

  .nbfc-collector-card--art .nbfc-collector-card__identity h3 {
    margin: 2px 0;
    font-size: clamp(1.12rem, 6vw, 1.45rem);
  }

  .nbfc-collector-card--art .nbfc-collector-card__identity p {
    margin: 0;
  }

  .nbfc-collector-card--art .nbfc-collector-card__score {
    position: absolute;
    z-index: 9;
    top: 24px;
    right: 24px;
    width: 88px;
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(3, 17, 29, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .nbfc-collector-card--art :is(.nbfc-collector-card__quickstats, .nbfc-collector-card__progress, footer) {
    display: none !important;
  }

  .nbfc-card-collection-modal {
    z-index: 10000;
  }

  .nbfc-card-collection-modal .nbfc-profile-modal__panel.nbfc-card-collection {
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    padding:
      max(16px, env(safe-area-inset-top))
      0
      max(12px, env(safe-area-inset-bottom)) !important;
  }

  .nbfc-card-collection > p,
  .nbfc-card-collection > h2 {
    margin-inline: 18px;
  }

  .nbfc-card-collection > p {
    margin-top: 0;
    margin-bottom: 2px;
    padding-right: 54px;
    font-size: 0.68rem;
  }

  .nbfc-card-collection > h2 {
    margin-top: 0;
    margin-bottom: 7px;
    padding-right: 54px;
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.05;
  }

  .nbfc-card-collection .nbfc-profile-modal__close {
    position: fixed !important;
    z-index: 10002;
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    width: 46px;
    height: 46px;
    background: rgba(3, 17, 29, 0.82);
    color: #fff6d8;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nbfc-card-collection__summary {
    width: auto;
    min-height: 0;
    margin: 4px 18px 8px;
    padding: 7px 10px;
  }

  .nbfc-card-collection__summary > span {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .nbfc-card-collection__summary strong {
    font-size: 0.88rem;
  }

  .nbfc-card-collection__summary small {
    display: block;
    font-size: 0.67rem;
    line-height: 1.25;
  }

  .nbfc-card-collection__viewport {
    min-height: 0;
    margin-inline: 0;
  }

  .nbfc-card-collection__track {
    height: 100%;
    align-items: center;
    gap: 14px;
    padding: 6px max(28px, calc((100vw - min(72vw, 286px)) / 2)) 8px;
  }

  .nbfc-player-card-edition {
    flex: 0 0 min(72vw, 286px) !important;
    width: min(72vw, 286px);
    height: min(53dvh, 450px);
    min-height: 0 !important;
    max-height: 450px;
    grid-template-rows: minmax(0, 1fr) auto auto auto !important;
    padding: 9px;
    border-radius: 16px;
  }

  .nbfc-player-card-edition__art {
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .nbfc-player-card-edition__identity {
    padding: 6px 2px 4px;
  }

  .nbfc-player-card-edition__identity h3 {
    font-size: 1rem;
  }

  .nbfc-player-card-edition__identity p,
  .nbfc-player-card-edition__identity span,
  .nbfc-player-card-edition__identity > strong {
    font-size: 0.6rem;
  }

  .nbfc-player-card-edition__stats span {
    padding: 5px 2px;
  }

  .nbfc-player-card-edition__stats strong {
    font-size: 0.86rem;
  }

  .nbfc-player-card-edition > footer {
    padding-top: 5px;
  }

  .nbfc-card-collection__controls {
    width: min(100% - 32px, 360px);
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding-top: 4px;
  }

  .nbfc-card-collection__controls button {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-collector-card--art {
    height: 320px;
  }

  .nbfc-card-collection__summary small,
  .nbfc-card-collection__controls > span {
    display: none;
  }

  .nbfc-card-collection__summary {
    margin-block: 2px 5px;
  }

  .nbfc-player-card-edition {
    height: 48dvh;
  }
}

/* 0.25.4 - compact profile card and hand-style mobile collection */
@media (max-width: 767px) {
  .nbfc-collector-card--art {
    width: min(82vw, 304px) !important;
    height: clamp(272px, 39dvh, 326px) !important;
    margin-inline: auto;
    border-radius: 18px !important;
  }

  .nbfc-collector-card--art .nbfc-collector-card__art {
    inset: 8px;
    border-radius: 14px;
  }

  .nbfc-collector-card--art .nbfc-collector-card__identity {
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 27px 9px 6px;
  }

  .nbfc-collector-card--art .nbfc-collector-card__identity h3 {
    font-size: clamp(1rem, 5vw, 1.25rem);
  }

  .nbfc-collector-card--art .nbfc-collector-card__score {
    top: 18px;
    right: 18px;
    width: 76px;
    padding: 7px 6px;
    border-radius: 12px;
  }

  .nbfc-card-collection-modal {
    z-index: 10000;
    isolation: isolate;
  }

  .nbfc-card-collection-modal .nbfc-profile-modal__panel.nbfc-card-collection {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    padding:
      max(12px, env(safe-area-inset-top))
      0
      max(10px, env(safe-area-inset-bottom)) !important;
  }

  .nbfc-card-collection .nbfc-profile-modal__close {
    position: fixed !important;
    z-index: 10004 !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    display: grid !important;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(2, 12, 22, 0.7);
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
    pointer-events: auto;
  }

  .nbfc-card-collection > p,
  .nbfc-card-collection > h2 {
    margin-inline: 16px;
    padding-right: 58px;
  }

  .nbfc-card-collection > h2 {
    margin-bottom: 4px;
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .nbfc-card-collection__summary {
    margin: 3px 16px 5px;
    padding: 6px 9px;
  }

  .nbfc-card-collection__summary > span {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .nbfc-card-collection__summary small {
    font-size: 0.62rem;
  }

  .nbfc-card-collection__track {
    gap: 0;
    padding:
      4px
      max(24px, calc((100vw - min(64vw, 238px)) / 2))
      5px;
    scroll-padding-inline: max(24px, calc((100vw - min(64vw, 238px)) / 2));
  }

  .nbfc-player-card-edition {
    flex: 0 0 min(64vw, 238px) !important;
    width: min(64vw, 238px);
    height: min(43dvh, 358px);
    max-height: 358px;
    margin-inline: -3px;
    padding: 7px;
    border-radius: 15px;
    transform-origin: 50% 92%;
    opacity: 0.72;
  }

  .nbfc-player-card-edition[data-collection-offset="-2"],
  .nbfc-player-card-edition[data-collection-offset="-1"] {
    z-index: 1;
    transform: translateY(16px) rotate(-6deg) scale(0.9);
  }

  .nbfc-player-card-edition[data-collection-offset="1"],
  .nbfc-player-card-edition[data-collection-offset="2"] {
    z-index: 1;
    transform: translateY(16px) rotate(6deg) scale(0.9);
  }

  .nbfc-player-card-edition.is-selected {
    z-index: 4;
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }

  .nbfc-player-card-edition__identity {
    padding: 4px 2px 3px;
  }

  .nbfc-player-card-edition__identity h3 {
    font-size: 0.9rem;
  }

  .nbfc-player-card-edition__stats span {
    padding: 4px 2px;
  }

  .nbfc-player-card-edition > footer {
    padding-top: 4px;
  }

  .nbfc-card-collection__controls {
    width: min(100% - 28px, 330px);
    padding-top: 2px;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-collector-card--art {
    height: 270px !important;
  }

  .nbfc-player-card-edition {
    height: min(40dvh, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbfc-player-card-edition[data-collection-offset] {
    transition: none !important;
  }
}

/* 0.25.5 - portrait collector cards and compact mobile collection */
@media (max-width: 767px) {
  .nbfc-view[data-view-panel="profile"] {
    padding-bottom: calc(94px + env(safe-area-inset-bottom)) !important;
  }

  .nbfc-player-profile {
    gap: 8px;
    padding: 10px 10px 12px !important;
  }

  .nbfc-player-profile__header {
    gap: 8px;
  }

  .nbfc-player-profile__header p {
    margin-bottom: 1px;
    font-size: 0.6rem;
  }

  .nbfc-player-profile__header h2 {
    font-size: clamp(1.24rem, 6vw, 1.55rem);
  }

  .nbfc-player-profile__actions {
    gap: 5px;
  }

  .nbfc-player-profile__actions button {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .nbfc-collector-card--art {
    width: min(57vw, 210px) !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 2 / 3;
    padding: 6px !important;
    border-radius: 17px !important;
  }

  .nbfc-collector-card--art .nbfc-collector-card__art {
    inset: 6px;
    border-radius: 13px;
    background: #020a12;
  }

  .nbfc-collector-card--art .nbfc-collector-card__art img {
    object-fit: contain;
    object-position: center;
  }

  .nbfc-collector-card--art .nbfc-collector-card__identity {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 28px 8px 5px;
    border-radius: 0 0 10px 10px;
  }

  .nbfc-collector-card--art .nbfc-collector-card__identity h3 {
    font-size: clamp(0.9rem, 4.6vw, 1.08rem);
  }

  .nbfc-collector-card--art .nbfc-collector-card__identity :is(span, p) {
    font-size: 0.56rem;
  }

  .nbfc-collector-card--art .nbfc-collector-card__score {
    top: 12px;
    right: 12px;
    width: 66px;
    padding: 6px 4px;
    border-radius: 10px;
  }

  .nbfc-collector-card--art .nbfc-collector-card__score strong {
    font-size: 1.3rem;
  }

  .nbfc-collector-card--art .nbfc-collector-card__score :is(span, small) {
    font-size: 0.5rem;
  }

  .nbfc-profile-logout {
    width: min(100%, 300px);
    min-height: 44px;
    margin: 0 auto;
  }

  .nbfc-card-collection-modal .nbfc-profile-modal__panel.nbfc-card-collection {
    display: flex !important;
    flex-direction: column;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    padding:
      max(10px, env(safe-area-inset-top))
      0
      max(8px, env(safe-area-inset-bottom)) !important;
  }

  .nbfc-card-collection > p,
  .nbfc-card-collection > h2,
  .nbfc-card-collection__summary,
  .nbfc-card-collection__controls {
    flex: 0 0 auto;
  }

  .nbfc-card-collection > p {
    margin: 0 14px 1px;
    padding-right: 52px;
    font-size: 0.6rem;
    line-height: 1.1;
  }

  .nbfc-card-collection > h2 {
    margin: 0 14px 4px;
    padding-right: 52px;
    font-size: clamp(1.16rem, 5.7vw, 1.5rem);
    line-height: 1;
  }

  .nbfc-card-collection .nbfc-profile-modal__close {
    top: max(18px, calc(env(safe-area-inset-top) + 18px)) !important;
    right: max(7px, env(safe-area-inset-right)) !important;
    width: 44px;
    height: 44px;
  }

  .nbfc-card-collection__summary {
    align-self: stretch;
    width: auto;
    height: auto !important;
    min-height: 0 !important;
    max-height: 48px;
    margin: 3px 14px 5px;
    padding: 5px 8px;
    gap: 8px;
    overflow: hidden;
  }

  .nbfc-card-collection__summary > span {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 9px;
  }

  .nbfc-card-collection__summary svg {
    width: 17px;
    height: 17px;
  }

  .nbfc-card-collection__summary strong {
    font-size: 0.78rem;
    line-height: 1;
  }

  .nbfc-card-collection__summary small {
    overflow: hidden;
    font-size: 0.56rem;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nbfc-card-collection__viewport {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    overflow: hidden;
  }

  .nbfc-card-collection__track {
    height: 100%;
    min-height: 0;
    align-items: center;
    gap: 0;
    padding:
      3px
      max(22px, calc((100vw - min(57vw, 210px)) / 2))
      4px;
    scroll-padding-inline: max(22px, calc((100vw - min(57vw, 210px)) / 2));
  }

  .nbfc-player-card-edition {
    position: relative;
    display: block !important;
    flex: 0 0 min(57vw, 210px) !important;
    width: min(57vw, 210px);
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 2 / 3;
    margin-inline: -2px;
    padding: 6px;
    border-radius: 15px;
  }

  .nbfc-player-card-edition__art {
    position: absolute;
    inset: 6px;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 11px;
  }

  .nbfc-player-card-edition__art img {
    object-fit: contain;
    object-position: center;
  }

  .nbfc-player-card-edition__identity {
    position: absolute !important;
    z-index: 6 !important;
    right: 10px;
    bottom: 9px;
    left: 10px;
    padding: 26px 7px 5px;
    border-radius: 0 0 9px 9px;
    background: linear-gradient(180deg, transparent, rgba(1, 8, 15, 0.9) 42%);
  }

  .nbfc-player-card-edition__identity h3 {
    margin-block: 1px;
    font-size: 0.82rem;
  }

  .nbfc-player-card-edition__identity :is(span, strong, p) {
    font-size: 0.52rem;
  }

  .nbfc-player-card-edition__stats,
  .nbfc-player-card-edition > footer {
    display: none !important;
  }

  .nbfc-card-collection__controls {
    width: min(100% - 24px, 320px);
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    padding-top: 2px;
  }

  .nbfc-card-collection__controls button {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 390px) and (max-height: 700px) {
  .nbfc-player-profile {
    gap: 6px;
    padding-top: 6px !important;
  }

  .nbfc-collector-card--art {
    width: min(51vw, 178px) !important;
  }

  .nbfc-card-collection__summary small,
  .nbfc-card-collection__controls > span {
    display: none;
  }

  .nbfc-card-collection__summary {
    max-height: 40px;
  }

  .nbfc-player-card-edition {
    flex-basis: min(50vw, 176px) !important;
    width: min(50vw, 176px);
  }
}

/* 0.27.4 final cascade */
.nbfc-card-collection-modal {
  overscroll-behavior: none;
}

.nbfc-card-collection__track {
  touch-action: pan-x;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.nbfc-card-collection__controls button {
  touch-action: manipulation;
}

.nbfc-player-card-edition.is-awarded::after {
  content: "STAFF";
  position: absolute;
  z-index: 8;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--edition-light) 70%, transparent);
  border-radius: 999px;
  background: rgba(2, 10, 18, 0.74);
  color: var(--edition-light);
  font-size: 0.52rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nbfc-card-preview-modal {
  display: grid;
  place-items: center;
  padding:
    max(12px, env(safe-area-inset-top))
    max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
}

.nbfc-card-preview-modal[hidden] {
  display: none !important;
}

.nbfc-card-preview {
  position: relative;
  width: min(88vw, 470px) !important;
  max-width: 470px !important;
  max-height: min(90dvh, 760px) !important;
  margin: auto !important;
  padding: 13px !important;
}

.nbfc-card-preview__art {
  width: auto !important;
  max-width: min(78vw, 390px);
  height: min(72dvh, 585px);
  aspect-ratio: 2 / 3;
}

.nbfc-card-preview__art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.nbfc-card-preview .nbfc-profile-modal__close {
  z-index: 5;
  top: 10px;
  right: 10px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(2, 12, 23, 0.78);
  color: #fff8e9;
}

.nbfc-shell[data-theme="day"] .nbfc-card-preview .nbfc-profile-modal__close {
  border-color: rgba(8, 34, 56, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: #082238;
}

@media (max-width: 767px) {
  .nbfc-card-collection-modal .nbfc-profile-modal__panel.nbfc-card-collection {
    height: var(--nbfc-app-height, 100dvh) !important;
    max-height: var(--nbfc-app-height, 100dvh) !important;
  }

  .nbfc-player-card-edition[data-collection-offset="-2"] {
    transform: translate(34px, 18px) rotate(-9deg) scale(0.86);
  }

  .nbfc-player-card-edition[data-collection-offset="-1"] {
    transform: translate(16px, 10px) rotate(-5deg) scale(0.91);
  }

  .nbfc-player-card-edition[data-collection-offset="1"] {
    transform: translate(-16px, 10px) rotate(5deg) scale(0.91);
  }

  .nbfc-player-card-edition[data-collection-offset="2"] {
    transform: translate(-34px, 18px) rotate(9deg) scale(0.86);
  }

  .nbfc-player-card-edition.is-selected {
    transform: translate(0, 0) rotate(0) scale(1);
  }

  .nbfc-card-preview {
    width: min(90vw, 360px) !important;
    max-height: calc(var(--nbfc-app-height, 100dvh) - 24px) !important;
    padding: 10px !important;
  }

  .nbfc-card-preview__art {
    width: min(76vw, 300px) !important;
    height: auto;
    max-height: calc(var(--nbfc-app-height, 100dvh) - 110px);
  }
}

/* 0.27.7 - one continuous mobile stage behind every NBFC screen. */
@media (max-width: 767px) {
  html,
  body.nbfc-app-body,
  .nbfc-shell,
  .nbfc-shell.is-authenticated,
  .nbfc-shell .nbfc-app-layout {
    width: 100%;
    min-height: var(--nbfc-app-height, 100dvh) !important;
  }

  .nbfc-shell.is-authenticated,
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    height: var(--nbfc-app-height, 100dvh) !important;
  }

  html.nbfc-standalone .nbfc-shell::before {
    display: none;
  }

  .nbfc-bg,
  .nbfc-bg::before,
  .nbfc-bg::after,
  .nbfc-noise {
    height: var(--nbfc-app-height, 100dvh);
    min-height: var(--nbfc-app-height, 100dvh);
  }

  .nbfc-shell.is-authenticated .nbfc-app-layout,
  .nbfc-shell.is-authenticated .nbfc-player-panel,
  .nbfc-shell.is-authenticated .nbfc-player-views,
  .nbfc-shell.is-authenticated .nbfc-view {
    background-color: transparent !important;
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel,
  .nbfc-shell.is-authenticated .nbfc-player-views,
  .nbfc-shell.is-authenticated .nbfc-view.is-active {
    min-height: calc(var(--nbfc-app-height, 100dvh) - env(safe-area-inset-top)) !important;
  }
}

/* 0.27.8 - full-bleed mobile background and compact internal page rhythm. */
@media (max-width: 767px) {
  .nbfc-shell.is-authenticated {
    background: transparent !important;
  }

  .nbfc-shell.is-authenticated .nbfc-bg {
    inset: 0 !important;
    background:
      linear-gradient(180deg, rgba(3, 12, 22, 0.12) 0%, rgba(3, 12, 22, 0.28) 54%, rgba(3, 12, 22, 0.58) 100%),
      url("../images/nbfc-urban-court-bg.png") center center / cover no-repeat,
      #06131f !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-bg {
    background:
      linear-gradient(180deg, rgba(255, 248, 230, 0.04) 0%, rgba(6, 28, 40, 0.1) 54%, rgba(6, 19, 31, 0.42) 100%),
      url("../images/nbfc-urban-court-day-bg.png") center center / cover no-repeat,
      #06131f !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    background: linear-gradient(180deg, rgba(3, 12, 22, 0.3), rgba(3, 12, 22, 0.08) 68%, transparent) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-topbar,
  .nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-topbar {
    background: linear-gradient(180deg, rgba(255, 250, 235, 0.28), rgba(255, 250, 235, 0.06) 68%, transparent) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view]:not([data-active-view="home"]) .nbfc-hero {
    display: none !important;
  }

  .nbfc-shell.is-authenticated[data-active-view]:not([data-active-view="home"]) .nbfc-app-layout {
    padding-top: calc(78px + env(safe-area-inset-top)) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view]:not([data-active-view="home"]) .nbfc-view.is-active {
    margin-top: 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-view[data-view-panel="polls"].is-active {
    gap: 8px !important;
    padding-top: 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-polls-hero {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 2px 2px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-polls-hero h1 {
    font-size: clamp(2.1rem, 9.4vw, 2.85rem) !important;
    line-height: 0.96 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-convocation-shell {
    gap: 8px !important;
    padding-top: 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-convocation-filters {
    width: 100% !important;
    margin: 0 !important;
    padding: 5px !important;
    border-radius: 18px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-polls-toolbar {
    min-height: 44px;
    padding: 0 2px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="polls"] .nbfc-convocation-empty {
    min-height: min(240px, 32dvh) !important;
    padding: 22px 18px !important;
    background:
      linear-gradient(145deg, rgba(2, 12, 22, 0.76), rgba(3, 24, 39, 0.58)),
      url("../images/nbfc-home-priority-night.jpg") center / cover no-repeat !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="polls"] .nbfc-convocation-empty {
    background:
      linear-gradient(145deg, rgba(255, 250, 235, 0.82), rgba(218, 241, 242, 0.64)),
      url("../images/nbfc-home-priority-day.jpg") center / cover no-repeat !important;
  }
}

/* 0.27.9 - one compact, consistent data-tab bar across mobile player views. */
@media (max-width: 767px) {
  .nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-section-tabs,
  .nbfc-shell.is-authenticated .nbfc-convocation-filters {
    display: grid !important;
    width: 100% !important;
    min-height: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 5px !important;
    border-radius: 18px !important;
    align-items: stretch !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-section-tabs button,
  .nbfc-shell.is-authenticated .nbfc-convocation-filters button {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 6px !important;
    border-radius: 13px !important;
    font-size: clamp(0.6rem, 2.9vw, 0.72rem) !important;
    line-height: 1 !important;
  }
}

/* 0.28.0 - stable one-screen mobile workspace and unified interaction contrast. */
@media (max-width: 767px) {
  :root {
    --nbfc-mobile-gutter: clamp(12px, 3.6vw, 16px);
    --nbfc-mobile-top: calc(80px + env(safe-area-inset-top, 0px));
    --nbfc-mobile-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    --nbfc-mobile-radius: 20px;
  }

  html {
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #06131f;
    -webkit-text-size-adjust: 100%;
  }

  body.nbfc-app-body.nbfc-auth-body,
  .nbfc-shell.is-authenticated,
  .nbfc-shell.is-authenticated .nbfc-app-layout {
    width: 100% !important;
    height: var(--nbfc-app-height, 100dvh) !important;
    min-height: var(--nbfc-app-height, 100dvh) !important;
    max-height: var(--nbfc-app-height, 100dvh) !important;
    margin: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .nbfc-shell.is-authenticated .nbfc-app-layout {
    max-width: none !important;
    padding: 0 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-bg,
  .nbfc-shell.is-authenticated .nbfc-bg::before,
  .nbfc-shell.is-authenticated .nbfc-bg::after,
  .nbfc-shell.is-authenticated .nbfc-noise {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: var(--nbfc-app-height, 100dvh) !important;
    min-height: var(--nbfc-app-height, 100dvh) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-height: var(--nbfc-mobile-top) !important;
    height: var(--nbfc-mobile-top) !important;
    padding: calc(7px + env(safe-area-inset-top, 0px)) var(--nbfc-mobile-gutter) 7px !important;
    align-items: start !important;
    background: linear-gradient(180deg, rgba(2, 10, 18, 0.8), rgba(2, 10, 18, 0.22) 76%, transparent) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-topbar,
  .nbfc-shell[data-theme="day"].is-dashboard-scrolled .nbfc-topbar {
    background: linear-gradient(180deg, rgba(248, 251, 243, 0.72), rgba(248, 251, 243, 0.18) 76%, transparent) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-brand,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand {
    width: 72px !important;
    height: 66px !important;
    padding: 0 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-brand img,
  .nbfc-shell.is-dashboard-scrolled .nbfc-brand img {
    width: 66px !important;
    height: 66px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-topbar__actions,
  .nbfc-shell.is-dashboard-scrolled .nbfc-topbar__actions {
    height: 58px !important;
    margin: 0 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-notification-toggle,
  .nbfc-shell.is-authenticated .nbfc-mode-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-notification-toggle,
  .nbfc-shell.is-dashboard-scrolled .nbfc-mode-toggle {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 15px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-player-panel,
  .nbfc-shell.is-dashboard-scrolled .nbfc-player-panel {
    position: fixed !important;
    inset: var(--nbfc-mobile-top) 0 var(--nbfc-mobile-bottom) 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 var(--nbfc-mobile-gutter) 6px !important;
    overflow: hidden !important;
  }

  .nbfc-shell.is-authenticated .nbfc-player-views {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view,
  .nbfc-shell.is-authenticated .nbfc-view.is-active {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active {
    display: flex !important;
    flex-direction: column;
    gap: 7px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view[hidden] {
    display: none !important;
  }

  .nbfc-shell.is-authenticated .nbfc-page-heading,
  .nbfc-shell.is-authenticated .nbfc-page-heading.nbfc-polls-hero {
    flex: 0 0 46px;
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 3px 4px 0 !important;
    display: flex !important;
    align-items: center;
    overflow: visible !important;
  }

  .nbfc-shell.is-authenticated .nbfc-page-heading h1,
  .nbfc-shell.is-authenticated .nbfc-page-heading.nbfc-polls-hero h1 {
    max-width: calc(100vw - 2 * var(--nbfc-mobile-gutter)) !important;
    padding: 0 !important;
    font-size: clamp(2rem, 10vw, 2.6rem) !important;
    line-height: 0.94 !important;
    overflow: visible !important;
    text-wrap: balance;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-section-tabs,
  .nbfc-shell.is-authenticated .nbfc-convocation-filters {
    flex: 0 0 50px;
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 4px !important;
    gap: 4px !important;
    border: 1px solid rgba(255, 246, 216, 0.17) !important;
    border-radius: var(--nbfc-mobile-radius) !important;
    background: rgba(2, 10, 18, 0.78) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.2) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-section-tabs button,
  .nbfc-shell.is-authenticated .nbfc-convocation-filters button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 4px !important;
    border-radius: 15px !important;
    color: rgba(255, 246, 216, 0.78) !important;
    font-size: clamp(0.64rem, 3.2vw, 0.76rem) !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-section-tabs button.is-active,
  .nbfc-shell.is-authenticated .nbfc-convocation-filters button.is-active {
    background: linear-gradient(145deg, #35dce8, #1599b1) !important;
    color: #031019 !important;
    box-shadow: 0 7px 18px rgba(53, 220, 232, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-view.is-active > .nbfc-section-tabs,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-convocation-filters {
    border-color: rgba(7, 38, 55, 0.18) !important;
    background: rgba(255, 252, 239, 0.82) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 10px 24px rgba(7, 38, 55, 0.14) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-view.is-active > .nbfc-section-tabs button,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-convocation-filters button {
    color: #263b49 !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-view.is-active > .nbfc-section-tabs button.is-active,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-convocation-filters button.is-active {
    background: linear-gradient(145deg, #c44b50, #982f37) !important;
    color: #fffaf0 !important;
    box-shadow: 0 7px 18px rgba(181, 54, 61, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean {
    flex: 1 1 auto;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: var(--nbfc-mobile-radius) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid rgba(255, 246, 216, 0.16) !important;
    border-radius: var(--nbfc-mobile-radius) !important;
    background: rgba(2, 10, 18, 0.34) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    border-color: rgba(7, 38, 55, 0.16) !important;
    background: rgba(255, 252, 239, 0.36) !important;
    box-shadow: 0 18px 38px rgba(7, 38, 55, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.74) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene] {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: calc(var(--nbfc-mobile-radius) - 6px) !important;
    background-position: center !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list > .nbfc-home-poll,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: calc(var(--nbfc-mobile-radius) - 6px) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
    padding: clamp(14px, 4vw, 18px) 56px clamp(14px, 4vw, 18px) clamp(14px, 4vw, 18px) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-card-button.nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-mini-action.nbfc-home-card-action {
    right: 12px !important;
    bottom: 12px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 14px !important;
    background: rgba(3, 17, 29, 0.84) !important;
    color: #35dce8 !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated[data-active-view="home"] .nbfc-home-card-action {
    background: #a63840 !important;
    color: #fffaf0 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-convocation-shell,
  .nbfc-shell.is-authenticated .nbfc-match-hub,
  .nbfc-shell.is-authenticated .nbfc-list,
  .nbfc-shell.is-authenticated .nbfc-roster,
  .nbfc-shell.is-authenticated .nbfc-video-card,
  .nbfc-shell.is-authenticated .nbfc-player-profile,
  .nbfc-shell.is-authenticated .nbfc-messages-module {
    flex: 1 1 auto;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-convocation-shell {
    display: flex !important;
    flex-direction: column;
    gap: 7px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .nbfc-shell.is-authenticated .nbfc-convocation-timeline,
  .nbfc-shell.is-authenticated .nbfc-match-hub,
  .nbfc-shell.is-authenticated .nbfc-list,
  .nbfc-shell.is-authenticated .nbfc-roster,
  .nbfc-shell.is-authenticated .nbfc-video-card,
  .nbfc-shell.is-authenticated .nbfc-player-profile {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 10px !important;
    border-radius: var(--nbfc-mobile-radius) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-convocation-timeline::-webkit-scrollbar,
  .nbfc-shell.is-authenticated .nbfc-match-hub::-webkit-scrollbar,
  .nbfc-shell.is-authenticated .nbfc-list::-webkit-scrollbar,
  .nbfc-shell.is-authenticated .nbfc-roster::-webkit-scrollbar,
  .nbfc-shell.is-authenticated .nbfc-video-card::-webkit-scrollbar,
  .nbfc-shell.is-authenticated .nbfc-player-profile::-webkit-scrollbar {
    display: none;
  }

  .nbfc-shell.is-authenticated .nbfc-polls-toolbar {
    flex: 0 0 auto;
    min-height: 42px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-convocation-timeline {
    flex: 1 1 auto;
    min-height: 0 !important;
    padding: 0 2px 8px 10px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-match-hub,
  .nbfc-shell.is-authenticated .nbfc-player-profile {
    padding-bottom: 10px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-messages-module,
  .nbfc-shell.is-authenticated .nbfc-messages-module > [data-section-pane],
  .nbfc-shell.is-authenticated .nbfc-messaging,
  .nbfc-shell.is-authenticated .nbfc-live-hub {
    min-height: 0 !important;
    max-height: 100% !important;
  }

  .nbfc-shell.is-authenticated .nbfc-messages-module {
    overflow: hidden !important;
  }

  .nbfc-shell.is-authenticated .nbfc-messages-module > [data-section-pane]:not([hidden]) {
    display: block;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    right: var(--nbfc-mobile-gutter) !important;
    bottom: calc(7px + env(safe-area-inset-bottom, 0px)) !important;
    left: var(--nbfc-mobile-gutter) !important;
    z-index: 90 !important;
    width: auto !important;
    max-width: none !important;
    min-height: 72px !important;
    height: 72px !important;
    padding: 7px !important;
    border-radius: var(--nbfc-mobile-radius) !important;
    background: rgba(2, 11, 20, 0.86) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar {
    border-color: rgba(7, 38, 55, 0.18) !important;
    background: rgba(247, 250, 244, 0.88) !important;
    box-shadow: 0 18px 38px rgba(7, 38, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar__liquid {
    top: 7px !important;
    height: 58px !important;
    border-radius: 15px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button {
    height: 58px !important;
    min-height: 58px !important;
    border-radius: 15px !important;
    touch-action: manipulation;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button::before {
    width: 48px !important;
    height: 48px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button svg,
  .nbfc-shell.is-authenticated .nbfc-tabbar__poll svg {
    width: 21px !important;
    height: 21px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button span {
    color: rgba(255, 246, 216, 0.8) !important;
    font-size: clamp(0.52rem, 2.5vw, 0.6rem) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button span {
    color: #314654 !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active span {
    color: #a63840 !important;
  }

  .nbfc-shell.is-authenticated :is(button, a, [role="button"], input, textarea, select) {
    -webkit-tap-highlight-color: transparent;
  }

  .nbfc-shell.is-authenticated :is(button, a, [role="button"]) {
    touch-action: manipulation;
  }

  .nbfc-shell.is-authenticated :is(input, textarea, select) {
    font-size: 16px !important;
  }

  .nbfc-shell.is-authenticated :is(button, a, [role="button"]):focus-visible {
    outline: 3px solid #35dce8 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px rgba(53, 220, 232, 0.18) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated :is(button, a, [role="button"]):focus-visible {
    outline-color: #a63840 !important;
    box-shadow: 0 0 0 5px rgba(181, 54, 61, 0.16) !important;
  }
}

@media (max-width: 390px) and (max-height: 720px) {
  :root {
    --nbfc-mobile-top: calc(72px + env(safe-area-inset-top, 0px));
    --nbfc-mobile-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .nbfc-shell.is-authenticated .nbfc-page-heading,
  .nbfc-shell.is-authenticated .nbfc-page-heading.nbfc-polls-hero {
    flex-basis: 40px;
    min-height: 40px !important;
    height: 40px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-page-heading h1,
  .nbfc-shell.is-authenticated .nbfc-page-heading.nbfc-polls-hero h1 {
    font-size: clamp(1.78rem, 9vw, 2.2rem) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-section-tabs,
  .nbfc-shell.is-authenticated .nbfc-convocation-filters {
    flex-basis: 46px;
    min-height: 46px !important;
    height: 46px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-view.is-active > .nbfc-section-tabs button,
  .nbfc-shell.is-authenticated .nbfc-convocation-filters button {
    min-height: 36px !important;
    height: 36px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar {
    min-height: 66px !important;
    height: 66px !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar__liquid,
  .nbfc-shell.is-authenticated .nbfc-tabbar button {
    min-height: 52px !important;
    height: 52px !important;
  }
}

@media (prefers-contrast: more) {
  .nbfc-shell.is-authenticated .nbfc-page-heading h1 {
    text-shadow: 3px 3px 0 #7f222a, -1px -1px 0 #031019 !important;
  }

  .nbfc-shell.is-authenticated :is(.nbfc-home-poll, .nbfc-home-match, .nbfc-convocation-card, .nbfc-sport-match-card) {
    border-width: 2px !important;
  }
}

/* 0.28.1 final authority - keep the iPhone canvas and home content inside their rails. */
@media (max-width: 767px) {
  html,
  body.nbfc-app-body {
    min-height: var(--nbfc-screen-height, 100dvh) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  html.nbfc-standalone .nbfc-shell::before,
  html.nbfc-standalone .nbfc-shell::after {
    display: none !important;
  }

  .nbfc-shell .nbfc-bg,
  .nbfc-shell .nbfc-bg::before,
  .nbfc-shell .nbfc-bg::after,
  .nbfc-shell .nbfc-noise {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: max(var(--nbfc-screen-height, 100dvh), 100dvh) !important;
    min-height: 100lvh !important;
  }

  .nbfc-shell.is-authenticated .nbfc-page-heading,
  .nbfc-shell.is-authenticated .nbfc-page-heading.nbfc-polls-hero {
    flex: 0 0 52px !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 7px 4px 1px !important;
    align-items: center !important;
  }

  .nbfc-shell.is-authenticated .nbfc-page-heading h1,
  .nbfc-shell.is-authenticated .nbfc-page-heading.nbfc-polls-hero h1 {
    margin: 0 !important;
    line-height: 1.02 !important;
    transform: none !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-player-stage--clean,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: var(--nbfc-mobile-radius) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card {
    display: flex !important;
    padding: 7px !important;
    isolation: isolate;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene] {
    flex: 1 1 auto;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    padding: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(53, 220, 232, 0.28) !important;
    border-radius: calc(var(--nbfc-mobile-radius) - 6px) !important;
    clip-path: inset(0 round calc(var(--nbfc-mobile-radius) - 6px));
    background-position: center !important;
    background-size: cover !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-mobile-home-card > [data-home-scene][hidden] {
    display: none !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list {
    display: grid !important;
    grid-auto-rows: max-content;
    align-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-priority-list > .nbfc-home-poll {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 252px !important;
    max-height: 330px !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow: hidden !important;
    border-radius: 17px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 4px 0 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll h3 {
    max-width: 18ch !important;
    font-size: clamp(1.24rem, 6.3vw, 1.75rem) !important;
    line-height: 1 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__meta {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 7px !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__art {
    display: grid !important;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(53, 220, 232, 0.11);
    color: #35dce8;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__art svg {
    width: 28px;
    height: 28px;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 5px !important;
    border-radius: 13px !important;
    font-size: clamp(0.62rem, 3vw, 0.73rem) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="present"] {
    background: #117247 !important;
    color: #effff4 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="maybe"] {
    background: #9c5d12 !important;
    color: #fff8e8 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll__quick button[data-home-poll-response="absent"] {
    background: #9c2f3b !important;
    color: #fff4f5 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-poll .nbfc-home-card-action,
  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match > .nbfc-home-card-action {
    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 13px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-match {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow: hidden !important;
    border-radius: calc(var(--nbfc-mobile-radius) - 6px) !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-results-layout {
    display: grid !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] :is(.nbfc-home-result-summary, .nbfc-home-ranking-preview) {
    width: 100% !important;
    height: auto !important;
    min-height: 112px !important;
    max-height: 176px !important;
    overflow: auto !important;
    border-radius: 15px !important;
  }

  .nbfc-shell.is-authenticated[data-active-view="home"] .nbfc-home-ranking-preview {
    align-self: auto !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button:not(.is-active),
  .nbfc-shell.is-authenticated .nbfc-tabbar button:not(.is-active) svg,
  .nbfc-shell.is-authenticated .nbfc-tabbar button:not(.is-active) span {
    color: #fff2cf !important;
    opacity: 1 !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button:not(.is-active),
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button:not(.is-active) svg,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button:not(.is-active) span {
    color: #183548 !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active::before {
    background: linear-gradient(145deg, #35dce8, #1393ab) !important;
    box-shadow: 0 0 0 1px rgba(165, 249, 255, 0.42), 0 0 22px rgba(53, 220, 232, 0.42) !important;
  }

  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active,
  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active svg,
  .nbfc-shell.is-authenticated .nbfc-tabbar button.is-active span {
    color: #031019 !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active::before {
    background: linear-gradient(145deg, #c44b50, #982f37) !important;
  }

  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active svg,
  .nbfc-shell[data-theme="day"].is-authenticated .nbfc-tabbar button.is-active span {
    color: #fffaf0 !important;
  }
}
