:root{
  --primary:#ff8500;--text:#252527;--muted:#666970;--line:#ededf0;--gray:#f7f7f8;
  --cta:linear-gradient(135deg,#ffd23a 0%,#ff8a1e 100%);
  --cta-hover:linear-gradient(135deg,#ffc91f 0%,#f57c0a 100%);
  --amber:linear-gradient(135deg,#ffd23a,#ff8a1e);--radius:20px;
}
/* Logged-out introduction: poster first, video only after an explicit tap. */
body.guest-home{background:#fff}
.guest-home .home-intro.home-toolbar{max-width:750px;margin:12px auto 24px}
.guest-home .home-send-button{display:none}
.guest-intro{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:40px;padding:28px 32px;margin:0 0 30px;border:1px solid #ebebef;border-radius:20px;background:#fff}
.guest-intro-copy{min-width:0;flex:1}
.guest-intro h1{margin:0;font-size:30px;line-height:1.5;letter-spacing:-.35px;word-break:keep-all}
.guest-intro-copy p{margin:18px 0 0;font-size:15px;line-height:1.8;color:var(--muted);word-break:keep-all}
.guest-intro-watch{width:100%;min-width:0;border:0;background:transparent;padding:0;color:#252529;text-align:left}
.guest-intro-thumb{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#f8f8fa}
.guest-intro-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.guest-intro-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;padding-left:2px;width:42px;height:42px;border-radius:50%;background:#fff;box-shadow:0 2px 12px #20202420;font-size:17px;line-height:1}
.guest-intro-label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:9px}
.guest-intro-label strong{font-size:14px;font-weight:500}
.guest-intro-label small{font-size:13px;color:var(--muted)}
@media(min-width:761px){
  .guest-intro{padding-block:clamp(16px,calc(3vh - 9.2px),24px);margin-bottom:24px}
}
dialog.guest-intro-dialog{box-sizing:border-box;width:min(660px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:20px;background:#fff;color:#252529;overflow:auto}
.guest-intro-dialog::backdrop{background:#1414187a}
.guest-intro-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px 8px 20px}
.guest-intro-dialog-head h2{font-size:16px;line-height:24px;margin:0}
.guest-intro-dialog-head button{width:44px;height:44px;padding:0;border:0;background:transparent;color:#55555e;font-size:27px;line-height:1}
.guest-intro-dialog video{display:block;width:100%;aspect-ratio:16/9;background:#101010}
.guest-intro-dialog>p{margin:16px 20px 20px;color:#74747e;font-size:12px;line-height:1.7}
.guest-intro-error{padding:12px 20px;font-size:13px;color:#74747e}
.guest-intro-error button{border:0;background:transparent;min-height:44px;text-decoration:underline;color:#252529}
@media(max-width:760px){
  .guest-home .home-intro.home-toolbar{margin:6px 0 18px}
  .guest-intro{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:21px 20px 20px;margin-bottom:24px;border-radius:18px}
  .guest-intro h1{font-size:24px;line-height:1.5;letter-spacing:-.35px}
  .guest-intro-copy p{font-size:15px;line-height:1.8;margin:10px 0 16px}
  .guest-intro-watch{display:flex;align-items:center;gap:13px;width:100%;max-width:none;background:#f8f8fa;border-radius:12px;overflow:hidden}
  .guest-intro-thumb{flex:0 0 114px;width:114px;aspect-ratio:16/10;border-radius:0}
  .guest-intro-play{width:30px;height:30px;font-size:12px}
  .guest-intro-label{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 12px 8px 0}
  .guest-home .home-toolbar .home-creator-search input{font-size:14px}
}
@media(max-width:360px){
  .guest-intro{padding:18px 16px}
  .guest-intro h1{font-size:21px}
  .guest-intro-thumb{flex-basis:98px;width:98px}
  .guest-intro-watch{gap:10px}
  .guest-intro-label strong{font-size:14px}
  .guest-home .home-toolbar .home-creator-search input{font-size:14px}
}
*{box-sizing:border-box}
@media(min-width:761px){html{scrollbar-gutter:stable}}
body{margin:0;color:var(--text);background:#f8f8fa;font-family:Noto,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
button,input,textarea{font:inherit}
button,a,input,textarea{touch-action:manipulation}
a{color:inherit;text-underline-offset:3px}
button{cursor:pointer}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ffab47;outline-offset:4px}
[hidden]{display:none!important}
.icon{width:20px;height:20px;flex:0 0 auto;display:block}
.icon-lock{object-fit:contain;filter:brightness(0);transform:scale(1.65)}
.letter-view .icon-lock{filter:none}
.verified-icon{width:16px;height:16px;flex:0 0 auto;display:inline-block;vertical-align:middle}
.site-header{height:72px;display:flex;justify-content:space-between;align-items:center;gap:10px;max-width:1224px;margin:auto;padding:0 32px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;min-height:44px}
.brand img{width:132px;max-height:40px;object-fit:contain}
.text-button{border:0;background:transparent;color:var(--muted);padding:9px 0;font-size:14px;display:inline-flex;align-items:center;gap:6px;min-height:40px}
.header-account{position:relative;max-width:60%;flex:0 1 auto;min-width:0}
#account-button{border:1px solid #e7e7ec;border-radius:24px;padding:7px 14px;max-width:100%;gap:8px;white-space:nowrap;color:#53535b;background:#fff}
#account-button:hover,#account-button[aria-expanded=true]{border-color:#d3d3dc;background:#fafafa}
.account-button-label{min-width:0;overflow:hidden;text-overflow:ellipsis}
.account-user-icon{width:17px;height:17px;flex:none;color:#85858f}
.account-chevron{width:14px;height:14px;flex:none;color:#96969f}
#account-button[aria-expanded=true] .account-chevron{transform:rotate(180deg)}
.account-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:100;width:264px;max-width:calc(100vw - 40px);padding:8px;border:1px solid #e9e9ef;border-radius:18px;background:#fff;box-shadow:0 12px 40px #25253814,0 2px 8px #25253808}
.account-panel-identity{padding:12px 12px 14px;margin:0 0 5px;border-bottom:1px solid var(--line)}
.account-panel-identity strong{display:block;font-size:15px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
.account-panel-identity span{display:block;margin-top:2px;font-size:12px;line-height:1.5;color:#8a8a94;overflow-wrap:anywhere}
.account-panel a,.account-panel .account-logout{display:flex;align-items:center;gap:12px;min-height:48px;padding:11px 12px;border-radius:11px;text-decoration:none;font-size:14px;line-height:1.5;color:#484852}
.account-panel a:hover,.account-panel .account-logout:hover{background:#f7f7f9}
.account-panel a[aria-current=page]{background:#fff7ed;color:#ba6414}
.account-panel a svg,.account-panel .account-logout svg{width:20px;height:20px;flex:none;color:#8b8b96}
.account-panel a[aria-current=page] svg{color:inherit}
#app{max-width:1040px;margin:0 auto;padding:32px 32px 80px}
.loading{padding:100px 24px;text-align:center;color:var(--muted)}
h1,h2,h3,p{overflow-wrap:anywhere}
h1{font-size:30px;font-weight:600;letter-spacing:-.35px;line-height:1.5;margin:0 0 10px}
h2{font-size:22px;font-weight:600;letter-spacing:-.3px;line-height:1.5;margin:0 0 12px}
h3{font-size:16px;letter-spacing:0;line-height:1.5;margin:0 0 14px;font-weight:600}
.muted{color:var(--muted)}
.small{font-size:14px}
.eyebrow{font-size:11px;font-weight:500;letter-spacing:1.5px;color:var(--primary);margin:0 0 10px}
.heading{margin:22px 0 28px}
.heading p{margin:0;font-size:15px;line-height:1.8}
.heading .writer-intro{margin-bottom:6px;font-size:16px;font-weight:500;word-break:keep-all}
.heading .writer-support-note{color:var(--muted);word-break:keep-all}
.heading .writer-price-note{margin-top:8px;font-size:13px;color:var(--muted)}
.back-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:14px;color:var(--muted);min-height:32px;margin-bottom:14px}
.back-link .icon{width:18px;height:18px}
.steps{display:flex;gap:20px;align-items:center;margin:0;padding:0;list-style:none;font-size:12px;color:#9b9ba3}
.steps li{display:flex;align-items:center;gap:7px;white-space:nowrap}
.steps b{width:22px;height:22px;border-radius:50%;background:#eaeaf0;display:grid;place-items:center;font-size:11px;font-weight:500}
.steps .active{color:#38383d;font-weight:500}
.steps .active b{background:#ff8a00;color:#fff}
.compose-layout{display:grid;grid-template-columns:minmax(0,540px) minmax(0,348px);gap:36px;align-items:start;justify-content:center}
.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin-bottom:20px;box-shadow:0 4px 24px #21212b03}
.recipient{display:flex;align-items:center;gap:14px;padding:18px;background:#f7f7f9;border:1px solid #efeff2;border-radius:16px;margin-bottom:24px}
.avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#ececf0;display:block;flex:0 0 auto}
.recipient>.avatar{width:56px;height:56px;flex-basis:56px;border:2px solid white}
.recipient-details{flex:1;min-width:0}
.recipient-title{display:flex;align-items:center;gap:7px}
.recipient-title .verified-icon{width:16px;height:16px}
.recipient strong{font-size:20px;line-height:1.4;letter-spacing:-.3px;overflow-wrap:anywhere}
.recipient small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.recipient-label{color:#81818a;font-size:12px;font-weight:500;line-height:1.4;margin:0 0 4px}
.form-section{margin-top:28px}
.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.section-title h2,.section-title h3{margin:0}
.section-title .text-button{padding:0;min-height:24px;font-size:12px}
label{display:block;margin:24px 0 9px;font-size:14px;font-weight:500;line-height:1.5}
label:first-child{margin-top:0}
.required{font-size:11px;color:#e78018;margin-left:6px;font-weight:400}
input[type=text],input[type=email],textarea{width:100%;border:1px solid #e3e3e8;border-radius:12px;background:#fff;padding:14px 16px;font-size:16px;color:var(--text);line-height:1.5;transition:border-color .15s,box-shadow .15s;outline:none}
input[type=text],input[type=email]{height:54px}
textarea{resize:vertical;min-height:190px;line-height:1.75}
input[type=text]:focus,input[type=email]:focus,textarea:focus{border-color:#ffa347;box-shadow:0 0 0 3px #ff990014}
input::placeholder,textarea::placeholder{color:#a6a6ae;font-size:14px}
.counter{text-align:right;font-size:11px;font-variant-numeric:tabular-nums;color:#9c9ca5;margin-top:6px}
.hint{font-size:13px;color:var(--muted);margin:10px 0 0;line-height:1.8}
.photo-empty{border:1px dashed #d8d8e0;border-radius:16px;display:flex;flex-direction:column;align-items:center;padding:26px 14px;background:#fafafb;color:var(--muted);cursor:pointer;gap:7px}
.photo-empty-icon{width:44px;height:44px;display:grid;place-items:center;background:#efeff3;border-radius:13px;color:#8d8d96;margin-bottom:3px}
.photo-empty-icon .icon{width:24px;height:24px}
.photo-empty b{font-size:14px;color:#5b5b64;font-weight:500}
.photo-empty .small{font-size:12px}
.photo-empty:hover{border-color:#b8b8c4;background:#f6f6f9}
.image-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.image-tools button{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;border:1px solid #e5e5eb;background:#fff;border-radius:22px;padding:9px 13px;min-height:38px;color:#5f5f68}
.image-tools button .icon{width:16px;height:16px}
.image-tools .ai-button{background:#f7f7f9;border-color:#e8e8ed;font-weight:400}
.ai-button svg{width:14px;height:14px;flex:0 0 auto;color:#898992}
.ai-remaining{font-size:11px;color:#96969f;margin-left:2px}
.image-tools button:hover:not(:disabled){background:#f1f1f5;border-color:#d7d7df}
.image-tools button:disabled{color:#aaaab2;background:#fafafb;border-color:#eeeef2}
.ai-state{font-size:12px;color:#888892;margin:8px 0 0;line-height:1.7;min-height:0}
.ai-state:empty{display:none}
.ai-state.generating{display:flex;align-items:center;gap:8px;color:#ba7b36}
.ai-state.generating:before{content:"";width:14px;height:14px;flex:0 0 14px;border:2px solid #ffd6a3;border-top-color:#ff8a00;border-radius:50%;animation:ai-spin 1s linear infinite}
@keyframes ai-spin{to{transform:rotate(360deg)}}
.thumbs{display:flex;gap:10px;overflow-x:auto;padding:5px 0 8px}
.thumb-wrap{position:relative;flex:0 0 82px}
.thumb-wrap img{width:82px;height:108px;object-fit:cover;border-radius:12px;border:2px solid transparent;display:block}
.thumb-wrap.selected img{border-color:#ff8b00}
.thumb-wrap button.pick{padding:0;border:0;background:transparent;width:82px}
.thumb-wrap button.remove{position:absolute;top:-4px;right:-4px;border-radius:50%;border:2px solid white;width:26px;height:26px;background:#45454d;color:white;line-height:1;font-size:18px;padding:0}
.thumb-wrap .num{position:absolute;bottom:10px;left:8px;background:#0006;border-radius:7px;color:white;padding:1px 5px;font-size:10px;pointer-events:none}
.visibility{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.choice{position:relative;display:flex;align-items:flex-start;gap:8px;border:1px solid #e6e6ec;border-radius:14px;padding:15px 12px;cursor:pointer;font-weight:400;margin:0;background:white}
.choice input{position:absolute;right:12px;top:16px;accent-color:#ff8a00;margin:0;width:14px;height:14px}
.choice-icon{color:#8c8c96;flex:0 0 auto;padding-top:2px}
.choice-icon .icon{width:18px;height:18px}
.choice>span:last-child{min-width:0}
.choice:has(input:checked){border-color:#ffa64d;background:#fffbf6}
.choice:has(input:checked) .choice-icon{color:#ec8a24}
.choice b{display:block;font-size:13px;font-weight:500;margin-bottom:3px}
.choice small{display:block;color:#8b8b94;font-size:11px;line-height:1.65}
.primary-button{border:0;border-radius:30px;background:var(--cta);color:white;font-weight:600;font-size:15px;line-height:1.5;min-height:54px;padding:14px 22px;width:100%;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:10px;transition:filter .15s}
.primary-button .icon{width:18px;height:18px}
.primary-button:hover:not(:disabled){background:var(--cta-hover)}
.primary-button:disabled{background:#e2e2e7;color:#9e9ea6}
.secondary-button{border:1px solid #e5e5eb;border-radius:13px;min-height:48px;padding:12px 16px;background:#f7f7fa;color:#55555e;font-size:14px;width:100%;margin-top:12px}
.bottom-actions{margin-top:24px}
.save-state{text-align:center;font-size:11px;color:#96969f;margin:9px 0 0;min-height:18px;line-height:1.5}
.error{color:#c64c31;font-size:12px;margin:12px 0 0;line-height:1.7}
.error:empty{display:none}
.preview-column{position:sticky;top:24px}
.mobile-preview-button{display:none}
.preview-label{display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--muted);margin:0 0 12px;letter-spacing:0}
.preview-note{font-size:13px;color:var(--muted);margin:14px 10px;line-height:1.8;text-align:center}
/* App letter proportions are shared by the preview, feed card and full view. */
.letter-view{position:relative;aspect-ratio:9/16;width:100%;border-radius:22px;overflow:hidden;background:#eae7e2;color:white;container-type:inline-size;text-shadow:0 1px 2px #0005;--edge:clamp(12px,4cqw,20px)}
.letter-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.letter-view .avatar{border:2px solid white;background:#ffffff30}
.letter-view .verified-icon{width:clamp(12px,3.5cqw,16px);height:clamp(12px,3.5cqw,16px);filter:drop-shadow(0 1px 1px #0002)}
.letter-top{position:absolute;z-index:2;top:var(--edge);left:var(--edge);right:var(--edge);display:flex;align-items:center;gap:clamp(8px,2.8cqw,12px)}
.letter-sender{display:flex;align-items:center;gap:clamp(7px,2.1cqw,10px);flex:1;min-width:0;text-decoration:none}
.letter-top .avatar{width:clamp(30px,10cqw,44px);height:clamp(30px,10cqw,44px)}
.letter-top .sender{font-size:clamp(12px,3.7cqw,17px);line-height:1.4;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.letter-back{display:grid;place-items:center;width:24px;height:40px;flex:0 0 24px;color:white}
.letter-back .icon{width:24px;height:24px}
.image-count{margin-left:auto;flex:0 0 auto;font-size:clamp(10px,3.3cqw,14px);font-weight:500;line-height:1.5;background:#0003;border-radius:20px;padding:3px 12px;font-variant-numeric:tabular-nums;text-shadow:none}
.guest-badge{display:inline-block;border-radius:6px;background:#ffffff28;border:1px solid #ffffff20;color:inherit;padding:1px 5px;font-size:9px;text-shadow:none;white-space:nowrap;font-weight:400}
.letter-bottom{position:absolute;z-index:1;left:0;right:0;bottom:clamp(16px,6cqw,28px)}
.letter-description{margin-left:var(--edge);margin-right:clamp(64px,18cqw,84px)}
.sender-row{display:flex;flex-wrap:wrap;gap:7px;align-items:baseline;line-height:1.5;margin-bottom:6px}
.sender-row b{font-size:clamp(12px,4.1cqw,18px);font-weight:700;letter-spacing:-.2px;min-width:0;overflow-wrap:anywhere}
.sender-row .date{font-size:clamp(10px,3.1cqw,13px);color:#fffffff0;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
.letter-title{font-size:clamp(14px,4cqw,18px);font-weight:700;line-height:1.5;margin:0 0 6px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;letter-spacing:-.25px}
.letter-body-row{position:relative;display:flex;align-items:flex-end;gap:12px}
.letter-body{font-size:clamp(12px,3.7cqw,16px);line-height:1.6;font-weight:400;white-space:pre-wrap;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:-.15px}
.letter-body-row .letter-body{flex:1;min-width:0}
.letter-read-more{display:block;flex:0 0 auto;margin:0;border:0;background:transparent;color:white;padding:0;font-size:clamp(12px,3.7cqw,16px);font-weight:700;text-shadow:inherit;line-height:1.6}
.letter-recipient{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:clamp(14px,4.5cqw,22px) var(--edge) 0 var(--edge);font-size:clamp(12px,4cqw,18px);font-weight:700;line-height:1.4;text-decoration:none}
.letter-recipient span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:75%}
.letter-recipient .avatar{width:clamp(30px,10cqw,44px);height:clamp(30px,10cqw,44px);margin-left:1px}
.letter-toolbar{position:absolute;z-index:2;right:clamp(8px,2.8cqw,14px);bottom:clamp(78px,21cqw,96px);display:grid;gap:clamp(6px,2.3cqw,12px);width:42px;justify-items:center}
.letter-action{border:0;background:transparent;color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:44px;min-height:46px;padding:0;gap:3px;line-height:1;text-shadow:inherit;font-size:11px;font-weight:700}
.letter-action .icon{width:28px;height:28px;filter:drop-shadow(0 1px 2px #0003)}
.letter-action .icon-heart{width:40px;height:40px;margin:-6px 0}
.letter-action[data-letter-action]:hover{color:#ffe4bc}
.action-count{font-size:11px;line-height:1.4;min-height:15px;font-variant-numeric:tabular-nums}
.more-action .icon{width:28px;height:28px}
.private-label{font-weight:500;font-size:10px;gap:7px}
.letter-view.empty{display:grid;place-items:center;background:#f2f2f5;color:#91919c;text-shadow:none;border:1px solid #e9e9ef}
.empty-preview{text-align:center;font-size:12px;padding:28px;line-height:1.8}
.empty-preview .icon{margin:0 auto 16px;width:36px;height:36px;color:#c2c2cc}
.empty-preview b{display:block;font-size:14px;font-weight:500;color:#878793}
.empty-preview p{margin:8px 0 0}
.letter-view.media-unavailable{color:#49433d;text-shadow:none}
.media-placeholder{position:absolute;top:35%;left:20px;right:20px;margin:0;text-align:center;color:#74695e;font-size:12px}
.media-unavailable .image-count{background:#ded7cd}
.media-unavailable .letter-action,.media-unavailable .letter-back,.media-unavailable .letter-read-more{color:#49433d}
.media-unavailable .sender-row .date{color:#74695e}
.media-unavailable .icon-heart{filter:brightness(.4)}
.order-summary{display:flex;gap:16px;align-items:center;padding:0 0 18px;border-bottom:1px solid var(--line)}
.order-summary img{width:72px;height:96px;object-fit:cover;border-radius:12px;flex:0 0 auto}
.order-summary div{min-width:0}
.order-summary strong{display:block;font-size:15px;line-height:1.6;overflow-wrap:anywhere;margin-top:3px}
.order-summary small{font-size:12px;color:var(--muted)}
.scope-pill{font-size:11px;background:#f0f0f4;color:#797983;padding:3px 8px;border-radius:6px;display:inline-block;margin-top:7px}
#show-preview{color:#777781;margin-top:8px}
.checkout-card h3{margin-top:0}
.member-row{background:#f7f7f9;padding:16px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.member-row strong{font-size:14px;overflow-wrap:anywhere}
.member-row button{font-size:11px;flex:0 0 auto}
.sender-section .section-title{align-items:center;gap:12px}
.sender-verified{color:#b96a12;font-size:12px;font-weight:600;white-space:nowrap}
.sender-email-entry{display:flex;align-items:center;gap:8px}
.sender-email-entry input{min-width:0;flex:1 1 0;width:0}
.sender-email-entry button{flex:0 0 auto;width:auto;white-space:nowrap;margin:0;padding:14px 18px;height:54px}
.checkout-identity{display:flex;align-items:center;gap:12px;margin-top:18px}
.checkout-identity .avatar{width:48px;height:48px;flex:none}
.checkout-identity>div{min-width:0;display:grid;gap:4px}
.checkout-identity strong{font-size:16px;line-height:1.5;display:flex;align-items:center;gap:4px;overflow-wrap:anywhere}
.checkout-identity span{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.verified-email{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;font-size:13px;color:var(--muted)}
.verified-email>span{min-width:0;overflow-wrap:anywhere}
.verified-email button{flex:none;font-size:12px}
.amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.amounts button{padding:14px 0;border:1px solid #e5e5eb;border-radius:12px;background:white;font-size:13px;white-space:nowrap;min-height:48px}
.amounts button.selected{border-color:#ffa347;background:#fffbf5;color:#e98623;font-weight:700}
.total-row{display:flex;justify-content:space-between;align-items:center;margin:28px 0 16px;font-size:14px}
.total-row strong{font-size:25px;letter-spacing:-.5px;color:#f28612}
.agreement{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:12px;margin-top:20px;line-height:1.9;color:#74747e}
.agreement input{margin:5px 0 0;accent-color:#ff9900;width:16px;height:16px;flex:0 0 auto}
.agreement a{color:#52525c}
.notice-box{border-radius:12px;background:#fff9ef;color:#997146;padding:15px;font-size:12px;margin:16px 0;line-height:1.8}
.pg-loading{padding:16px;color:#9999a2;text-align:center;font-size:12px}
.pg-host{min-height:72px}
.payment-options{display:flex;flex-wrap:wrap;gap:10px;border:0;padding:4px 0;margin:0}
.payment-choice{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:13px 15px;cursor:pointer;font-size:13px;font-weight:400;margin:0;min-height:48px}
.payment-choice:has(input:checked){border-color:#ffa347;background:#fffbf5}
.payment-choice input{accent-color:#ff9900;margin:0}
.refund-notice{margin:18px 0;border:1px solid var(--line);border-radius:12px;padding:12px 14px;color:var(--muted);font-size:12px;line-height:1.9}
.refund-notice summary{cursor:pointer;font-weight:500;color:#595963}
.refund-notice p{margin:10px 0 0}
.done-panel{max-width:540px;margin:0 auto;background:white;padding:36px 32px;border:1px solid var(--line);border-radius:22px;text-align:center}
.done-icon{width:64px;height:64px;background:var(--amber);color:white;border-radius:50%;font-size:30px;display:grid;place-items:center;margin:0 auto 24px}
.done-panel h1{font-size:26px}
.receipt{margin:28px 0;text-align:left;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}
.receipt div{display:flex;justify-content:space-between;font-size:12px;margin:10px 0;gap:16px}
.receipt dt{color:var(--muted);flex:0 0 auto}
.receipt dd{margin:0;text-align:right;overflow-wrap:anywhere}
.receipt .order-number{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px 8px;font-variant-numeric:tabular-nums}
.order-number>span{user-select:all}
.order-number-copy{flex:none;padding:4px 8px;border:1px solid var(--line);border-radius:6px;background:white;font:inherit;font-size:11px;color:var(--muted)}
.store-links{display:flex;flex-wrap:wrap;align-items:center;gap:0;justify-content:center;margin-top:16px}
.store-links .store-badge{display:flex;align-items:center;justify-content:center;min-height:60px;text-decoration:none;background:transparent;border:0;border-radius:8px;padding:0}
.store-links .apple-badge{padding:10px}
.apple-badge img{display:block;width:auto;height:40px}
.play-badge img{display:block;width:auto;height:52.083px}
.creator-hero{text-align:center;max-width:440px;margin:auto;padding:10px 0 38px}
.creator-hero>.avatar{width:88px;height:88px;margin:0 auto 18px;border:3px solid white;box-shadow:0 0 0 1px #e9e9ef}
.creator-name{display:flex;align-items:center;justify-content:center;gap:8px}
.creator-name h1{font-size:28px;margin:0;line-height:1.45}
.creator-name .verified-icon{width:20px;height:20px}
.creator-handle{color:#8b8b94;font-size:13px;margin:6px 0 0}
.creator-bio{color:#696973;font-size:14px;margin:16px 0 0;white-space:pre-wrap;line-height:1.8}
.creator-hero .primary-button{margin-top:26px}
.public-letters{max-width:900px;margin:auto;border-top:1px solid var(--line);padding-top:26px}
.creator-profile{max-width:900px;margin:0 auto;padding:10px 0 26px}
.profile-top{display:flex;align-items:center;gap:44px;margin-bottom:28px}
.profile-top>.avatar{width:110px;height:110px;border:3px solid white;box-shadow:0 0 0 1px #e6e6ec}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:500px;flex:1;margin:0}
.profile-stats div{text-align:center}
.profile-stats dd{font-size:28px;font-weight:700;line-height:1.3;letter-spacing:-.6px;margin:0;font-variant-numeric:tabular-nums}
.profile-stats dd small{font-size:17px;margin-left:2px}
.profile-stats dt{font-size:13px;color:#6f6f79;margin-top:7px;font-weight:500}
.profile-name-row{display:flex;justify-content:space-between;align-items:center;gap:20px}
.profile-name-row>div:first-child{min-width:0}
.creator-profile .creator-name{justify-content:flex-start}
.creator-profile .creator-name h1{font-size:25px}
.creator-profile .creator-handle{font-size:12px;margin:5px 0 0}
.profile-category{font-size:14px;color:#94949e;line-height:1.7;margin:10px 0 0}
.profile-socials{display:flex;gap:10px;align-items:center;flex-wrap:wrap;flex:0 0 auto;max-width:50%}
.profile-social{display:grid;place-items:center;min-width:38px;min-height:38px;border-radius:50%}
.profile-social img{display:block;width:28px;height:28px;object-fit:contain}
.profile-website{display:block;text-decoration:none;font-size:14px;font-weight:500;margin-top:14px;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.profile-website:hover{text-decoration:underline;text-underline-offset:3px}
.creator-profile .creator-bio{font-size:15px;line-height:1.8;margin:13px 0 0;color:#5d5d67;white-space:pre-wrap;max-width:650px}
.profile-buttons{display:flex;gap:12px;margin-top:26px;max-width:600px}
.profile-buttons .primary-button{flex:1}
.profile-share{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:54px;border:1px solid #ffab53;border-radius:30px;padding:12px 20px;font-size:14px;color:#e99031;font-weight:500;background:transparent}
.profile-share .icon{width:18px;height:18px}
.profile-writing-note{font-size:12px;color:#9696a0;line-height:1.7;margin:11px 0 0}
.rest-status{font-size:10px;color:#94949d;background:#eeeef3;padding:3px 7px;border-radius:6px;white-space:nowrap}
.profile-letters{max-width:900px;margin:auto}
.profile-tabs{display:flex;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.profile-tabs button{position:relative;flex:1;min-height:62px;padding:18px 12px;background:transparent;border:0;font-size:16px;font-weight:600;color:#aaaab3;line-height:1.4}
.profile-tabs button[aria-selected=true]{color:#2f2f34}
.profile-tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:-1px;left:14%;right:14%;height:3px;background:#ff9e2c}
.profile-list-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 0}
.profile-list-note{font-size:12px;color:#9999a3}
.profile-sort{margin:0;font-size:12px;font-weight:400}
.profile-sort select{border:0;background:transparent;font-family:inherit;font-size:12px;color:#81818d;padding:6px 21px 6px 5px;cursor:pointer;min-height:32px}
.profile-loading,.profile-empty{grid-column:1/-1;padding:55px 15px;text-align:center;color:#9999a3;font-size:13px}
.profile-empty img{display:block;width:176px;max-width:100%;height:auto;margin:0 auto 18px}
.profile-empty p{margin:0}
.profile-more{display:block;margin:24px auto 0;min-height:44px;border:1px solid #e3e3eb;border-radius:24px;padding:10px 30px;background:white;font-size:14px;color:#80808a}
.profile-more:disabled{opacity:.5}
.public-letters .section-title{margin-bottom:20px}
.public-letters h2{font-size:18px;line-height:1.5}
.letters-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0}
.letter-link{text-decoration:none;min-width:0;display:block;border-radius:18px;transition:transform .2s}
.letter-link:hover{transform:translateY(-3px)}
.letter-grid{border-radius:18px}
.letter-grid .letter-top{top:12px;left:12px;right:12px;gap:7px}
.letter-grid .letter-top .avatar{width:28px;height:28px}
.letter-grid .letter-top .sender{font-size:11px}
.letter-grid .image-count{font-size:9px;padding:2px 7px}
.letter-grid .letter-description{margin-right:14px;margin-left:14px}
.letter-grid .sender-row{gap:5px;margin-bottom:5px}
.letter-grid .sender-row b{font-size:11px}
.letter-grid .sender-row .date{font-size:9px}
.letter-grid .letter-title{font-size:14px;line-height:1.5;margin-bottom:5px}
.letter-grid .letter-body{font-size:11px;line-height:1.6}
.letter-grid .letter-bottom{bottom:16px}
.letter-grid .letter-recipient{font-size:11px;gap:5px;margin-top:14px;margin-right:14px}
.letter-grid .letter-recipient .avatar{width:28px;height:28px}
.letter-grid .verified-icon{width:12px;height:12px}
.profile-letters .letter-grid .sender-row,.profile-letters .letter-grid .letter-body-row,.profile-letters .letter-grid .letter-recipient{display:none}
.profile-letters .letter-grid .letter-top .avatar{width:32px;height:32px}
.profile-letters .letter-grid .letter-top .sender{font-size:13px}
.profile-letters .letter-grid .letter-title{font-size:16px;line-height:1.5;margin:0;letter-spacing:-.3px}
.profile-letters .letter-grid .letter-bottom{bottom:20px}
.letter-grid .image-count:empty{display:none}
.letter-grid .image-count:has(.multi-photo-icon){background:transparent;padding:0}
.multi-photo-icon{display:block;width:28px;height:28px}
.grid-private-label{position:absolute;z-index:3;top:52px;right:12px;display:block;width:28px;height:28px;padding:0;border:0;background:none;line-height:0}
.grid-private-label .private-photo-badge{display:block;width:100%;height:100%;max-width:none}
.reply-status{display:inline-block;font-size:12px;line-height:1.5;margin-top:8px;padding:3px 9px;color:#fff;border-radius:20px;background:#0005;text-shadow:none}
.letter-view:has(video) .letter-bottom{bottom:62px;pointer-events:none}
.letter-view:has(video) .letter-bottom a,.letter-view:has(video) .letter-bottom button{pointer-events:auto}
.video-open-app{position:absolute;z-index:2;top:45%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;padding:11px 17px;border:1px solid #ffffff50;border-radius:28px;background:#0005;color:white;white-space:nowrap;font-size:13px;backdrop-filter:blur(6px)}
.video-open-app .icon{width:18px;height:18px}
.empty-list{text-align:center;color:#9999a2;padding:44px 12px;font-size:13px;line-height:1.9}
.my-list{margin:0}
.my-order{display:flex;gap:15px;align-items:center;padding:18px;background:white;border:1px solid var(--line);border-radius:16px;margin-bottom:12px;text-decoration:none}
.my-order img{width:54px;height:72px;border-radius:9px;object-fit:cover;flex:0 0 auto}
.my-order b{display:block;font-size:14px;line-height:1.6}
.my-order small{font-size:11px;color:#888892}
.my-order span:last-child{margin-left:auto;white-space:nowrap;font-size:12px;color:#e88928}
.sheet{border:0;border-radius:24px;padding:32px;max-width:440px;width:calc(100% - 32px);color:var(--text);box-shadow:0 20px 80px #0002}
.sheet::backdrop{background:#0007;backdrop-filter:blur(3px)}
.sheet form{position:relative}
#code-area{margin-top:20px}
#verify-code{margin-top:16px}
.close-button{position:absolute;right:14px;top:10px;background:transparent;border:0;color:#888892;font-size:26px;padding:4px;z-index:3;min-width:40px;min-height:40px;line-height:1}
.preview-dialog{padding:0;width:420px;max-width:calc(100vw - 24px);background:#fff;max-height:calc(100dvh - 32px);overflow:auto}
.preview-dialog-heading{padding:18px 52px 18px 20px;font-size:14px;border-bottom:1px solid var(--line)}
.preview-dialog .close-button{background:white;color:#777;border-radius:50%;width:36px;height:36px;min-width:36px;min-height:36px;top:9px;right:10px}
.preview-dialog .letter-view{border-radius:0}
.payment-confirm-dialog{width:calc(100% - 40px);max-width:420px;border:1px solid var(--line);border-radius:24px;padding:32px;text-align:center;color:var(--text)}
.payment-confirm-dialog::backdrop{background:#16181f70}
.payment-confirm-dialog h2{font-size:23px;line-height:1.5;margin:12px 0}
.payment-confirm-amount{display:block;font-size:30px;margin:20px 0;color:#ed8518}
.payment-confirm-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;margin-top:26px}
.payment-confirm-actions button{margin:0;border-radius:999px;min-height:48px}
.preview-viewport{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom;width:min(100%,calc((100dvh - 250px) * 18 / 37));margin:0 auto;aspect-ratio:18/37;background:#161719}
.preview-viewport::-webkit-scrollbar{display:none}
.preview-page{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;height:100%}
.preview-page .letter-view{height:100%;width:100%;aspect-ratio:auto}
.preview-page .letter-image{object-fit:cover}
.preview-controls,.preview-options{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 16px}
.preview-controls button,.preview-options button{border:1px solid var(--line);background:white;border-radius:999px;min-height:42px;padding:9px 13px;font-size:12px}
.preview-controls .icon{width:18px;height:18px}
.preview-controls [data-position]{font-size:12px;min-width:42px;text-align:center;font-variant-numeric:tabular-nums}
.preview-controls [data-zoom]{margin-left:auto}
.preview-options{border-top:1px solid var(--line);padding-bottom:0}
.preview-instructions{text-align:center;color:var(--muted);font-size:11px;padding:0 18px 12px;line-height:1.7}
.preview-photos-only .letter-top,.preview-photos-only .letter-toolbar,.preview-photos-only .letter-bottom{visibility:hidden}
.preview-photos-only .letter-view:after{display:none}
.preview-expanded .letter-body,.preview-expanded .letter-title{display:block;-webkit-line-clamp:unset}
.preview-expanded .letter-description{max-height:42svh;overflow-y:auto;overscroll-behavior:contain}
.preview-viewport.is-zoomed{overflow:hidden;scroll-snap-type:none}
.preview-page.preview-zoomed{overflow:auto;touch-action:pan-x pan-y pinch-zoom}
.preview-zoomed .letter-view{width:200%;height:200%}
.preview-zoomed .letter-top,.preview-zoomed .letter-toolbar,.preview-zoomed .letter-bottom{display:none}
.preview-zoomed .letter-view:after{display:none}
.sent-record{max-width:960px;margin:0 auto}
.sent-record-layout{display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:64px;margin:30px 0 60px;align-items:start}
.record-photo{position:relative;border:0;padding:0;width:100%;aspect-ratio:3/4;background:#eee;border-radius:16px;overflow:hidden;display:block}
.record-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.record-photo .image-count{position:absolute;top:12px;right:12px;color:white}
.record-recipient{display:flex;align-items:center;gap:14px;text-decoration:none;border-bottom:1px solid var(--line);padding-bottom:24px}
.record-recipient .avatar{width:52px;height:52px;flex:none}
.record-recipient>div{display:grid;min-width:0;gap:3px}
.record-recipient small,.record-recipient span{color:var(--muted);font-size:12px}
.record-recipient strong{display:flex;align-items:center;gap:5px;font-size:22px;overflow-wrap:anywhere}
.record-recipient>.icon{margin-left:auto;flex:none;color:var(--muted);width:18px}
.record-byline{display:flex;justify-content:space-between;gap:15px;margin:24px 0 18px;font-size:12px;color:var(--muted)}
.record-byline time{white-space:nowrap}
.sent-record h1{font-size:24px;line-height:1.5;margin:0 0 18px;overflow-wrap:anywhere}
.record-body{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 24px}
.record-reply{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}
.record-reply>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:13px}
.record-reply time{font-size:12px;color:var(--muted)}
.record-receipt{margin-top:26px;border-top:1px solid var(--line);padding-top:18px}
.record-receipt h2{margin:0;font-size:13px;font-weight:600;color:var(--muted)}
.record-receipt .receipt{border:0;margin:10px 0}
.sent-record-copy>.primary-button{border-radius:999px}
.sent-record-copy>.hint+.primary-button{margin-top:20px}
@media(max-width:760px){.sent-record-layout{grid-template-columns:1fr;gap:28px;margin-top:20px}.sent-record-media{max-width:360px;width:100%;margin:auto}.sent-record h1{font-size:22px}.record-byline{flex-wrap:wrap}.payment-confirm-dialog{padding:28px 22px}}
.full-letter-text{padding:24px;background:white;max-height:40vh;overflow:auto}
.full-letter-text p{white-space:pre-wrap;font-size:14px;line-height:1.9;margin:12px 0 0}
.app-action-sheet h2{font-size:20px;margin:14px 0 10px;padding-right:10px}
.app-action-sheet p{font-size:14px;line-height:1.8;margin:0}
.full-letter{max-width:448px;margin:auto}
.full-letter .letter-view{width:100%;box-shadow:0 6px 30px #25252d08}
.letter-copy{padding:26px 24px;background:white;border:1px solid var(--line);border-radius:16px;margin-top:18px;outline:none}
.letter-copy h2{font-size:18px;line-height:1.65;margin-bottom:12px}
.letter-copy p{font-size:15px;line-height:1.85;white-space:pre-wrap;margin:0}
.letter-reply{padding-top:20px;margin-top:22px;border-top:1px solid var(--line)}
.letter-reply p{margin-top:8px}
.letter-actions-panel{padding:24px 12px 0;text-align:center}
.letter-actions-panel>.hint{font-size:12px;margin-top:12px}
.photo-nav{display:flex;justify-content:space-between;gap:12px;margin:14px 0 0}
.photo-nav button{display:inline-flex;align-items:center;gap:6px;padding:9px 13px;border:1px solid #e3e3ea;background:white;border-radius:22px;font-size:12px;color:#6d6d77;min-height:40px}
.photo-nav .icon{width:16px;height:16px}
.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;border-radius:14px;background:#333;color:white;padding:13px 20px;z-index:100;font-size:13px;box-shadow:0 4px 24px #0002}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){
  body{background:white}
  .site-header{height:64px;padding:0 20px}
  .brand img{width:120px}
  #account-button{font-size:12px;padding:7px 12px;min-height:40px}
  #app{padding:24px 20px 116px}
  .compose-layout{display:block;max-width:560px;margin:auto}
  .panel{padding:0;border:0;box-shadow:none;border-radius:0;margin-bottom:30px}
  .heading{margin:20px 0 24px}
  h1{font-size:26px;letter-spacing:-.6px}
  .heading p{font-size:13px}
  .steps{gap:18px;font-size:11px}
  .recipient{padding:16px;margin-bottom:26px;gap:13px}
  .recipient>.avatar{width:52px;height:52px;flex-basis:52px}
  .recipient strong{font-size:19px}
  .preview-column{display:none}
  .mobile-preview-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:22px;min-height:46px;border:1px solid #e5e5eb;border-radius:13px;background:#fafafb;color:#65656f;font-size:13px}
  .mobile-preview-button:disabled{color:#b2b2bb;background:#fcfcfd}
  .mobile-preview-button .icon{width:18px;height:18px}
  .compose-layout:has(.checkout-card) .preview-column{display:none}
  .bottom-actions{position:fixed;z-index:5;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(16px);padding:12px 20px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);margin:0}
  .bottom-actions .primary-button{max-width:560px;margin:auto;min-height:52px}
  .letter-actions-panel .primary-button{min-height:52px}
  .save-state{margin:6px 0 0;font-size:10px}
  .form-section{margin-top:28px}
  .done-panel{border:0;padding:24px 4px}
  .creator-hero{padding:8px 0 28px;max-width:420px}
  body[data-page=profile]{background:white}
  body[data-page=profile] #app{padding:24px 20px 60px;max-width:700px}
  .creator-profile{padding:0 0 24px}
  .profile-top{gap:18px;margin-bottom:24px}
  .profile-top>.avatar{width:86px;height:86px;border:0;box-shadow:none}
  .profile-stats{gap:8px;max-width:none}
  .profile-stats dd{font-size:22px}
  .profile-stats dd small{font-size:13px}
  .profile-stats dt{font-size:12px;margin-top:6px;color:#54545e}
  .creator-profile .creator-name h1{font-size:22px}
  .profile-name-row{gap:12px}
  .profile-socials{gap:6px;max-width:45%}
  .profile-social{min-width:32px;min-height:34px}
  .profile-social img{width:26px;height:26px}
  .profile-category{margin-top:8px;font-size:13px}
  .profile-buttons{gap:10px;margin-top:24px}
  .profile-buttons .primary-button,.profile-share{min-height:48px;font-size:13px;padding:12px}
  .profile-buttons .primary-button .icon,.profile-share .icon{width:16px;height:16px}
  .profile-writing-note{font-size:11px}
  .profile-tabs{margin:0 -20px}
  .profile-tabs button{min-height:58px;font-size:15px;padding:17px 8px}
  .profile-list-controls{padding:12px 0}
  .profile-list-note{font-size:11px}
  .profile-letters .letters-grid{gap:10px}
  .profile-letters .letter-grid .letter-top .avatar{width:28px;height:28px}
  .profile-letters .letter-grid .letter-top .sender{font-size:12px}
  .profile-letters .letter-grid .letter-top .verified-icon{display:none}
  .profile-letters .letter-grid .letter-title{font-size:14px;line-height:1.5}
  .profile-letters .letter-grid .letter-bottom{bottom:16px}
  .reply-status{font-size:10px;padding:2px 7px;margin-top:6px}
  .creator-hero>.avatar{width:80px;height:80px}
  .creator-name h1{font-size:25px}
  .public-letters{padding-top:22px}
  .public-letters h2{font-size:17px}
  .letters-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .letter-grid{border-radius:14px}
  .letter-grid .letter-top{left:9px;right:9px;top:10px;gap:5px}
  .letter-grid .letter-sender{gap:5px}
  .letter-grid .letter-top .avatar{width:24px;height:24px;border-width:1.5px}
  .letter-grid .letter-top .sender{font-size:9px}
  .letter-grid .image-count{font-size:8px;padding:2px 5px}
  .letter-grid .guest-badge{font-size:8px;padding:0 3px}
  .letter-grid .sender-row,.letter-grid .letter-body-row,.letter-grid .letter-recipient{display:none}
  .letter-grid .letter-title{font-size:12px;line-height:1.5;margin:0}
  .letter-grid .letter-description{margin-left:10px;margin-right:10px}
  .letter-grid .letter-bottom{bottom:12px}
  .amounts{gap:6px}
  .amounts button{font-size:12px}
  .sheet{padding:28px 24px}
  .preview-dialog{padding:0}
  body[data-page=letter] #app{padding:0 0 48px;max-width:560px}
  body[data-page=letter] .full-letter{max-width:560px}
  body[data-page=letter] .letter-detail{border-radius:0;box-shadow:none}
  body[data-page=letter] .letter-actions-panel{padding:24px 20px 0}
  body[data-page=letter] .photo-nav{margin:14px 20px 0}
  body[data-page=letter] .letter-copy{margin:20px 20px 0;padding:22px 18px}
  .toast{bottom:105px}
}
@media(max-width:360px){
  .choice{padding:13px 10px;gap:6px}
  .choice-icon{display:none}
  .choice small{font-size:10px}
  .choice input{right:10px;top:15px}
  .steps{gap:12px}
  .letter-top{gap:8px}
  .letter-top .sender{font-size:12px}
  .letter-back{width:20px;flex-basis:20px}
  .letter-back .icon{width:22px;height:22px}
  .letter-action{min-width:40px}
  .letter-toolbar{right:7px;width:40px;gap:6px;bottom:76px}
  .sender-row{gap:5px}
}
/* Keep the app's profile hierarchy together above the wider letter grid. */
body[data-page=profile] #app,body[data-page=letter] #app{max-width:1224px;padding:40px 32px 80px}
.creator-profile{max-width:600px;margin:0 auto;padding:12px 0 36px}
.profile-summary{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-areas:"avatar stats" "info info" "links links" "bio bio" "buttons buttons";gap:16px 28px;align-items:center}
.profile-main,.profile-side,.profile-identity{display:contents}
.profile-identity>.profile-photo-trigger{grid-area:avatar;width:104px;height:104px;border:0;box-shadow:none}
.profile-photo-trigger{display:block;padding:0;background:transparent;border-radius:50%;cursor:zoom-in}
.profile-photo-trigger:disabled{cursor:default}
.profile-photo-trigger>.avatar{display:block;width:100%;height:100%;border:0;box-shadow:none}
.profile-photo-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;border-radius:0;overflow:hidden;background:#242426;color:#fff;overscroll-behavior:contain}
.profile-photo-dialog::backdrop{background:#242426}
.profile-photo-top{position:absolute;top:0;left:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;min-height:72px;padding:max(12px,env(safe-area-inset-top)) 72px 12px;pointer-events:none}
.profile-photo-count{font-size:15px;line-height:1.5;font-variant-numeric:tabular-nums}
.profile-photo-close,.profile-photo-prev,.profile-photo-next{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#0004;color:white;pointer-events:auto}
.profile-photo-close{position:absolute;left:max(16px,env(safe-area-inset-left))}
.profile-photo-close .icon{width:24px;height:24px}
.profile-photo-prev,.profile-photo-next{position:absolute;top:calc(50% - 22px);z-index:2}
.profile-photo-prev{left:max(16px,env(safe-area-inset-left))}
.profile-photo-next{right:max(16px,env(safe-area-inset-right))}
.profile-photo-prev:disabled,.profile-photo-next:disabled{opacity:.25;cursor:default}
.profile-photo-track{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior:contain}
.profile-photo-track::-webkit-scrollbar{display:none}
.profile-photo-slide{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 100%;min-width:0;height:100%;margin:0;padding:80px 72px 88px;scroll-snap-align:center;scroll-snap-stop:always}
.profile-photo-slide img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;opacity:0}
.profile-photo-slide img.is-loaded{opacity:1}
.profile-photo-status{position:absolute;inset:50% 16px auto;margin:0;text-align:center;font-size:13px;color:#d0d0d5}
.profile-photo-caption{position:absolute;left:60px;right:60px;bottom:max(22px,env(safe-area-inset-bottom));z-index:2;display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:4px 10px;text-align:center;pointer-events:none}
.profile-photo-caption strong{font-size:15px;font-weight:500;max-width:100%;overflow-wrap:anywhere}
.profile-photo-caption span{font-size:12px;color:#b9b9c1;max-width:100%;overflow-wrap:anywhere}
@media(max-width:760px){
  .profile-photo-slide{padding:calc(72px + env(safe-area-inset-top)) 0 calc(88px + env(safe-area-inset-bottom))}
  .profile-photo-prev{left:8px}
  .profile-photo-next{right:8px}
}
.profile-info{grid-area:info;min-width:0;margin-top:4px}
.creator-profile .creator-name h1{font-size:28px;line-height:1.35;letter-spacing:-.7px}
.creator-profile .creator-handle{font-size:14px;line-height:1.6;margin-top:6px}
.profile-category{font-size:14px;margin:6px 0 0;line-height:1.6}
.creator-profile .creator-bio{grid-area:bio;font-size:15px;line-height:1.8;margin:0;max-width:620px;color:#565660}
.profile-links{grid-area:links;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0;min-width:0;max-width:100%}
.profile-links .profile-website{margin:0;font-size:14px;line-height:1.6}
.profile-links .profile-socials{max-width:none;gap:6px}
.profile-social{min-width:32px;min-height:32px}
.profile-social img{width:24px;height:24px}
.profile-stats{grid-area:stats;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;max-width:none}
.profile-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:74px;padding:6px 0;border:0;background:transparent;color:var(--text);border-radius:12px;text-align:center}
button.profile-stat:hover{background:#efeff3}
.profile-stat strong{font-size:27px;line-height:1.3;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.profile-stat small{font-size:16px;margin-left:2px}
.profile-stat>span{font-size:13px;line-height:1.5;color:#6e6e78;font-weight:400}
.profile-stat i{font-size:12px;font-style:normal;color:#9e9ea9;margin-left:2px}
.profile-buttons{grid-area:buttons;max-width:none;gap:12px;margin-top:8px}
.profile-buttons .primary-button,.profile-share{min-height:48px;padding:12px 14px;font-size:14px;line-height:1.5}
.profile-buttons .icon{width:16px;height:16px}
.profile-share{color:#65656f;border-color:#ddddE5;background:white}
@media(min-width:761px){
  .creator-profile{max-width:540px;margin-left:0;margin-right:0;padding:0 0 24px}
  .profile-summary{grid-template-columns:88px minmax(0,1fr);gap:10px 24px}
  .profile-identity>.profile-photo-trigger{width:88px;height:88px}
  .profile-stats{width:320px;max-width:100%;gap:12px;justify-self:start}
  .profile-stat{min-height:68px;gap:4px}
  .profile-stat strong{font-size:25px}
  .profile-info{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;margin-top:6px}
  .creator-profile .creator-name{min-width:0;max-width:100%}
  .creator-profile .creator-name h1{font-size:25px;line-height:1.4}
  .creator-profile .creator-handle{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
  .profile-category{flex-basis:100%;margin:0;font-size:13px;line-height:1.6}
  .profile-links{justify-content:flex-start;gap:16px}
  .creator-profile .creator-bio{font-size:14px;line-height:1.65}
  .profile-buttons{width:432px;max-width:100%;gap:10px;margin-top:4px}
  .profile-buttons .primary-button,.profile-share{min-height:44px;padding:10px 14px}
}
.profile-letters{max-width:none}
.profile-tabs{gap:36px;align-items:stretch;border-top:0}
.profile-tabs button{flex:0 0 auto;padding:16px 2px;min-height:56px;font-size:16px;line-height:1.5;font-weight:500;color:#9898a2}
.profile-tabs button[aria-selected=true]{font-weight:600}
.profile-tabs button[aria-selected=true]:after{left:0;right:0;height:3px}
.profile-list-controls{padding:20px 0 18px;gap:20px}
.profile-list-note{font-size:14px;line-height:1.65;color:#72727d;margin:0}
.profile-sort select{font-size:13px;color:#6f6f7a;padding:8px;min-height:40px;max-width:100%}
.profile-letters .letters-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}
.profile-letters .letter-link{display:flex;flex-direction:column;background:white;border:1px solid #e8e8ee;border-radius:16px;overflow:hidden;box-shadow:0 2px 6px #22222a03;transition:transform .18s,box-shadow .18s}
.profile-letters .letter-link:hover{transform:translateY(-3px);box-shadow:0 8px 24px #22222a0a}
.profile-letters .letter-grid{flex:0 0 auto;aspect-ratio:4/5;border-radius:0}
.profile-letters .letter-grid .letter-top{top:12px;left:12px;right:12px;gap:8px}
.profile-pin-label{flex:0 0 auto;color:#fff;background:#24252980;backdrop-filter:blur(4px);border-radius:5px;padding:3px 7px;font-size:11px;font-weight:600;line-height:1.5;text-shadow:none}
.profile-letters .letter-grid:not(:has(.multi-photo-icon)) .grid-private-label{top:12px}
.letter-card-caption{display:flex;flex-direction:column;flex:1;padding:14px 16px 15px;color:var(--text);text-shadow:none}
.letter-card-people{display:grid;gap:6px;margin-bottom:10px;min-width:0}
.letter-card-person{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;line-height:20px}
.letter-card-role{flex:0 0 30px;color:#8a8a94;font-size:11px;font-weight:400}
.letter-card-person .avatar,.letter-card-broadcast{width:22px;height:22px;flex:0 0 22px;border:0;box-shadow:none}
.letter-card-broadcast{display:grid;place-items:center;color:#777781}
.letter-card-broadcast .icon{width:18px;height:18px}
.letter-card-handle{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:#52525c}
.letter-card-person .verified-icon{width:12px;height:12px;flex:0 0 12px}
.letter-card-person .guest-badge{flex:0 0 auto;color:#85858f;border:0;background:#f3f3f6;padding:0 4px;font-size:9px;line-height:17px}
.letter-card-caption h3{font-size:16px;line-height:1.55;font-weight:500;letter-spacing:-.25px;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:1.55em}
.letter-card-meta{display:flex;align-items:center;gap:10px;margin:9px 0 12px;min-height:20px}
.letter-card-meta time{font-size:12px;color:#9797a1;line-height:1.5}
.letter-card-meta .reply-status{font-size:11px;font-weight:500;line-height:1.5;margin:0;padding:2px 7px;background:#f3f3f6;color:#73737e}
.letter-card-stats{display:flex;align-items:center;gap:20px;margin-top:auto;padding-top:11px;border-top:1px solid #f0f0f3;color:#83838e}
.letter-card-stats>span{display:inline-flex;align-items:center;gap:5px;min-width:0;font-size:12px;line-height:1.5}
.letter-card-stats b{font-weight:400;font-variant-numeric:tabular-nums}
.letter-card-stats .icon{width:17px;height:17px}
.letter-card-stats .icon-heart{filter:brightness(0);opacity:.5}
.stats-dialog{max-width:388px;padding:0;overflow:hidden;background:white;border-radius:22px}
.stats-art{width:100%;height:150px;object-fit:cover;display:block}
.stats-dialog-copy{padding:24px 24px 26px;text-align:center}
.stats-account{font-size:15px;font-weight:500;color:#ef8d24;margin:0 0 5px}
.stats-dialog h2{font-size:18px;line-height:1.65;font-weight:500;margin:0 0 22px;letter-spacing:-.3px}
.stats-dialog h2 strong{font-weight:700}
.stats-explanation{font-size:13px;line-height:1.7;margin:0 0 22px;color:#8a8a94}
.stats-explanation b{font-weight:500}
.stats-confirm{width:100%;min-height:48px;font-size:15px}
/* Photo album: cover, recipient and send action on the left; letter and
   reply on the right. The same reading order stacks on mobile. */
body[data-page=letter]{background:#fff;color:#24262b}
body[data-page=letter] #app{padding-top:22px}
body[data-page=letter] .full-letter{max-width:960px;margin:0 auto}
.detail-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.detail-visibility{font-size:11px;line-height:1.5;color:#777b83;white-space:nowrap}
.detail-back{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-size:14px;color:#70707b;min-height:40px;margin-bottom:18px;line-height:1.5;border:0;padding:0;background:transparent}
.detail-back .icon{width:18px;height:18px}
.detail-navigation .detail-back{margin:0;font-size:13px;min-height:32px;color:#777b83}
.letter-detail-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:42px;align-items:start}
@media(min-width:1000px){.letter-detail-layout[data-photo-shape=landscape]{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)}}
.letter-image[data-full-photo]{cursor:zoom-in}
.letter-image[data-full-photo]:focus-visible{outline:2px solid #ff9900;outline-offset:-3px}
.zoom-photo-dialog .profile-photo-track{overflow:hidden;touch-action:none;scroll-snap-type:none;cursor:grab}
.zoom-photo-dialog .profile-photo-slide{padding:0;overflow:hidden}
.zoom-photo-dialog .profile-photo-slide img{transform-origin:center;user-select:none;-webkit-user-drag:none}
.letter-recipient-column{--album-cover-ratio:.625;--album-media-limit:640px;min-width:0;width:100%;max-width:max(280px,calc(var(--album-media-limit) * var(--album-cover-ratio)));margin:0 auto}
.letter-media-column{min-width:0}
.letter-reading-column{min-width:0;padding:0}
body[data-page=letter] .letter-detail{--media-ratio:.8;--media-height-limit:var(--album-media-limit,640px);width:100%;max-width:calc(var(--media-height-limit) * var(--media-ratio));aspect-ratio:var(--media-ratio);max-height:none;margin:0 auto;border-radius:6px;background:transparent;text-shadow:0 1px 2px #0005;box-shadow:none}
.letter-detail .letter-image{object-fit:contain}
.letter-detail{--media-control-surface:rgba(0,0,0,.26);--media-control-inset:12px}
.letter-detail .letter-top{justify-content:flex-end;top:var(--media-control-inset);left:var(--media-control-inset);right:var(--media-control-inset)}
.letter-detail .image-count{min-width:38px;text-align:center;font-size:11px;padding:3px 7px;border-radius:5px;background:var(--media-control-surface);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.letter-gallery{position:relative;overflow:hidden;isolation:isolate;transition:height .24s ease;touch-action:pan-y pinch-zoom}
.letter-slide{position:absolute;top:0;left:0;width:100%;visibility:hidden;pointer-events:none}
.letter-slide.is-active,.letter-slide.is-entering{visibility:visible}
.letter-slide.is-active{pointer-events:auto}
.letter-slide.is-entering{will-change:transform}
.letter-gallery .letter-image{user-select:none;-webkit-user-drag:none}
.photo-nav{display:flex;align-items:center;justify-content:center;gap:20px;margin:12px 0 0;font-size:13px;color:#7c7c87;font-variant-numeric:tabular-nums}
.photo-nav button{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #e5e5eb;border-radius:50%;background:white;color:#71717c}
.photo-nav .icon{width:18px;height:18px}
body[data-page=letter] .letter-reading-column .letter-copy{margin:0;padding:0;background:transparent;border:0;border-radius:0}
.detail-date{display:block;font-size:13px;color:#93939e;line-height:1.6;margin-bottom:12px}
.detail-byline{display:flex;align-items:center;margin-bottom:22px}
.detail-author{position:relative;display:flex;align-items:center;gap:9px;width:100%;min-width:0;max-width:100%;font-size:12px;font-weight:500;line-height:1.6;text-decoration:none}
.detail-author .avatar{width:32px;height:32px;flex:0 0 32px;border:0;box-shadow:none}
.detail-author-identity{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;flex:1;min-width:0;gap:3px 10px}
.detail-reply-label{font-size:11px;font-weight:400;line-height:1.5;color:#777b83;white-space:nowrap}
.detail-author-heading{text-decoration:none;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 9px;min-width:0}
.detail-author-name{min-width:0;font-size:12px;line-height:1.5;font-weight:500;letter-spacing:-.15px;overflow-wrap:anywhere}
.detail-author-handle{min-width:0;font-size:11px;line-height:1.5;font-weight:400;color:#777b83;overflow-wrap:anywhere}
.detail-author-name .verified-icon{width:14px;height:14px;margin-left:4px;vertical-align:-2px}
.detail-author-meta{display:flex;align-items:baseline;gap:8px;font-size:11px;line-height:1.5;font-weight:400;letter-spacing:.1px;color:#777b83;white-space:nowrap}
a.detail-author-heading:hover .detail-author-name{text-decoration:underline;text-underline-offset:4px}
.detail-byline .detail-date{font:inherit;color:inherit;margin:0}
.sender-byline{margin:0 0 21px}
.reply-byline{margin:0 0 13px}
.detail-author-avatar{display:flex;flex:0 0 auto;border-radius:50%;background:#fff}
.letter-recipient-heading{margin:22px 0 0;padding:0;min-width:0}
.letter-recipient-profile{display:flex;align-items:center;gap:14px;width:100%;max-width:100%;text-decoration:none}
.letter-recipient-profile .avatar{width:54px;height:54px;flex:0 0 54px;border:0;box-shadow:none}
.letter-recipient-identity{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:3px 8px;flex:1;min-width:0}
.letter-recipient-identity>.letter-recipient-to{grid-column:1;grid-row:1}
.letter-recipient-identity>.letter-recipient-name{grid-column:2;grid-row:1}
.letter-recipient-identity>.letter-recipient-handle{grid-column:2;grid-row:2}
.letter-recipient-name{display:flex;align-items:center;gap:6px;min-width:0}
.letter-recipient-name strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:24px;line-height:1.35;letter-spacing:-.6px;font-weight:700}
.letter-recipient-broadcast strong{font-size:27px;line-height:1.35;letter-spacing:-.8px;font-weight:700;word-break:keep-all;overflow-wrap:anywhere}
.letter-recipient-to{font-size:13px;line-height:1.5;font-weight:400;color:#777b83;flex:0 0 auto}
.letter-recipient-name .verified-icon{width:16px;height:16px;flex:0 0 16px}
.letter-recipient-handle{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.5;color:#777b83}
.letter-recipient-chevron{font-size:24px;font-weight:400;line-height:1;color:#8c9098;margin-left:auto;flex:none}
.letter-recipient-profile:hover .letter-recipient-name strong{text-decoration:underline;text-underline-offset:5px}
.letter-recipient-broadcast{display:flex;align-items:center;gap:10px;min-height:54px}
@media(max-width:370px){
  .letter-recipient-profile .avatar{width:52px;height:52px;flex-basis:52px}
  .letter-recipient-name strong,.letter-recipient-broadcast strong{font-size:23px}
}
.detail-guest{font-size:11px;font-weight:400;color:#8c8c97;border:1px solid #e4e4eb;border-radius:5px;padding:1px 5px;white-space:nowrap}
.letter-copy h1{font-size:22px;line-height:1.5;letter-spacing:-.7px;font-weight:600;margin:0 0 18px;word-break:keep-all;overflow-wrap:anywhere}
.letter-comments{margin-top:24px;padding-bottom:24px;border-bottom:1px solid #e9e9ef;scroll-margin-top:24px;outline:none}
.comments-heading{display:flex;align-items:baseline;gap:8px;margin:0 0 6px}
.comments-heading h2{margin:0;font-size:17px;line-height:1.6;font-weight:600}
.comments-heading span{font-size:15px;color:#8c8c97;font-variant-numeric:tabular-nums}
.comment-list,.comment-replies{list-style:none;margin:0;padding:0}
.comment-item{padding:18px 0;border-bottom:1px solid #ededf2}
.comment-item:last-child{border-bottom:0}
.comment-byline{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px}
.comment-author{display:inline-flex;align-items:center;gap:10px;min-width:0;max-width:100%;font-size:13px;font-weight:500;text-decoration:none}
.comment-author>span{overflow-wrap:anywhere;min-width:0}
.comment-author .avatar{width:32px;height:32px;flex:0 0 32px;border:1px solid #e8e8ef;box-shadow:none}
.comment-author .verified-icon{width:13px;height:13px;vertical-align:-2px;margin-left:4px}
.comment-byline time{font-size:11px;color:#9999a3;white-space:nowrap}
.comment-pinned{font-size:10px;line-height:1.6;color:#a97827;background:#fff4df;padding:1px 6px;border-radius:4px}
.comment-body{margin-left:42px;min-width:0}
.comment-body>p{margin:5px 0 0;font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;color:#4b4b55}
.comment-body>p.comment-deleted{color:#9898a3;font-size:13px}
.comment-images{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.comment-images button{display:block;max-width:100%;padding:0;border:0;border-radius:10px;overflow:hidden;background:transparent;cursor:zoom-in}
.comment-images button:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.comment-images img{display:block;max-width:100%;width:auto;height:auto;max-height:160px;object-fit:contain}
.comment-photo-dialog,.comment-photo-dialog::backdrop{background:#141416}
.comment-photo-dialog .profile-photo-slide{padding-bottom:max(24px,env(safe-area-inset-bottom))}
.comment-meta{display:flex;align-items:center;gap:16px;margin-top:6px;color:#8e8e99;font-size:11px}
.comment-meta:empty,.comment-replies-status:empty{display:none}
.comment-meta>span{display:inline-flex;align-items:center;gap:5px}
.comment-meta .icon{width:13px;height:13px;filter:brightness(0);opacity:.4}
.comment-replies-button{padding:5px 0;min-height:32px;border:0;background:transparent;font-size:12px;color:#777783}
.comment-replies{margin-top:6px;padding-left:12px;border-left:2px solid #ededf2}
.comment-reply{padding:12px 0}
.comment-reply .comment-author .avatar{width:26px;height:26px;flex-basis:26px}
.comment-reply .comment-body{margin-left:36px}
.comment-reply .comment-byline{gap:5px 8px}
.comment-status,.comment-replies-status{font-size:12px;color:#898993;line-height:1.7}
.comment-status:empty{display:none}
.comments-more{display:block;min-height:40px;width:100%;margin:10px 0 16px;padding:8px 12px;border:1px solid #e4e4ec;border-radius:10px;background:white;color:#777782;font-size:12px}
.comment-composer{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:3px 0 4px;margin-top:13px;text-align:left;background:transparent;border:0;border-radius:0;color:#777b83;font-size:13px;line-height:1.7}
.comment-composer>.icon{width:18px;height:18px;flex:none}
.comment-composer:hover{color:#e98723}
.comment-composer:focus-visible{outline:2px solid #ff9f32;outline-offset:3px}
.sheet.profile-fans-dialog{width:440px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);padding:0;border-radius:22px;background:white;overflow:hidden}
.profile-fans-dialog[open]{display:flex;flex-direction:column}
.fans-header{position:relative;flex:none;padding:22px 24px 16px;border-bottom:1px solid #eeeeF3}
.fans-header p{margin:0 0 3px;font-size:12px;color:#898993}
.fans-header h2{margin:0;font-size:20px;line-height:1.5}
.fans-header h2 span{margin-left:6px;color:#93939d;font-size:16px;font-weight:400}
.fans-body{min-height:120px;max-height:440px;overflow:auto;overscroll-behavior:contain;padding:8px 24px}
.fans-list{padding:0;margin:0;list-style:none}
.fans-list li+li{border-top:1px solid #f3f3f6}
.fan-profile{display:flex;align-items:center;gap:12px;padding:13px 0;text-decoration:none;min-width:0}
.fan-profile .avatar{width:44px;height:44px;flex:0 0 44px;border:1px solid #ededf2;box-shadow:none}
.fan-identity{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.fan-identity strong{font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.fan-identity>span{font-size:12px;color:#92929c;line-height:1.5;overflow-wrap:anywhere}
.fan-identity .verified-icon{width:14px;height:14px;margin-left:5px;vertical-align:-2px}
.fan-profile>.icon{width:16px;height:16px;flex:none;color:#b5b5bf}
.fan-profile:hover .fan-identity strong{color:#e98723}
.fans-status{font-size:13px;line-height:1.7;color:#94949d;text-align:center;margin:20px 0}
.fans-status:empty{display:none}
.fans-footer{flex:none;padding:16px 24px 20px;border-top:1px solid #eeeef3}
.fans-footer .primary-button{width:100%;min-height:46px;font-size:14px}
.letter-copy .detail-content,.letter-copy .letter-reply p{font-size:14px;line-height:1.9;letter-spacing:-.15px;white-space:pre-wrap;margin:0;padding:0;color:#24262b}
.letter-copy .letter-reply{border:0;border-top:1px solid #e9ebee;background:transparent;margin:26px 0 0;padding:22px 0 0}
.letter-reply h2{font-size:15px;line-height:1.6;font-weight:500;color:#8b8b95;margin:0 0 10px}
.detail-activity{display:flex;gap:22px;align-items:center;padding:0;margin-top:22px;border:0}
.detail-activity button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0;border:0;background:transparent;font-size:13px;color:#777781}
.detail-activity button .icon{width:18px;height:18px;color:#777b83}
.detail-activity button>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.detail-activity .icon-heart{filter:brightness(0);opacity:.55}
.detail-activity b{font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}
.detail-private{display:flex;align-items:center;gap:8px;font-size:13px;color:#7c7c86}
body[data-page=letter] .letter-actions-panel{margin-top:22px;padding:0;max-width:none}
/* Use the writer's primary-button style for the recipient send action. */
.letter-actions-panel .primary-button .icon{width:18px;height:18px;flex:none}
.letter-actions-panel .primary-button>span{min-width:0;text-align:center;white-space:nowrap}
.letter-app-links{text-align:center;margin-top:20px}
.letter-app-links>.hint{font-size:11px;margin-bottom:12px}
body[data-page=letter] .letter-comments{margin-top:24px;padding-top:20px;border-top:1px solid #e9ebee}
.video-status{position:absolute;left:20px;right:20px;top:42%;text-align:center;font-size:13px;padding:10px 14px;border-radius:12px;background:#0005;color:white;margin:0;pointer-events:none}
.video-retry{position:absolute;top:55%;left:50%;transform:translate(-50%,-50%);border:1px solid #ffffff60;border-radius:24px;background:#0006;color:white;font-size:13px;padding:10px 18px}
/* Original sound button, aligned below the counter with a 10px gap. */
.video-sound{position:absolute;top:calc(var(--media-control-inset,12px) + 33px);right:var(--media-control-inset,12px);bottom:auto;z-index:3;display:grid;place-items:center;width:38px;height:38px;min-height:38px;border:0;border-radius:50%;background:transparent;color:white;padding:0;touch-action:manipulation}
.video-sound svg{display:block;width:20px;height:20px;min-width:20px;min-height:20px;aspect-ratio:1;flex:none;pointer-events:none}
.video-sound:focus-visible{outline:2px solid white;outline-offset:2px}
@media(min-width:1280px){.profile-letters .letters-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){
  .creator-profile .creator-name h1{font-size:25px}
  .letter-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
  .letter-copy h1{font-size:22px;line-height:1.5}
  .detail-activity{gap:14px;flex-wrap:wrap}
  .detail-activity button{font-size:12px}
}
.mobile-reply-status{display:none}
.profile-photo-copy{display:none}
@media(max-width:760px){
  body[data-page=profile] #app,body[data-page=letter] #app{padding:28px 20px 60px;max-width:700px}
  .creator-profile{padding:0 0 20px}
  .profile-summary{grid-template-columns:88px minmax(0,1fr);grid-template-areas:"avatar stats" "info info" "links links" "bio bio" "buttons buttons";gap:14px 18px;align-items:center}
  .profile-main,.profile-side,.profile-identity{display:contents}
  .profile-identity>.profile-photo-trigger{grid-area:avatar;width:88px;height:88px;border:0;box-shadow:none}
  .profile-info{grid-area:info;margin-top:4px}
  .creator-profile .creator-name h1{font-size:22px}
  .creator-profile .creator-handle{font-size:13px}
  .profile-category{font-size:13px;margin-top:3px}
  .creator-profile .creator-bio{grid-area:bio;font-size:14px;line-height:1.75;margin:0}
  .profile-links{grid-area:links;justify-content:space-between;gap:12px;margin:0}
  .profile-links .profile-socials{gap:4px}
  .profile-stats{grid-area:stats;gap:6px}
  .profile-stat{min-height:60px;padding:0}
  .profile-stat strong{font-size:23px}
  .profile-stat>span{font-size:12px}
  .profile-buttons{grid-area:buttons;margin-top:6px;gap:10px}
  .profile-buttons .primary-button,.profile-share{min-height:48px;font-size:14px}
  .profile-tabs{margin:0;gap:0;justify-content:space-between}
  .profile-tabs button{flex:1;font-size:15px;min-height:52px;padding:14px 4px}
  .profile-tabs button[aria-selected=true]:after{left:18%;right:18%}
  .profile-list-controls{gap:12px;padding:16px 0;align-items:center}
  .profile-list-note{font-size:12px;line-height:1.65;max-width:75%}
  .profile-sort{flex:0 0 auto}
  .profile-sort select{font-size:12px;padding:8px 0}
  .profile-letters .letters-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
  .profile-letters .letter-link{border-radius:12px}
  .profile-letters .letter-grid .letter-top{top:8px;left:8px;right:8px;gap:4px}
  .profile-letters .letter-grid:not(:has(.multi-photo-icon)) .grid-private-label{top:8px;right:8px}
  .multi-photo-icon{width:22px;height:22px}
  .letter-card-caption{padding:11px 11px 12px}
  .letter-card-people{gap:5px;margin-bottom:8px}
  .letter-card-person{gap:4px;font-size:11px}
  .letter-card-role{flex-basis:27px;font-size:10px}
  .letter-card-person .avatar,.letter-card-broadcast{width:20px;height:20px;flex-basis:20px}
  .letter-card-caption h3{font-size:14px;line-height:1.55}
  .letter-card-meta{flex-wrap:wrap;gap:6px;margin:7px 0 10px}
  .letter-card-meta time{font-size:10px}
  .letter-card-meta .reply-status{font-size:10px;padding:1px 5px}
  .letter-card-meta .mobile-reply-status{display:inline-block}
  .letter-card-stats{gap:12px;padding-top:9px;justify-content:space-between}
  .letter-card-stats>span{font-size:11px;gap:4px}
  .letter-card-stats .icon{width:15px;height:15px}
  /* Mobile profile: title on the rounded photo, only people below it. */
  body[data-page=profile] #app{max-width:none}
  body[data-page=profile] .profile-letters{position:relative}
  body[data-page=profile] .profile-list-controls{display:contents}
  body[data-page=profile] .profile-list-note{display:none}
  body[data-page=profile] .profile-tabs{margin-bottom:11px}
  body[data-page=profile] .profile-tabs button[aria-selected=true]{padding-right:24px}
  body[data-page=profile] .profile-sort{position:absolute;top:4px;left:calc(100% / 6 + 18px);width:36px;height:44px;z-index:1}
  body[data-page=profile] .profile-letters:has(#tab-send[aria-selected=true]) .profile-sort{left:calc(50% + 18px)}
  body[data-page=profile] .profile-letters:has(#tab-likes[aria-selected=true]) .profile-sort{left:calc(100% * 5 / 6 + 8px)}
  body[data-page=profile] .profile-sort:after{content:"";position:absolute;top:20px;left:12px;border:4px solid transparent;border-top-color:#55555d;pointer-events:none}
  body[data-page=profile] .profile-sort:focus-within{outline:2px solid #ff8c18;outline-offset:-3px;border-radius:6px}
  body[data-page=profile] .profile-sort select{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer}
  body[data-page=profile] .profile-letters .letters-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px;margin-inline:-12px}
  body[data-page=profile] .profile-letters .letter-link{border:0;border-radius:0;box-shadow:none;background:transparent;transform:none}
  body[data-page=profile] .profile-letters .letter-grid{aspect-ratio:3/5;border-radius:10px}
  body[data-page=profile] .profile-photo-copy{display:block;position:absolute;inset:auto 0 0;padding:32px 10px 11px;pointer-events:none}
  body[data-page=profile] .profile-photo-copy h3{margin:0;font-size:13px;line-height:1.45;font-weight:600;letter-spacing:-.3px;color:#fff;text-shadow:0 1px 3px #0008;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
  body[data-page=profile] .profile-photo-copy .reply-status{margin:5px 0 0;padding:2px 5px;border-radius:4px;background:#0004;color:#fff;font-size:11px;line-height:1.35}
  body[data-page=profile] .letter-card-caption{flex:0 0 auto;padding:7px 2px 3px}
  body[data-page=profile] .letter-card-caption>h3,body[data-page=profile] .letter-card-meta,body[data-page=profile] .letter-card-stats{display:none}
  body[data-page=profile] .letter-card-people{gap:4px;margin:0}
  body[data-page=profile] .letter-card-person{font-size:11.5px;line-height:19px}
  body[data-page=profile] .letter-card-role{flex-basis:26px}
  body[data-page=profile] .letter-card-person .avatar,body[data-page=profile] .letter-card-broadcast{width:19px;height:19px;flex-basis:19px}
  .letter-detail-layout{grid-template-columns:1fr;gap:28px}
  .letter-recipient-column{padding-bottom:0;border:0}
  .letter-reading-column{padding:0}
  body[data-page=letter] .letter-detail{--media-height-limit:640px;border-radius:6px}
  .detail-back{font-size:13px;margin-bottom:14px}
  .detail-author{font-size:12px;gap:9px}
  .detail-author .avatar{width:32px;height:32px;flex-basis:32px}
  .letter-copy h1{font-size:22px;line-height:1.5;margin-bottom:18px}
  .detail-date{font-size:12px;margin-bottom:10px}
  .detail-activity{justify-content:flex-start;gap:22px;margin-top:22px;padding:0}
  .detail-activity button{font-size:13px}
  body[data-page=letter] .letter-actions-panel{max-width:none;margin-top:22px;padding:0}
}
.site-footer{max-width:1160px;margin:0 auto;padding:30px 0 36px;border-top:1px solid #e7e7ed;color:var(--muted);font-size:12px;line-height:1.9}
body[data-page=letter] .site-footer{display:none}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.footer-brand{display:flex;align-items:center}
.footer-brand img{width:92px;height:auto}
.footer-top nav{display:flex;flex-wrap:wrap;gap:8px 22px;color:#72727d;font-size:12px}
.site-footer a{text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-top strong{font-weight:500;color:#53535e}
.footer-info{display:flex;flex-wrap:wrap;gap:0 16px}
.site-footer address{font-style:normal;margin-top:4px}
.footer-copyright{margin:16px 0 0;font-size:12px;letter-spacing:0}
@media(max-width:1224px){.site-footer{margin-left:32px;margin-right:32px}}
@media(max-width:760px){.site-footer{margin:0 20px;padding:26px 0 32px}.footer-top{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:18px}.footer-top nav{gap:8px 16px;font-size:12px}.footer-brand img{width:88px}.footer-info{gap:0 12px}}
body[data-page=mine]{min-height:100vh;display:flex;flex-direction:column}
body[data-page=mine] .site-header{width:100%;flex-shrink:0;margin:0 auto}
body[data-page=mine] #app{width:100%;max-width:1224px;flex:1;padding:40px 32px 64px}
body[data-page=mine] .site-footer{width:calc(100% - 64px);margin:0 auto}
.mine-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.mine-heading h1{font-size:28px;line-height:1.5;letter-spacing:-.7px;margin:0 0 8px}
.mine-heading p{margin:0;color:#85858f;font-size:14px;line-height:1.7}
.mine-explore,.mine-collection-heading>a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:13px;color:#73737e;min-height:40px;flex-shrink:0}
.mine-explore .icon,.mine-collection-heading>a .icon{width:16px;height:16px}
.mine-account{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;margin-bottom:22px;border-top:1px solid #e7e7ed}
.mine-account-profile,.mine-account-guest{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none}
.mine-account .avatar{width:42px;height:42px;flex-basis:42px;border:1px solid #e8e8ef}
.mine-account-profile>span,.mine-account-guest>div{min-width:0}
.mine-account strong{display:block;font-size:14px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
.mine-account .verified-icon{width:14px;height:14px;margin-left:5px;vertical-align:-2px}
.mine-account-profile>span>span,.mine-account p{display:block;margin:3px 0 0;font-size:12px;line-height:1.6;color:#8d8d98;overflow-wrap:anywhere}
.mine-account-action{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;min-height:38px;padding:7px 14px;border:1px solid #e4e4eb;border-radius:22px;background:white;color:#777782;font-size:12px}
.mine-account-action .icon{width:15px;height:15px}
.order-lookup{margin:0 0 24px}
.order-lookup label{display:block;margin:0 0 8px;font-size:12px;color:#73737e}
.order-lookup-fields{display:flex;gap:8px}
.order-lookup-fields input{min-width:0;flex:1;width:auto;margin:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:white;font:inherit;font-size:16px}
.order-lookup-fields button{flex:none;width:auto;margin:0;padding:10px 18px;font-size:13px}
.order-lookup .error{margin:6px 0 0}
.mine-letter-order{margin:6px 0 0;font-size:11px;color:#92929c;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mine-collection{border:1px solid #e7e7ed;border-radius:20px;background:#fff;overflow:hidden}
.mine-collection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 28px;border-bottom:1px solid #ededf2}
.mine-collection-heading h2{display:flex;align-items:baseline;gap:9px;margin:0;font-size:16px;line-height:1.6;letter-spacing:-.3px}
.mine-collection-heading h2>span{font-size:13px;color:#9999a3;font-weight:400}
.mine-collection-heading>a{font-size:12px}
.mine-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:42px 24px 48px}
.mine-empty>img{width:176px;max-width:70%;height:auto;margin-bottom:24px}
.mine-empty h2{font-size:20px;line-height:1.5;letter-spacing:-.4px;margin:0 0 10px}
.mine-empty p{font-size:14px;line-height:1.85;color:#8a8a94;margin:0;word-break:keep-all;overflow-wrap:anywhere}
.mine-empty .primary-button{width:auto;min-width:220px;max-width:100%;min-height:46px;padding:10px 24px;font-size:14px;margin-top:24px}
.mine-letters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:24px}
.mine-letter{display:flex;align-items:center;gap:16px;min-width:0;padding:16px;border:1px solid #e9e9ef;border-radius:14px;text-decoration:none;transition:border-color .15s,background .15s}
.mine-letter:hover{border-color:#ffd49f;background:#fffcf8}
.mine-letter-photo{width:76px;height:96px;flex:0 0 76px;object-fit:cover;border-radius:9px;background:#f1f1f5}
.mine-letter-info{flex:1;min-width:0}
.mine-letter-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;margin-bottom:8px}
.mine-letter-recipient{font-size:12px;color:#878791;overflow-wrap:anywhere}
.mine-status{font-size:10px;line-height:1.5;padding:3px 7px;border-radius:5px;background:#f1f1f5;color:#82828b;white-space:nowrap}
.my-order>span[data-status=sent],.mine-status-sent{color:#4e8071}
.mine-status-sent{background:#edf6f1}
.mine-status-pending,.mine-status-confirming{color:#aa752b;background:#fff4e5}
.mine-status-failed{color:#af6464;background:#fcf0f0}
.mine-letter h3{font-size:15px;line-height:1.55;letter-spacing:-.2px;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.mine-letter-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:11px;color:#94949f}
.mine-letter-meta>span{display:inline-flex;align-items:center;gap:4px}
.mine-letter-meta .icon{width:12px;height:12px}
.mine-letter-arrow{flex-shrink:0;color:#b7b7c0}
.mine-letter-arrow .icon{width:17px;height:17px}
.compose-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.compose-nav .back-link{margin:0}
.letter-manage-button{border:0;background:transparent;padding:10px 6px;min-height:40px;color:#8a7070;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
.letter-manage-button:hover{color:#b54738;text-decoration:underline;text-underline-offset:4px}
.letter-manage-button:focus-visible{outline:2px solid #f59a38;outline-offset:3px;border-radius:6px}
.mine-drafts{margin-bottom:24px}
.mine-collection-heading>small{color:#8d8d98;font-size:11px}
.mine-drafts-empty{padding:22px 28px;margin:0;color:#8d8d98;font-size:13px}
.mine-letter-entry{min-width:0;border:1px solid #e9e9ef;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.mine-letter-entry .mine-letter{border:0;border-radius:0;flex:1}
.mine-letter-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:0 16px;border-top:1px solid #f0f0f4}
.mine-letter-actions>a{display:inline-flex;align-items:center;gap:6px;font-size:12px;text-decoration:none;margin-right:auto;min-height:42px;color:#70707a}
.mine-letter-actions .icon{width:14px;height:14px}
.order-manage-actions{display:flex;justify-content:center;margin-top:12px}
.letter-manage-dialog{width:min(420px,calc(100% - 32px));padding:28px;border:1px solid #e7e7ed;border-radius:20px;background:#fff;color:#25252b;box-sizing:border-box;box-shadow:0 16px 64px #17172022}
.letter-manage-dialog::backdrop{background:rgba(25,25,32,.38)}
.letter-manage-dialog h2{font-size:20px;line-height:1.45;margin:0 0 12px;letter-spacing:-.5px}
.letter-manage-dialog p{font-size:14px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere;margin:0;color:#777782}
.letter-manage-dialog .error{margin-top:14px;color:#b54c3d}
.letter-manage-dialog .error:empty{display:none}
.letter-manage-dialog-actions{display:flex;gap:10px;margin-top:24px}
.letter-manage-dialog-actions button{flex:1;width:auto;margin:0;min-height:46px;padding:10px 12px;border-radius:24px;font-size:14px;line-height:1.5}
.letter-delete-confirm{border:0;background:#ba4b3b;color:white;font-weight:600;cursor:pointer}
.letter-manage-dialog button:disabled{opacity:.5;cursor:wait}
.header-tools,.header-shortcuts{display:flex;align-items:center;gap:12px;min-width:0}
.header-shortcuts{flex-shrink:0}
.header-tools .header-account{max-width:220px}
.header-login{flex:none;border:0;border-radius:24px;min-height:40px;padding:8px 18px;background:#29292d;color:white;font-size:14px;white-space:nowrap}
.header-login:hover{background:#45454c}
.header-tools:has(.header-login:not([hidden])) #account-button{border-color:transparent;background:transparent;padding-inline:6px}
.mine-find-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:42px;padding:9px 16px;border:1px solid #e4e4eb;border-radius:24px;background:white;color:#595963;font-size:13px;white-space:nowrap}
.mine-find-button:hover{border-color:#c6c6d0;background:#fcfcfd}
.mine-find-button .icon{width:17px;height:17px}
.letter-finder{max-width:460px;max-height:calc(100dvh - 32px);overflow:auto}
.letter-finder h2{margin:0 32px 8px 0;font-size:23px;line-height:1.5;letter-spacing:-.5px}
.letter-finder #login-description{margin:0 0 24px;font-size:14px;line-height:1.8;word-break:keep-all}
.letter-finder-tabs{display:flex;gap:4px;padding:4px;margin-bottom:24px;border-radius:13px;background:#f3f3f6}
.letter-finder-tabs button{flex:1;min-width:0;border:0;border-radius:10px;min-height:42px;padding:9px 8px;background:transparent;color:#81818c;font-size:13px}
.letter-finder-tabs button[aria-selected=true]{background:white;color:#252527;font-weight:700;box-shadow:0 1px 5px #2525380c}
.letter-finder label{display:block;margin:0 0 8px;font-size:13px;color:#55555e}
.letter-finder input{width:100%;min-width:0;margin:0;padding:13px 14px;border:1px solid #e4e4eb;border-radius:12px;background:#fff;font-size:16px}
.letter-finder #request-code{width:100%;margin:14px 0 0;border-radius:24px;min-height:46px;font-size:14px}
.letter-finder .small{font-size:13px;line-height:1.8;margin:16px 0 0;word-break:keep-all}
.letter-finder .error:empty{display:none}
.letter-finder .order-lookup{margin:0}
.letter-finder .order-lookup-fields{display:block}
.letter-finder .order-lookup-fields button{width:100%;margin:14px 0 0;border-radius:24px;min-height:46px;font-size:14px}
.header-icon{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#575761;flex-shrink:0}
.header-icon[hidden]{display:none}
.header-icon:hover{background:#f1f1f5}
.header-icon svg{width:22px;height:22px}
.notification-dot{position:absolute;width:7px;height:7px;border:2px solid white;box-sizing:content-box;border-radius:50%;background:#f47730;right:5px;top:4px}
.home-intro{display:flex;align-items:center;justify-content:flex-end;gap:16px}
.home-intro .home-send-button{width:auto;min-height:44px;padding:10px 22px;font-size:14px;gap:12px;flex-shrink:0;margin:0}
.creator-search-form{display:flex;align-items:center;gap:12px;padding:7px 10px 7px 18px;border:1px solid #e4e4eb;border-radius:30px;background:white;box-sizing:border-box}
.creator-search-form:focus-within{border-color:#f6a24a;box-shadow:0 0 0 3px #ff9c3010}
.creator-search-form>.icon{width:21px;height:21px;color:#888893;flex-shrink:0}
.creator-search-form input{flex:1;min-width:0;width:0;border:0;background:none;padding:8px 0;margin:0;font-size:16px;outline:none;box-shadow:none}
.creator-search-form button{border:0;border-radius:24px;min-height:40px;padding:8px 18px;background:#f4f4f7;color:#555561;font-size:14px;cursor:pointer;flex-shrink:0}
.home-creator-search{margin:-4px 0 24px;max-width:640px}
.creator-search-page,.notifications-page{max-width:760px;margin:10px auto 40px;min-height:55vh}
.community-heading{margin:0 0 28px}
.community-heading h1{font-size:28px;letter-spacing:-.7px;line-height:1.45;margin:0 0 10px}
.community-heading p{margin:0;font-size:14px;line-height:1.8;color:#868691;word-break:keep-all}
.search-result-status{font-size:13px;color:#92929d;line-height:1.8;margin:20px 0}
.search-result-status:empty{margin:12px 0}
.creator-results{display:grid;gap:0}
.creator-result{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;border-bottom:1px solid #eaeaf0}
.creator-result-profile{display:flex;align-items:center;gap:16px;min-width:0;flex:1;text-decoration:none}
.creator-result-profile .avatar{height:56px;width:56px;flex:0 0 56px}
.creator-result-profile>div{min-width:0}
.creator-result-profile strong{display:flex;align-items:center;gap:5px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.creator-result-profile .verified-icon{flex-shrink:0;width:14px;height:14px}
.creator-result-profile span{display:block;font-size:12px;line-height:1.6;color:#8c8c97;overflow-wrap:anywhere}
.creator-result-profile p{margin:4px 0 0;font-size:12px;line-height:1.6;color:#777783;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.creator-send-link{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #ffdcb1;border-radius:24px;color:#d47f22;text-decoration:none;font-size:12px;white-space:nowrap;min-height:40px;box-sizing:border-box;flex-shrink:0}
.creator-send-link .icon{width:15px;height:15px}
.creator-rest{font-size:12px;color:#9898a1;flex-shrink:0}
.notification-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #e8e8ef}
.notification-controls select{border:1px solid #e4e4ec;background:white;border-radius:20px;padding:9px 30px 9px 14px;font:inherit;font-size:13px;color:#555560}
.notification-controls .text-button{font-size:12px;color:#81818d}
.notification-list{display:grid;gap:10px}
.notification-row{display:flex;align-items:flex-start;gap:8px;padding:18px;border:1px solid #ededf2;border-radius:16px;background:#fff}
.notification-row.is-unread{border-color:#f9dfbc;background:#fffcf7}
.notification-content{display:flex;align-items:flex-start;gap:14px;flex:1;min-width:0;padding:0;border:0;background:none;text-align:left;cursor:pointer;font:inherit;color:inherit}
.notification-type-icon{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#f3f3f7;color:#8c8c99}
.is-unread .notification-type-icon{background:#fff0d8;color:#e29a37}
.notification-type-icon .icon{width:19px;height:19px}
.notification-copy{display:block;flex:1;min-width:0}
.notification-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;color:#90909d;font-size:11px;line-height:1.6;margin:0 0 5px}
.notification-copy>strong{display:block;font-size:14px;line-height:1.7;font-weight:500;overflow-wrap:anywhere}
.notification-message{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.75;color:#878793;margin-top:4px;white-space:pre-line;overflow-wrap:anywhere}
.notification-row.is-expanded .notification-message{display:block}
.notification-copy>small{display:block;color:#aaaab2;margin-top:7px;font-size:11px}
.notification-new{color:#dc8f27}
.notification-archive{padding:4px 6px;min-height:36px;background:none;border:0;white-space:nowrap;font-size:11px;color:#9696a1;cursor:pointer}
@media(max-width:640px){
 .header-tools,.header-shortcuts{gap:4px}.header-tools .header-account{max-width:128px}.header-icon{width:34px;height:36px}.header-icon svg{width:20px;height:20px}
 .header-tools #account-button{padding:7px 10px;font-size:11px}.site-header .brand img{width:120px}
 .home-intro .home-send-button{font-size:12px;padding:9px 14px;min-height:40px;gap:6px}.home-send-button .icon{width:15px;height:15px}
 .home-creator-search{margin:0 0 20px}.creator-search-form{gap:8px;padding-left:14px}.creator-search-form button{padding:8px 13px}
 .creator-search-page,.notifications-page{margin-top:4px}.community-heading{margin-bottom:22px}.community-heading h1{font-size:23px}.community-heading p{font-size:13px}
 .creator-result{gap:10px;padding:18px 0}.creator-result-profile{gap:10px}.creator-result-profile .avatar{width:44px;height:44px;flex-basis:44px}.creator-result-profile strong{font-size:14px}.creator-result-profile p{max-width:170px}
 .creator-send-link{padding:8px 10px;font-size:11px;gap:4px}.creator-rest{font-size:11px}
 .notification-row{padding:14px 12px;gap:4px}.notification-content{gap:10px}.notification-type-icon{width:32px;height:32px;flex-basis:32px}.notification-copy>strong{font-size:13px}.notification-message{font-size:12px}
}
@media(max-width:360px){
 .site-header{padding:0 16px}
 .header-tools .account-user-icon{display:none}
}
@media(max-width:980px){.mine-letters{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
 .header-login{min-height:40px;padding:8px 12px;font-size:13px}
 .mine-heading .mine-find-button{min-height:40px;padding:8px 14px;font-size:12px;margin-top:4px}
 .letter-finder h2{font-size:21px}
 .letter-finder #login-description{font-size:13px}
}
@media(max-width:760px){
  body[data-page=mine] #app{padding:28px 20px 48px}
  body[data-page=mine] .site-footer{width:calc(100% - 40px)}
  .mine-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:22px}
  .mine-heading h1{font-size:25px;margin-bottom:7px}
  .mine-heading p{font-size:13px}
  .mine-account{padding:18px 0;margin-bottom:18px;gap:12px}
  .mine-account-guest{gap:10px}
  .mine-account-guest .avatar{width:34px;height:34px;flex-basis:34px}
  .mine-account-guest strong{font-size:12px}
  .mine-account-guest p{font-size:11px}
  .mine-account-action{padding:6px 11px}
  .mine-collection{border-radius:16px}
  .mine-collection-heading{padding:14px 18px;align-items:flex-start;flex-direction:column;gap:4px}
  .mine-collection-heading h2{font-size:15px}
  .mine-collection-heading>a{font-size:11px;min-height:32px}
  .mine-empty{padding:32px 20px 36px}
  .mine-empty>img{width:148px;margin-bottom:22px}
  .mine-empty h2{font-size:18px}
  .mine-empty p{font-size:12px}
  .mine-empty .primary-button{min-width:0;width:100%;max-width:240px;font-size:13px}
  .mine-letters{padding:12px;gap:10px}
  .mine-letter{padding:12px;gap:12px}
  .mine-letter-photo{width:62px;height:82px;flex-basis:62px}
  .mine-letter h3{font-size:13px;margin-bottom:8px}
  .mine-letter-recipient{font-size:11px}
  .mine-letter-arrow{display:none}
}
body[data-page=home] #app{max-width:1224px}
body[data-page=home] #app{padding-top:36px}
.home-intro{margin:0 0 24px}
.home-intro h1{font-size:28px;letter-spacing:-.35px;margin:0;line-height:1.5}
.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.home-section-heading h2{font-size:19px;line-height:1.5;margin:0;letter-spacing:-.3px}
.home-section-heading>span{font-size:12px;color:#8e8e98;flex-shrink:0}
.home-section-heading p{font-size:14px;color:var(--muted);line-height:1.7;margin:6px 0 0}
.home-feed .letters-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
.home-feed .letter-link{display:block;aspect-ratio:1/1;border:0;border-radius:0;overflow:hidden;box-shadow:none;transition:none;text-decoration:none}
.home-feed .letter-link:hover{transform:none;box-shadow:none}
.home-feed .letter-link:focus-visible{outline-offset:-3px}
.home-feed .letter-home{aspect-ratio:1/1;width:100%;height:100%;border-radius:0}
.home-letter-copy{position:absolute;left:16px;right:16px;bottom:16px;color:white;text-shadow:0 1px 3px #0007}
.home-letter-title{margin:0 0 10px;font-size:17px;font-weight:600;line-height:1.6;letter-spacing:0;word-break:keep-all;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-letter-recipient{display:flex;align-items:center;gap:0;min-width:0;font-size:13px;line-height:1.5;font-weight:400}
.home-letter-recipient .avatar{width:24px;height:24px;flex:0 0 24px;margin-right:7px;border:1.5px solid white}
.home-recipient-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-recipient-prefix{flex:none;margin-right:7px;font-size:12px;font-weight:400;opacity:.85}
.home-reply-badge{display:table;max-width:100%;margin:-3px 0 9px;padding:3px 7px;border-radius:6px;background:#20202799;color:white;font-size:12px;font-weight:400;line-height:1.5;white-space:nowrap;text-shadow:none}
.home-media-mark{position:absolute;top:12px;right:12px;display:block}
.home-media-mark .multi-photo-icon{display:block;width:28px;height:28px}
.letter-home.media-unavailable .home-letter-copy{color:#55555f;text-shadow:none}
.home-status{color:#92929b;text-align:center;font-size:13px;line-height:1.8;margin:24px 0}
.home-status:empty{display:none}
.home-mine{margin-top:52px;border-top:1px solid #e7e7ed;padding-top:30px}
.home-history-link{display:flex;gap:6px;align-items:center;font-size:12px;color:#85858e;text-decoration:none;white-space:nowrap;min-height:40px}
.home-history-link .icon{width:17px;height:17px}
.home-mine-empty{background:#fff;border:1px solid #e9e9ef;border-radius:16px;padding:24px;display:flex;align-items:center;gap:16px}
.home-empty-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#fff4e6;color:#e99937}
.home-empty-icon .icon{width:22px;height:22px}
.home-mine-empty strong{font-size:14px;font-weight:500}
.home-mine-empty p{font-size:13px;color:#9999a2;margin:4px 0 0;line-height:1.7}
.home-login{border:1px solid #e4e4eb;background:#fff;border-radius:22px;padding:9px 15px;color:#64646e;font-size:12px;white-space:nowrap;margin-left:auto}
.home-mine .my-order{background:#fff;border:1px solid #e9e9ef;border-radius:14px;padding:16px;margin:10px 0}
@media(max-width:760px){
  body[data-page=home]{background:#fff}
  body[data-page=home] #app{padding:22px 20px 60px}
  .home-intro{margin-bottom:20px}
  .home-intro h1{font-size:22px;letter-spacing:-.35px}
  .home-section-heading{gap:10px;margin-bottom:16px}
  .home-section-heading h2{font-size:17px}
  .home-section-heading>span{font-size:10px}
  .home-feed .letters-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin-inline:-20px}
  .home-letter-copy{left:10px;right:10px;bottom:10px}
  .home-letter-title{font-size:14px;line-height:1.6;letter-spacing:0;margin-bottom:7px}
  .home-letter-recipient{font-size:12px;line-height:1.5}
  .home-letter-recipient .avatar{width:22px;height:22px;flex-basis:22px;margin-right:6px}
  .home-reply-badge{margin:-2px 0 7px;font-size:12px;padding:2px 6px}
  .home-media-mark{top:8px;right:8px}
  .home-media-mark .multi-photo-icon{width:24px;height:24px}
  .home-mine{margin-top:36px;padding-top:25px}
  .home-mine .home-section-heading{align-items:flex-start}
  .home-mine-empty{padding:20px;flex-wrap:wrap;gap:12px}
  .home-mine-empty>div{flex:1;min-width:150px}
  .home-login{margin:2px 0 0 56px}
}
/* Personal letters lead the home; public discovery keeps its compact square grid. */
body[data-page=home]{background:#fff}
.home-personal{margin:32px 0 48px}
.home-personal h1{font-size:26px;letter-spacing:-.35px;margin:0;line-height:1.5}
.home-personal .home-section-heading{align-items:center}
.home-personal #home-personal-description{font-size:13px;color:var(--muted);line-height:1.7}
.personal-tabs{display:flex;gap:24px;margin:-2px 0 18px;border-bottom:1px solid var(--line)}
.personal-tabs button{position:relative;border:0;background:none;padding:10px 0 12px;color:#95959e;font-size:14px;font-weight:500;min-height:44px}
.personal-tabs button[aria-selected=true]{color:var(--text);font-weight:600}
.personal-tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--primary)}
.home-feed .home-section-heading h2{font-size:24px;letter-spacing:-.3px}
.personal-carousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 0}
.personal-carousel::-webkit-scrollbar{display:none}
.personal-letter-card{display:block;flex:0 0 348px;min-width:0;scroll-snap-align:start;text-decoration:none;border-radius:18px;overflow:hidden;position:relative}
.personal-letter-card:focus-visible{outline-offset:-4px}
.personal-letter-media{width:100%;aspect-ratio:1!important;height:auto!important;position:relative;overflow:hidden;border-radius:18px;background:#f1f1f4}
.personal-letter-media .letter-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.personal-letter-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0002 0%,transparent 30%,#0001 45%,#000b 100%);pointer-events:none}
.personal-letter-top{position:absolute;inset:16px 16px auto;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#fff}
.personal-letter-kind,.personal-media-count{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.4;padding:5px 9px;border-radius:7px;background:#20202770;backdrop-filter:blur(8px)}
.personal-reply-arrival{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;line-height:18px;font-weight:700;color:#fff;padding:7px 11px;border-radius:20px;background:linear-gradient(110deg,#ffb653,#ff6b32);box-shadow:0 2px 12px #c0581726}
.personal-reply-arrival>span{font-size:16px;line-height:18px}
.personal-unread{width:6px;height:6px;border-radius:50%;background:#ffae39;flex:none}
.personal-letter-copy{position:absolute;bottom:24px;left:24px;right:24px;color:white}
.personal-letter-person{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:12px;font-size:13px}
.personal-letter-person .avatar{width:28px;height:28px;border:1px solid #ffffff90}
.personal-letter-person strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.personal-guest,.personal-to{font-size:11px;opacity:.85;white-space:nowrap}
.personal-letter-copy h3{font-size:21px;font-weight:600;line-height:1.5;letter-spacing:-.3px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all}
.personal-original-title{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.8;margin:10px 0 0}
.personal-letter-media.media-unavailable .personal-letter-shade{background:linear-gradient(145deg,#eeeef3,#e2e2e9)}
.personal-letter-media.media-unavailable .personal-letter-copy{color:#34343b}
.personal-letter-media .media-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#aaaab4;z-index:1;pointer-events:none}
.personal-letter-media .media-placeholder .icon{width:40px;height:40px}
.personal-letter-top,.personal-letter-copy{z-index:2}
.personal-carousel-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}
.personal-carousel-controls{display:flex;gap:8px}
.personal-carousel-controls button{background:#fff;border:1px solid #e4e4ea;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;color:#64646e}
.personal-carousel-controls button:disabled{opacity:.3}
.personal-carousel-controls .icon{width:17px;height:17px}
.home-personal-empty{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#8c8c96;font-size:13px;line-height:1.8}
.home-personal-empty .home-login{background:none;border:0;padding:0;margin:0;font-size:12px}
@media(max-width:1100px) and (min-width:761px){.personal-letter-card{flex-basis:320px}}
@media(max-width:760px){
  .home-intro{justify-content:flex-end;margin-bottom:16px}
  .home-personal{margin:28px 0 32px}
  .home-personal h1{font-size:22px}
  .home-feed .home-section-heading h2{font-size:21px}
  .home-section-heading p{font-size:14px;margin-top:4px}
  .personal-carousel{margin-inline:-20px;padding:3px 20px;scroll-padding-inline:20px;gap:12px}
  .personal-letter-card{flex-basis:82vw;max-width:360px;border-radius:16px}
  .personal-letter-media{border-radius:16px}
  .personal-letter-copy{left:20px;right:20px;bottom:20px}
  .personal-letter-copy h3{font-size:20px}
  .personal-carousel-controls{display:none}
  .home-personal-empty{flex-wrap:wrap;gap:6px;padding:16px 0}
  .home-personal-empty .text-button{min-height:36px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation-duration:0.001ms!important;animation-iteration-count:1!important}}

/* Account linking follows the existing compact account and checkout surfaces. */
/* A single home toolbar keeps the letters close to the site header. */
body[data-page=home] #app{padding-top:16px}
.home-intro.home-toolbar{justify-content:space-between;gap:12px;margin:0 0 22px}
.home-toolbar .home-creator-search{margin:0;max-width:none;flex:1;min-width:0}
.home-toolbar .home-send-button{min-height:44px;white-space:nowrap}
.home-toolbar+.home-personal{margin-top:0}
.home-action-card{position:relative;min-width:0}
.personal-action-card{flex:0 0 348px;min-width:0;scroll-snap-align:start}
.personal-action-card>.personal-letter-card{width:100%;max-width:none}
.home-card-menu{position:absolute;top:12px;right:12px;z-index:3;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#20202770;backdrop-filter:blur(8px);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.home-action-card .personal-letter-top{right:56px;min-height:28px;align-items:center}
.home-action-card img{-webkit-touch-callout:none;user-select:none;-webkit-user-drag:none}
.home-action-card>a{-webkit-touch-callout:none;user-select:none}
.home-action-dialog{box-sizing:border-box;width:min(420px,calc(100% - 32px));padding:24px;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--text);max-height:85svh;overflow:auto}
.home-action-dialog::backdrop{background:#14141b66}
.home-action-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.home-action-heading h2{font-size:20px;line-height:1.5;margin:0}
.home-action-close{border:0;background:transparent;font-size:26px;color:#73737e;width:36px;height:36px;flex:none;padding:0}
.home-action-dialog p{font-size:14px;line-height:1.8;color:#777781;margin:16px 0}
.home-action-dialog .home-menu-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-menu-options{display:grid;margin-top:12px}
.home-menu-options>button{border:0;border-top:1px solid var(--line);background:white;padding:17px 0;text-align:left;font-size:15px;min-height:52px;color:var(--text)}
.home-menu-options>button[data-action^=report]{color:#a85443}
.home-action-dialog .primary-button{width:100%;box-sizing:border-box;margin:18px 0 0;min-height:48px;font-size:14px}
.home-action-dialog .home-action-error{color:#b44830;margin-bottom:0}
.home-action-error:empty{display:none}
.home-report-form fieldset{border:0;padding:0;margin:20px 0}
.home-report-form legend{font-weight:600;margin-bottom:10px}
.home-report-form fieldset label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px}
.home-report-form input{accent-color:var(--primary);width:18px;height:18px;margin:0}
.home-report-form>label{font-size:13px}
.home-report-form textarea{box-sizing:border-box;width:100%;font:inherit;font-size:14px;border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:10px;resize:vertical}
.home-selection-bar{display:flex;align-items:center;gap:12px;padding:10px 0 18px;flex-wrap:wrap}
.home-selection-bar strong{margin-right:auto;font-size:14px}
.home-selection-bar button{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:20px;padding:9px 14px;font-size:13px;min-height:40px}
.home-selection-bar [data-hide]{background:var(--primary);border-color:var(--primary);color:#fff}
.home-selectable:after{content:'✓';position:absolute;z-index:4;top:14px;right:14px;width:26px;height:26px;border:2px solid white;border-radius:50%;display:grid;place-items:center;color:transparent;background:#30303855;pointer-events:none}
.home-selected:after{background:var(--primary);color:#fff}
.home-selected>a{outline:3px solid var(--primary);outline-offset:-3px}
.home-selecting .home-card-menu{display:none}
@media(min-width:761px) and (max-width:1100px){.personal-action-card{flex-basis:320px}}
@media(max-width:760px){
  body[data-page=home] #app{padding-top:12px}
  .home-intro.home-toolbar{gap:8px;margin-bottom:20px}
  .home-toolbar .home-creator-search{height:42px;gap:6px;padding:0 8px 0 12px}
  .home-toolbar .home-creator-search>svg{width:17px;flex:none}
  .home-toolbar .home-creator-search input{font-size:14px;min-width:0;padding:0;width:100%}
  .home-toolbar .home-creator-search button{font-size:13px;min-height:32px;padding:0 8px;flex:none}
  .home-toolbar .home-send-button{min-height:42px;padding:0 14px;font-size:12px;gap:5px}
  .home-toolbar .home-send-button .icon{width:14px}
  .personal-action-card{flex-basis:82vw;max-width:360px}
  .home-action-dialog{margin:auto 0 0;width:100%;max-width:none;border-radius:24px 24px 0 0;padding:22px 24px max(24px,env(safe-area-inset-bottom));max-height:85svh}
}
@media(max-width:360px){.home-toolbar .home-send-button{padding-inline:10px}.home-toolbar .home-send-button .icon{display:none}.home-toolbar .home-creator-search>svg{display:none}}

.link-page{max-width:560px;margin:24px auto 72px}.link-page h1{font-size:30px;line-height:1.45;letter-spacing:-1px}.link-back{margin-bottom:28px}.link-intro{color:#777781;font-size:15px;line-height:1.8;margin:12px 0 28px}.link-card{border:1px solid #e9e9ed;background:#fff;border-radius:22px;padding:28px}.link-profile{display:flex;align-items:center;gap:16px;padding:0 0 24px}.link-profile img{width:60px;height:60px;border-radius:50%;object-fit:cover}.link-profile>div{min-width:0;display:grid;gap:4px}.link-profile strong{font-size:20px;overflow-wrap:anywhere}.link-summary{background:#f7f7f9;border-radius:14px;padding:20px;overflow-wrap:anywhere}.link-summary p{margin:4px 0 12px}.link-letter{border-top:1px solid #e6e6eb;padding-top:14px;margin-top:14px;display:grid;gap:5px}.link-letter strong{font-size:14px;font-weight:500;line-height:1.7}.link-note{color:#777781;font-size:13px;line-height:1.85;margin:22px 0}.link-current{display:grid;gap:5px;margin-bottom:28px;padding-bottom:22px;border-bottom:1px solid #eeeef2}.link-current strong{font-size:19px}.link-card label{display:block;font-weight:500;font-size:14px;margin:20px 0 10px}.link-card input{width:100%;border:1px solid #dddde5;border-radius:12px;background:white;padding:16px;font:inherit;box-sizing:border-box}.link-card input:disabled{background:#f7f7f9;color:#777781}.link-card .primary-button{width:100%;margin-top:24px;box-sizing:border-box;text-align:center}.link-reset{display:block;margin:14px auto 0}.link-card .error-text{color:#b44830;font-size:13px;line-height:1.7}.link-page .eyebrow{margin-bottom:10px}
@media(max-width:600px){.link-page{margin:8px auto 48px}.link-page h1{font-size:25px}.link-card{padding:22px 18px;border-radius:18px}.link-summary{padding:16px}.link-intro{font-size:14px}}

.account-panel .account-logout{width:100%;border:0;border-top:1px solid var(--line);border-radius:0 0 11px 11px;margin-top:6px;padding-top:14px;background:transparent;text-align:left;cursor:pointer}

/* Both controls use the existing video mark's 28px canvas and 26px circle. */
.letter-home,.letter-grid,.personal-letter-media{--preview-control-inset:12px;--preview-control-right:var(--preview-control-inset)}
.letter-view .preview-video-mark{position:absolute;top:var(--preview-control-inset);right:var(--preview-control-right);width:28px;height:28px;z-index:3;display:block}
.letter-view .preview-video-mark .multi-photo-icon{display:block;width:28px;height:28px}
.letter-home .grid-video-sound,.personal-letter-media .grid-video-sound,.letter-grid .grid-video-sound{position:absolute;top:calc(var(--preview-control-inset) + 34px);right:var(--preview-control-right);width:28px;height:28px;min-width:28px;min-height:28px;aspect-ratio:1;box-sizing:border-box;border:0;border-radius:50%;background:transparent;z-index:4;display:grid;place-items:center;padding:0;cursor:pointer;backdrop-filter:none;-webkit-backdrop-filter:none}
.grid-video-sound svg{position:relative;width:20px;height:20px}
.home-action-card .personal-letter-media{--preview-control-right:54px}
.home-action-card:has(.preview-video-mark) .personal-letter-top{right:88px}
.letter-grid .grid-media-badges{--media-badge-size:28px;position:absolute;z-index:3;top:var(--preview-control-inset);right:var(--preview-control-right);display:flex;align-items:center;gap:6px}
/* Both SVGs own the same 26/28 circle; do not add a second CSS background. */
.profile-letters .letter-grid .grid-media-badges .grid-private-label,.letter-grid .grid-media-badges .grid-private-label,.letter-grid .grid-media-badges .preview-video-mark,.letter-grid .grid-media-badges .grid-photo-mark{position:static;display:block;width:var(--media-badge-size);height:var(--media-badge-size);flex:none;background:none}
.letter-grid .grid-media-badges .multi-photo-icon{width:var(--media-badge-size);height:var(--media-badge-size)}
@media(max-width:760px){
  .letter-home,.letter-grid{--preview-control-inset:8px}
}

.writer-tags{margin:10px 0 24px}.writer-tags summary{cursor:pointer;font-size:13px;color:#5c5c66;padding:8px 0}.writer-tags summary span{font-size:11px;color:#93939d;margin-left:5px}
.hashtag-editor{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:54px;margin-top:8px;padding:7px 9px;border:1px solid #e3e3e8;border-radius:12px;background:#fff;cursor:text}
.hashtag-editor:focus-within{border-color:#ffa347;box-shadow:0 0 0 3px #ff990014}
#letter-tag-chips{display:contents}
.hashtag-chip{display:inline-flex;align-items:center;max-width:100%;padding:0 2px 0 11px;min-height:36px;gap:3px;border:1px solid #e7e7ec;border-radius:20px;background:#f7f7f9;font-size:14px;color:#45454e}
.hashtag-chip>span{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.hashtag-chip button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#90909a}
.hashtag-chip button:hover{color:#45454e;background:#eaeaf0}
.hashtag-chip button .icon{width:14px;height:14px}
.hashtag-editor input[type=text]{flex:1 1 116px;width:auto;min-width:80px;max-width:100%;height:36px;margin:0;padding:5px 6px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none}
.hashtag-message{margin:8px 0 0;font-size:12px;line-height:1.6;color:#b44b39}
.letter-hashtags{display:flex;gap:8px 14px;flex-wrap:wrap;margin:20px 0}.letter-hashtags a{color:#a2640c;font-size:14px;text-decoration:none}.letter-hashtags a:hover{text-decoration:underline}
/* Composition controls share the native app's frame; public detail keeps its own ratio. */
.letter-preview{aspect-ratio:18/37}
.photo-frame-edit{display:block;width:100%;border:0;background:transparent;color:#555660;font-size:12px;padding:9px 0 2px;white-space:nowrap}
.photo-frame-dialog{width:440px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px 24px;border:1px solid #e6e6eb;border-radius:22px;overflow:auto;background:#fff;color:#25252b}
.photo-frame-dialog::backdrop{background:#15151b88}
.photo-frame-dialog header{display:flex;align-items:center;justify-content:space-between}
.photo-frame-dialog h2{font-size:18px;margin:0}
.photo-frame-dialog [data-close]{border:0;background:none;font-size:28px;width:36px;height:36px;color:#777}
.photo-frame-hint,.photo-frame-help{font-size:13px;color:#74747e;line-height:1.6;margin:8px 0 14px}
.photo-frame-stage{width:min(220px,calc((100dvh - 320px) * 18 / 37));min-width:120px;aspect-ratio:18/37;position:relative;overflow:hidden;margin:0 auto;border-radius:14px;background:#f4f4f6;touch-action:none;cursor:grab}
.photo-frame-stage:active{cursor:grabbing}
.photo-frame-stage img{position:absolute;max-width:none;pointer-events:none;user-select:none}
.photo-frame-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent calc(100% / 3 - .5px),#fff6 calc(100% / 3),transparent calc(100% / 3 + .5px),transparent calc(200% / 3 - .5px),#fff6 calc(200% / 3),transparent calc(200% / 3 + .5px)),linear-gradient(transparent calc(100% / 3 - .5px),#fff6 calc(100% / 3),transparent calc(100% / 3 + .5px),transparent calc(200% / 3 - .5px),#fff6 calc(200% / 3),transparent calc(200% / 3 + .5px))}
.photo-frame-zoom{display:flex;align-items:center;gap:12px;margin:14px 0}
.photo-frame-zoom input{width:0;min-width:0;flex:1;accent-color:#292a30;padding:0;height:24px}
.photo-frame-zoom button{background:none;border:0;color:#696973;font-size:12px;white-space:nowrap}
.photo-frame-permission{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px}
.photo-frame-permission label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:500}
.photo-frame-permission input{width:16px;height:16px;padding:0;margin:0;accent-color:#292a30}
.photo-frame-permission button{border:0;background:none;font-size:17px;color:#82828b;width:32px;height:32px}
.photo-frame-save,.self-send-confirm,.link-neutral-button{width:100%;padding:14px 20px;min-height:48px;border:0;border-radius:12px;background:#292a30;color:#fff;font-size:14px;font-weight:600;margin-top:12px;display:block;text-align:center}
.photo-frame-dialog .error:empty{display:none}
.photo-frame-save:disabled{opacity:.5}
.link-connected-state{display:flex;align-items:center;gap:8px;color:#19825b;font-size:14px;margin-bottom:12px}
.link-connected-state:before{content:'✓';display:grid;place-items:center;border-radius:50%;width:24px;height:24px;background:#e8f5ee}
.link-connected-email{overflow-wrap:anywhere;font-weight:600;font-size:16px}
.link-card .link-disconnect{display:block;margin:20px auto 0;color:#777780;font-size:13px}
@media(max-width:400px){.sender-email-entry{gap:6px}.sender-email-entry button{padding:12px 10px}.photo-frame-dialog{padding:16px}}
.thumbs .thumb-wrap .num{top:6px;bottom:auto;left:6px;pointer-events:none}

/* Keep the dialog wide; fit the photo's height to the available screen instead of shrinking its width. */
.preview-dialog{width:420px;max-width:calc(100vw - 24px);max-height:calc(100svh - 24px);overflow:hidden}
.preview-viewport{width:100%;aspect-ratio:3/4;max-height:calc(100svh - 182px);margin:0}
.preview-dialog-heading{padding:14px 46px 14px 16px;line-height:20px}
.preview-controls{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;padding:6px 12px}
.preview-controls [data-prev]{justify-self:end}
.preview-controls [data-next]{justify-self:start}
.preview-controls [data-position]{min-width:48px}
.preview-controls button{min-height:36px;padding:6px 10px}
.preview-options{gap:6px;padding:8px 8px 12px}
.preview-options button{font-size:11px;min-height:36px;padding:7px 9px;white-space:nowrap}
.preview-dialog .letter-top>.image-count{display:none}
.preview-instructions{display:none}
.record-preview-button{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px auto 0;padding:11px 18px;border:1px solid var(--line);border-radius:999px;background:white;color:var(--text);font-size:13px}
.record-preview-button .icon{width:17px;height:17px}
html:has(#preview-dialog[open]){overflow:hidden;scrollbar-gutter:auto}

/* Shared page feedback and pre-action guidance. */
.page-feedback{max-width:640px;margin:clamp(36px,8vh,96px) auto;padding:clamp(24px,5vw,48px);text-align:center;background:#fff;border:1px solid var(--line,#e8e8ed);border-radius:24px}
.page-feedback-code{font-size:14px;font-weight:600;color:#a06b16;letter-spacing:.08em;margin:0 0 16px}
.page-feedback h1{font-size:clamp(22px,4vw,30px);line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;margin:0 0 16px}
.page-feedback-description,.page-feedback-help{color:#666872;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}
.page-feedback-description{font-size:15px;margin:0}.page-feedback-help{font-size:13px;margin:24px 0 4px}
.page-feedback-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:28px}.page-feedback-actions>a{display:flex;align-items:center;justify-content:center;flex:1;min-width:145px;min-height:54px;width:auto;max-width:100%;margin:0;border-radius:30px;text-decoration:none}
.guest-intro-send{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-top:18px}.guest-intro-send>a{padding:10px 18px;min-height:40px;font-size:13px;text-decoration:none;gap:10px}
.app-only-badge{display:inline-block;flex:none;padding:2px 6px;border-radius:5px;background:#f0f0f4;color:#62646d;font-size:10px;line-height:1.6;white-space:nowrap;font-weight:500}
.login-method-guide{margin:18px 0 0;padding:14px 16px;background:#f7f7f9;border-radius:12px}
.login-method-guide p{margin:0;font-size:12px;line-height:1.7}.login-method-guide p+p{margin-top:12px}.login-method-guide strong,.login-method-guide span{display:block}.login-method-guide span{margin-top:3px;color:#666872}
@media(max-width:600px){.page-feedback{border-radius:18px;padding:28px 18px}.page-feedback-actions{flex-direction:column}.page-feedback-actions>a{width:100%}.guest-intro-send{gap:10px}}

.guest-intro-send>.secondary-button{display:inline-flex;width:auto;flex:none;margin:0}

/* Sending and receiving share one account; make both starting points visible. */
.header-download{border:1px solid var(--line);background:#fff;border-radius:24px;padding:8px 13px;min-height:40px;white-space:nowrap;font-size:13px;color:var(--text);flex:none}
.download-mobile{display:none}
.guest-intro-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.guest-path{display:flex;flex-direction:column;align-items:stretch;min-width:0;margin:0;padding:18px;border:1px solid transparent;border-radius:18px;text-align:left;text-decoration:none;color:#332b20;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.guest-path-send{background:linear-gradient(125deg,#ffe183 0%,#ffc240 56%,#ffb12b 100%);border-color:#f6c659;box-shadow:0 5px 16px #f5ac1914}
.guest-path-receive{background:linear-gradient(135deg,#fffdf8,#f7f5f0);border-color:#e9e5dc;color:#343333}
.guest-path-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.guest-path-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#ffffff80;color:#624510}
.guest-path-icon svg{width:23px;height:23px}
.guest-path-receive .guest-path-icon{background:#fff0d1;color:#9c681b}
.guest-path-arrow{width:20px;height:20px;opacity:.7;transition:transform .2s ease}
.guest-path strong{font-size:17px;line-height:1.5;letter-spacing:-.35px;font-weight:700;word-break:keep-all}
.guest-path-note{display:block;margin-top:7px;font-size:13px;line-height:1.7;letter-spacing:-.15px;color:#624d2b;word-break:keep-all}
.guest-path-receive .guest-path-note{color:#76716a}
@media(hover:hover){.guest-path:hover{transform:translateY(-2px);box-shadow:0 8px 20px #362c1810}.guest-path:hover .guest-path-arrow{transform:translateX(3px)}.guest-path-receive:hover{border-color:#d5c9b2}}
.guest-path:active{transform:translateY(0);box-shadow:none}
@media(prefers-reduced-motion:reduce){.guest-path,.guest-path-arrow{transition:none}.guest-path:hover,.guest-path:hover .guest-path-arrow{transform:none}}
@media(min-width:761px) and (max-width:1000px){.guest-intro{gap:24px;padding-inline:24px}.guest-intro h1{font-size:26px}.guest-path{padding:16px 13px}.guest-path strong{font-size:16px}.guest-path-note{font-size:11.5px}}
.login-creator-start{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;font-size:13px}
.login-creator-start p{margin:4px 0 8px;color:var(--muted)}
.login-creator-start>div{display:flex;flex-wrap:wrap;gap:4px 14px}
.login-creator-start .text-button{font-size:13px;min-height:40px;padding:4px 0}
.onboarding-dialog{max-width:620px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.onboarding-dialog h2{font-size:23px;line-height:1.5;margin:0 28px 12px 0}
.onboarding-dialog>.muted{font-size:14px;margin:0}
.onboarding-dialog .store-links{margin:16px 0 20px;gap:0}
.creator-start-steps{list-style:none;counter-reset:creator-step;margin:0;padding:0;display:grid;gap:20px}
.creator-start-steps li{counter-increment:creator-step;position:relative;padding-left:40px}
.creator-start-steps li::before{content:counter(creator-step);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff2df;color:#80501b;font-size:13px;font-weight:600}
.creator-start-steps strong{font-size:15px;line-height:28px}
.creator-start-steps p,.onboarding-note{font-size:13px;line-height:1.85;color:var(--muted);margin:4px 0 0;word-break:keep-all;overflow-wrap:anywhere}
.onboarding-note{padding-top:18px;margin-top:20px;border-top:1px solid var(--line)}
@media(max-width:600px){
 .download-desktop{display:none}.download-mobile{display:inline}
 .header-download{padding:6px 9px;font-size:12px}
 .site-header .brand img{width:92px}
 .header-tools .header-account{max-width:90px;flex-shrink:0}
 .guest-intro-paths{max-width:none;margin-top:20px;gap:10px}
 .guest-path{padding:16px 14px;border-radius:16px}
 .guest-path strong{font-size:16px}
 .guest-path-note{font-size:12px;letter-spacing:-.2px}
 .onboarding-dialog{padding:26px 20px}.onboarding-dialog h2{font-size:21px}
}
@media(max-width:360px){
 .guest-path{padding:14px 11px}.guest-path strong{font-size:15px}.guest-path-note{font-size:11px}
 .site-header{padding-inline:12px;gap:6px}.site-header .brand img{width:76px}
 .header-download{padding-inline:7px}.header-login{padding-inline:10px}
 .header-tools .header-account{max-width:66px}
}

/* Fanletter receiving guide: white surface with gold accents. */
html:has(.creator-guide-dialog[open]){overflow:hidden;scrollbar-gutter:auto}
.creator-guide-dialog{width:min(540px,calc(100% - 32px));max-width:none;max-height:min(860px,calc(100dvh - 40px));margin:auto;padding:0;border:1px solid #ffffff80;border-radius:28px;background:#fff;color:#292a2e;overflow:hidden;box-shadow:0 24px 100px #25221930}
.creator-guide-dialog[open]{display:flex;flex-direction:column;animation:guide-reveal .22s ease-out}
.creator-guide-dialog::backdrop{background:#27251e70;backdrop-filter:blur(5px)}
.creator-guide-topbar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 2px 24px}
.creator-guide-topbar>span{font-size:11px;font-weight:600;letter-spacing:.25px;color:#8a8c93}
.creator-guide-topbar i{font-style:normal;margin-inline:6px;color:#c4c6cd}
.creator-guide-close{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #e9eaee;border-radius:50%;background:#fff;color:#73767e;padding:0;transition:background .15s ease}
.creator-guide-close svg{width:22px;height:22px}
.creator-guide-close:hover{background:#f5f5f7}
.creator-guide-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d8d0c2 transparent;padding:0 28px 18px;scroll-padding:18px}
.creator-guide-body:focus-visible{outline:2px solid #dfb65d;outline-offset:-2px;border-radius:8px}
.creator-guide-hero{text-align:center;padding:0 6px 18px}
.creator-guide-symbol{display:grid;place-items:center;width:54px;height:54px;margin:0 auto;border:1px solid #f1cf7c;border-radius:18px;background:linear-gradient(140deg,#ffe9ac,#ffd363 62%,#ffc24b);color:#795116;box-shadow:0 5px 16px #daa12f16}
.creator-guide-symbol svg{width:29px;height:29px}
.creator-guide-hero h2{margin:14px 0 7px;font-size:25px;font-weight:700;line-height:1.45;letter-spacing:-.7px;word-break:keep-all}
.creator-guide-hero p{margin:0;font-size:13px;line-height:1.8;color:#7a7d86;word-break:keep-all}
.creator-guide-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.creator-guide-steps>li{display:flex;align-items:flex-start;gap:14px;padding:14px 18px;background:#fff;border:1px solid #e9eaee;border-radius:18px}
.guide-step-number{flex:none;display:grid;place-items:center;width:30px;height:30px;border:1px solid #f1e5c9;border-radius:10px;background:#fff8e8;color:#a27b30;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}
.guide-step-copy{min-width:0;flex:1}
.guide-step-copy h3{font-size:15px;font-weight:700;line-height:1.6;letter-spacing:-.25px;margin:1px 0 5px}
.guide-step-copy>p{font-size:13px;line-height:1.75;color:#72757e;margin:0;word-break:keep-all;overflow-wrap:anywhere}
.guide-step-copy>p strong{font-weight:500;color:#555861}
.guide-join-details{margin-top:4px}
.creator-guide-dialog summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;touch-action:manipulation}
.creator-guide-dialog summary::-webkit-details-marker{display:none}
.creator-guide-dialog summary:focus-visible{outline:2px solid #dbab46;outline-offset:3px;border-radius:6px}
.guide-join-details summary{justify-content:flex-start;gap:5px;font-size:11.5px;font-weight:500;color:#9b742e;width:fit-content}
.guide-chevron{width:16px;height:16px;flex:none;transition:transform .18s ease}
details[open]>summary>.guide-chevron{transform:rotate(180deg)}
.guide-join-content{border-top:1px solid #f1ece3;margin-top:3px;padding-top:9px}
.guide-join-content p{font-size:12px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere;color:#777167;margin:0}
.guide-join-content p+p{margin-top:9px}
.guide-join-content strong{font-weight:500;color:#514b41}
.guide-more-details{margin-top:10px;padding:2px 4px 0}
.guide-more-details>summary{font-size:12px;color:#8b8273;min-height:42px}
.guide-more-content{border-top:1px solid #eae4d9;padding:14px 10px 6px}
.guide-more-content h3{font-size:13px;margin:0 0 5px;font-weight:600;color:#5d5445}
.guide-more-content h3:not(:first-child){margin-top:16px}
.guide-more-content p{font-size:12px;margin:0;line-height:1.85;color:#81796e;word-break:keep-all;overflow-wrap:anywhere}
.guide-more-content strong{font-weight:500;color:#615849}
.creator-guide-footer{flex:none;text-align:center;border-top:1px solid #e9eaee;background:#fff;padding:14px 20px max(16px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #20232a04}
.guide-footer-title{font-size:12px;font-weight:600;margin:0;color:#555861}
.creator-guide-footer .store-links{margin:2px 0 0;gap:0;flex-wrap:nowrap}
.creator-guide-footer .store-links .store-badge{min-height:56px}
.guide-footer-note{font-size:10.5px;line-height:1.6;color:#8a8d96;margin:1px 0 0;word-break:keep-all}
@keyframes guide-reveal{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:600px){
  .creator-guide-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:24px}
  .creator-guide-topbar{padding:10px 10px 0 20px}
  .creator-guide-body{padding:0 18px 14px}
  .creator-guide-symbol{width:48px;height:48px;border-radius:16px}
  .creator-guide-symbol svg{width:26px;height:26px}
  .creator-guide-hero{padding-bottom:16px}
  .creator-guide-hero h2{font-size:23px;margin-top:12px;letter-spacing:-.6px}
  .creator-guide-hero p{font-size:13px}
  .creator-guide-steps>li{padding:14px;gap:12px;border-radius:16px}
  .guide-step-copy h3{font-size:15px}
  .guide-step-copy>p{font-size:13px}
  .guide-desktop-break{display:none}
  .creator-guide-footer{padding:12px 12px max(12px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){
  .creator-guide-body{padding-inline:14px}
  .creator-guide-hero h2{font-size:21px}
  .creator-guide-steps>li{padding:13px 11px;gap:9px}
  .guide-step-number{width:27px;height:27px;font-size:10px}
  .creator-guide-footer .apple-badge img{height:36px}
  .creator-guide-footer .play-badge img{height:46.875px}
  .creator-guide-footer .apple-badge{padding:8px}
}
@media(prefers-reduced-motion:reduce){.creator-guide-dialog[open]{animation:none}.creator-guide-close,.guide-chevron{transition:none}}
