/* YouTube-like home experience loaded after the legacy stylesheet. */
body[data-page="home"],
body[data-page="home"] * {
  box-sizing: border-box;
}

html:has(body[data-page="home"]),
body[data-page="home"] {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: #fff;
  color: #0f0f0f;
}

body[data-page="home"] main,
body[data-page="home"] .platform-home {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: #fff;
  color: #0f0f0f;
}

body[data-page="home"] .site-footer {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: start;
  gap: 24px;
  margin-left: 224px;
  padding: 32px max(32px, calc((100vw - 224px - 1280px) / 2 + 32px));
  background: #fff;
  color: #0f0f0f;
  text-align: center;
  border-top: 1px solid #e5e5e5;
}

body[data-page="home"] .footer-brand {
  justify-content: center;
}

body[data-page="home"] .footer-brand img {
  background: #fff;
  border: 1px solid #eeeeee;
  box-shadow: none;
}

body[data-page="home"] .footer-brand strong {
  color: #0f0f0f;
}

body[data-page="home"] .site-footer p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #606060;
}

body[data-page="home"] .footer-links {
  justify-content: center;
}

body[data-page="home"] .footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #0f0f0f;
  font-weight: 800;
  text-decoration: none;
}

body[data-page="home"] .footer-links a:hover,
body[data-page="home"] .footer-links a:focus-visible {
  background: #e5e5e5;
}

body[data-page="home"] .footer-branches {
  justify-content: center;
  margin-top: 20px;
}

body[data-page="home"] .footer-branches a {
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  color: #0f0f0f;
  text-decoration: none;
}

body[data-page="home"] .footer-branches strong {
  color: #606060;
}

body[data-page="home"] .footer-branches span {
  color: #0f0f0f;
}

body[data-page="home"] .bottom-consult-bar {
  display: none;
}

.yt-home {
  min-height: 100vh;
  font-family: "Pretendard", "Noto Sans KR", "GmarketSans", system-ui, sans-serif;
}

.yt-appbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 230px minmax(280px, 600px) 230px;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e5e5e5;
}

.yt-brand-wrap,
.yt-app-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yt-menu-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0f0f0f;
  font-size: 22px;
  cursor: pointer;
}

.yt-menu-button:hover {
  background: #f2f2f2;
}

.yt-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f0f0f;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.yt-brand img {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.yt-brand strong {
  display: block;
  color: #0f0f0f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.yt-header-search {
  display: flex;
  justify-self: center;
  width: min(100%, 600px);
  min-height: 42px;
  overflow: hidden;
  border: 1px solid #c6c6c6;
  border-radius: 999px;
  background: #fff;
}

.yt-header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 16px;
  background: #fff;
  color: #0f0f0f;
  font-size: 16px;
  outline: none;
}

.yt-header-search button {
  display: inline-grid;
  width: 64px;
  place-items: center;
  border: 0;
  border-left: 1px solid #d9d9d9;
  background: #f8f8f8;
  color: #0f0f0f;
  cursor: pointer;
}

.yt-header-search svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.yt-app-actions {
  justify-content: end;
}

.yt-create,
.yt-top-subscribe,
.yt-subscribe,
.yt-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.yt-create,
.yt-secondary-action {
  background: #f2f2f2;
  color: #0f0f0f;
}

.yt-top-subscribe,
.yt-subscribe {
  background: #0f0f0f;
  color: #fff;
}

.yt-page {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
}

.yt-sidebar {
  position: sticky;
  top: 64px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: calc(100vh - 64px);
  padding: 14px 12px;
  background: #fff;
  border-right: 1px solid #ededed;
}

.yt-sidebar a {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: #0f0f0f;
  font-size: 15px;
  text-decoration: none;
}

.yt-sidebar a:hover,
.yt-sidebar a.is-active {
  background: #f2f2f2;
}

.yt-sidebar span {
  width: 22px;
  text-align: center;
  font-weight: 900;
}

.yt-channel-main {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 24px 32px 64px;
}

.yt-channel-hero {
  display: grid;
  gap: 18px;
}

.yt-channel-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1920 / 675;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: #f7f7f7;
  border: 0;
}

.yt-channel-banner::before {
  display: none;
}

.yt-banner-person {
  display: none;
}

.yt-banner-copy {
  display: none;
}

.yt-channel-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.yt-channel-profile {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 0 8px;
}

