/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.flex{display:flex}.hidden{display:none}.table{display:table}.resize{resize:both}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--purple:#6c4cf5;--purple-deep:#5137cb;--pink:#ff5c8a;--turquoise:#20cdbb;--yellow:#ffd84d;--green:#63d471;--cream:#fff8ee;--ink:#27233f;--muted:#746f89;--white:#fff;--line:#46337d1a;--shell-a:#f6f1ff;--shell-b:#ffeef5;--shell-c:#fff6df;--card-coral:#ffd9e4;--card-turq:#ccf8f2;--card-yellow:#fff0a5;--card-purple:#e5ddff;--text-scale:1}*{box-sizing:border-box}html,body{min-height:100%}body{color:var(--ink);background:#efe9ff;margin:0;font-family:Tahoma,Segoe UI,Arial,sans-serif}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}.font-large{--text-scale:1.09}.font-xlarge{--text-scale:1.17}.theme-ocean{--purple:#168db6;--purple-deep:#0c6f96;--pink:#ff7a70;--turquoise:#20cdbb;--yellow:#ffd84d;--cream:#f2fcff;--ink:#17354b;--muted:#557083;--shell-a:#dff8ff;--shell-b:#eafff9;--shell-c:#fff1df;--card-coral:#ffe0dc;--card-turq:#caf8f2;--card-yellow:#fff0ad;--card-purple:#d5f0ff}.theme-forest{--purple:#2e9b62;--purple-deep:#20764a;--pink:#7652d6;--turquoise:#54c78c;--yellow:#ffd84d;--cream:#fffdf1;--ink:#203c30;--muted:#617568;--shell-a:#e8faed;--shell-b:#fff9d9;--shell-c:#eee7ff;--card-coral:#eee3ff;--card-turq:#d5f5df;--card-yellow:#fff1a8;--card-purple:#e4ddff}.theme-galaxy{--purple:#8b5cf6;--purple-deep:#302a78;--pink:#ff67a1;--turquoise:#29cad1;--yellow:#ffe16a;--cream:#f8f5ff;--ink:#28234c;--muted:#6e688c;--shell-a:#dcd5ff;--shell-b:#ffe1ef;--shell-c:#d9fbff;--card-coral:#ffd9e9;--card-turq:#cef6f7;--card-yellow:#fff1ad;--card-purple:#dfd8ff}.app-shell{background:radial-gradient(circle at 15% 18%,var(--yellow),transparent 19rem),radial-gradient(circle at 86% 82%,var(--turquoise),transparent 22rem),linear-gradient(145deg,var(--shell-a),var(--shell-b) 48%,var(--shell-c));place-items:center;min-height:100dvh;padding:22px;display:grid;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.app-shell{background:radial-gradient(circle at 15% 18%,color-mix(in srgb,var(--yellow) 42%,transparent),transparent 19rem),radial-gradient(circle at 86% 82%,color-mix(in srgb,var(--turquoise) 30%,transparent),transparent 22rem),linear-gradient(145deg,var(--shell-a),var(--shell-b) 48%,var(--shell-c))}}.app-shell.with-pattern:after{content:"✦  •  ★  •  ✦";color:var(--purple);position:fixed;inset:auto auto 4% 4%}@supports (color:color-mix(in lab, red, red)){.app-shell.with-pattern:after{color:color-mix(in srgb,var(--purple) 13%,transparent)}}.app-shell.with-pattern:after{letter-spacing:18px;pointer-events:none;font-size:35px;transform:rotate(-12deg)}.ambient{pointer-events:none;border-radius:999px;position:fixed}.ambient-one{background:var(--pink);opacity:.12;width:130px;height:130px;top:-35px;right:8%}.ambient-two{background:var(--purple);opacity:.1;width:92px;height:92px;bottom:2%;left:7%}.phone-stage{background:var(--cream);border:7px solid var(--ink);width:min(100%,470px);height:min(880px,100dvh - 44px);min-height:650px}@supports (color:color-mix(in lab, red, red)){.phone-stage{border:7px solid color-mix(in srgb,var(--ink) 94%,transparent)}}.phone-stage{border-radius:42px;grid-template-rows:auto auto 1fr auto auto;display:grid;position:relative;overflow:hidden;box-shadow:0 30px 80px #3f2a7833,0 10px 25px #3f2a781f}.phone-stage:before{content:"";background:var(--ink);z-index:5;border-radius:0 0 16px 16px;width:105px;height:22px;position:absolute;top:-1px;left:50%;transform:translate(-50%)}.topbar{background:linear-gradient(115deg,var(--purple-deep),var(--purple) 56%,var(--purple));min-height:96px}@supports (color:color-mix(in lab, red, red)){.topbar{background:linear-gradient(115deg,var(--purple-deep),var(--purple) 56%,color-mix(in srgb,var(--purple) 78%,white))}}.topbar{color:#fff;justify-content:space-between;align-items:center;gap:12px;padding:28px 18px 14px;display:flex}.brand{align-items:center;gap:9px;display:flex}.brand>div:first-child{flex-direction:column;align-items:flex-end;gap:3px;display:flex}.brand strong{font-size:calc(18px * var(--text-scale));letter-spacing:-.25px}.brand span{color:#f1efff;align-items:center;gap:6px;font-size:11px;display:flex}.brand span i{background:var(--green);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #63d4712e}.parent-button{color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none;background:#ffffff26;border:1px solid #ffffff47;border-radius:15px;align-items:center;gap:7px;min-height:42px;padding:0 13px;font-size:13px;font-weight:700;transition:all .2s;display:flex}.parent-button:hover{background:#ffffff3d}.parent-button:active{background:#ffffff47;transform:scale(.97)}.lock{opacity:.9;border:2px solid #fff;border-radius:5px;width:15px;height:15px;font-size:0;position:relative}.lock:before{content:"";border:2px solid #fff;border-bottom:0;border-radius:7px 7px 0 0;width:7px;height:6px;position:absolute;top:-7px;left:2px}.mascot-img{object-fit:contain;filter:drop-shadow(0 11px 10px #4a2d9630);z-index:2;width:108px;height:108px;position:relative}.mascot-img.mascot-small{filter:drop-shadow(0 4px 4px #4a2d9626);width:51px;height:51px}.safety-strip{color:#65520e;background:#fff0ad;border-bottom:1px solid #b5921821;justify-content:center;align-items:center;gap:7px;min-height:39px;font-size:12px;font-weight:700;display:flex;position:relative}.restart-button{color:#65520e;cursor:pointer;background:#ffffffa8;border:0;border-radius:10px;align-items:center;gap:4px;min-height:28px;padding:0 8px;font-size:10px;font-weight:800;display:flex;position:absolute;left:10px}.restart-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.conversation{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d7cffa transparent;overflow-y:auto}.welcome{text-align:center;flex-direction:column;align-items:center;min-height:100%;padding:10px 22px 12px;display:flex}.hero-mascot-wrap{place-items:center;width:160px;height:118px;display:grid;position:relative}.orbit-star{z-index:3;font-weight:900;position:absolute}.star-a{color:var(--yellow);font-size:24px;top:5px;left:14px;transform:rotate(-12deg)}.star-b{color:var(--turquoise);font-size:16px;top:26px;right:12px}.star-c{color:var(--pink);font-size:18px;bottom:12px;left:19px}.eyebrow{color:var(--pink);font-size:calc(14px * var(--text-scale));margin:2px 0 3px;font-weight:900}.welcome h1{color:var(--ink);font-size:calc(clamp(24px,6.1vw,29px) * var(--text-scale));letter-spacing:-.7px;margin:0;line-height:1.4}.welcome-copy{max-width:330px;color:var(--muted);font-size:calc(13px * var(--text-scale));margin:6px auto 9px;line-height:1.65}.personal-tools{justify-content:center;gap:7px;width:100%;margin-bottom:9px;display:flex}.personal-tools button{border:1px solid var(--purple)}@supports (color:color-mix(in lab, red, red)){.personal-tools button{border:1px solid color-mix(in srgb,var(--purple) 18%,white)}}.personal-tools button{background:var(--purple)}@supports (color:color-mix(in lab, red, red)){.personal-tools button{background:color-mix(in srgb,var(--purple) 7%,white)}}.personal-tools button{color:var(--purple-deep);cursor:pointer;border-radius:999px;min-height:31px;padding:4px 10px;font-size:11px;font-weight:800}.starter-grid{grid-template-columns:1fr 1fr;gap:9px;width:100%;display:grid}.starter-card{cursor:pointer;min-height:61px;font-size:calc(12px * var(--text-scale));color:var(--ink);border:0;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:8px;font-weight:800;transition:all .16s;display:flex;box-shadow:0 5px #27233f12}.starter-card:hover{transform:translateY(-2px);box-shadow:0 7px #27233f14}.starter-card:active{transform:translateY(2px);box-shadow:0 2px #27233f12}.starter-card span{font-size:19px;line-height:1}.starter-card.coral{background:var(--card-coral);border:2px solid var(--pink)}@supports (color:color-mix(in lab, red, red)){.starter-card.coral{border:2px solid color-mix(in srgb,var(--pink) 50%,white)}}.starter-card.turquoise{background:var(--card-turq);border:2px solid var(--turquoise)}@supports (color:color-mix(in lab, red, red)){.starter-card.turquoise{border:2px solid color-mix(in srgb,var(--turquoise) 55%,white)}}.starter-card.yellow{background:var(--card-yellow);border:2px solid var(--yellow)}@supports (color:color-mix(in lab, red, red)){.starter-card.yellow{border:2px solid color-mix(in srgb,var(--yellow) 70%,white)}}.starter-card.purple{background:var(--card-purple);border:2px solid var(--purple)}@supports (color:color-mix(in lab, red, red)){.starter-card.purple{border:2px solid color-mix(in srgb,var(--purple) 45%,white)}}.starter-card.coral span{color:var(--pink)}.starter-card.turquoise span{color:var(--turquoise)}.starter-card.yellow span{color:#d99d00}.starter-card.purple span{color:var(--purple)}.messages{flex-direction:column;gap:15px;padding:18px 15px 8px;display:flex}.day-label{background:var(--purple);border-radius:999px;align-self:center}@supports (color:color-mix(in lab, red, red)){.day-label{background:color-mix(in srgb,var(--purple) 10%,white)}}.day-label{color:var(--purple-deep);padding:6px 13px;font-size:11px;font-weight:700}.message-row{align-items:flex-end;gap:8px;max-width:95%;animation:.24s both messageIn;display:flex}.message-row.child{align-self:flex-start}.message-row.guide{align-self:flex-end}.bubble{font-size:calc(15px * var(--text-scale));padding:13px 15px;line-height:1.85;box-shadow:0 5px 16px #372a6314}.child .bubble{background:linear-gradient(130deg,var(--purple),var(--purple))}@supports (color:color-mix(in lab, red, red)){.child .bubble{background:linear-gradient(130deg,var(--purple),color-mix(in srgb,var(--purple) 78%,white))}}.child .bubble{color:#fff;border-radius:19px 19px 6px}.guide .bubble{color:var(--ink);border:2px solid var(--purple);background:#fff}@supports (color:color-mix(in lab, red, red)){.guide .bubble{border:2px solid color-mix(in srgb,var(--purple) 11%,white)}}.guide .bubble{border-radius:19px 19px 19px 6px}.typing{gap:5px;padding:18px 20px;display:flex}.typing i{background:var(--purple);border-radius:50%;width:7px;height:7px;animation:1s infinite bounce}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}.message-actions{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.message-actions button{border:1px solid var(--purple)}@supports (color:color-mix(in lab, red, red)){.message-actions button{border:1px solid color-mix(in srgb,var(--purple) 15%,white)}}.message-actions button{color:var(--purple-deep);cursor:pointer;background:#fff;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:800}.message-actions .fav{color:#aaa;font-size:13px}.message-actions .fav.active{color:#e6a500;background:#fff4b9}.composer{border-top:1px solid var(--line);direction:rtl;background:#fffffff5;grid-template-columns:1fr 52px;align-items:center;gap:8px;padding:10px 13px 7px;display:grid}.input-wrap{border:2px solid var(--purple);height:52px}@supports (color:color-mix(in lab, red, red)){.input-wrap{border:2px solid color-mix(in srgb,var(--purple) 20%,white)}}.input-wrap{background:var(--purple);border-radius:18px}@supports (color:color-mix(in lab, red, red)){.input-wrap{background:color-mix(in srgb,var(--purple) 3%,white)}}.input-wrap{align-items:center;padding:0 7px 0 13px;transition:all .2s;display:flex}.input-wrap:focus-within{border-color:var(--purple);box-shadow:0 0 0 4px var(--purple)}@supports (color:color-mix(in lab, red, red)){.input-wrap:focus-within{box-shadow:0 0 0 4px color-mix(in srgb,var(--purple) 10%,transparent)}}.input-wrap:focus-within{background:#fff}.input-wrap input{min-width:0;height:100%;color:var(--ink);font-size:calc(15px * var(--text-scale));direction:rtl;background:0 0;border:0;outline:0;flex:1}.input-wrap input::placeholder{color:#9a94aa}.mic-disabled{color:#948daa;cursor:pointer;background:#ede9f8;border:0;border-radius:13px;place-items:center;width:38px;height:38px;display:grid}.mic-disabled svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:20px}.send-button{background:var(--turquoise);color:#fff;cursor:pointer;width:52px;height:52px;box-shadow:0 5px 0 var(--turquoise);border:0;border-radius:17px;place-items:center;display:grid}@supports (color:color-mix(in lab, red, red)){.send-button{box-shadow:0 5px 0 color-mix(in srgb,var(--turquoise) 75%,black)}}.send-button{transition:all .16s}.send-button:active{box-shadow:0 2px 0 var(--turquoise);transform:translateY(3px)}@supports (color:color-mix(in lab, red, red)){.send-button:active{box-shadow:0 2px 0 color-mix(in srgb,var(--turquoise) 75%,black)}}.send-button:disabled{cursor:not-allowed;background:#c6c0d3;box-shadow:0 4px #aaa4b7}.send-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:25px;transform:scaleX(-1)}.little-reminder{text-align:center;color:#8b849b;background:#fff;justify-content:center;align-items:center;gap:6px;margin:0;padding:0 10px 9px;font-size:8.5px;display:flex}.little-reminder .beta{color:var(--purple);background:var(--purple)}@supports (color:color-mix(in lab, red, red)){.little-reminder .beta{background:color-mix(in srgb,var(--purple) 10%,white)}}.little-reminder .beta{white-space:nowrap;border-radius:999px;padding:3px 6px;font-weight:800}.dg-mark{color:#716b80;white-space:nowrap;border-right:1px solid #e9e5ef;align-items:center;gap:3px;padding-right:6px;font-weight:700;display:flex}.dg-mark b{color:var(--purple);font-size:11px}.modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:20;background:#1c16348c;place-items:center;padding:20px;animation:.2s fadeIn;display:grid;position:fixed;inset:0}.settings-sheet,.parent-sheet{text-align:right;background:#fff;border-radius:30px;width:min(100%,410px);max-height:min(90dvh,720px);padding:26px;position:relative;overflow-y:auto;box-shadow:0 30px 80px #18113540}.close{width:37px;height:37px;color:var(--ink);cursor:pointer;background:#f0edf7;border:0;border-radius:12px;font-size:25px;position:absolute;top:15px;left:17px}.sheet-icon,.parent-icon{background:#fff1b5;border-radius:20px;place-items:center;width:58px;height:58px;margin-bottom:11px;font-size:27px;display:grid}.sheet-kicker,.parent-kicker{color:var(--purple);margin:0 0 4px;font-size:12px;font-weight:900}.settings-sheet h2,.parent-sheet h2{margin:0 0 18px;font-size:24px}.setting-label{color:var(--ink);margin:15px 0 8px;font-size:12px;font-weight:900;display:block}.theme-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.theme-grid button{color:var(--ink);cursor:pointer;background:#fff;border:2px solid #eeeaf7;border-radius:15px;justify-content:space-between;align-items:center;padding:9px;font-size:12px;font-weight:800;display:flex}.theme-grid button.selected,.segmented button.selected,.avatar-row button.selected,.interest-grid button.selected{border-color:var(--purple);background:var(--purple)}@supports (color:color-mix(in lab, red, red)){.theme-grid button.selected,.segmented button.selected,.avatar-row button.selected,.interest-grid button.selected{background:color-mix(in srgb,var(--purple) 8%,white)}}.theme-grid button.selected,.segmented button.selected,.avatar-row button.selected,.interest-grid button.selected{color:var(--purple-deep)}.swatches{direction:ltr;display:flex}.swatches i{border:2px solid #fff;border-radius:50%;width:16px;height:16px;margin-left:-4px;box-shadow:0 1px 4px #bbb}.segmented{background:#f3f0f8;border-radius:14px;grid-template-columns:repeat(3,1fr);gap:3px;padding:4px;display:grid}.segmented button{color:#726c7e;cursor:pointer;background:0 0;border:2px solid #0000;border-radius:10px;min-height:39px;font-size:11px;font-weight:800}.pattern-toggle{cursor:pointer;align-items:center;gap:9px;margin:16px 0;font-size:12px;font-weight:800;display:flex}.pattern-toggle input{opacity:0;position:absolute}.pattern-toggle span{background:#d9d4df;border-radius:999px;width:40px;height:23px;transition:all .2s;position:relative}.pattern-toggle span:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:all .2s;position:absolute;top:3px;right:3px;box-shadow:0 2px 5px #aaa}.pattern-toggle input:checked+span{background:var(--turquoise)}.pattern-toggle input:checked+span:after{transform:translate(-17px)}.sheet-primary,.parent-primary{background:var(--purple);color:#fff;cursor:pointer;width:100%;min-height:51px;box-shadow:0 5px 0 var(--purple-deep);border:0;border-radius:16px;margin-top:6px;font-size:14px;font-weight:800}.name-input{width:100%;height:50px;color:var(--ink);border:2px solid #e1dbf3;border-radius:14px;outline:0;padding:0 13px}.name-input:focus{border-color:var(--purple)}.avatar-row{grid-template-columns:repeat(6,1fr);gap:5px;display:grid}.avatar-row button{aspect-ratio:1;cursor:pointer;background:#fff;border:2px solid #eeeaf7;border-radius:13px;font-size:22px}.interest-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.interest-grid button{color:#70697e;cursor:pointer;background:#fff;border:2px solid #eeeaf7;border-radius:12px;min-height:38px;font-size:11px;font-weight:800}.name-gate-backdrop{background:radial-gradient(circle at 50% 20%,#7a5cf657,#1c1634bd);padding:12px}.name-gate{text-align:right;background:linear-gradient(155deg,#fff 0%,#fff9ed 55%,#f3edff 100%);border:3px solid #ffffffe6;border-radius:32px;width:min(100%,420px);max-height:96dvh;padding:22px 24px 24px;animation:.3s cubic-bezier(.2,.9,.25,1.15) gatePop;position:relative;overflow-y:auto;box-shadow:0 30px 90px #21154961,inset 0 0 0 1px #6c4cf514}.gate-mascot{place-items:center;height:112px;margin:-6px auto 0;display:grid}.gate-mascot .mascot-img{width:112px;height:112px;animation:2.8s ease-in-out infinite mascotHello}.gate-kicker{text-align:center;color:var(--pink);margin:0;font-size:12px;font-weight:900}.name-gate h2{text-align:center;color:var(--ink);letter-spacing:-.7px;margin:3px 0 4px;font-size:28px}.gate-copy{text-align:center;color:var(--muted);margin:0 auto 9px;font-size:13px;line-height:1.7}.gate-spark{pointer-events:none;font-weight:900;position:absolute}.gate-spark-one{color:var(--yellow);font-size:30px;top:34px;right:24px;transform:rotate(12deg)}.gate-spark-two{color:var(--turquoise);font-size:20px;top:72px;left:30px}.gate-name-input{background:#fff;border-width:3px;height:56px;font-size:18px;font-weight:800;box-shadow:0 5px 16px #432a8a12}.gate-name-input::placeholder{color:#aaa3b7;font-size:14px;font-weight:500}.address-grid{grid-template-columns:1fr 1fr;gap:7px;display:grid}.address-grid button{text-align:right;min-height:57px;color:var(--ink);cursor:pointer;background:#ffffffe6;border:2px solid #eee9f8;border-radius:15px;flex-direction:column;gap:2px;padding:7px 9px;display:flex}.address-grid button:last-child{grid-column:1/-1;min-height:48px}.address-grid button strong{font-size:12px}.address-grid button small{color:var(--muted);font-size:9.5px}.address-grid button.selected{border-color:var(--purple);background:var(--purple)}@supports (color:color-mix(in lab, red, red)){.address-grid button.selected{background:color-mix(in srgb,var(--purple) 8%,white)}}.address-grid button.selected{box-shadow:0 0 0 3px var(--purple)}@supports (color:color-mix(in lab, red, red)){.address-grid button.selected{box-shadow:0 0 0 3px color-mix(in srgb,var(--purple) 7%,transparent)}}.address-grid button.selected strong{color:var(--purple-deep)}.address-preview{color:#6d5812;text-align:center;background:#fff1b5;border:1px solid #f1d85d;border-radius:13px;margin:10px 0 5px;padding:9px 11px;font-size:11px}.address-preview b{color:var(--purple-deep)}.gate-primary{background:linear-gradient(115deg,var(--purple-deep),var(--purple),#8c72ff);box-shadow:0 6px 0 var(--purple-deep);margin-top:8px;font-size:15px}.sheet-primary:disabled{cursor:not-allowed;background:#c9c3d4;box-shadow:0 4px #aaa4b7}.address-grid.compact{grid-template-columns:1fr 1fr}.address-grid.compact button{min-height:52px}.address-grid.compact button:last-child{grid-column:1/-1}.parent-sheet>p:not(.parent-kicker){color:var(--muted);margin:8px 0 18px;font-size:14px;line-height:1.8}.parent-sheet label{margin-bottom:7px;font-size:13px;font-weight:800;display:block}.parent-sheet>input{text-align:center;letter-spacing:12px;border:2px solid #ddd4fa;border-radius:16px;outline:0;width:100%;height:55px;font-size:24px}.parent-sheet>input:focus{border-color:var(--purple)}.parent-sheet small{color:#958fa3;text-align:center;margin-top:12px;font-size:11px;line-height:1.7;display:block}.parent-dg{color:#777080;text-align:right;border-top:1px solid #eeeaf3;justify-content:center;align-items:center;gap:9px;margin-top:18px;padding-top:15px;font-size:10px;display:flex}.parent-dg b{background:var(--purple);color:#fff;border-radius:12px;place-items:center;width:35px;height:35px;font-size:17px;display:grid}.parent-dg strong{color:var(--ink);font-size:13px}.toast{z-index:30;background:var(--ink);color:#fff;border-radius:18px;align-items:center;gap:10px;width:min(100% - 30px,390px);min-height:57px;padding:10px 14px;font-size:13px;animation:.28s toastIn;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 16px 40px #27233f47}.toast svg{width:23px;fill:var(--yellow);flex:none}.toast button{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:9px;width:29px;height:29px;margin-right:auto;font-size:20px}@keyframes messageIn{0%{opacity:0;transform:translateY(7px)scale(.98)}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@keyframes fadeIn{0%{opacity:0}}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,10px)}}@keyframes gatePop{0%{opacity:0;transform:translateY(15px)scale(.96)}}@keyframes mascotHello{0%,to{transform:translateY(0)rotate(-1deg)}50%{transform:translateY(-6px)rotate(1deg)}}@media (width<=560px){.app-shell{background:var(--cream);padding:0;display:block}.app-shell.with-pattern:after{display:none}.phone-stage{width:100%;height:100dvh;min-height:600px;box-shadow:none;border:0;border-radius:0}.phone-stage:before{display:none}.topbar{padding-top:max(15px,env(safe-area-inset-top));min-height:82px}.welcome{padding-top:7px}}@media (width<=390px){.safety-strip{justify-content:flex-start;padding-right:12px}.safety-strip>span{display:none}.restart-button{left:7px}.trust-note{display:none}.little-reminder{font-size:8px}.welcome h1{font-size:calc(24px * var(--text-scale))}.personal-tools button{padding:4px 8px;font-size:10px}.name-gate{border-radius:26px;padding:16px 17px 19px}.gate-mascot{height:92px}.gate-mascot .mascot-img{width:92px;height:92px}.name-gate h2{font-size:24px}.gate-copy{font-size:12px}.setting-label{margin-top:11px}.address-grid button{min-height:52px}.gate-primary{min-height:48px}.gate-spark-one{top:22px;right:18px}}@media (height<=740px){.hero-mascot-wrap{height:83px}.mascot-img{width:82px;height:82px}.welcome{padding-top:3px}.welcome h1{font-size:calc(22px * var(--text-scale));line-height:1.3}.welcome-copy{margin:3px auto 6px;line-height:1.45}.personal-tools{margin-bottom:6px}.starter-card{min-height:53px}.topbar{min-height:75px}.safety-strip{min-height:34px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.phone-stage{grid-template-rows:auto 1fr auto auto}.welcome{justify-content:center;padding:24px 22px 12px}.hero-mascot-wrap{width:180px;height:145px}.welcome h1{font-size:calc(clamp(26px,6.5vw,31px) * var(--text-scale));margin:5px 0 14px}.personal-tools{margin-bottom:14px}.personal-tools button{min-height:32px;padding:4px 12px}.starter-grid{gap:10px}.starter-card{min-height:68px}.messages .restart-button{background:var(--purple);border:0;align-self:center;position:static}@supports (color:color-mix(in lab, red, red)){.messages .restart-button{background:color-mix(in srgb,var(--purple) 8%,white)}}.messages .restart-button{color:var(--purple-deep);border-radius:999px;min-height:28px;padding:0 10px}.little-reminder{padding:0 10px max(8px,env(safe-area-inset-bottom));gap:0}.dg-mark{border:0;padding:0}.name-gate{text-align:center;width:min(100%,370px);padding:18px 24px 24px}.gate-mascot{height:104px;margin:-4px auto 0}.gate-mascot .mascot-img{width:104px;height:104px}.name-gate h2{margin:2px 0 15px;font-size:28px}.gate-name-input{text-align:center}.gender-grid{grid-template-columns:1fr 1fr;gap:10px;margin:12px 0;display:grid}.gender-grid button{min-height:92px;color:var(--ink);cursor:pointer;background:#fff;border:3px solid #eee9f8;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex;position:relative}.gender-grid button span{font-size:38px;line-height:1}.gender-grid button strong{font-size:13px}.gender-grid button i{background:var(--purple);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:13px;font-style:normal;display:none;position:absolute;top:7px;left:7px}.gender-grid button.selected{border-color:var(--purple);background:var(--purple)}@supports (color:color-mix(in lab, red, red)){.gender-grid button.selected{background:color-mix(in srgb,var(--purple) 7%,white)}}.gender-grid button.selected{box-shadow:0 0 0 4px var(--purple)}@supports (color:color-mix(in lab, red, red)){.gender-grid button.selected{box-shadow:0 0 0 4px color-mix(in srgb,var(--purple) 8%,transparent)}}.gender-grid button.selected i{display:grid}.profile-gender button{min-height:76px}.profile-gender button span{font-size:30px}.gate-primary{margin-top:2px;font-size:16px}@media (width<=390px){.welcome{padding-top:14px}.hero-mascot-wrap{height:125px}.name-gate{padding:14px 17px 18px}.gate-mascot{height:88px}.gate-mascot .mascot-img{width:88px;height:88px}.gender-grid button{min-height:82px}}@media (height<=740px){.welcome{justify-content:flex-start}.hero-mascot-wrap{height:95px}.starter-card{min-height:58px}.name-gate{padding-top:12px}.gate-mascot{height:78px}.gate-mascot .mascot-img{width:78px;height:78px}}.profile-chip{align-items:center;gap:4px;display:flex}.child-avatar-small{object-fit:contain;width:23px;height:23px}.gender-grid button span{place-items:center;width:58px;height:58px;line-height:1;display:grid}.gender-grid button span img{object-fit:contain;filter:drop-shadow(0 5px 7px #32265c21);width:100%;height:100%}.profile-gender button span{width:48px;height:48px}.child-sheet-icon{background:linear-gradient(145deg,#fff1b5,#eee8ff);padding:2px;overflow:hidden}.child-sheet-icon .child-avatar{object-fit:contain;width:100%;height:100%}.loading-screen{min-height:100dvh;color:var(--purple-deep);background:linear-gradient(145deg,#f2ecff,#fff7e7);place-content:center;justify-items:center;gap:4px;font-size:24px;font-weight:900;display:grid}.loading-screen .mascot-img{width:140px;height:140px;animation:2.4s ease-in-out infinite mascotHello}.parent-entry,.parent-app{min-height:100dvh;color:var(--ink);background:radial-gradient(circle at 12% 14%,#ffd84d6b,#0000 23rem),radial-gradient(circle at 88% 85%,#20cdbb38,#0000 24rem),linear-gradient(145deg,#f0eaff,#fff8ee 56%,#f3fffc);position:relative;overflow-x:hidden}.parent-entry{place-items:center;padding:24px;display:grid}.parent-orb{pointer-events:none;filter:blur(1px);border-radius:50%;position:fixed}.parent-orb-one{background:#6c4cf51f;width:180px;height:180px;top:-45px;right:-55px}.parent-orb-two{background:#ff5c8a1f;width:135px;height:135px;bottom:4%;left:-40px}.entry-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:2;background:#ffffffe0;border:1px solid #fffffff5;border-radius:34px;width:min(100%,430px);padding:24px 30px 20px;position:relative;box-shadow:0 28px 80px #4a30872e}.entry-brand{justify-items:center;margin-top:-12px;display:grid}.entry-brand .mascot-img{width:130px;height:130px}.entry-brand strong{color:var(--purple-deep);font-size:26px;line-height:1}.entry-brand span{color:var(--muted);background:#f1ecff;border-radius:999px;margin-top:7px;padding:5px 10px;font-size:11px}.entry-card form{margin-top:22px;position:relative}.entry-card h1{text-align:center;margin:0 0 22px;font-size:27px}.entry-card label,.child-form-card label{color:#514b63;margin:0 0 8px;font-size:13px;font-weight:900;display:block}.entry-card input,.child-form-card input{width:100%;height:58px;color:var(--ink);background:#fff;border:2px solid #e4def1;border-radius:17px;outline:0;padding:0 16px;font-size:18px;transition:all .18s}.entry-card input:focus,.child-form-card input:focus{border-color:var(--purple);box-shadow:0 0 0 4px #6c4cf514}.entry-card form>button:not(.entry-back),.save-child{background:linear-gradient(120deg,var(--purple-deep),var(--purple));color:#fff;width:100%;height:56px;box-shadow:0 6px 0 var(--purple-deep);cursor:pointer;border:0;border-radius:17px;margin-top:14px;font-weight:900}.entry-card form>button:disabled,.save-child:disabled,.pin-gate>button:disabled{cursor:not-allowed;background:#c9c3d4;box-shadow:0 5px #ada6b9}.entry-back{color:var(--ink);cursor:pointer;background:#f0ecf7;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid;position:absolute;top:-1px;right:0}.entry-back svg,.parent-topbar button svg,.restart-button svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.code-input{text-align:center;letter-spacing:14px;font-weight:900;font-size:25px!important}.demo-code{text-align:center;color:var(--muted);margin:10px 0 -2px;font-size:11px}.demo-code b{color:var(--purple-deep);letter-spacing:2px;font-size:14px}.entry-dg{color:#898394;border-top:1px solid #eee9f4;justify-content:center;align-items:center;gap:5px;margin-top:25px;padding-top:15px;font-size:10px;font-weight:800;display:flex}.entry-dg b{color:var(--purple);font-size:14px}.parent-topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:5;background:#ffffffb8;border-bottom:1px solid #4b368417;justify-content:space-between;align-items:center;height:78px;padding:10px max(20px,50vw - 520px);display:flex;position:sticky;top:0}.parent-topbar>div{align-items:center;gap:4px;display:flex}.parent-topbar .mascot-small{width:55px;height:55px}.parent-topbar>div strong{color:var(--purple-deep);font-size:19px}.parent-topbar>div small{color:var(--muted);background:#efeaff;border-radius:999px;margin-right:2px;padding:3px 6px;font-size:9px}.parent-topbar>button{color:#514a66;cursor:pointer;background:#ede8f8;border:0;border-radius:13px;align-items:center;gap:5px;min-height:40px;padding:0 12px;font-size:12px;font-weight:800;display:flex}.parent-account span{color:#43c68b;font-size:11px}.parent-dashboard{width:min(100% - 32px,920px);margin:0 auto;padding:34px 0 30px}.dashboard-title{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.dashboard-title p{color:var(--purple);margin:0 0 4px;font-size:12px;font-weight:900}.dashboard-title h1{letter-spacing:-.7px;margin:0;font-size:clamp(24px,4vw,32px)}.dashboard-title>button{background:var(--purple);color:#fff;cursor:pointer;min-height:43px;box-shadow:0 5px 0 var(--purple-deep);border:0;border-radius:14px;padding:0 15px;font-weight:900}.children-list{gap:11px;display:grid}.child-card{cursor:pointer;background:#ffffffd6;border:2px solid #0000;border-radius:23px;grid-template-columns:68px minmax(90px,1fr) auto auto;align-items:center;gap:10px;padding:12px 14px;transition:all .18s;display:grid;box-shadow:0 9px 28px #3e2d6e12}.child-card.active{background:#fff;border-color:#6c4cf559}.child-card>.child-avatar{object-fit:contain;background:linear-gradient(145deg,#fff0ba,#efe9ff);border-radius:19px;width:64px;height:64px;padding:3px}.child-card-copy{flex-direction:column;gap:5px;display:flex}.child-card-copy strong{font-size:18px}.child-card-copy span{color:var(--muted);font-size:11px}.report-button,.enter-child-button{cursor:pointer;border:0;border-radius:13px;min-height:40px;padding:0 13px;font-size:11px;font-weight:900}.report-button{color:var(--purple-deep);background:#eee9f8}.enter-child-button{background:var(--turquoise);color:#fff;box-shadow:0 4px #159e91}.empty-child{width:100%;height:145px;color:var(--purple-deep);cursor:pointer;background:#ffffffb3;border:2px dashed #cfc5ec;border-radius:24px;place-content:center;justify-items:center;gap:9px;display:grid}.empty-child span{background:#ede7ff;border-radius:16px;place-items:center;width:48px;height:48px;font-size:25px;display:grid}.family-report{background:#ffffffe6;border-radius:25px;margin-top:18px;padding:18px;box-shadow:0 10px 32px #3e2d6e14}.report-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;display:flex}.report-heading>div{align-items:center;gap:8px;display:flex}.report-heading .child-avatar-small{background:#f2edff;border-radius:13px;width:43px;height:43px}.report-heading span{flex-direction:column;display:flex}.report-heading b{font-size:15px}.report-heading small{color:var(--muted);margin-top:2px;font-size:10px}.report-heading em{border-radius:999px;padding:6px 9px;font-size:10px;font-style:normal;font-weight:900}.report-heading em.safe{color:#177a58;background:#dcf8ec}.report-heading em.warning{color:#8a6012;background:#fff0c6}.report-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;display:grid}.report-stats>div{background:linear-gradient(145deg,#f7f4ff,#fff);border:1px solid #eee9f7;border-radius:17px;place-content:center;justify-items:center;min-height:85px;display:grid}.report-stats strong{color:var(--purple-deep);font-size:24px}.report-stats span{color:var(--muted);margin-top:4px;font-size:10px}.report-row{min-height:45px;color:var(--muted);border-top:1px solid #eeeaf3;justify-content:space-between;align-items:center;font-size:11px;display:flex}.report-row strong{color:var(--ink);font-size:12px}.parent-controls{background:#ffffffd1;border-radius:25px;margin-top:18px;padding:18px}.parent-controls h2{margin:0 0 10px;font-size:13px}.limit-options{grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:16px;display:grid}.limit-options button{height:40px;color:var(--muted);cursor:pointer;background:#fff;border:2px solid #eee9f6;border-radius:12px;font-size:11px;font-weight:900}.limit-options button.selected{border-color:var(--purple);color:var(--purple-deep);background:#f1edff}.control-row{text-align:right;width:100%;min-height:62px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-top:1px solid #eee9f3;grid-template-columns:42px 1fr 20px;align-items:center;gap:9px;display:grid}.control-row>span:nth-child(2){flex-direction:column;gap:3px;display:flex}.control-row small{color:var(--muted);font-size:9.5px}.control-row i{color:#a69fb4;font-size:24px;font-style:normal}.control-icon{border-radius:12px;place-items:center;width:36px;height:36px;font-weight:900;display:grid!important}.control-icon.shield{color:#168460;background:#ddf8ed}.control-icon.chart{color:var(--purple);background:#ede7ff}.parent-footer{text-align:center;color:#958fa0;margin-top:20px;font-size:9px}.parent-footer b{color:var(--purple);margin-left:4px;font-size:13px}.child-form-card{background:#ffffffe6;border-radius:28px;width:min(100% - 28px,620px);margin:30px auto;padding:24px;box-shadow:0 18px 60px #402b781f}.form-heading{align-items:center;gap:11px;margin-bottom:22px;display:flex}.form-heading>span{width:52px;height:52px;color:var(--purple);background:#eee8ff;border-radius:17px;place-items:center;font-size:26px;display:grid}.form-heading h1{margin:0;font-size:24px}.form-heading p{color:var(--muted);margin:4px 0 0;font-size:10px}.child-form-card label{margin-top:18px}.parent-gender-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.parent-gender-grid button{height:108px;color:var(--ink);cursor:pointer;background:#fff;border:3px solid #eee9f7;border-radius:20px;justify-content:center;align-items:center;gap:8px;font-weight:900;display:flex;position:relative}.parent-gender-grid button img{object-fit:contain;width:72px;height:72px}.parent-gender-grid button i{background:var(--purple);color:#fff;border-radius:50%;place-items:center;width:23px;height:23px;font-style:normal;display:none;position:absolute;top:9px;left:9px}.parent-gender-grid button.selected{border-color:var(--purple);background:#f7f4ff}.parent-gender-grid button.selected i{display:grid}.age-grid{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.age-grid button{min-height:63px;color:var(--ink);cursor:pointer;background:#fff;border:2px solid #eee9f6;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:3px;display:flex}.age-grid button strong{font-size:12px}.age-grid button span{color:var(--muted);font-size:9px}.age-grid button.selected{border-color:var(--purple);color:var(--purple-deep);background:#f0ebff}.pin-field{text-align:center;letter-spacing:12px;font-size:24px!important}.save-child{margin-top:21px!important}.topbar{justify-content:center}.topbar .brand{flex-direction:row-reverse}.child-avatar{object-fit:contain;width:58px;height:58px}.personal-tools button{align-items:center;gap:5px;display:flex}.personal-tools .child-avatar-small{width:23px;height:23px}.dg-mark{cursor:default;-webkit-user-select:none;user-select:none;touch-action:none;background:0 0;border:0!important;padding:2px 5px!important}.restart-button{align-items:center;gap:4px;display:flex}.restart-button svg{transform:rotate(180deg)}.child-profile-head{border-bottom:1px solid #eeeaf3;align-items:center;gap:12px;padding-bottom:15px;display:flex}.child-profile-head>.child-avatar{background:linear-gradient(145deg,#fff2bf,#efe9ff);border-radius:22px;width:74px;height:74px}.child-profile-head h2{margin:0 0 5px}.child-profile-head span{color:var(--muted);font-size:11px}.pin-gate{text-align:center;background:#fff;border-radius:28px;width:min(100%,350px);padding:28px;position:relative;box-shadow:0 28px 80px #18113547}.parent-lock{width:58px;height:58px;color:var(--purple);background:#eee9ff;border-radius:19px;place-items:center;margin:0 auto 10px;font-size:0;display:grid}.parent-lock:before{content:"";border:3px solid var(--purple);border-radius:5px;width:17px;height:14px;position:relative;top:5px}.parent-lock:after{content:"";border:3px solid var(--purple);border-bottom:0;border-radius:10px 10px 0 0;width:12px;height:10px;position:absolute;top:35px}.pin-gate h2{margin:0 0 17px;font-size:21px}.pin-gate input{text-align:center;letter-spacing:13px;border:2px solid #e0d9f1;border-radius:16px;outline:0;width:100%;height:56px;font-size:24px}.pin-gate input:focus{border-color:var(--purple)}.pin-gate>button:not(.close){background:var(--purple);color:#fff;width:100%;height:50px;box-shadow:0 5px 0 var(--purple-deep);cursor:pointer;border:0;border-radius:15px;margin-top:10px;font-weight:900}@media (width<=700px){.parent-topbar{padding:10px 16px}.parent-dashboard{padding-top:24px}.child-card{grid-template-columns:57px 1fr auto}.child-card>.child-avatar{width:54px;height:54px}.child-card .report-button{display:none}.enter-child-button{grid-column:auto}.dashboard-title h1{font-size:24px}.age-grid{grid-template-columns:1fr 1fr}.entry-card{padding:20px 22px}.entry-brand .mascot-img{width:112px;height:112px}.entry-card form{margin-top:17px}}@media (width<=430px){.parent-entry{background:#f7f2ff;padding:0}.entry-card{border-radius:0;flex-direction:column;justify-content:center;width:100%;min-height:100dvh;display:flex}.parent-dashboard{width:calc(100% - 22px)}.dashboard-title{align-items:center}.dashboard-title>button{padding:0 11px;font-size:10px}.child-card{gap:7px;padding:10px}.child-card-copy strong{font-size:15px}.enter-child-button{padding:0 9px;font-size:9.5px}.family-report,.parent-controls{border-radius:21px}.child-form-card{border-radius:22px;margin:14px auto;padding:18px}.parent-gender-grid button{height:96px}.parent-gender-grid button img{width:64px;height:64px}.topbar{min-height:78px}.topbar .mascot-small{width:47px;height:47px}.welcome h1{font-size:calc(23px * var(--text-scale));white-space:nowrap}.starter-card{min-height:63px}.code-input{letter-spacing:11px}}.entry-hint,.known-phone{text-align:center;color:var(--muted);margin:11px 0 0;font-size:11px;line-height:1.7}.known-phone{margin:-13px 0 18px;font-weight:800}.entry-card form>.entry-text-button{font-size:11px;height:auto!important;min-height:30px!important;color:var(--purple-deep)!important;box-shadow:none!important;background:0 0!important;margin:9px 0 0!important;padding:4px!important}.entry-card form>.entry-text-button.muted{color:var(--muted)!important;margin-top:2px!important}.family-portal-note{background:#6c4cf514;border:1px solid #6c4cf521;border-radius:18px;align-items:center;gap:11px;margin:-3px 0 14px;padding:12px 14px;display:flex}.family-portal-note>span{width:38px;height:38px;color:var(--purple);background:#fff;border-radius:12px;place-items:center;font-size:19px;display:grid}.family-portal-note>div{flex-direction:column;gap:3px;display:flex}.family-portal-note b{font-size:12px}.family-portal-note small{color:var(--muted);font-size:10px}.family-portal-note small strong{color:var(--purple-deep);direction:ltr;display:inline-block}.children-list .child-card{text-align:right;width:100%;color:var(--ink);border:2px solid #0000;grid-template-columns:68px minmax(90px,1fr) 34px;font-family:inherit}.children-list .child-card>i{color:#0000;background:#eee9f8;border-radius:50%;place-items:center;width:29px;height:29px;font-size:14px;font-style:normal;display:grid}.children-list .child-card.active>i{background:var(--purple);color:#fff}.child-card-copy span{line-height:1.6}.empty-report{background:#faf8ff;border:1px dashed #dcd4f1;border-radius:17px;justify-content:center;align-items:center;gap:10px;min-height:94px;margin-bottom:13px;padding:14px;display:flex}.empty-report>span{color:var(--purple);font-size:23px}.empty-report>div{flex-direction:column;gap:5px;display:flex}.empty-report b{font-size:13px}.empty-report small{color:var(--muted);font-size:10px;line-height:1.6}.focus-child-launch{background:linear-gradient(120deg,#13a99b,var(--turquoise));color:#fff;cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;margin-top:7px;font-size:14px;font-weight:900;display:flex;box-shadow:0 5px #148f84}.focus-child-launch span{font-size:20px}.time-control>p{color:var(--muted);margin:-5px 0 11px;font-size:10px}.time-control .limit-options{grid-template-columns:1fr 1fr;margin-bottom:10px}.manual-limit{background:#fff;border:2px solid #ddd5f2;border-radius:14px;grid-template-columns:1fr auto;align-items:center;width:min(100%,260px);height:48px;margin:0 0 16px;padding:0 13px;display:grid}.manual-limit:focus-within{border-color:var(--purple);box-shadow:0 0 0 4px #6c4cf512}.manual-limit input{width:100%;min-width:0;color:var(--ink);text-align:right;background:0 0;border:0;outline:0;font-size:19px;font-weight:900}.manual-limit span{color:var(--muted);border-right:1px solid #e9e4f2;padding-right:9px;font-size:11px}.control-icon.knowledge{color:#a47700;background:#fff0bd}.parent-controls h2{font-size:15px}.control-row b{font-size:13px}.control-row small{font-size:10px}.knowledge-source{width:max-content;max-width:100%;color:var(--purple-deep);background:var(--purple);margin:5px 4px 0}@supports (color:color-mix(in lab, red, red)){.knowledge-source{background:color-mix(in srgb,var(--purple) 8%,white)}}.knowledge-source{border-radius:999px;padding:4px 8px;font-size:8.5px;font-weight:900}.time-up-card{z-index:9;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);text-align:center;background:#fff8eef7;flex-direction:column;justify-content:center;align-items:center;padding:34px;display:flex;position:absolute;inset:96px 0 36px}.time-up-card>span{width:74px;height:74px;color:var(--purple);background:#eee8ff;border-radius:25px;place-items:center;font-size:37px;display:grid;box-shadow:0 10px 24px #432d811f}.time-up-card h2{margin:18px 0 7px;font-size:25px}.time-up-card p{max-width:280px;margin:0;font-size:14px;line-height:1.8}.time-up-card small{color:var(--muted);margin-top:13px;font-size:10px}.composer input:disabled{cursor:not-allowed}@media (width<=700px){.family-portal-note small{font-size:9px}.children-list .child-card{grid-template-columns:57px 1fr 30px}.report-heading small{max-width:190px;line-height:1.5}}@media (width<=430px){.family-portal-note{padding:10px}.family-portal-note>span{display:none}.children-list .child-card{grid-template-columns:55px 1fr 28px}.focus-child-launch{min-height:50px}.manual-limit{width:100%}.time-up-card{inset:78px 0 33px}}.institute-signature{color:#6f697d;justify-content:center;align-items:center;gap:7px;display:inline-flex}.institute-signature>img{object-fit:contain;width:42px;height:28px;display:block}.institute-signature>span{flex-direction:column;align-items:flex-start;gap:1px;line-height:1.15;display:flex}.institute-signature b{color:#494259!important;margin:0!important;font-size:10px!important}.institute-signature small{color:#8c8597;white-space:nowrap;font-size:7.5px}.entry-dg{padding-top:11px}.entry-dg .institute-signature b{font-size:11px!important}.entry-dg .institute-signature small{font-size:8px}.parent-footer .institute-signature b{font-size:10px!important}.dg-mark.institute-signature{gap:5px!important;display:inline-flex!important}.dg-mark.institute-signature>img{width:34px;height:22px}.dg-mark.institute-signature>span{align-items:flex-start}.dg-mark.institute-signature b{font-size:8px!important}.dg-mark.institute-signature small{font-size:6.5px}.little-reminder{min-height:34px}.kid-entry .entry-card form label+input+label{margin-top:18px}.kid-entry .entry-brand span{color:#147b70;background:#dcf8f3}.starter-card{min-height:72px;padding:9px 7px;line-height:1.45}.starter-card span{margin-bottom:1px}.child-access-card{background:#ffffffe0;border-radius:25px;margin-top:18px;padding:18px;box-shadow:0 10px 32px #3e2d6e12}.child-access-card h2{margin:0 0 12px;font-size:15px}.child-code-editor{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.child-code-editor input{letter-spacing:1px;background:#fff;border:2px solid #e1daef;border-radius:14px;outline:0;min-width:0;height:49px;padding:0 13px;font-size:14px}.child-code-editor input:focus{border-color:var(--purple);box-shadow:0 0 0 4px #6c4cf512}.child-code-editor button,.device-access button{background:var(--purple);color:#fff;cursor:pointer;border:0;border-radius:13px;padding:0 15px;font-size:11px;font-weight:900}.child-code-editor button:disabled,.device-access button:disabled{color:#8c8498;cursor:not-allowed;background:#d1cbdc}.device-access{border-top:1px solid #eee9f3;justify-content:space-between;align-items:center;gap:10px;min-height:47px;margin-top:10px;padding-top:10px;display:flex}.device-access span{color:var(--muted);font-size:11px;font-weight:800}.device-access button{min-height:35px;color:var(--purple-deep);background:#eee9f8}.empty-report{min-height:76px}.dashboard-title{align-items:center}.parent-controls{padding-top:14px}.control-row>span:nth-child(2){display:block}.institute-signature>img{object-fit:contain;border-radius:50%;width:40px;height:40px}.entry-dg .institute-signature>img{width:48px;height:48px}.parent-footer .institute-signature>img{width:44px;height:44px}.little-reminder .institute-signature>img{width:30px;height:30px}.little-reminder .institute-signature b{font-size:8px!important}.little-reminder .institute-signature small{font-size:6.5px}.little-reminder{padding-top:2px}.report-heading>div>b{font-size:15px}@media (width<=430px){.starter-card{min-height:70px;font-size:calc(11px * var(--text-scale))}.child-access-card{border-radius:21px}.child-code-editor{grid-template-columns:1fr}.child-code-editor button{min-height:43px}.entry-dg .institute-signature>img{width:43px;height:43px}}.followup-suggestions{flex-wrap:wrap;gap:7px;padding:7px 42px 12px 4px;display:flex}.followup-suggestions button{border:1px solid var(--purple);min-height:34px}@supports (color:color-mix(in lab, red, red)){.followup-suggestions button{border:1px solid color-mix(in srgb,var(--purple) 24%,white)}}.followup-suggestions button{color:var(--purple-deep);cursor:pointer;background:#fff;border-radius:999px;padding:5px 11px;font-size:10px;font-weight:900;box-shadow:0 3px 9px #3727690f}.followup-suggestions button:hover{background:var(--purple)}@supports (color:color-mix(in lab, red, red)){.followup-suggestions button:hover{background:color-mix(in srgb,var(--purple) 7%,white)}}.followup-suggestions button:hover{transform:translateY(-1px)}.knowledge-source{cursor:pointer;width:max-content;max-width:100%;text-decoration:none;display:block}.safety-message .bubble{border:1px solid #f1c86b;box-shadow:0 8px 24px #905e0817;background:#fff9e8!important}.control-row:focus{outline:0}.control-row:focus-visible{outline-offset:-3px;border-radius:14px;outline:3px solid #6c4cf538}.control-details{color:var(--ink);background:#f7f4ff;border-radius:14px;flex-direction:column;gap:5px;margin:-1px 0 8px;padding:12px 14px;display:flex}.control-details b{font-size:11px}.control-details span{color:var(--muted);font-size:9.5px;line-height:1.8}.control-details em{width:max-content;color:var(--purple-deep);background:#fff;border-radius:999px;padding:5px 8px;font-size:9px;font-style:normal;font-weight:900}.safety-details{background:#effbf6}.safety-details em{color:#177a58}.parent-controls .control-row[aria-expanded=true]{background:#6c4cf509;border-radius:14px}.message-row.guide>div{min-width:0}@media (width<=430px){.followup-suggestions{gap:6px;padding-right:36px}.followup-suggestions button{padding:5px 9px;font-size:9.5px}.knowledge-source{font-size:8px}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}


