html,
body {
  height: 100%;
  overflow: hidden;
}

.layout {
  height: calc(100vh - 72px);
  overflow: hidden;
}

.layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: linear-gradient(180deg, #0f1117 0%, #12151d 100%);
}

.nav-item {
  height: 52px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: #1e2029;
  color: #e2e8f0;
  text-align: left;
  padding: 0 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.nav-item:last-child {
  margin-bottom: 0;
}

.nav-item:hover,
.nav-item.is-active {
  background: #232736;
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.2);
}

.nav-item:focus,
.nav-item.is-focused {
  outline: none !important;
  border-color: #38bdf8 !important;
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.45) !important;
  -webkit-transform: scale(1.02);
  -ms-transform: scale(1.02);
  transform: scale(1.02);
  z-index: 10;
}

.nav-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex: 0 0 22px;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0.6;
}

.nav-label {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.main-content {
  padding: 20px 28px 90px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.main-content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.main-content::-webkit-scrollbar-track {
  background: transparent;
}

.main-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.content-section {
  margin-bottom: 26px;
}

.section-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 6px;
  padding: 0 6px;
}

.section-head .section-title {
  margin: 0;
  margin-right: 16px;
}

.section-title {
  font-size: 21px;
  font-weight: 800;
  margin: 0;
  padding: 0;
  color: #f2f5fb;
  letter-spacing: .01em;
  line-height: 1.2;
}

.poster-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 6px 12px 6px;
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  scroll-behavior: smooth;
}

.poster-row::-webkit-scrollbar {
  height: 5px;
  display: block;
}

.poster-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.poster-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.poster-row::-webkit-scrollbar-thumb:hover {
  background: #f43f5e;
}

.poster-card {
  min-width: 224px;
  max-width: 224px;
  border-radius: 14px;
  overflow: hidden;
  background: #131419;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  padding: 4px;
  color: white;
  text-align: left;
  margin-right: 14px;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.poster-card:last-child {
  margin-right: 0;
}

#results-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 16px 8px;
  color: #f2f5fb;
  letter-spacing: .01em;
  line-height: 1.2;
}

.video-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -8px;
  padding-bottom: 60px;
}

.video-card {
  width: calc(16.666% - 16px);
  min-width: 0;
  max-width: none;
  border-radius: 14px;
  overflow: hidden;
  background: #131419;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  padding: 4px;
  color: white;
  text-align: left;
  margin: 8px;
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: -webkit-transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
  border-radius: 10px;
}

.card-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}

.poster-card:hover,
.video-card:hover {
  border-color: rgba(244, 63, 94, .4);
  background: #181a22;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.poster-card:focus,
.poster-card.is-focused,
.video-card:focus,
.video-card.is-focused {
  outline: none !important;
  border-color: #f43f5e !important;
  background: #1a1c24 !important;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  -webkit-transform: scale(1.04);
  -ms-transform: scale(1.04);
  transform: scale(1.04);
  z-index: 10;
}

.poster-card .card-body,
.video-card .card-body {
  padding: 10px 12px;
}

.poster-card .card-title,
.video-card .card-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster-card .card-meta,
.video-card .card-meta {
  font-size: 12px;
  color: #8b93a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1550px) {
  .video-card {
    width: calc(20% - 16px);
  }
}

@media (max-width: 1250px) {
  .video-card {
    width: calc(25% - 16px);
  }
}

@media (max-width: 1000px) {
  .video-card {
    width: calc(33.333% - 16px);
  }
}


.nav-item-kids {
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  margin-bottom: 0;
  background: linear-gradient(135deg, #ff8fd8, #8f8bff 55%, #59d6ff);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(143, 139, 255, .20);
}

.nav-item-kids::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -16px;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.30), rgba(255,255,255,0));
  pointer-events: none;
}

.nav-item-kids:hover,
.nav-item-kids.is-active {
  background: linear-gradient(135deg, #ff70cc, #7268ff 55%, #47cfff);
  box-shadow: 0 8px 24px rgba(143, 139, 255, .32);
}

/* kids */
.kids-view {
  background:
    radial-gradient(circle at top left, rgba(255, 170, 214, .16), transparent 26%),
    radial-gradient(circle at top right, rgba(127, 162, 255, .16), transparent 28%);
  border-radius: 24px;
}

.kids-hero {
  position: relative;
  overflow: hidden;
  padding: 16px 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.20), transparent 24%),
    linear-gradient(135deg, #ff8ad8, #7e88ff 58%, #57d5ff);
  box-shadow: 0 12px 30px rgba(0,0,0,.20);
}

.kids-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kids-hero-logo {
  display: block;
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.22));
}

.kids-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  backdrop-filter: blur(10px);
  margin-bottom: 6px;
}

.kids-hero h1 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.kids-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.95);
  font-size: 14px;
  line-height: 1.35;
}

/* kids rows */
#kids-sections .poster-row {
  padding: 8px 12px 14px 12px;
}