.yt-channel-avatar {
  display: grid;
  width: 148px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.yt-channel-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-channel-meta {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.yt-channel-meta h1 {
  margin: 0;
  color: #0f0f0f;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.yt-channel-meta p {
  margin: 0;
}

.yt-channel-handle,
.yt-channel-description,
.yt-channel-links,
.yt-channel-founded {
  color: #606060;
  font-size: 15px;
  line-height: 1.45;
}

.yt-channel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.yt-channel-links a {
  color: #065fd4;
  font-weight: 700;
  text-decoration: none;
}

.yt-channel-founded {
  margin-top: 8px;
  color: #777;
  font-size: 14px;
}

.yt-channel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.yt-channel-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid #e5e5e5;
  scrollbar-width: none;
}

.yt-channel-tabs::-webkit-scrollbar {
  display: none;
}

.yt-channel-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 3px solid transparent;
  color: #606060;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.yt-channel-tabs a.is-active {
  border-color: #0f0f0f;
  color: #0f0f0f;
}

.yt-home-search-block {
  display: none;
}

body[data-page="home"] .home-category-icons,
body[data-page="home"] .platform-row {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 0;
  background: #fff;
  color: #0f0f0f;
}

body[data-page="home"] .home-category-icons {
  padding-top: 18px;
  border-bottom: 1px solid #e5e5e5;
}

body[data-page="home"] .home-category-icons-head {
  display: grid;
  justify-items: center;
  width: min(100%, 920px);
  margin-bottom: 14px;
  text-align: center;
}

body[data-page="home"] .home-category-icons-head h2,
body[data-page="home"] .platform-row-head h2 {
  margin: 0;
  color: #0f0f0f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

body[data-page="home"] .home-category-icons-head p,
body[data-page="home"] .platform-row-head p {
  margin: 5px 0 0;
  color: #606060;
  font-size: 14px;
}

body[data-page="home"] .home-category-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 920px);
  margin: 0 auto;
}

body[data-page="home"] .home-category-icon-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 174px;
  padding: 18px 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
  color: #0f0f0f;
  box-shadow: none;
  text-align: center;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

body[data-page="home"] .home-category-icon-card:hover {
  transform: translateY(-2px);
  border-color: #d0d0d0;
  box-shadow: 0 12px 26px rgba(15, 15, 15, 0.08);
}

body[data-page="home"] .category-icon-shape {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: #d9fbff;
}

body[data-page="home"] .category-icon-shape svg {
  width: 40px;
  height: 40px;
  stroke: #3429c8;
  stroke-width: 2.7;
}

body[data-page="home"] .category-icon-label {
  color: #0f0f0f;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  word-break: keep-all;
}

body[data-page="home"] .home-category-icon-card small {
  min-height: 31px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0f0f0f;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

body[data-page="home"] .platform-row-head {
  display: grid;
  justify-items: center;
  width: min(100%, 1160px);
  gap: 14px;
  margin-bottom: 12px;
  text-align: center;
}

body[data-page="home"] .platform-row-head > a {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #0f0f0f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body[data-page="home"] .platform-scroll-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: unset;
  gap: 28px 16px;
  width: min(100%, 1160px);
  margin-right: auto;
  margin-left: auto;
  overflow: visible;
  align-items: start;
}

body[data-page="home"] .platform-video-card {
  display: block;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .platform-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: #f2f2f2;
}

body[data-page="home"] .platform-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="home"] .platform-video-thumb span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 3px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

body[data-page="home"] .platform-video-body {
  display: grid;
  gap: 7px;
  padding: 10px 0 0;
}

body[data-page="home"] .platform-video-title {
  display: -webkit-box;
  overflow: hidden;
  color: #0f0f0f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.38;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="home"] .platform-video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  color: #606060;
  font-size: 13px;
}

body[data-page="home"] .platform-topic-chip {
  justify-self: start;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #0f0f0f;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .yt-appbar {
    grid-template-columns: 210px minmax(240px, 1fr) 170px;
  }

  .yt-page {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .yt-sidebar {
    padding-inline: 8px;
  }

  .yt-sidebar a {
    justify-content: center;
    gap: 0;
    padding: 0;
    font-size: 0;
  }

  .yt-sidebar span {
    font-size: 18px;
  }

  body[data-page="home"] .site-footer {
    margin-left: 74px;
    padding-inline: 24px;
  }
}

