@import url('./design-tokens.css');

/* Baby & Miko public-site redesign v1.
   TypeUI-inspired design discipline, implemented as an original Baby & Miko
   soft-sculpted system: high contrast, restrained depth, no grey-on-grey neumorphism. */
:root{
  --site-canvas:#f6f4ed;
  --site-surface:#fbfaf5;
  --site-surface-strong:#fffef9;
  --site-ink:#183f3a;
  --site-ink-2:#233c57;
  --site-muted:#5e706c;
  --site-coral:#df7467;
  --site-yellow:#f1c75b;
  --site-aqua:#75bdb6;
  --site-aqua-soft:#dceeea;
  --site-blue-soft:#e5edf5;
  --site-coral-soft:#f8e2dc;
  --site-yellow-soft:#f7edc9;
  --site-line:rgba(35,60,87,.10);
  --site-shadow-raised:-8px -8px 22px rgba(255,255,255,.88),10px 12px 32px rgba(35,60,87,.10);
  --site-shadow-soft:-5px -5px 14px rgba(255,255,255,.88),7px 9px 22px rgba(35,60,87,.08);
  --site-shadow-hover:-7px -7px 18px rgba(255,255,255,.95),11px 14px 30px rgba(35,60,87,.14);
  --site-shadow-inset:inset 3px 3px 8px rgba(35,60,87,.10),inset -3px -3px 8px rgba(255,255,255,.88);
  --site-radius-card:28px;
  --site-radius-control:18px;
  --site-max:1320px;
}

html{background:var(--site-canvas)}
body,.watch-page,.play-page,.parents-page,.about-page{background:
  radial-gradient(circle at 8% 2%,rgba(241,199,91,.16),transparent 24rem),
  radial-gradient(circle at 94% 16%,rgba(117,189,182,.12),transparent 27rem),
  var(--site-canvas)!important;color:var(--site-ink);overflow-x:clip}
main,.watch-main,.play-page-main,.parents-main,.about-main,.video-detail-main{max-width:var(--site-max)!important;padding-bottom:0!important;margin-bottom:0!important}

