:root{--bg:#f5efe9;--paper:#fffdf9;--ink:#302a26;--muted:#7b6e65;--line:#e6d9cf;--soft:#eee4dc;--accent:#3b342f;--rose:#a76d72}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--ink);margin:0;font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Yu Gothic,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.top{z-index:30;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);background:#f5efe9ee;position:sticky;top:0}.topin{justify-content:space-between;max-width:800px;margin:auto;padding:12px 16px;display:flex}.brand,h1,h2,h3{font-family:Hiragino Mincho ProN,Yu Mincho,serif}.brand{letter-spacing:.08em;font-size:20px}.badge{background:#ece3dc;border-radius:999px;padding:7px 10px;font-size:11px}.wrap{max-width:800px;margin:auto;padding:24px 16px 80px}.hero{text-align:center;padding:46px 10px 30px}.kicker{letter-spacing:.18em;color:#9a887c;font-size:11px}h1{font-size:clamp(38px,10vw,58px);font-weight:500}.lead{color:var(--muted);font-size:14px;line-height:1.9}.card{background:var(--paper);border:1px solid #eee3da;border-radius:24px;margin:16px 0;padding:20px;box-shadow:0 12px 34px #4934260f}.song{border:1px solid #e5d9d0;border-radius:18px;margin:13px 0;padding:16px}.song.selected{background:#fffaf5;border:2px solid #6b5b50}.btn{background:var(--accent);color:#fff;border:0;border-radius:999px;padding:11px 15px}.btn.light{background:var(--soft);color:#5c5048}.btn.block{border-radius:15px;width:100%;padding:15px}.row{flex-wrap:wrap;gap:8px;display:flex}.small{color:#99887d;font-size:11px;line-height:1.6}.notice{background:#ece3dc;border-radius:16px;padding:15px;font-size:13px;line-height:1.8}textarea,input[type=text]{background:#fff;border:1px solid #dccdc1;border-radius:12px;width:100%;margin-top:6px;padding:12px}textarea{min-height:100px}.cover{text-align:center;background:radial-gradient(circle at 50% 35%,#fffaf5,#f5efe9 62%,#ede1d7);place-items:center;min-height:100vh;padding:30px;display:grid}.section{text-align:center;max-width:690px;margin:auto;padding:72px 20px}.section p{white-space:pre-wrap;font-family:Hiragino Mincho ProN,Yu Mincho,serif;line-height:2.1}.playbig{color:#fff;background:#39332f;border:0;border-radius:999px;width:100%;max-width:430px;padding:17px}.heart{width:76px;height:76px;color:var(--rose);background:#fff;border:1px solid #ddcdc3;border-radius:50%;font-size:29px}.hidden{display:none}.status{background:#edf3eb;border-radius:12px;margin-top:12px;padding:12px;font-size:13px}.previewBadge{color:#fff;letter-spacing:.12em;background:#2f2925;border-radius:999px;margin-bottom:18px;padding:8px 12px;font-size:11px;display:inline-block}.previewBar{z-index:80;text-align:center;color:#fff;letter-spacing:.08em;background:#2f2925;padding:9px 12px;font-size:11px;position:sticky;top:0}.memoryPulse{background:#f3ebe4;border:1px solid #e7d9ce;border-radius:16px;padding:16px}.song-workspace{border:1px solid #4b3b312e;padding:28px}.song-workspace>h2{margin:10px 0 8px;font-size:clamp(28px,4vw,44px)}.song-workspace>.small{margin-bottom:22px}.arrange-option{background:#ffffff59;border:1px solid #4b3b3129;border-radius:22px;margin-top:14px;padding:22px;transition:all .18s}.arrange-option.selected{background:#fffaf6c7;border:2px solid #493d35}.arrange-head{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px;display:flex}.arrange-head h3{margin:0;font-size:24px}.arrange-badge{background:#eee3db;border-radius:50%;place-items:center;width:42px;height:42px;font-family:serif;font-size:22px;display:grid}.selected-pill{color:#fff;background:#493d35;border-radius:999px;margin-left:auto;padding:8px 14px;font-size:13px}.arrange-option audio{width:100%;margin:10px 0 14px;display:block}.arrange-option .row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.lyrics-shared{border-top:1px dashed #4b3b3138;margin-top:26px;padding-top:24px}.lyrics-shared textarea{background:#ffffff73}@media (max-width:600px){.song-workspace{padding:20px 16px}.arrange-option{padding:17px 14px}.selected-pill{margin-left:0}.arrange-option .row .btn,.arrange-option .row label.btn{text-align:center;flex:150px}}.delivery-prep{padding:30px}.delivery-prep>h2{margin:8px 0;font-size:clamp(28px,4vw,42px)}.delivery-step{border-top:1px solid #4b3b311f;grid-template-columns:42px 1fr;gap:16px;padding:22px 0;display:grid}.delivery-step:first-of-type{margin-top:18px}.delivery-step-no{color:#fff;background:#493d35;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.delivery-step-body h3{margin:2px 0 6px;font-size:22px}.date-time-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;display:grid}.field-block{flex-direction:column;gap:7px;display:flex}.field-block span{letter-spacing:.08em;color:#7a6d64;font-size:13px}.field-block input{min-height:48px;font-size:17px}.release-preview{background:#eee3dbb3;border-radius:14px;margin-top:14px;padding:14px 16px}.delivery-final{border-top:1px solid #4b3b3129;padding-top:22px}.delivery-final .btn{margin-top:10px}@media (max-width:600px){.delivery-prep{padding:22px 16px}.delivery-step{grid-template-columns:34px 1fr;gap:10px}.date-time-grid{grid-template-columns:1fr}}.delivery-step-body input[placeholder="例：2026. 08. 30"]{width:100%;min-height:48px;margin:10px 0;font-size:17px}.delivery-step-body .btn.light{margin-top:0}@media (max-width:600px){.delivery-step-body .btn.light{width:100%}}.delivery-final{grid-template-columns:1fr;gap:12px;padding-top:24px;display:grid}.delivery-final .secondary-action{color:#5a4d44;background:0 0;border:1px solid #4b3b3133}.delivery-final .primary-action{min-height:56px;font-size:17px;font-weight:700}.delivery-note{text-align:center;opacity:.75;margin:2px 0 0}.memorial-date-row{grid-template-columns:minmax(180px,280px) auto;align-items:center;gap:10px;margin-top:10px;display:grid}.memorial-date-row input{width:100%!important;min-height:46px!important;margin:0!important}.memorial-copy-btn{white-space:nowrap;min-height:46px;width:auto!important;margin:0!important}@media (max-width:600px){.memorial-date-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.memorial-copy-btn{white-space:normal;padding-left:12px;padding-right:12px;width:auto!important}}.compact-hero{padding-bottom:10px}.giver-memory-final{text-align:left}.giver-memory-final h2{margin:12px 0 18px;font-size:clamp(25px,4vw,38px)}.giver-memory-final h3{margin:0 0 14px;font-size:20px}.giver-memory-final audio{margin:8px 0 18px}.lyrics-details{border-top:1px solid #4b3b311f;margin-top:12px;padding-top:14px}.lyrics-details summary{cursor:pointer;border:1px solid #4b3b3147;border-radius:999px;align-items:center;min-height:44px;padding:0 18px;list-style:none;display:inline-flex}.lyrics-details summary::-webkit-details-marker{display:none}.lyrics-read{white-space:pre-wrap;background:#ffffff6b;border-radius:16px;margin-top:18px;padding:20px;line-height:2}.memory-note{margin-top:18px}.memory-only-page{max-width:900px;min-height:100vh;margin:0 auto;padding-bottom:64px}.memory-top{border-bottom:1px solid #4b3b311f;justify-content:space-between;align-items:center;gap:16px;padding:24px 4px 18px;display:flex}.memory-only-card{margin-top:34px;padding:clamp(30px,5vw,56px)}.memory-only-card h1{max-width:720px;margin:12px 0 30px;font-size:clamp(27px,4vw,42px);line-height:1.45}.memory-song{border-top:1px solid #4b3b311a;border-bottom:1px solid #4b3b311a;padding:22px 0}.memory-song h2{margin:0 0 16px;font-size:clamp(20px,3vw,28px)}.memory-song audio{width:100%;display:block}.memory-only-card .lyrics-details{border-top:0;margin-top:22px;padding-top:0}.memory-only-card .lyrics-details summary{cursor:pointer;border:1px solid #4b3b3142;border-radius:999px;justify-content:center;align-items:center;min-width:132px;min-height:44px;padding:0 18px;list-style:none;display:inline-flex}.memory-only-card .lyrics-details summary::-webkit-details-marker{display:none}.memory-only-card .lyrics-read{white-space:pre-wrap;background:#ffffff73;border-radius:16px;max-height:60vh;margin-top:18px;padding:20px;line-height:2;overflow:auto}.memory-event{background:#eee3dbad;border-radius:14px;margin-top:24px;padding:14px 16px}.memory-only-card .memory-note{opacity:.72;margin:24px 0 0}@media (max-width:600px){.memory-only-page{padding-left:14px;padding-right:14px}.memory-top{padding-top:18px}.memory-only-card{margin-top:20px;padding:26px 20px}}.memory-events{gap:10px;margin-top:26px;display:grid}.memory-event-row{background:#eee3db9e;border-radius:14px;grid-template-columns:34px 1fr;align-items:start;gap:12px;padding:14px 16px;display:grid}.memory-event-icon{color:#fff;background:#493d35;border-radius:50%;place-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:grid}.memory-event-row strong{margin-bottom:3px;display:block}.handoff-box{border-top:1px solid #4b3b311f;margin-top:30px;padding-top:24px}.handoff-box h2{margin:8px 0;font-size:22px}.handoff-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.handoff-actions .btn{flex:190px}.handoff-note{opacity:.78;margin-top:10px}.handoff-primary{min-height:50px;font-weight:700;flex:2 240px!important}.handoff-preview{margin-top:16px}.handoff-preview summary{cursor:pointer;color:#6f6259;font-size:13px}.handoff-message-preview{background:#ffffff73;border-radius:14px;margin-top:12px;padding:16px;font-size:14px;line-height:1.8}.handoff-message-preview span{word-break:break-all;opacity:.8;font-size:12px}.privacy-note{opacity:.72;margin-top:14px;line-height:1.7}.studio-shell{max-width:1080px;margin:0 auto;padding:36px 22px 80px}.studio-login{max-width:520px;margin:12vh auto 0}.studio-login .input{margin:18px 0 12px}.studio-header{justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px;display:flex}.studio-header h1{margin:5px 0 0;font-size:clamp(38px,6vw,64px)}.studio-create{margin-bottom:22px}.studio-form{grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0;display:grid}.studio-form label{color:#74675e;gap:7px;font-size:12px;display:grid}.input{box-sizing:border-box;width:100%;font:inherit;color:inherit;background:#ffffffb8;border:1px solid #d8cbc2;border-radius:12px;padding:13px 14px}.studio-list{gap:14px;display:grid}.studio-gift{margin:0}.studio-gift-top{justify-content:space-between;align-items:start;gap:16px;display:flex}.studio-gift h2{margin:8px 0 0}.studio-status{white-space:nowrap;background:#eee5df;border-radius:999px;padding:7px 11px;font-size:12px}.status-ready,.status-sent{color:#fff;background:#403630}.status-delivered{background:#e7eee7}.studio-meta,.studio-events{color:#74675e;flex-wrap:wrap;gap:10px 18px;margin:15px 0;font-size:13px;display:flex}.studio-events{border-top:1px solid #4b3b311a;border-bottom:1px solid #4b3b311a;padding:12px 0}@media (max-width:720px){.studio-shell{padding:24px 14px 60px}.studio-form{grid-template-columns:1fr}.studio-header{align-items:start}.studio-gift-top{flex-direction:column}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.studio-login form{gap:12px;margin-top:18px;display:grid}.studio-password-help{opacity:.72;margin-top:10px}.studio-test-done{background:#edf2e8;border-radius:999px;align-items:center;padding:10px 14px;font-size:13px;display:inline-flex}.studio-overview{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:22px;display:grid}.studio-overview>div{background:#fffdfac7;border:1px solid #eadfd4;border-radius:18px;gap:3px;padding:16px;display:grid}.studio-overview strong{font-size:26px}.studio-overview span{color:#74675e;font-size:12px}.studio-primary-action{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.studio-primary-action>.btn{min-width:180px}.studio-manage{border-top:1px solid #4b3b311a;margin-top:16px;padding-top:12px}.studio-manage summary{cursor:pointer;align-items:center;min-height:44px;font-weight:700;display:flex}.studio-manage-actions{flex-wrap:wrap;gap:8px;padding-top:8px;display:flex}.danger-light{color:#843c35!important;background:#fff7f5!important;border-color:#9a5349!important}.danger{color:#fff!important;background:#843c35!important}.permanent-delete{background:#fff7f5;border:2px solid #9a5349;border-radius:16px;margin-top:16px;padding:18px}.permanent-delete h3{margin-top:0}.permanent-delete label{gap:8px;margin:16px 0;display:grid}.gift-review .notice{margin-bottom:18px}.gift-content .content-block,.final-review .content-block{border-bottom:1px solid var(--line);padding:18px 0}.gift-content .content-block:last-child,.final-review .content-block:last-of-type{border-bottom:0}.technical-details{margin:22px 0;padding:14px 0}.technical-details summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.giver-receipt{text-align:center;margin-top:8vh;padding:clamp(30px,7vw,64px)}.receipt-mark{background:#e8efe5;border-radius:50%;place-items:center;width:64px;height:64px;margin:0 auto 20px;font-size:28px;display:grid}.giver-receipt h1{margin-bottom:18px}@media (max-width:720px){.studio-overview{grid-template-columns:repeat(2,1fr)}}.shell{width:min(100%,900px);margin:0 auto;padding:32px 18px 100px}.giver-prepare{max-width:760px}.shell h1{margin:14px 0;font-size:clamp(30px,6.8vw,50px);line-height:1.45}.shell h2{font-size:24px;line-height:1.5}.shell .btn{touch-action:manipulation;justify-content:center;align-items:center;min-height:48px;margin-top:8px;text-decoration:none;display:inline-flex}.shell .btn.block{width:100%;display:flex}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #986a53}.shell input,.shell textarea{border:1px solid var(--line);background:#fff;border-radius:12px;width:100%;min-height:48px;padding:12px;font-size:16px}.shell audio,.voice-capture audio{width:100%;max-width:100%;margin:12px 0;display:block}.grid{gap:12px;display:grid}.between{justify-content:space-between}.check{border-bottom:1px solid var(--line);grid-template-columns:28px minmax(0,1fr);gap:10px;padding:12px 0;display:grid}.check-mark{background:#f6e5e1;border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.check.pass .check-mark,.ready-notice{background:#e8efe5}.check.warn .check-mark{background:#f3ecdf}.muted,.hash{color:#75685f;overflow-wrap:anywhere;font-size:12px;line-height:1.7}.gift-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.diff-row{border-bottom:1px solid var(--line);padding:12px 0}.gate-nav{margin-top:18px}.error{color:#843c35}.voice-capture>.btn{margin:10px 0}.shell .small{color:#75685f;font-size:12px}@media (max-width:480px){.shell{padding:24px 14px 72px}.shell .card{padding:18px 16px}.shell .row>.btn{flex:140px}.studio-header{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