@media (max-width: 900px) {
  .yt-appbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .yt-header-search {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
  }

  .yt-app-actions {
    justify-content: end;
  }

  .yt-page {
    display: block;
  }

  .yt-sidebar {
    display: none;
  }

  .yt-channel-main {
    padding: 16px 14px 52px;
  }

  body[data-page="home"] .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-left: 0;
    padding: 28px 16px;
    text-align: center;
  }

  body[data-page="home"] .footer-brand,
  body[data-page="home"] .footer-links,
  body[data-page="home"] .footer-branches {
    justify-content: center;
  }

  .yt-channel-profile {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .yt-channel-avatar {
    width: 92px;
    border-radius: 18px;
  }

  .yt-channel-meta h1 {
    font-size: clamp(24px, 6vw, 32px);
  }

  body[data-page="home"] .platform-scroll-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .yt-appbar {
    min-height: 56px;
    padding: 8px 12px;
  }

  .yt-brand {
    font-size: 19px;
  }

  .yt-brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .yt-brand strong {
    font-size: 19px;
  }

  .yt-create {
    display: none;
  }

  .yt-channel-banner {
    aspect-ratio: 1920 / 675;
    height: auto;
  }

  .yt-channel-banner img {
    object-position: center top;
  }

  .yt-channel-profile {
    align-items: start;
  }

  .yt-channel-description {
    display: none;
  }

  .yt-home-search-block {
    display: block;
    padding: 12px 0 2px;
  }

  body[data-page="home"] .platform-search {
    width: 100%;
  }

  body[data-page="home"] .platform-chip-row {
    justify-content: start;
    flex-wrap: nowrap;
    overflow-x: hidden;
    width: 100%;
  }

  body[data-page="home"] .home-category-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow-x: hidden;
    width: 100%;
    padding-bottom: 4px;
  }

  body[data-page="home"] .category-icon-shape {
    width: 68px;
    height: 68px;
  }

  body[data-page="home"] .home-category-icon-card small {
    display: none;
  }

  body[data-page="home"] .home-category-icon-card {
    min-height: 118px;
    padding: 13px 10px 12px;
  }

  body[data-page="home"] .category-icon-label {
    font-size: 13px;
  }

  body[data-page="home"] .platform-scroll-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="category"] .catalog-category-hero,
body[data-page="category"] .catalog-list-section,
body[data-page="category"] .catalog-subcategory-list {
  text-align: center;
}

body[data-page="category"] .catalog-category-hero {
  display: grid;
  justify-items: center;
}

body[data-page="category"] .catalog-category-hero h1,
body[data-page="category"] .catalog-category-hero p,
body[data-page="category"] .subcategory-pills,
body[data-page="category"] .catalog-list-section .mobile-category-head {
  margin-right: auto;
  margin-left: auto;
}

body[data-page="category"] .subcategory-pills {
  justify-content: center;
}

body[data-page="category"] .mobile-category-head.split,
body[data-page="category"] .mobile-subcategory-head {
  align-items: center;
  justify-content: center;
  text-align: center;
}

body[data-page="category"] .catalog-list-section .mobile-category-head.split {
  flex-direction: column;
}

body[data-page="category"] .catalog-list-section .home-video-card h3,
body[data-page="category"] .catalog-list-section .home-video-card h3 a {
  text-align: center;
}

html:has(body[data-page="category"]),
html:has(body[data-page="video"]),
body[data-page="category"],
body[data-page="video"],
body[data-page="category"] main,
body[data-page="video"] main {
  overflow-x: hidden;
  background: #fff;
  color: #0f0f0f;
}

body[data-page="category"] .site-footer,
body[data-page="video"] .site-footer {
  background: #fff;
  color: #0f0f0f;
  border-top: 1px solid #e5e5e5;
}

body[data-page="category"] .footer-brand strong,
body[data-page="video"] .footer-brand strong,
body[data-page="category"] .footer-branches span,
body[data-page="video"] .footer-branches span {
  color: #0f0f0f;
}

body[data-page="category"] .site-footer p,
body[data-page="video"] .site-footer p,
body[data-page="category"] .footer-branches strong,
body[data-page="video"] .footer-branches strong {
  color: #606060;
}

body[data-page="category"] .footer-links a,
body[data-page="video"] .footer-links a {
  color: #0f0f0f;
}

