:root {
  --mb-bg: #08090b;
  --mb-page-bg: #050608;
  --mb-surface: #101216;
  --mb-surface-2: #15181d;
  --mb-border: #2b2f36;
  --mb-text: #f7f7f8;
  --mb-muted: #a8adb6;
  --mb-accent: #00a2e8;
  --mb-accent-strong: #10b7ff;
  --mb-gold: #e5b43d;
  --mb-shell-width: 760px;
  --mb-safe-bottom: env(safe-area-inset-bottom, 0px);
  --mb-safe-top: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--mb-page-bg); color: var(--mb-text); }
html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: contain; }
body.mb-app-body { overscroll-behavior-y: contain; }
body.mb-app-body {
  min-width: 0;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; }

.mb-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Launch */
.mb-splash {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--mb-bg);
  transition: opacity .35s ease, visibility .35s ease;
}
.mb-splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.mb-splash-inner { text-align: center; padding: 24px; }
.mb-splash-logo { display: block; max-width: min(260px, 62vw); max-height: 118px; object-fit: contain; margin: 0 auto 22px; }
.mb-splash-title { font-size: clamp(20px, 6vw, 30px); font-weight: 900; letter-spacing: .05em; }
.mb-splash-tag { margin-top: 10px; color: var(--mb-muted); font-size: 16px; }
.mb-mark-fallback { color: var(--mb-accent); font-weight: 900; font-size: 48px; margin-bottom: 20px; }

/* The entire product lives inside one app frame. On phones this is edge-to-edge;
   on desktop it becomes a deliberate centered preview instead of leaking chrome
   across the browser viewport. */
.mb-app {
  position: relative;
  width: min(100%, var(--mb-shell-width));
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--mb-bg);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

/* Native-style pull to refresh. The topbar + content move together while the
   fixed player/nav remain stable, so refreshing data never interrupts audio. */
.mb-pull-refresh {
  position: absolute; z-index: 44; top: 0; left: 0; right: 0;
  height: calc(64px + var(--mb-safe-top));
  padding-top: var(--mb-safe-top);
  display: flex; align-items: center; justify-content: center; gap: 9px;
  color: var(--mb-muted); font-size: 12px; font-weight: 800; letter-spacing: .01em;
  opacity: 0; pointer-events: none;
  transform: translate3d(0,-8px,0);
  transition: opacity .16s ease, transform .16s ease;
}
.mb-pull-refresh-icon {
  width: 27px; height: 27px; border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.13); background: #101216; color: var(--mb-accent);
}
.mb-pull-refresh svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mb-pull-refresh-arrow { transition: transform .14s ease; }
.mb-pull-refresh-spinner { display: none; stroke-dasharray: 34 18; animation: mb-pull-spin .72s linear infinite; }
.mb-app.is-pulling .mb-pull-refresh, .mb-app.is-refreshing .mb-pull-refresh { opacity: 1; transform: translate3d(0,0,0); }
.mb-app.is-pull-ready .mb-pull-refresh { color: var(--mb-text); }
.mb-app.is-pull-ready .mb-pull-refresh-arrow { transform: rotate(180deg); }
.mb-app.is-refreshing .mb-pull-refresh-arrow { display: none; }
.mb-app.is-refreshing .mb-pull-refresh-spinner { display: block; }
.mb-app.is-pulling .mb-topbar, .mb-app.is-pulling .mb-main,
.mb-app.is-refreshing .mb-topbar, .mb-app.is-refreshing .mb-main {
  transform: translate3d(0, var(--mb-pull-distance, 0px), 0);
}
.mb-app.is-settling .mb-topbar, .mb-app.is-settling .mb-main,
.mb-app.is-refreshing .mb-topbar, .mb-app.is-refreshing .mb-main {
  transition: transform .2s cubic-bezier(.2,.72,.22,1);
}
@keyframes mb-pull-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .mb-pull-refresh, .mb-pull-refresh-arrow, .mb-app.is-settling .mb-topbar, .mb-app.is-settling .mb-main,
  .mb-app.is-refreshing .mb-topbar, .mb-app.is-refreshing .mb-main { transition: none; }
  .mb-pull-refresh-spinner { animation-duration: 1.4s; }
}

.mb-topbar {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  min-height: calc(68px + var(--mb-safe-top));
  padding: calc(10px + var(--mb-safe-top)) 18px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(8,9,11,.94);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mb-brand {
  min-width: 0;
  border: 0; background: transparent; padding: 0;
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 900; letter-spacing: .055em;
  cursor: pointer; text-align: left;
}
.mb-brand > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-brand-logo { flex: 0 0 auto; width: 36px; height: 36px; object-fit: contain; }
.mb-brand-mark { color: var(--mb-accent); font-weight: 900; }
.mb-top-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.mb-icon-button, .mb-avatar {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--mb-border); background: var(--mb-surface);
  cursor: pointer; display: grid; place-items: center;
}
.mb-icon-button span { font-size: 24px; transform: translateY(-1px); }
.mb-ui-icon {
  width: 21px; height: 21px; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.mb-avatar { background: var(--mb-accent); color: #00131d; font-weight: 900; border-color: transparent; }

.mb-main { width: 100%; margin: 0; padding-bottom: calc(104px + var(--mb-safe-bottom)); }
.mb-screen { display: none; }
.mb-screen.is-active { display: block; }

/* Home: fandom rail */
.mb-fandom-wrap { border-bottom: 1px solid rgba(255,255,255,.06); }
.mb-fandom-row {
  display: flex; gap: 13px; overflow-x: auto;
  padding: 16px 18px 15px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
}
.mb-fandom-row::-webkit-scrollbar { display: none; }
.mb-fandom-chip {
  flex: 0 0 auto; width: 64px; text-align: center;
  border: 0; background: transparent; color: var(--mb-text); padding: 0;
  cursor: pointer; scroll-snap-align: start;
}
.mb-fandom-image {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--mb-accent); background: var(--mb-surface-2);
  display: block; margin: 0 auto 7px;
}
.mb-fandom-placeholder { display: grid; place-items: center; font-size: 17px; font-weight: 900; }
.mb-fandom-name {
  display: block; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 9.5px; line-height: 1.22; letter-spacing: -.01em; color: #d8dbe0;
}
.mb-fandom-chip.is-followed .mb-fandom-image { box-shadow: 0 0 0 3px rgba(0,162,232,.16); }
.mb-all-shows-icon {
  display: grid; place-items: center; background: #11151a; color: var(--mb-accent);
  border-style: dashed; font-size: 18px; font-weight: 900; letter-spacing: 1px;
}
.mb-all-shows-icon span { transform: translateY(-3px); }
.mb-all-shows-chip:hover .mb-all-shows-icon, .mb-all-shows-chip:focus-visible .mb-all-shows-icon {
  background: #151b21;
}

/* Shared section hierarchy */
.mb-section { padding: 26px 18px 0; }
.mb-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.mb-section-heading h2, .mb-page-title-row h1 {
  margin: 4px 0 0; font-size: clamp(25px, 7vw, 29px); line-height: 1.08; letter-spacing: -.025em;
}
.mb-eyebrow { color: var(--mb-accent); font-weight: 900; font-size: 10px; letter-spacing: .14em; }
.mb-text-button { border: 0; background: transparent; padding: 7px 0; color: var(--mb-accent); font-weight: 800; cursor: pointer; }
.mb-section-note { margin: -3px 0 14px; color: var(--mb-muted); font-size: 12px; line-height: 1.5; }

/* Top 5 */
.mb-top-five { display: grid; gap: 9px; }
.mb-top-hero {
  position: relative;
  min-height: clamp(265px, 72vw, 390px);
  border-radius: 17px; overflow: hidden;
  border: 1px solid var(--mb-border); background: var(--mb-surface);
  text-decoration: none; display: flex; align-items: flex-end;
}
.mb-top-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.985) 0%, rgba(0,0,0,.82) 24%, rgba(0,0,0,.56) 48%, rgba(0,0,0,.12) 78%);
}
.mb-top-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mb-top-hero-content { position: relative; z-index: 2; padding: 20px; }
.mb-rank { color: var(--mb-accent); font-size: 11px; font-weight: 900; letter-spacing: .09em; }
.mb-card-kicker { margin-top: 6px; color: #d6d9de; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.mb-top-hero h3 { margin: 7px 0 0; font-size: clamp(21px, 5.7vw, 27px); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.mb-top-hero h3.is-long { font-size: clamp(20px, 5.25vw, 25px); line-height: 1.105; }
.mb-top-hero h3.is-extra-long { font-size: clamp(18.5px, 4.85vw, 23px); line-height: 1.095; }
.mb-top-list-item {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 82px;
  gap: 10px; align-items: center;
  padding: 10px; min-height: 84px;
  border: 1px solid var(--mb-border); border-radius: 13px;
  background: var(--mb-surface); text-decoration: none;
}
.mb-top-list-item .mb-rank-big { color: var(--mb-accent); font-size: 21px; font-weight: 900; text-align: center; }
.mb-top-list-item h3 { margin: 4px 0 0; font-size: 13px; line-height: 1.25; }
.mb-top-thumb { width: 82px; height: 60px; object-fit: cover; border-radius: 8px; background: var(--mb-surface-2); }

/* Reserved monetization position */
.mb-ad-placeholder {
  margin: 28px 18px 0; min-height: 112px;
  border: 1px dashed #3b4049; border-radius: 14px;
  display: grid; place-items: center; align-content: center; gap: 4px;
  color: var(--mb-muted); background: rgba(255,255,255,.018); text-align: center;
}
.mb-ad-placeholder span { font-size: 8px; letter-spacing: .17em; }
.mb-ad-placeholder strong { color: #d9dce1; font-size: 12px; }
.mb-ad-placeholder small { font-size: 10px; }

/* Your Table */
.mb-feed { display: grid; gap: 0; }
.mb-feed-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px; align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  text-decoration: none;
}
.mb-feed-card:first-child { border-top: 0; padding-top: 0; }
.mb-feed-card h3 { margin: 5px 0 5px; font-size: 15px; line-height: 1.27; }
.mb-feed-meta { color: var(--mb-muted); font-size: 10px; }
.mb-feed-thumb { width: 104px; height: 74px; object-fit: cover; border-radius: 9px; background: var(--mb-surface-2); }

.mb-loading-card, .mb-empty {
  padding: 19px; border: 1px solid var(--mb-border); border-radius: 14px;
  background: var(--mb-surface); color: var(--mb-muted); line-height: 1.45;
}
.mb-loading-card {
  display: flex; align-items: center; gap: 11px; min-height: 60px;
}
.mb-loading-card::before {
  content: '✦';
  flex: 0 0 auto;
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  color: var(--mb-blue);
  font-size: 20px; line-height: 1;
  transform-origin: 50% 50%;
  animation: mb-loading-star-spin .9s linear infinite;
  filter: drop-shadow(0 0 7px rgba(0,162,232,.28));
}
@keyframes mb-loading-star-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mb-loading-card::before { animation: mb-loading-star-pulse 1.2s ease-in-out infinite alternate; }
  @keyframes mb-loading-star-pulse { to { opacity: .38; } }
}

