:root {
  color-scheme: light;
  --bk-bg: #f6f7f9;
  --bk-paper: #ffffff;
  --bk-raised: #fbfcfd;
  --bk-ink: #101418;
  --bk-text: #20262d;
  --bk-muted: #66707d;
  --bk-faint: #8b95a1;
  --bk-line: #e3e7ec;
  --bk-line-strong: #d3d9e1;
  --bk-accent: #04785f;
  --bk-accent-soft: #e8f6f2;
  --bk-red: #d24b5a;
  --bk-red-soft: #fff0f2;
  --bk-blue: #2f5f9f;
  --bk-blue-soft: #eef4ff;
  --bk-gold: #b98226;
  --bk-gold-soft: #fff7e8;
  --bk-radius: 8px;
  --bk-width: 1120px;
  --bk-shadow: 0 1px 2px rgba(16, 20, 24, 0.04), 0 12px 28px rgba(16, 20, 24, 0.05);
  --bk-font: "Pretendard Variable", Pretendard, "Wanted Sans Variable", "Wanted Sans", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.site-shell {
  margin: 0 !important;
  background: var(--bk-bg) !important;
  color: var(--bk-text) !important;
  font-family: var(--bk-font) !important;
  letter-spacing: 0 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.site-shell *,
body.site-shell *::before,
body.site-shell *::after {
  box-sizing: border-box;
}

body.site-shell a {
  color: inherit;
  text-decoration: none;
}

body.site-shell img,
body.site-shell iframe {
  max-width: 100%;
}

body.site-shell .site-header,
body.site-shell header.nav {
  display: none !important;
}

body.site-shell .skip {
  position: fixed !important;
  left: 14px !important;
  top: -80px !important;
  z-index: 1000 !important;
  padding: 10px 12px !important;
  border-radius: 6px !important;
  background: var(--bk-ink) !important;
  color: #fff !important;
}

body.site-shell .skip:focus {
  top: 12px !important;
}

.bk-site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 500 !important;
  min-height: 56px !important;
  display: grid;
  grid-template-columns: minmax(160px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 0 max(18px, calc((100vw - var(--bk-width)) / 2)) !important;
  border-bottom: 1px solid var(--bk-line) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--bk-ink) !important;
  box-shadow: 0 1px 0 rgba(16, 20, 24, 0.02) !important;
  backdrop-filter: blur(18px);
}

.bk-brand {
  display: inline-grid;
  gap: 2px;
  min-width: max-content;
  text-decoration: none;
}

.bk-brand strong {
  color: var(--bk-ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.bk-brand span {
  color: var(--bk-accent);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.bk-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.bk-nav a,
.bk-nav summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 7px;
  color: #2b323a;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.bk-nav a:hover,
.bk-nav summary:hover,
.bk-nav a:focus-visible,
.bk-nav summary:focus-visible {
  background: #f0f3f6;
  color: var(--bk-ink);
  outline: none;
}

.bk-nav a[aria-current="page"],
.bk-nav summary[aria-current="page"] {
  background: var(--bk-ink);
  color: #fff;
}

.bk-nav details {
  position: relative;
}

.bk-nav summary {
  list-style: none;
}

.bk-nav summary::-webkit-details-marker {
  display: none;
}

.bk-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  min-width: 188px;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--bk-line);
  border-radius: var(--bk-radius);
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 20, 24, 0.14);
}

.bk-menu a {
  justify-content: flex-start;
}

body.site-shell main,
body.site-shell .site-main,
body.site-shell .wrap,
body.site-shell .hero-inner,
body.site-shell .channel-row,
body.site-shell .shelf-layout,
body.site-shell .deck-inner,
body.site-shell .footer-grid {
  width: min(var(--bk-width), calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.site-shell main {
  padding-top: 0 !important;
}

body.site-shell h1,
body.site-shell h2,
body.site-shell h3,
body.site-shell h4,
body.site-shell p {
  margin-top: 0;
  letter-spacing: 0 !important;
}

body.site-shell h1,
body.site-shell h2,
body.site-shell h3,
body.site-shell h4 {
  color: var(--bk-ink) !important;
  font-family: var(--bk-font) !important;
  font-weight: 930 !important;
  word-break: keep-all;
}

body.site-shell h1 {
  max-width: 820px !important;
  font-size: clamp(40px, 5.8vw, 72px) !important;
  line-height: 1.04 !important;
}

body.site-shell h2 {
  font-size: clamp(26px, 3.2vw, 42px) !important;
  line-height: 1.12 !important;
}

body.site-shell h3 {
  font-size: clamp(19px, 2vw, 25px) !important;
  line-height: 1.22 !important;
}

body.site-shell p,
body.site-shell li {
  color: var(--bk-muted) !important;
  line-height: 1.72 !important;
}

body.site-shell .eyebrow,
body.site-shell .tag,
body.site-shell .pill,
body.site-shell .status-confirmed,
body.site-shell .status-watch,
body.site-shell .status-archive {
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.site-shell .eyebrow {
  color: var(--bk-red) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.site-shell .tag,
body.site-shell .pill,
body.site-shell .tag-row span,
body.site-shell .meta span,
body.site-shell .entry-meta span,
body.site-shell .trend-tags span,
body.site-shell .keyword,
body.site-shell .count,
body.site-shell .date {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px !important;
  border: 1px solid var(--bk-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--bk-muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.site-shell .status-confirmed {
  background: var(--bk-accent-soft) !important;
  border-color: #bfe6dc !important;
  color: var(--bk-accent) !important;
}

body.site-shell .status-watch {
  background: var(--bk-gold-soft) !important;
  border-color: #f0d7a8 !important;
  color: var(--bk-gold) !important;
}

body.site-shell .status-archive {
  background: #f1f3f5 !important;
  color: var(--bk-faint) !important;
}

body.site-shell .hero {
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%) !important;
  color: var(--bk-text) !important;
  border-bottom: 1px solid var(--bk-line) !important;
}

body.site-shell .hero-inner {
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr) !important;
  gap: clamp(24px, 4vw, 44px) !important;
  padding: 46px 0 42px !important;
}

body.site-shell .hero-panel {
  align-content: center !important;
}

body.site-shell .hero-copy {
  max-width: 610px !important;
  margin-top: 18px !important;
  color: var(--bk-muted) !important;
  font-size: clamp(16px, 1.7vw, 19px) !important;
  line-height: 1.78 !important;
}

body.site-shell .hero-actions {
  gap: 8px !important;
  margin-top: 22px !important;
}

body.site-shell .hero-media,
body.site-shell .video-frame,
body.site-shell .video-loader {
  overflow: hidden !important;
  border: 1px solid var(--bk-line) !important;
  border-radius: var(--bk-radius) !important;
  background: #0b0d10 !important;
  box-shadow: none !important;
}

body.site-shell .hero-media-caption {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: #111820 !important;
  color: #cbd5df !important;
  font-size: 12px !important;
}

body.site-shell .hero-media-caption a {
  color: #fff !important;
}

body.site-shell .hero:has(> .hero-grid) {
  padding: 42px 0 34px !important;
}

body.site-shell .hero > .hero-grid {
  width: min(var(--bk-width), calc(100% - 32px)) !important;
  margin: 0 auto !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
  gap: 26px !important;
  align-items: center !important;
}

body.site-shell .hero > .hero-grid h1 {
  font-size: clamp(38px, 5vw, 64px) !important;
}

body.site-shell .hero > .hero-grid p {
  max-width: 720px !important;
  font-size: clamp(15px, 1.4vw, 18px) !important;
  line-height: 1.72 !important;
}

body.site-shell .hero > .hero-grid .quick-nav {
  margin-top: 18px !important;
}

body.site-shell .method-card {
  padding: 18px !important;
  border-color: var(--bk-line) !important;
  background: var(--bk-raised) !important;
}

body.site-shell .method-card ul {
  display: grid !important;
  gap: 7px !important;
  margin: 10px 0 0 !important;
  padding-left: 16px !important;
}

body.site-shell .method-card li {
  font-size: 14px !important;
  line-height: 1.58 !important;
}

body.site-shell .channel-strip,
body.site-shell .home-shelf,
body.site-shell .section,
body.site-shell .editorial-deck,
body.site-shell .ticker {
  background: transparent !important;
  border-bottom: 1px solid var(--bk-line) !important;
}

body.site-shell .channel-strip {
  padding: 16px 0 !important;
}

body.site-shell .channel-row {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.site-shell .channel-link,
body.site-shell .rail-card,
body.site-shell .deck-card,
body.site-shell .article-card,
body.site-shell .guide-card,
body.site-shell .profile-card,
body.site-shell .event-card,
body.site-shell .category-card,
body.site-shell .entry,
body.site-shell .summary,
body.site-shell .summary-card,
body.site-shell .section-card,
body.site-shell .side-card,
body.site-shell .side-box,
body.site-shell .watch-card,
body.site-shell .content-card,
body.site-shell .note,
body.site-shell .candidate,
body.site-shell .side-note article,
body.site-shell .scene-card,
body.site-shell .policy-card,
body.site-shell .market-note,
body.site-shell .automation-note,
body.site-shell .ops-card,
body.site-shell .list-item,
body.site-shell main > ul > li > a {
  border: 1px solid var(--bk-line) !important;
  border-radius: var(--bk-radius) !important;
  background: var(--bk-paper) !important;
  color: var(--bk-text) !important;
  box-shadow: none !important;
}

body.site-shell .channel-link:hover,
body.site-shell .rail-card:hover,
body.site-shell .deck-card:hover,
body.site-shell .article-card:hover,
body.site-shell .guide-card:hover,
body.site-shell .profile-card:hover,
body.site-shell .event-card:hover,
body.site-shell .category-card:hover,
body.site-shell .entry:hover,
body.site-shell .scene-card:hover,
body.site-shell main > ul > li > a:hover {
  border-color: var(--bk-line-strong) !important;
  box-shadow: var(--bk-shadow) !important;
  transform: translateY(-1px);
}

body.site-shell .channel-link {
  min-height: 136px !important;
  align-content: space-between !important;
  padding: 15px !important;
}

body.site-shell .channel-link strong {
  margin-top: 8px !important;
  font-size: 18px !important;
  line-height: 1.18 !important;
}

body.site-shell .channel-link span,
body.site-shell .channel-link em,
body.site-shell .rail-card span,
body.site-shell .rail-card em,
body.site-shell .deck-card span,
body.site-shell .deck-card em {
  color: var(--bk-accent) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.site-shell .channel-link p {
  margin-top: 8px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

body.site-shell .home-shelf {
  padding: 28px 0 38px !important;
}

body.site-shell .shelf-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 14px !important;
}

body.site-shell .feed-column {
  min-width: 0 !important;
}

body.site-shell .shelf-head {
  width: auto !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr) !important;
  align-items: end !important;
  gap: 18px !important;
}

body.site-shell .shelf-head h2 {
  font-size: clamp(25px, 3vw, 36px) !important;
}

body.site-shell .shelf-head p {
  max-width: none !important;
  font-size: 14px !important;
}

body.site-shell .content-rail {
  width: auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.site-shell .rail-card {
  min-height: 156px !important;
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: stretch !important;
  overflow: hidden !important;
}

body.site-shell .rail-card.featured {
  grid-column: span 2 !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
}

body.site-shell .rail-thumb {
  grid-row: 1 / span 2 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 156px !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  border-right: 1px solid var(--bk-line) !important;
  border-bottom: 0 !important;
}

body.site-shell .rail-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.site-shell .rail-card-copy {
  min-width: 0 !important;
  padding: 16px 16px 4px !important;
}

body.site-shell .rail-card strong {
  margin-top: 7px !important;
  font-size: clamp(19px, 2.1vw, 27px) !important;
  line-height: 1.15 !important;
}

body.site-shell .rail-card p {
  margin-top: 8px !important;
  font-size: 14px !important;
}

body.site-shell .rail-card em {
  padding: 0 16px 14px !important;
  color: var(--bk-faint) !important;
}

body.site-shell .home-sidebar {
  display: grid !important;
  align-content: start !important;
  gap: 10px !important;
}

body.site-shell .home-sidebar > *,
body.site-shell .ad-slot {
  display: grid !important;
  gap: 10px !important;
  padding: 18px !important;
  border: 1px solid var(--bk-line) !important;
  border-radius: var(--bk-radius) !important;
  background: var(--bk-raised) !important;
  color: var(--bk-text) !important;
}

body.site-shell .ad-slot strong,
body.site-shell .side-box strong {
  color: var(--bk-ink) !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
}

body.site-shell .ad-slot span,
body.site-shell .side-box span {
  color: var(--bk-accent) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body.site-shell .editorial-deck {
  padding: 40px 0 48px !important;
}

body.site-shell .deck-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr) !important;
  gap: 26px !important;
  align-items: start !important;
}

body.site-shell .deck-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.site-shell .deck-card {
  min-height: 170px !important;
  padding: 17px !important;
}

body.site-shell .deck-card strong {
  margin-top: 8px !important;
  font-size: clamp(20px, 2.2vw, 27px) !important;
  line-height: 1.15 !important;
}

body.site-shell .section,
body.site-shell main > section {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
}

body.site-shell .section-head {
  display: grid !important;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.45fr) !important;
  gap: 24px !important;
  align-items: end !important;
  margin-bottom: 18px !important;
}

body.site-shell .section-head p {
  font-size: 15px !important;
}

body.site-shell .summary-grid,
body.site-shell .profile-grid,
body.site-shell .event-grid,
body.site-shell .guide-grid,
body.site-shell .category-grid,
body.site-shell .scene-grid,
body.site-shell .policy-grid,
body.site-shell .article-list,
body.site-shell .grid.three,
body.site-shell .grid.two {
  display: grid !important;
  gap: 10px !important;
}

body.site-shell .summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.site-shell .scene-grid,
body.site-shell .profile-grid,
body.site-shell .guide-grid,
body.site-shell .category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.site-shell .event-grid,
body.site-shell .article-list,
body.site-shell .grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.site-shell .summary-card,
body.site-shell .scene-card,
body.site-shell .category-card,
body.site-shell .event-card,
body.site-shell .profile-card,
body.site-shell .guide-card,
body.site-shell .program-card,
body.site-shell .article-card,
body.site-shell .entry,
body.site-shell .list-item {
  padding: 18px !important;
}

body.site-shell .program-card,
body.site-shell .guide-card,
body.site-shell .profile-card,
body.site-shell .event-card {
  min-height: 0 !important;
  gap: 14px !important;
}

body.site-shell .program-card h2,
body.site-shell .guide-card h2,
body.site-shell .profile-card h2,
body.site-shell .event-card h3 {
  font-size: clamp(23px, 2.5vw, 32px) !important;
  line-height: 1.12 !important;
}

body.site-shell .program-card p,
body.site-shell .guide-card p,
body.site-shell .profile-card p,
body.site-shell .event-card p {
  font-size: 14px !important;
  line-height: 1.62 !important;
}

body.site-shell .module-stack {
  display: grid !important;
  gap: 14px !important;
}

body.site-shell .module-card {
  display: grid !important;
  grid-template-columns: 62px minmax(0, 1fr) !important;
  gap: 18px !important;
  padding: clamp(20px, 3.5vw, 28px) !important;
  border: 1px solid var(--bk-line) !important;
  border-radius: var(--bk-radius) !important;
  background: var(--bk-paper) !important;
  box-shadow: none !important;
}

body.site-shell .module-number {
  width: 48px !important;
  height: 48px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid #eedfc8 !important;
  border-radius: 999px !important;
  color: var(--bk-gold) !important;
  font-weight: 900 !important;
}

body.site-shell .module-card h2 {
  margin: 8px 0 10px !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  line-height: 1.1 !important;
}

body.site-shell .module-card > div > p {
  margin-bottom: 0 !important;
  font-size: 16px !important;
  line-height: 1.74 !important;
}

body.site-shell .module-copy {
  display: grid !important;
  gap: 13px !important;
  margin-top: 18px !important;
}

body.site-shell .module-copy p {
  margin: 0 !important;
  color: #3c4652 !important;
  font-size: 16px !important;
  line-height: 1.86 !important;
}

body.site-shell .module-video {
  margin-top: 20px !important;
}

body.site-shell .module-video .video-frame {
  border-color: var(--bk-line-strong) !important;
  background: #05070a !important;
}

body.site-shell .module-card > div > a {
  margin-top: 16px !important;
}

body.site-shell .scene-card {
  overflow: hidden !important;
  padding: 0 !important;
}

body.site-shell .scene-lead {
  margin-top: 0 !important;
}

body.site-shell .scene-lead + .summary-grid {
  margin-top: 28px !important;
}

body.site-shell .scene-card .video-loader {
  aspect-ratio: 16 / 9 !important;
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
}

body.site-shell .scene-card .video-loader button {
  min-height: 100% !important;
}

body.site-shell .scene-card .video-loader img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.site-shell .scene-card-body {
  padding: 17px !important;
}

body.site-shell .category-card {
  min-height: 100% !important;
  display: grid !important;
  align-content: space-between !important;
  gap: 18px !important;
}

body.site-shell .mini-list,
body.site-shell main > ul {
  padding-left: 0 !important;
  list-style: none !important;
}

body.site-shell .mini-list {
  display: grid !important;
  gap: 6px !important;
  margin: 14px 0 0 !important;
}

body.site-shell .mini-list li {
  position: relative;
  padding-left: 12px !important;
  font-size: 13px !important;
}

body.site-shell .mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: var(--bk-accent);
}

body.site-shell .link-row,
body.site-shell .source-links,
body.site-shell .quick-nav,
body.site-shell .entry-links,
body.site-shell .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.site-shell .link-row a,
body.site-shell .source-links a,
body.site-shell .quick-nav a,
body.site-shell .button,
body.site-shell .entry-links a,
body.site-shell .article-card a,
body.site-shell .content-card a,
body.site-shell .back {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  border: 1px solid var(--bk-line-strong) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--bk-accent) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body.site-shell .button.primary,
body.site-shell .hero .button.primary {
  border-color: var(--bk-accent) !important;
  background: var(--bk-accent) !important;
  color: #fff !important;
}

body.site-shell .video-loader {
  position: relative !important;
  display: block !important;
  aspect-ratio: 16 / 9 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

body.site-shell .video-loader button {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: #0b0d10 !important;
  color: #fff !important;
  cursor: pointer !important;
}

body.site-shell .video-loader button img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  opacity: 0.9 !important;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body.site-shell .video-loader button:hover img {
  opacity: 1 !important;
  transform: scale(1.02);
}

body.site-shell .video-loader button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 11, 0.04), rgba(5, 8, 11, 0.34));
  z-index: 1;
}

body.site-shell .video-loader button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

body.site-shell .video-loader button span {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  z-index: 3 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  transform: translate(-35%, -50%) !important;
  border-top: 13px solid transparent !important;
  border-bottom: 13px solid transparent !important;
  border-left: 19px solid var(--bk-ink) !important;
  color: transparent !important;
  white-space: nowrap !important;
}

body.site-shell .video-loader .youtube-link {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 4 !important;
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px !important;
  background: rgba(9, 12, 16, 0.62) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  backdrop-filter: blur(10px);
}

body.site-shell .video-loader iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

body.site-shell .video-loader strong {
  max-width: calc(100% - 28px) !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

body.site-shell .month-band {
  gap: 10px !important;
}

body.site-shell .month-band h2 {
  padding-top: 18px !important;
  border-top: 1px solid var(--bk-line) !important;
  font-size: clamp(24px, 3vw, 34px) !important;
}

body.site-shell .meta-row,
body.site-shell .tag-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

body.site-shell main > ul {
  display: grid !important;
  gap: 8px !important;
  margin: 24px 0 0 !important;
}

body.site-shell main > ul > li > a {
  display: block !important;
  padding: 17px 18px !important;
  font-weight: 850 !important;
}

body.site-shell .footer {
  border-top: 1px solid var(--bk-line) !important;
  background: #fff !important;
  color: var(--bk-muted) !important;
}

body.site-shell .community-main {
  width: min(var(--bk-width), calc(100% - 32px)) !important;
  padding: 0 0 56px !important;
}

body.site-shell .community-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 22px !important;
  align-items: end !important;
  padding: 44px 0 30px !important;
  border-bottom: 1px solid var(--bk-line) !important;
}

body.site-shell .community-hero h1 {
  margin: 10px 0 16px !important;
  max-width: 820px !important;
}

body.site-shell .community-hero p {
  max-width: 760px !important;
  font-size: 16px !important;
}

body.site-shell .community-submit-card,
body.site-shell .forum-sidebar article,
body.site-shell .forum-card,
body.site-shell .thread-card {
  border: 1px solid var(--bk-line) !important;
  border-radius: var(--bk-radius) !important;
  background: #fff !important;
  color: var(--bk-text) !important;
}

body.site-shell .community-submit-card {
  display: grid !important;
  gap: 12px !important;
  padding: 20px !important;
  background: var(--bk-raised) !important;
}

body.site-shell .community-submit-card strong {
  color: var(--bk-ink) !important;
  font-size: 22px !important;
  line-height: 1.22 !important;
}

body.site-shell .community-submit-card a {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: var(--bk-accent) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body.site-shell .community-tabs {
  margin-top: 22px !important;
}

body.site-shell .community-tabs a[aria-current="page"],
body.site-shell .forum-side-nav a[aria-current="page"] {
  border-color: var(--bk-ink) !important;
  background: var(--bk-ink) !important;
  color: #fff !important;
}

body.site-shell .community-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 16px !important;
  align-items: start !important;
  padding-top: 22px !important;
}

body.site-shell .community-content {
  min-width: 0 !important;
  display: grid !important;
  gap: 18px !important;
}

body.site-shell .forum-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.site-shell .forum-card {
  min-height: 154px !important;
  display: grid !important;
  align-content: space-between !important;
  gap: 10px !important;
  padding: 15px !important;
}

body.site-shell .forum-card:hover,
body.site-shell .thread-card:hover {
  border-color: var(--bk-line-strong) !important;
  box-shadow: var(--bk-shadow) !important;
}

body.site-shell .forum-card span,
body.site-shell .forum-card em {
  color: var(--bk-accent) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 850 !important;
}

body.site-shell .forum-card strong {
  color: var(--bk-ink) !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

body.site-shell .forum-card p {
  font-size: 13px !important;
  line-height: 1.55 !important;
}

body.site-shell .section-head.compact {
  margin: 8px 0 0 !important;
  padding-top: 8px !important;
}

body.site-shell .section-head.compact h2 {
  font-size: clamp(26px, 3vw, 38px) !important;
}

body.site-shell .thread-feed {
  display: grid !important;
  gap: 8px !important;
}

body.site-shell .thread-card {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) 220px !important;
  gap: 14px !important;
  padding: 16px !important;
  align-items: start !important;
}

body.site-shell .thread-score {
  display: grid !important;
  gap: 7px !important;
  align-content: start !important;
}

body.site-shell .thread-score strong,
body.site-shell .thread-score span {
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body.site-shell .thread-score strong {
  background: var(--bk-accent-soft) !important;
  color: var(--bk-accent) !important;
}

body.site-shell .thread-score span {
  background: #f1f3f5 !important;
  color: var(--bk-faint) !important;
}

body.site-shell .thread-main {
  min-width: 0 !important;
}

body.site-shell .thread-main h2,
body.site-shell .thread-main h3 {
  margin: 8px 0 8px !important;
  font-size: clamp(21px, 2.2vw, 29px) !important;
  line-height: 1.18 !important;
}

body.site-shell .thread-main p {
  margin-bottom: 0 !important;
  font-size: 14px !important;
}

body.site-shell .thread-meta,
body.site-shell .thread-tags,
body.site-shell .thread-actions,
body.site-shell .forum-side-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

body.site-shell .thread-meta span,
body.site-shell .thread-tags span {
  min-height: 25px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 8px !important;
  border: 1px solid var(--bk-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--bk-muted) !important;
  font-size: 12px !important;
  font-weight: 780 !important;
}

body.site-shell .thread-tags {
  margin-top: 10px !important;
}

body.site-shell .thread-tags span {
  background: var(--bk-blue-soft) !important;
  border-color: #d9e5ff !important;
  color: var(--bk-blue) !important;
}

body.site-shell .thread-actions {
  margin-top: 12px !important;
}

body.site-shell .thread-actions a,
body.site-shell .forum-side-nav a {
  min-height: 31px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 10px !important;
  border: 1px solid var(--bk-line-strong) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--bk-accent) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body.site-shell .thread-side {
  min-width: 0 !important;
}

body.site-shell .thread-check {
  padding: 14px !important;
  border: 1px solid var(--bk-line) !important;
  border-radius: var(--bk-radius) !important;
  background: var(--bk-raised) !important;
}

body.site-shell .thread-check strong {
  color: var(--bk-ink) !important;
  font-size: 14px !important;
}

body.site-shell .thread-video {
  min-height: 124px !important;
}

body.site-shell .forum-sidebar {
  position: sticky !important;
  top: 74px !important;
  display: grid !important;
  gap: 10px !important;
}

body.site-shell .forum-sidebar article {
  padding: 17px !important;
}

body.site-shell .forum-sidebar p {
  font-size: 14px !important;
}

body.site-shell .forum-side-nav {
  margin-top: 12px !important;
}

body.site-shell [data-internal-only="true"] {
  display: none !important;
}

@media (max-width: 1120px) {
  .bk-site-header {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding-top: 10px !important;
    padding-bottom: 9px !important;
  }

  .bk-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    overflow: visible;
  }

  .bk-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    box-shadow: none;
    background: #f7f9fb;
  }

  .bk-nav details[open] {
    flex-basis: 100%;
  }

  .bk-nav details[open] .bk-menu {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .bk-menu a {
    justify-content: center;
    text-align: center;
  }

  body.site-shell .hero-inner,
  body.site-shell .shelf-layout,
  body.site-shell .deck-inner,
  body.site-shell .section-head,
  body.site-shell .community-hero,
  body.site-shell .community-layout {
    grid-template-columns: 1fr !important;
  }

  body.site-shell .forum-sidebar {
    position: static !important;
  }

  body.site-shell .forum-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.site-shell .thread-card {
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }

  body.site-shell .thread-side {
    grid-column: 2 !important;
  }

  body.site-shell .hero-panel {
    order: -1 !important;
  }

  body.site-shell .channel-row {
    width: 100% !important;
    max-width: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(188px, 30vw) !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    padding: 0 max(16px, calc((100vw - var(--bk-width)) / 2)) 4px !important;
    scrollbar-width: none;
  }

  body.site-shell .channel-row::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 820px) {
  body.site-shell main,
  body.site-shell .site-main,
  body.site-shell .wrap,
  body.site-shell .hero-inner,
  body.site-shell .shelf-layout,
  body.site-shell .deck-inner,
  body.site-shell .footer-grid {
    width: min(100% - 24px, var(--bk-width)) !important;
  }

  body.site-shell h1 {
    font-size: clamp(34px, 10vw, 52px) !important;
    line-height: 1.08 !important;
  }

  body.site-shell h2 {
    font-size: clamp(24px, 7vw, 34px) !important;
  }

  body.site-shell .hero:has(> .hero-grid) {
    padding: 22px 0 18px !important;
  }

  body.site-shell .hero > .hero-grid {
    width: min(100% - 24px, var(--bk-width)) !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.site-shell .hero > .hero-grid h1 {
    font-size: clamp(30px, 8.6vw, 40px) !important;
    line-height: 1.08 !important;
  }

  body.site-shell .hero > .hero-grid p {
    margin-bottom: 0 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  body.site-shell .hero > .hero-grid .quick-nav {
    margin-top: 12px !important;
    gap: 6px !important;
  }

  body.site-shell .hero > .hero-grid .quick-nav a {
    min-height: 30px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  body.site-shell .hero > .hero-grid .method-card {
    display: none !important;
  }

  body.site-shell .hero > .hero-grid > .video-frame,
  body.site-shell .hero > .hero-grid > .video-loader {
    display: none !important;
  }

  body.site-shell .section-head {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  body.site-shell .section-head h2 {
    font-size: 24px !important;
    line-height: 1.15 !important;
  }

  body.site-shell .section-head p {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  body.site-shell .program-card,
  body.site-shell .guide-card,
  body.site-shell .profile-card,
  body.site-shell .event-card {
    padding: 15px !important;
    gap: 10px !important;
  }

  body.site-shell .program-card h2,
  body.site-shell .guide-card h2,
  body.site-shell .profile-card h2,
  body.site-shell .event-card h3 {
    margin-top: 8px !important;
    font-size: 23px !important;
  }

  body.site-shell .program-card .video-frame,
  body.site-shell .program-card .video-loader,
  body.site-shell .content-card .content-thumb {
    max-height: 170px !important;
  }

  body.site-shell .module-card {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 18px !important;
  }

  body.site-shell .module-number {
    width: 44px !important;
    height: 44px !important;
  }

  body.site-shell .module-card h2 {
    font-size: clamp(27px, 8.2vw, 36px) !important;
    line-height: 1.08 !important;
  }

  body.site-shell .module-card > div > p,
  body.site-shell .module-copy p {
    font-size: 15px !important;
    line-height: 1.78 !important;
  }

  body.site-shell .module-video {
    margin-top: 16px !important;
  }

  body.site-shell .hero-inner {
    gap: 16px !important;
    padding: 22px 0 18px !important;
  }

  body.site-shell .hero-copy {
    margin-top: 12px !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
  }

  body.site-shell .hero-actions {
    margin-top: 16px !important;
  }

  body.site-shell .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.site-shell .hero-actions .button {
    min-width: 0 !important;
    padding: 0 8px !important;
  }

  body.site-shell .hero-media-frame {
    max-height: 178px !important;
  }

  body.site-shell .hero-media-caption {
    display: none !important;
  }

  body.site-shell .channel-strip {
    padding: 10px 0 !important;
  }

  body.site-shell .channel-row {
    width: min(100% - 24px, var(--bk-width)) !important;
    max-width: var(--bk-width) !important;
    display: grid !important;
    grid-auto-flow: row !important;
    grid-auto-columns: unset !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body.site-shell .channel-link {
    min-height: 94px !important;
    padding: 12px !important;
  }

  body.site-shell .channel-link strong {
    margin-top: 5px !important;
    font-size: 15px !important;
  }

  body.site-shell .channel-link p {
    display: none !important;
  }

  body.site-shell .channel-link em {
    margin-top: 8px !important;
    font-size: 11px !important;
  }

  body.site-shell .content-rail,
  body.site-shell .deck-grid,
  body.site-shell .summary-grid,
  body.site-shell .scene-grid,
  body.site-shell .profile-grid,
  body.site-shell .guide-grid,
  body.site-shell .category-grid,
  body.site-shell .event-grid,
  body.site-shell .article-list,
  body.site-shell .forum-grid,
  body.site-shell .grid.three,
  body.site-shell .grid.two {
    grid-template-columns: 1fr !important;
  }

  body.site-shell .community-main {
    width: min(100% - 24px, var(--bk-width)) !important;
  }

  body.site-shell .community-hero {
    padding: 30px 0 24px !important;
  }

  body.site-shell .thread-card {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.site-shell .thread-score {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  body.site-shell .thread-side {
    grid-column: auto !important;
  }

  body.site-shell .rail-card,
  body.site-shell .rail-card.featured {
    grid-column: auto !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    min-height: 118px !important;
  }

  body.site-shell .rail-thumb {
    min-height: 118px !important;
  }

  body.site-shell .rail-card-copy {
    padding: 12px 12px 2px !important;
  }

  body.site-shell .rail-card strong {
    font-size: 17px !important;
  }

  body.site-shell .rail-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px !important;
  }

  body.site-shell .rail-card em {
    padding: 0 12px 10px !important;
    font-size: 12px !important;
  }

  body.site-shell .section,
  body.site-shell main > section {
    padding-top: 22px !important;
    padding-bottom: 28px !important;
  }
}

@media (max-width: 520px) {
  .bk-brand strong {
    font-size: 17px;
  }

  .bk-nav a,
  .bk-nav summary {
    min-height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }

  body.site-shell .channel-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: unset !important;
    overflow: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.site-shell .hero-actions {
    grid-template-columns: 1fr !important;
  }

  body.site-shell .hero-media-frame {
    max-height: 150px !important;
  }
}