body[data-page="category"] .home-category-nav {
  top: 0;
  justify-content: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 0;
  border-bottom: 1px solid #e5e5e5;
}

body[data-page="category"] .home-category-nav a,
body[data-page="category"] .subcategory-pills a {
  border-color: #e5e5e5;
  background: #fff;
  color: #0f0f0f;
  font-family: "Pretendard", "Noto Sans KR", "GmarketSans", system-ui, sans-serif;
  font-weight: 800;
}

body[data-page="category"] .home-category-nav a:hover,
body[data-page="category"] .subcategory-pills a:hover,
body[data-page="category"] .subcategory-pills a.is-active {
  background: #0f0f0f;
  color: #fff;
}

body[data-page="category"] .catalog-category-hero,
body[data-page="category"] .mobile-category-section,
body[data-page="category"] .catalog-subcategory-list {
  background: #fff;
  color: #0f0f0f;
}

body[data-page="category"] .catalog-category-hero {
  border-bottom: 1px solid #e5e5e5;
}

body[data-page="category"] .catalog-category-hero .eyebrow,
body[data-page="category"] .mobile-category-head .eyebrow {
  color: #cc0000;
  font-family: "Pretendard", "Noto Sans KR", "GmarketSans", system-ui, sans-serif;
}

body[data-page="category"] .catalog-category-hero h1,
body[data-page="category"] .mobile-category-head h2,
body[data-page="category"] .mobile-subcategory-head h3 {
  color: #0f0f0f;
  font-family: "Pretendard", "Noto Sans KR", "GmarketSans", system-ui, sans-serif;
  font-weight: 900;
}

body[data-page="category"] .catalog-category-hero p,
body[data-page="category"] .mobile-category-head p,
body[data-page="category"] .mobile-subcategory-head p {
  color: #606060;
}

body[data-page="category"] .mobile-subcategory-card,
body[data-page="category"] .home-video-card {
  border-color: #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

body[data-page="category"] .home-video-card h3,
body[data-page="category"] .home-video-card h3 a {
  color: #0f0f0f;
  font-family: "Pretendard", "Noto Sans KR", "GmarketSans", system-ui, sans-serif;
  font-weight: 900;
}

body[data-page="category"] .home-video-actions a {
  border-color: #e5e5e5;
  background: #f2f2f2;
  color: #0f0f0f;
  font-family: "Pretendard", "Noto Sans KR", "GmarketSans", system-ui, sans-serif;
}

body[data-page="category"] .home-video-actions a.youtube,
body[data-page="category"] .more-link {
  background: #0f0f0f;
  color: #fff;
}

body[data-page="video"] .video-watch-page {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 24px 24px 56px;
  background: #fff;
  color: #0f0f0f;
}

body[data-page="video"] .watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 24px;
  align-items: start;
}

body[data-page="video"] .watch-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

body[data-page="video"] .video-player {
  border-radius: 12px;
  background: #000;
  box-shadow: none;
}

body[data-page="video"] .watch-video-info {
  display: grid;
  gap: 12px;
}

body[data-page="video"] .topic-pill {
  justify-self: start;
  margin: 0;
  border-radius: 999px;
  background: #f2f2f2;
  color: #0f0f0f;
}

body[data-page="video"] .watch-video-info h1 {
  margin: 0;
  color: #0f0f0f;
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 900;
  line-height: 1.28;
}

body[data-page="video"] .watch-video-info p {
  max-width: 880px;
  margin: 0;
  color: #606060;
  font-size: 15px;
  line-height: 1.65;
}

body[data-page="video"] .video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

body[data-page="video"] .video-meta span {
  padding: 0;
  background: transparent;
  color: #606060;
  font-size: 14px;
}

body[data-page="video"] .watch-cta-strip {
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
}

body[data-page="video"] .watch-cta-strip .button {
  min-height: 38px;
  border-radius: 999px;
  font-weight: 900;
}

body[data-page="video"] .watch-cta-strip .primary,
body[data-page="video"] .watch-cta-strip .accent {
  background: #0f0f0f;
  color: #fff;
}

body[data-page="video"] .watch-cta-strip .secondary,
body[data-page="video"] .watch-cta-strip .ghost {
  background: #f2f2f2;
  color: #0f0f0f;
}

body[data-page="video"] .watch-side-rail {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 12px;
}