/* ---------- Shared header ---------- */
.site-header{
  position:sticky!important;top:0!important;z-index:80!important;
  width:100%!important;max-width:100%!important;
  height:74px!important;margin:0!important;padding:0 max(24px,calc((100vw - var(--site-max))/2 + 24px))!important;
  border:none!important;border-bottom:1px solid rgba(41,72,61,.08)!important;border-radius:0!important;
  background:rgba(250,249,244,.95)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  box-shadow:0 2px 14px rgba(41,72,61,.05)!important;display:flex!important;align-items:center!important;gap:22px!important;
}
.site-header .official-wordmark{margin-right:0!important;flex:0 0 auto;display:inline-flex!important;align-items:center!important}
.site-header .logo-window{width:auto!important;height:auto!important;overflow:visible!important;display:flex!important;align-items:center!important}
.site-header .logo-window img{width:auto!important;height:56px!important;max-height:56px!important;aspect-ratio:770/525;object-fit:contain!important;transform:none!important}
.main-nav{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;gap:6px!important;margin:0!important}
.main-nav>a:first-child{margin-left:auto!important}
.main-nav>a:not(.header-youtube),.main-nav>button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  height:40px!important;min-height:40px!important;padding:0 14px!important;border-radius:12px!important;
  color:#31514a!important;font:800 13px/1 var(--bm-font-ui)!important;
  letter-spacing:-.1px!important;background:transparent!important;border:1px solid transparent!important;
  box-sizing:border-box!important;
  transition:background 140ms ease,box-shadow 140ms ease,transform 140ms ease!important
}
.main-nav>a:not(.header-youtube):hover,.main-nav>button:hover{
  background:#eef2eb!important;color:#183f3a!important;border-color:rgba(35,60,87,.08)!important
}
.main-nav>a.active{
  background:#e6ede4!important;color:#163e35!important;border-color:rgba(41,72,61,.12)!important;
  box-shadow:inset 0 1px 2px rgba(41,72,61,.08)!important
}
.header-youtube{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  height:40px!important;min-height:40px!important;padding:0 15px 0 12px!important;margin-left:auto!important;border-radius:12px!important;
  background:#cf3029!important;color:#fff!important;border:1px solid rgba(172,33,29,.18)!important;
  box-shadow:0 7px 17px rgba(239,64,55,.22),inset 0 1px 0 rgba(255,255,255,.32)!important;
  font:900 12.5px/1 var(--bm-font-ui)!important;gap:7px!important;box-sizing:border-box!important;
  flex:0 0 auto!important
}
.header-youtube svg{display:inline-block!important;vertical-align:middle!important;width:15px!important;height:15px!important;fill:#fff!important;flex-shrink:0!important}
.header-youtube:hover{background:#bd2924!important;transform:translateY(-1px)!important;box-shadow:0 10px 22px rgba(239,64,55,.28)!important}
.header-youtube:active{transform:translateY(1px)!important;box-shadow:inset 0 2px 4px rgba(0,0,0,.2)!important}
.site-nav-toggle{display:none;width:48px;height:48px;border:0;border-radius:16px;background:#eef2eb;color:var(--site-ink-2);box-shadow:var(--site-shadow-soft);align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0}
.site-nav-toggle span{display:block;width:20px;height:2px;border-radius:99px;background:currentColor;transition:transform 160ms ease,opacity 160ms ease}
.site-nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.site-nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.site-nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.site-nav-toggle:focus-visible{outline:3px solid var(--bm-color-focus);outline-offset:3px}

/* ---------- Typography rhythm ---------- */
.eyebrow,.hero-kicker{font-family:var(--bm-font-ui)!important;font-weight:900!important;letter-spacing:1.45px!important;color:#4e746b!important}
.brand-hero h1,.watch-hero h1,.play-page-intro h1,.home-section-head h2,.trust-intro h2,.watch-library-top h2,.video-detail-card h1{
  font-family:var(--bm-font-ui)!important;font-style:normal!important;font-weight:850!important;color:var(--site-ink)!important
}
.brand-hero h1 span,.watch-hero h1 span,.play-page-intro h1 span{font-family:var(--bm-font-ui)!important;font-style:normal!important;font-weight:850!important;color:var(--site-coral)!important}

/* ---------- Homepage hero ---------- */
main{padding-top:42px!important}
.brand-hero{
  min-height:610px!important;grid-template-columns:minmax(0,.94fr) minmax(420px,1.06fr)!important;gap:54px!important;
  padding:64px clamp(34px,5vw,72px)!important;border:1px solid rgba(255,255,255,.88)!important;border-radius:36px!important;
  background:linear-gradient(145deg,#f9f5e8 0%,#f3f5ef 50%,#eef5f2 100%)!important;
  box-shadow:var(--site-shadow-raised)!important
}
.brand-hero:before{width:220px!important;height:220px!important;background:rgba(223,116,103,.08)!important}
.brand-hero:after{width:170px!important;height:170px!important;border:22px solid rgba(241,199,91,.16)!important}
.hero-kicker{padding:10px 13px;border-radius:999px;background:#f7f3e8;box-shadow:var(--site-shadow-inset)}
.brand-hero h1{font-size:clamp(46px,5.4vw,72px)!important;letter-spacing:-3px!important;line-height:.98!important;margin:22px 0 24px!important}
.hero-copy>p{font-size:16px!important;line-height:1.75!important;color:#516661!important;max-width:570px!important}
.hero-pills{gap:10px!important;margin:27px 0 31px!important}
.hero-pills span,.discovery-home-badges span{
  border:1px solid rgba(255,255,255,.92)!important;background:#f8f7f1!important;color:#33524b!important;
  box-shadow:var(--site-shadow-soft)!important
}
.hero-pills span{padding:10px 14px!important;font-size:9.5px!important}
.hero-action{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  min-height:52px!important;height:52px!important;border-radius:16px!important;padding:0 24px!important;
  font:800 13.5px/1 var(--bm-font-ui)!important;box-shadow:var(--site-shadow-soft)!important;box-sizing:border-box!important
}
.hero-action svg{display:inline-block!important;vertical-align:middle!important;width:16px!important;height:16px!important;fill:currentColor!important;flex-shrink:0!important}
.hero-action.primary-watch{background:#214f47!important;color:#fffdf8!important;box-shadow:0 10px 24px rgba(24,63,58,.18),inset 0 1px 0 rgba(255,255,255,.18)!important}
.hero-action.secondary-play{background:#f7f6f0!important;border:1px solid rgba(35,60,87,.08)!important;color:var(--site-ink-2)!important}
.hero-visual{position:relative;z-index:1;display:grid;place-items:center;width:100%}
.hero-art-frame{width:min(100%,520px)!important;aspect-ratio:1/1!important;border-radius:32px!important;background:radial-gradient(circle at 50% 45%,#fffdf5 0%,#f6edcf 80%)!important;border:8px solid rgba(250,249,244,.88)!important;box-shadow:var(--site-shadow-raised)!important;overflow:hidden!important}
.hero-art-frame img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
.hero-float{border:1px solid rgba(255,255,255,.9)!important;background:rgba(250,249,244,.95)!important;box-shadow:var(--site-shadow-soft)!important;border-radius:17px!important}

/* ---------- About / section rhythm ---------- */
.home-section{padding-top:96px!important}
.home-section-head{align-items:flex-start!important;margin-bottom:32px!important}
.home-section-head h2{font-size:clamp(32px,3.2vw,46px)!important;letter-spacing:-1.8px!important;line-height:1.06!important;max-width:720px}
.home-section-head p{font-size:13.5px!important;line-height:1.8!important;color:var(--site-muted)!important}
.about-section{padding-top:82px}
.about-panel{display:grid;grid-template-columns:.82fr 1.18fr;gap:20px;align-items:stretch}
.about-copy{padding:42px;border-radius:var(--site-radius-card);background:#eef3ed;border:1px solid rgba(255,255,255,.9);box-shadow:var(--site-shadow-raised)}
.about-copy h2{font-size:clamp(31px,3.3vw,46px);letter-spacing:-1.6px;line-height:1.06;margin:12px 0 16px;color:var(--site-ink)}
.about-copy p{margin:0;color:var(--site-muted);font-size:13.5px;line-height:1.8}
.about-values{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.about-value{min-width:0;padding:28px 24px;border-radius:24px;background:var(--site-surface);border:1px solid rgba(255,255,255,.85);box-shadow:var(--site-shadow-soft)}
.about-value i{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;font-style:normal;font-weight:900;font-size:20px;color:var(--site-ink-2);box-shadow:var(--site-shadow-inset);background:#f4f3ed}
.about-value:nth-child(1) i{background:var(--site-coral-soft)}.about-value:nth-child(2) i{background:var(--site-aqua-soft)}.about-value:nth-child(3) i{background:var(--site-yellow-soft)}
.about-value strong{display:block;margin:22px 0 9px;font-size:17px;color:var(--site-ink)}
.about-value span{font-size:11.5px;line-height:1.65;color:var(--site-muted)}

/* ---------- Shared sculpted cards ---------- */
.watch-feature,.lane-card,.video-library-card,.character-profile,.trust-card,.playroom-preview,.discovery-home-feature,
.watch-hero,.watch-video-card,.playlist-collection,.video-detail-card,.play-page-intro,.game-card{
  border:1px solid rgba(255,255,255,.88)!important;background:var(--site-surface)!important;box-shadow:var(--site-shadow-soft)!important
}
.lane-card,.video-library-card,.character-profile,.trust-card,.watch-video-card,.game-card{transition:transform 160ms ease,box-shadow 160ms ease!important}
.lane-card:hover,.video-library-card:hover,.character-profile:hover,.watch-video-card:hover,.game-card:hover{transform:translateY(-3px)!important;box-shadow:var(--site-shadow-hover)!important}
.watch-feature{border-radius:30px!important;overflow:hidden!important}
.watch-copy{padding:48px!important}.watch-copy h3{color:var(--site-ink)!important}.watch-copy p{color:var(--site-muted)!important}
.watch-link{border-radius:16px!important;box-shadow:0 9px 20px rgba(239,64,55,.18)!important}
.content-lanes{gap:18px!important}.lane-card{border-radius:24px!important}.lane-card .lane-icon{box-shadow:var(--site-shadow-inset)!important}
.video-library-card,.watch-video-card{border-radius:22px!important}.video-library-body strong,.watch-video-info strong{color:var(--site-ink)!important}
.video-library-thumb,.watch-video-thumb{background:#e9ece7!important}
.character-profile{border-radius:26px!important}.character-profile-copy h3{color:var(--site-ink)!important}.character-profile-copy p{color:var(--site-muted)!important}
.text-profile{background:linear-gradient(145deg,#f6f2e8,#f2f5ef)!important}.character-monogram{box-shadow:var(--site-shadow-soft)!important;border-color:rgba(255,255,255,.8)!important}

/* ---------- Playroom showcase ---------- */
.discovery-home-feature{background:linear-gradient(145deg,#eef2e9,#edf5f2)!important;border-radius:32px!important}
.discovery-home-card,.discovery-home-peek{border:1px solid rgba(255,255,255,.9)!important;box-shadow:var(--site-shadow-raised)!important}
.discovery-home-card{background:linear-gradient(160deg,#e0efe7,#f8f2e5)!important}
.playroom-preview{background:linear-gradient(145deg,#edf3e9,#e8f2f1)!important}
.playroom-preview-art{box-shadow:var(--site-shadow-inset)!important;border:1px solid rgba(255,255,255,.8)}

/* ---------- Parents ---------- */
.trust-section{display:flex!important;flex-direction:column!important;gap:20px!important;margin-top:92px!important;scroll-margin-top:112px}
.trust-intro{display:grid!important;grid-template-columns:1fr auto;gap:20px;align-items:center;padding:42px!important;border-radius:28px!important;background:linear-gradient(145deg,#f3ede0,#eef2ea)!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:var(--site-shadow-raised)!important}
.trust-intro p{color:var(--site-muted)!important;margin:0!important}
.trust-intro .secondary{margin-left:auto!important;white-space:nowrap!important}
.trust-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.trust-card{border-radius:24px!important;padding:26px 22px!important}
.trust-card i{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#f1f2ec;box-shadow:var(--site-shadow-inset)}
.trust-card strong{color:var(--site-ink)!important;display:block;margin:14px 0 6px;font-size:15px}
.trust-card span{color:var(--site-muted)!important;font-size:12px;line-height:1.6}

/* ---------- Parent lock guide & details ---------- */
.parent-lock-guide{
  margin:10px 0 0!important;padding:clamp(24px,3.5vw,36px)!important;
  border-radius:28px!important;background:linear-gradient(145deg,#edf6f2,#f5f9f7)!important;
  border:1px solid rgba(255,255,255,.92)!important;box-shadow:var(--site-shadow-raised)!important;
  box-sizing:border-box!important
}
.parent-lock-guide h3{font-size:clamp(20px,2.2vw,24px)!important;font-weight:800!important;color:var(--site-ink)!important;letter-spacing:-.6px!important;margin:0 0 10px!important}
.parent-lock-guide p{font-size:13.5px!important;line-height:1.75!important;color:var(--site-muted)!important;margin:0 0 14px!important}
.parent-lock-guide p strong{color:var(--site-ink)!important}
.parent-lock-device-grid{display:flex!important;flex-direction:column!important;gap:12px!important;margin:18px 0!important}
.parent-lock-guide details{
  border:1px solid rgba(35,60,87,.10)!important;background:var(--site-surface)!important;
  border-radius:18px!important;padding:16px 20px!important;box-shadow:var(--site-shadow-soft)!important;
  transition:all 180ms ease!important
}
.parent-lock-guide details[open]{border-color:rgba(33,79,71,.3)!important;background:#fffefb!important;box-shadow:var(--site-shadow-raised)!important}
.parent-lock-guide summary{cursor:pointer!important;font:800 14.5px/1.3 var(--bm-font-ui)!important;color:#1a443b!important;outline:none!important;user-select:none!important;-webkit-user-select:none!important}
.parent-lock-guide summary:hover{color:#0e3029!important}
.parent-lock-guide ol{margin:14px 0 10px!important;padding-left:22px!important;font-size:13px!important;line-height:1.7!important;color:var(--site-ink-2)!important}
.parent-lock-guide ol li{margin-bottom:6px!important}
.parent-lock-guide details p{margin:10px 0 0!important;font-size:12.5px!important;line-height:1.65!important;color:var(--site-muted)!important}
.parent-lock-limit{font-size:12px!important;color:#637873!important;line-height:1.65!important;margin:14px 0!important}
.parent-lock-actions{display:flex!important;align-items:center!important;gap:12px!important;margin-top:18px!important;flex-wrap:wrap!important}
.parent-lock-actions .secondary{height:46px!important;min-height:46px!important;padding:0 20px!important;font:800 13px/1 var(--bm-font-ui)!important}
.parent-lock-actions .primary{height:46px!important;min-height:46px!important;padding:0 22px!important;font:800 13px/1 var(--bm-font-ui)!important;background:#214f47!important;color:#fff!important;border-radius:14px!important;text-decoration:none!important}
.parent-lock-note{font-size:12px!important;font-weight:700!important;color:#214f47!important;margin:10px 0 0!important}

.social-strip{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:32px!important;margin-top:82px!important;margin-bottom:0!important;padding:38px 0 42px!important;border-top:1px solid rgba(35,60,87,.09)!important;border-bottom:0!important}
.social-copy{max-width:610px!important}
.social-copy h2{color:var(--site-ink)!important;font-size:26px!important;margin:9px 0 8px!important}
.social-copy p{color:var(--site-muted)!important;font-size:12px!important;line-height:1.6!important;margin:0!important}
.social-actions{display:flex!important;gap:12px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
.social-button{min-width:205px!important;min-height:66px!important;display:flex!important;align-items:center!important;gap:12px!important;padding:10px 17px!important;border:1px solid rgba(255,255,255,.88)!important;border-radius:19px!important;background:var(--site-surface)!important;box-shadow:var(--site-shadow-soft)!important;text-decoration:none!important;color:inherit!important;box-sizing:border-box!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important}
.social-button:hover{box-shadow:var(--site-shadow-hover)!important;transform:translateY(-2px)!important}
.social-button:active{transform:translateY(0)!important}
.social-button svg{width:29px!important;height:29px!important;flex:0 0 29px!important}
.social-button-text{display:flex!important;flex-direction:column!important;gap:2px!important;text-align:left!important}
.social-button-text strong{color:var(--site-ink)!important;font-size:12px!important;letter-spacing:-.1px!important}
.social-button-text span{color:var(--site-muted)!important;font-size:9px!important;font-weight:700!important;letter-spacing:.3px!important}
.social-button.youtube:hover{border-color:#e85c55!important}
.social-button.youtube svg{color:#e53935!important}
.social-button.instagram:hover{border-color:#9b6b8f!important}
.social-button.instagram svg{color:#8d5f83!important}

/* ---------- Watch ---------- */
.watch-main{padding-top:56px!important}.watch-hero{max-width:none!important;padding:58px clamp(30px,6vw,82px)!important;border-radius:32px!important;background:linear-gradient(145deg,#f6f0df,#eef4f0)!important}
.watch-hero h1{max-width:850px!important}.watch-hero p{color:var(--site-muted)!important}
.watch-library-top{margin-top:78px!important}.watch-library-top h2{color:var(--site-ink)!important}.watch-count{color:var(--site-muted)!important}
.watch-filter{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  height:40px!important;min-height:40px!important;padding:0 16px!important;border-radius:12px!important;
  background:#f3f3ed!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:var(--site-shadow-soft)!important;
  color:var(--site-ink)!important;font:800 12px/1 var(--bm-font-ui)!important;box-sizing:border-box!important;cursor:pointer!important
}
.watch-filter span{display:inline-flex!important;align-items:center!important;font-size:11px!important;font-weight:700!important;opacity:.75!important;line-height:1!important}
.watch-filter.active{background:#214f47!important;color:#fff!important;box-shadow:inset 2px 2px 6px rgba(0,0,0,.16),inset -2px -2px 6px rgba(255,255,255,.10)!important}
.playlist-collection{background:#e8efeb!important;color:var(--site-ink)!important}.playlist-collection span{color:#61736d!important}.video-detail-card{border-radius:30px!important}.video-detail-card>div{background:linear-gradient(145deg,#fbfaf5,#f0f3ed)}

/* ---------- Play landing ---------- */
.play-page-main{padding-top:54px!important}.play-page-intro{max-width:none!important;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:28px;padding:48px!important;border-radius:30px!important;background:linear-gradient(145deg,#f5f0df,#edf4ef)!important}
.play-page-intro h1{max-width:760px}.play-page-intro p{color:var(--site-muted)!important}
.secondary,.play-page-intro .secondary,.trust-intro .secondary{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  height:44px!important;min-height:44px!important;padding:0 20px!important;border-radius:14px!important;
  font:800 12.5px/1 var(--bm-font-ui)!important;box-sizing:border-box!important;cursor:pointer!important;text-decoration:none!important;
  background:#f4f4ee;border:1px solid rgba(255,255,255,.9);box-shadow:var(--site-shadow-soft)
}
.secondary svg,.secondary i{display:inline-block!important;vertical-align:middle!important;font-size:15px!important;line-height:1!important}
.play-page-intro .secondary{justify-self:end;margin:0!important}
.play-shell{border:1px solid rgba(255,255,255,.8)!important;box-shadow:var(--site-shadow-raised)!important;border-radius:28px!important}
.game-grid{gap:18px!important}.game-card{border-radius:20px!important;overflow:hidden!important}.game-card.selected{outline:2px solid rgba(117,189,182,.55);outline-offset:2px;box-shadow:var(--site-shadow-hover)!important}

/* ---------- Dedicated Parents & About Heroes ---------- */
.parents-main,.about-main{padding-top:54px!important}
.parents-hero,.about-hero{
  max-width:none!important;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:28px;
  padding:48px!important;border-radius:30px!important;background:linear-gradient(145deg,#f5f0df,#edf4ef)!important;
  border:1px solid rgba(255,255,255,.9)!important;box-shadow:var(--site-shadow-raised)!important
}
.parents-hero h1,.about-hero h1{font-size:clamp(34px,3.8vw,52px)!important;letter-spacing:-1.8px!important;line-height:1.06!important;max-width:760px;margin:12px 0 16px!important;color:var(--site-ink)!important}
.parents-hero h1 span,.about-hero h1 span{color:var(--site-coral)!important;font-family:Georgia,serif!important;font-style:italic!important;font-weight:normal!important}
.parents-hero p,.about-hero p{color:var(--site-muted)!important;font-size:14px!important;line-height:1.75!important;margin:0!important;max-width:680px}
.parents-hero .secondary,.about-hero .secondary{justify-self:end;margin:0!important}

/* ---------- Dialogs & Modal Window ---------- */
dialog, #info{
  width:min(720px,calc(100% - 32px))!important;
  max-width:720px!important;
  max-height:88dvh!important;
  margin:auto!important;
  padding:36px clamp(20px,4vw,38px)!important;
  border-radius:28px!important;
  background:#fffdf8!important;
  border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:0 24px 80px rgba(16,36,86,.22),var(--site-shadow-raised)!important;
  box-sizing:border-box!important;
  color:var(--site-ink)!important;
  overflow-y:auto!important;
}
dialog::backdrop{
  background:rgba(18,36,32,.55)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
dialog .dialog-top{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  margin-bottom:8px!important;
}
dialog .dialog-top .eyebrow{font-size:10px!important;letter-spacing:1.8px!important;color:#4e6f67!important}
dialog .close,.dialog-close,.modal-close{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  border-radius:50%!important;border:1.5px solid rgba(41,72,61,.2)!important;
  background:rgba(250,249,244,.95)!important;color:#203a31!important;
  font-size:18px!important;font-weight:700!important;line-height:1!important;padding:0!important;
  cursor:pointer!important;box-sizing:border-box!important;
  transition:background 140ms ease,transform 140ms ease!important;
}
dialog .close:hover{background:#e8ece5!important;transform:scale(1.05)!important}
dialog h2,#info-title{
  font-size:clamp(24px,2.6vw,32px)!important;font-weight:800!important;
  letter-spacing:-1px!important;line-height:1.15!important;
  margin:12px 0 16px!important;color:var(--site-ink)!important;
}
#info-body{font-size:14px!important;line-height:1.75!important;color:#31514a!important}
#info-body p{margin:0 0 14px!important;color:#3d5a53!important;font-size:14px!important;line-height:1.75!important}
#info-body strong{color:var(--site-ink)!important}
#info-body .parent-lock-guide{margin:16px 0!important;padding:20px!important}
dialog .primary,form[method="dialog"] .primary{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;gap:8px!important;height:48px!important;min-height:48px!important;
  margin-top:18px!important;padding:0 24px!important;border:none!important;
  border-radius:14px!important;background:#214f47!important;color:#fffdf8!important;
  font:800 13.5px/1 var(--bm-font-ui)!important;box-sizing:border-box!important;cursor:pointer!important;
  transition:transform 140ms ease,background 140ms ease,box-shadow 140ms ease!important;
}
dialog .primary:hover{background:#183f3a!important;transform:translateY(-1px)!important}

/* ---------- Minimal Sleek Compact Footer ---------- */
.site-footer-v2{
  max-width:var(--site-max)!important;
  width:calc(100% - 32px)!important;
  margin:16px auto 10px!important;
  padding:6px 14px!important;
  border:1px solid rgba(255,255,255,.92)!important;
  border-radius:12px!important;
  background:linear-gradient(145deg,#edf3ee,#e4ede8)!important;
  color:var(--site-ink)!important;
  box-shadow:0 2px 8px rgba(35,60,87,.04)!important;
  display:block!important;
  min-height:0!important;
  box-sizing:border-box!important;
}
.footer-v2-compact{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.footer-v2-copy{
  font-size:11px!important;
  font-weight:700!important;
  color:#31554d!important;
  line-height:1!important;
  display:inline-flex!important;
  align-items:center!important;
}
.footer-v2-social{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
.footer-social-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  padding:0!important;
  border-radius:8px!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
  border:1px solid rgba(255,255,255,.85)!important;
  box-shadow:0 1px 3px rgba(35,60,87,.06)!important;
  transition:transform 140ms ease,box-shadow 140ms ease,background 140ms ease!important;
  flex:0 0 28px!important;
}
.footer-social-pill svg{
  display:block!important;
  flex-shrink:0!important;
}
.footer-social-pill.youtube svg{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
  fill:#ffffff!important;
  color:#ffffff!important;
}
.footer-social-pill.instagram svg{
  width:15px!important;
  height:15px!important;
  flex:0 0 15px!important;
  color:#ffffff!important;
  stroke:#ffffff!important;
}
.footer-social-pill.youtube{
  background:#cf3029!important;
  color:#ffffff!important;
  border-color:rgba(172,33,29,.2)!important;
}
.footer-social-pill.youtube:hover{
  background:#bd2924!important;
  transform:translateY(-1px)!important;
  box-shadow:0 4px 12px rgba(207,48,41,.32)!important;
}
.footer-social-pill.instagram{
  background:linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%)!important;
  color:#ffffff!important;
  border-color:rgba(188,24,136,.3)!important;
}
.footer-social-pill.instagram:hover{
  background:linear-gradient(45deg,#e38728 0%,#d85b30 25%,#ce1e3a 50%,#be195c 75%,#ae107d)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 4px 12px rgba(188,24,136,.32)!important;
}

/* Legacy per-page footer suppression after unified footer migration. */
.watch-footer,.play-page-footer,.footer-legal{display:none!important}

/* ---------- Navigation Links & Icons ---------- */
.main-nav a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.main-nav .nav-icon{
  display:none!important;
}

/* ---------- Mobile Bottom Navigation Bar ---------- */
.mobile-bottom-nav{
  display:none!important;
}
.single-game-pwa .mobile-bottom-nav,
:fullscreen .mobile-bottom-nav,
.play-shell.fullscreen .mobile-bottom-nav,
.play-shell.kiosk-fullscreen .mobile-bottom-nav,
:fullscreen ~ .mobile-bottom-nav,
body.in-game .mobile-bottom-nav,
body.in-fullscreen .mobile-bottom-nav,
.play-shell.in-fullscreen ~ .mobile-bottom-nav{
  display:none!important;
}
.single-game-pwa .social-strip{
  display:none!important;
}

/* ---------- Responsive ---------- */
@media(max-width:1060px){
  .main-nav>a:not(.header-youtube),.main-nav>button{padding-inline:10px!important;font-size:11.5px!important;gap:5px!important}
  .main-nav .nav-icon{width:14px!important;height:14px!important;flex:0 0 14px!important}
  .about-panel{grid-template-columns:1fr}
  .brand-hero{grid-template-columns:1fr 1fr!important;gap:30px!important;padding:52px 38px!important}
}
@media(max-width:860px){
  body.in-fullscreen .mobile-bottom-nav,
  .play-shell.in-fullscreen ~ .mobile-bottom-nav{
    display:none!important;
  }
  body,.watch-page,.play-page,.parents-page,.about-page{
    padding-bottom:calc(66px + env(safe-area-inset-bottom, 0px))!important;
  }
  .mobile-bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(5,1fr)!important;
    position:fixed!important;
    bottom:0!important;
    left:0!important;
    right:0!important;
    z-index:100!important;
    height:calc(60px + env(safe-area-inset-bottom, 0px))!important;
    padding:4px 6px calc(4px + env(safe-area-inset-bottom, 0px))!important;
    background:rgba(255,253,248,.96)!important;
    backdrop-filter:blur(20px)!important;
    -webkit-backdrop-filter:blur(20px)!important;
    border-top:1px solid rgba(41,72,61,.14)!important;
    box-shadow:0 -4px 20px rgba(35,60,87,.09),0 -1px 2px rgba(35,60,87,.04)!important;
    align-items:center!important;
    justify-content:space-around!important;
    box-sizing:border-box!important;
  }
  .mobile-bottom-link{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    height:100%!important;
    min-height:46px!important;
    padding:3px 2px!important;
    border-radius:12px!important;
    color:#4a655e!important;
    text-decoration:none!important;
    box-sizing:border-box!important;
    transition:background 140ms ease,color 140ms ease,transform 120ms ease!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .mobile-bottom-link .nav-icon{
    width:20px!important;
    height:20px!important;
    flex:0 0 20px!important;
    stroke:currentColor!important;
    stroke-width:2.1!important;
    display:inline-block!important;
    transition:transform 140ms ease!important;
  }
  .mobile-bottom-link span{
    font:800 10.5px/1 var(--bm-font-ui)!important;
    letter-spacing:-.1px!important;
  }
  .mobile-bottom-link:hover{
    color:#183f3a!important;
  }
  .mobile-bottom-link:active{
    transform:scale(.92)!important;
  }
  .mobile-bottom-link.active{
    color:#153e35!important;
    background:#e6ede4!important;
    box-shadow:inset 0 1px 2px rgba(41,72,61,.08)!important;
  }
  .mobile-bottom-link.active .nav-icon{
    stroke-width:2.4!important;
    transform:scale(1.06)!important;
  }
  .mobile-bottom-link.active span{
    font-weight:900!important;
  }
  .site-header{top:0!important;width:100%!important;height:68px!important;margin:0!important;padding:0 16px!important;border-radius:0!important;border-bottom:1px solid rgba(41,72,61,.08)!important}
  .site-header .logo-window{width:auto!important;height:auto!important}.site-header .logo-window img{width:auto!important;height:48px!important;max-height:48px!important;transform:none!important}
  .site-nav-toggle{display:flex!important}
  .main-nav{
    position:absolute!important;left:12px!important;right:12px!important;top:calc(100% + 8px)!important;
    display:none!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;
    padding:14px 12px!important;border-radius:22px!important;background:#fffdf8!important;
    border:1px solid rgba(41,72,61,.14)!important;box-shadow:0 20px 60px rgba(35,60,87,.20),var(--site-shadow-raised)!important
  }
  .site-header.menu-open .main-nav{display:flex!important}
  .main-nav>a:first-child{margin-left:0!important}
  .main-nav>a:not(.header-youtube),.main-nav>button,
  .site-header.menu-open .main-nav>a:not(.header-youtube),
  .site-header.menu-open .main-nav>button{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    gap:12px!important;
    width:100%!important;min-height:48px!important;height:48px!important;padding:0 16px!important;
    font:800 14.5px/1 var(--bm-font-ui)!important;border-radius:14px!important;box-sizing:border-box!important
  }
  .main-nav .nav-icon{
    display:inline-block!important;
    width:21px!important;
    height:21px!important;
    flex:0 0 21px!important;
    stroke-width:2.2!important;
  }
  .header-youtube,
  .site-header.menu-open .main-nav .header-youtube{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    gap:8px!important;
    width:100%!important;min-height:48px!important;height:48px!important;margin:4px 0 0!important;
    padding:0 16px!important;font:900 13px/1 var(--bm-font-ui)!important;border-radius:14px!important;box-sizing:border-box!important
  }
  main{padding-top:30px!important}.brand-hero{grid-template-columns:1fr!important;min-height:0!important;padding:44px 30px 32px!important}.hero-visual{margin-top:12px;width:100%}.hero-art-frame{width:min(100%,460px)!important;aspect-ratio:1/1!important}.about-values{grid-template-columns:repeat(3,1fr)}
  .play-page-intro{grid-template-columns:1fr}.play-page-intro .secondary{justify-self:start}
  .parents-hero,.about-hero{grid-template-columns:1fr!important}.parents-hero .secondary,.about-hero .secondary{justify-self:start!important}
  .trust-intro{grid-template-columns:1fr!important;gap:18px!important}.trust-intro .secondary{margin-left:0!important;align-self:flex-start!important}.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  main,.watch-main,.play-page-main,.parents-main,.about-main,.video-detail-main{padding-left:16px!important;padding-right:16px!important;padding-bottom:0!important;margin-bottom:0!important}
  .brand-hero{padding:34px 20px 24px!important;border-radius:26px!important}.brand-hero h1{font-size:42px!important;letter-spacing:-2.2px!important}.hero-copy>p{font-size:14px!important}.hero-pills{gap:7px!important}.hero-pills span{padding:8px 10px!important;font-size:8px!important}.hero-actions{gap:9px!important}.hero-action{width:100%!important}.hero-art-frame{width:min(100%,350px)!important;aspect-ratio:1/1!important;border-radius:26px!important;border-width:6px!important}
  .home-section{padding-top:72px!important}.about-section{padding-top:64px}.about-copy{padding:28px 22px}.about-values{grid-template-columns:1fr;gap:12px}.about-value{padding:22px}.home-section-head h2{font-size:30px!important}.watch-copy{padding:26px!important}
  .parents-main,.about-main{padding-top:34px!important}.parents-hero,.about-hero{padding:30px 22px!important}.parents-hero h1,.about-hero h1{font-size:38px!important;letter-spacing:-1.8px!important}
  .trust-section{margin-top:72px!important}.trust-intro{padding:28px 22px!important}.trust-grid{grid-template-columns:1fr!important}.social-strip{margin-top:66px!important;margin-bottom:0!important;padding-bottom:20px!important}
  .watch-main{padding-top:35px!important}.watch-hero{padding:36px 22px!important;border-radius:26px!important}.watch-hero h1{font-size:42px!important;letter-spacing:-2px!important}.watch-library-top{margin-top:58px!important}.watch-filter{min-height:46px!important}
  .play-page-main{padding-top:34px!important}.play-page-intro{padding:30px 22px!important}.play-page-intro h1{font-size:42px!important}.game-grid{gap:14px!important}
  .site-footer-v2{
    width:calc(100% - 20px)!important;
    margin-top:16px!important;
    margin-bottom:12px!important;
    padding:8px 14px!important;
    border-radius:12px!important;
  }
  .footer-v2-compact{
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    text-align:left!important;
    gap:10px!important;
    flex-wrap:nowrap!important;
  }
  .footer-v2-copy{
    font-size:11px!important;
    line-height:1.25!important;
    flex:1 1 auto!important;
  }
  .footer-v2-social{
    width:auto!important;
    gap:6px!important;
    flex:0 0 auto!important;
    flex-shrink:0!important;
  }
  .footer-social-pill{
    flex:0 0 28px!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
  }
}
@media(max-width:390px){.site-header .logo-window img{height:44px!important;max-height:44px!important}}
@media(prefers-reduced-motion:reduce){.site-nav-toggle span,.footer-social-action,.lane-card,.video-library-card,.character-profile,.watch-video-card,.game-card{transition:none!important}.footer-social-action:hover,.lane-card:hover,.video-library-card:hover,.character-profile:hover,.watch-video-card:hover,.game-card:hover{transform:none!important}}

/* Accessibility hardening after rendered audit. */
.header-youtube,.footer-social-action.youtube{background:#cf3029!important}
.header-youtube:hover,.footer-social-action.youtube:hover{background:#bd2924!important}
.watch-label{color:#c72f2a!important}
.card-meta b{opacity:1!important;color:#566a64!important;font-weight:800!important}
.footer-social-action.youtube small{color:#fff!important;opacity:.92!important}

/* Composition refinements from screenshot review. */
.site-footer-v2 nav>a{display:block!important}
.play-page-intro{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:"kicker action" "title action" "copy action"!important;
  column-gap:46px!important;
  align-items:center!important;
}
.play-page-intro>.eyebrow{grid-area:kicker}.play-page-intro>h1{grid-area:title}.play-page-intro>p{grid-area:copy}.play-page-intro>.secondary{grid-area:action!important;position:static!important;align-self:center!important;justify-self:end!important}
.play-page .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.play-page .game-card{min-height:330px}
.play-page .card-art{height:150px}
@media(max-width:900px){.play-page .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.play-page .game-card{min-height:0}}
@media(max-width:620px){
  .play-page-intro{display:block!important}.play-page-intro>.secondary{margin-top:18px!important}
  .play-page .game-grid{grid-template-columns:1fr!important}
  .play-page .game-card:first-child{grid-column:auto!important;display:flex!important;grid-template-columns:none!important;grid-template-rows:none!important}
  .play-page .game-card:first-child .card-art{height:145px!important}
  .play-page .game-card:first-child .card-category{margin-top:18px!important}
  .play-page .card-art{height:145px}
}

.watch-link{background:#cf3029!important}.watch-link:hover{background:#bd2924!important}
.playlist-collection>span{color:#50645d!important}
@media(max-width:760px){
  .discovery-modes{overflow:visible!important;flex-wrap:wrap!important;justify-content:center!important}
  .discovery-controls{overflow:hidden!important}
  .discovery-actions{width:100%!important;justify-content:center!important;flex-wrap:wrap!important}
}
.peek-number>span{color:#50645d!important}
.parents-page .trust-section{display:block!important;margin-top:42px!important}

@media(max-width:760px){
  .social-strip{align-items:flex-start!important;flex-direction:column!important;gap:20px!important;padding:26px 0 30px!important}
  .social-actions{width:100%!important;justify-content:stretch!important}
  .social-button{flex:1 1 220px!important;min-width:0!important}
}
@media(max-width:460px){
  .social-actions{flex-direction:column!important}
  .social-button{width:100%!important;flex-basis:auto!important}
}



/* ---------- Baby & Miko intro Shorts ---------- */
.intro-shorts-section .home-section-head{align-items:end!important}
.intro-shorts-section .home-section-head>p{max-width:440px}
.intro-shorts-grid{
  width:min(100%,900px);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}
.intro-short-card{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.92);
  border-radius:30px;
  background:#fbfaf5;
  box-shadow:var(--site-shadow-raised);
  touch-action:pan-y;
}
.intro-short-video{
  position:relative;
  width:100%;
  aspect-ratio:9/16;
  overflow:hidden;
  background:#183f3a;
  border-radius:26px 26px 0 0;
  touch-action:pan-y;
  cursor:pointer;
}
.intro-short-poster,.intro-short-frame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  object-fit:cover;
  pointer-events:none;
}
.intro-short-frame{z-index:2;background:#000;opacity:0;transition:opacity 180ms ease;pointer-events:none}
.intro-short-card.is-playing .intro-short-frame{opacity:1}
.intro-short-card.is-playing .intro-short-poster{opacity:0}
.intro-short-poster{z-index:1;transition:opacity 180ms ease;pointer-events:none}
.intro-short-muted{
  position:absolute;
  z-index:3;
  left:14px;
  bottom:14px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(17,31,29,.78);
  color:#fff;
  font:800 10px/1 var(--bm-font-ui);
  letter-spacing:.2px;
  pointer-events:none;
}
.intro-short-copy{padding:24px 24px 26px}
.intro-short-copy>span{
  display:block;
  margin-bottom:8px;
  color:#5e706c;
  font:900 10px/1 var(--bm-font-ui);
  letter-spacing:1.25px;
}
.intro-short-copy h3{
  margin:0 0 9px;
  color:var(--site-ink);
  font:850 28px/1.05 var(--bm-font-ui);
}
.intro-short-copy p{margin:0;color:var(--site-muted);font-size:13.5px;line-height:1.7}
.intro-short-copy a{
  display:inline-flex;
  margin-top:16px;
  color:#b92e29;
  font:850 12.5px/1 var(--bm-font-ui);
}
@media(max-width:760px){
  .intro-shorts-section .home-section-head{align-items:flex-start!important}
  .intro-shorts-grid{grid-template-columns:1fr;max-width:430px;gap:22px}
  .intro-short-card{border-radius:26px}
  .intro-short-video{border-radius:22px 22px 0 0}
}
