/* kids.css — ProjexioVision Kids: un mondo a sé. Cielo colorato, forme morbide, pulsanti enormi.
   Di sera diventa "modalità buonanotte": più scura e più calma. */

body[data-route="kids"] #top, body[data-route="kids"] #tabs, body[data-route="kids"] #sky, body[data-route="kids"] #aurora { display: none; }
body[data-route="kids"]::before { display: none; }
body[data-route="kids"] #app { padding: 0; }

.kidsui {
  --k-ink: #1b1464;
  --k-ink2: #4a4590;
  --k-card: #ffffff;
  --k-pink: #ff4f9a;
  --k-sun: #ffd23f;
  --k-violet: #6a3df0;
  --k-green: #37c871;
  --k-sky: linear-gradient(#1f8fff 0%, #58c4ff 42%, #b6ecff 78%, #e9fbff 100%);
  --k-hill1: #49c96f;
  --k-hill2: #2faf78;
  --k-shadow: rgba(27, 20, 100, .22);
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Varela Round", "Nunito", "Segoe UI", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--k-ink);
}
.kids.night {
  --k-ink: #f1f0ff;
  --k-ink2: #b9bdf2;
  --k-card: #262c86;
  --k-sky: linear-gradient(#070b3a 0%, #151a66 50%, #2b3192 100%);
  --k-hill1: #1c2676;
  --k-hill2: #141c5c;
  --k-shadow: rgba(0, 0, 20, .45);
}
.kidsui h1, .kidsui h2 { font-family: inherit; font-weight: 800; letter-spacing: 0; }
.kidsui :focus-visible { outline: 4px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 8px var(--k-violet); border-radius: 22px; }

.kids { position: relative; min-height: 100dvh; padding-bottom: 150px; overflow: hidden; isolation: isolate; }

/* ---------- scenografia ---------- */
.kids-scene { position: fixed; inset: 0; z-index: -1; background: var(--k-sky); overflow: hidden; pointer-events: none; }
.k-orb { position: absolute; right: 7vw; top: 70px; width: clamp(84px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff7c2, var(--k-sun) 60%); box-shadow: 0 0 0 18px rgba(255, 226, 90, .28), 0 0 0 44px rgba(255, 226, 90, .14); animation: k-bob 5s ease-in-out infinite alternate; }
.night .k-orb { background: radial-gradient(circle at 35% 35%, #fffdf0, #ffe9a6 65%); box-shadow: inset -18px -10px 0 rgba(120, 110, 60, .18), 0 0 0 16px rgba(255, 240, 180, .1), 0 0 80px 10px rgba(255, 240, 180, .25); }
.k-star { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .75; transform: scale(var(--s)); animation: k-twinkle 2.6s var(--d) ease-in-out infinite alternate; }
.night .k-star { background: #fff6c9; }
@keyframes k-twinkle { from { opacity: .25; transform: scale(calc(var(--s) * .6)) rotate(0); } to { opacity: 1; transform: scale(var(--s)) rotate(40deg); } }
/* all'ingresso le stelle si accendono una dopo l'altra */
.waking .k-star { animation: k-pop .6s calc(.5s + var(--d)) var(--ease) both, k-twinkle 2.6s calc(1.2s + var(--d)) ease-in-out infinite alternate; }
@keyframes k-pop { from { opacity: 0; transform: scale(0) rotate(-90deg); } 70% { transform: scale(calc(var(--s) * 1.5)); } }
.k-cloud { position: absolute; left: -240px; width: clamp(130px, 17vw, 230px); opacity: .95; animation: k-drift 70s linear infinite; }
.k-cloud .mascot { width: 100%; }
.k-cloud.c0 { top: 13%; animation-delay: -12s; }
.k-cloud.c1 { top: 34%; width: clamp(90px, 11vw, 150px); animation-duration: 95s; animation-delay: -60s; opacity: .8; }
.k-cloud.c2 { top: 56%; animation-duration: 120s; animation-delay: -30s; opacity: .7; }
.night .k-cloud { opacity: .18; }
@keyframes k-drift { to { transform: translate3d(calc(100vw + 480px), 0, 0); } }
.k-hill { position: absolute; border-radius: 50%; bottom: -34vh; height: 52vh; }
.k-hill.h1 { left: -30vw; width: 110vw; background: var(--k-hill1); }
.k-hill.h2 { right: -40vw; width: 120vw; bottom: -38vh; background: var(--k-hill2); }
@keyframes k-bob { to { transform: translateY(-10px); } }

/* ---------- mascotte ---------- */
.mascot { display: inline-block; line-height: 0; }
.mascot svg { width: 100%; height: auto; overflow: visible; }
.m-body { fill: #fff; stroke: #1b1464; stroke-width: 5; }
.m-screen { fill: #1b1464; }
.m-eye { fill: #6ff3ff; transform-box: fill-box; transform-origin: center; animation: m-blink 4.6s infinite; }
.m-eyes { transform: translate(var(--ex, 0), var(--ey, 0)); transition: transform .25s ease-out; }
.m-glow-line { fill: none; stroke: #6ff3ff; stroke-width: 4; stroke-linecap: round; }
.m-reel circle:first-child { stroke: #1b1464; stroke-width: 5; }
.m-reel.a circle:first-child { fill: #ff4f9a; } .m-reel.b circle:first-child { fill: #2fd6ff; }
.m-reel { transform-box: fill-box; transform-origin: center; animation: spin 7s linear infinite; }
.m-reel.b { animation-duration: 10s; animation-direction: reverse; }
.m-hole { fill: #fff; }
.m-limb { fill: none; stroke: #1b1464; stroke-width: 10; stroke-linecap: round; }
.m-hand { fill: #ffd23f; stroke: #1b1464; stroke-width: 5; }
.m-foot { fill: #1b1464; }
.m-lens { fill: #ffd23f; stroke: #1b1464; stroke-width: 5; } .m-lens-in { fill: #fff7cf; } .m-spark { fill: #fff; }
.m-shadow { fill: rgba(27, 20, 100, .16); transform-box: fill-box; transform-origin: center; animation: m-shadow 2.8s ease-in-out infinite alternate; }
.m-float { animation: m-bob 2.8s ease-in-out infinite alternate; }
.m-arm { transform-origin: 158px 104px; animation: m-wave .7s ease-in-out infinite alternate; }
.m-star { fill: #ffd23f; stroke: #ffd23f; stroke-width: 12; stroke-linejoin: round; }
.m-cloud { fill: #fff; }
.m-ink { fill: #1b1464; transform-box: fill-box; transform-origin: center; animation: m-blink 5.2s 1s infinite; }
.m-line { fill: none; stroke: #1b1464; stroke-width: 4; stroke-linecap: round; }
.m-cheek { fill: #ff7fb0; opacity: .7; }
.m-closed { display: none; }
.mascot[data-mood="sleep"] .m-open { display: none; }
.mascot[data-mood="sleep"] .m-closed { display: block; }
.mascot[data-mood="sleep"] .m-arm { animation: none; transform: rotate(70deg); }
.mascot[data-mood="sleep"] .m-reel { animation-play-state: paused; }
.mascot[data-mood="sleep"] .m-lens-in { fill: #c9b45a; }
.mascot.boing { animation: m-boing .7s var(--ease); }
@keyframes m-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.08); } }
@keyframes m-bob { to { transform: translateY(-7px); } }
@keyframes m-shadow { to { transform: scaleX(.86); opacity: .7; } }
@keyframes m-wave { from { transform: rotate(-6deg); } to { transform: rotate(16deg); } }
@keyframes m-boing { 0% { transform: none; } 30% { transform: translateY(-26px) scale(1.06, .94) rotate(-4deg); } 60% { transform: translateY(0) scale(.94, 1.06); } 100% { transform: none; } }

/* ---------- barra in alto ---------- */
.kids-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px clamp(14px, 4vw, 48px); }
.kids-home { display: inline-flex; align-items: center; gap: 10px; border-radius: 24px; padding: 4px 10px 4px 4px; }
.kids-home .mascot { width: 54px; }
.kids-word { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: #fff; text-shadow: 0 3px 0 var(--k-shadow); white-space: nowrap; }
.kids-word span { color: var(--k-sun); margin-left: 6px; }
.kids-parent { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .28); border: 2px solid rgba(255, 255, 255, .7); color: #fff; font-weight: 700; font-size: 15px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kids-parent .ic { width: 20px; height: 20px; }
.kids-parent.solo { background: var(--k-violet); border-color: #fff; margin-top: 10px; }
.night-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff6c9; font-weight: 700; font-size: 14px; }
.night-tag .ic { width: 18px; height: 18px; }

/* ---------- saluto ---------- */
.kids-view { position: relative; z-index: 1; padding: 0 clamp(14px, 4vw, 48px); max-width: 1500px; margin: 0 auto; }
.kids-hello { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 28px); margin: 4px 0 8px; }
.guide-bot { flex: none; width: clamp(120px, 17vw, 210px); border-radius: 40px; touch-action: manipulation; }
.guide-bot .mascot { width: 100%; }
.bubble { position: relative; padding: clamp(14px, 2vw, 24px) clamp(18px, 2.6vw, 32px); border-radius: 32px; background: #fff; color: #1b1464; font-size: clamp(20px, 3vw, 38px); font-weight: 800; line-height: 1.12; box-shadow: 0 8px 0 var(--k-shadow); max-width: 18ch; animation: pop .5s var(--ease) both; }
.bubble::before { content: ""; position: absolute; left: -14px; top: 50%; width: 30px; height: 30px; margin-top: -15px; background: #fff; border-radius: 6px; transform: rotate(45deg); }

/* ---------- sezioni, pianeti, schede ---------- */
.kids-sec { margin-top: clamp(22px, 3.5vw, 40px); }
.kids-sec h2 { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 14px; border-radius: 999px; background: var(--k-violet); color: #fff; font-size: clamp(20px, 2.4vw, 28px); box-shadow: 0 5px 0 var(--k-shadow); }
.kids-sec h2 .ic { width: 26px; height: 26px; stroke-width: 2.4; }
.kids-sec:nth-of-type(2) h2 { background: var(--k-pink); } .kids-sec:nth-of-type(3) h2 { background: #ff8a2b; } .kids-sec:nth-of-type(4) h2 { background: var(--k-green); }
.planets { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 44px); padding: 30px 6px 6px; }
.planet { display: grid; justify-items: center; gap: 8px; width: clamp(140px, 20vw, 210px); border-radius: 40px; padding: 6px; text-align: center; touch-action: manipulation; transition: transform .25s var(--ease); }
.planet:hover { transform: translateY(-8px) rotate(-2deg); } .planet:active { transform: scale(.93); }
.planet-ball { position: relative; display: grid; place-items: center; width: clamp(112px, 15vw, 164px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, hsl(var(--ph) 100% 82%), hsl(var(--ph) 90% 58%) 52%, hsl(calc(var(--ph) + 40) 85% 40%)); box-shadow: inset -14px -16px 0 rgba(0, 0, 40, .14), 0 10px 0 var(--k-shadow); animation: k-bob 3.4s ease-in-out infinite alternate; }
.planet:nth-child(2n) .planet-ball { animation-delay: -1.4s; } .planet:nth-child(3n) .planet-ball { animation-delay: -2.2s; }
.planet-logo { font-size: clamp(44px, 6vw, 68px); line-height: 1; font-weight: 800; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 40, .25); }
.planet-ring { position: absolute; inset: 32% -22%; border-radius: 50%; border: 7px solid rgba(255, 255, 255, .85); border-top-color: transparent; transform: rotate(-16deg); pointer-events: none; }
/* il canale in onda pulsa */
.planet.onair .planet-ball::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 5px solid #fff; opacity: 0; animation: k-pulse 2s ease-out infinite; }
@keyframes k-pulse { from { opacity: .9; transform: scale(.92); } to { opacity: 0; transform: scale(1.28); } }
.planet-name { font-size: clamp(17px, 2vw, 22px); font-weight: 800; color: #fff; text-shadow: 0 2px 0 var(--k-shadow); line-height: 1.1; }
.planet-now { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 12px; border-radius: 999px; background: var(--k-card); color: var(--k-ink); font-size: 13.5px; font-weight: 700; }
.planet-now span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.planet-now.off { opacity: .8; }
.planet .prog { width: 78%; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .45); }
.planet .prog i { background: var(--k-sun); box-shadow: none; border-radius: 8px; }
.kcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 18vw, 210px), 1fr)); gap: clamp(16px, 2.4vw, 30px); padding: 22px 0 6px; }
.kcard { position: relative; display: grid; gap: 10px; border-radius: 34px; text-align: center; touch-action: manipulation; transition: transform .25s var(--ease); }
.kcard:hover { transform: translateY(-8px) rotate(1.5deg); } .kcard:active { transform: scale(.94); }
.kcard .poster { border-radius: 30px; border: 6px solid #fff; box-shadow: 0 10px 0 var(--k-shadow); background: #dfe9ff; }
.night .kcard .poster { border-color: #4a51c4; }
.kcard-play { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--k-sun); color: #1b1464; box-shadow: 0 4px 0 rgba(27, 20, 100, .35); }
.kcard-play .ic { width: 26px; height: 26px; fill: currentColor; }
.kcard-title { font-size: clamp(16px, 1.8vw, 20px); font-weight: 800; line-height: 1.15; color: #fff; text-shadow: 0 2px 0 var(--k-shadow); padding: 0 6px; }

/* ---------- pulsanti enormi ---------- */
.kidsui .bigbtn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 68px; padding: 0 30px; border-radius: 999px; background: var(--k-violet); color: #fff; font-size: 24px; font-weight: 800; box-shadow: 0 7px 0 var(--k-shadow); touch-action: manipulation; transition: transform .12s; }
.kidsui .bigbtn:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--k-shadow); }
.kidsui .bigbtn .ic { width: 30px; height: 30px; stroke-width: 2.6; }
.kidsui .bigbtn.play { min-height: 96px; padding: 0 46px; font-size: clamp(28px, 4vw, 40px); background: var(--k-pink); } .kidsui .bigbtn.play .ic { width: 44px; height: 44px; fill: currentColor; }
.kidsui .bigbtn.back { background: #fff; color: #1b1464; margin: 6px 0 16px; min-height: 58px; font-size: 20px; padding: 0 24px 0 16px; }
.kidsui .bigbtn.yes { background: var(--k-green); } .kidsui .bigbtn.no { background: #4b52c9; }

/* ---------- scheda, vuoto, basta per oggi ---------- */
.kitem { display: grid; grid-template-columns: clamp(180px, 28vw, 340px) minmax(0, 1fr); gap: clamp(18px, 4vw, 52px); align-items: center; }
.kitem-poster .poster { border-radius: 40px; border: 8px solid #fff; box-shadow: 0 12px 0 var(--k-shadow); transform: rotate(-3deg); }
.kitem-text { display: grid; gap: 16px; justify-items: start; }
.kitem-text h1 { font-size: clamp(30px, 5.4vw, 64px); color: #fff; text-shadow: 0 4px 0 var(--k-shadow); line-height: 1.02; overflow-wrap: anywhere; }
.kitem-meta { padding: 6px 16px; border-radius: 999px; background: var(--k-card); color: var(--k-ink); font-weight: 700; }
.kcredits { max-width: 60ch; padding: 10px 16px; border-radius: 20px; background: rgba(255, 255, 255, .86); color: #1b1464; font-size: 14px; }
.kcredits summary { cursor: pointer; font-weight: 700; } .kcredits p { margin-top: 8px; overflow-wrap: anywhere; }
.kids-empty, .kids-stop { display: grid; justify-items: center; gap: 12px; text-align: center; margin: 5vh auto 0; padding: 30px 24px; max-width: 560px; border-radius: 44px; background: var(--k-card); box-shadow: 0 10px 0 var(--k-shadow); }
.kids-empty .mascot { width: 170px; } .kids-stop .mascot { width: 180px; }
.kids-empty h2, .kids-stop h2 { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.1; }
.kids-empty p, .kids-stop p { font-size: 18px; color: var(--k-ink2); font-weight: 600; }
.kids-loading { display: grid; place-items: center; min-height: 40vh; } .kids-loading .mascot { width: 120px; animation: spin 2.4s linear infinite; }

/* ---------- TV dei bambini ---------- */
.kids-tv .live { padding: 0; grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 360px); }
.kids-tv .screen { border-radius: 36px; border: 8px solid #fff; box-shadow: 0 12px 0 var(--k-shadow); }
.kids-tv .nowinfo { padding: 20px 6px 0; }
.kids-tv .nowinfo h1 { color: #fff; text-shadow: 0 3px 0 var(--k-shadow); font-size: clamp(26px, 3.6vw, 44px); }
.kids-tv .nowinfo-syn, .kids-tv .nowinfo-name, .kids-tv .dim { color: #fff; }
.kids-tv .nowinfo-next { background: var(--k-card); border: 0; color: var(--k-ink); box-shadow: 0 5px 0 var(--k-shadow); border-radius: 22px; } .kids-tv .nowinfo-next .dim { color: var(--k-ink2); }
.kids-tv .pill { border-color: rgba(255, 255, 255, .7); color: #fff; }
.kids-tv .chnum { color: #fff; text-shadow: none; }
.kids-tv .chlist { background: var(--k-card); border: 0; border-radius: 36px; box-shadow: 0 10px 0 var(--k-shadow); -webkit-backdrop-filter: none; backdrop-filter: none; top: 14px; max-height: calc(100dvh - 28px); }
.kids-tv .chlist-head { border-color: rgba(27, 20, 100, .12); } .kids-tv .chlist-head h2 { color: var(--k-ink); }
.kids-tv .chrow { min-height: 78px; border-radius: 26px; color: var(--k-ink); grid-template-columns: 0 54px minmax(0, 1fr); }
.kids-tv .chrow .chnum { visibility: hidden; width: 0; overflow: hidden; }
.kids-tv .chrow .chlogo { min-width: 54px; height: 54px; border-radius: 50%; font-size: 28px; border: 0; background: hsl(var(--ah) 95% 62%); }
.kids-tv .chrow .chname { color: var(--k-ink2); font-size: 13px; } .kids-tv .chrow .chnow { font-family: inherit; font-weight: 800; font-size: 17px; }
.kids-tv .chrow[aria-selected="true"] { background: var(--k-sun); border-color: transparent; box-shadow: none; color: #1b1464; } .kids-tv .chrow[aria-selected="true"] .chname { color: #1b1464; }
.kids-tv .chrow .prog { height: 6px; background: rgba(27, 20, 100, .16); } .kids-tv .chrow .prog i { background: var(--k-pink); box-shadow: none; }
.vplayer-kids .vplayer-top { background: #1b1464; border: 0; } .vplayer-kids .vplayer-top strong { font-family: ui-rounded, "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif; font-weight: 800; }
.vplayer-kids .iconbtn.big { background: #fff; color: #1b1464; width: 56px; height: 56px; }

/* ---------- cancello dei genitori e pannello ---------- */
.gate-back { position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; padding: 16px; background: rgba(15, 12, 70, .72); animation: fade .2s ease both; }
.gate { position: relative; display: grid; justify-items: center; gap: 12px; width: min(100%, 460px); max-height: 92dvh; overflow: auto; padding: 30px 26px 26px; border-radius: 40px; background: #fff; color: #1b1464; text-align: center; box-shadow: 0 12px 0 rgba(0, 0, 40, .3); animation: pop .35s var(--ease) both; }
.gate h2 { font-size: 26px; line-height: 1.1; } .gate p { font-size: 17px; font-weight: 600; color: #4a4590; }
.gate-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #ece8ff; color: var(--k-violet); } .gate-ic .ic { width: 30px; height: 30px; }
.gate-x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ece8ff; color: #1b1464; }
.gate-body { display: grid; justify-items: center; gap: 14px; width: 100%; }
.holdbtn { position: relative; overflow: hidden; width: 100%; min-height: 76px; border-radius: 999px; background: #ece8ff; color: #1b1464; font-size: 20px; font-weight: 800; touch-action: none; user-select: none; -webkit-user-select: none; }
.hold-fill { position: absolute; inset: 0; background: var(--k-violet); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.holdbtn.holding .hold-fill { transform: scaleX(1); transition: transform 2s linear; }
.hold-txt { position: relative; mix-blend-mode: normal; } .holdbtn.holding .hold-txt { color: #fff; }
.gate-sum { font-size: 44px !important; font-weight: 800 !important; color: #1b1464 !important; font-variant-numeric: tabular-nums; }
.gate-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
.gate-opts .bigbtn { font-size: 30px; padding: 0; }
.parents { justify-items: stretch; text-align: left; gap: 16px; }
.pp-set { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; } .pp-set legend { font-weight: 800; font-size: 17px; padding: 0; margin-bottom: 4px; }
.pp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.parents .chip { background: #ece8ff; border: 0; color: #1b1464; min-height: 46px; min-width: 52px; font-size: 16px; }
.parents .chip[aria-pressed="true"] { background: var(--k-violet); color: #fff; box-shadow: none; }
.pp-note { font-size: 14.5px !important; }
.parents .btn { background: #ece8ff; border: 0; color: #1b1464; min-height: 50px; } .parents .btn.primary { background: var(--k-violet); color: #fff; box-shadow: none; } .parents .btn.primary .ic { fill: none; }
.pp-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 6px; }
.kids-more { position: fixed; inset: 0; z-index: 97; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 20px; text-align: center; background: linear-gradient(rgba(31, 20, 120, .92), rgba(90, 40, 200, .92)); color: #fff; animation: fade .3s ease both; }
.kids-more .mascot { width: 150px; animation: m-boing 1s var(--ease) .2s both; }
.kids-more h2 { font-size: clamp(30px, 6vw, 56px); } .kids-more p { font-size: 20px; font-weight: 700; }
.kids-more-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 8px; }
.kids-more .bigbtn { min-height: 84px; font-size: 26px; }

@media (max-width: 960px) {
  .kids-tv .live { display: block; }
  .kids-tv .chlist { margin-top: 16px; }
  .kids-tv .screen { top: 8px; border-width: 5px; border-radius: 26px; }
  .kids-tv .chlist { border-radius: 30px; }
}
@media (max-width: 620px) {
  .kids-parent span { display: none; } .kids-parent { padding: 0; width: 48px; justify-content: center; }
  .night-tag span { display: none; }
  .kids-hello { align-items: flex-end; }
  .planets { justify-content: space-around; gap: 14px 6px; }
  .planet { width: 46%; }
  .kcards { grid-template-columns: 1fr 1fr; }
  .kitem { grid-template-columns: 1fr; justify-items: center; text-align: center; } .kitem-poster { width: 56vw; } .kitem-text { justify-items: center; }
  .kidsui .bigbtn.play { width: 100%; }
  .k-cloud.c2 { display: none; }
  .kids-more-btns { flex-direction: column; width: 100%; } .kids-more .bigbtn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .k-cloud { animation: none; left: 12vw; } .k-cloud.c1 { left: 58vw; } .k-cloud.c2 { left: 30vw; }
  .holdbtn.holding .hold-fill { transition-duration: 2s !important; }
}
/* di notte braccia e piedi del robot si schiariscono, per restare visibili sul cielo scuro */
.night .m-limb { stroke: #8f97ff; } .night .m-foot { fill: #8f97ff; } .night .m-body, .night .m-hand, .night .m-lens, .night .m-reel circle:first-child { stroke: #0d0f45; }
.kids-stop .m-limb, .kids-empty .m-limb, .gate .m-limb { stroke: #1b1464; } .kids-stop .m-foot { fill: #1b1464; }
.night .kids-stop .m-limb { stroke: #8f97ff; } .night .kids-stop .m-foot { fill: #8f97ff; }
/* leggibilità: i nomi stanno su una targhetta, il cielo sotto può essere chiaro o scuro */
.kids { background: var(--k-hill2); }
.planet-name, .kcard-title { justify-self: center; padding: 5px 14px; border-radius: 16px; background: var(--k-card); color: var(--k-ink); text-shadow: none; box-shadow: 0 4px 0 var(--k-shadow); max-width: 100%; }
.planet > * { min-width: 0; max-width: 100%; }
.planet-now { overflow: hidden; background: rgba(255, 255, 255, .0); color: #fff; text-shadow: 0 1px 0 var(--k-shadow); padding: 0 4px; }
.planet-now span:last-child { min-width: 0; }
@media (max-width: 620px) { .k-orb { top: 84px; right: -18px; } }