body[data-page="video"] .watch-side-head {
  display: grid;
  gap: 2px;
}

body[data-page="video"] .watch-side-head strong,
body[data-page="video"] .watch-next-section h2 {
  color: #0f0f0f;
  font-size: 21px;
  font-weight: 900;
}

body[data-page="video"] .watch-side-head span,
body[data-page="video"] .watch-next-section p {
  color: #606060;
  font-size: 14px;
}

body[data-page="video"] .watch-queue-list,
body[data-page="video"] .watch-queue-grid {
  display: grid;
  gap: 12px;
}

body[data-page="video"] .watch-queue-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="video"] .watch-queue-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

body[data-page="video"] .watch-queue-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  background: #f2f2f2;
}

body[data-page="video"] .watch-queue-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="video"] .watch-queue-thumb span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.84);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

body[data-page="video"] .watch-queue-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

body[data-page="video"] .watch-queue-title {
  display: -webkit-box;
  overflow: hidden;
  color: #0f0f0f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="video"] .watch-queue-body p {
  margin: 0;
  color: #606060;
  font-size: 12px;
}

body[data-page="video"] .watch-queue-body span {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #0f0f0f;
  font-size: 11px;
  font-weight: 800;
}

body[data-page="video"] .watch-next-section {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

body[data-page="video"] .watch-next-section .section-head {
  margin: 0;
}

body[data-page="video"] .watch-legal-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8f8f8;
  color: #606060;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 1100px) {
  body[data-page="video"] .watch-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="video"] .watch-side-rail {
    position: static;
  }

  body[data-page="video"] .watch-queue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body[data-page="video"] .video-watch-page {
    padding: 12px 12px 44px;
  }

  body[data-page="video"] .watch-layout {
    gap: 18px;
  }

  body[data-page="video"] .watch-queue-list,
  body[data-page="video"] .watch-queue-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="video"] .watch-queue-card {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  body[data-page="video"] .watch-cta-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile overflow guard: grid/flex children must be allowed to shrink. */
body[data-page="home"] .yt-appbar > *,
body[data-page="home"] .yt-page > *,
body[data-page="home"] .yt-channel-profile > *,
body[data-page="home"] .home-category-icons > *,
body[data-page="home"] .home-category-icons-head > *,
body[data-page="home"] .home-category-icon-grid > *,
body[data-page="home"] .platform-row > *,
body[data-page="home"] .platform-row-head > *,
body[data-page="home"] .platform-scroll-row > *,
body[data-page="home"] .platform-video-body > *,
body[data-page="home"] .platform-video-meta > *,
body[data-page="video"] .video-watch-page > *,
body[data-page="video"] .watch-layout > *,
body[data-page="video"] .watch-main > *,
body[data-page="video"] .watch-video-info > *,
body[data-page="video"] .video-meta > *,
body[data-page="video"] .watch-cta-strip > *,
body[data-page="video"] .watch-side-rail > *,
body[data-page="video"] .watch-queue-list > *,
body[data-page="video"] .watch-queue-grid > *,
body[data-page="video"] .watch-queue-card > *,
body[data-page="video"] .watch-queue-body > * {
  min-width: 0;
}

body[data-page="home"] .platform-chip-row,
body[data-page="home"] .home-category-icon-grid,
body[data-page="home"] .platform-scroll-row,
body[data-page="video"] .watch-queue-list,
body[data-page="video"] .watch-queue-grid,
body[data-page="video"] .watch-cta-strip {
  max-width: 100%;
}

body[data-page="home"] .platform-chip-row a,
body[data-page="home"] .home-category-icon-card,
body[data-page="home"] .platform-topic-chip,
body[data-page="video"] .topic-pill,
body[data-page="video"] .watch-queue-body span,
body[data-page="video"] .watch-cta-strip .button {
  max-width: 100%;
}

@media (max-width: 480px) {
  body[data-page="home"] .home-category-icon-grid,
  body[data-page="home"] .platform-scroll-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .platform-chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="home"] .platform-chip-row a {
    display: inline-flex;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  body[data-page="video"] .watch-queue-list,
  body[data-page="video"] .watch-queue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="video"] .watch-queue-card {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="video"] .watch-cta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  body[data-page="home"] .home-category-icon-grid,
  body[data-page="home"] .platform-scroll-row,
  body[data-page="home"] .platform-chip-row,
  body[data-page="video"] .watch-queue-list,
  body[data-page="video"] .watch-queue-grid,
  body[data-page="video"] .watch-cta-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Clean guide home */
body[data-page="home"] main {
  background: #fff;
}

body[data-page="home"] .simple-home,
body[data-page="home"] .simple-home * {
  box-sizing: border-box;
}

body[data-page="home"] .simple-home {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 20px 72px;
  background: #fff;
  color: #111;
}

body[data-page="home"] .simple-home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  border-bottom: 1px solid #ececec;
}

