/* Parent pages: the grown-up side of the Electric style (design "Keanu TV
   Screens", 2026-09-25). One rule across the product: kids get the blue
   ground, grown-ups get cream. Same type, pills and lime "tv" sticker, so it
   reads as one app, but a parent always knows which side they're on. */
/* Bricolage Grotesque, variable (weight and optical size: big headlines set
   tighter, as in the design). Self-hosted from @fontsource-variable, OFL. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blue: #1e64ef;
  --blue-text: #0a54dd;
  --blue-ink: #0036b0;
  --blue-soft: rgba(30, 100, 239, 0.1);
  --navy: #00195a;
  --navy-2: #002277;
  --lime: #c0f447;
  --cream: #fff7e8;
  --white: #fff;
  --line: rgba(0, 25, 90, 0.08);
  --line-strong: rgba(0, 25, 90, 0.2);
  --muted: rgba(0, 25, 90, 0.6);
  --error: #b71a18;
  --error-bg: #fde8e4;
  --font: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --shadow: 0 10px 30px -18px rgba(0, 10, 40, 0.3);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font: 500 16px/1.4 var(--font); background: var(--cream); color: var(--navy); -webkit-font-smoothing: antialiased; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: var(--blue-text); }
a:hover { color: var(--navy-2); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
b, strong { font-weight: 800; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.error { color: var(--error); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 10px; }

/* ---------- header ---------- */
.bar {
  width: 100%; max-width: 600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 20px 8px;
}
.bar__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; }
.bar__brand:hover { color: var(--navy); }
.sticker {
  display: inline-block; flex: 0 0 auto;
  font-size: 16px; font-weight: 800; line-height: 1.2; text-transform: lowercase;
  background: var(--lime); color: var(--navy-2);
  padding: 3px 9px; border-radius: 10px; transform: rotate(-8deg);
}
.bar__word { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.bar__step { font-size: 15px; font-weight: 600; color: var(--muted); }
.pill-link {
  display: inline-grid; place-items: center; height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--white); color: var(--navy);
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.pill-link:hover { color: var(--navy); background: #fffdf8; }
.steps { display: flex; gap: 6px; padding: 4px 8px 0; }
.steps i { flex: 1; height: 6px; border-radius: 9px; background: rgba(0, 25, 90, 0.12); }
.steps i.is-done { background: var(--blue); }

.page { flex: 1; width: 100%; max-width: 600px; margin: 0 auto; padding: 0 12px 40px; }
.page-title { padding: 18px 8px 14px; font-size: 38px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; text-transform: lowercase; }
.page-title--step { padding-top: 28px; font-size: 38px; line-height: 0.98; }
.lede { padding: 0 8px; font-size: 17px; font-weight: 500; line-height: 1.4; color: rgba(0, 25, 90, 0.75); text-wrap: pretty; }
.page-title + .lede { margin-top: -4px; }
.back { display: flex; align-items: center; gap: 12px; padding: 20px 8px 0; color: var(--muted); font-size: 16px; font-weight: 700; text-decoration: none; }
.back:hover { color: var(--navy); }
.back__arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--navy); font-size: 20px; font-weight: 800; }
.back + .page-title { padding-top: 14px; padding-bottom: 16px; }

/* ---------- cards and rows ---------- */
.card { background: var(--white); border-radius: 30px; padding: 20px 16px; margin-top: 12px; }
.card > * + * { margin-top: 12px; }
.card--narrow { padding: 20px; }
.card h1, .card h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; text-transform: lowercase; }
.card h3 { font-size: 17px; font-weight: 800; }
.card__head { padding: 0 4px; display: flex; flex-direction: column; gap: 2px; }
.card__head p { font-size: 15px; color: var(--muted); }
.card__row { padding: 0 4px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card--quiet { background: transparent; border: 2px dashed var(--line-strong); }

.rows { display: flex; flex-direction: column; }
.row-link {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  color: var(--navy); text-decoration: none; border-radius: 18px;
}
.row-link:hover { color: var(--navy); background: rgba(0, 25, 90, 0.03); }
.row-link + .row-link { border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; }
.row-link__icon {
  flex: 0 0 40px; height: 40px; border-radius: 14px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-text);
}
.row-link__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row-link__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-link__title { font-size: 17px; font-weight: 700; }
.row-link__sub { font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chev { font-size: 20px; font-weight: 700; opacity: 0.35; }
.dot { flex: 0 0 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--blue); }
.dot--muted { background: rgba(0, 25, 90, 0.3); }
.facts { background: var(--white); border-radius: 28px; padding: 6px 8px; margin-top: 10px; }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 12px 10px; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact__title { font-size: 16px; font-weight: 800; }
.fact__text { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--muted); }

