.kid-home{max-width:860px;margin:12px auto 28px;padding:25px;background:radial-gradient(ellipse at top,#d9f5ff,transparent 60%),linear-gradient(145deg,#fff6df,#f6e6ff);border:3px solid white;border-radius:36px;box-shadow:0 20px 70px #9564c624}.kid-welcome{display:flex;align-items:center;gap:20px}.kid-welcome img{width:48%;max-height:290px;object-fit:contain;filter:drop-shadow(0 8px 7px #834db027)}.kid-welcome h1{font-size:clamp(26px,4vw,39px);margin-bottom:15px}.choose-friend{font-size:15px;font-weight:800}.talk-launch{display:flex;align-items:center;justify-content:center;gap:20px;border:4px solid white;border-radius:30px;padding:22px;background:linear-gradient(160deg,#f17eda,#bc46e0 55%,#8c3bd3);color:white;font-size:27px;font-weight:900;text-decoration:none;box-shadow:0 7px 0 #b284d3,0 12px 20px #a678bf29;margin:22px 0 27px;text-shadow:0 2px #823e9580}.talk-launch svg{width:50px;height:50px}.kid-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.kid-action{min-height:155px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;text-decoration:none;font-size:20px;font-weight:900;border:3px solid white;border-radius:28px;background:linear-gradient(#f7d8fb,#ecc0f7);box-shadow:inset 0 3px 2px #fff9,0 5px 0 #d4afe9}.kid-action:nth-child(3n+2){background:linear-gradient(#dff6ff,#bfe7ff)}.kid-action:nth-child(3n){background:linear-gradient(#dcffee,#b4f2dc)}.kid-action svg{width:57px;height:57px;filter:drop-shadow(0 3px 0 white)}.kid-note{margin:25px 0 12px;text-align:center;font-size:13px}.quiet-link{display:block;text-align:center;font-size:14px}.diary-hero{display:flex;align-items:center;gap:20px}.diary-hero img{width:37%;height:230px;object-fit:contain}.diary-hero h1{font-size:clamp(27px,5vw,37px)}.diary-screen svg,.parent-settings svg,.diary-entry svg{width:22px;height:22px;vertical-align:middle}.privacy-child{font-size:14px;background:#f0e5ff;padding:12px 17px;border-radius:20px}.voice-panel{text-align:center;padding:22px}.big-microphone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;margin:auto;width:200px;min-height:175px;border:5px solid white;border-radius:45px;background:linear-gradient(#d759fa,#9134dc);color:white;box-shadow:0 6px 0 #7d25af,0 12px 30px #ce9eeb66;font-weight:900;font-size:20px}.big-microphone svg{width:60px;height:60px}.big-microphone:disabled{opacity:1;background:linear-gradient(#beacd1,#9481a6);box-shadow:0 6px 0 #8b749f;color:#fff}.voice-panel[data-listening=true] .big-microphone{background:linear-gradient(#ff7998,#e3426f)}#voice-state{font-size:14px;margin:17px 0 0}.diary-form label{display:block;font-weight:900;margin-bottom:10px}.diary-form textarea{width:100%;border:2px solid #dbc8f0;border-radius:20px;padding:17px;font:inherit;font-size:18px;color:var(--ink);resize:vertical;min-height:100px;line-height:1.5;background:white}.diary-form .actions button svg{margin-right:8px}.mood-picker{border:0;padding:0;margin:20px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.mood-picker legend{font-weight:800;margin-bottom:12px}.mood-picker label{margin:0;position:relative}.mood-picker input{position:absolute;opacity:0;width:1px;height:1px}.mood-picker label span{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 5px;border:3px solid #edddff;border-radius:20px;font-size:14px;background:#fff9ff;cursor:pointer}.mood-picker svg{width:38px;height:38px}.mood-picker input:checked+span{border-color:#8a2dd1;background:#edd7ff}.mood-picker input:focus-visible+span{outline:4px solid #ffbf00}.diary-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.diary-entry{background:#fff8df;padding:22px;border:2px solid #fff0bc;border-radius:23px;overflow-wrap:anywhere}.diary-entry:nth-child(even){background:#eef9ff;border-color:#d7eeff}.diary-entry header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:15px}.diary-entry p{font-size:17px;white-space:pre-wrap}.diary-entry .actions{margin-top:12px;gap:8px}.quiet-button{border:0;padding:9px;background:transparent;color:var(--ink);font-size:13px}.diary-section-title{margin-top:38px}.parent-settings{display:flex;flex-direction:column;align-items:start;gap:16px;background:#faf5ff;border:1px solid #eadaf7;border-radius:22px;padding:22px}.parent-settings select{padding:12px 16px;border:2px solid #d7beef;background:white;border-radius:12px;font:inherit}.setting-check{display:flex;align-items:flex-start;gap:12px;line-height:1.5}.setting-check input{width:23px;height:23px;flex-shrink:0;accent-color:#802cc9}.parent-settings .muted{margin:0}.parent-conversation{padding:17px;border:1px solid #e2d0f2;border-radius:15px;margin:10px 0}.parent-conversation summary{cursor:pointer;font-weight:bold}.parent-conversation p{white-space:pre-wrap;overflow-wrap:anywhere}.chat-child,.chat-friend{max-width:88%;padding:16px 20px;border-radius:24px;white-space:pre-wrap;overflow-wrap:anywhere;background:#ede0ff}.chat-child{margin-left:auto;background:#e2f6ff}.conversation strong{display:block;font-size:12px;margin-bottom:7px}.conversation .listen-button{display:flex;margin-top:10px}.screen-card>.eyebrow{display:block;margin-top:20px}
@media(max-width:600px){.kid-home{margin:0;border-radius:0;padding:18px 14px}.kid-welcome{gap:10px}.kid-welcome img{width:45%;max-height:210px}.kid-welcome h1{font-size:26px}.kid-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.kid-action{font-size:19px;min-height:137px}.talk-launch{font-size:22px;padding:18px;gap:12px}.talk-launch svg{width:40px;height:40px}.diary-hero{gap:12px}.diary-hero img{height:170px;width:37%}.diary-hero h1{font-size:26px}.diary-hero .listen-button{font-size:12px;padding:9px}.diary-entries{grid-template-columns:1fr}.mood-picker{grid-template-columns:repeat(2,1fr)}.mood-picker label span{flex-direction:row;justify-content:center}.voice-panel{padding:17px 0}.big-microphone{width:170px;min-height:150px}.diary-form .actions{gap:9px}.diary-form .actions button{padding:13px 16px}}
.kid-action{padding:6px 8px 17px;gap:0}.kid-action img{height:125px;width:140px;object-fit:contain;filter:drop-shadow(0 5px 5px #9564b82a)}@media(max-width:600px){.kid-action img{height:115px;width:128px}}
.kid-welcome>.character-portrait.character-portrait-frame{width:48%;max-width:180px;aspect-ratio:1;border:3px solid white;border-radius:28px;box-shadow:0 6px 0 #d4b8ea}
.diary-hero>.character-portrait.character-portrait-frame{width:37%;max-width:180px;aspect-ratio:1;border:3px solid white;border-radius:27px;box-shadow:0 5px 0 #dbc3ee}
@media(max-width:600px){.kid-welcome>.character-portrait.character-portrait-frame{width:45%;border-radius:22px}.diary-hero>.character-portrait.character-portrait-frame{border-radius:20px}}

/* Child screens use touch targets and audio; the adult review remains textual. */
.voice-first-screen .voice-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.voice-first-screen .diary-hero{justify-content:center}.voice-first-screen .diary-hero h1{margin-bottom:12px}.voice-first-form{margin:22px auto;max-width:560px;text-align:center}.voice-first-form .voice-panel{padding:20px 12px}.voice-first-screen .voice-moods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:440px;margin:0 auto 12px}.voice-moods legend{width:100%;margin-bottom:14px;font-size:18px}.voice-first-screen .voice-moods label{margin:0}.voice-first-screen .voice-moods .mood-face{display:flex;align-items:center;justify-content:center;padding:12px;aspect-ratio:1;border:3px solid white;border-radius:25px;background:linear-gradient(#fff4bc,#ffd96f);box-shadow:0 5px 0 #dfc88d;transition:transform .15s}.voice-moods .mood-face svg{width:55px;height:55px;color:#805223}.voice-moods [data-mood=calm] .mood-face{background:linear-gradient(#d9fff0,#a5e7d6);box-shadow:0 5px 0 #96caba}.voice-moods [data-mood=sad] .mood-face{background:linear-gradient(#e0f4ff,#b7dcff);box-shadow:0 5px 0 #a8c5e0}.voice-moods [data-mood=excited] .mood-face{background:linear-gradient(#ffe5f3,#ffbbdc);box-shadow:0 5px 0 #e5a7c7}.voice-first-screen .voice-moods input:checked+.mood-face{border-color:#8c37d7;box-shadow:0 0 0 3px #dfbdf6,0 6px 0 #b98bdc;transform:translateY(-3px)}.voice-first-screen .voice-moods input:focus-visible+.mood-face{outline:4px solid #ffbd00;outline-offset:4px}
.voice-first-screen .big-microphone{width:min(100%,230px);min-height:190px;border-radius:48px}.voice-first-screen .big-microphone svg{width:70px;height:70px}.voice-first-screen .big-microphone:disabled{background:linear-gradient(#dec9ef,#b19bc8);box-shadow:0 6px 0 #9b83b5;font-size:17px;color:#fff}.voice-first-screen .finish-recording{margin:0 auto;width:min(100%,230px);min-height:190px;border:5px solid white;border-radius:48px;background:linear-gradient(#91e8b5,#38ae82);box-shadow:0 6px 0 #278461;color:white;font-size:24px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.voice-first-screen .finish-recording svg{width:65px;height:65px}.voice-panel[data-listening=true] .big-microphone{display:none}.voice-first-form .voice-controls{margin-top:0;justify-content:center}.voice-first-form .stop-voice{width:58px;height:52px;padding:12px;border-radius:18px}.voice-first-form .stop-voice svg{width:25px;height:25px}.voice-first-form #diary-feedback:empty{display:none}
.diary-picture-link{display:flex;align-items:center;justify-content:center;gap:20px;max-width:360px;margin:20px auto 30px;padding:10px 24px;text-decoration:none;border:3px solid white;border-radius:30px;background:linear-gradient(145deg,#ffecf6,#eadbff);box-shadow:0 6px 0 #dbc0ee;font-weight:900;font-size:21px}.diary-picture-link img{width:110px;height:110px;object-fit:contain}.voice-message{display:flex;align-items:center;gap:12px;white-space:normal;padding:14px 18px;max-width:88%;margin-block:12px}.voice-message strong{margin:0;font-size:13px}.voice-message-mark{display:flex;width:40px;height:40px;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;background:#ffffffc4}.voice-message-mark svg{width:23px;height:23px}.conversation .voice-message .listen-button{margin:0 0 0 auto;min-width:54px;justify-content:center}.voice-message .listen-button span{display:none}
.child-diary-entry{position:relative;display:flex;flex-direction:column;align-items:center;padding:17px}.child-diary-entry header{width:100%;margin-bottom:2px}.diary-mood-face{display:grid;place-items:center;background:#ffe690;border:2px solid white;border-radius:50%;width:46px;height:46px}.diary-mood-face[data-mood=calm]{background:#bcebd8}.diary-mood-face[data-mood=sad]{background:#c7e4ff}.diary-mood-face[data-mood=excited]{background:#ffcee7}.diary-mood-face svg{width:32px;height:32px}.child-diary-entry .diary-memory-picture{width:110px;height:110px;object-fit:contain}.child-diary-entry .actions{justify-content:center;width:100%;gap:15px;margin-top:4px}.child-diary-entry .actions button{display:grid;place-items:center;width:56px;height:50px;padding:10px;border-radius:17px}.child-diary-entry .quiet-button{background:#fff;border:1px solid #ead7ed}.child-diary-entry .actions svg{width:26px;height:26px}.diary-empty-picture{grid-column:1/-1;text-align:center;padding:20px;border:2px dashed #e2cdee;border-radius:26px}.diary-empty-picture img{display:block;margin:auto;width:130px;height:130px;object-fit:contain}.diary-empty-picture p{font-size:14px;margin:8px 0 0}
@media(max-width:600px){.voice-first-screen .diary-hero>.character-portrait{width:35%;max-width:135px}.voice-first-screen .diary-hero h1{font-size:24px}.voice-first-screen .privacy-child{font-size:12px}.voice-first-form{margin-top:20px}.voice-first-screen .voice-moods{gap:8px}.voice-first-screen .voice-moods .mood-face{padding:8px;border-radius:20px}.voice-moods .mood-face svg{width:43px;height:43px}.voice-first-screen .big-microphone,.voice-first-screen .finish-recording{width:200px;min-height:175px}.voice-message{max-width:95%;padding:12px;gap:8px}.voice-message strong{font-size:12px}.voice-first-screen .diary-entries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.child-diary-entry{padding:12px}.child-diary-entry .actions{gap:7px}.child-diary-entry .actions button{width:48px}.child-diary-entry .diary-memory-picture{width:92px;height:92px}.diary-mood-face{width:35px;height:35px}.diary-mood-face svg{width:27px;height:27px}.diary-picture-link{gap:10px;padding-inline:16px}}