#kids-sections .poster-card {
  width: calc(16.666% - 14px);
  min-width: calc(16.666% - 14px);
  max-width: calc(16.666% - 14px);
  margin-right: 14px;
}

#kids-sections .poster-card:last-child {
  margin-right: 0;
}

#kids-sections .poster-card .card {
  background: linear-gradient(180deg, #2a2241 0%, #201b34 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
}

#kids-sections .poster-card img,
#kids-sections .poster-card .card img {
  border-radius: 18px;
}

#kids-sections .poster-card .card-body {
  padding: 10px 6px 6px;
}

#kids-sections .poster-card .card-title {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
  color: #ffffff;
}

#kids-sections .poster-card .card-meta {
  font-size: 13px;
  color: #dfd8ff;
}

#kids-sections .poster-card.is-focused .card,
#kids-sections .poster-card:focus .card {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, .60);
  box-shadow:
    0 0 0 4px rgba(255,255,255,.92),
    0 0 0 9px rgba(255,255,255,.18),
    0 22px 48px rgba(0,0,0,.40);
}

#kids-sections .section-title {
  color: #fff6ff;
  font-size: 21px;
  margin: 0;
  margin-right: 16px;
}

.kids-view {
  position: relative;
}

.kids-view::before,
.kids-view::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
  opacity: .55;
}

.kids-view::before {
  top: 110px;
  right: 30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 215, 94, .55), rgba(255, 215, 94, 0));
}

.kids-view::after {
  bottom: 80px;
  left: 20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(94, 243, 255, .45), rgba(94, 243, 255, 0));
}

#kids-sections section {
  position: relative;
}

#kids-sections section:nth-child(1) .section-title::before,
#kids-sections section:nth-child(2) .section-title::before,
#kids-sections section:nth-child(3) .section-title::before,
#kids-sections section:nth-child(4) .section-title::before,
#kids-sections section:nth-child(5) .section-title::before {
  display: inline-block;
  margin-right: 10px;
}

#kids-sections section:nth-child(1) .section-title::before {
  content: "🎬";
}

#kids-sections section:nth-child(2) .section-title::before {
  content: "🎵";
}

#kids-sections section:nth-child(3) .section-title::before {
  content: "📚";
}

#kids-sections section:nth-child(4) .section-title::before {
  content: "🧸";
}

#kids-sections section:nth-child(5) .section-title::before {
  content: "🎮";
}

#kids-sections .poster-card .card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(20, 15, 40, .45), rgba(20, 15, 40, 0));
  pointer-events: none;
}


.poster-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.poster-card .card-body {
  padding: 10px 4px 0;
  min-height: 52px; /* фиксируем одинаковую зону текста */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.poster-card .card-title {
  font-size: 16px;
  line-height: 1.2;
  height: calc(1.2em * 2); /* ровно 2 строки */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.poster-card .card-meta {
  font-size: 12px;
  line-height: 1.2;
  height: 1.2em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.section-more-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ffbf47 0%, #ff71b8 100%);
  box-shadow: 0 4px 14px rgba(255, 113, 184, 0.24);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.section-more-btn:focus,
.section-more-btn.is-focused,
.kids-view .section-more-btn:focus,
.kids-view .section-more-btn.is-focused {
  outline: none !important;
  border: 2px solid #ffffff !important;
  transform: scale(1.08) !important;
  background: linear-gradient(135deg, #ff9f1a 0%, #ff4d94 100%) !important;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 7px rgba(255, 214, 89, 0.5),
    0 8px 24px rgba(255, 77, 148, 0.6) !important;
  color: #ffffff !important;
  z-index: 10;
}


/* Шапка главной отдельно от плеера */
body:not(.watch-page) .topbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 72px;
  padding: 0 20px;
}

body:not(.watch-page) .topbar .brand {
  float: none;
  height: auto;
  line-height: normal;
  margin: 0;
}

.search-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
}

.search-area > * {
  margin-right: 10px;
}

.search-area > *:last-child {
  margin-right: 0;
}

#search-input {
  width: 320px;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #252833;
  color: #fff;
  box-sizing: border-box;
}

#search-input::-webkit-input-placeholder {
  color: #b9c0cc;
}

#search-input::-moz-placeholder {
  color: #b9c0cc;
  opacity: 1;
}

#search-input:-ms-input-placeholder {
  color: #b9c0cc;
}

#search-btn {
  height: 48px;
  min-width: 110px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, #ff3366, #ff7b2c);
  color: #fff;
  box-sizing: border-box;
}

/* Подсветка именно поиска */
#search-input.is-focused,
#search-input:focus {
  outline: none !important;
  border-color: #6eb6ff;
  box-shadow:
    0 0 0 3px #6eb6ff,
    0 0 0 6px rgba(74, 144, 226, 0.22),
    0 12px 30px rgba(0, 0, 0, 0.20);
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}

#search-btn.is-focused,
#search-btn:focus {
  outline: none !important;
  box-shadow:
    0 0 0 3px #6eb6ff,
    0 0 0 6px rgba(74, 144, 226, 0.22),
    0 12px 30px rgba(0, 0, 0, 0.20);
}

