/* An automatic merge story with a readable static end state when motion is unavailable. */
.inbox-feature{padding-block:92px}
.inbox-content .section-heading{margin-bottom:40px}
.inbox-merge-scene{position:relative;height:468px;isolation:isolate;--source-opacity:0;--merged-opacity:1;--merged-scale:1;--merged-y:0px;--before-opacity:0;--after-opacity:1}
.merge-state-copy{position:absolute;top:0;left:0;right:0;height:32px;text-align:center;font:400 14px/1.4 Geist,Arial,sans-serif;color:#69716c}
.merge-state-copy span{position:absolute;inset:0}.merge-before-label{opacity:var(--before-opacity)}.merge-after-label{opacity:var(--after-opacity)}
.separate-inboxes{position:absolute;inset:44px 0 0;display:flex;align-items:center;justify-content:center;gap:28px;pointer-events:none;opacity:var(--source-opacity);z-index:2}
.source-inbox{opacity:var(--card-opacity,1);width:30%;max-width:340px;flex:none;background:#fff;border:1px solid #e7ddef;border-radius:19px;box-shadow:0 20px 42px -23px #684c8155;overflow:hidden;transform:translate(var(--card-x,0px),var(--card-y,0px)) rotate(var(--card-r,0deg)) scale(var(--card-scale,1));will-change:transform,opacity}
.source-account{display:flex;gap:10px;align-items:center;padding:20px 18px 16px;border-bottom:1px solid #f0eaf3}.source-account>div{min-width:0}.source-account strong{display:block;font:500 15px/1.3 Geist,Arial,sans-serif;letter-spacing:-.025em}.source-account>div>span{display:block;font:400 11px/1.4 Geist,Arial,sans-serif;color:#747d76;margin-top:3px}.source-account>img{margin-left:auto;width:21px;height:21px}.creator-orb{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;flex:none;font:500 11px/1 Geist,Arial,sans-serif}
.creator-maya{--creator-color:#9a70c4;--creator-tint:#efe5fa}.creator-jordan{--creator-color:#59a184;--creator-tint:#e3f3eb}.creator-ava{--creator-color:#6f91d1;--creator-tint:#e6edfc}.creator-orb,.creator-tag{color:var(--creator-color);background:var(--creator-tint)}
.source-inbox-label{display:flex;justify-content:space-between;padding:15px 18px 4px;font:500 12px/1.4 Geist,Arial,sans-serif;color:#554b60}.source-inbox-label>span{font-size:10px;color:#78817a;font-weight:400}
.source-message{padding:13px 18px 16px;border-bottom:1px solid #f2edf5}.source-message:last-child{border:0}.source-message strong{font:500 14px/1.4 Geist,Arial,sans-serif;display:flex;align-items:center;justify-content:space-between}.source-message strong i{width:5px;height:5px;background:#9f7bc5;border-radius:50%}.source-message>span{display:block;font:400 12px/1.5 Geist,Arial,sans-serif;margin-top:3px;color:#625a6a}.source-message p{font:400 11px/1.5 Geist,Arial,sans-serif;color:#7b827d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
.merged-inbox{position:absolute;top:44px;bottom:0;left:3%;right:3%;display:grid;grid-template-columns:190px minmax(0,1fr);background:#fff;border:1px solid #dcdde1;border-radius:16px;box-shadow:var(--shadow);overflow:hidden;opacity:var(--merged-opacity);transform:translateY(var(--merged-y)) scale(var(--merged-scale));transform-origin:center;will-change:transform,opacity}
.merged-sidebar{padding:26px 17px;display:flex;flex-direction:column;border-right:1px solid #eee8f4;background:#fbfafc}.merged-sidebar>img{width:84px;height:32px;object-fit:contain;margin:0 9px 29px}.merged-all{display:flex;justify-content:space-between;padding:11px 12px;background:#eee5f8;border-radius:9px;font:500 14px/1.4 Geist,Arial,sans-serif;color:#645071}.merged-all span{color:#977ba9}.merged-account-list{margin-top:12px}.merged-account-list>div{display:flex;gap:9px;align-items:center;padding:10px 12px;font:400 13px/1.4 Geist,Arial,sans-serif;color:#626c65}.merged-account-list>div>span{margin-left:auto;color:#7d857f}.creator-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--creator-color);flex:none}.merged-connected{font:400 10px/1.4 Geist,Arial,sans-serif;color:#7d8d81;margin-top:auto;padding:15px 8px 0;display:flex;gap:6px;align-items:center}.merged-connected>i{width:5px;height:5px;border-radius:50%;background:#72ae8c}
.merged-content{min-width:0;display:flex;flex-direction:column}.merged-header{display:flex;justify-content:space-between;align-items:center;padding:22px 25px 18px;border-bottom:1px solid #eee8f4}.merged-header strong{display:block;font:500 19px/1.3 Geist,Arial,sans-serif;letter-spacing:-.03em}.merged-header>div>span{display:block;margin-top:5px;font:400 13px/1.4 Geist,Arial,sans-serif;color:#737b76}.merged-new{font:500 11px/1.3 Geist,Arial,sans-serif;color:#8664a4;background:#f0e9f8;border-radius:999px;padding:6px 10px}.merged-rows{flex:1;min-height:0;display:flex;flex-direction:column}.merged-message{display:flex;align-items:center;gap:13px;flex:1;min-height:0;padding:6px 25px;border-bottom:1px solid #f1ecf5}.merged-message:nth-child(1){background:#faf7fe}.message-unread{width:5px;height:5px;background:#ab88cb;border-radius:50%;flex:none}.merged-message-copy{display:flex;align-items:center;gap:20px;min-width:0;flex:1}.merged-message-copy strong{font:500 14px/1.4 Geist,Arial,sans-serif;min-width:105px}.merged-message-copy>span{font:400 13px/1.4 Geist,Arial,sans-serif;color:#69726c;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.creator-tag{font:500 11px/1.4 Geist,Arial,sans-serif;padding:4px 9px;border-radius:999px;flex:none}.merged-message time{font:400 10px/1.3 Geist,Arial,sans-serif;color:#79817d;min-width:60px;text-align:right}.merged-footer{display:flex;justify-content:space-between;gap:10px;padding:14px 25px;font:400 11px/1.4 Geist,Arial,sans-serif;color:#69726c;background:#fbfafc}.merged-reply-account{display:flex;gap:6px;align-items:center;color:#745c88}
@media(max-width:1100px){.source-account{padding:17px 13px;gap:7px}.source-account>div>span{font-size:9px}.source-account strong{font-size:13px}.source-account>img{width:17px;height:17px}.creator-orb{width:28px;height:28px}.separate-inboxes{gap:18px}.merged-inbox{left:1%;right:1%;grid-template-columns:155px minmax(0,1fr)}.merged-sidebar{padding:22px 12px}.merged-message-copy{gap:12px}.merged-message-copy strong{min-width:90px}.merged-header{padding:17px 20px}.merged-message{padding:6px 20px;gap:10px}.merged-message time{display:none}.merged-footer{padding:12px 20px}.merged-message-copy>span{font-size:11px}.merged-sidebar>img{margin-bottom:20px}}
@media(max-width:700px){
.inbox-content .section-heading>h2{font-size:28px;line-height:1.15;white-space:normal}.inbox-content .section-heading{margin-bottom:20px}.inbox-content .section-description{margin-top:16px}.inbox-content .section-description p{font-size:16px;line-height:25px}
.inbox-merge-scene{height:430px}.merge-state-copy{font-size:12px}
.separate-inboxes{inset:34px 0 0;display:block}.source-inbox{position:absolute;top:50%;left:50%;width:82%;max-width:320px;margin-left:-41%;margin-top:-120px;transform:translate(var(--card-x,0px),var(--card-y,0px)) rotate(var(--card-r,0deg)) scale(var(--card-scale,1))}.source-account{padding:14px;gap:9px}.source-account strong{font-size:13px}.source-account>div>span{font-size:10px}.source-account>img{width:20px;height:20px}.source-inbox-label{padding:10px 14px 0}.source-message{padding:9px 14px 12px}.source-message strong{font-size:12px}.source-message>span{font-size:11px}.source-message p{font-size:10px}.source-ava{z-index:3}.source-jordan{z-index:2}.source-maya{z-index:1}
.merged-inbox{top:34px;left:0;right:0;display:block;border-radius:15px}.merged-sidebar{display:none}.merged-content{height:100%}.merged-header{padding:18px 16px 15px}.merged-header strong{font-size:17px}.merged-header>div>span{font-size:10px}.merged-header:before{content:'';display:block;width:54px;height:24px;background:url('/assets/riff-logo.svg') center/contain no-repeat;margin-right:14px}.merged-header>div{margin-right:auto}.merged-new{font-size:10px;padding:5px 7px}.merged-message{padding:6px 15px;gap:9px}.merged-message-copy{display:block}.merged-message-copy strong{font-size:12px}.merged-message-copy>span{display:block;font-size:11px;margin-top:3px}.creator-tag{font-size:10px;padding:4px 7px}.merged-footer{padding:12px 15px;font-size:10px;display:block}.merged-reply-account{margin-top:4px}
}
@media(prefers-reduced-motion:reduce){.separate-inboxes{display:none}.merged-inbox{opacity:1;transform:none}.merge-before-label{opacity:0}.merge-after-label{opacity:1}}
/* Keep the complete illustration within its frame at laptop heights. */
.merged-inbox{grid-template-rows:minmax(0,1fr)}
.merged-content,.merged-sidebar{min-height:0}
.merged-sidebar{padding:18px 14px}
.merged-sidebar>img{height:28px;margin:0 8px 20px}
.merged-all{padding:8px 10px}
.merged-account-list{margin-top:8px}
.merged-account-list>div{padding:7px 10px}
.merged-connected{padding:8px 6px 0}

/* Compact, neutral illustration surfaces shared with the homepage system. */
.source-inbox{border-color:#dfe0e4;border-radius:14px;box-shadow:var(--shadow)}
.source-account{border-color:#ecebed}.merged-header{border-color:#e9e9eb}
.merged-all{background:#ece5f7}.merged-message:nth-child(1){background:#f7f4fb}
@media(max-width:800px){.inbox-feature{padding-block:68px}.inbox-content .section-heading{margin-bottom:32px}}
@media(max-width:700px){.inbox-content .section-heading>h2{font-size:30px}.inbox-merge-scene{height:445px}.merged-message-copy strong{font-size:13px}.merged-message-copy>span{font-size:12px}.creator-tag{font-size:10px}.merged-footer{font-size:11px}.merged-header>div>span{font-size:11px}.merged-new{font-size:11px}}

/* The inbox sits on the lilac feature section; labels stay high contrast. */
.merge-state-copy{color:#5b456f}.merged-all{background:#dfc5ff;color:#51376b}.merged-all span{color:#63467d}
.creator-maya{--creator-color:#70429b;--creator-tint:#e8d1ff}.creator-jordan{--creator-color:#326d55;--creator-tint:#c4efd9}.creator-ava{--creator-color:#3d65a1;--creator-tint:#cfe0ff}
.merged-message:nth-child(1){background:#f2e8ff}