body[data-page="home"] .simple-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #111;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

body[data-page="home"] .simple-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

body[data-page="home"] .simple-home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body[data-page="home"] .simple-home-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

body[data-page="home"] .simple-home-hero {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 42px 0 24px;
  text-align: center;
}

body[data-page="home"] .simple-home-hero > span {
  color: #a74736;
  font-size: 14px;
  font-weight: 900;
}

body[data-page="home"] .simple-home-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #111;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  word-break: keep-all;
}

body[data-page="home"] .simple-home-lead {
  max-width: 780px;
  margin: -6px 0 0;
  color: #555;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}

body[data-page="home"] .simple-home-search {
  width: min(780px, 100%);
  max-width: 780px;
}

body[data-page="home"] .simple-home-search .platform-search {
  max-width: 100%;
  margin: 0;
}

body[data-page="home"] .simple-home-search .platform-chip-row {
  justify-content: center;
  margin-top: 10px;
}

body[data-page="home"] .simple-home-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 263px));
  justify-content: center;
  gap: 12px;
  margin: 12px 0 34px;
}

body[data-page="home"] .simple-home-categories a {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 92px;
  padding: 17px 18px;
  border: 1px solid #ededed;
  border-radius: 8px;
  background: #f7f7f7;
  color: #111;
  text-decoration: none;
  text-align: center;
}

body[data-page="home"] .simple-home-categories strong {
  color: #111;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  word-break: keep-all;
}

body[data-page="home"] .simple-home-categories span {
  color: #747474;
  font-size: 13px;
  line-height: 1.4;
}

body[data-page="home"] .simple-section-head h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: 24px;
  font-weight: 900;
}

body[data-page="home"] .simple-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="home"] .simple-video-grid .platform-video-card {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .simple-video-grid .platform-video-thumb {
  border-radius: 8px;
}

body[data-page="home"] .simple-video-grid .platform-video-title {
  display: -webkit-box;
  overflow: hidden;
  color: #111;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="home"] .simple-video-grid .platform-video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: #747474;
  font-size: 13px;
}

body[data-page="home"] .simple-video-grid .platform-topic-chip {
  display: none;
}

body[data-page="home"] .site-footer {
  margin: 0;
  padding: 32px 20px;
}

@media (max-width: 840px) {
  body[data-page="home"] .simple-home {
    padding: 0 16px 64px;
  }

  body[data-page="home"] .simple-home-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  body[data-page="home"] .simple-home-nav {
    justify-content: flex-start;
  }

  body[data-page="home"] .simple-home-hero {
    padding: 30px 0 20px;
  }

  body[data-page="home"] .simple-home-categories,
  body[data-page="home"] .simple-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .simple-home-categories {
    justify-content: center;
  }

  body[data-page="home"] .simple-home-categories a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 320px);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .simple-home {
    padding: 0 14px 56px;
  }

  body[data-page="home"] .simple-home-header {
    min-height: auto;
  }

  body[data-page="home"] .simple-brand {
    font-size: 19px;
  }

  body[data-page="home"] .simple-home-nav a {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 13px;
  }

  body[data-page="home"] .simple-home-hero h1 {
    font-size: 27px;
    line-height: 1.24;
  }

  body[data-page="home"] .simple-home-search .platform-chip-row {
    justify-content: start;
  }

  body[data-page="home"] .simple-home-categories {
    gap: 9px;
  }

  body[data-page="home"] .simple-home-categories a {
    min-height: 80px;
    padding: 13px;
  }

  body[data-page="home"] .simple-home-categories strong {
    font-size: 15px;
  }

  body[data-page="home"] .simple-video-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body[data-page="home"] .simple-video-grid .platform-video-card {
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }
}

/* Clean video detail */
body[data-page="video"],
body[data-page="video"] main {
  background: #fff;
}

