/* Emotional Couture v597 · private correspondence experience; original paper/ink/artwork preserved */
#app:has(>.sc567-recipient){padding:0 12px;min-height:100vh;background:radial-gradient(ellipse at 50% 12%,#f8eee3 0%,#edddd0 50%,#e0c3b9 100%);color:#35101c}
.sc567-recipient{max-width:740px;padding:clamp(20px,4vw,48px) 12px 40px}
.sc567-recipient .sc567-brand{font-family:Georgia,serif;font-size:clamp(24px,3vw,34px);line-height:1.15;display:inline-flex;align-items:center;gap:12px;margin:0 auto 8px;color:#460c1b}
.sc567-recipient .sc567-brand:before{width:39px;height:42px;font-size:31px;border:1px solid #b58b58;border-radius:4px}
.ec597-imprint{display:block;color:#72565b;font-size:9px;letter-spacing:.23em;text-transform:uppercase;margin-bottom:24px}
.sc567-recipient .sc567-demo{margin:0 auto 18px;font-size:12px;line-height:1.6;color:#72565b}
.sc567-recipient .sc567-demo a{color:#741b36;text-underline-offset:3px;text-decoration:underline}
.sc567-recipient .scp-preview{background:transparent;max-width:540px;padding:0;border:0;box-shadow:none}
.sc567-recipient .scp-card{box-shadow:0 18px 50px #35101c25}
.sc567-recipient .scp-cover{max-width:min(100%,440px);margin:auto}
.sc567-recipient .scp-cover .scp-original{height:auto;max-height:calc(100svh - 210px);width:auto;max-width:100%;margin:auto;object-fit:contain}
.sc567-recipient .scp-envelope,.sc567-recipient .scp-inside{min-height:clamp(330px,47vh,435px);border:1px solid color-mix(in srgb,var(--accent) 55%,var(--paper));position:relative}
.sc567-recipient .scp-envelope:after,.sc567-recipient .scp-inside:after{content:"";position:absolute;inset:10px;border:1px solid color-mix(in srgb,var(--accent) 34%,transparent);pointer-events:none}
.sc567-recipient .scp-envelope{background:linear-gradient(145deg,#fff5,transparent 55%),var(--paper)}
.sc567-recipient .scp-envelope-inner{padding:10% 12%;gap:16px}
.sc567-recipient .scp-seal{width:76px;height:76px;font:italic 30px Georgia,serif;box-shadow:inset 0 0 0 4px #fff3,inset 0 0 0 6px #0001,0 6px 16px #35101c35}
.sc567-recipient .scp-letter{padding:13% 11%;gap:14px}
.sc567-recipient .scp-message{line-height:1.8}
.sc567-recipient .scp-page-nav{margin:18px auto 10px;gap:6px}
.sc567-recipient .scp-tab,.sc567-editor .scp-tab{min-height:44px;background:#fff9f0;border:1px solid #cdb4a8;color:#460c1b;border-radius:24px;padding:8px 19px;font-size:13px}
.sc567-recipient .scp-tab[aria-pressed=true],.sc567-editor .scp-tab[aria-pressed=true]{background:#460c1b;border-color:#460c1b;color:#f6e9d7}
.sc567-recipient .scp-next,.sc567-editor .scp-next{background:linear-gradient(#f8e9d1,#edc693);border:1px solid #be9665;border-radius:24px;color:#21090e;font-weight:650;min-height:46px;font-size:13px}
.sc567-recipient .scp-next{max-width:350px;margin:auto}
.sc567-recipient .scp-next:hover,.sc567-editor .scp-next:hover{background:#fff1d9}
.ec597-progress{display:flex;justify-content:center;align-items:center;gap:9px;margin:0 auto 16px;color:#72565b;font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.ec597-progress span{width:18px;height:1px;background:#b58b58}
.sc567-recipient .sc574-recipient-end{margin:25px auto 0;color:#72565b;font-size:12px}
.sc567-recipient .sc574-recipient-end a{color:#741b36;text-decoration:underline;text-underline-offset:4px}
.sc567-editor{max-width:1650px;padding-inline:clamp(12px,3vw,48px)}
.sc567-editor .sc567-top{background:#460c1b;color:#f6e9d7;padding:15px 20px;border:0;border-radius:4px}
.sc567-editor .sc567-top a{color:#f6e9d7}
.sc567-editor .sc567-top #sc567-state{color:#f2d6ad}
.sc567-editor .sc567-layout{gap:clamp(14px,2vw,26px)}
.sc567-editor .sc567-picker,.sc567-editor .sc567-controls,.sc567-editor .sc567-stage{border-radius:4px}
.sc567-editor .sc567-picker{background:#f3e5d8}
.sc567-editor .sc567-controls h1{font-size:clamp(27px,2.4vw,38px);letter-spacing:-.04em}
.sc567-editor .sc567-controls details{border:1px solid #dac1b4;background:#faf0e5;padding:12px;border-radius:3px;margin:15px 0}
.sc567-editor .sc567-controls summary{cursor:pointer;color:#460c1b;font-weight:650;font-size:13px}
.sc567-editor .sc583-review{background:#f1e2d4;border:1px solid #d8bdb0;padding:14px;border-radius:3px}
.sc567-editor .sc583-review h2{color:#460c1b;font:400 22px Georgia,serif}
.sc567-editor .sc567-stage{background:radial-gradient(ellipse at 45% 0%,#fcf3e8,#e5cebd);padding:clamp(12px,2vw,24px)}
.sc567-editor .sc567-preview-top{border-bottom:1px solid #d8bdb0;padding-bottom:12px;margin-bottom:18px}
.sc567-editor .sc567-actions #sc567-share{border-radius:24px;background:#460c1b;border-color:#460c1b}
.sc567-editor .sc567-actions button:not(#sc567-share){border-radius:24px}
.sc567-editor .sc579-mobile-tabs button{border-radius:24px;min-height:44px}
@media(min-width:1051px){.sc567-editor .sc567-layout{grid-template-columns:minmax(170px,220px) minmax(0,1.3fr) minmax(280px,.9fr)}}
@media(max-width:650px){.sc567-recipient{padding:20px 4px 30px}.ec597-imprint{margin-bottom:18px}.sc567-recipient .scp-cover .scp-original{max-height:calc(100svh - 200px)}.sc567-recipient .scp-envelope,.sc567-recipient .scp-inside{min-height:330px}.sc567-recipient .scp-tab,.sc567-editor .scp-tab{padding:8px 13px}.sc567-editor .sc567-top{padding:12px 14px}.sc567-editor .sc567-top span{font-size:10px}.sc567-editor .sc567-stage{padding:12px}}
@media(prefers-reduced-motion:reduce){.sc567-recipient .scp-card,.sc567-editor .scp-card{animation:none!important}}