/* ---------- forms ---------- */
label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
input[type="text"], input[type="email"], input[type="url"] {
  font: inherit; font-size: 18px; font-weight: 600; color: var(--navy);
  width: 100%; height: 60px; padding: 0 16px;
  background: var(--white); border: 2px solid var(--line-strong); border-radius: 20px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus { outline: none; border-color: var(--blue); }
input::placeholder { color: rgba(0, 25, 90, 0.4); font-weight: 500; }
input[readonly] { color: var(--muted); }
.field { position: relative; display: flex; align-items: center; height: 60px; border-radius: 20px; background: var(--white); border: 2px solid var(--blue); }
.field input { height: 56px; border: 0; background: transparent; border-radius: 18px; padding-right: 8px; }
.field input:focus { outline: none; }
.field__paste {
  flex: 0 0 auto; margin-right: 6px; height: 44px; padding: 0 16px; border: 0; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue-text); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.stack { display: flex; flex-direction: column; gap: 10px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.note { padding: 0 4px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.aside { padding: 14px 12px 0; font-size: 15px; font-weight: 500; line-height: 1.4; color: rgba(0, 25, 90, 0.7); text-wrap: pretty; }
.fine { padding: 18px 12px 0; font-size: 13px; font-weight: 500; line-height: 1.45; color: rgba(0, 25, 90, 0.55); text-wrap: pretty; }

/* ---------- buttons ---------- */
button, .button {
  font: inherit; cursor: pointer; border: 0; text-decoration: none;
  display: inline-grid; place-items: center; text-align: center;
  height: 56px; padding: 0 24px; border-radius: 999px;
  background: var(--blue); color: var(--white); font-size: 18px; font-weight: 800;
}
.button:hover { color: var(--white); }
button:disabled { opacity: 0.4; cursor: default; }
.button.dark, button.dark { background: var(--navy); height: 58px; }
.button.secondary, button.secondary { background: transparent; color: var(--navy); border: 2px solid var(--line-strong); font-size: 16px; font-weight: 700; }
.button.secondary:hover { color: var(--navy); }
button.danger { background: var(--error); }
button.linklike, .linklike {
  display: inline; height: auto; padding: 0; background: none; border-radius: 0;
  color: var(--blue-text); font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px;
}
button.linklike.muted { color: var(--muted); }
.wide { width: 100%; }
.skip { display: block; padding: 22px 0 0; text-align: center; font-size: 16px; font-weight: 600; color: var(--muted); text-decoration: none; }
.skip:hover { color: var(--navy); }
.dashed {
  display: grid; place-items: center; width: 100%;
  height: 52px; border-radius: 999px; border: 2px dashed rgba(30, 100, 239, 0.5);
  color: var(--blue-text); font-size: 16px; font-weight: 800; text-decoration: none; background: transparent;
}
.dashed:hover { color: var(--blue-ink); background: rgba(30, 100, 239, 0.04); }
.dashed--big { height: 72px; margin-top: 14px; border-radius: 28px; border-color: var(--line-strong); color: var(--navy); font-size: 18px; }
.dashed--big:hover { color: var(--navy); }

/* toggles: a checkbox drawn as a switch */
.switch { position: relative; flex: 0 0 auto; display: inline-block; width: 52px; height: 32px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(0, 25, 90, 0.18); transition: background 0.2s ease; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--white); transition: transform 0.2s ease; box-shadow: 0 1px 3px rgba(0, 10, 40, 0.2); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* chips: one tap, every option in view */
.chips { display: flex; gap: 6px; }
.chip { position: relative; flex: 1; min-width: 0; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: grid; place-items: center; height: 44px; border-radius: 14px;
  background: var(--cream); font-size: 15px; font-weight: 700; white-space: nowrap;
}
.chip input:checked + span { background: var(--navy); color: var(--white); font-weight: 800; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- flash and toast ---------- */
.flash--error { margin: 12px 0 0; padding: 14px 16px; border-radius: 20px; background: var(--error-bg); color: var(--error); font-weight: 700; }
.toast {
  position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30;
  max-width: 576px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 24px;
  background: var(--navy); color: var(--white); box-shadow: 0 20px 40px -20px rgba(0, 10, 40, 0.6);
  animation: toast-in 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.toast.is-error { background: var(--error); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.toast__tick { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--navy); font-weight: 800; }
.toast.is-error .toast__tick { background: var(--white); color: var(--error); }
.toast__text { display: flex; flex-direction: column; }
.toast__title { font-size: 16px; font-weight: 800; }
.toast__sub { font-size: 14px; font-weight: 500; opacity: 0.75; }

/* ---------- dashboard: one card per kid (design 02, 05) ---------- */
.kid { background: var(--white); border-radius: 34px; overflow: hidden; margin-top: 0; }
.kid + .kid { margin-top: 14px; }
.kid__head { background: var(--blue); color: var(--white); padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.kid__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.kid__name { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; text-transform: lowercase; overflow-wrap: anywhere; }
.kid__seen { margin-top: 2px; font-size: 15px; font-weight: 500; opacity: 0.8; }
.kid__today { display: flex; flex-direction: column; gap: 6px; }
.kid__today-line { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; }
.kid__today-line span:last-child { opacity: 0.7; }
.meter { display: block; width: 100%; height: 10px; border: 0; border-radius: 9px; overflow: hidden; background: rgba(255, 255, 255, 0.2); appearance: none; -webkit-appearance: none; }
.meter::-webkit-progress-bar { background: rgba(255, 255, 255, 0.2); border-radius: 9px; }
.meter::-webkit-progress-value { background: var(--lime); border-radius: 9px; }
.meter::-moz-progress-bar { background: var(--lime); border-radius: 9px; }
.kid__menu { position: relative; flex: 0 0 auto; }
.kid__menu summary {
  list-style: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.16);
  font-size: 18px; font-weight: 800; letter-spacing: 1px;
}
.kid__menu summary::-webkit-details-marker { display: none; }
.kid__menu[open] summary { background: rgba(255, 255, 255, 0.3); }
.kid__menu-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 260px;
  padding: 8px; border-radius: 22px; background: var(--white); color: var(--navy); box-shadow: 0 20px 50px -20px rgba(0, 10, 40, 0.5);
  display: flex; flex-direction: column;
}
.kid__menu-list form { display: block; }
.kid__menu-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 14px; font-size: 16px; font-weight: 700; }
.kid__menu-list button {
  width: 100%; height: auto; padding: 12px 14px; border-radius: 14px; justify-items: start; text-align: left;
  background: transparent; color: var(--navy); font-size: 16px; font-weight: 700;
}
.kid__menu-list button:hover { background: rgba(0, 25, 90, 0.05); }
.kid__menu-list .danger-text { color: var(--error); }
.kid__body { padding: 16px 16px 6px; display: flex; flex-direction: column; gap: 10px; }
.label { padding-left: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(0, 25, 90, 0.55); }
.pause { display: flex; gap: 6px; }
.pause button { flex: 1; min-width: 0; height: 48px; padding: 0 4px; border-radius: 16px; background: var(--cream); color: var(--navy); font-size: 15px; font-weight: 700; white-space: nowrap; }
.pause button:nth-child(n + 2) { flex: 1.3; }
.pause--blue button { height: 52px; border-radius: 18px; background: var(--blue); color: var(--white); }
.paused { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--lime); }
.paused p { font-size: 15px; font-weight: 600; line-height: 1.35; }
.paused button { flex: 0 0 auto; height: 44px; padding: 0 18px; background: var(--navy); font-size: 15px; }
.kid__rows { padding: 8px 8px 0; }
.kid__note { padding: 4px 16px 0; }
.kid__lists { margin-top: 8px; border-top: 8px solid var(--cream); padding: 18px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.kid__lists-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.kid__lists-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-transform: lowercase; }
.kid__lists-head span { font-size: 14px; font-weight: 600; color: rgba(0, 25, 90, 0.55); }
.lists { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.list { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 20px; background: var(--cream); }
.list.is-dragging { opacity: 0.6; box-shadow: var(--shadow); }
.list__grip { flex: 0 0 auto; width: 28px; height: 44px; margin: -4px -4px -4px 0; border: 0; padding: 0; background: none; color: var(--navy); opacity: 0.3; font-size: 16px; font-weight: 800; letter-spacing: -2px; cursor: grab; touch-action: none; border-radius: 8px; }
.list__grip:hover { opacity: 0.6; }
.list__thumb { flex: 0 0 56px; height: 56px; border-radius: 14px; overflow: hidden; background: #d0dff9; }
.list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.list__body { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--navy); text-decoration: none; }
.list__body:hover { color: var(--navy); }
.list__title { font-size: 17px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list__sub { font-size: 14px; font-weight: 500; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list__warn { font-size: 13px; font-weight: 700; color: var(--error); }
.alerts button {
  height: 36px; padding: 0 12px 0 10px; border-radius: 999px; display: flex; gap: 6px; align-items: center;
  background: transparent; color: var(--muted); border: 2px solid var(--line-strong); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.alerts button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(0, 25, 90, 0.3); }
.alerts button[aria-pressed="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
.alerts button[aria-pressed="true"]::before { background: var(--lime); }

/* The Plus offer: its own lime card, where the parent reached for more (design 05) */
.plus-card { margin-top: 6px; background: var(--lime); color: var(--navy); border-radius: 26px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.plus-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plus-card h3, .plus-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; text-transform: lowercase; }
.plus-card p { font-size: 15px; font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.plus-tag { flex: 0 0 auto; font-size: 13px; font-weight: 800; background: var(--navy); color: var(--white); padding: 4px 10px; border-radius: 999px; }
.benefits { display: flex; flex-wrap: wrap; gap: 6px; }
.benefits span { background: rgba(255, 255, 255, 0.6); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.plus-card .button { height: 52px; background: var(--navy); font-size: 17px; }
.plus-card__price { text-align: center; font-size: 14px !important; font-weight: 600 !important; }
.more-kid {
  margin-top: 14px; padding: 18px 20px; border-radius: 28px; border: 2px dashed var(--line-strong);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--navy); text-decoration: none;
}
.more-kid:hover { color: var(--navy); }
.more-kid__title { font-size: 18px; font-weight: 800; }
.more-kid__sub { font-size: 14px; font-weight: 500; color: var(--muted); }
.promise { margin: 16px 8px 0; display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--white); border-radius: 22px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.promise .dot { margin-top: 0; }

/* "Waiting for your OK" (S12), "New in lists you follow" */
.requests { margin-top: 0; margin-bottom: 14px; }
.request + .request { border-top: 1px solid var(--line); padding-top: 12px; }
.request__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.request__actions form { display: contents; }
.request__actions button, .request__actions .button { height: 44px; padding: 0 16px; font-size: 15px; }
.newvids, .videos { list-style: none; margin: 0; padding: 0; }
.newvids li, .videos li { display: flex; gap: 12px; align-items: center; padding: 8px 4px; }
.newvids li + li, .videos li + li { border-top: 1px solid var(--line); }
.newvids img, .videos img { flex: 0 0 auto; width: 72px; height: 44px; border-radius: 12px; object-fit: cover; background: #d0dff9; }
.newvids__text, .videos__text { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 15px; font-weight: 600; line-height: 1.25; }
.newvids__text > span:first-child, .videos__text > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.videos li.is-blocked img, .videos li.is-blocked .videos__text > span:first-child { opacity: 0.45; }
button.small { height: 38px; padding: 0 14px; font-size: 14px; }

/* ---------- a kid's link (design 01b) ---------- */
.linkcard { margin: 22px 8px 0; padding: 20px; border-radius: 32px; background: var(--blue); color: var(--white); display: flex; flex-direction: column; gap: 16px; align-items: center; }
.qr { margin: 0; width: 180px; height: 180px; padding: 14px; border-radius: 24px; background: var(--white); }
.qr svg { display: block; width: 100%; height: 100%; }
.linkcard__caption { font-size: 17px; font-weight: 700; text-align: center; }
.or { width: 100%; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; opacity: 0.6; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.linkcard__actions { width: 100%; display: flex; gap: 8px; }
.linkcard__actions button { height: 54px; font-size: 17px; }
.linkcard__actions .share { flex: 1; background: var(--cream); color: var(--blue-ink); }
.linkcard__actions .copy { background: transparent; border: 2px solid rgba(255, 255, 255, 0.5); font-weight: 700; }
.keycard { margin: 14px 8px 0; padding: 16px 18px; border-radius: 24px; background: var(--white); display: flex; gap: 14px; align-items: flex-start; }
.keycard__icon { flex: 0 0 40px; height: 40px; border-radius: 14px; background: var(--lime); display: grid; place-items: center; }
.keycard__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.keycard__title { font-size: 17px; font-weight: 800; }
.keycard__text { margin-top: 4px; font-size: 15px; font-weight: 500; line-height: 1.4; color: rgba(0, 25, 90, 0.7); text-wrap: pretty; }

/* ---------- add a list (design 01a) ---------- */
.addform { padding: 22px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.help { margin: 24px 8px 0; padding: 20px; border-radius: 28px; background: var(--white); display: flex; flex-direction: column; gap: 14px; }
.help__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.help__head h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.help__head span { font-size: 14px; font-weight: 700; color: rgba(0, 25, 90, 0.5); }
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: flex; flex-direction: column; gap: 10px; }
.numbered li { counter-increment: n; display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; }
.numbered li::before { content: counter(n); flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 800; }
.callout { padding: 12px 14px; border-radius: 18px; background: var(--cream); font-size: 15px; font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.help__note { font-size: 15px; font-weight: 500; line-height: 1.4; color: rgba(0, 25, 90, 0.7); }

/* ---------- controls (design 03) ---------- */
.ctl { margin-top: 12px; background: var(--white); border-radius: 30px; padding: 20px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.ctl:first-of-type { margin-top: 0; }
.ctl__head { padding: 0 4px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ctl__head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; text-transform: lowercase; }
.ctl__head p { margin-top: 2px; font-size: 15px; font-weight: 500; color: var(--muted); }
.ctl__group { display: flex; flex-direction: column; gap: 8px; }
.ctl__group-label { padding: 0 4px; font-size: 15px; font-weight: 700; }
.ctl__preview { background: rgba(30, 100, 239, 0.08); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.ctl__preview-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.ctl__preview-quote { font-size: 18px; font-weight: 800; color: var(--blue-text); }
.ctl__preview-note { font-size: 14px; font-weight: 500; color: var(--muted); }
.night { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--cream); border-radius: 20px; padding: 12px 12px 12px 16px; }
.night__label { display: flex; flex-direction: column; font-size: 16px; font-weight: 700; white-space: nowrap; }
.night__label span { font-size: 13px; font-weight: 500; color: var(--muted); }
.night__times { display: flex; align-items: center; gap: 6px; }
.night__times span { font-weight: 700; opacity: 0.4; }
.night select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 800; color: var(--navy); text-align: center; text-align-last: center;
  height: 42px; padding: 0 12px; border: 0; border-radius: 14px; background: var(--white);
}
.night select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
/* A switched-off control keeps its choices in view but quiet. */
.ctl:has(.switch input:not(:checked)) .ctl__body { opacity: 0.4; pointer-events: none; }
.ctl__save { padding: 12px 4px 0; }
.js .ctl__save { display: none; }

/* ---------- history (design 04) ---------- */
.stats { display: flex; gap: 8px; }
.stat { flex: 1; min-width: 0; background: var(--white); border-radius: 26px; padding: 16px; }
.stat--blue { background: var(--blue); color: var(--white); }
.stat__label { font-size: 14px; font-weight: 600; opacity: 0.6; }
.stat--blue .stat__label, .stat--blue .stat__sub { opacity: 0.8; }
.stat__value { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; white-space: nowrap; }
.stat__sub { font-size: 14px; font-weight: 500; opacity: 0.6; }
.chart { margin: 8px 0 0; background: var(--white); border-radius: 28px; padding: 18px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.chart__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.chart__head h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; text-transform: lowercase; }
.chart__legend { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.chart__legend i { width: 14px; border-top: 2px dashed var(--navy); }
.chart svg { display: block; width: 100%; height: 120px; overflow: visible; }
.chart rect { fill: var(--blue); }
.chart rect.is-over { fill: var(--navy); }
.chart rect.is-today { fill: var(--lime); }
.chart line { stroke: rgba(0, 25, 90, 0.3); stroke-width: 2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.chart__axis { display: flex; justify-content: space-between; padding: 0 2px; font-size: 13px; font-weight: 600; color: rgba(0, 25, 90, 0.55); }
.section-title { padding: 22px 8px 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-transform: lowercase; }
.days { background: var(--white); border-radius: 28px; padding: 8px; }
.day + .day { border-top: 1px solid var(--line); }
.earlier > .day { margin: 0 -8px; padding: 0 8px; }
.earlier[open] > summary .chev { transform: rotate(90deg); }
.day summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 10px; }
.day summary::-webkit-details-marker { display: none; }
.day__name { font-size: 17px; font-weight: 800; }
.day__total { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.day__total .chev { transition: transform 0.2s ease; }
.day[open] .day__total .chev { transform: rotate(90deg); }
.watched { list-style: none; margin: 0; padding: 0 0 6px; }
.watched li { display: flex; gap: 12px; align-items: center; padding: 8px 10px; }
.watched img, .watched__ph { flex: 0 0 72px; height: 44px; border-radius: 12px; object-fit: cover; background: #d0dff9; }
.watched__title { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.25; }
.watched__mins { flex: 0 0 auto; font-size: 14px; font-weight: 700; color: var(--muted); }
.tag { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 999px; background: var(--lime); color: var(--navy); font-size: 12px; font-weight: 800; vertical-align: 1px; }
.howto { margin: 14px 8px 0; }
.howto summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 0 12px; font-size: 15px; font-weight: 700; color: var(--muted); }
.howto summary::-webkit-details-marker { display: none; }
.howto summary::after { content: "+"; }
.howto[open] summary::after { content: "–"; }
.howto p { padding: 10px 12px 0; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--muted); }

/* ---------- block YouTube (not designed: card, keycard and howto parts) ---------- */
.guide { padding: 22px 20px; }
.guide__steps { margin: 0; padding-left: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.guide__steps li { counter-increment: step; position: relative; min-height: 28px; padding-left: 40px; font-size: 16px; font-weight: 500; line-height: 1.45; text-wrap: pretty; }
.guide__steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
/* Written in the house lowercase by hand, so YouTube and iPhone keep their capitals. */
.page-title--as-is, .guide h2 { text-transform: none; }
.guide__steps b { font-weight: 800; }
.guide .howto { margin: 16px 0 0; }
.guide .howto summary { padding: 0; }
.guide .howto p { padding: 10px 0 0; }
.guide__help { font-size: 14px; font-weight: 500; color: var(--muted); }
.guide__help a { color: var(--blue); font-weight: 700; }

/* ---------- add a shared list (design 09) ---------- */
.follow-hero { margin-top: 16px; background: var(--blue); color: var(--white); border-radius: 32px; padding: 10px 10px 18px; display: flex; flex-direction: column; gap: 14px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mosaic > * { aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, 0.14); }
.mosaic > :first-child { border-top-left-radius: 20px; }
.mosaic > :nth-child(2) { border-top-right-radius: 20px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__more { display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.follow-hero__text { padding: 0 10px; display: flex; flex-direction: column; gap: 4px; }
.follow-hero__title { font-size: 38px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; text-transform: lowercase; overflow-wrap: anywhere; }
.follow-hero__meta { font-size: 15px; font-weight: 500; opacity: 0.85; }
.follow-hero details { margin: 0 10px; }
.follow-hero summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--lime); }
.follow-hero summary::-webkit-details-marker { display: none; }
.follow-hero ol { margin: 10px 0 0; padding: 0 0 0 20px; font-size: 14px; line-height: 1.5; }
.who { padding: 24px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.who h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-transform: lowercase; }
.who input[type="text"] { border-color: var(--blue); }
.appname { display: flex; align-items: center; gap: 8px; padding: 0 4px; font-size: 14px; font-weight: 500; color: var(--muted); }
.appname__pill { display: inline-flex; align-items: center; gap: 4px; background: var(--blue); color: var(--white); padding: 3px 10px; border-radius: 999px; }
.appname__pill b { font-size: 14px; letter-spacing: -0.02em; text-transform: lowercase; }
.appname__pill i { font-style: normal; font-size: 11px; font-weight: 800; background: var(--lime); color: var(--navy); padding: 0 5px; border-radius: 5px; }
.kidpick { display: flex; flex-wrap: wrap; gap: 8px; }
.kidpick label { position: relative; flex-direction: row; }
.kidpick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kidpick span { display: grid; place-items: center; height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line-strong); font-size: 17px; font-weight: 700; text-transform: lowercase; }
.kidpick input:checked + span { border-color: var(--blue); background: var(--blue); color: var(--white); font-weight: 800; }
.kidpick input:disabled + span { opacity: 0.4; }
.kidpick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.who .button, .who button { margin-top: 8px; }

/* ---------- account and the rest ---------- */
.sharebox { background: var(--cream); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.linkbox { display: flex; gap: 8px; }
.linkbox input { height: 48px; font-size: 15px; }
.linkbox button { height: 48px; font-size: 15px; padding: 0 18px; }

/* ---------- sign in and sign up (design group 0) ---------- */
.page--fill { display: flex; flex-direction: column; }
.page-title--hello { padding-top: 40px; font-size: 44px; line-height: 0.98; }
.page-title--big { font-size: 44px; line-height: 0.98; }
.label-text { padding-left: 4px; }
.addform--signin { padding-top: 28px; }
.addform--signin input[type="email"] { border-color: var(--blue); }
.addform--signin button { margin-top: 4px; }
.newhere { margin: 20px 8px 0; padding: 16px 18px; border-radius: 24px; background: var(--white); display: flex; flex-direction: column; gap: 4px; }
.newhere h2 { font-size: 17px; font-weight: 800; }
.newhere p { font-size: 15px; font-weight: 500; line-height: 1.4; color: rgba(0, 25, 90, 0.7); text-wrap: pretty; }
.mailcard { margin: 40px 8px 0; padding: 28px 22px; border-radius: 32px; background: var(--blue); color: var(--white); display: flex; flex-direction: column; gap: 12px; }
.mailcard h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; text-transform: lowercase; }
.mailcard p { font-size: 17px; font-weight: 500; line-height: 1.45; text-wrap: pretty; overflow-wrap: anywhere; }
.button.cream { height: 54px; margin-top: 6px; background: var(--cream); color: var(--blue-ink); font-size: 17px; }
.button.cream:hover { color: var(--blue-ink); }
.after { margin: 18px 8px 0; padding: 0 4px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; line-height: 1.4; color: rgba(0, 25, 90, 0.75); }
.after a { font-weight: 700; }
.after .linklike { font-weight: 700; }
.after .linklike:disabled { color: var(--muted); text-decoration: none; opacity: 1; }
.three { list-style: none; margin: 22px 8px 0; padding: 8px 18px; border-radius: 28px; background: var(--white); }
.three li { display: flex; gap: 14px; padding: 14px 0; }
.three li + li { border-top: 1.5px solid var(--line); }
.three li > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 15px; font-weight: 500; line-height: 1.4; color: rgba(0, 25, 90, 0.7); text-wrap: pretty; }
.three b { font-size: 17px; color: var(--navy); }
.three__n { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: 15px; font-weight: 800; }
.three__n--lime { background: var(--lime); color: var(--navy); }
.consent { margin-top: auto; padding: 24px 8px 16px; display: flex; flex-direction: column; gap: 14px; }
.consent .tick { padding: 0 4px; }
.consent:has(input[name="agree"]:not(:checked)) button[type="submit"] { opacity: 0.35; }
/* The box you tick: starts empty, blue with a tick once checked (A3, A7). */
.tick { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.tick a { font-weight: 700; }
.tick input {
  appearance: none; -webkit-appearance: none; flex: 0 0 28px; width: 28px; height: 28px; margin: 0; cursor: pointer;
  border-radius: 9px; border: 2px solid rgba(0, 25, 90, 0.3); background: var(--white) center / 16px no-repeat;
}
.tick input:checked {
  border-color: var(--blue); background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.tick input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.tick > span { padding-top: 3px; }
/* Who's it for? (A4): the app's name as they type, and Next waits for one. */
.who--first { padding-top: 22px; gap: 12px; }
.appcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 24px; background: var(--blue); color: var(--white); }
.appcard__label { font-size: 15px; font-weight: 600; opacity: 0.85; }
.appcard__name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.appcard__name b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appcard__name .sticker { font-size: 14px; padding: 2px 8px; border-radius: 9px; }
.who--first:has(input:placeholder-shown) button[type="submit"] { background: rgba(30, 100, 239, 0.35); }
.who--first button { margin-top: 0; }

/* ---------- account (design group 7) ---------- */
.plan-card { margin: 0 8px; padding: 20px; border-radius: 32px; background: var(--blue); color: var(--white); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.plan-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-card__pill { font-size: 14px; font-weight: 800; text-transform: uppercase; background: var(--lime); color: var(--navy); padding: 4px 10px; border-radius: 999px; }
.plan-card__when { font-size: 14px; font-weight: 600; opacity: 0.85; }
.plan-card__big { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-card__list { list-style: none; margin: 0; padding: 14px 16px; border-radius: 22px; background: var(--cream); color: var(--navy); display: flex; flex-direction: column; gap: 9px; }
.plan-card__list li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; }
.plan-card__list li::before { content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); font-size: 12px; font-weight: 800; }
.plan-card__offer { display: flex; flex-direction: column; gap: 14px; }
.prices { display: flex; gap: 10px; }
.price { position: relative; flex: 1; min-width: 0; font-weight: inherit; }
.price input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.price__box { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 22px; border: 2px solid rgba(255, 255, 255, 0.4); }
.price input:checked + .price__box { border-color: transparent; background: var(--cream); color: var(--navy); box-shadow: 0 0 0 3px var(--lime); }
.price input:focus-visible + .price__box { outline: 3px solid var(--white); outline-offset: 4px; }
.price__amount { font-size: 20px; font-weight: 800; }
.price__per { font-size: 13px; font-weight: 600; opacity: 0.8; }
.price__note { position: absolute; top: -11px; right: 10px; font-size: 12px; font-weight: 800; background: var(--lime); color: var(--navy); padding: 3px 8px; border-radius: 999px; transform: rotate(3deg); }
button.lime { background: var(--lime); color: var(--navy); }
.plan-card__manage { width: 100%; height: 52px; background: transparent; border: 2px solid rgba(255, 255, 255, 0.4); color: var(--white); font-size: 16px; font-weight: 700; }
.plan-card__note { font-size: 14px; font-weight: 500; line-height: 1.4; opacity: 0.85; text-wrap: pretty; }
.card--you { padding: 18px 18px 8px; border-radius: 28px; margin-top: 14px; }
.settings { display: flex; flex-direction: column; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 4px; color: var(--navy); text-decoration: none; }
.setting:hover { color: var(--navy); }
.setting + .setting { border-top: 1.5px solid var(--line); }
.setting__label { font-size: 15px; font-weight: 600; opacity: 0.6; }
.setting__value { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 15px; font-weight: 700; }
.setting__value > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.setting__value .chev { font-size: 18px; }
.card--you + .card, .card--danger { border-radius: 28px; padding: 18px; margin-top: 14px; }
.button.soft { height: 52px; background: var(--blue-soft); color: var(--blue); font-size: 16px; font-weight: 800; }
.button.soft:hover { color: var(--blue-ink); }
.legal { display: flex; gap: 16px; padding: 0 4px; font-size: 14px; font-weight: 600; }
.signout { margin: 14px 8px 0; }
.signout button { font-size: 17px; font-weight: 800; border-color: rgba(0, 25, 90, 0.18); }
.card--danger { border: 2px solid rgba(183, 26, 24, 0.2); }
.card--danger h2 { font-size: 20px; color: var(--error); }
.card--danger .note { padding: 0; font-size: 14px; color: rgba(0, 25, 90, 0.75); }
.card--danger .tick { align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; }
.card--danger .tick input { flex-basis: 26px; width: 26px; height: 26px; border-radius: 8px; }
.card--danger .tick > span { padding-top: 0; }
.card--danger button.danger { height: 52px; font-size: 16px; }
.card--danger form:has(input[name="confirm"]:not(:checked)) button.danger { opacity: 0.35; }
.select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 60px; padding: 0 44px 0 16px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 700; color: var(--navy);
  border: 2px solid var(--blue); border-radius: 20px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300195a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 20px no-repeat;
}
.select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

@media (min-width: 640px) {
  .page { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 360px) {
  .page-title { font-size: 32px; }
  .pause button { font-size: 14px; }
  .chip span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