body[data-page="home"] .skip-link,
body[data-page="category"] .skip-link,
body[data-page="video"] .skip-link,
body[data-page="mobile-only"] .skip-link {
  display: none;
}

body[data-page="video"] .compact-video-page {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 18px 20px 58px;
}

body[data-page="video"] .compact-watch-layout {
  display: block;
}

body[data-page="video"] .watch-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

body[data-page="video"] .video-player {
  position: relative;
  width: 100%;
  max-height: min(72vh, 620px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

body[data-page="video"] .video-player iframe,
body[data-page="video"] .video-player .youtube-lite-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

body[data-page="video"] .video-player .youtube-lite-poster {
  padding: 0;
  cursor: pointer;
}

body[data-page="video"] .video-player .youtube-lite-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

body[data-page="video"] .video-landscape-button {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.84);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

body[data-page="video"] .video-player:fullscreen,
body[data-page="video"] .video-player:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  border-radius: 0;
  aspect-ratio: auto;
}

body[data-page="video"] .video-player:fullscreen iframe,
body[data-page="video"] .video-player:-webkit-full-screen iframe {
  width: 100%;
  height: 100%;
}

body[data-page="video"] .compact-watch-info {
  display: grid;
  gap: 10px;
  padding: 4px 0 0;
}

body[data-page="video"] .compact-watch-info .topic-pill {
  justify-self: start;
  max-width: 100%;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #333;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

body[data-page="video"] .compact-watch-info h1 {
  max-width: 100%;
  margin: 0;
  color: #111;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body[data-page="video"] .compact-watch-info .video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #6d6d6d;
  font-size: 14px;
  line-height: 1.4;
}

body[data-page="video"] .watch-previous-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

body[data-page="video"] .watch-nav-link {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 74px;
  padding: 13px 14px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #fafafa;
  color: #111;
  text-decoration: none;
  min-width: 0;
}

body[data-page="video"] .watch-nav-link small {
  color: #777;
  font-size: 12px;
  font-weight: 900;
}

body[data-page="video"] .watch-nav-link strong {
  display: -webkit-box;
  overflow: hidden;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-page="video"] .watch-nav-link.is-disabled {
  opacity: 0.56;
}

body[data-page="video"] .watch-next-section,
body[data-page="video"] .video-insight-section {
  display: none;
}

@media (max-width: 720px) {
  body[data-page="video"] .compact-video-page {
    width: 100%;
    padding: 0 0 44px;
  }

  body[data-page="video"] .watch-main {
    gap: 12px;
  }

  body[data-page="video"] .video-player {
    width: calc(100% - 28px);
    margin: 0 auto;
    max-height: none;
    border-radius: 10px;
  }

  body[data-page="video"] .compact-watch-info {
    padding: 0 14px;
  }

  body[data-page="video"] .compact-watch-info h1 {
    font-size: 21px;
    line-height: 1.28;
  }

  body[data-page="video"] .watch-previous-next {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="video"] .watch-nav-link {
    min-height: 62px;
    padding: 11px 12px;
  }
}

@media (max-width: 380px) {
  body[data-page="video"] .compact-watch-info h1 {
    font-size: 19px;
  }
}

/* Growth guide additions */
.guide-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 14px 20px;
  border-bottom: 1px solid #ececec;
  background: #fff;
}

.guide-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.guide-topbar-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.guide-topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.guide-topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-topbar-nav a,
.guide-phone-link,
.guide-consult-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.guide-consult-link {
  background: #111;
  color: #fff;
}

.guide-phone-link em {
  color: #9b2f24;
  font-style: normal;
  font-weight: 900;
}

.guide-phone-link.cta {
  background: #0f0f0f;
  color: #fff;
}

.guide-phone-link.cta em {
  color: #fff;
}

body[data-page="home"] .simple-home-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.utm-guide-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 16px;
  background: #f8f8f8;
  color: #555;
  font-size: 13px;
  text-align: center;
}

.utm-guide-banner[hidden] {
  display: none;
}

.utm-guide-banner button {
  border: 0;
  background: transparent;
  color: #777;
  font-size: 18px;
  cursor: pointer;
}

.search-form,
.platform-search,
.m-search {
  position: relative;
}

.search-autocomplete {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 15, 15, 0.14);
  text-align: left;
}

.search-autocomplete[hidden] {
  display: none;
}

