:root{--paper:#fdf9f3;--ink:#393a35;--muted:#74736b;--red:#ae3d2b;--blue:#476978;--soft:#f1efe9;--pink:#f9e9e4;--border:#e6e1d8;font-family:"Hiragino Sans","Noto Sans JP",system-ui,sans-serif;color:var(--ink);background:#ece9e2;font-synthesis:none}*{box-sizing:border-box}body{margin:0;display:flex;justify-content:center;align-items:flex-start;gap:64px;padding:40px 30px;font-size:16px}button,select,input{font:inherit}button{cursor:pointer;border:0;color:inherit;touch-action:manipulation}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}button:disabled{cursor:default;opacity:.5}button:hover:not(:disabled){filter:brightness(.96)}.trial{width:280px;position:sticky;top:60px;padding-top:25px}.trial-title{font-size:24px;font-weight:750;letter-spacing:.03em}.trial-title span{display:inline-block;background:white;padding:5px 9px;border-radius:20px;font-size:11px;vertical-align:middle}.trial p{font-size:14px;line-height:1.9;color:var(--muted)}.trial label{display:block;font-size:13px;font-weight:700;margin-top:30px}.trial select{width:100%;padding:13px;margin:10px 0;background:#fff;border:1px solid #d1cbc0;border-radius:10px}.trial details{margin-top:32px;border-top:1px solid #d7d2c8;padding-top:20px;font-size:13px}.trial summary{cursor:pointer}.phone{width:390px;max-width:100%;position:relative;background:var(--paper);min-height:calc(100vh - 80px);border-radius:30px;box-shadow:0 20px 70px #443d3020;overflow:clip}header{height:75px;padding:22px;display:flex;justify-content:space-between;align-items:center}#identity{font-size:12px;color:var(--muted)}.quiet{min-height:40px;padding:9px 14px;background:var(--soft);border-radius:24px;font-size:14px}main{padding:8px 22px 120px}h1,h2,h3,p{margin-top:0}h1{font-size:24px;margin:0;letter-spacing:-.025em}h1:before{content:"";display:inline-block;width:8px;height:8px;background:var(--red);border-radius:50%;margin-right:9px;vertical-align:middle}h2{font-size:24px;line-height:1.5}h3{font-size:21px;line-height:1.35;margin:0}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.badge{font-size:12px;background:var(--pink);color:var(--red);border-radius:30px;padding:6px 12px;white-space:nowrap}.voice{padding:16px 18px 12px;background:white;border-radius:26px;margin-bottom:18px;box-shadow:0 3px 0 var(--border)}.voice-top{display:flex;align-items:center;gap:11px}.avatar{width:50px;height:50px;flex-shrink:0;border-radius:50%;object-fit:contain}.voice-info{flex:1;min-width:0}.voice-info h3{overflow-wrap:anywhere}.meta{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.6}.wave{height:47px;display:flex;gap:10px;align-items:center;justify-content:space-between;background:var(--paper);padding:0 12px;margin:18px 0 9px;overflow:hidden}.wave i{display:block;width:4px;min-width:3px;border-radius:8px;background:var(--blue)}.playing .wave i{animation:wave .65s ease-in-out infinite alternate}.playing .wave i:nth-child(3n){animation-delay:-.4s}@keyframes wave{to{transform:scaleY(.4)}}.play,.primary,.secondary{border-radius:25px;min-height:48px;padding:12px 18px;width:100%;font-weight:700}.play{background:var(--blue);color:white;position:relative}.play img{position:absolute;left:24px;top:15px;width:14px;height:18px}.secondary{background:var(--soft);margin-top:8px}.primary{background:var(--red);color:white;margin-top:18px}.sample{font-size:10px;color:var(--muted);display:block;margin-top:8px;text-align:right}.progress{display:flex;gap:10px;align-items:center;margin:8px 0;font-size:12px;color:var(--muted)}.progress progress{width:100%;height:5px;accent-color:var(--blue)}.divider{text-align:center;font-size:12px;color:var(--muted);margin:28px 0 20px}.history-title{font-size:23px;margin:0 0 18px}.history{padding:15px;background:white;border-radius:20px;margin-bottom:15px}.history.sent{background:#f6eee6;border:1px solid var(--border);margin-left:24px}.history .avatar{width:44px;height:44px}.history h3{font-size:18px}.history .play{width:44px;min-width:44px;min-height:44px;padding:0}.history .play img{left:16px;top:13px}.reply{color:var(--red);background:transparent;min-height:44px;padding:12px 0 0;font-size:14px;font-weight:700}.status-link{display:block;color:var(--blue);background:transparent;font-size:12px;min-height:38px;padding:10px 0 0}.sent-label{font-size:12px;margin:0 0 12px;color:var(--red)}footer{position:fixed;bottom:40px;width:390px;max-width:calc(100vw - 60px);padding:16px 22px 22px;background:linear-gradient(transparent,var(--paper) 12%);border-radius:0 0 30px 30px;z-index:2}.record-main{min-height:56px;width:100%;border-radius:32px;background:var(--red);color:white;font-size:18px;font-weight:700;position:relative}.record-main img{position:absolute;left:23px;top:14px;width:20px;height:28px}dialog{border:0;border-radius:28px;background:var(--paper);color:var(--ink);padding:18px 24px 26px;width:366px;max-width:calc(100vw - 24px);max-height:90dvh;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#393a3566;backdrop-filter:blur(3px)}.panel-top{display:flex;justify-content:flex-end;margin-bottom:16px;gap:10px}.panel-top #back{margin-right:auto}#panel-title{margin-bottom:10px;font-size:24px}.sub{font-size:13px;color:var(--muted);line-height:1.8}.choice{display:flex;align-items:center;gap:12px;width:100%;background:white;border:2px solid var(--border);border-radius:18px;min-height:75px;padding:12px;margin-top:10px;text-align:left}.choice[aria-pressed=true]{border-color:var(--red);background:var(--pink)}.choice .label{flex:1;font-weight:700}.choice small{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:4px}.check{font-size:20px;color:var(--red);width:24px;text-align:center}.center{text-align:center}.record-orb{display:grid;place-items:center;width:82px;height:82px;background:var(--pink);border-radius:50%;margin:30px auto 20px;font-size:30px;color:var(--red)}.recording .record-orb{animation:pulse 1s infinite alternate}.timer{font-size:46px;font-variant-numeric:tabular-nums;margin:15px 0}.record-wave{justify-content:center;background:transparent;margin:20px 0}.record-wave i{background:var(--red)}@keyframes pulse{to{box-shadow:0 0 0 12px #ae3d2b10}}.error{background:var(--pink);color:#873121;border-radius:12px;padding:12px;font-size:14px;line-height:1.8}.success{color:var(--blue);font-size:44px;margin:28px 0 16px}.form-label{display:block;font-size:14px;margin:20px 0 8px}.input{width:100%;border:1px solid #c6c0b6;border-radius:10px;padding:13px;background:white;color:var(--ink)}.setting-row{width:100%;display:flex;justify-content:space-between;align-items:center;background:white;padding:18px;border-radius:14px;margin:10px 0;min-height:64px;text-align:left}.note{font-size:12px;color:var(--muted);line-height:1.8;background:var(--soft);padding:14px;border-radius:12px}.empty{background:white;border:1px dashed #d5cfc4;border-radius:24px;text-align:center;padding:36px 18px;margin:18px 0}.empty p{color:var(--muted);font-size:14px;line-height:1.8;margin:10px 0 0}audio{width:100%;margin:15px 0}#toast{position:fixed;bottom:120px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 20px;border-radius:30px;z-index:20;font-size:14px;max-width:90vw;text-align:center;opacity:0;pointer-events:none}#toast.show{opacity:1}.large{font-size:18px}.large .meta,.large .sub{font-size:15px}@media(max-width:760px){body{padding:0;display:block;background:var(--paper)}.trial{position:static;width:100%;padding:16px 22px;background:#eeebe4}.trial-title{font-size:16px}.trial p{font-size:12px;margin:8px 0}.trial label{display:inline-block;margin:0 10px 0 0;font-size:12px}.trial select{width:130px;padding:8px;margin:2px}.trial .hint,.trial details{display:none}.phone{width:390px;margin:0 auto;box-shadow:none;border-radius:0;min-height:100vh}footer{bottom:0;width:390px;max-width:100vw;padding-bottom:max(20px,env(safe-area-inset-bottom));border-radius:0}header{height:66px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
/* Dimensions follow Figma v2, frame 9:7137 (390 × 844 content area). */
[hidden]{display:none!important}
body{display:block;padding:28px 0;background:#ece9e2}
.phone{width:390px;height:min(844px,calc(100dvh - 56px));min-height:0;margin:auto;border-radius:28px;overflow:hidden;display:flex;flex-direction:column}
header{height:82px;min-height:82px;padding:42px 24px 4px;justify-content:flex-end}
#identity{display:none}
header .quiet{min-height:30px;height:30px;font-size:13px;padding:5px 12px}
main{padding:0 22px 110px;overflow-y:auto;scrollbar-width:none;flex:1}
main::-webkit-scrollbar{display:none}
h1{font-size:22px;line-height:26px}
.section-title{height:26px;margin-bottom:20px}
.section-title .badge{padding:6px 14px;font-size:12px}
.voice{padding:13px 18px 12px;margin-bottom:18px;border-radius:26px}
.voice-top{gap:10px;min-height:50px}
h3{font-size:20px;line-height:25px}
.meta{font-size:13px;margin-top:6px;line-height:18px}
.wave{height:47px;margin:15px 0 7px;padding:0 11px}
.play{min-height:46px;height:46px;padding:10px 18px;font-size:18px}
.secondary{min-height:44px;padding:10px 14px;font-size:18px;margin-top:6px}
.voice .secondary{height:44px}
.divider{font-size:13px;line-height:16px;margin:27px 0 20px}
.history-title{font-size:23px;line-height:28px;margin:0 0 17px}
.history{min-height:116px;border-radius:22px;padding:12px 11px}
.history h3{font-size:19px}.history .meta{font-size:12px}
footer{position:absolute;bottom:0;left:0;width:100%;max-width:none;padding:16px 22px 18px;height:90px;background:var(--paper);border-radius:0;}
footer:after{content:"";position:absolute;bottom:5px;left:calc(50% - 50px);width:100px;height:4px;border-radius:2px;background:#c9c2b7}
.record-main{height:56px}
.trial{position:fixed;left:24px;top:28px;width:250px;z-index:5;padding:18px;background:#f8f6f0;border-radius:18px;box-shadow:0 5px 25px #0001}
.trial[hidden]{display:none!important}
#trial-toggle{position:fixed;left:24px;bottom:24px;border:1px solid #d5cec1;background:#faf8f3;color:#69665e;border-radius:20px;padding:10px 16px;font-size:12px;z-index:6}
dialog{position:fixed;inset:auto;padding:24px 22px 30px;width:390px;max-width:100vw;height:min(764px,calc(100dvh - 136px));max-height:calc(100dvh - 40px);left:50%;top:108px;transform:translateX(-50%);margin:0;border-radius:28px 28px 0 0;box-shadow:none;overflow-y:auto;background:var(--paper)}
dialog::backdrop{background:#393a352b;backdrop-filter:none}
.panel-top{height:24px;margin-bottom:14px}.panel-top .quiet{background:transparent;font-size:16px;padding:0;min-height:24px}
#panel-title{font-size:26px;line-height:32px;margin:0 0 8px;text-align:left}
.sub{font-size:14px;line-height:1.7}.choice{min-height:92px;margin-top:17px;padding:16px;gap:20px;border-radius:18px}.choice .avatar{width:50px;height:50px}.choice .label{font-size:21px}.choice small{font-size:13px}
#panel-content>.choice:first-of-type{margin-top:29px}
#panel-content>.primary:last-child{margin-top:66px;height:56px;font-size:18px}
.recording #panel-title{margin-bottom:38px}.recording .record-orb{margin:24px auto 16px;background:transparent;width:76px;height:76px}.recording .record-orb img{width:76px;height:76px}.recording .timer{font-size:58px;line-height:70px;margin:22px 0 5px}.recording .wave{margin:20px 0;background:transparent}.recording .primary{margin-top:50px;height:56px}.recording .secondary{height:56px;margin-top:17px}
@media(min-height:901px){dialog{top:calc(28px + 80px)}}
@media(max-width:760px){body{padding:0;background:var(--paper)}.phone{height:100dvh;width:390px;max-width:100vw;border-radius:0}.trial{top:12px;left:12px;max-width:calc(100vw - 24px)}.trial .hint,.trial details{display:block}.trial label{display:block}.trial select{width:100%}#trial-toggle{left:8px;bottom:96px;font-size:10px;padding:7px 10px;opacity:.85}dialog{top:80px;height:calc(100dvh - 80px);max-height:none;width:390px;max-width:100vw}footer{padding-bottom:18px}header{padding-top:42px}.recording .primary{margin-top:30px}}
@media(max-height:750px){dialog{height:calc(100dvh - 100px)}.recording .record-orb{margin:12px auto}.recording .primary{margin-top:16px}.recording .wave{margin:8px 0}.recording .timer{margin:8px 0}.choice{min-height:76px}#panel-content>.primary:last-child{margin-top:24px}}
.primary:disabled{background:#e7e2d9;color:#8a857c;opacity:1}
#panel-content>.sub:has(+.primary){text-align:center}
.login{padding:30px 0}.login h1{font-size:27px;margin-bottom:24px}.login h1:before{display:none}.eyebrow{font-size:12px;letter-spacing:.2em;color:var(--red)}.invite-code{font-size:36px;font-variant-numeric:tabular-nums;letter-spacing:.12em;text-align:center;padding:25px 0}