@media (max-width: 900px) {
  body:not(.watch-page) .topbar {
    display: block;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .search-area {
    margin-top: 12px;
  }

  #search-input {
    width: 100%;
    max-width: 320px;
  }
}



.sidebar {
  height: 100%;
  padding: 20px 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #26262c;
  background: linear-gradient(180deg, #141419 0%, #101217 100%);
}


.sidebar-bottom {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.main-content {
  height: 100%;
  overflow: auto;
}

.sidebar-bottom .nav-item {
  margin-top: 6px;
}

.sidebar {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  box-sizing: border-box;
}

.sidebar-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

.sidebar-bottom {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.sidebar .nav-item {
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-bottom: 8px;
  box-sizing: border-box;
}



/* =========================
   FULL PAGE KIDS MODE
   ========================= */

.brand-logo-kids {
  display: none;
}

body.kids-mode {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 210, 90, 0.26), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(255, 110, 200, 0.24), transparent 28%),
    radial-gradient(circle at 72% 82%, rgba(90, 210, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #24185c 0%, #1a1240 48%, #120b2d 100%);
}

body.kids-mode .layout {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.10), transparent 22%),
    radial-gradient(circle at 80% 70%, rgba(255, 214, 89, 0.12), transparent 28%),
    linear-gradient(180deg, #251968 0%, #191142 100%);
}

body.kids-mode .main-content {
  background:
    radial-gradient(circle at 92% 8%, rgba(255,255,255,0.14), transparent 18%),
    radial-gradient(circle at 10% 92%, rgba(94, 243, 255, 0.14), transparent 20%);
}

/* topbar */
body.kids-mode .topbar {
  background:
    linear-gradient(135deg, rgba(255, 143, 216, 0.22), rgba(89, 214, 255, 0.14)),
    #201653;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 38px rgba(0,0,0,0.18);
}

body.kids-mode .brand-logo-main {
  display: none;
}

body.kids-mode .brand-logo-kids {
  display: block;
  width: auto;
  object-fit: contain;
}

/* search */
body.kids-mode #search-input {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

body.kids-mode #search-input::-webkit-input-placeholder {
  color: rgba(255,255,255,0.78);
}

body.kids-mode #search-input::-moz-placeholder {
  color: rgba(255,255,255,0.78);
  opacity: 1;
}

body.kids-mode #search-input:-ms-input-placeholder {
  color: rgba(255,255,255,0.78);
}

body.kids-mode #search-btn {
  background: linear-gradient(135deg, #ffbf47 0%, #ff71b8 52%, #6edcff 100%);
  border: none;
  box-shadow: 0 10px 26px rgba(255, 113, 184, 0.26);
}

/* sidebar */
body.kids-mode .sidebar {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #281b6d 0%, #1b1248 100%);
  border-right: 1px solid rgba(255,255,255,0.12);
}

body.kids-mode .sidebar-bottom {
  border-top-color: rgba(255,255,255,0.14);
}

body.kids-mode .nav-item {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

body.kids-mode .nav-item:hover,
body.kids-mode .nav-item.is-active,
body.kids-mode .nav-item.is-focused {
  background: linear-gradient(135deg, #ffbf47 0%, #ff71b8 50%, #66d8ff 100%);
  color: #fff;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.9),
    0 6px 16px rgba(255, 113, 184, 0.35);
}

body.kids-mode .nav-item-kids {
  background: linear-gradient(135deg, #ffbf47 0%, #ff71b8 50%, #66d8ff 100%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.26),
    0 8px 18px rgba(255, 113, 184, 0.22);
}

/* kids view now fills page naturally */
body.kids-mode .kids-view {
  min-height: calc(100vh - 124px);
  padding: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.12), transparent 22%),
    radial-gradient(circle at 92% 12%, rgba(255, 214, 89, 0.18), transparent 24%),
    radial-gradient(circle at 82% 86%, rgba(94, 243, 255, 0.14), transparent 26%);
}

body.kids-mode .kids-hero {
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.26), transparent 24%),
    radial-gradient(circle at 12% 80%, rgba(255, 214, 89, 0.18), transparent 20%),
    linear-gradient(135deg, #ff8ad8, #7e88ff 58%, #57d5ff);
}

body.kids-mode .kids-hero::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 16px;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.28), rgba(255,255,255,0));
  pointer-events: none;
}

body.kids-mode .content-section {
  padding: 12px 14px 4px;
  margin-bottom: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

body.kids-mode #kids-sections .section-title {
  color: #fff;
  text-shadow: 0 4px 14px rgba(0,0,0,0.20);
}

body.kids-mode #kids-sections .poster-card .card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06)),
    #2a2241;
  border-color: rgba(255,255,255,0.14);
}

/* decorative bubbles removed to prevent gradient overlay on sidebar */
body.kids-mode .view {
  position: relative;
  z-index: 1;
}