/* Hoosha entry/privacy patch v11 */
.role-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 6px}.role-choice-card{cursor:pointer;background:#fff;border:2px solid #e7e1f3;border-radius:20px;min-height:126px;padding:16px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--ink);box-shadow:0 8px 22px #3e2d6e12;transition:transform .16s,border-color .16s,box-shadow .16s}.role-choice-card:hover{transform:translateY(-2px);border-color:var(--purple);box-shadow:0 10px 26px #3e2d6e18}.role-choice-card:active{transform:translateY(1px)}.role-choice-card .role-icon{font-size:34px;line-height:1}.role-choice-card strong{font-size:15px}.role-choice-card small{color:var(--muted);font-size:10px;line-height:1.7;text-align:center}.entry-choice-copy{text-align:center;color:var(--muted);font-size:12px;line-height:1.8;margin:-8px 0 2px}.entry-privacy-foot{text-align:center;color:#817b90;font-size:9.5px;line-height:1.7;margin:14px 0 0}.child-privacy-note{max-width:350px;color:#47645d;background:#eefaf6;border:1px solid #d7f0e7;border-radius:14px;margin:-3px auto 11px;padding:7px 10px;font-size:9.5px;line-height:1.7;font-weight:700}.parent-preview-note{color:#5d4a0a;background:#fff5c9;border-bottom:1px solid #eadc9a;min-height:38px;padding:8px 13px;font-size:10px;line-height:1.6;font-weight:800;display:flex;align-items:center;justify-content:center;text-align:center}.chat-privacy-tools{background:#f5fbf8;border:1px solid #dcefe7;border-radius:17px;margin-top:16px;padding:13px;text-align:right}.chat-privacy-tools strong{display:block;color:#244d43;font-size:12px;margin-bottom:4px}.chat-privacy-tools span{display:block;color:#6d7d78;font-size:10px;line-height:1.75}.chat-privacy-tools button{width:100%;min-height:42px;margin-top:9px;color:#8a2f3d;background:#fff;border:1px solid #f1cbd2;border-radius:12px;cursor:pointer;font-size:11px;font-weight:900}.chat-privacy-tools button:disabled{opacity:.5;cursor:not-allowed}.age-supervision-note{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;background:#fff;border:1px solid #e6ebf0;border-radius:13px;padding:10px 11px}.age-supervision-note span{color:#758193;font-size:10px}.age-supervision-note strong{color:#334155;font-size:11px}.age-supervision-note small{grid-column:1/-1;color:#7b8797;font-size:9px;line-height:1.7}.composer input:disabled{opacity:.75}.composer:has(input:disabled){background:#fbfafc}.parent-preview-note+.conversation{min-height:0}
@media (width<=430px){.role-choice-grid{grid-template-columns:1fr}.role-choice-card{min-height:96px;flex-direction:row;justify-content:flex-start;text-align:right;padding:13px 16px}.role-choice-card .role-icon{font-size:30px}.role-choice-card small{text-align:right}.child-privacy-note{font-size:9px;margin-bottom:9px}.parent-preview-note{font-size:9px;padding:7px 10px}.age-supervision-note{grid-template-columns:1fr}.age-supervision-note strong{grid-row:2}.age-supervision-note small{grid-row:3}}

.switch-to-kid-button{width:100%;min-height:43px;margin-top:11px;border:1px solid #dcd5ef;border-radius:13px;background:#faf8ff;color:var(--purple-deep);cursor:pointer;font-size:11px;font-weight:900}.switch-to-kid-button:hover{background:#f1edff}.parent-preview-note{gap:9px}.parent-preview-note span{flex:1}.parent-preview-note button{flex:none;cursor:pointer;border:1px solid #d8c879;border-radius:10px;background:#fff;color:#66520d;min-height:28px;padding:4px 8px;font-size:9px;font-weight:900}@media (width<=430px){.parent-preview-note{flex-direction:column;gap:5px}.parent-preview-note button{min-height:26px}}

/* Housha v12 child home + navigation */
.kid-home-shell{min-height:100dvh;background:radial-gradient(circle at 12% 12%,#ffd84d55,transparent 21rem),radial-gradient(circle at 88% 84%,#20cdbb30,transparent 24rem),linear-gradient(145deg,#f0eaff,#fff8ee 56%,#f3fffc);padding:28px 18px;display:flex;justify-content:center;align-items:flex-start;color:var(--ink)}
.kid-home-card{width:min(100%,720px);background:#fffffff0;border:1px solid #ffffff;border-radius:32px;padding:20px;box-shadow:0 24px 70px #3f2a7822}
.kid-home-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee9f4;padding:0 0 14px}
.kid-home-brand{display:flex;align-items:center;gap:7px;color:var(--purple-deep);font-size:20px;font-weight:900}
.kid-home-brand img{width:48px;height:48px;object-fit:contain}
.kid-home-link{border:0;background:#f1ecff;color:var(--purple-deep);border-radius:12px;padding:9px 12px;font-size:11px;font-weight:900;cursor:pointer}
.kid-home-profile{display:flex;align-items:center;gap:14px;padding:20px 4px 10px}
.kid-home-profile>img{width:76px;height:76px;object-fit:contain;background:linear-gradient(145deg,#fff0ba,#efe9ff);border-radius:22px;padding:3px}
.kid-home-profile span{font-size:12px;color:var(--purple);font-weight:900}
.kid-home-profile h1{font-size:25px;margin:5px 0 0;letter-spacing:-.5px}
.kid-home-privacy{background:#f4f1ff;border:1px solid #e6defd;color:#5f5873;border-radius:16px;padding:11px 13px;font-size:11px;line-height:1.9;margin:6px 0 14px}
.kid-new-chat{width:100%;border:0;border-radius:20px;background:linear-gradient(120deg,var(--purple-deep),var(--purple));color:#fff;display:grid;grid-template-columns:48px 1fr;align-items:center;text-align:right;gap:10px;padding:14px 16px;cursor:pointer;box-shadow:0 6px 0 var(--purple-deep)}
.kid-new-chat>span{width:42px;height:42px;border-radius:14px;background:#ffffff24;display:grid;place-items:center;font-size:28px}
.kid-new-chat>div{display:flex;flex-direction:column;gap:4px}
.kid-new-chat strong{font-size:15px}
.kid-new-chat small{font-size:10px;color:#f1efff}
.kid-chat-list{margin-top:22px}
.kid-chat-list-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;padding:0 3px}
.kid-chat-list-title h2{font-size:16px;margin:0}
.kid-chat-list-title span{font-size:10px;color:var(--muted)}
.kid-chat-item{background:#fff;border:1px solid #eee9f6;border-radius:17px;display:grid;grid-template-columns:1fr 43px;align-items:center;margin-bottom:8px;box-shadow:0 5px 16px #3e2d6e0c;overflow:hidden}
.kid-chat-open{border:0;background:transparent;display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:9px;text-align:right;padding:11px 12px;cursor:pointer;min-width:0}
.kid-chat-icon{width:38px;height:38px;border-radius:12px;background:#efeaff;display:grid;place-items:center}
.kid-chat-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.kid-chat-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kid-chat-copy small{font-size:9px;color:var(--muted)}
.kid-chat-arrow{font-size:24px;color:#aaa2b7}
.kid-chat-delete{height:100%;min-height:61px;border:0;border-right:1px solid #f0ebf5;background:#fff8f8;cursor:pointer;font-size:16px}
.kid-chat-delete:hover{background:#ffecec}
.kid-chat-delete:disabled{opacity:.45;cursor:not-allowed}
.kid-chat-empty{min-height:150px;border:2px dashed #ddd5f2;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--muted);text-align:center;padding:22px}
.kid-chat-empty>span{font-size:30px}
.kid-chat-empty strong{color:var(--ink);font-size:13px}
.kid-chat-empty small{font-size:10px}
.kid-home-loading,.kid-home-error{min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}
.kid-home-loading img,.kid-home-error img{width:110px;height:110px;object-fit:contain}
.kid-home-loading strong{color:var(--purple-deep);font-size:22px}
.kid-home-loading span,.kid-home-error p{color:var(--muted);font-size:11px}
.kid-home-error button{border:0;background:var(--purple);color:#fff;border-radius:13px;padding:10px 18px;font-weight:900;cursor:pointer}
.topbar{position:relative}
.kid-home-button{position:absolute;left:14px;top:50%;transform:translateY(-25%);background:#ffffff20;color:#fff;border:1px solid #ffffff3d;border-radius:12px;min-height:34px;padding:0 10px;font-size:10px;font-weight:900;cursor:pointer;z-index:3}
.entry-card .entry-text-button.muted{margin-top:5px!important}
@media (max-width:560px){
.kid-home-shell{padding:0;background:#f8f4ff}
.kid-home-card{border:0;border-radius:0;min-height:100dvh;padding:16px 13px}
.kid-home-profile{padding-top:18px}
.kid-home-profile>img{width:66px;height:66px}
.kid-home-profile h1{font-size:22px}
.kid-home-privacy{font-size:10px}
.kid-new-chat{border-radius:17px}
.kid-chat-item{border-radius:15px}
.kid-home-button{left:8px}
}

/* Housha v12.1 — playful child home, preserving the original child visual language */
.kid-home-shell{min-height:100dvh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 12% 16%,#ffd84d66,transparent 19rem),radial-gradient(circle at 88% 84%,#20cdbb42,transparent 22rem),linear-gradient(145deg,var(--shell-a),var(--shell-b) 48%,var(--shell-c));overflow:hidden;position:relative}
.kid-home-shell:before,.kid-home-shell:after{content:"";position:fixed;border-radius:999px;pointer-events:none}.kid-home-shell:before{width:135px;height:135px;background:var(--pink);opacity:.1;right:-35px;top:-25px}.kid-home-shell:after{width:100px;height:100px;background:var(--purple);opacity:.09;left:-25px;bottom:5%}
.kid-home-device{width:min(100%,510px);height:min(900px,calc(100dvh - 40px));min-height:650px;background:var(--cream);border:7px solid var(--ink);border-radius:42px;overflow:hidden;display:grid;grid-template-rows:auto 1fr;box-shadow:0 30px 80px #3f2a7833,0 10px 25px #3f2a781f;position:relative}
.kid-home-device:before{content:"";position:absolute;z-index:5;top:-1px;left:50%;transform:translateX(-50%);width:105px;height:22px;background:var(--ink);border-radius:0 0 16px 16px}
.kid-home-topbar{min-height:92px;padding:27px 17px 13px;background:linear-gradient(115deg,var(--purple-deep),var(--purple) 58%,#8a73ff);display:flex;align-items:center;justify-content:space-between;color:#fff}
.kid-home-brand{display:flex;align-items:center;gap:6px;color:#fff;font-size:20px;font-weight:900}.kid-home-brand img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 5px 7px #301b7b30)}
.kid-home-link{cursor:pointer;border:1px solid #ffffff48;background:#ffffff20;color:#fff;border-radius:13px;min-height:38px;padding:0 11px;font-size:10px;font-weight:900}.kid-home-link:hover{background:#ffffff35}
.kid-home-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 16px 18px;scrollbar-width:thin;scrollbar-color:#d9d1fb transparent}
.kid-home-hero{text-align:center;padding:2px 4px 7px}.kid-home-mascot-wrap{width:148px;height:108px;margin:0 auto -3px;display:grid;place-items:center;position:relative}.kid-home-mascot{width:108px;height:108px;object-fit:contain;filter:drop-shadow(0 12px 13px #4a2d9630);animation:mascotHello 3.2s ease-in-out infinite}.kid-spark{position:absolute;font-weight:900;z-index:2}.kid-spark-a{color:var(--yellow);font-size:24px;right:10px;top:7px;transform:rotate(11deg)}.kid-spark-b{color:var(--pink);font-size:18px;left:8px;bottom:14px}.kid-spark-c{color:var(--turquoise);font-size:16px;left:15px;top:21px}
.kid-home-profile{display:flex;flex-direction:row-reverse;align-items:center;justify-content:center;gap:10px;padding:2px 0 5px}.kid-home-profile>img{width:58px;height:58px;object-fit:contain;background:linear-gradient(145deg,#fff1bd,#eee8ff);border:2px solid #fff;border-radius:18px;padding:2px;box-shadow:0 6px 16px #3d2b7517}.kid-home-profile>div{text-align:right}.kid-home-profile span{display:block;color:var(--pink);font-size:11px;font-weight:900}.kid-home-profile h1{margin:3px 0 0;font-size:22px;letter-spacing:-.5px;line-height:1.5;color:var(--ink)}
.kid-home-privacy{max-width:420px;margin:7px auto 4px;padding:7px 10px;border:1px solid #d9efe7;border-radius:999px;background:#eefaf6;color:#4e6a62;font-size:9px;line-height:1.6;font-weight:800}
.kid-new-chat{width:100%;min-height:73px;margin-top:7px;border:0;border-radius:21px;background:linear-gradient(120deg,var(--purple-deep),var(--purple),#8065ff);color:#fff;display:grid;grid-template-columns:49px 1fr;align-items:center;gap:11px;text-align:right;padding:12px 15px;cursor:pointer;box-shadow:0 6px 0 var(--purple-deep),0 12px 24px #543bcc1b;transition:transform .16s,box-shadow .16s}.kid-new-chat:hover{transform:translateY(-2px)}.kid-new-chat:active{transform:translateY(3px);box-shadow:0 3px 0 var(--purple-deep)}.kid-new-chat>span{width:45px;height:45px;border-radius:15px;background:#ffffff24;display:grid;place-items:center;font-size:29px;font-weight:500}.kid-new-chat>div{display:flex;flex-direction:column;gap:3px}.kid-new-chat strong{font-size:15px}.kid-new-chat small{font-size:9.5px;color:#f2efff;line-height:1.6}
.kid-chat-list{margin-top:19px}.kid-chat-list-title{display:flex;align-items:flex-end;justify-content:space-between;padding:0 3px 8px}.kid-chat-list-title>div{display:flex;flex-direction:column;gap:1px}.kid-section-kicker{color:var(--purple);font-size:9px;font-weight:900}.kid-chat-list-title h2{font-size:16px;margin:0;color:var(--ink)}.kid-chat-list-title>span{color:var(--muted);font-size:9px;background:#fff;border-radius:999px;padding:5px 8px;border:1px solid #eee9f7}
.kid-chat-item{display:grid;grid-template-columns:1fr 42px;align-items:stretch;border:2px solid transparent;border-radius:18px;margin-bottom:9px;overflow:hidden;box-shadow:0 6px 16px #3e2d6e0d;transition:transform .15s,box-shadow .15s}.kid-chat-item:hover{transform:translateY(-1px);box-shadow:0 8px 20px #3e2d6e13}.kid-chat-tone-0{background:var(--card-purple);border-color:#d8cdfd}.kid-chat-tone-1{background:var(--card-turq);border-color:#bdebe4}.kid-chat-tone-2{background:var(--card-yellow);border-color:#f1df89}.kid-chat-tone-3{background:var(--card-coral);border-color:#f4c2d0}
.kid-chat-open{border:0;background:transparent;display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:8px;text-align:right;padding:10px 11px;cursor:pointer;min-width:0}.kid-chat-icon{width:37px;height:37px;border-radius:12px;background:#ffffffb8;display:grid;place-items:center;font-size:18px;box-shadow:0 3px 8px #4a37720d}.kid-chat-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.kid-chat-copy strong{font-size:12px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kid-chat-copy small{font-size:8.5px;color:#726c80}.kid-chat-arrow{font-size:23px;color:#8f88a0}.kid-chat-delete{height:100%;min-height:61px;border:0;border-right:1px solid #ffffff8c;background:#ffffff78;cursor:pointer;font-size:15px;transition:background .15s}.kid-chat-delete:hover{background:#fff0f1}.kid-chat-delete:disabled{opacity:.45;cursor:not-allowed}
.kid-chat-empty{min-height:135px;border:2px dashed #d9d0f0;border-radius:20px;background:#ffffff8c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--muted);text-align:center;padding:20px}.kid-chat-empty>span{font-size:30px}.kid-chat-empty strong{font-size:12px;color:var(--ink)}.kid-chat-empty small{font-size:9px}
.kid-home-loading,.kid-home-error{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}.kid-home-loading img,.kid-home-error img{width:110px;height:110px;object-fit:contain}.kid-home-loading strong{color:var(--purple-deep);font-size:21px}.kid-home-loading span,.kid-home-error p{color:var(--muted);font-size:10px}
@media (max-width:560px){.kid-home-shell{display:block;padding:0;background:var(--cream)}.kid-home-device{width:100%;height:100dvh;min-height:600px;border:0;border-radius:0;box-shadow:none}.kid-home-device:before{display:none}.kid-home-topbar{min-height:80px;padding-top:max(14px,env(safe-area-inset-top));}.kid-home-scroll{padding:9px 13px max(14px,env(safe-area-inset-bottom))}.kid-home-mascot-wrap{height:94px}.kid-home-mascot{width:92px;height:92px}.kid-home-profile>img{width:52px;height:52px}.kid-home-profile h1{font-size:20px}.kid-home-privacy{font-size:8.5px}.kid-new-chat{min-height:68px;border-radius:18px}.kid-chat-item{border-radius:16px}}
@media (max-height:730px) and (min-width:561px){.kid-home-device{height:calc(100dvh - 24px);min-height:0}.kid-home-mascot-wrap{height:82px}.kid-home-mascot{width:82px;height:82px}.kid-home-profile>img{width:50px;height:50px}.kid-home-profile h1{font-size:19px}.kid-new-chat{min-height:64px}.kid-chat-list{margin-top:14px}}

/* Housha v12.2 — combined child home + focused fresh chat */
.kid-home-shell.with-pattern:before{box-shadow:0 0 0 0 transparent}.kid-home-shell.with-pattern .kid-home-scroll:after{content:"✦   •   ★   •   ✦";display:block;text-align:center;color:var(--purple);opacity:.13;letter-spacing:10px;font-size:22px;padding:10px 0 2px}
.kid-home-tools{display:flex;justify-content:center;gap:8px;margin:7px 0 11px}.kid-home-tools button{min-height:34px;border:1px solid color-mix(in srgb,var(--purple) 22%,white);background:color-mix(in srgb,var(--purple) 7%,white);color:var(--purple-deep);border-radius:999px;padding:4px 12px;font-size:10px;font-weight:900;cursor:pointer;display:flex;align-items:center;gap:5px}.kid-home-tools button:hover{transform:translateY(-1px)}.kid-home-tools img{width:23px;height:23px;object-fit:contain}
.kid-starter-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}.kid-starter-card{min-height:72px;border-radius:19px;border:2px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px 8px;font-weight:900;color:var(--ink);cursor:pointer;box-shadow:0 5px #27233f12;transition:transform .16s,box-shadow .16s}.kid-starter-card:hover{transform:translateY(-2px);box-shadow:0 7px #27233f14}.kid-starter-card:active{transform:translateY(2px);box-shadow:0 2px #27233f12}.kid-starter-card span{font-size:20px;line-height:1}.kid-starter-card strong{font-size:11px;line-height:1.5}.kid-starter-card.coral{background:var(--card-coral);border-color:color-mix(in srgb,var(--pink) 48%,white)}.kid-starter-card.coral span{color:var(--pink)}.kid-starter-card.turquoise{background:var(--card-turq);border-color:color-mix(in srgb,var(--turquoise) 56%,white)}.kid-starter-card.turquoise span{color:var(--turquoise)}.kid-starter-card.yellow{background:var(--card-yellow);border-color:color-mix(in srgb,var(--yellow) 72%,white)}.kid-starter-card.yellow span{color:#c78e00}.kid-starter-card.purple{background:var(--card-purple);border-color:color-mix(in srgb,var(--purple) 45%,white)}.kid-starter-card.purple span{color:var(--purple)}
.kid-home-modal[hidden]{display:none}.kid-home-modal{position:fixed;inset:0;z-index:80;background:#1c16348c;backdrop-filter:blur(8px);display:grid;place-items:center;padding:20px}.kid-home-sheet{width:min(100%,400px);max-height:min(90dvh,720px);overflow:auto;background:#fff;border-radius:28px;padding:24px;box-shadow:0 30px 80px #18113540;position:relative;text-align:right}.kid-sheet-close{position:absolute;left:15px;top:14px;width:36px;height:36px;border:0;border-radius:12px;background:#f0edf7;color:var(--ink);font-size:24px;cursor:pointer}.kid-sheet-icon{width:56px;height:56px;border-radius:18px;background:#fff1b5;display:grid;place-items:center;font-size:27px;margin-bottom:9px}.kid-home-sheet h2{font-size:22px;margin:0 0 5px}.kid-home-sheet>p{color:var(--muted);font-size:11px;line-height:1.8;margin:0 0 15px}.kid-sheet-label{display:block;font-size:11px;margin:14px 0 8px}.kid-theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.kid-theme-grid button{min-height:48px;border:2px solid #eeeaf7;background:#fff;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;cursor:pointer;font-size:10px}.kid-theme-grid button.selected,.kid-font-grid button.selected{border-color:var(--purple);background:color-mix(in srgb,var(--purple) 8%,white);color:var(--purple-deep)}.kid-theme-grid button>span{display:flex;direction:ltr}.kid-theme-grid button i{width:15px;height:15px;border-radius:50%;border:2px solid #fff;margin-left:-4px;box-shadow:0 1px 4px #bbb}.kid-theme-grid b{font-size:10px}.kid-font-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;background:#f3f0f8;border-radius:14px;padding:4px}.kid-font-grid button{min-height:37px;border:2px solid transparent;border-radius:10px;background:transparent;color:#726c7e;font-size:9px;font-weight:900;cursor:pointer}.kid-pattern-toggle{display:flex;align-items:center;gap:8px;margin:15px 0;font-size:10px;font-weight:900;cursor:pointer}.kid-pattern-toggle input{opacity:0;position:absolute}.kid-pattern-toggle span{width:40px;height:23px;border-radius:999px;background:#d9d4df;position:relative;transition:.2s}.kid-pattern-toggle span:after{content:"";position:absolute;top:3px;right:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #aaa;transition:.2s}.kid-pattern-toggle input:checked+span{background:var(--turquoise)}.kid-pattern-toggle input:checked+span:after{transform:translateX(-17px)}.kid-sheet-done{width:100%;min-height:49px;border:0;border-radius:15px;background:var(--purple);color:#fff;box-shadow:0 5px 0 var(--purple-deep);font-weight:900;cursor:pointer}.kid-profile-sheet{text-align:center}.kid-profile-big{width:80px;height:80px;margin:0 auto 8px;border-radius:23px;background:linear-gradient(145deg,#fff1bd,#eee8ff);display:grid;place-items:center}.kid-profile-big img{width:72px;height:72px;object-fit:contain}.kid-profile-sheet .kid-sheet-label{text-align:right}.kid-interest-tags{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start;margin-bottom:14px}.kid-interest-tags span{background:#f1edff;color:var(--purple-deep);border-radius:999px;padding:6px 9px;font-size:9px;font-weight:900}.kid-profile-privacy{background:#eefaf6;border:1px solid #d9efe7;color:#4e6a62;border-radius:14px;padding:10px 11px;font-size:9px;line-height:1.8;text-align:right;margin-bottom:13px}
.fresh-chat-empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px 24px;color:var(--ink)}.fresh-chat-empty .mascot-img{width:98px;height:98px;margin-bottom:8px}.fresh-chat-empty h1{font-size:21px;margin:0 0 7px}.fresh-chat-empty p{max-width:270px;color:var(--muted);font-size:11px;line-height:1.8;margin:0}
@media (max-width:560px){.kid-home-tools{margin-bottom:9px}.kid-starter-grid{gap:8px}.kid-starter-card{min-height:66px;border-radius:17px}.kid-starter-card strong{font-size:10.5px}.kid-home-modal{padding:12px}.kid-home-sheet{border-radius:24px;padding:20px}.fresh-chat-empty{padding:28px 20px}}
@media (max-height:760px) and (min-width:561px){.kid-starter-card{min-height:62px}.kid-home-tools{margin:4px 0 8px}.kid-home-privacy{margin-top:4px}.kid-new-chat{min-height:62px}.kid-chat-list{margin-top:12px}}


/* Hoosha v12.3 — mood + hidden voice UX */
.kid-mood-chip{cursor:pointer;border:1px solid #e3dcf7;background:#f8f5ff;border-radius:17px;display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center;text-align:right;margin:8px 0 10px;padding:8px 11px}.kid-mood-chip[hidden]{display:none}.kid-mood-chip>span{grid-row:1/3;font-size:25px}.kid-mood-chip>b{font-size:11px;color:var(--purple-deep)}.kid-mood-chip>small{font-size:9px;color:var(--muted);line-height:1.55}.kid-mood-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:8px 0 10px}.kid-mood-grid button{cursor:pointer;border:2px solid #eee9f7;background:#fff;border-radius:15px;min-height:66px;padding:6px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.kid-mood-grid button span{font-size:24px;line-height:1}.kid-mood-grid button b{font-size:9px;line-height:1.35}.kid-mood-grid button.selected{border-color:var(--purple);background:#f4f0ff;box-shadow:0 0 0 3px #6c4cf512}.kid-mood-preview{font-size:10px;line-height:1.7;color:var(--purple-deep);background:#f7f3ff;border-radius:13px;padding:8px 10px;margin-bottom:10px}.kid-mood-preview[hidden]{display:none}.voice-button{flex:none;cursor:pointer;width:38px;height:38px;border:0;border-radius:13px;display:grid;place-items:center;background:#efeaff;color:var(--purple-deep);font-size:18px;transition:.18s}.voice-button:hover{background:#e6deff}.voice-button.listening{background:#ffe2ea;color:#d52d62;box-shadow:0 0 0 0 rgba(213,45,98,.28);animation:hooshaVoicePulse 1.1s infinite}.voice-button.processing{background:#e5f8f5;color:#138c80;font-weight:900}.voice-button:disabled{cursor:not-allowed;opacity:.7}@keyframes hooshaVoicePulse{0%{box-shadow:0 0 0 0 rgba(213,45,98,.30)}70%{box-shadow:0 0 0 8px rgba(213,45,98,0)}100%{box-shadow:0 0 0 0 rgba(213,45,98,0)}}@media (width<=430px){.kid-mood-grid{grid-template-columns:repeat(3,1fr)}.kid-mood-grid button{min-height:61px}.kid-mood-chip>small{font-size:8.5px}}


.entry-start-guide{background:#f8f6ff;border:1px solid #e6e0fb;border-radius:16px;display:grid;gap:6px;margin:12px 0 2px;padding:11px 13px;text-align:right}
.entry-start-guide>strong{color:var(--purple-deep);font-size:11px;margin-bottom:1px}
.entry-start-guide>span{color:#625c72;display:flex;align-items:center;gap:7px;font-size:9.5px;line-height:1.65}
.entry-start-guide>span b{background:var(--purple);color:#fff;border-radius:999px;display:grid;place-items:center;flex:0 0 19px;width:19px;height:19px;font-size:9px}
@media (max-width:430px){.entry-start-guide{padding:10px 11px}.entry-start-guide>span{font-size:9px}}

/* Hoosha v12.6 — parent message quota + prepaid credits */
.housha-billing-card{background:#fffffff0;border:1px solid #fff;border-radius:26px;margin-top:18px;padding:18px;box-shadow:0 10px 32px #3e2d6e14;position:relative}
.billing-loading{color:var(--muted);text-align:center;padding:22px;font-size:12px}.billing-loading.error{color:#a53b3b}
.billing-notice{border-radius:15px;margin-bottom:13px;padding:11px 13px;font-size:11px;font-weight:800;line-height:1.8}.billing-notice.info{background:#eef4ff;color:#31558e}.billing-notice.success{background:#e6f9ef;color:#177a58}.billing-notice.error{background:#fff0f0;color:#9c3434}
.billing-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:2px 2px 14px}.billing-kicker{color:var(--purple);font-size:10px;font-weight:900}.billing-head h2{font-size:17px;margin:3px 0 4px}.billing-head p{color:var(--muted);font-size:10px;margin:0;line-height:1.7}
.billing-wallet{background:linear-gradient(145deg,#efe9ff,#fff);border:1px solid #ded4fb;border-radius:18px;min-width:124px;padding:12px 14px;text-align:center}.billing-wallet span{color:var(--muted);display:block;font-size:9px}.billing-wallet strong{color:var(--purple-deep);display:block;font-size:19px;margin-top:3px}
.billing-children{display:grid;gap:8px;margin-bottom:13px}.billing-child-row{background:#faf8ff;border:1px solid #eee9f7;border-radius:16px;display:grid;grid-template-columns:minmax(130px,1fr) minmax(100px,180px) auto;align-items:center;gap:11px;padding:10px 12px}.billing-child-row>div:first-child{display:flex;flex-direction:column;gap:3px}.billing-child-row b{font-size:11px}.billing-child-row span{color:var(--muted);font-size:9px}.billing-child-row>strong{color:var(--purple-deep);font-size:11px;white-space:nowrap}.billing-progress{background:#e9e4f3;border-radius:999px;height:7px;overflow:hidden}.billing-progress i{background:linear-gradient(90deg,var(--turquoise),var(--purple));display:block;height:100%;border-radius:999px}
.billing-empty{color:var(--muted);font-size:10px;text-align:center;padding:12px}
.billing-gift-banner{background:linear-gradient(120deg,#fff4c7,#fff8e7 45%,#f4edff);border:1px solid #f0da7a;border-radius:19px;display:flex;align-items:center;gap:11px;margin:4px 0 15px;padding:12px 14px}.billing-gift-banner>span{font-size:30px}.billing-gift-banner>div{display:flex;flex-direction:column;gap:2px}.billing-gift-banner strong{color:#775600;font-size:13px}.billing-gift-banner small{color:#887850;font-size:9.5px}
.billing-packages-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:2px 2px 11px}.billing-packages-title>div{display:flex;flex-direction:column;gap:3px}.billing-packages-title b{font-size:13px}.billing-packages-title span{color:var(--muted);font-size:9px}.billing-packages-title em{color:#6d5aa5;background:#f1edff;border-radius:999px;padding:5px 8px;font-size:8px;font-style:normal;font-weight:900}
.billing-packages{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.billing-package{background:#fff;border:2px solid #eee9f6;border-radius:20px;padding:15px 12px 12px;position:relative;text-align:center;overflow:hidden}.billing-package.featured{border-color:#b8a7f6;box-shadow:0 8px 24px #5f45b714}.billing-featured{position:absolute;top:0;right:0;background:var(--purple);color:#fff;border-radius:0 17px 0 14px;padding:5px 9px;font-size:7.5px;font-weight:900}.billing-gift-ribbon{display:inline-block;background:#fff1ae;color:#745600;border:1px solid #efd46a;border-radius:999px;margin:6px auto 8px;padding:5px 8px;font-size:9px;font-weight:900}
.billing-package-title{display:block;font-size:19px;color:var(--ink)}.billing-package-total{display:block;color:var(--muted);font-size:9px;margin:3px 0 9px}.billing-package-total b{color:var(--purple-deep)}.billing-package-price{color:var(--purple-deep);font-size:15px;font-weight:900}.billing-package>small{display:block;color:#9891a2;font-size:7.5px;min-height:26px;margin:4px 0 8px;line-height:1.6}.billing-package button{background:linear-gradient(120deg,var(--purple-deep),var(--purple));color:#fff;border:0;border-radius:12px;cursor:pointer;width:100%;min-height:40px;font-size:10px;font-weight:900;box-shadow:0 4px 0 var(--purple-deep)}.billing-package button:disabled{background:#c9c3d4;box-shadow:0 4px #aaa4b7;cursor:not-allowed}
.billing-pay-note{display:flex;align-items:center;gap:9px;border-top:1px solid #eee9f3;margin-top:14px;padding:12px 3px 1px}.billing-pay-note>span{font-size:20px}.billing-pay-note>div{display:flex;flex-direction:column;gap:2px}.billing-pay-note b{font-size:10px}.billing-pay-note small{color:var(--muted);font-size:8.5px}
@media(max-width:700px){.billing-head{align-items:flex-start;flex-direction:column}.billing-wallet{width:100%}.billing-child-row{grid-template-columns:1fr auto}.billing-progress{grid-column:1/-1;grid-row:2}.billing-packages{grid-template-columns:1fr}.billing-package{padding:16px}.billing-packages-title{align-items:flex-start;flex-direction:column}}


/* Hoosha v12.7 — compact parent charge card */
.housha-billing-card.compact-card{
  padding:16px 18px;
  margin-top:18px;
}
.billing-compact-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.billing-compact-head h2{
  margin:2px 0 2px;
  font-size:15px;
}
.billing-compact-head p{
  margin:0;
  color:var(--muted);
  font-size:9.5px;
}
.billing-wallet.compact{
  min-width:118px;
  padding:9px 12px;
  border-radius:15px;
}
.billing-wallet.compact strong{
  font-size:16px;
}
.billing-children.compact-list{
  margin-bottom:10px;
}
.billing-child-row.compact{
  min-height:54px;
  padding:8px 11px;
}
.billing-child-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.billing-compact-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid #eee9f3;
  padding-top:11px;
}
.billing-gift-mini{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.billing-gift-mini>span{
  font-size:24px;
}
.billing-gift-mini>div{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.billing-gift-mini b{
  color:#6f5500;
  font-size:10px;
}
.billing-gift-mini small{
  color:var(--muted);
  font-size:8px;
}
.billing-open-packages{
  flex:none;
  border:0;
  border-radius:13px;
  padding:10px 16px;
  background:linear-gradient(120deg,var(--purple-deep),var(--purple));
  color:#fff;
  cursor:pointer;
  font-size:10px;
  font-weight:900;
  box-shadow:0 4px 0 var(--purple-deep);
}

/* Hoosha v12.7 — charge popup */
.billing-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(35,28,50,.46);
  backdrop-filter:blur(7px);
}
.billing-modal-panel{
  width:min(760px,96vw);
  max-height:92vh;
  overflow:auto;
  position:relative;
  direction:rtl;
  background:#fff;
  border:1px solid #ffffff;
  border-radius:28px;
  box-shadow:0 30px 90px rgba(45,31,82,.28);
  padding:24px;
}
.billing-modal-close{
  position:absolute;
  top:14px;
  left:14px;
  width:34px;
  height:34px;
  border:0;
  border-radius:12px;
  cursor:pointer;
  background:#f1edf8;
  color:#352d4b;
  font-size:22px;
  line-height:1;
}
.billing-modal-head{
  text-align:center;
  padding:2px 46px 12px;
}
.billing-modal-kicker{
  color:var(--purple);
  font-size:9px;
  font-weight:900;
}
.billing-modal-head h2,
.billing-modal-panel>h2{
  margin:4px 0 5px;
  text-align:center;
  font-size:20px;
}
.billing-modal-head p,
.billing-modal-subtitle{
  color:var(--muted);
  text-align:center;
  margin:0;
  font-size:10px;
}
.billing-gift-banner.popup{
  max-width:520px;
  margin:8px auto 17px;
}
.billing-modal-packages{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:11px;
}
.billing-package.popup-package{
  padding:18px 12px 13px;
}
.billing-gift-ribbon.big{
  font-size:10px;
  padding:6px 10px;
  margin-top:7px;
}
.billing-package.popup-package .billing-package-price{
  margin:11px 0 10px;
  font-size:17px;
}
.billing-package.popup-package button{
  margin-top:2px;
}
.billing-modal-foot{
  text-align:center;
  color:var(--muted);
  border-top:1px solid #eee9f3;
  margin-top:16px;
  padding-top:12px;
  font-size:9px;
}
.billing-confirm-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  margin:4px auto 7px;
  border-radius:18px;
  background:#f4f0ff;
  font-size:28px;
}
.billing-payment-summary{
  max-width:500px;
  margin:18px auto 12px;
  border:1px solid #ebe5f5;
  border-radius:18px;
  overflow:hidden;
}
.billing-payment-summary>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 14px;
  border-bottom:1px solid #eee9f3;
  font-size:10px;
}
.billing-payment-summary>div:last-child{
  border-bottom:0;
}
.billing-payment-summary span{
  color:var(--muted);
}
.billing-payment-summary strong{
  color:var(--ink);
  font-size:11px;
}
.billing-payment-summary .final{
  background:#f7f3ff;
  padding-top:14px;
  padding-bottom:14px;
}
.billing-payment-summary .final span,
.billing-payment-summary .final strong{
  color:var(--purple-deep);
  font-weight:900;
}
.billing-payment-summary .final strong{
  font-size:15px;
}
.billing-confirm-gift{
  max-width:500px;
  margin:0 auto 12px;
  padding:10px 12px;
  text-align:center;
  border-radius:14px;
  background:#fff5c9;
  color:#725800;
  font-size:10px;
}
.billing-modal-notice{
  max-width:500px;
  margin:0 auto 10px;
  border-radius:13px;
  padding:10px 12px;
  font-size:10px;
  text-align:center;
}
.billing-modal-notice.error{
  background:#fff0f0;
  color:#9c3434;
}
.billing-confirm-actions{
  max-width:500px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.7fr;
  gap:8px;
}
.billing-confirm-actions button{
  min-height:44px;
  border-radius:13px;
  cursor:pointer;
  font-size:10px;
  font-weight:900;
}
.billing-back-button{
  border:1px solid #ded7eb;
  background:#fff;
  color:#5b5368;
}
.billing-pay-button{
  border:0;
  background:linear-gradient(120deg,var(--purple-deep),var(--purple));
  color:#fff;
  box-shadow:0 4px 0 var(--purple-deep);
}
.billing-pay-button:disabled{
  opacity:.65;
  cursor:not-allowed;
}

/* Hoosha v12.7 — richer voice feedback */
.composer .voice-live-state{
  grid-column:1/-1;
  min-height:34px;
  margin:0 2px 0;
  border-radius:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:10px;
  font-weight:900;
  animation:hooshaVoiceStateIn .18s ease-out;
}
.composer .voice-live-state.listening{
  background:#fff0f4;
  color:#bd2857;
  border:1px solid #ffd2df;
}
.composer .voice-live-state.understood{
  background:#fff7cf;
  color:#806300;
  border:1px solid #f4dc72;
}
.composer .voice-live-state.processing{
  background:#eaf9f6;
  color:#137f75;
  border:1px solid #c8eee8;
}
.voice-live-icon{
  font-size:15px;
}
.voice-wave{
  height:18px;
  display:flex;
  align-items:center;
  gap:2px;
  direction:ltr;
}
.voice-wave i{
  display:block;
  width:3px;
  height:6px;
  border-radius:999px;
  background:currentColor;
  animation:hooshaVoiceWave .72s ease-in-out infinite alternate;
}
.voice-wave i:nth-child(2){animation-delay:.12s}
.voice-wave i:nth-child(3){animation-delay:.24s}
.voice-wave i:nth-child(4){animation-delay:.36s}
.voice-button.understood{
  background:#fff4bd;
  color:#8a6900;
  box-shadow:0 0 0 4px rgba(243,206,65,.16);
}
@keyframes hooshaVoiceWave{
  from{height:5px;opacity:.55}
  to{height:17px;opacity:1}
}
@keyframes hooshaVoiceStateIn{
  from{transform:translateY(3px);opacity:0}
  to{transform:translateY(0);opacity:1}
}

@media(max-width:700px){
  .billing-compact-head{
    align-items:flex-start;
  }
  .billing-wallet.compact{
    min-width:105px;
  }
  .billing-compact-actions{
    align-items:stretch;
    flex-direction:column;
  }
  .billing-open-packages{
    width:100%;
  }
  .billing-modal-panel{
    padding:20px 14px 16px;
    border-radius:24px;
  }
  .billing-modal-packages{
    grid-template-columns:1fr;
  }
  .billing-confirm-actions{
    grid-template-columns:1fr;
  }
}


/* Hoosha v12.8 — parent PIN management */
.housha-parent-pin-card{
  background:#fffffff0;
  border:1px solid #fff;
  border-radius:22px;
  box-shadow:0 10px 28px #3e2d6e12;
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto auto;
  align-items:center;
  gap:12px;
  margin-top:18px;
  padding:14px 17px;
}
.parent-pin-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.parent-pin-kicker{
  color:var(--purple);
  font-size:9px;
  font-weight:900;
}
.parent-pin-copy strong{
  color:var(--ink);
  font-size:13px;
}
.parent-pin-copy small{
  color:var(--muted);
  font-size:8.5px;
  line-height:1.7;
}
.parent-pin-status{
  display:flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:7px 10px;
  font-size:9px;
  white-space:nowrap;
}
.parent-pin-status.active{
  background:#e7f8ef;
  color:#177958;
}
.parent-pin-status.empty{
  background:#f4f0ff;
  color:#6a4dc2;
}
.parent-pin-status span{
  font-size:15px;
}
.parent-pin-action{
  border:0;
  border-radius:12px;
  background:#f0ebff;
  color:var(--purple-deep);
  cursor:pointer;
  font-size:9.5px;
  font-weight:900;
  padding:10px 14px;
}
.parent-pin-message{
  grid-column:1/-1;
  border-radius:12px;
  margin-top:2px;
  padding:9px 11px;
  font-size:9px;
}
.parent-pin-message.success{
  background:#e8f8ef;
  color:#177958;
}
.parent-pin-message.error{
  background:#fff0f0;
  color:#9c3434;
}
.parent-pin-loading{
  grid-column:1/-1;
  color:var(--muted);
  text-align:center;
  padding:9px;
  font-size:9px;
}
.parent-pin-loading.error{
  color:#9c3434;
}

.parent-pin-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:100001;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(35,28,50,.46);
  backdrop-filter:blur(7px);
}
.parent-pin-modal{
  width:min(440px,94vw);
  position:relative;
  direction:rtl;
  background:#fff;
  border-radius:27px;
  box-shadow:0 30px 90px rgba(45,31,82,.28);
  padding:24px;
  text-align:center;
}
.parent-pin-modal-close{
  position:absolute;
  top:13px;
  left:13px;
  width:34px;
  height:34px;
  border:0;
  border-radius:12px;
  background:#f1edf8;
  color:#352d4b;
  cursor:pointer;
  font-size:22px;
}
.parent-pin-modal-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin:0 auto 7px;
  border-radius:19px;
  background:#f4f0ff;
  font-size:28px;
}
.parent-pin-modal>span{
  color:var(--purple);
  font-size:9px;
  font-weight:900;
}
.parent-pin-modal h2{
  margin:5px 0 6px;
  font-size:18px;
}
.parent-pin-modal>p{
  color:var(--muted);
  margin:0 auto 15px;
  max-width:330px;
  font-size:9.5px;
  line-height:1.9;
}
.parent-pin-form{
  display:grid;
  gap:10px;
  text-align:right;
}
.parent-pin-form label{
  display:grid;
  gap:5px;
}
.parent-pin-form label b{
  color:#51485e;
  font-size:9px;
}
.parent-pin-form input{
  width:100%;
  min-height:48px;
  box-sizing:border-box;
  border:2px solid #ded7ef;
  border-radius:14px;
  outline:0;
  text-align:center;
  letter-spacing:12px;
  direction:ltr;
  font-size:20px;
}
.parent-pin-form input:focus{
  border-color:var(--purple);
  box-shadow:0 0 0 4px rgba(108,76,245,.10);
}
.parent-pin-modal-error{
  border-radius:11px;
  background:#fff0f0;
  color:#9c3434;
  padding:8px 10px;
  text-align:center;
  font-size:9px;
}
.parent-pin-save{
  min-height:46px;
  border:0;
  border-radius:13px;
  background:linear-gradient(120deg,var(--purple-deep),var(--purple));
  color:#fff;
  cursor:pointer;
  font-size:10px;
  font-weight:900;
  box-shadow:0 4px 0 var(--purple-deep);
}
.parent-pin-save:disabled{
  opacity:.6;
  cursor:not-allowed;
}
.parent-pin-help{
  display:block;
  color:var(--muted);
  margin-top:12px;
  font-size:8px;
}

@media(max-width:700px){
  .housha-parent-pin-card{
    grid-template-columns:1fr auto;
  }
  .parent-pin-copy{
    grid-column:1/-1;
  }
  .parent-pin-action{
    min-width:105px;
  }
}
