/* Kidoville for grown-ups: its own page, no kid navigation, no kid session. */
.gu { max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; }
.gu-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.gu-top .spacer { flex: 1; }
.gu-who { font-weight: 700; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.gu-card { padding: 18px; margin-bottom: 14px; }
.gu-card h2, .gu-card h3 { margin: 0 0 6px; }
.gu-hero { text-align: center; padding: 28px 18px; }
.gu-form { display: grid; gap: 10px; margin-top: 14px; text-align: left; }
.gu-note { padding: 12px 14px; border-radius: 16px; font-weight: 700; margin-bottom: 14px; }
.gu-note.warn { background: var(--sun-soft); box-shadow: inset 0 0 0 2px var(--warn); }
.gu-note.good { background: var(--mint-soft); box-shadow: inset 0 0 0 2px var(--good); }
.gu-note.bad { background: var(--coral-soft); box-shadow: inset 0 0 0 2px var(--bad); }
.gu-kid-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.gu-kid-head .spacer { flex: 1; }
.gu-initial { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grape-soft); border: 2px solid var(--edge); font: 700 20px var(--display); flex: none; }
.gu-row { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.gu-row:first-of-type { border-top: 0; }
.gu-row-h { display: flex; align-items: center; gap: 10px; }
.gu-row-h b { flex: 1; }
.gu-ages { display: flex; gap: 8px; flex-wrap: wrap; }
.gu-age, .gu-oage { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 10px; min-width: 64px; min-height: 64px; border-radius: 16px; background: var(--fill); border: 2px solid transparent; cursor: pointer; font-weight: 800; font-size: 12px; color: var(--muted); }
.gu-age.on, .gu-oage.on { background: var(--surface); border-color: var(--edge); box-shadow: 0 3px 0 var(--edge); color: var(--ink); }
.gu-age.locked, .gu-oage.locked { opacity: .55; }
.gu-age:focus-visible, .gu-oage:focus-visible, .gu .btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.gu-sentence { font-weight: 700; color: var(--ink2); }
.gu-danger { margin-top: 28px; }
@media (max-width: 520px) { .gu-age, .gu-oage { min-width: 56px; } }

.gu-devices { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.gu-devices li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--fill); }
.gu-card-out { margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--surface2); border: 2px dashed var(--line2); text-align: center; }
@media print { body.gu-printing * { visibility: hidden !important; }
  body.gu-printing .gu-card-out, body.gu-printing .gu-card-out * { visibility: visible !important; }
  body.gu-printing .gu-card-out { position: absolute; left: 0; top: 0; width: 100%; border: 2px solid #000; background: #fff; } body.gu-printing .gu-noprint { display: none !important; } }
.gu-card-out .linkqr { width: min(210px, 62vw); margin: 10px auto; padding: 8px; background: #fff; border: 2px solid var(--edge); border-radius: 14px; }
.gu-card-out .linkqr svg { display: block; width: 100%; height: auto; }
.gu-card-out .linkcode { margin: 8px auto; }

/* Data & child protection page */
.gu-prot-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.gu-prot-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.gu-prot-list.plain li { display: block; }
.gu-tag { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; margin-top: 2px; white-space: nowrap; background: var(--fill); color: var(--ink2); }
.gu-tag.yes { background: var(--mint-soft); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--good); }
.gu-tag.soon { background: var(--sun-soft); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--warn); }
.gu-tag.you { background: var(--fill); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--edge); }
@media (max-width: 520px) { .gu-prot-list li { flex-direction: column; gap: 4px; } }

/* the top-bar link to Data & child protection (grown-ups only; icon alone on narrow screens) */
.prot-pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 12px; border-radius: 99px; background: var(--navy, #0d1b34); color: #fff; border: 2px solid var(--navy, #0d1b34); font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none; transition: transform .15s; }
.prot-pill:hover { transform: translateY(-1px); background: var(--navy2, #14284a); }
.prot-pill:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.prot-pill .prot-ic { display: inline-flex; width: 22px; height: 22px; }
.prot-pill .prot-ic svg { width: 100%; height: 100%; stroke: currentColor; }
@media (max-width: 760px) { .prot-pill .prot-t { display: none; } .prot-pill { padding: 0 12px; } }

/* a child's panel opens and closes (the header is the button) */
.gu-kid-head { flex-wrap: nowrap; margin-bottom: 0; }
.gu-kid-toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-align: left; background: none; border: 0; padding: 4px; margin: -4px; border-radius: 12px; cursor: pointer; color: inherit; font: inherit; }
.gu-kid-toggle:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.gu-kid-title { flex: 1; min-width: 0; }
.gu-kid-title .small { overflow-wrap: anywhere; }
.gu-kid-sum { color: var(--ink2); font-weight: 700; }
.gu-chev { flex: none; font-size: 24px; line-height: 1; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--fill); color: var(--muted); transition: transform .15s; }
.gu-kid-toggle[aria-expanded="false"] .gu-chev { transform: rotate(-90deg); }
.gu-kid:not(.collapsed) .gu-kid-sum { display: none; }
.gu-kid-body { margin-top: 10px; }
