:root {
  color-scheme: light;
  font-family: Nunito, ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  color: #254267;
  background: #eaf8ff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #254267;
  --muted: #7184a1;
  --pink: #ff83a9;
  --blue: #7ad7ee;
  --yellow: #ffe37c;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 36px 20px 48px;
  isolation: isolate;
  background: linear-gradient(180deg, #dff5ff 0%, #f0f9ff 48%, #fff8e8 100%);
}
.page-shell::before {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -200px;
  left: -8%;
  height: 310px;
  border-radius: 50% 50% 0 0 / 35% 35% 0 0;
  background: #d8f2d4;
  content: "";
}
.sky-decoration { position: absolute; z-index: -1; border-radius: 999px; background: #fff; opacity: .8; filter: drop-shadow(0 5px 0 rgba(92, 157, 194, .08)); }
.sky-decoration::before, .sky-decoration::after { position: absolute; border-radius: 50%; background: inherit; content: ""; }
.sky-decoration-one { top: 14%; left: 8%; width: 105px; height: 31px; }
.sky-decoration-one::before { top: -17px; left: 18px; width: 43px; height: 43px; }
.sky-decoration-one::after { top: -12px; right: 17px; width: 36px; height: 36px; }
.sky-decoration-two { top: 24%; right: 9%; width: 80px; height: 24px; opacity: .58; }
.sky-decoration-two::before { top: -14px; left: 14px; width: 32px; height: 32px; }
.sky-decoration-two::after { top: -9px; right: 12px; width: 27px; height: 27px; }
.airplane { position: absolute; z-index: -1; width: 68px; opacity: .72; }
.airplane svg { display: block; width: 100%; fill: #75b8d3; filter: drop-shadow(0 3px 0 rgba(83, 147, 177, .12)); }
.airplane-one { top: 11%; right: 17%; transform: rotate(-7deg); }
.airplane-two { top: 31%; left: 3%; width: 48px; opacity: .55; transform: rotate(8deg) scaleX(-1); }
.forest-decoration { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 126px; pointer-events: none; }
.forest-tree, .forest-mushroom { position: absolute; bottom: 10px; height: auto; filter: drop-shadow(0 4px 0 rgba(73, 125, 104, .08)); }
.forest-tree-one { left: 4%; width: 59px; }
.forest-tree-two { right: 5%; width: 78px; bottom: 4px; }
.forest-mushroom { width: 46px; }
.mushroom-one { left: 14%; bottom: 12px; }
.mushroom-two { right: 16%; bottom: 12px; width: 39px; }

.card {
  width: min(100%, 530px);
  border: 5px solid #fff;
  border-radius: 34px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 48px rgba(68, 126, 164, .16), 0 5px 0 rgba(130, 193, 218, .18);
}
.gate-card { position: relative; padding: 24px 48px 36px; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.star-friend { width: 112px; height: 112px; margin: 0 auto 3px; animation: bob 3s ease-in-out infinite; }
.star-friend svg { width: 100%; overflow: visible; }
.star-shape { fill: #ffdc67; stroke: #f2ba43; stroke-width: 4; stroke-linejoin: round; }
.star-eye { fill: #365477; }
.star-smile { fill: none; stroke: #365477; stroke-width: 3.5; stroke-linecap: round; }
.star-blush { fill: #ff9cb0; opacity: .88; }
.eyebrow { margin: 0 0 5px; color: #65a6bf; font-size: .77rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; color: var(--ink); font-size: clamp(1.8rem, 6vw, 2.35rem); font-weight: 900; line-height: 1.15; letter-spacing: -.045em; }
.login-form { text-align: left; }
.login-form label { display: block; margin: 0 0 8px 4px; color: #476584; font-size: .9rem; font-weight: 800; }
.input-wrap { position: relative; }
.input-wrap input { width: 100%; height: 56px; padding: 0 55px 0 18px; border: 2px solid #d7e8f1; border-radius: 17px; outline: none; background: #f8fcff; color: var(--ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.input-wrap input::placeholder { color: #a6b5c7; }
.input-wrap input:focus { border-color: #71cde4; box-shadow: 0 0 0 4px rgba(113, 205, 228, .18); }
.peek-button { position: absolute; top: 6px; right: 7px; width: 43px; height: 43px; border: 0; border-radius: 13px; background: transparent; font-size: 1.12rem; }
.peek-button:hover { background: #eaf7fc; }
.primary-button { display: flex; width: 100%; height: 56px; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; border: 0; border-radius: 17px; background: #ff83a9; box-shadow: 0 5px 0 #e66b91; color: white; font-size: 1rem; font-weight: 900; transition: transform .12s, box-shadow .12s, background .12s; }
.primary-button:hover { transform: translateY(-2px); background: #ff729c; box-shadow: 0 7px 0 #e66b91; }
.primary-button:active { transform: translateY(3px); box-shadow: 0 2px 0 #e66b91; }
.primary-button:disabled { cursor: wait; opacity: .7; }
.message { min-height: 22px; margin: 11px 2px 0; color: #d85d78; font-size: .88rem; font-weight: 700; text-align: center; }
.sprinkles { display: flex; justify-content: space-between; margin: 0 -15px -18px; color: #f3c64d; font-size: 1rem; }
.sprinkles span:nth-child(2) { color: #7ed3df; font-size: .7rem; }

.watch-card { width: min(100%, 920px); padding: 28px; }
.watch-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 4px 20px; }
.brand-logo { display: block; width: clamp(150px, 27vw, 230px); max-height: 104px; object-fit: contain; object-position: left center; }
.quiet-button { flex: 0 0 auto; padding: 11px 15px; border: 2px solid #e3eff4; border-radius: 14px; background: #f6fbfd; color: #647d98; font-size: .85rem; font-weight: 800; }
.quiet-button:hover { border-color: #ffc3d3; background: #fff6f8; color: #b95d7b; }
.channel-picker-wrap { display: grid; grid-template-columns: auto minmax(150px, 1fr); align-items: center; gap: 12px; padding: 0 5px 16px; color: #648098; font-size: .9rem; font-weight: 800; }
.channel-picker-wrap select { min-width: 0; height: 46px; padding: 0 38px 0 14px; border: 2px solid #d7e8f1; border-radius: 14px; outline: none; background: #f8fcff; color: var(--ink); font: inherit; }
.channel-picker-wrap select:focus { border-color: #71cde4; box-shadow: 0 0 0 4px rgba(113, 205, 228, .18); }
.screen-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 5px solid #e3f3f8; border-radius: 23px; background: #25364e; }
video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; background: #25364e; object-fit: contain; }
.video-placeholder { position: absolute; z-index: 2; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 20px; background: radial-gradient(ellipse at center, #425b74 0%, #25364e 85%); color: white; text-align: center; pointer-events: none; transition: opacity .35s; }
.video-placeholder.is-hidden { opacity: 0; }
.video-placeholder p { max-width: 390px; margin: 0; font-size: 1rem; font-weight: 800; }
.play-cloud { display: grid; width: 65px; height: 65px; place-items: center; padding-left: 4px; border: 3px solid rgba(255,255,255,.45); border-radius: 22px 22px 22px 8px; background: #ff83a9; box-shadow: 0 5px 0 #d8668d; color: white; font-size: 1.25rem; }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
@media (max-width: 600px) {
  .page-shell { padding: 24px 13px 32px; }
  .gate-card { padding: 20px 24px 30px; border-radius: 28px; }
  .star-friend { width: 96px; height: 96px; }
  .watch-card { padding: 14px; border-width: 4px; border-radius: 26px; }
  .watch-header { padding: 8px 3px 14px; align-items: flex-start; }
  .channel-picker-wrap { grid-template-columns: 1fr; gap: 6px; padding-bottom: 11px; }
  .quiet-button { padding: 9px 10px; font-size: .78rem; }
  .screen-wrap { border-width: 3px; border-radius: 17px; }
  .brand-logo { width: clamp(135px, 42vw, 190px); max-height: 82px; }
  .airplane-one { right: 7%; }
  .forest-tree-one { left: 1%; width: 45px; }
  .forest-tree-two { right: 1%; width: 58px; }
  .mushroom-one { left: 9%; width: 36px; }
  .mushroom-two { right: 10%; width: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
