:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14213d;background:#f8fafc;--focus:#0b57d0}*{box-sizing:border-box}body{margin:0;min-height:100vh;padding-bottom:112px}button,input,textarea{font-family:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:4px solid #0b57d0;outline-offset:3px}header{position:sticky;top:0;background:#f8fafcf2;backdrop-filter:blur(10px);z-index:3;padding:max(14px,env(safe-area-inset-top)) 16px 10px;text-align:center;border-bottom:1px solid #e5e7eb}h1{font-size:28px;margin:4px 0;font-weight:900}.back{position:absolute;left:10px;bottom:10px;border:0;background:#e7f0ff;border-radius:14px;padding:10px 12px;font-size:17px;font-weight:900;color:#0b57d0}.hidden{display:none!important}main{padding:18px;max-width:720px;margin:auto}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tile,.choice,.primary,.secondary{border:0;border-radius:22px;font-weight:900;min-height:120px;padding:16px;font-size:20px}.tile{color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;box-shadow:0 3px 0 rgba(0,0,0,.12)}.tile:active,.choice:active,.primary:active,.secondary:active,.more-time:active{transform:scale(.98)}.tile .emoji{font-size:42px}.blue{background:#1565c0}.green{background:#008a59}.amber{background:#e39500}.purple{background:#6d45b5}.red{background:#d32f2f}.teal{background:#007783}.orange{background:#c53d12}.violet{background:#55309e}.slate{background:#40525b}.panel{background:white;border:2px solid #dbe2ea;border-radius:20px;padding:16px;margin-bottom:14px}.message{min-height:90px;font-size:24px;font-weight:800}.choices{display:flex;flex-wrap:wrap;gap:10px}.choice{min-height:64px;background:#e8eef7;color:#14213d;flex:1 1 44%;border:2px solid transparent}.choice.selected{border-color:#0b57d0;background:#dce9ff}.primary{min-height:68px;background:#0b57d0;color:white;width:100%}.secondary{min-height:62px;background:white;border:2px solid #aebdce;width:100%;color:#14213d}.action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.action-row .primary,.action-row .secondary{min-height:64px}.stack{display:grid;gap:10px}textarea,input{width:100%;font:inherit;font-size:21px;padding:14px;border:2px solid #aebdce;border-radius:16px;background:white;color:#14213d}textarea{min-height:120px;resize:vertical}.phrase{display:flex;gap:8px;align-items:center;background:white;border:2px solid #e1e7ee;border-radius:18px;padding:8px;margin:10px 0}.phrase button{border:0;background:transparent;font-size:27px;min-width:46px;min-height:50px}.phrase .text{flex:1;font-size:20px;font-weight:750;text-align:left;color:#14213d}.danger{color:#b42318}footer{position:fixed;bottom:0;left:0;right:0;background:#f8fafcf2;backdrop-filter:blur(8px);padding:8px 18px calc(10px + env(safe-area-inset-bottom));z-index:4;border-top:1px solid #e5e7eb}.more-time{width:100%;min-height:70px;border:0;border-radius:20px;background:#e87900;color:white;font-size:21px;font-weight:950;box-shadow:0 3px 0 rgba(0,0,0,.12)}.hint{text-align:center;font-size:18px;line-height:1.4}.big{text-align:center;font-size:28px;font-weight:900}.relaxed .primary{min-height:86px;margin:8px 0;font-size:22px}.status{text-align:center;min-height:28px;font-size:18px;font-weight:800;color:#12633d}.small{font-size:16px;line-height:1.45}.section-title{font-size:21px;font-weight:900;margin:20px 0 10px}@media(min-width:600px){.grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:390px){main{padding:14px}.grid{gap:10px}.tile{min-height:108px;padding:12px;font-size:18px}.tile .emoji{font-size:38px}}

.plus-button{position:absolute;right:10px;bottom:10px;border:0;border-radius:14px;padding:10px 12px;background:#fff1c7;color:#694b00;font-size:15px;font-weight:950;box-shadow:inset 0 0 0 2px #e3b341}.plus-hero{text-align:center;background:linear-gradient(180deg,#fff8df,#fff);border:2px solid #efd789;border-radius:24px;padding:22px 16px;margin-bottom:14px}.plus-hero h2{font-size:28px;margin:6px 0 8px}.plus-hero p{font-size:18px;line-height:1.45;margin:0}.plus-mark{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#f7c948;color:#3f3100;font-size:32px;font-weight:950}.price-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.price-card{position:relative;min-height:132px;border:3px solid #cbd5e1;border-radius:20px;background:white;color:#14213d;padding:14px 8px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:16px}.price-card strong{font-size:30px}.price-card.selected-plan{border-color:#0b57d0;background:#eef5ff}.plan-name{font-weight:950;font-size:15px}.save-pill{position:absolute;top:7px;right:7px;background:#12633d;color:white;border-radius:999px;padding:4px 7px;font-size:11px;font-weight:950}.plus-list h2{margin-top:0}.plus-list p{font-size:18px;font-weight:750;line-height:1.4}.free-note{border-color:#a7d7bd;background:#f0fbf5}.free-note strong{font-size:20px;color:#12633d}.free-note p{font-size:17px;line-height:1.45;margin-bottom:0}.trial-button{margin:4px 0 10px}.payment-note{text-align:center;font-size:16px;font-weight:800;line-height:1.4;color:#7a4d00}.payment-note.ready-note{color:#12633d}.tiny{text-align:center;font-size:14px;line-height:1.4;color:#526273}@media(max-width:390px){.plus-button{font-size:13px;padding:9px}.price-card strong{font-size:26px}}
.gender-choice.selected{border-color:#0b57d0;background:#dce9ff}.lang-choice.selected{border-color:#0b57d0;background:#dce9ff}

/* v8 language feedback */
.language-status{margin-top:14px;padding:12px;border-radius:14px;background:#eef6ff;font-weight:800;text-align:center}
.lang-choice.selected,.gender-choice.selected{outline:4px solid currentColor;outline-offset:2px}

/* v15: persistent language/voice access */
.voice-button{position:absolute;right:92px;bottom:10px;border:0;border-radius:14px;padding:9px 11px;background:#eef6ff;color:#102044;font-size:22px;font-weight:950;box-shadow:inset 0 0 0 2px #9fc3ef}.voice-button:active{transform:scale(.98)}@media(max-width:390px){.voice-button{right:82px;padding:8px 9px;font-size:20px}}