.search-autocomplete-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 7px;
  border-radius: 8px;
  color: #111;
  text-decoration: none;
}

.search-autocomplete-item:hover,
.search-autocomplete-item.is-active {
  background: #f5f5f5;
}

.search-autocomplete-item img {
  width: 76px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
}

.search-autocomplete-item strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-autocomplete-item small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 12px;
  font-weight: 800;
}

.search-autocomplete mark {
  background: #fff0b8;
  color: inherit;
}

.search-autocomplete-empty {
  display: grid;
  gap: 7px;
  padding: 10px;
  color: #555;
  font-size: 13px;
}

.search-autocomplete-empty div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-autocomplete-empty a {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

[data-watch-video-card] {
  position: relative;
}

[data-watch-video-card].is-watched {
  opacity: 0.7;
}

[data-watch-video-card].is-watched::after {
  content: "✓";
  position: absolute;
  z-index: 5;
  top: 8px;
  left: 8px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.86);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

body[data-page="home"] .simple-home-categories small {
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 800;
}

.category-watch-progress {
  display: grid;
  gap: 9px;
  width: min(560px, 100%);
  margin: 18px auto 0;
  padding: 13px 14px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #f8f8f8;
}

.category-watch-progress div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #111;
  font-size: 13px;
}

.category-watch-progress span {
  color: #666;
}

.category-watch-meter {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e5e5;
}

.category-watch-meter em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0f0f0f;
}

body[data-page="video"] .video-end-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #f8f8f8;
}

body[data-page="video"] .video-end-cta[hidden] {
  display: none;
}

body[data-page="video"] .video-end-cta strong,
body[data-page="video"] .video-end-cta p {
  margin: 0;
}

body[data-page="video"] .video-end-cta p {
  margin-top: 3px;
  color: #666;
  font-size: 13px;
}

body[data-page="video"] .video-end-subscribe {
  color: #555;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body[data-page="video"] .video-related-section {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid #eee;
}

.simple-section-head.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.simple-section-head.split a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  background: #f6f6f6;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

body[data-page="video"] .video-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="video"] .video-related-grid .platform-video-card {
  display: grid;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

body[data-page="video"] .video-related-grid .platform-video-thumb {
  background: #f4f4f4;
}

body[data-page="video"] .video-related-grid .platform-video-body {
  gap: 8px;
  padding: 12px 13px 14px;
  background: #fff;
}

body[data-page="video"] .video-related-grid .platform-video-title {
  min-height: 0 !important;
  color: #111 !important;
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  line-height: 1.36 !important;
  letter-spacing: 0 !important;
  -webkit-line-clamp: 2;
}

body[data-page="video"] .video-related-grid .platform-video-meta {
  color: #555 !important;
  font-size: 12.5px !important;
  font-weight: 800;
  line-height: 1.35;
}

body[data-page="video"] .video-related-grid .platform-topic-chip {
  display: none;
}

.footer-reset-watch {
  border: 0;
  border-radius: 999px;
  background: #f2f2f2;
  color: #555;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.footer-phone-card em {
  font-style: normal;
}

@media (max-width: 720px) {
  .guide-topbar {
    padding: 10px 14px;
  }

  .guide-topbar-nav {
    display: none;
  }

  .guide-topbar-actions {
    margin-left: auto;
  }

  .guide-phone-link.icon-only strong,
  .guide-phone-link.icon-only em {
    display: none;
  }

  body[data-page="video"] .video-end-cta {
    align-items: start;
    flex-direction: column;
  }

  body[data-page="video"] .video-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 14px;
  }

  body[data-page="video"] .video-related-section .simple-section-head {
    padding: 0 14px;
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  body[data-page="video"] .video-related-section .simple-section-head h2 {
    font-size: 20px;
  }

  body[data-page="video"] .video-related-grid .platform-video-body {
    padding: 10px 10px 12px;
  }

  body[data-page="video"] .video-related-grid .platform-video-title {
    font-size: 13.5px !important;
    line-height: 1.32 !important;
  }

  body[data-page="video"] .video-related-grid .platform-video-meta {
    font-size: 11.5px !important;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .simple-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .simple-video-grid .platform-video-card {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="home"] .simple-home-actions {
    justify-content: flex-start;
  }

  .search-autocomplete-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .search-autocomplete-item img {
    width: 64px;
  }
}