/* Shows */
.mb-page-title-row { padding: 27px 18px 12px; }
.mb-page-title-row h1 { font-size: clamp(32px, 9vw, 38px); }
.mb-shows-tools { padding: 0 18px 18px; }
.mb-search-field {
  display: flex; align-items: center; gap: 9px; padding: 0 13px;
  height: 48px; border: 1px solid var(--mb-border); background: var(--mb-surface); border-radius: 14px;
}
.mb-search-field .mb-search-inline-icon { color: var(--mb-muted); display: grid; place-items: center; flex: 0 0 auto; }
.mb-search-field input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--mb-text); background: transparent; font-size: 16px; }
.mb-search-field input::placeholder { color: #747a84; }
.mb-tabs { margin-top: 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.mb-tabs::-webkit-scrollbar { display: none; }
.mb-tab {
  flex: 0 0 auto; border: 1px solid var(--mb-border); background: var(--mb-surface); color: var(--mb-muted);
  border-radius: 999px; padding: 9px 13px; font-size: 12px; font-weight: 800; cursor: pointer;
}
.mb-tab.is-active { background: var(--mb-accent); color: #00131d; border-color: var(--mb-accent); }

.mb-shows-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 18px 24px; }
.mb-show-card { min-width: 0; overflow: hidden; border: 1px solid var(--mb-border); border-radius: 15px; background: var(--mb-surface); }
.mb-show-art { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; display: block; background: var(--mb-surface-2); }
.mb-show-art-placeholder { display: grid; place-items: center; font-size: 30px; font-weight: 900; color: var(--mb-accent); }
.mb-show-card-body { padding: 11px; }
.mb-show-card h2 { margin: 0; font-size: 15px; line-height: 1.2; }
.mb-show-actions { display: flex; gap: 7px; margin-top: 12px; }
.mb-follow-button, .mb-coverage-link {
  min-height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; padding: 0 9px; font-size: 10px; font-weight: 900; text-decoration: none; cursor: pointer;
}
.mb-follow-button { border: 1px solid var(--mb-accent); background: transparent; color: var(--mb-accent); }
.mb-follow-button.is-following { background: var(--mb-accent); color: #00131d; }
.mb-coverage-link { border: 1px solid var(--mb-border); color: #e6e8eb; background: var(--mb-surface-2); }

/* The fixed nav must use the same frame width as the app. */
.mb-bottom-nav {
  position: fixed; z-index: 60;
  left: 50%; right: auto; bottom: 0;
  width: min(100%, var(--mb-shell-width));
  transform: translateX(-50%);
  height: calc(72px + var(--mb-safe-bottom));
  padding: 7px max(10px, env(safe-area-inset-right, 0px)) var(--mb-safe-bottom) max(10px, env(safe-area-inset-left, 0px));
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  background: rgba(9,10,12,.97);
  border-top: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.mb-nav-item {
  position: relative; height: 58px; border: 0; background: transparent; color: #858b95;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 10px; font-weight: 700; cursor: pointer;
}
.mb-nav-item.is-active { color: var(--mb-accent); }
.mb-nav-icon {
  width: 25px; height: 25px; line-height: 1;
  display: grid; place-items: center;
}
.mb-nav-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.mb-nav-icon svg .mb-icon-fill { fill: currentColor; stroke: none; }
.mb-nav-clan {
  color: #d7dbe0;
  height: 64px;
  transform: translateY(-4px);
  justify-content: flex-start;
  gap: 1px;
}
.mb-clan-badge {
  position: relative; width: 50px; height: 54px; flex: 0 0 54px;
  display: grid; place-items: center;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.34));
}
.mb-clan-shield {
  position: absolute; inset: 0; width: 50px; height: 54px; display: block;
  fill: var(--mb-accent); stroke: rgba(255,255,255,.16); stroke-width: 1;
}
.mb-clan-mark {
  position: relative; z-index: 1; width: 26px; height: 26px; display: block; object-fit: contain;
}
.mb-nav-clan span:last-child {
  margin-top: 0;
  position: relative; z-index: 2;
  color: #eceef1;
  line-height: 1;
}

.mb-toast {
  position: fixed; z-index: 80; left: 50%; bottom: calc(92px + var(--mb-safe-bottom));
  transform: translate(-50%, 14px); width: min(88vw, 430px);
  padding: 12px 14px; border: 1px solid var(--mb-border); border-radius: 12px;
  background: #171a1f; box-shadow: 0 15px 40px rgba(0,0,0,.4);
  color: #e7e9ec; font-size: 13px; line-height: 1.4;
  opacity: 0; pointer-events: none; transition: .22s ease;
}
.mb-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* A little more breathing room on wider app frames without turning this into a
   desktop website. */
@media (min-width: 480px) {
  .mb-fandom-row, .mb-section { padding-left: 22px; padding-right: 22px; }
  .mb-page-title-row { padding-left: 22px; padding-right: 22px; }
  .mb-shows-tools { padding-left: 22px; padding-right: 22px; }
  .mb-shows-grid { padding-left: 22px; padding-right: 22px; gap: 14px; }
  .mb-ad-placeholder { margin-left: 22px; margin-right: 22px; }
  .mb-feed-card { grid-template-columns: minmax(0, 1fr) 118px; }
  .mb-feed-thumb { width: 118px; height: 82px; }
  .mb-top-list-item { grid-template-columns: 40px minmax(0, 1fr) 92px; padding: 11px; min-height: 92px; }
  .mb-top-list-item .mb-rank-big { font-size: 24px; }
  .mb-top-list-item h3 { font-size: 15px; }
  .mb-top-thumb { width: 92px; height: 68px; }
}

@media (min-width: 620px) {
  .mb-shows-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 800px) {
  .mb-app {
    border-left: 1px solid rgba(255,255,255,.05);
    border-right: 1px solid rgba(255,255,255,.05);
    box-shadow: 0 0 80px rgba(0,0,0,.48);
  }
  .mb-bottom-nav {
    border-left: 1px solid rgba(255,255,255,.05);
    border-right: 1px solid rgba(255,255,255,.05);
  }
}

@media (max-width: 370px) {
  .mb-brand { font-size: 10.5px; gap: 7px; }
  .mb-brand-logo { width: 29px; height: 29px; }
  .mb-top-actions { gap: 6px; }
  .mb-icon-button, .mb-avatar { width: 35px; height: 35px; }
  .mb-top-list-item { grid-template-columns: 30px minmax(0, 1fr) 72px; }
  .mb-top-thumb { width: 72px; height: 56px; }
  .mb-top-list-item h3 { font-size: 12px; }
  .mb-feed-card { grid-template-columns: minmax(0, 1fr) 92px; }
  .mb-feed-thumb { width: 92px; height: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* V0.3 show-library presentation */
.mb-show-art-wrap { position: relative; overflow: hidden; background: var(--mb-surface-2); }

/* Premium-only show cards use the same visual language as M&B podcast art:
   a protected black corner with the gold Nerd Clan shield above it. */
.mb-premium-show-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 58px;
  display: block;
  pointer-events: none;
  color: #e2b545;
  z-index: 3;
}
.mb-premium-show-badge::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 58px 58px 0;
  border-color: transparent rgba(3,4,6,.94) transparent transparent;
  filter: drop-shadow(-1px 1px 2px rgba(0,0,0,.28));
}
.mb-premium-show-badge svg {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 22px;
  height: 26px;
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.42));
}
.mb-show-card.is-premium-exclusive { border-color: rgba(226,181,69,.38); }

.mb-franchise-hero.is-premium-exclusive { box-shadow: inset 0 0 0 1px rgba(226,181,69,.18); }
.mb-premium-hero-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 11px 7px 9px;
  border: 1px solid rgba(226,181,69,.55);
  border-radius: 999px;
  background: rgba(5,6,8,.88);
  color: #e2b545;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.mb-premium-hero-shield { width: 18px; height: 21px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.mb-premium-hero-shield svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
@media (max-width: 430px) {
  .mb-premium-hero-badge { top: 10px; right: 10px; min-height: 32px; padding: 6px 9px 6px 7px; font-size: 8px; gap: 6px; }
  .mb-premium-hero-shield { width: 15px; height: 18px; }
}
.mb-tab-nerdclan { display: inline-flex; align-items: center; gap: 6px; }
.mb-tab-shield { width: 12px; height: 14px; display: inline-grid; place-items: center; color: #e2b545; }
.mb-tab-shield svg { width: 100%; height: 100%; fill: currentColor; }
.mb-tab-nerdclan.is-active .mb-tab-shield { color: #00131d; }
button.mb-coverage-link { font-family: inherit; }

/* V0.3 franchise/show master page */
.mb-show-detail-screen { min-height: 100%; }
.mb-show-detail-loading { padding-top: 1px; }
.mb-show-back {
  margin: 14px 18px 10px;
  border: 0;
  background: transparent;
  color: var(--mb-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.mb-show-back span { color: var(--mb-accent); font-size: 18px; line-height: 1; }
.mb-show-load-card { margin: 0 18px; }

.mb-franchise-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  min-height: 210px;
  max-height: 360px;
  overflow: hidden;
  background: var(--mb-surface-2);
}
.mb-franchise-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.mb-franchise-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,11,.02) 30%, rgba(8,9,11,.28) 70%, #08090b 100%);
  pointer-events: none;
}
.mb-franchise-identity { padding: 4px 18px 16px; }
.mb-franchise-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.mb-franchise-title-row > div { min-width: 0; }
.mb-franchise-identity h1 {
  margin: 4px 0 0;
  font-size: clamp(32px, 9vw, 44px);
  line-height: .98;
  letter-spacing: -.025em;
}
.mb-franchise-identity p {
  margin: 12px 0 0;
  color: var(--mb-muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 62ch;
}
.mb-franchise-follow { flex: 0 0 auto; min-width: 82px; min-height: 38px; margin-bottom: 1px; }

.mb-franchise-tabs {
  position: sticky;
  top: calc(68px + var(--mb-safe-top));
  z-index: 35;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 18px 11px;
  background: rgba(8,9,11,.97);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  scrollbar-width: none;
}
.mb-franchise-tabs::-webkit-scrollbar { display: none; }
.mb-franchise-tab {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mb-muted);
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.mb-franchise-tab.is-active { background: var(--mb-accent); color: #00131d; }
.mb-franchise-tab.is-premium-tab { color: #e2b545; }
.mb-franchise-tab.is-premium-tab.is-active { background: #e2b545; color: #171000; }
.mb-bookclub-panel { border-top: 1px solid rgba(226,181,69,.24); background: linear-gradient(180deg, rgba(226,181,69,.04), rgba(226,181,69,0)); }
.mb-bookclub-intro { margin: 0 0 15px; color: var(--mb-muted); font-size: 13px; line-height: 1.55; }
.mb-franchise-panel { padding-bottom: 18px; }
.mb-franchise-section { padding: 25px 18px 0; }
.mb-franchise-section + .mb-franchise-section { padding-top: 31px; }
.mb-franchise-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.mb-franchise-section-heading h2,
.mb-about-panel h2 { margin: 0; font-size: 22px; line-height: 1.08; }

.mb-season-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
  margin-right: -18px;
  padding-right: 18px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.mb-season-rail::-webkit-scrollbar { display: none; }
.mb-season-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 150px;
  min-height: 150px;
  border: 1px solid var(--mb-border);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #171b20, #0d0f12);
  color: var(--mb-text);
  padding: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  scroll-snap-align: start;
  cursor: pointer;
}
.mb-season-card-art,
.mb-season-card-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.mb-season-card-art { z-index: -3; object-fit: cover; }
.mb-season-card-shade {
  z-index: -2;
  background: linear-gradient(to top, rgba(0,0,0,.96) 0%, rgba(0,0,0,.7) 39%, rgba(0,0,0,.12) 75%);
}
.mb-season-number {
  position: relative;
  z-index: 2;
  margin-bottom: auto;
  color: var(--mb-accent);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.mb-season-card.has-art .mb-season-number {
  align-self: flex-start;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mb-accent);
  color: #00131d;
  box-shadow: 0 4px 14px rgba(0,0,0,.32);
  font-size: 18px;
}
.mb-season-card-copy { position: relative; z-index: 2; display: block; }
.mb-season-card strong { display: block; font-size: 13px; line-height: 1.16; }
.mb-season-card-copy > span { display: block; margin-top: 5px; color: #c7cbd1; font-size: 9px; }
.mb-season-card:not(.has-art) .mb-season-card-copy > span { color: var(--mb-muted); }

.mb-show-content-list { display: grid; }
.mb-show-content-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  text-decoration: none;
}
.mb-show-content-row:first-child { border-top: 0; padding-top: 0; }
.mb-show-content-copy { min-width: 0; }
.mb-show-content-row h3 { margin: 5px 0 5px; font-size: 14px; line-height: 1.25; }
.mb-show-content-thumb { width: 94px; height: 68px; object-fit: cover; border-radius: 9px; background: var(--mb-surface-2); }

.mb-nerdclan-depth {
  margin-top: 30px;
  padding-top: 24px;
  padding-bottom: 6px;
  border-top: 1px solid rgba(226,181,69,.25);
  background: linear-gradient(180deg, rgba(226,181,69,.035), rgba(226,181,69,0));
}
.mb-gold-eyebrow { color: #e2b545; }
.mb-premium-collections { display: grid; gap: 8px; }
.mb-premium-collection {
  min-height: 68px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  gap: 11px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(226,181,69,.24);
  border-radius: 13px;
  background: #111214;
  text-decoration: none;
}
.mb-premium-collection-shield { width: 26px; height: 30px; color: #e2b545; display: grid; place-items: center; }
.mb-premium-collection-shield svg { width: 100%; height: 100%; fill: currentColor; }
.mb-premium-collection div { min-width: 0; }
.mb-premium-collection div > span { display: block; color: #e2b545; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mb-premium-collection strong { display: block; margin-top: 3px; font-size: 12px; line-height: 1.25; }
.mb-premium-arrow { color: #e2b545; font-size: 24px; text-align: right; }

.mb-about-panel p { color: var(--mb-muted); line-height: 1.65; font-size: 14px; }
.mb-secondary-action {
  margin-top: 12px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mb-border);
  border-radius: 10px;
  background: var(--mb-surface-2);
  padding: 0 13px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
}

@media (min-width: 480px) {
  .mb-show-back { margin-left: 22px; margin-right: 22px; }
  .mb-show-load-card { margin-left: 22px; margin-right: 22px; }
  .mb-franchise-identity,
  .mb-franchise-tabs,
  .mb-franchise-section { padding-left: 22px; padding-right: 22px; }
  .mb-season-rail { margin-right: -22px; padding-right: 22px; }
  .mb-show-content-row { grid-template-columns: minmax(0, 1fr) 112px; }
  .mb-show-content-thumb { width: 112px; height: 78px; }
}


/* V0.3.1 season chapter pages */
.mb-season-detail-screen { min-height: 100%; }
.mb-season-hero {
  aspect-ratio: 16 / 7.1;
  min-height: 168px;
  max-height: 278px;
}
.mb-season-identity { padding-top: 2px; padding-bottom: 14px; }
.mb-season-identity h1 {
  margin-top: 4px;
  font-size: clamp(30px, 8.5vw, 40px);
}
.mb-season-art-source {
  display: inline-flex;
  margin-top: 10px;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
}
.mb-season-episode-strip {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-right: -18px;
  padding-right: 18px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.mb-season-episode-strip::-webkit-scrollbar { display: none; }
.mb-season-episode-chip {
  flex: 0 0 132px;
  min-height: 124px;
  overflow: hidden;
  border: 1px solid var(--mb-border);
  border-radius: 13px;
  background: linear-gradient(145deg, #171b20, #0d0f12);
  color: var(--mb-text);
  padding: 0 0 10px;
  text-align: left;
  cursor: pointer;
}
.mb-season-episode-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 9px;
  background: #12161b;
}
.mb-season-episode-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.mb-season-episode-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0,0,0,.72));
  pointer-events: none;
}
.mb-season-episode-art-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--mb-accent);
  font-size: 28px;
  font-weight: 900;
}
.mb-season-episode-index {
  position: absolute;
  z-index: 2;
  left: 8px;
  bottom: 6px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mb-accent);
  color: #00131d;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}
.mb-season-episode-chip strong {
  display: block;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.2;
}
.mb-episode-groups { display: grid; gap: 30px; }
.mb-episode-group + .mb-episode-group {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mb-episode-group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.mb-episode-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  background: var(--mb-accent);
  color: #00131d;
  font-size: 20px;
  font-weight: 900;
}
.mb-episode-group-heading h2 { margin: 2px 0 0; font-size: 20px; line-height: 1.05; }
.mb-season-site-link { padding-top: 22px; }

@media (min-width: 700px) {
  .mb-season-episode-strip { margin-right: -22px; padding-right: 22px; }
}


/* V0.3.3 dedicated episode destinations */
.mb-episode-heading-button {
  width: 100%; border: 0; background: transparent; color: inherit; text-align: left;
  padding: 0; font: inherit; cursor: pointer;
}
.mb-episode-detail-screen { min-height: 100%; }
.mb-episode-detail-hero {
  position: relative; overflow: hidden; margin: 0 -22px; height: clamp(220px, 38vw, 360px);
  background: var(--mb-panel); border-bottom: 1px solid var(--mb-line);
}
.mb-episode-detail-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-episode-detail-identity { padding: 20px 2px 4px; }
.mb-episode-detail-identity h1 { margin: 7px 0 0; font-size: clamp(34px, 7vw, 54px); line-height: .98; letter-spacing: -.035em; }
.mb-episode-coverage-section { padding-top: 20px; }
@media (max-width: 560px) {
  .mb-episode-detail-hero { height: 250px; }
}

/* V0.3.9 browser-aware guided app installation */
[hidden] { display: none !important; }

.mb-install-banner {
  margin: 14px 18px 4px;
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 13px;
  border: 1px solid rgba(0,162,232,.42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(0,162,232,.15), transparent 46%),
    linear-gradient(145deg, #11151a, #0d0f12);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.mb-install-banner-mark {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #08090b;
  border: 1px solid rgba(255,255,255,.09);
  color: var(--mb-accent);
  font-size: 12px;
  font-weight: 900;
}
.mb-install-banner-mark img {
  width: 39px;
  height: 39px;
  display: block;
  object-fit: contain;
}
.mb-install-banner-copy { min-width: 0; }
.mb-install-banner-copy > span {
  display: block;
  margin-bottom: 2px;
  color: var(--mb-accent);
  font-size: 8px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .105em;
}
.mb-install-banner-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.12;
}
.mb-install-banner-copy small {
  display: block;
  margin-top: 4px;
  color: var(--mb-muted);
  font-size: 9px;
  line-height: 1.3;
}
.mb-install-banner-button {
  min-width: 62px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  background: var(--mb-accent);
  color: #00131d;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.mb-install-layer {
  position: fixed;
  z-index: 12000;
  inset: 0;
  width: 100%;
  height: 100dvh;
}
.mb-install-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.mb-install-sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 560px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  transform: translateX(-50%);
  padding: 27px 22px calc(20px + var(--mb-safe-bottom));
  border: 1px solid rgba(255,255,255,.11);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 50% -18%, rgba(0,162,232,.16), transparent 38%),
    #0e1013;
  box-shadow: 0 -20px 65px rgba(0,0,0,.55);
  animation: mb-install-up .28s ease-out both;
}
@keyframes mb-install-up {
  from { transform: translate(-50%, 22px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.mb-install-close {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #c8cbd0;
  display: grid;
  place-items: center;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.mb-install-sheet-mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 19px;
  background: #08090b;
  border: 1px solid rgba(0,162,232,.35);
  box-shadow: 0 12px 38px rgba(0,162,232,.08);
  color: var(--mb-accent);
  font-weight: 900;
}
.mb-install-sheet-mark img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
}
.mb-install-sheet h2 {
  max-width: 430px;
  margin: 6px auto 0;
  text-align: center;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.04;
  letter-spacing: -.025em;
}
.mb-install-sheet p {
  max-width: 420px;
  margin: 12px auto 0;
  color: var(--mb-muted);
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
}
.mb-install-eyebrow {
  display: block;
  color: var(--mb-accent);
  text-align: center;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .12em;
}
.mb-install-primary,
.mb-install-secondary {
  width: 100%;
  min-height: 50px;
  border-radius: 13px;
  font-weight: 900;
  cursor: pointer;
}
.mb-install-primary {
  margin-top: 22px;
  border: 0;
  background: var(--mb-accent);
  color: #00131d;
  font-size: 14px;
}
.mb-install-secondary {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--mb-muted);
  font-size: 12px;
}
.mb-install-ios-view > p strong { color: #fff; }
.mb-install-steps {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
}
.mb-install-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.mb-install-step-icon,
.mb-install-step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(0,162,232,.13);
  color: var(--mb-accent);
  font-size: 16px;
  font-weight: 900;
}
.mb-install-step-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mb-install-steps strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}
.mb-install-steps small {
  display: block;
  margin-top: 4px;
  color: var(--mb-muted);
  font-size: 10px;
  line-height: 1.35;
}

.mb-install-step-ellipsis {
  font-size: 13px;
  letter-spacing: 2px;
  padding-left: 2px;
}

body.mb-install-open { overflow: hidden; }

@media (max-width: 390px) {
  .mb-install-banner { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 9px; padding-left: 10px; padding-right: 10px; }
  .mb-install-banner-mark { width: 42px; height: 42px; }
  .mb-install-banner-mark img { width: 34px; height: 34px; }
  .mb-install-banner-copy small { display: none; }
  .mb-install-banner-button { min-width: 56px; padding: 0 9px; }
}

@media (min-width: 760px) {
  .mb-install-sheet { bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.11); border-radius: 24px; }
}

/* V0.4 app-native editorial article detail */
.mb-article-detail-screen { min-height: 100%; }
.mb-article-detail { padding-bottom: 18px; }
.mb-article-top-actions {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mb-article-top-actions .mb-show-back { margin: 0; min-width: 0; }
.mb-article-action-group { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.mb-article-icon-action {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--mb-border);
  background: var(--mb-surface);
  color: #d6dae0;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mb-article-icon-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mb-article-icon-action.is-saved { color: var(--mb-accent); border-color: rgba(0,162,232,.5); background: rgba(0,162,232,.08); }
.mb-article-icon-action.is-saved svg { fill: currentColor; stroke: currentColor; }

.mb-article-header { padding: 27px 18px 20px; }
.mb-article-header h1 {
  max-width: 18ch;
  margin: 8px 0 0;
  font-size: clamp(31px, 8.6vw, 46px);
  line-height: 1.02;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.mb-article-byline { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--mb-muted); }
.mb-article-author-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--mb-surface-2); }
.mb-article-byline strong { display: block; color: #eceef1; font-size: 12px; line-height: 1.2; }
.mb-article-byline span { display: block; margin-top: 3px; font-size: 10px; line-height: 1.3; }

.mb-article-feature { width: 100%; overflow: hidden; background: var(--mb-surface-2); }
.mb-article-feature-image { width: 100%; max-height: 520px; display: block; object-fit: cover; }

.mb-article-ad-slot {
  margin: 24px 18px 0;
  min-height: 92px;
  border: 1px dashed #3b4049;
  border-radius: 13px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--mb-muted);
  background: rgba(255,255,255,.018);
  text-align: center;
}
.mb-article-ad-slot span { font-size: 8px; letter-spacing: .17em; }
.mb-article-ad-slot strong { color: #d9dce1; font-size: 11px; }

.mb-article-body {
  padding: 26px 18px 4px;
  color: #e8eaed;
  font-size: 16px;
  line-height: 1.76;
  overflow-wrap: anywhere;
}
.mb-article-body > :first-child { margin-top: 0 !important; }
.mb-article-body > :last-child { margin-bottom: 0 !important; }
.mb-article-body p { margin: 0 0 1.35em; }
.mb-article-body h2,
.mb-article-body h3,
.mb-article-body h4,
.mb-article-body h5,
.mb-article-body h6 {
  color: #fff;
  line-height: 1.17;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.mb-article-body h2 { margin: 1.65em 0 .65em; font-size: 27px; }
.mb-article-body h3 { margin: 1.55em 0 .6em; font-size: 22px; }
.mb-article-body h4 { margin: 1.4em 0 .55em; font-size: 18px; }
.mb-article-body h5,
.mb-article-body h6 { margin: 1.35em 0 .5em; font-size: 15px; }
.mb-article-body strong { color: #fff; }
.mb-article-body a { color: var(--mb-accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mb-article-body ul,
.mb-article-body ol { margin: 0 0 1.35em; padding-left: 1.35em; }
.mb-article-body li { margin: .4em 0; }
.mb-article-body blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--mb-accent);
  color: #cfd3d9;
  font-size: 17px;
}
.mb-article-body figure { margin: 1.6em 0; max-width: 100%; }
.mb-article-body img { height: auto; max-width: 100%; border-radius: 12px; }
.mb-article-body figcaption { margin-top: 7px; color: var(--mb-muted); font-size: 10px; line-height: 1.45; }
.mb-article-body iframe,
.mb-article-body video { max-width: 100%; border: 0; border-radius: 12px; }
.mb-article-body .wp-block-embed__wrapper { position: relative; max-width: 100%; overflow: hidden; }
.mb-article-body hr { margin: 2em 0; border: 0; border-top: 1px solid rgba(255,255,255,.12); }
.mb-article-body pre,
.mb-article-body code { max-width: 100%; white-space: pre-wrap; word-break: break-word; }
.mb-article-body table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mb-article-body th,
.mb-article-body td { padding: 9px; border: 1px solid var(--mb-border); text-align: left; }

.mb-article-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mb-article-footer-actions .mb-secondary-action { margin-top: 0; cursor: pointer; color: #e8eaed; }
.mb-article-keep-going { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
.mb-article-go-deeper {
  margin-top: 30px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(226,181,69,.25);
  background: linear-gradient(180deg, rgba(226,181,69,.035), rgba(226,181,69,0));
}

@media (min-width: 480px) {
  .mb-article-top-actions { padding-left: 22px; padding-right: 22px; }
  .mb-article-header { padding-left: 22px; padding-right: 22px; }
  .mb-article-body { padding-left: 22px; padding-right: 22px; font-size: 17px; }
  .mb-article-ad-slot { margin-left: 22px; margin-right: 22px; }
  .mb-article-footer-actions { padding-left: 22px; padding-right: 22px; }
}


/* V0.5 native podcast episode + persistent player */
.mb-podcast-detail-screen { padding-bottom: 28px; }
.mb-podcast-detail { padding-bottom: 20px; }
.mb-podcast-top-actions {
  display: flex; justify-content: space-between; align-items: center;
  padding: 17px 18px 10px; gap: 12px;
}
.mb-podcast-player-card {
  margin: 0 18px; padding: 18px;
  border: 1px solid var(--mb-border); border-radius: 20px;
  background: linear-gradient(180deg, #15181d 0%, #101216 100%);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}
.mb-podcast-art-wrap { width: min(78vw, 330px); margin: 0 auto 19px; }
.mb-podcast-artwork {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 16px; background: var(--mb-surface-2);
  box-shadow: 0 18px 48px rgba(0,0,0,.32);
}
.mb-podcast-progress-wrap { margin-top: 4px; }
.mb-podcast-progress {
  width: 100%; accent-color: var(--mb-accent); cursor: pointer;
  height: 26px; margin: 0; padding: 0;
}
.mb-podcast-time-row { display: flex; justify-content: space-between; color: var(--mb-muted); font-size: 10px; margin-top: -3px; }
.mb-podcast-controls {
  display: grid; grid-template-columns: 34px 46px 70px 46px 34px;
  justify-content: center; align-items: center; gap: 9px; margin-top: 15px;
}
.mb-podcast-play, .mb-podcast-skip, .mb-podcast-track-button {
  border: 0; cursor: pointer; display: grid; place-items: center;
}
.mb-podcast-play {
  width: 70px; height: 70px; border-radius: 50%; background: var(--mb-accent); color: #00131d;
  box-shadow: 0 10px 24px rgba(0,162,232,.22);
}
.mb-podcast-play svg { width: 31px; height: 31px; fill: currentColor; stroke: currentColor; }
.mb-podcast-skip {
  position: relative; width: 46px; height: 46px; color: #e8ebef; background: transparent;
  font-size: 25px; line-height: 1;
}
.mb-podcast-skip strong { position: absolute; font-size: 9px; font-weight: 900; top: 19px; }
.mb-podcast-track-button {
  width: 34px; height: 34px; border-radius: 50%; background: transparent; color: #c9cdd3; font-size: 30px;
}
.mb-podcast-track-spacer { width: 34px; height: 34px; }
.mb-podcast-play:disabled, .mb-podcast-skip:disabled { opacity: .35; cursor: default; }

.mb-podcast-autoplay-row { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 13px; }
.mb-podcast-autoplay-toggle {
  width: 100%; border: 0; background: transparent; color: var(--mb-text); padding: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; cursor: pointer;
}
.mb-podcast-autoplay-copy { min-width: 0; display: grid; gap: 3px; }
.mb-podcast-autoplay-copy strong { font-size: 12px; line-height: 1.2; }
.mb-podcast-autoplay-copy small { color: var(--mb-muted); font-size: 10px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-podcast-switch {
  flex: 0 0 auto; width: 38px; height: 22px; border-radius: 999px; padding: 2px;
  background: rgba(255,255,255,.16); transition: background .18s ease;
}
.mb-podcast-switch span {
  display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transform: translateX(0); transition: transform .18s ease;
}
.mb-podcast-autoplay-toggle.is-on .mb-podcast-switch { background: var(--mb-accent); }
.mb-podcast-autoplay-toggle.is-on .mb-podcast-switch span { transform: translateX(16px); }
.mb-podcast-audio-warning {
  margin-top: 13px; padding: 11px; border-radius: 10px; background: rgba(255,255,255,.04);
  color: var(--mb-muted); font-size: 11px; line-height: 1.45;
}
.mb-podcast-audio-warning a { color: var(--mb-accent); }
.mb-podcast-copy { padding: 23px 18px 0; }
.mb-podcast-copy h1 { margin: 7px 0 15px; font-size: clamp(27px, 7.3vw, 38px); line-height: 1.08; letter-spacing: -.025em; }
.mb-podcast-property-row {
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
}
.mb-podcast-property-row > div { min-width: 0; display: grid; gap: 4px; }
.mb-podcast-property-row strong { font-size: 14px; }
.mb-podcast-property-row span { color: var(--mb-muted); font-size: 11px; }
.mb-podcast-description { position: relative; margin: 18px; padding: 16px; border-radius: 14px; background: var(--mb-surface); border: 1px solid var(--mb-border); }
.mb-podcast-description-inner { max-height: 130px; overflow: hidden; color: #d7dae0; font-size: 14px; line-height: 1.62; }
.mb-podcast-description.is-expanded .mb-podcast-description-inner { max-height: none; }
.mb-podcast-description-inner > :first-child { margin-top: 0; }
.mb-podcast-description-inner > :last-child { margin-bottom: 0; }
.mb-podcast-show-more { margin-top: 10px; }

.mb-mini-player {
  position: fixed; z-index: 58; left: 50%; bottom: calc(72px + var(--mb-safe-bottom));
  transform: translateX(-50%); width: min(100%, var(--mb-shell-width)); min-height: 62px;
  display: grid; grid-template-columns: minmax(0,1fr) 58px; align-items: center;
  background: rgba(20,22,27,.985); border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 -12px 36px rgba(0,0,0,.3);
}
.mb-mini-player[hidden] { display: none !important; }
.mb-mini-player-main {
  border: 0; background: transparent; color: var(--mb-text); display: grid;
  grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; text-align: left;
}
.mb-mini-player-art { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--mb-surface-2); display: grid; place-items: center; color: var(--mb-accent); font-weight: 900; }
.mb-mini-player-art img { width: 100%; height: 100%; object-fit: cover; }
.mb-mini-player-copy { min-width: 0; display: grid; gap: 2px; }
.mb-mini-player-copy strong, .mb-mini-player-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-mini-player-copy strong { font-size: 12px; }
.mb-mini-player-copy small { color: var(--mb-muted); font-size: 9px; }
.mb-mini-player-toggle { width: 58px; height: 58px; border: 0; background: transparent; color: var(--mb-accent); font-size: 23px; font-weight: 900; }
.mb-mini-player-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.mb-mini-player-progress span { display: block; height: 100%; width: 0; background: var(--mb-accent); }
body:has(.mb-mini-player:not([hidden])) .mb-main { padding-bottom: calc(142px + var(--mb-safe-bottom)); }

@media (min-width: 480px) {
  .mb-podcast-top-actions, .mb-podcast-copy { padding-left: 22px; padding-right: 22px; }
  .mb-podcast-player-card, .mb-podcast-description { margin-left: 22px; margin-right: 22px; }
}


/* V0.6 full Listen library */
.mb-listen-screen,
.mb-podcast-directory-screen,
.mb-podcast-home-screen { padding-bottom: 28px; }
.mb-listen-title-row { padding-bottom: 8px; }
.mb-listen-title-lockup { display: flex; align-items: center; gap: 11px; }
.mb-listen-title-lockup h1 { margin: 0; }
.mb-listen-title-icon {
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--mb-accent); border: 1px solid rgba(0,162,232,.28); border-radius: 10px;
  background: rgba(0,162,232,.07);
}
.mb-listen-title-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mb-listen-section { padding: 22px 18px 0; }
.mb-listen-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mb-listen-heading h2 { margin: 0; font-size: 21px; line-height: 1.12; letter-spacing: -.02em; }
.mb-podcast-property-strip {
  display: flex; gap: 13px; overflow-x: auto; padding: 2px 1px 8px;
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.mb-podcast-property-strip::-webkit-scrollbar { display: none; }
.mb-podcast-property-card {
  flex: 0 0 132px; width: 132px; border: 0; background: transparent; padding: 0;
  color: var(--mb-text); text-align: left; cursor: pointer; scroll-snap-align: start;
}
.mb-podcast-property-art {
  display: block; width: 132px; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--mb-border); background: var(--mb-surface-2);
}
.mb-podcast-property-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mb-podcast-property-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--mb-accent); font-weight: 900; font-size: 26px; }
.mb-listen-empty-follow {
  flex: 1 0 100%; min-width: 100%; padding: 16px; border: 1px dashed #343941; border-radius: 14px;
  background: rgba(255,255,255,.025); color: var(--mb-muted);
}
.mb-listen-empty-follow strong { display: block; color: #fff; font-size: 13px; }
.mb-listen-empty-follow span { display: block; margin-top: 5px; font-size: 11px; line-height: 1.45; }
.mb-listen-empty-follow .mb-secondary-action { margin-top: 12px; }
.mb-listen-episode-list { display: grid; gap: 9px; }
.mb-listen-episode-row {
  display: grid; grid-template-columns: 68px minmax(0,1fr) 34px; gap: 11px; align-items: center;
  min-height: 78px; padding: 8px; text-decoration: none;
  border: 1px solid var(--mb-border); border-radius: 13px; background: var(--mb-surface);
}
.mb-listen-episode-art { width: 68px; height: 68px; border-radius: 10px; overflow: hidden; background: var(--mb-surface-2); display: grid; place-items: center; color: var(--mb-accent); font-weight: 900; }
.mb-listen-episode-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mb-listen-episode-copy { min-width: 0; }
.mb-listen-episode-copy small { display: block; margin-bottom: 4px; color: var(--mb-accent); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-listen-episode-copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.28; }
.mb-listen-episode-copy > span { display: block; margin-top: 5px; color: var(--mb-muted); font-size: 9px; }
.mb-listen-episode-play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mb-accent); color: #00131d; font-size: 10px; padding-left: 2px; }

.mb-podcast-directory-title-row { padding-bottom: 10px; }
.mb-podcast-directory-tools { padding: 0 18px 16px; }
.mb-podcast-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding: 0 18px 24px; }
.mb-podcast-directory-grid .mb-podcast-property-card { width: 100%; min-width: 0; flex: none; }
.mb-podcast-directory-grid .mb-podcast-property-art { width: 100%; border-radius: 11px; }

.mb-podcast-home-topbar { padding: 14px 18px 4px; }
.mb-podcast-home-identity { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 18px; align-items: center; padding: 12px 18px 22px; }
.mb-podcast-home-art { width: 132px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; border: 1px solid var(--mb-border); background: var(--mb-surface-2); box-shadow: 0 16px 38px rgba(0,0,0,.25); }
.mb-podcast-home-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mb-podcast-home-art-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--mb-accent); font-size: 26px; font-weight: 900; }
.mb-podcast-home-copy h1 { margin: 6px 0 13px; font-size: clamp(25px, 7vw, 34px); line-height: 1.02; letter-spacing: -.03em; }
.mb-podcast-home-section { padding: 23px 18px 0; }
.mb-podcast-about { padding: 28px 18px; }
.mb-podcast-about h2 { margin: 6px 0 12px; font-size: 27px; line-height: 1.08; }
.mb-podcast-about p { margin: 0; max-width: 58ch; color: #d4d8de; font-size: 14px; line-height: 1.65; }
.mb-podcast-about .mb-secondary-action { margin-top: 18px; }
.mb-podcast-home-latest .mb-show-content-row { margin-top: 0; }

@media (min-width: 520px) {
  .mb-podcast-property-card { flex-basis: 150px; width: 150px; }
  .mb-podcast-property-art { width: 150px; }
  .mb-podcast-directory-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .mb-podcast-home-identity { grid-template-columns: 170px minmax(0,1fr); }
  .mb-podcast-home-art { width: 170px; }
}

/* V0.7 Watch / YouTube mirror */
.mb-watch-screen,
.mb-video-detail-screen { padding-bottom: 30px; }
.mb-watch-title-row { padding-bottom: 8px; }
.mb-watch-title-lockup { display: flex; align-items: center; gap: 11px; }
.mb-watch-title-lockup h1 { margin: 0; }
.mb-watch-title-icon {
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--mb-accent); border: 1px solid rgba(0,162,232,.28); border-radius: 10px;
  background: rgba(0,162,232,.07);
}
.mb-watch-title-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mb-watch-title-icon .mb-icon-fill { fill: currentColor; stroke: none; }
.mb-watch-section { padding: 22px 18px 0; }
.mb-watch-video-rail {
  display: flex; gap: 13px; overflow-x: auto; padding: 2px 1px 8px;
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.mb-watch-video-rail::-webkit-scrollbar,
.mb-watch-show-strip::-webkit-scrollbar,
.mb-shorts-strip::-webkit-scrollbar { display: none; }
.mb-video-card {
  color: var(--mb-text); text-decoration: none; display: grid; grid-template-columns: 142px minmax(0,1fr);
  gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mb-video-card.is-compact {
  flex: 0 0 245px; width: 245px; display: block; padding: 0; border: 0; scroll-snap-align: start;
}
.mb-video-card-art {
  position: relative; display: block; width: 142px; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--mb-border); background: var(--mb-surface-2);
}
.mb-video-card.is-compact .mb-video-card-art { width: 100%; }
.mb-video-card-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mb-video-card-play {
  position: absolute; left: 10px; bottom: 9px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,162,232,.96); color: #00131d; font-size: 10px; padding-left: 2px;
  box-shadow: 0 4px 18px rgba(0,0,0,.3);
}
.mb-video-duration {
  position: absolute; right: 7px; bottom: 7px; padding: 3px 6px; border-radius: 5px;
  background: rgba(0,0,0,.82); color: #fff; font-size: 9px; font-weight: 900;
}
.mb-video-card-copy { min-width: 0; display: grid; gap: 5px; }
.mb-video-card-copy small { color: var(--mb-accent); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.mb-video-card-copy strong { font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mb-video-card-copy > span { color: var(--mb-muted); font-size: 9px; }
.mb-video-card.is-compact .mb-video-card-copy { padding-top: 8px; }
.mb-video-card.is-compact .mb-video-card-copy strong { font-size: 12px; -webkit-line-clamp: 2; }

.mb-watch-show-strip {
  display: flex; gap: 13px; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: none; scroll-snap-type: x proximity;
}
.mb-watch-show-card {
  flex: 0 0 92px; width: 92px; border: 0; background: transparent; color: var(--mb-text); padding: 0;
  text-align: center; cursor: pointer; scroll-snap-align: start;
}
.mb-watch-show-art {
  display: block; width: 76px; height: 76px; margin: 0 auto 8px; border-radius: 15px; overflow: hidden;
  background: var(--mb-surface-2); border: 1px solid var(--mb-border); color: var(--mb-accent); font-weight: 900;
}
.mb-watch-show-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-watch-show-art > span { width: 100%; height: 100%; display: grid; place-items: center; }
.mb-watch-show-card strong { display: block; font-size: 10px; line-height: 1.2; }
.mb-watch-show-card.is-active .mb-watch-show-art { border-color: var(--mb-accent); box-shadow: 0 0 0 2px rgba(0,162,232,.2); }
.mb-watch-show-card.is-active strong { color: var(--mb-accent); }

.mb-shorts-strip {
  display: flex; gap: 12px; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: none; scroll-snap-type: x proximity;
}
.mb-short-card { flex: 0 0 128px; width: 128px; text-decoration: none; color: var(--mb-text); scroll-snap-align: start; }
.mb-short-art {
  position: relative; display: block; width: 128px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px;
  background: var(--mb-surface-2); border: 1px solid var(--mb-border); color: var(--mb-accent); font-weight: 900;
}
.mb-short-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mb-short-art > span:first-child { width: 100%; height: 100%; display: grid; place-items: center; }
.mb-short-play { position: absolute; left: 10px; bottom: 10px; width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--mb-accent); color: #00131d; font-size: 10px; }
.mb-short-card small { display: block; margin-top: 8px; color: var(--mb-accent); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.mb-short-card strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 11px; line-height: 1.25; }
.mb-watch-shorts-empty { min-width: 100%; border: 1px dashed #343941; border-radius: 14px; padding: 15px; color: var(--mb-muted); background: rgba(255,255,255,.025); }
.mb-watch-shorts-empty strong { display: block; color: #fff; font-size: 13px; }
.mb-watch-shorts-empty span { display: block; margin-top: 4px; font-size: 10px; }
.mb-watch-latest-list { display: grid; }
.mb-watch-filter-heading { min-height: 32px; }
.mb-watch-filter-heading > span { font-size: 21px; font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }
.mb-watch-filter-heading button { border: 0; background: transparent; color: var(--mb-accent); font-size: 11px; font-weight: 900; cursor: pointer; }

.mb-video-detail-topbar { padding: 14px 18px 8px; }
.mb-video-player-wrap { background: #000; }
.mb-youtube-player { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; background: #000; }
.mb-video-detail-copy { padding: 20px 18px 8px; }
.mb-video-detail-copy h1 { margin: 7px 0 8px; font-size: clamp(25px, 7vw, 38px); line-height: 1.04; letter-spacing: -.035em; }
.mb-video-detail-meta { color: var(--mb-muted); font-size: 11px; }
.mb-video-detail-copy p { color: #d3d7de; font-size: 14px; line-height: 1.6; margin: 14px 0 0; }
.mb-video-detail-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 430px) {
  .mb-video-card:not(.is-compact) { grid-template-columns: 116px minmax(0,1fr); gap: 10px; }
  .mb-video-card:not(.is-compact) .mb-video-card-art { width: 116px; }
  .mb-video-card.is-compact { flex-basis: 220px; width: 220px; }
}

/* V0.8 #NerdClan / Patreon member handshake */
.mb-nerdclan-screen { padding-bottom: 112px; }
.mb-nerdclan-loading,
.mb-nerdclan-hero {
  padding: 34px 22px 24px;
  text-align: center;
}
.mb-nerdclan-hero-badge {
  position: relative;
  width: 86px;
  height: 96px;
  display: inline-grid;
  place-items: center;
  margin: 0 auto 18px;
}
.mb-nerdclan-hero-badge .mb-clan-shield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: #0aa5e5;
  filter: drop-shadow(0 10px 24px rgba(0,162,232,.18));
}
.mb-nerdclan-hero-badge img {
  position: relative;
  z-index: 2;
  width: 61px;
  height: 61px;
  object-fit: contain;
}
.mb-nerdclan-hero h1,
.mb-nerdclan-loading h1 {
  margin: 4px 0 12px;
  font-size: clamp(40px, 11vw, 58px);
  letter-spacing: -.04em;
  line-height: .98;
}
.mb-nerdclan-hero > p {
  max-width: 620px;
  margin: 0 auto;
  color: #b7bec8;
  font-size: 15px;
  line-height: 1.62;
}
.mb-nerdclan-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.mb-patreon-primary {
  appearance: none;
  border: 0;
  border-radius: 13px;
  padding: 13px 18px;
  background: #e2b545;
  color: #171105;
  font-family: inherit;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(226,181,69,.13);
}
.mb-patreon-primary:active { transform: translateY(1px); }
.mb-nerdclan-member-card {
  margin: 0 18px 18px;
  padding: 18px;
  border: 1px solid rgba(226,181,69,.32);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(226,181,69,.08), rgba(18,22,27,.98) 45%);
}
.mb-nerdclan-member-card.is-inactive { border-color: var(--mb-border); background: var(--mb-surface-1); }
.mb-nerdclan-member-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mb-nerdclan-member-profile h2 { margin: 3px 0 0; font-size: 22px; }
.mb-nerdclan-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 2px solid rgba(226,181,69,.45);
}
.mb-avatar-fallback {
  display: grid;
  place-items: center;
  background: #151a20;
  color: var(--mb-accent);
  font-weight: 900;
}
.mb-nerdclan-tier-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.mb-nerdclan-tier-list span {
  border: 1px solid rgba(226,181,69,.35);
  background: rgba(226,181,69,.08);
  color: #f0ca6d;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
}
.mb-nerdclan-member-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 14px;
  color: #abb3bd;
  font-size: 10px;
}
.mb-nerdclan-member-meta span:first-child { color: #e9c560; }
.mb-nerdclan-member-card p { color: var(--mb-muted); line-height: 1.55; }
.mb-nerdclan-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.mb-nerdclan-preview-grid > div {
  min-height: 92px;
  border: 1px solid var(--mb-border);
  border-radius: 15px;
  background: var(--mb-surface-1);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.mb-nerdclan-preview-grid strong { font-size: 13px; line-height: 1.25; }
.mb-nerdclan-preview-grid span { color: #e2b545; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.mb-nerdclan-benefits,
.mb-nerdclan-preview { padding-top: 12px; }

@media (max-width: 430px) {
  .mb-nerdclan-hero { padding-top: 26px; }
  .mb-nerdclan-preview-grid { grid-template-columns: 1fr 1fr; }
  .mb-nerdclan-actions { align-items: stretch; }
  .mb-nerdclan-actions > * { flex: 1 1 150px; text-align: center; }
}


/* V0.8.2 — Patreon account identity / wrong-account recovery */
.mb-patreon-account-line strong { color: #fff; font-weight: 900; }
.mb-patreon-account-layer {
  position: fixed;
  z-index: 12500;
  inset: 0;
  width: 100%;
  height: 100dvh;
}
.mb-patreon-account-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.mb-patreon-account-sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 560px);
  max-height: calc(100dvh - 30px);
  overflow-y: auto;
  transform: translateX(-50%);
  padding: 28px 22px calc(22px + var(--mb-safe-bottom));
  border: 1px solid rgba(255,255,255,.11);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: radial-gradient(circle at 50% -20%, rgba(229,180,61,.13), transparent 38%), #0e1013;
  box-shadow: 0 -20px 65px rgba(0,0,0,.6);
  animation: mb-install-up .28s ease-out both;
}
.mb-patreon-account-close {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #c8cbd0;
  font-size: 25px;
  cursor: pointer;
}
.mb-patreon-account-mark { margin: 2px auto 18px; display: block; }
.mb-patreon-account-sheet > .mb-eyebrow { display:block; text-align:center; }
.mb-patreon-account-sheet h2 {
  max-width: 450px;
  margin: 8px auto 0;
  text-align: center;
  font-size: clamp(25px, 6.8vw, 34px);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.mb-patreon-account-sheet > p {
  max-width: 440px;
  margin: 13px auto 0;
  color: var(--mb-muted);
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
}
.mb-patreon-account-sheet > p strong { color:#fff; }
.mb-patreon-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.mb-patreon-account-actions .mb-secondary-action,
.mb-patreon-account-actions .mb-patreon-primary {
  min-height: 50px;
  margin: 0;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
}
.mb-patreon-switch-steps {
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 460px;
  margin: 20px auto 0;
  padding: 0;
}
.mb-patreon-switch-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}
.mb-patreon-switch-steps li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(229,180,61,.14);
  color: var(--mb-gold, #e5b43d);
  font-weight: 900;
}
.mb-patreon-switch-steps strong { display:block; color:#fff; font-size:14px; }
.mb-patreon-switch-steps small { display:block; margin-top:3px; color:var(--mb-muted); font-size:12px; line-height:1.4; }
body.mb-patreon-account-open { overflow: hidden; }
@media (max-width: 440px) {
  .mb-patreon-account-actions { grid-template-columns: 1fr; }
}

/* V0.8.5 Nerd Clan photographic hero */
.mb-nerdclan-photo-hero {
  position: relative;
  min-height: clamp(260px, 42vw, 430px);
  margin: 0 0 18px;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(6,7,9,.04) 35%, rgba(6,7,9,.76) 78%, #08090b 100%),
    var(--mb-nerdclan-hero);
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
}
.mb-nerdclan-photo-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -1px rgba(255,255,255,.04);
}
.mb-nerdclan-photo-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px 24px 26px;
  text-align: left;
}
.mb-nerdclan-photo-copy h1 {
  margin: 4px 0 10px;
  font-size: clamp(42px, 10vw, 72px);
  letter-spacing: -.045em;
  line-height: .95;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}
.mb-nerdclan-photo-copy > p {
  max-width: 680px;
  margin: 0;
  color: #e2e5e9;
  font-size: 15px;
  line-height: 1.55;
  text-shadow: 0 2px 18px rgba(0,0,0,.75);
}
.mb-nerdclan-loading-card-wrap,
.mb-nerdclan-connect-actions { padding: 0 18px 18px; }
@media (max-width: 620px) {
  .mb-nerdclan-photo-hero {
    min-height: 285px;
    background-position: 48% center;
  }
  .mb-nerdclan-photo-copy { padding: 24px 18px 22px; }
}


/* V0.9.3 Nerd Clan member library */
.mb-nerdclan-library-wrap { padding-top: 8px; }
.mb-nerdclan-library { display: grid; gap: 30px; }
.mb-nerdclan-library-loading { margin: 8px 0 22px; }
.mb-nerdclan-library-section { min-width: 0; }
.mb-nerdclan-latest-list { display: grid; gap: 10px; }
.mb-nerdclan-post-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px; border: 1px solid var(--mb-border); border-radius: 18px;
  background: linear-gradient(145deg, rgba(226,181,69,.07), rgba(15,19,24,.96) 34%);
  color: var(--mb-text); text-decoration: none;
}
.mb-nerdclan-post-card:hover { border-color: rgba(226,181,69,.5); }
.mb-nerdclan-post-card-copy { min-width: 0; }
.mb-nerdclan-post-card h3 { margin: 5px 0 6px; font-size: 17px; line-height: 1.25; }
.mb-nerdclan-post-card p { margin: 0 0 8px; color: var(--mb-muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.mb-nerdclan-post-date { color: var(--mb-muted); font-size: 11px; }
.mb-nerdclan-post-arrow { flex: 0 0 auto; color: #e2b545; font-size: 34px; line-height: 1; }
.mb-nerdclan-collection-rail { display: flex; gap: 12px; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.mb-nerdclan-collection-rail::-webkit-scrollbar { display: none; }
.mb-nerdclan-collection-card {
  position: relative; flex: 0 0 176px; min-height: 220px; padding: 0;
  border: 1px solid rgba(226,181,69,.25); border-radius: 18px;
  background: var(--mb-surface-1); color: var(--mb-text); text-decoration: none;
  display: flex; flex-direction: column; scroll-snap-align: start; overflow: hidden;
}
.mb-nerdclan-collection-art { display:block; width:100%; aspect-ratio: 4 / 3; overflow:hidden; background:var(--mb-surface-2); }
.mb-nerdclan-collection-art img { width:100%; height:100%; object-fit:cover; display:block; }
.mb-nerdclan-collection-copy { display:flex; flex-direction:column; justify-content:flex-end; flex:1; padding:14px 15px 16px; }
.mb-nerdclan-collection-card strong { font-size: 15px; line-height: 1.2; }
.mb-nerdclan-collection-card small { color: #e2b545; margin-top: 7px; font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.mb-nerdclan-collection-shield { position: absolute; right: 12px; top: 10px; width: 25px; height: 29px; color: #e2b545; opacity: .95; }
.mb-nerdclan-collection-shield svg { width: 100%; height: 100%; fill: currentColor; }
.mb-nerdclan-post-screen { padding-bottom: 112px; }
.mb-nerdclan-native-post .mb-native-article-header { border-bottom-color: rgba(226,181,69,.2); }
.mb-nerdclan-native-post .mb-native-article-body a { color: #e9c560; }
.mb-nerdclan-post-embed { padding: 0 18px 20px; }
@media (max-width: 640px) {
  .mb-nerdclan-post-card { padding: 15px; }
  .mb-nerdclan-post-card h3 { font-size: 15px; }
  .mb-nerdclan-collection-card { flex-basis: 158px; min-height: 204px; }
}

.mb-nerdclan-locked-library { padding-top: 16px; }
.mb-nerdclan-locked-shelf + .mb-nerdclan-locked-shelf { margin-top: 24px; }
.mb-nerdclan-locked-shelf h3 { margin: 0 0 10px; font-size: 18px; }
.mb-nerdclan-collection-card.is-locked { opacity: .72; }
.mb-nerdclan-collection-card.is-locked::after { content: "LOCKED"; position: absolute; left: 16px; top: 14px; color: #e2b545; font-size: 9px; font-weight: 900; letter-spacing: .08em; }


/* V0.9.3 library diagnostics + simplified member view */
.mb-nerdclan-library-error {
  border: 1px solid rgba(231, 185, 69, .34);
  border-radius: 18px;
  padding: 22px;
  background: rgba(231, 185, 69, .055);
  color: var(--mb-text, #f5f5f7);
}
.mb-nerdclan-library-error strong { display:block; font-size: 18px; margin-bottom: 8px; }
.mb-nerdclan-library-error p { margin: 0 0 16px; color: var(--mb-muted, #a9abb2); line-height: 1.55; }
.mb-nerdclan-photo-hero.is-member .mb-nerdclan-photo-copy { padding-bottom: clamp(28px, 5vw, 52px); }
.mb-nerdclan-library-wrap { padding-top: 12px; }

/* V0.9.5 Nerd Clan media */
.mb-nerdclan-media {
  margin: 0 18px 24px;
  padding: 18px;
  border: 1px solid rgba(226,181,69,.28);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(226,181,69,.08), rgba(255,255,255,.025));
}
.mb-nerdclan-media h2 { margin: 5px 0 8px; font-size: clamp(20px, 3vw, 28px); line-height: 1.12; }
.mb-nerdclan-media p { margin: 0 0 14px; color: var(--mb-muted); line-height: 1.55; }
.mb-nerdclan-audio-card { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.mb-nerdclan-media-copy { min-width: 0; }
.mb-nerdclan-media-art { width: 88px; height: 88px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255,255,255,.12); }
.mb-nerdclan-audio { grid-column: 1 / -1; width: 100%; min-height: 44px; }
.mb-nerdclan-audio-card .mb-secondary-action { grid-column: 1 / -1; justify-self: start; }
.mb-nerdclan-video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; margin-top: 12px; background: #000; }
.mb-nerdclan-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mb-nerdclan-video-file { width: 100%; margin-top: 12px; border-radius: 14px; background: #000; }
.mb-nerdclan-media-fallback { max-width: 760px; }
.mb-nerdclan-media-fallback .mb-secondary-action { margin-top: 4px; }
.mb-nerdclan-media-cta {
  width: fit-content;
  min-height: 48px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 13px;
  border: 1px solid rgba(226,181,69,.5);
  background: linear-gradient(145deg, rgba(226,181,69,.24), rgba(226,181,69,.11));
  color: #f4cf6b;
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
  line-height: 1.15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.mb-nerdclan-media-cta:hover { border-color: rgba(226,181,69,.8); }
.mb-gold-action { border-color: rgba(226,181,69,.55) !important; color: #f0c75e !important; }
@media (max-width: 640px) {
  .mb-nerdclan-media { margin: 0 14px 20px; padding: 16px; border-radius: 17px; }
  .mb-nerdclan-media-art { width: 72px; height: 72px; }
}


/* V0.9.6 polished native Nerd Clan post reader */
.mb-nerdclan-native-post { padding-bottom: 26px; }
.mb-nerdclan-post-top-actions { border-bottom-color: rgba(226,181,69,.14); }
.mb-nerdclan-post-header { padding-top: 24px; }
.mb-nerdclan-post-header h1 { max-width: 21ch; margin-top: 0; }
.mb-nerdclan-post-meta { margin-top: 15px; color: var(--mb-muted); font-size: 12px; line-height: 1.4; }
.mb-nerdclan-post-feature { margin-bottom: 4px; }
.mb-nerdclan-post-body { color: #e8eaed; }
.mb-nerdclan-post-body a { color: #e9c560; }
.mb-nerdclan-post-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  padding-bottom: 6px;
}
.mb-nerdclan-footer-action {
  min-height: 52px;
  padding: 12px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.11);
  background: #13161b;
  color: #f4f5f7;
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  text-align: center;
}
.mb-nerdclan-footer-back { color: #d8dce2; }
.mb-nerdclan-footer-patreon {
  border-color: rgba(226,181,69,.48);
  background: linear-gradient(145deg, rgba(226,181,69,.22), rgba(226,181,69,.1));
  color: #f4cf6b;
}
.mb-nerdclan-footer-action:hover { border-color: rgba(255,255,255,.24); }
.mb-nerdclan-footer-patreon:hover { border-color: rgba(226,181,69,.78); }
@media (max-width: 420px) {
  .mb-nerdclan-post-actions { grid-template-columns: 1fr; }
}


/* V0.10 — Global Search */
.mb-global-search-screen { padding-bottom: 118px; }
.mb-search-page-head { padding: 25px 18px 13px; border-bottom: 1px solid var(--mb-border); }
.mb-search-back { margin: 0 0 16px; }
.mb-search-page-head h1 { margin: 0; font-size: clamp(36px, 10vw, 48px); line-height: 1; letter-spacing: -.035em; }
.mb-search-page-head > p { margin: 9px 0 18px; color: var(--mb-muted); font-size: 16px; line-height: 1.45; }
.mb-global-search-field { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 14px; border: 1px solid #3a414b; border-radius: 18px; background: #101319; box-shadow: inset 0 1px rgba(255,255,255,.015); }
.mb-global-search-field .mb-search-inline-icon { display: grid; place-items: center; color: #e8edf3; }
.mb-global-search-field .mb-ui-icon { width: 24px; height: 24px; }
.mb-global-search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--mb-text); font: inherit; font-size: 18px; }
.mb-global-search-field input::placeholder { color: #858b95; }
.mb-search-clear { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #353b44; color: #fff; font-size: 25px; line-height: 1; cursor: pointer; }
.mb-search-filter-tabs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.mb-search-filter-tabs::-webkit-scrollbar { display: none; }
.mb-search-filter { flex: 0 0 auto; min-height: 40px; padding: 0 15px; border: 1px solid #303640; border-radius: 999px; background: #11141a; color: #b7bbc3; font: inherit; font-weight: 700; cursor: pointer; }
.mb-search-filter.is-active { background: var(--mb-blue); border-color: var(--mb-blue); color: #061017; }
.mb-search-filter-clan:not(.is-active) { color: #e6ba45; border-color: rgba(230,186,69,.34); }
.mb-global-search-results { padding: 22px 18px 40px; }
.mb-search-start-state, .mb-search-no-results { padding: 28px 2px; color: var(--mb-muted); line-height: 1.55; }
.mb-search-start-state strong, .mb-search-no-results strong { display: block; margin-bottom: 6px; color: var(--mb-text); font-size: 22px; }
.mb-search-start-state p, .mb-search-no-results p { margin: 0; }
.mb-search-recent { margin-bottom: 22px; }
.mb-search-recent h2, .mb-search-top-section > h2, .mb-search-results-heading h2 { margin: 0 0 12px; font-size: 22px; }
.mb-search-recent-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-search-recent-chips button { padding: 9px 12px; border: 1px solid var(--mb-border); border-radius: 999px; background: var(--mb-surface); color: var(--mb-text); font: inherit; cursor: pointer; }
.mb-search-top-section { margin-bottom: 28px; }
.mb-search-top-card { width: 100%; display: grid; grid-template-columns: 112px 1fr auto; gap: 15px; align-items: center; padding: 13px; border: 1px solid #33404b; border-radius: 18px; background: linear-gradient(135deg,#111720,#0d1015); color: inherit; text-align: left; cursor: pointer; }
.mb-search-top-card .mb-search-result-thumb { width: 112px; height: 86px; }
.mb-search-results-section { margin: 0 0 28px; }
.mb-search-results-heading { display: flex; align-items: baseline; justify-content: space-between; }
.mb-search-results-list { border-top: 1px solid var(--mb-border); }
.mb-search-result-row { width: 100%; display: grid; grid-template-columns: 86px minmax(0,1fr) auto; gap: 13px; align-items: center; min-height: 106px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--mb-border); background: transparent; color: inherit; text-decoration: none; text-align: left; font: inherit; cursor: pointer; }
.mb-search-result-thumb { width: 86px; height: 72px; object-fit: cover; border-radius: 11px; background: var(--mb-surface-2); }
.mb-search-result-placeholder { display: grid; place-items: center; color: var(--mb-blue); font-size: 24px; font-weight: 900; border: 1px solid var(--mb-border); }
.mb-search-result-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mb-search-result-copy small { color: var(--mb-blue); font-size: 10px; line-height: 1.2; font-weight: 900; letter-spacing: .085em; text-transform: uppercase; }
.mb-search-result-copy strong { color: var(--mb-text); font-size: 16px; line-height: 1.26; }
.mb-search-result-copy em { color: var(--mb-muted); font-size: 12px; font-style: normal; }
.mb-search-chevron { color: #aeb4bd; font-size: 30px; font-weight: 300; }
.mb-search-play { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--mb-blue); border-radius: 50%; color: var(--mb-blue); font-size: 14px; }
.mb-search-structural-row { grid-template-columns: 58px minmax(0,1fr) auto; }
.mb-search-structural-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: #0f202b; color: var(--mb-blue); font-size: 21px; font-weight: 900; }
.mb-search-gold-shield { color: #e9b83d; background: #231d0d; }
.mb-search-nerdclan-row .mb-search-result-copy small { color: #e9b83d; }
@media (max-width: 520px) {
  .mb-search-top-card { grid-template-columns: 94px minmax(0,1fr) auto; }
  .mb-search-top-card .mb-search-result-thumb { width: 94px; height: 82px; }
  .mb-search-result-row { grid-template-columns: 76px minmax(0,1fr) auto; }
  .mb-search-result-thumb { width: 76px; height: 66px; }
}



/* V0.11 — First-run onboarding */
body.mb-onboarding-active { overflow: hidden; }
.mb-onboarding-layer {
  position: fixed; inset: 0; z-index: 10020;
  display: grid; place-items: center;
  width: 100%; height: 100dvh;
  padding: max(14px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background: rgba(2,3,5,.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.mb-onboarding-layer[hidden] { display: none !important; }
.mb-onboarding-sheet {
  width: min(100%, 620px); max-height: calc(100dvh - 28px);
  overflow: auto; overscroll-behavior: contain;
  border: 1px solid rgba(255,255,255,.12); border-radius: 30px;
  background: radial-gradient(circle at 90% 0, rgba(0,162,232,.13), transparent 30%), linear-gradient(180deg,#0b0e12,#08090b 72%);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  scrollbar-width: none;
}
.mb-onboarding-sheet::-webkit-scrollbar { display:none; }
.mb-onboarding-welcome, .mb-onboarding-panel { padding: 30px 28px 26px; }
.mb-onboarding-welcome { text-align: center; }
.mb-onboarding-logo { width: 86px; height: 86px; display:grid; place-items:center; margin: 0 auto 18px; }
.mb-onboarding-logo img { width: 100%; height: 100%; object-fit: contain; }
.mb-onboarding-logo span { color: var(--mb-blue); font-size: 28px; font-weight: 900; }
.mb-onboarding-progress { display:flex; justify-content:center; gap:7px; margin: 2px 0 22px; }
.mb-onboarding-progress span { width: 27px; height: 4px; border-radius:99px; background:#30353d; }
.mb-onboarding-progress span.is-active { background:var(--mb-accent); }
.mb-onboarding-eyebrow { display:block; color:var(--mb-accent-strong); font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; margin-bottom:8px; }
.mb-onboarding-welcome h2, .mb-onboarding-panel h2 { margin:0; font-size:clamp(34px,8vw,48px); line-height:.98; letter-spacing:-.04em; }
.mb-onboarding-welcome > p, .mb-onboarding-panel > p { margin:15px auto 22px; max-width:500px; color:var(--mb-muted); font-size:17px; line-height:1.5; }
.mb-onboarding-benefits { display:grid; gap:9px; margin: 0 0 23px; text-align:left; }
.mb-onboarding-benefits span { display:flex; flex-direction:column; gap:3px; padding:13px 15px; border:1px solid var(--mb-border); border-radius:15px; background:#101319; }
.mb-onboarding-benefits strong { font-size:15px; }
.mb-onboarding-benefits small { color:var(--mb-muted); font-size:12.5px; line-height:1.4; }
.mb-onboarding-primary, .mb-onboarding-secondary, .mb-onboarding-skip, .mb-onboarding-more {
  min-height:52px; border-radius:14px; font:inherit; font-weight:900; cursor:pointer;
}
.mb-onboarding-primary { border:1px solid var(--mb-accent); background:var(--mb-accent); color:#031018; padding:0 19px; }
.mb-onboarding-welcome .mb-onboarding-primary { width:100%; }
.mb-onboarding-secondary { border:1px solid #343b45; background:#14181e; color:#edf0f4; padding:0 18px; }
.mb-onboarding-skip { display:block; margin:9px auto 0; min-height:38px; border:0; background:transparent; color:#989ea8; padding:0 14px; }
.mb-onboarding-more { display:block; margin:12px auto 0; min-height:42px; border:1px solid #343b45; background:#11151a; color:#e6e9ed; padding:0 18px; }
.mb-onboarding-actions { display:grid; grid-template-columns:minmax(105px,.38fr) 1fr; gap:10px; margin-top:20px; }
.mb-onboarding-footnote { display:block; margin-top:11px; color:#858b94; text-align:center; }
.mb-onboarding-search { display:flex; align-items:center; gap:10px; min-height:50px; margin:0 0 15px; padding:0 13px; border:1px solid #353c46; border-radius:15px; background:#101319; }
.mb-onboarding-search .mb-ui-icon { width:20px; height:20px; color:#dce1e6; }
.mb-onboarding-search input { flex:1; min-width:0; border:0; outline:0; background:transparent; color:#fff; font:inherit; font-size:16px; }
.mb-onboarding-show-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.mb-onboarding-show { min-width:0; padding:0 0 9px; border:1px solid #2c323a; border-radius:16px; overflow:hidden; background:#101318; color:#fff; text-align:left; cursor:pointer; }
.mb-onboarding-show.is-selected { border-color:var(--mb-accent); box-shadow:0 0 0 2px rgba(0,162,232,.15); }
.mb-onboarding-show-art { position:relative; display:block; width:100%; aspect-ratio:1/1; background:#151a20; }
.mb-onboarding-show-art img { width:100%; height:100%; object-fit:cover; display:block; }
.mb-onboarding-show-art > span { width:100%; height:100%; display:grid; place-items:center; color:var(--mb-accent); font-size:28px; font-weight:900; }
.mb-onboarding-show-art i { position:absolute; top:8px; right:8px; width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:rgba(5,7,9,.84); border:1px solid rgba(255,255,255,.22); color:transparent; font-style:normal; font-size:15px; font-weight:900; }
.mb-onboarding-show.is-selected .mb-onboarding-show-art i { background:var(--mb-accent); border-color:var(--mb-accent); color:#061017; }
.mb-onboarding-show strong { display:block; padding:9px 10px 0; font-size:13px; line-height:1.22; }
.mb-onboarding-pref-list { display:grid; gap:9px; }
.mb-onboarding-pref { width:100%; min-height:72px; display:grid; grid-template-columns:1fr auto; gap:15px; align-items:center; padding:13px 14px; border:1px solid #2e343d; border-radius:16px; background:#101319; color:#fff; text-align:left; cursor:pointer; }
.mb-onboarding-pref > span { display:flex; flex-direction:column; gap:4px; }
.mb-onboarding-pref strong { font-size:15px; }
.mb-onboarding-pref small { color:var(--mb-muted); font-size:12.5px; line-height:1.35; }
.mb-onboarding-pref > i { width:44px; height:26px; padding:3px; display:flex; align-items:center; border-radius:99px; background:#343a43; transition:.18s ease; }
.mb-onboarding-pref > i b { width:20px; height:20px; border-radius:50%; background:#fff; transform:translateX(0); transition:.18s ease; }
.mb-onboarding-pref.is-selected > i { background:var(--mb-accent); }
.mb-onboarding-pref.is-selected > i b { transform:translateX(18px); }
.mb-onboarding-push-note { display:grid; grid-template-columns:38px 1fr; gap:11px; align-items:start; margin-top:14px; padding:14px; border:1px solid rgba(0,162,232,.25); border-radius:16px; background:rgba(0,162,232,.07); }
.mb-onboarding-push-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:#102532; font-size:18px; }
.mb-onboarding-push-note > span:last-child { display:flex; flex-direction:column; gap:4px; }
.mb-onboarding-push-note strong { font-size:14px; }
.mb-onboarding-push-note small { color:#aab2bc; font-size:12px; line-height:1.4; }
@media (max-width:520px) {
  .mb-onboarding-layer { place-items:end center; padding:0; }
  .mb-onboarding-sheet { width:100%; max-height:calc(100dvh - max(8px, env(safe-area-inset-top, 0px))); border-radius:28px 28px 0 0; border-bottom:0; }
  .mb-onboarding-welcome, .mb-onboarding-panel { padding:24px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .mb-onboarding-logo { width:74px; height:74px; }
  .mb-onboarding-show-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .mb-onboarding-welcome h2, .mb-onboarding-panel h2 { font-size:clamp(34px,10vw,44px); }
}


/* V0.12 — push notification center */
.mb-notifications-screen { padding-bottom:120px; }
.mb-notifications-head { padding:18px 0 8px; }
.mb-notifications-head h1 { margin:9px 0 7px; font-size:34px; line-height:1.06; }
.mb-notifications-head > p { margin:0; color:var(--mb-muted); line-height:1.55; max-width:680px; }
.mb-push-status { margin-top:18px; }
.mb-push-state-card { display:grid; grid-template-columns:52px minmax(0,1fr); gap:14px; align-items:start; padding:18px; border:1px solid #2a3038; border-radius:20px; background:linear-gradient(145deg,#11151b,#0c0f14); box-shadow:0 10px 30px rgba(0,0,0,.18); }
.mb-push-state-card.is-on { border-color:rgba(0,162,232,.48); background:linear-gradient(145deg,rgba(0,162,232,.10),#0d1117 55%); }
.mb-push-state-card.is-blocked { border-color:rgba(202,155,45,.5); }
.mb-push-state-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:16px; background:#181d24; color:var(--mb-accent); font-size:25px; font-weight:900; }
.mb-push-state-card.is-on .mb-push-state-icon { background:var(--mb-accent); color:#071016; }
.mb-push-state-card.is-blocked .mb-push-state-icon { color:#e3b34c; }
.mb-push-state-card small { color:var(--mb-accent); font-size:10px; letter-spacing:.13em; font-weight:900; }
.mb-push-state-card strong { display:block; margin:4px 0 5px; font-size:19px; line-height:1.25; }
.mb-push-state-card p { margin:0; color:var(--mb-muted); font-size:13px; line-height:1.5; }
.mb-push-state-card .mb-primary-action, .mb-push-state-card .mb-secondary-action { margin-top:13px; }
.mb-push-actions { display:flex; flex-wrap:wrap; gap:9px; }
.mb-push-error { margin-top:10px !important; color:#ffb6b6 !important; }
.mb-notification-pref-section, .mb-notification-follow-section { margin-top:28px; }
.mb-notification-follow-chips { display:flex; gap:10px; overflow-x:auto; padding:2px 1px 8px; scrollbar-width:none; }
.mb-notification-follow-chips::-webkit-scrollbar { display:none; }
.mb-notification-follow-chips button { flex:0 0 auto; display:flex; align-items:center; gap:8px; max-width:190px; padding:7px 11px 7px 7px; border:1px solid #2c323b; border-radius:99px; background:#11151b; color:#fff; }
.mb-notification-follow-chips img { width:32px; height:32px; border-radius:50%; object-fit:cover; }
.mb-notification-follow-chips span { font-size:12px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mb-notification-button { position:relative; }
.mb-notification-dot { position:absolute; top:6px; right:6px; width:7px; height:7px; border-radius:50%; background:#e5b342; box-shadow:0 0 0 2px #08090b; }
@media (max-width:520px) {
  .mb-push-state-card { grid-template-columns:44px minmax(0,1fr); padding:15px; border-radius:18px; }
  .mb-push-state-icon { width:44px; height:44px; border-radius:14px; font-size:21px; }
  .mb-push-state-card strong { font-size:17px; }
  .mb-push-actions { display:grid; grid-template-columns:1fr; }
}

/* V0.13 utility menu + settings */
body.mb-menu-open { overflow: hidden; }
.mb-menu-button { background: var(--mb-surface); }
.mb-menu-button[aria-expanded="true"] { border-color: rgba(0,162,232,.62); background: rgba(0,162,232,.12); }

.mb-menu-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  width: min(100%, var(--mb-shell-width));
  margin: 0 auto;
}
.mb-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.64);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mb-menu-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(89vw, 380px);
  height: 100dvh;
  padding: calc(16px + var(--mb-safe-top)) 16px calc(24px + var(--mb-safe-bottom));
  overflow-y: auto;
  background: #0c0e11;
  border-left: 1px solid rgba(255,255,255,.09);
  box-shadow: -24px 0 70px rgba(0,0,0,.48);
  animation: mbMenuIn .2s ease both;
}
@keyframes mbMenuIn { from { transform: translateX(24px); opacity: .72; } to { transform: translateX(0); opacity: 1; } }
.mb-menu-top { padding: 0 2px 14px; }
.mb-menu-brand-row { display: grid; grid-template-columns: 44px minmax(0,1fr) 38px; gap: 11px; align-items: center; }
.mb-menu-brand-row h2 { margin: 2px 0 0; font-size: 23px; line-height: 1.05; }
.mb-menu-brand-mark { width: 44px; height: 44px; display: grid; place-items: center; }
.mb-menu-brand-mark img { width: 42px; height: 42px; object-fit: contain; }
.mb-menu-brand-mark span { color: var(--mb-accent); font-weight: 900; }
.mb-menu-close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--mb-border);
  background: var(--mb-surface); color: var(--mb-text); font-size: 25px; line-height: 1; cursor: pointer;
}
.mb-menu-identity {
  margin-top: 15px; padding: 12px 13px; border-radius: 13px;
  background: #12151a; border: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column; gap: 3px;
}
.mb-menu-identity strong { font-size: 14px; }
.mb-menu-identity span { color: var(--mb-muted); font-size: 12px; line-height: 1.35; }
.mb-menu-nav { display: grid; gap: 5px; }
.mb-menu-row {
  width: 100%; min-height: 58px; padding: 9px 8px;
  display: grid; grid-template-columns: 36px minmax(0,1fr) 18px; gap: 10px; align-items: center;
  border: 0; border-radius: 12px; background: transparent; color: var(--mb-text);
  text-align: left; text-decoration: none; cursor: pointer;
}
.mb-menu-row:hover, .mb-menu-row:focus-visible { background: rgba(255,255,255,.055); outline: none; }
.mb-menu-row > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mb-menu-row strong { font-size: 14px; line-height: 1.2; }
.mb-menu-row small { color: var(--mb-muted); font-size: 11.5px; line-height: 1.25; }
.mb-menu-row > b { color: #747b86; font-size: 20px; font-weight: 400; text-align: center; }
.mb-menu-row-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  color: #dce0e6; background: #171a1f; border: 1px solid rgba(255,255,255,.06);
  font-weight: 800; font-size: 16px;
}
.mb-menu-row-clan .mb-menu-row-icon { color: #d8af52; }
.mb-menu-row-clan strong { color: #f0d188; }
.mb-menu-shield svg { width: 18px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.mb-menu-divider { height: 1px; margin: 12px 7px; background: rgba(255,255,255,.08); }
.mb-menu-nav-secondary .mb-menu-row { min-height: 54px; }
.mb-menu-footer { margin: 18px 8px 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); color: #737984; font-size: 11px; }
.mb-menu-footer strong { color: #9aa0aa; }

.mb-settings-screen { padding-bottom: 26px; }
.mb-settings-head { padding: 18px 18px 8px; }
.mb-settings-head h1 { margin: 6px 0 7px; font-size: clamp(30px, 8vw, 42px); line-height: 1; }
.mb-settings-head p { margin: 0; color: var(--mb-muted); font-size: 14px; line-height: 1.55; max-width: 620px; }
.mb-settings-root { padding: 8px 18px 28px; display: grid; gap: 18px; }
.mb-settings-group {
  overflow: hidden; border: 1px solid rgba(255,255,255,.075); border-radius: 15px;
  background: #101216;
}
.mb-settings-group > .mb-eyebrow { display: block; padding: 13px 14px 7px; }
.mb-settings-row {
  width: 100%; min-height: 62px; padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 0; border-top: 1px solid rgba(255,255,255,.06); background: transparent;
  color: var(--mb-text); text-align: left; text-decoration: none; cursor: pointer;
}
.mb-settings-group > .mb-eyebrow + .mb-settings-row { border-top: 0; }
.mb-settings-row span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mb-settings-row strong { font-size: 14px; }
.mb-settings-row small { color: var(--mb-muted); font-size: 12px; line-height: 1.3; }
.mb-settings-row b { flex: 0 0 auto; color: #818893; font-size: 20px; font-weight: 400; }
.mb-settings-row b.mb-settings-status { font-size: 12px; font-weight: 800; color: var(--mb-accent); }
.mb-settings-row:not(.is-static):hover, .mb-settings-row:not(.is-static):focus-visible { background: rgba(255,255,255,.04); outline: none; }
.mb-settings-row.is-static { cursor: default; }
.mb-settings-version { text-align: center; color: #747b84; font-size: 11px; padding: 2px 0 8px; }
.mb-settings-version strong { color: #969ca5; }

@media (min-width: 560px) {
  .mb-menu-drawer { width: 390px; }
  .mb-settings-head, .mb-settings-root { padding-left: 24px; padding-right: 24px; }
}
.mb-menu-row-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


/* V0.14 canonical franchise hierarchy */
.mb-child-shows-section { padding-top: 22px; }
.mb-child-show-rail {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  margin-right: -18px;
  padding: 0 18px 5px 0;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.mb-child-show-rail::-webkit-scrollbar { display: none; }
.mb-child-show-card {
  flex: 0 0 150px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--mb-border);
  border-radius: 14px;
  background: var(--mb-surface);
  color: var(--mb-text);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}
.mb-child-show-card.is-premium-exclusive { border-color: rgba(226,181,69,.38); }
.mb-child-show-art-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mb-surface-2);
}
.mb-child-show-art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.mb-child-show-copy {
  display: grid;
  gap: 4px;
  padding: 10px 11px 11px;
}
.mb-child-show-copy strong {
  font-size: 13px;
  line-height: 1.2;
}
.mb-child-show-copy small {
  color: var(--mb-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (min-width: 480px) {
  .mb-child-show-rail { margin-right: -22px; padding-right: 22px; }
}

/* V0.14.12 — Potter coverage lanes */
.mb-lane-collection-card.is-active {
  border-color: var(--mb-accent);
  box-shadow: 0 0 0 1px rgba(0,162,232,.22);
}


/* V0.14.17 — compact filters for mixed franchise Projects (e.g. MCU). */
.mb-project-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 16px;
}
.mb-project-filter {
  appearance: none;
  border: 1px solid #2b323c;
  background: #11151a;
  color: #b7bcc6;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.mb-project-filter.is-active {
  background: #05a9e6;
  border-color: #05a9e6;
  color: #061017;
}

/* v0.14.20 podcast season navigation */
.mb-podcast-seasons-section { margin-bottom: 24px; }
.mb-season-card.is-active { border-color: var(--mb-accent); box-shadow: 0 0 0 1px var(--mb-accent) inset; }
.mb-text-action { appearance: none; border: 0; background: transparent; color: var(--mb-accent); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; padding: 4px 0; }
.mb-text-action:hover { text-decoration: underline; }

/* v0.14.26 — show-specific Nerd Clan feed */
.mb-show-nerdclan-latest .mb-nerdclan-post-card,
.mb-show-nerdclan-panel .mb-nerdclan-post-card { text-decoration:none; }
.mb-show-nerdclan-archives { margin-top:22px; }
.mb-show-nerdclan-panel.is-locked .mb-empty { margin-bottom:14px; }


/* V0.14.28 — show-level NerdClan archive CTA */
.mb-show-nerdclan-archives {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.mb-show-archive-cta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  max-width: 520px;
  padding: 12px 16px;
  border: 1px solid rgba(238, 190, 58, .58);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(238,190,58,.08), rgba(238,190,58,.025));
  color: #f7f7f7;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.mb-show-archive-cta:hover,
.mb-show-archive-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(238, 190, 58, .9);
  background: linear-gradient(180deg, rgba(238,190,58,.14), rgba(238,190,58,.045));
}
.mb-show-archive-cta-shield {
  width: 30px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.mb-show-archive-cta-shield svg { width: 26px; height: 30px; fill: #eeba3a; }
.mb-show-archive-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.mb-show-archive-cta-copy strong { font-size: 15px; line-height: 1.25; color: #fff; }
.mb-show-archive-cta-copy small { font-size: 12px; line-height: 1.3; color: #aaaeb7; }
.mb-show-archive-cta-arrow { color: #eeba3a; font-size: 20px; line-height: 1; flex: 0 0 auto; }
@media (max-width: 640px) {
  .mb-show-archive-cta { width: 100%; max-width: none; }
}

/* V0.14.30 — Knee Jerk Reactions master archive */
.mb-kjr-fandom-icon {
  display: grid; place-items: center;
  background: #17120a; color: #e2b545;
  border-color: #e2b545;
  box-shadow: inset 0 0 0 1px rgba(226,181,69,.18);
}
.mb-kjr-fandom-icon span { font-size: 13px; font-weight: 900; letter-spacing: -.02em; transform: translateY(-1px); }
.mb-kjr-fandom-chip:hover .mb-kjr-fandom-icon,
.mb-kjr-fandom-chip:focus-visible .mb-kjr-fandom-icon { background: #21190b; }

.mb-kjr-screen { padding-bottom: 112px; }
.mb-kjr-page-head {
  padding: 24px 18px 15px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mb-kjr-page-head h1 {
  margin: 6px 0 8px;
  font-size: clamp(31px, 8vw, 46px);
  line-height: .98;
  letter-spacing: -.045em;
}
.mb-kjr-page-head > p {
  margin: 0;
  max-width: 700px;
  color: var(--mb-muted);
  font-size: 15px;
  line-height: 1.55;
}
.mb-kjr-filter-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  margin-top: 18px; padding-bottom: 2px;
  scrollbar-width: none;
}
.mb-kjr-filter-tabs::-webkit-scrollbar { display: none; }
.mb-kjr-filter {
  flex: 0 0 auto;
  border: 1px solid var(--mb-border);
  border-radius: 999px;
  background: #11151a;
  color: #d8dce2;
  padding: 9px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.mb-kjr-filter.is-active {
  border-color: #e2b545;
  background: #e2b545;
  color: #1a1304;
}
.mb-kjr-root { padding: 18px; }
.mb-kjr-results-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 0 0 13px;
}
.mb-kjr-results-head strong { font-size: 13px; letter-spacing: .02em; }
.mb-kjr-results-head span { color: var(--mb-muted); font-size: 11px; text-align: right; }
.mb-kjr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mb-kjr-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mb-border);
  border-radius: 18px;
  background: var(--mb-surface-1);
}
.mb-kjr-card-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #11151a;
}
.mb-kjr-card-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mb-kjr-art-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: #e2b545; background: linear-gradient(145deg, #18120a, #0c0d10);
  font-size: 31px; font-weight: 900; letter-spacing: -.04em;
}
.mb-kjr-format-pill {
  position: absolute; left: 10px; bottom: 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(5,7,9,.83);
  color: #f1f3f5;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}
.mb-kjr-card-copy { padding: 15px; }
.mb-kjr-card-copy h2 {
  margin: 5px 0 7px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.mb-kjr-meta { margin: 0; color: var(--mb-muted); font-size: 11px; line-height: 1.4; }
.mb-kjr-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.mb-kjr-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 39px;
  border-radius: 11px;
  padding: 9px 12px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}
.mb-kjr-public-action {
  border: 1px solid rgba(0,162,232,.6);
  background: rgba(0,162,232,.1);
  color: #65c9f3;
}
.mb-kjr-premium-action {
  border: 1px solid rgba(226,181,69,.55);
  background: rgba(226,181,69,.08);
  color: #e9c560;
}
.mb-kjr-action-shield { width: 15px; height: 18px; flex: 0 0 auto; }
.mb-kjr-action-shield svg { width: 100%; height: 100%; fill: currentColor; }
.mb-show-kjr-panel .mb-kjr-grid { margin-top: 4px; }

@media (max-width: 720px) {
  .mb-kjr-grid { grid-template-columns: 1fr; }
  .mb-kjr-results-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .mb-kjr-results-head span { text-align: left; }
  .mb-kjr-actions { flex-wrap: nowrap; }
  .mb-kjr-action { flex: 1 1 0; padding-left: 9px; padding-right: 9px; }
}

@media (max-width: 390px) {
  .mb-kjr-actions { flex-wrap: wrap; }
  .mb-kjr-action { flex: 1 1 100%; }
}

/* V0.14.39 — Television KJR show browser. */
.mb-kjr-show-browser { margin: 0 0 18px; }
.mb-kjr-show-browser-label {
  display: block;
  margin: 0 0 9px;
  color: var(--mb-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mb-kjr-show-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mb-kjr-show-chips::-webkit-scrollbar { display: none; }
.mb-kjr-show-chip {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--mb-border);
  border-radius: 999px;
  background: var(--mb-surface-2);
  color: var(--mb-text);
  padding: 8px 13px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.mb-kjr-show-chip.is-active {
  border-color: var(--mb-gold);
  background: var(--mb-gold);
  color: #111;
}


/* V0.14.48 — public article -> NerdClan continuation. */
.mb-article-nerdclan-continuation {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 28px 0 22px;
  padding: 20px;
  border: 1px solid rgba(226,181,69,.48);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(226,181,69,.10), rgba(226,181,69,.035));
}
.mb-article-nerdclan-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(226,181,69,.12);
  color: var(--mb-gold);
}
.mb-article-nerdclan-mark svg { width: 25px; height: 29px; fill: currentColor; }
.mb-article-nerdclan-copy h2 { margin: 3px 0 6px; font-size: clamp(22px, 4vw, 29px); line-height: 1.08; }
.mb-article-nerdclan-copy p { margin: 0 0 15px; color: var(--mb-muted); line-height: 1.55; }
.mb-article-nerdclan-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 1px solid rgba(226,181,69,.68);
  border-radius: 13px;
  background: rgba(226,181,69,.09);
  color: #efd06f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
}
.mb-article-nerdclan-cta:hover, .mb-article-nerdclan-cta:focus-visible { background: rgba(226,181,69,.16); color: #f4d980; }
@media (max-width: 520px) {
  .mb-article-nerdclan-continuation { grid-template-columns: 1fr; gap: 12px; padding: 17px; }
  .mb-article-nerdclan-mark { width: 42px; height: 42px; border-radius: 13px; }
  .mb-article-nerdclan-mark svg { width: 22px; height: 26px; }
}

/* V0.14.49 — persistent app-native detail controls.
   Content scrolls beneath a fixed utility layer while the bottom nav/player
   remain untouched. The normal branded topbar is intentionally removed only
   on article, podcast, video, and NerdClan post detail routes. */
.mb-detail-controls[hidden] { display: none !important; }
.mb-detail-controls {
  position: fixed;
  z-index: 70;
  top: calc(var(--mb-safe-top) + 10px);
  left: 50%;
  width: min(100%, var(--mb-shell-width));
  transform: translateX(-50%);
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}
.mb-detail-control-slot,
.mb-detail-control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.mb-detail-control {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(14,17,23,.82);
  color: #f3f5f7;
  box-shadow: 0 8px 24px rgba(0,0,0,.30);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mb-detail-control:active { transform: scale(.96); }
.mb-detail-control:focus-visible {
  outline: 2px solid var(--mb-accent);
  outline-offset: 2px;
}
.mb-detail-control svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mb-detail-control.mb-detail-back svg { width: 23px; height: 23px; }
.mb-detail-control.is-saved {
  color: var(--mb-accent-strong);
  border-color: rgba(0,162,232,.55);
  background: rgba(0,91,132,.72);
}
.mb-detail-control.is-saved svg { fill: currentColor; stroke: currentColor; }

.mb-app.is-detail-route > .mb-topbar { display: none; }
.mb-app.is-detail-route .mb-main {
  padding-top: calc(68px + var(--mb-safe-top));
}

/* The legacy in-content action rows are no longer rendered in V0.14.49.
   Keep these selectors inert for cached/partially updated markup. */
.mb-app.is-detail-route .mb-article-top-actions,
.mb-app.is-detail-route .mb-podcast-top-actions,
.mb-app.is-detail-route .mb-video-detail-topbar,
.mb-app.is-detail-route .mb-nerdclan-post-top-actions {
  display: none !important;
}

@media (min-width: 480px) {
  .mb-detail-controls {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mb-detail-control:active { transform: none; }
}


/* V0.14.50 beta pass: immediate article loading skeleton */
.mb-article-skeleton { min-height: 70vh; overflow: hidden; }
.mb-article-skeleton .mb-article-header { padding-bottom: 18px; }
.mb-skeleton-line { display: block; height: 13px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.055), rgba(255,255,255,.12), rgba(255,255,255,.055)); background-size: 220% 100%; animation: mb-skeleton-shimmer 1.25s linear infinite; }
.mb-skeleton-line.is-eyebrow { width: 30%; height: 9px; margin-bottom: 13px; }
.mb-skeleton-line.is-title { width: 94%; height: 31px; margin: 8px 0; border-radius: 8px; }
.mb-skeleton-line.is-short { width: 68%; }
.mb-article-skeleton-byline { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; align-items: center; margin-top: 20px; }
.mb-skeleton-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.085); }
.mb-article-skeleton-byline > span:last-child { display: grid; gap: 7px; }
.mb-skeleton-line.is-byline { width: 34%; height: 12px; }
.mb-skeleton-line.is-meta { width: 46%; height: 9px; }
.mb-article-skeleton-image { width: 100%; aspect-ratio: 16 / 9; background: rgba(255,255,255,.065); }
.mb-article-skeleton-body { padding: 22px 18px; display: grid; gap: 12px; }
@keyframes mb-skeleton-shimmer { to { background-position: -220% 0; } }

/* V0.14.50 beta pass: persistent controls for a YouTube video left playing */
.mb-video-mini-player {
  position: fixed; z-index: 59; left: 50%; bottom: calc(72px + var(--mb-safe-bottom));
  transform: translateX(-50%); width: min(100%, var(--mb-shell-width)); min-height: 64px;
  display: grid; grid-template-columns: minmax(0,1fr) 52px 42px; align-items: center;
  background: rgba(16,18,23,.985); border-top: 1px solid rgba(255,255,255,.11);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 -12px 36px rgba(0,0,0,.34);
}
.mb-video-mini-player[hidden] { display: none !important; }
.mb-video-mini-main { border: 0; background: transparent; color: var(--mb-text); min-width: 0; display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 10px; align-items: center; text-align: left; padding: 7px 8px; }
.mb-video-mini-art { width: 70px; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; background: var(--mb-surface-2); display: grid; place-items: center; color: var(--mb-accent); font-weight: 900; }
.mb-video-mini-art img { width: 100%; height: 100%; object-fit: cover; }
.mb-video-mini-copy { min-width: 0; display: grid; gap: 3px; }
.mb-video-mini-copy strong, .mb-video-mini-copy small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-video-mini-copy strong { font-size: 11px; line-height: 1.2; }
.mb-video-mini-copy small { color: var(--mb-muted); font-size: 9px; }
.mb-video-mini-control, .mb-video-mini-close { border: 0; background: transparent; color: var(--mb-text); height: 60px; font-weight: 900; }
.mb-video-mini-control { color: var(--mb-accent); font-size: 21px; }
.mb-video-mini-close { color: #c8ccd2; font-size: 25px; }
body:has(.mb-video-mini-player:not([hidden])) .mb-main { padding-bottom: calc(144px + var(--mb-safe-bottom)); }
body:has(.mb-mini-player:not([hidden])) .mb-video-mini-player { bottom: calc(134px + var(--mb-safe-bottom)); }
body:has(.mb-mini-player:not([hidden])):has(.mb-video-mini-player:not([hidden])) .mb-main { padding-bottom: calc(206px + var(--mb-safe-bottom)); }

/* V0.14.52 — TLK seasons stay visible even when the franchise has a Movies lane. */
.mb-show-persistent-season-rail {
  margin-top: 0;
  border-top: 1px solid var(--mb-border, rgba(255,255,255,.08));
}


/* V0.14.57 — followed fandoms become an explicit navigation layer. */
.mb-home-my-shows { padding: 18px 18px 2px; }
.mb-home-my-shows-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.mb-home-my-shows-heading h2 { margin: 4px 0 0; font-size: clamp(24px, 6.6vw, 28px); line-height: 1.08; letter-spacing: -.025em; }
.mb-home-my-shows-note { margin: 0 0 12px; color: var(--mb-muted); font-size: 11px; line-height: 1.45; }
.mb-show-card[data-open-show] { cursor: pointer; transition: border-color .16s ease, transform .16s ease; }
.mb-show-card[data-open-show]:focus-visible { outline: 2px solid var(--mb-accent); outline-offset: 3px; }
@media (hover:hover) {
  .mb-show-card[data-open-show]:hover { border-color: rgba(0,162,232,.48); transform: translateY(-1px); }
}
.mb-show-card .mb-coverage-link { pointer-events: none; }
.mb-home-my-shows .mb-fandom-wrap { border-bottom: 0; }
.mb-home-my-shows .mb-fandom-row { padding: 10px 0 14px; }
.mb-show-premium-label { margin-top: 5px; color: var(--mb-gold); font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.mb-watch-your-shows-section .mb-watch-show-card strong { font-size: 10px; }
