/* Kids Tutor. Parent side uses the app's dark glass look; kid mode (.kids-fun) is a bright, big-target theme.
   Tap targets >= 56px in kid mode; motion is transform/opacity only and respects reduced motion. */
.kids-root { --kd-sun: #FFD166; --kd-sky: #BDE0FE; --kd-grass: #8BD17C; --kd-ink: #1D2A44; --kd-coral: #FF8A7A; --kd-violet: #9B8CFF; --kd-card: #FFFFFF; }
.kd-card { border-radius: 22px; background: var(--card); border: 1px solid var(--line); padding: 18px; margin: 0 0 14px; }
.kd-center { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 28px 18px; }
.kd-leo { font-size: 56px; line-height: 1; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.kd-leo.sm { font-size: 34px; } .kd-leo.big { font-size: 88px; }
.kd-bounce { animation: kdBounce 2.4s var(--spring, ease) infinite; }
@keyframes kdBounce { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) rotate(-3deg) } }
.kd-hero { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 26px 20px; }
.kd-lead { color: var(--muted); max-width: 520px; }
.kd-ticks { text-align: left; display: grid; gap: 6px; margin: 4px auto; }
.kd-ticks li::before { content: '✓'; color: var(--sage-light); font-weight: 800; margin-right: 8px; }
.kd-price { font-size: 16px; } .kd-price b { font-size: 22px; }
.kd-head { display: flex; gap: 12px; align-items: center; margin: 4px 0 14px; }
.kd-sub { color: var(--muted); font-size: 13px; }
.kd-row { display: flex; gap: 14px; align-items: center; }
.kd-setup .kd-privacy { margin: 16px 0; padding: 14px 16px; border-radius: 16px; background: rgba(143,174,140,.1); border: 1px solid rgba(143,174,140,.28); }
.kd-privacy ul { margin-top: 6px; display: grid; gap: 4px; font-size: 13.5px; }
.kd-privacy li::before { content: '•'; margin-right: 8px; color: var(--sage-light); }
.kd-form { display: grid; gap: 14px; }
.kd-form h3 { font-size: 17px; }
.kd-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.kd-form .input, .kd-pins .input { height: 46px; border-radius: 14px; background: rgba(var(--fg-rgb),.06); border: 1px solid var(--line-strong); padding: 0 14px; color: var(--fg); font-size: 16px; width: 100%; }
.kd-form select.input { appearance: none; -webkit-appearance: none; }
.kd-form select.input option { color: #111; }
.kd-check { display: flex !important; grid-template-columns: none; gap: 12px; align-items: flex-start; font-weight: 500 !important; color: var(--fg) !important; font-size: 14px !important; line-height: 1.45; }
.kd-check input { width: 24px; height: 24px; flex: none; margin-top: 1px; accent-color: var(--sage-light); }
.kd-check a { text-decoration: underline; }
.kd-pins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.kd-pins label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.kd-grid2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.kd-avs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.kd-avpick input { position: absolute; opacity: 0; pointer-events: none; }
.kd-avpick span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: rgba(var(--fg-rgb),.06); border: 2px solid transparent; cursor: pointer; transition: transform .15s; }
.kd-avpick input:checked + span { border-color: var(--kd-sun); background: rgba(255,209,102,.16); transform: scale(1.06); }
.kd-avpick input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
fieldset legend { font-size: 13px; font-weight: 600; color: var(--muted); }
.kd-banner { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; margin: 0 0 14px; font-size: 14px; border: 1px solid var(--line-strong); background: rgba(var(--fg-rgb),.05); }
.kd-banner.is-owner { border-color: rgba(227,183,122,.45); background: rgba(227,183,122,.1); }
.kd-banner.is-trial { border-color: rgba(189,224,254,.4); background: rgba(189,224,254,.08); }
.kd-banner.is-pass { border-color: rgba(143,174,140,.45); background: rgba(143,174,140,.1); }
.kd-banner.is-expired { border-color: rgba(255,138,122,.45); background: rgba(255,138,122,.1); }
.kd-kid-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.kd-kid-head h3 { font-size: 18px; } .kd-kid-head small { color: var(--muted); }
.kd-av { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; background: rgba(255,209,102,.14); flex: none; }
.kd-av.big { width: 76px; height: 76px; font-size: 46px; border-radius: 24px; }
.kd-stats { margin-left: auto; display: flex; gap: 10px; font-size: 13.5px; font-weight: 650; }
.kd-skill { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.kd-sic { font-size: 22px; width: 30px; text-align: center; }
.kd-stx { flex: 1; display: grid; gap: 2px; min-width: 0; } .kd-stx small { color: var(--muted); font-size: 12.5px; }
.kd-bar { display: block; height: 7px; border-radius: 9px; background: rgba(var(--fg-rgb),.08); overflow: hidden; margin-top: 4px; }
.kd-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--kd-grass), var(--kd-sun)); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease-out); border-radius: 9px; }
.kd-bar span.lo { background: var(--kd-coral); } .kd-bar span.hi { background: var(--kd-grass); }
.kd-dots { display: inline-flex; gap: 4px; } .kd-dots i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--kd-sun); } .kd-dots i.on { background: var(--kd-sun); }
.kd-stickers { display: flex; gap: 6px; flex-wrap: wrap; font-size: 22px; margin-top: 8px; }
.kd-stickers.big span { font-size: 34px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: #FFF6DA; box-shadow: 0 3px 0 rgba(0,0,0,.08); }
.kd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.kd-editf { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.kd-privacy-foot p { color: var(--muted); font-size: 13px; margin: 4px 0 8px; }
.kd-privacy-foot summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.kd-privacy-foot .kd-pins { margin-top: 10px; grid-template-columns: 1fr 1fr auto; }

/* ---------- kid mode: bright theme ---------- */
.kids-root.kids-fun { color: var(--kd-ink); }
body.kid-locked, body[data-view="kids"] .kids-root.kids-fun { --fg: #1D2A44; --fg-rgb: 29,42,68; --muted: #5A6784; --line: rgba(29,42,68,.1); --line-strong: rgba(29,42,68,.18); --line-soft: rgba(29,42,68,.07); }
body.kid-locked .cosmos, body.kid-locked canvas#cosmos { opacity: 0 !important; }
body.kid-locked { background: linear-gradient(180deg, #BDE0FE 0%, #E8F4FF 45%, #FFF8E7 100%) fixed; }
body.kid-locked #menuBtn, body.kid-locked .rail, body.kid-locked #creditsPill, body.kid-locked #signInPill, body.kid-locked #composerBar, body.kid-locked #statusMore, body.kid-locked #activityList { display: none !important; }
body.kid-locked .topbar { pointer-events: none; }
body.kid-locked .topbar-blur { background: linear-gradient(180deg, rgba(189,224,254,.92), rgba(189,224,254,0)); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.kid-locked .status-pill { background: #fff; color: var(--kd-ink); }
body.kid-locked .status-pill * { color: #1D2A44; }
.kids-fun { font-size: 17px; }
.kids-fun .btn { height: 56px; padding: 0 22px; font-size: 17px; border-radius: 20px; }
.kids-fun .btn-primary { background: var(--kd-sun); color: #3A2A00; box-shadow: 0 5px 0 #E0A92E; }
.kids-fun .btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #E0A92E; }
.kids-fun .btn-secondary { background: #fff; color: var(--kd-ink); border: 2px solid #D8E3F5; box-shadow: 0 4px 0 #D8E3F5; }
.kids-fun .btn-secondary:disabled { opacity: .5; }
.kd-kidhome, .kd-sheet, .kd-result { display: grid; gap: 14px; }
.kd-hello { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 26px; padding: 16px; box-shadow: 0 8px 0 rgba(29,42,68,.06); }
.kd-hello h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.kd-hello p { color: #5A6784; }
.kd-say { margin-left: auto; width: 56px; height: 56px; flex: none; border-radius: 18px; border: 0; background: #E8F4FF; font-size: 26px; box-shadow: 0 4px 0 #CFE3F7; }
.kd-say:active { transform: translateY(2px); box-shadow: 0 2px 0 #CFE3F7; }
.kd-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.kd-chips span { background: #fff; border-radius: 99px; padding: 8px 14px; font-weight: 750; box-shadow: 0 3px 0 rgba(29,42,68,.06); }
.kd-subjects { display: grid; gap: 14px; }
.kd-subj { text-align: left; border: 0; border-radius: 26px; padding: 18px; display: grid; gap: 10px; color: var(--kd-ink); box-shadow: 0 8px 0 rgba(29,42,68,.1); transition: transform .15s var(--ease-out); min-height: 150px; }
.kd-subj:active { transform: translateY(4px); box-shadow: 0 4px 0 rgba(29,42,68,.1); }
.kd-subj:disabled { opacity: .55; }
.kd-subj.kd-math { background: linear-gradient(135deg, #FFE08A, #FFC6A5); }
.kd-subj.kd-reading { background: linear-gradient(135deg, #BFF0C4, #A7DCFF); }
.kd-subj.kd-spelling { background: linear-gradient(135deg, #E0D4FF, #FFC9E3); }
.kd-subj-top { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.kd-subj-ic { font-size: 32px; }
.kd-done { margin-left: auto; font-size: 13px; background: #fff; padding: 4px 10px; border-radius: 99px; font-weight: 700; color: #2E7D32; }
.kd-go { font-weight: 800; font-size: 16px; justify-self: end; background: rgba(255,255,255,.7); padding: 8px 14px; border-radius: 99px; }
.kd-map { display: flex; align-items: center; gap: 0; }
.kd-map.is-new { gap: 10px; }
.kd-node { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: rgba(255,255,255,.6); color: #6B7896; border: 3px solid rgba(255,255,255,.9); }
.kd-node.done { background: #6CC46A; color: #fff; border-color: #fff; }
.kd-node.now { width: 52px; height: 52px; font-size: 28px; background: #fff; border-color: var(--kd-sun); box-shadow: 0 0 0 5px rgba(255,209,102,.45); animation: kdPulse 1.8s ease-in-out infinite; }
.kd-node.next { opacity: .75; }
@keyframes kdPulse { 50% { box-shadow: 0 0 0 10px rgba(255,209,102,.15); } }
.kd-path { flex: 1; height: 5px; min-width: 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 6px, transparent 6px 11px); }
.kd-lvname { font-size: 13.5px; font-weight: 650; color: #44506B; }
.kd-book { background: #fff; border-radius: 26px; padding: 16px; } .kd-book h3 { margin-bottom: 8px; font-size: 17px; }
.kd-grownup { justify-self: center; border: 0; background: rgba(255,255,255,.7); color: #5A6784; padding: 10px 18px; border-radius: 99px; font-weight: 650; font-size: 14px; min-height: 44px; }

.kd-topline { display: flex; align-items: center; gap: 10px; }
.kd-x { min-width: 48px; height: 48px; padding: 0 10px; border-radius: 16px; border: 0; background: #fff; font-size: 18px; font-weight: 800; color: #5A6784; box-shadow: 0 3px 0 rgba(29,42,68,.08); }
.kd-x.is-armed { background: var(--kd-coral); color: #fff; }
.kd-progress { flex: 1; display: flex; gap: 4px; }
.kd-progress i { flex: 1; height: 12px; border-radius: 9px; background: rgba(255,255,255,.75); }
.kd-progress i.now { background: var(--kd-sun); } .kd-progress i.ok { background: #6CC46A; } .kd-progress i.miss { background: #FFB199; }
.kd-timebox { display: flex; align-items: center; gap: 6px; font-weight: 750; font-size: 14px; color: #44506B; background: #fff; border-radius: 99px; padding: 6px 10px; }
.kd-sky { width: 54px; height: 18px; position: relative; overflow: hidden; }
.kd-sky span { position: absolute; left: 0; top: -2px; font-size: 16px; display: block; width: 18px; transition: transform 1s linear; }
.kd-sky { background: linear-gradient(90deg, #FFE6A8, #FFC6A5); border-radius: 99px; }
.kd-sky span { transform: translateX(0); }
.kd-meta { font-size: 14px; color: #5A6784; font-weight: 600; }
.kd-q { background: #fff; border-radius: 28px; padding: 20px 18px; display: grid; gap: 16px; box-shadow: 0 8px 0 rgba(29,42,68,.07); }
.kd-q.shake { animation: kdShake .4s; }
@keyframes kdShake { 25% { transform: translateX(-7px) } 75% { transform: translateX(7px) } }
.kd-q.is-right { box-shadow: 0 8px 0 #6CC46A, 0 0 0 4px #BDF0BC; }
.kd-prompt { display: flex; gap: 12px; align-items: flex-start; }
.kd-prompt h2 { font-size: 26px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; flex: 1; }
.kd-q.is-big .kd-prompt h2 { font-size: 24px; }
.kd-visual { font-size: 38px; line-height: 1.35; letter-spacing: 4px; text-align: center; word-break: break-word; }
.kd-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kd-choices.is-long { grid-template-columns: 1fr; }
.kd-choice { min-height: 68px; border-radius: 20px; border: 3px solid #D8E3F5; background: #F7FAFF; font-size: 24px; font-weight: 800; color: var(--kd-ink); padding: 8px 12px; box-shadow: 0 5px 0 #D8E3F5; transition: transform .12s; }
.kd-choices.is-long .kd-choice { font-size: 18px; text-align: left; }
.kd-choice:active { transform: translateY(3px); box-shadow: 0 2px 0 #D8E3F5; }
.kd-choice.is-right { background: #D9F7D6; border-color: #6CC46A; box-shadow: 0 5px 0 #6CC46A; }
.kd-choice.is-wrong { background: #FFE3DC; border-color: #FFB199; box-shadow: none; opacity: .7; }
.kd-answer { min-height: 72px; border-radius: 20px; border: 3px dashed #BFD2EE; display: grid; place-items: center; font-size: 38px; font-weight: 850; letter-spacing: 2px; color: var(--kd-ink); background: #F7FAFF; }
.kd-answer .ph { color: #BFD2EE; }
.kd-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kd-pad button { min-height: 60px; border-radius: 18px; border: 0; background: #EEF4FF; font-size: 26px; font-weight: 800; color: var(--kd-ink); box-shadow: 0 4px 0 #CFDDF5; touch-action: manipulation; }
.kd-pad button:active { transform: translateY(3px); box-shadow: 0 1px 0 #CFDDF5; }
.kd-word { height: 72px; border-radius: 20px; border: 3px solid #BFD2EE; font-size: 34px; font-weight: 800; text-align: center; letter-spacing: 3px; color: var(--kd-ink); background: #F7FAFF; width: 100%; }
.kd-check-btn { width: 100%; }
.kd-peek { font-size: 34px; font-weight: 800; text-align: center; }
.kd-leo-box { display: flex; gap: 12px; align-items: flex-start; background: #FFF6DA; border-radius: 22px; padding: 12px 16px; border: 2px solid #FFE3A0; }
.kd-leo-box p { font-size: 17px; font-weight: 600; line-height: 1.4; padding-top: 4px; }
.kd-leo-box.is-quiet p { color: #8A7B55; font-weight: 500; font-size: 15px; }
.kd-leo-box.pop { animation: kdPop .35s var(--spring, ease); }
@keyframes kdPop { 0% { transform: scale(.96) } 100% { transform: scale(1) } }
.kd-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.kd-tools .btn { flex: 1; }
.kd-ask { display: flex; gap: 8px; } .kd-ask .input { flex: 1; height: 52px; border-radius: 16px; border: 2px solid #D8E3F5; padding: 0 14px; font-size: 17px; background: #fff; color: var(--kd-ink); }
.kd-story { background: #fff; border-radius: 28px; padding: 20px; display: grid; gap: 12px; box-shadow: 0 8px 0 rgba(29,42,68,.07); }
.kd-story h2 { font-size: 24px; font-weight: 800; flex: 1; }
.kd-story p { font-size: 19px; line-height: 1.6; }
.kd-storybtn { justify-self: start; }
.kd-result { text-align: center; justify-items: center; background: #fff; border-radius: 30px; padding: 26px 18px; box-shadow: 0 10px 0 rgba(29,42,68,.07); position: relative; overflow: hidden; }
.kd-result h2 { font-size: 34px; font-weight: 900; letter-spacing: -.02em; }
.kd-result.is-levelup h2 { background: linear-gradient(90deg, #FF8A7A, #FFB347, #6CC46A, #58A6FF, #9B8CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kd-stars { display: flex; gap: 8px; font-size: 52px; }
.kd-stars span { filter: grayscale(1) opacity(.3); transform: scale(.7); transition: transform .5s var(--spring, ease), filter .5s; }
.kd-stars span.on { filter: none; transform: scale(1); }
.kd-stars span.on:nth-child(2) { transition-delay: .2s; } .kd-stars span.on:nth-child(3) { transition-delay: .4s; }
.kd-score { font-weight: 700; color: #44506B; } .kd-msg { font-size: 18px; max-width: 460px; } .kd-streak { font-weight: 800; font-size: 18px; }
.kd-newsticker { display: grid; justify-items: center; gap: 4px; } .kd-newsticker span { font-size: 56px; animation: kdBounce 2s infinite; } .kd-newsticker small { color: #5A6784; }
.kd-burst { position: fixed; left: 50%; top: 45%; pointer-events: none; z-index: 60; }
.kd-burst span { position: absolute; font-size: 26px; animation: kdFly 1.4s var(--ease-out) forwards; animation-delay: var(--d); opacity: 0; }
@keyframes kdFly { 0% { transform: translate(0,0) scale(.4); opacity: 1 } 100% { transform: translate(var(--x), var(--y)) scale(1.1); opacity: 0 } }

/* ---------- PIN pad + print chooser (fixed overlays) ---------- */
.kd-pinpad, .kd-printsheet.is-choose { position: fixed; inset: 0; z-index: 80; background: rgba(11,11,20,.55); display: grid; place-items: center; padding: 20px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kd-pinbox, .kd-pchoose { background: #fff; color: #1D2A44; border-radius: 26px; padding: 22px; width: min(360px, 100%); display: grid; gap: 14px; text-align: center; }
.kd-pchoose { width: min(460px, 100%); } .kd-pchoose p { color: #5A6784; font-size: 14px; } .kd-pchoose .kd-actions { justify-content: center; }
.kd-pchoose .btn-secondary { color: #1D2A44; background: #EEF4FF; }
.kd-pindots { display: flex; justify-content: center; gap: 10px; } .kd-pindots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #9FB3D6; } .kd-pindots i.on { background: #1D2A44; border-color: #1D2A44; }
.kd-pinbox .kd-pad button { color: #1D2A44; }

/* ---------- parent report ---------- */
.kd-summary p { margin: 4px 0; } .kd-summary p:first-child { font-weight: 700; font-size: 16px; }
.kd-report h3 { font-size: 15px; margin-bottom: 10px; }
.kd-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 130px; }
.kd-col { display: grid; grid-template-rows: 1fr auto auto; justify-items: center; height: 100%; gap: 2px; font-size: 12px; color: var(--muted); }
.kd-col span { width: 70%; max-width: 34px; height: 100%; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--kd-sun), var(--kd-grass)); transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--ease-out); align-self: end; }
.kd-col b { color: var(--fg); font-size: 12px; }
.kd-skills { display: grid; gap: 10px; }
.kd-skills li { display: grid; grid-template-columns: 1.3fr 1fr auto auto; gap: 10px; align-items: center; font-size: 13.5px; }
.kd-skills li .kd-bar { margin: 0; } .kd-skills small { color: var(--muted); }

/* ---------- printable worksheet ---------- */
.kd-printsheet { --fg: #111; --fg-rgb: 17,17,17; --muted: #555; --line: rgba(0,0,0,.12); --line-soft: rgba(0,0,0,.08); --line-strong: rgba(0,0,0,.18); --card: #fff; }
.kd-printsheet .kd-card { box-shadow: none; }
.kd-printsheet:not(.is-choose) { position: fixed; inset: 0; z-index: 80; overflow: auto; background: #F2F4F8; color: #111; padding: 16px; }
.kp-tools { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; position: sticky; top: 0; }
.kp-tools .btn-secondary { color: #111; background: #fff; }
.kp-page { background: #fff; max-width: 780px; margin: 0 auto 16px; padding: 32px 36px; border-radius: 8px; box-shadow: 0 4px 24px rgba(0,0,0,.08); font-size: 15px; line-height: 1.5; }
.kp-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid #111; padding-bottom: 10px; margin-bottom: 16px; font-size: 13px; }
.kp-head b { display: block; font-size: 17px; } .kp-head span { color: #444; }
.kp-story { border: 1.5px solid #bbb; border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; } .kp-story h4 { margin: 0 0 6px; }
.kp-list { display: grid; gap: 14px; }
.kp-q { display: flex; gap: 10px; break-inside: avoid; } .kp-n { font-weight: 800; min-width: 26px; }
.kp-q p { margin: 0; } .kp-vis { font-size: 22px; letter-spacing: 3px; } .kp-ch { display: flex; flex-wrap: wrap; gap: 6px 18px; } .kp-line { color: #555; margin-top: 6px !important; }
.kp-foot { margin-top: 18px; color: #555; font-size: 13px; }
.kp-key ol { padding-left: 20px; list-style: decimal; display: grid; gap: 4px; } .kp-key small { color: #666; }
@media print {
  body > *:not(#kdPrintSheet) { display: none !important; }
  #kdPrintSheet { position: static !important; background: #fff !important; padding: 0 !important; overflow: visible !important; }
  .kd-noprint { display: none !important; }
  .kp-page { box-shadow: none; border-radius: 0; margin: 0; padding: 0; max-width: none; page-break-after: always; }
  .kp-key { page-break-after: auto; }
}
@media (max-width: 520px) {
  .kd-pins, .kd-grid2, .kd-privacy-foot .kd-pins { grid-template-columns: 1fr; }
  .kd-stats { margin-left: 0; width: 100%; }
  .kd-prompt h2 { font-size: 23px; }
  .kd-skills li { grid-template-columns: 1fr auto; } .kd-skills li .kd-bar { grid-column: 1 / -1; order: 3; }
  .kp-page { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .kd-bounce, .kd-node.now, .kd-newsticker span { animation: none; } .kd-burst { display: none; } }
.topup-kids { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; margin: 10px 0 0; padding: 12px 14px; border-radius: 18px; border: 1px solid rgba(255,209,102,.4); background: rgba(255,209,102,.08); color: inherit; }
.topup-kids > span:first-child { font-size: 28px; } .topup-kids span:nth-child(2) { flex: 1; display: grid; } .topup-kids small { color: var(--muted); font-size: 12.5px; }
