:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#171717;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#fff}.shell{width:min(100% - 32px,520px);margin:0 auto;padding:env(safe-area-inset-top) 0 calc(88px + env(safe-area-inset-bottom))}.top{height:64px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:28px;letter-spacing:-1.8px;font-weight:750;text-decoration:none;color:inherit}.brand span{color:#7565df}.quiet,.text-button,.tab,.nav-item{background:none;border:0;color:inherit;font:inherit;cursor:pointer}.quiet{padding:10px 14px;border:1px solid #e5e5e5;border-radius:999px;font-size:14px}.panel{border:1px solid #ededed;border-radius:20px;padding:24px;background:#fff;box-shadow:0 12px 38px #11100a08}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#7b7b7b;font-weight:650}.muted{color:#747474;line-height:1.55}h1{font-size:32px;letter-spacing:-1.2px;margin:8px 0}.auth-tabs{display:flex;border-bottom:1px solid #ededed;margin:26px 0 20px;gap:20px}.tab{padding:0 0 12px;color:#737373}.tab.active{color:#171717;border-bottom:2px solid #7565df}.form{display:grid;gap:15px}.auth-password-group{display:grid;gap:7px}.auth-password-field{position:relative;display:flex;align-items:center}.form .auth-password-field input{padding-right:54px}#auth .form input{font-size:16px}.auth-password-toggle{position:absolute;right:2px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:11px;background:transparent;border:0;border-radius:9px;color:#747474;cursor:pointer;touch-action:manipulation}.auth-password-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.auth-password-toggle[aria-pressed=true]{color:#171717}.form label{display:grid;gap:7px;font-size:13px;font-weight:600}.form input,.form textarea{width:100%;min-height:46px;padding:11px 13px;border:1px solid #dedede;border-radius:11px;font:inherit;background:#fff}.form input:focus,.form textarea:focus{outline:3px solid #7565df28;border-color:#7565df}.primary{min-height:48px;border:0;border-radius:12px;background:#171717;color:white;font:inherit;font-weight:650;padding:0 18px;cursor:pointer;margin-top:5px}.text-button{padding:10px 0;color:#6154bd;text-align:left}.notice{min-height:20px;color:#725c30;font-size:13px}.bottom-nav{position:fixed;z-index:5;bottom:0;left:0;right:0;display:flex;justify-content:space-around;padding:9px 4px calc(9px + env(safe-area-inset-bottom));background:#fffffff2;border-top:1px solid #eee;backdrop-filter:blur(14px)}.nav-item{padding:9px 6px;font-size:12px;color:#777}.nav-item.active{color:#171717;font-weight:700}.feed-item{padding:15px 0;border-bottom:1px solid #eee}.post-image{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;background:#f3f3f3}.muted-link{color:#777;text-decoration:none}.row{display:flex;gap:12px;align-items:center}.form textarea{min-height:110px;resize:vertical}button:focus-visible,a:focus-visible{outline:3px solid #7565df88;outline-offset:3px}[hidden]{display:none!important}@media(min-width:700px){.shell{padding-top:20px}.bottom-nav{position:static;border:1px solid #eee;border-radius:14px;margin:22px 0;background:white}.panel{padding:30px}}

/* Social profile surface */
.top-actions{display:flex;align-items:center;gap:10px}.account-actions{position:relative}.account-actions summary{list-style:none;cursor:pointer;padding:10px 12px;color:#555;font-weight:700;letter-spacing:2px}.account-actions summary::-webkit-details-marker{display:none}.account-action{position:absolute;right:0;top:42px;z-index:8;padding:12px 18px;border:1px solid #eee;border-radius:12px;background:#fff;color:#222;box-shadow:0 8px 24px #0001;font:inherit;white-space:nowrap;cursor:pointer}.profile-pane.panel{padding:0;border:0;border-radius:0;box-shadow:none;overflow:hidden}.social-profile{width:100%;overflow:hidden}.profile-banner{width:100%;height:148px;background:#f1f1f4;overflow:hidden}.profile-banner img{display:block;width:100%;height:100%;object-fit:cover}.profile-identity{position:relative;padding:12px 18px 18px}.profile-banner+.profile-identity .profile-avatar-wrap{margin-top:-53px;margin-bottom:10px}.profile-avatar-wrap{width:92px;height:92px;margin:5px 0 12px}.profile-avatar{display:block;width:100%;height:100%;object-fit:cover;border:3px solid #fff;border-radius:50%;background:#eee}.profile-title-row{display:flex;align-items:center;gap:6px}.profile-display-name{margin:0;font-size:23px;line-height:1.2;letter-spacing:-.55px;font-weight:750}.verified-badge{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#7565df;color:#fff;font-size:13px;font-weight:800}.profile-handle{margin:4px 0 14px;color:#777;font-size:14px}.profile-stats{display:flex;gap:0;margin:14px 0 16px}.profile-stat{display:flex;flex:1;flex-direction:column;gap:2px}.profile-stat strong{font-size:16px;font-weight:750}.profile-stat span{font-size:12px;color:#777}.profile-bio{margin:12px 0 8px;white-space:pre-line;line-height:1.45;font-size:14px;overflow-wrap:anywhere}.profile-location{margin:7px 0;color:#777;font-size:13px}.profile-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin:10px 0}.profile-link{max-width:100%;color:#6556c6;text-decoration:none;font-size:14px;font-weight:600;overflow-wrap:anywhere}.profile-actions{display:flex;gap:9px;margin-top:16px}.profile-action{min-height:40px;flex:1;padding:0 12px;border:1px solid #e6e6e8;border-radius:9px;background:#fff;color:#222;font:inherit;font-size:13px;font-weight:650;cursor:pointer}.profile-action-primary{background:#171717;border-color:#171717;color:#fff}.profile-tabs{display:grid;grid-template-columns:repeat(3,1fr);height:52px;border-top:1px solid #eee;border-bottom:1px solid #eee}.profile-tab{display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:#fff;color:#858585;font:inherit;font-size:12px;cursor:pointer}.profile-tab.active{position:relative;color:#171717;font-weight:700}.profile-tab.active::after{position:absolute;right:18%;bottom:-1px;left:18%;height:2px;background:#7565df;content:""}.profile-tab-icon{font-size:18px;line-height:1}.profile-content{min-height:200px}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}.profile-grid-tile{display:block;aspect-ratio:1/1;min-width:0;padding:0;border:0;background:#f0f0f2;cursor:pointer;overflow:hidden}.profile-grid-tile img{display:block;width:100%;height:100%;object-fit:cover}.profile-grid-tile.media-unavailable::after{content:"Image unavailable";display:grid;place-items:center;height:100%;color:#777;font-size:11px}.profile-empty{padding:42px 16px;text-align:center;color:#777;font-size:14px}.profile-back{margin:12px 18px 0}.profile-edit-form{display:grid;gap:15px;padding:20px 18px}.profile-edit-form h2{margin:0 0 4px;font-size:22px}.profile-edit-label{display:grid;gap:7px;font-size:13px;font-weight:650}.profile-edit-label input,.profile-edit-label textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #dedee3;border-radius:9px;background:#fff;color:inherit;font:inherit}.profile-edit-label textarea{min-height:84px;resize:vertical}.profile-edit-label input[type=file]{padding:8px;font-size:12px}.profile-remove-banner{display:flex;align-items:center;gap:8px;font-size:13px;color:#555}.profile-edit-actions{display:flex;gap:9px}.profile-toast{margin:0;color:#6c5bbf;font-size:13px}.post-author{padding:0;border:0;background:none;font:inherit;text-align:left;cursor:pointer}.post-detail{width:min(92vw,520px);max-height:90dvh;padding:16px;border:0;border-radius:16px;background:#fff}.post-detail::backdrop{background:#0007}.post-detail-close{display:block;margin:0 0 8px auto;padding:8px 12px;border:1px solid #eee;border-radius:8px;background:white;font:inherit;cursor:pointer}.profile-pane .feed-item{padding:0;border:0}.profile-pane .post-image{border-radius:0}.profile-pane .feed-item p{padding-inline:4px}
@media(min-width:700px){.shell:has(.profile-pane){width:min(100% - 48px,720px)}.profile-pane.panel{max-width:720px;margin-inline:auto}.profile-banner{height:190px}.profile-identity{padding:16px 24px 20px}.profile-banner+.profile-identity .profile-avatar-wrap{margin-top:-64px}.profile-avatar-wrap{width:108px;height:108px}.profile-display-name{font-size:26px}.profile-grid{gap:4px}.profile-tabs{height:58px}}
@media(max-width:430px){.shell:has(.profile-pane){width:100%;padding-top:env(safe-area-inset-top);padding-bottom:calc(76px + env(safe-area-inset-bottom))}.shell:has(.profile-pane) .top{height:54px;padding-inline:15px}.profile-identity{padding-inline:16px}.profile-banner{height:132px}.profile-stat span{font-size:11px}.profile-action{padding-inline:8px;font-size:12px}.profile-tabs{height:49px}}

/* Inbox, message requests, and activity feed */
.messaging-screen,.notifications-screen,.conversation-screen{width:100%;max-width:680px;margin:0 auto}.messaging-header,.notifications-header,.conversation-header{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px}.active-profile-button{padding:8px 0;border:0;background:none;color:#171717;font:inherit;font-size:22px;font-weight:760;letter-spacing:-.5px;cursor:pointer}.compose-button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #e9e9eb;border-radius:50%;background:#fff;color:#171717;font-size:27px;line-height:1;cursor:pointer}.inbox-tabs{display:flex;gap:28px;height:50px;border-bottom:1px solid #ededed}.inbox-tab{position:relative;display:flex;align-items:center;gap:7px;padding:0 0 2px;border:0;background:none;color:#858585;font:inherit;font-size:15px;font-weight:650;cursor:pointer}.inbox-tab.active{color:#171717}.inbox-tab.active::after{position:absolute;right:0;bottom:-1px;left:0;height:2px;background:#7565df;content:""}.inbox-badge{display:grid;min-width:19px;height:19px;place-items:center;padding:0 5px;border-radius:999px;background:#efedff;color:#5c4eb6;font-size:11px;font-weight:750}.inbox-list{padding-top:2px}.conversation-row,.request-row{position:relative;display:flex;width:100%;align-items:center;gap:13px;min-height:77px;padding:11px 2px;border:0;border-bottom:1px solid #f0f0f1;background:#fff;color:inherit;text-align:left;font:inherit}.conversation-row{cursor:pointer}.inbox-avatar{display:grid;flex:0 0 50px;width:50px;height:50px;place-items:center;overflow:hidden;border-radius:50%;background:#f0eff7;color:#594fa3;font-weight:700}.inbox-avatar img{width:100%;height:100%;object-fit:cover}.group-avatar{border-radius:17px}.conversation-copy,.request-copy{display:grid;flex:1;min-width:0;gap:5px}.conversation-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}.conversation-name{overflow:hidden;color:#262626;font-size:15px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.is-unread .conversation-name{font-weight:760}.conversation-preview{display:block;overflow:hidden;color:#818186;font-size:13px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.conversation-time,.activity-time{flex:0 0 auto;color:#929297;font-size:11px;font-weight:450;white-space:nowrap}.unread-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#7565df}.inbox-empty{padding:54px 16px;color:#777;text-align:center;font-size:14px;line-height:1.5}.list-section-title{margin:20px 0 3px;color:#777;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.sent-section-title{margin-top:25px}.request-row{flex-wrap:wrap}.request-actions{display:flex;flex:0 0 100%;gap:8px;padding-left:63px}.request-actions .profile-action{flex:0 1 auto;min-width:76px;min-height:36px}.compose-screen{padding-top:4px}.messaging-title{margin:0;color:#171717;font-size:22px;font-weight:740;letter-spacing:-.45px}.compose-screen .messaging-title{margin:5px 0 18px}.compose-form{display:grid;gap:12px}.compose-search{width:100%;min-height:44px;padding:10px 13px;border:1px solid #e5e5e7;border-radius:12px;background:#fafafa;color:inherit;font:inherit}.compose-results,.compose-selected{display:flex;flex-wrap:wrap;gap:8px}.compose-result,.selected-profile{min-height:38px;padding:8px 12px;border:1px solid #e6e6e8;border-radius:10px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}.selected-profile{border-color:#dcd7ff;background:#f7f6ff;color:#594fa3}.conversation-screen{padding-bottom:10px}.conversation-header{justify-content:flex-start;min-height:52px}.conversation-header .messaging-title{margin-left:auto;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-request-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 14px}.request-explainer{flex:1 0 100%;margin:0;color:#6c628e;font-size:13px;line-height:1.4}.message-thread{display:grid;gap:8px;min-height:120px;max-height:min(58dvh,600px);overflow:auto;padding:12px 0}.message-bubble{max-width:86%;justify-self:start;padding:10px 13px;border-radius:14px 14px 14px 4px;background:#f3f3f5;overflow-wrap:anywhere}.message-bubble p{margin:4px 0 0;white-space:pre-wrap}.message-author{font-size:11px;color:#67676c}.own-message{justify-self:end;border-radius:14px 14px 4px 14px;background:#f0edff}.message-compose{display:flex;align-items:flex-end;gap:9px;padding:10px 0 max(10px,env(safe-area-inset-bottom))}.message-compose textarea{flex:1;min-height:44px;max-height:120px;resize:vertical;padding:10px 12px;border:1px solid #e3e3e6;border-radius:15px;font:inherit}.message-compose .primary{min-height:44px;margin:0;border-radius:12px}.conversation-members{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notifications-header{margin:3px 0 10px}.activity-date{margin:20px 0 3px;color:#777;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.activity-row{display:flex;align-items:center;gap:12px;min-height:72px;padding:10px 0;border-bottom:1px solid #f0f0f1}.activity-copy{display:grid;flex:1;min-width:0;gap:3px}.activity-text{margin:0;color:#5c5c62;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.activity-text strong{color:#252529;font-weight:720}.activity-action{flex:0 0 auto;min-height:34px;padding:0 11px}.notification-unread{background:linear-gradient(90deg,#f8f7ff 0,white 58%)}
@media(min-width:700px){.messaging-screen,.notifications-screen,.conversation-screen{max-width:680px}.inbox-list{padding-top:5px}.conversation-row,.request-row{min-height:82px}.activity-row{min-height:78px}.request-actions{flex:0 0 auto;margin-left:auto;padding-left:0}.message-thread{max-height:62vh}}
@media(max-width:430px){.shell:has(.messaging-screen),.shell:has(.notifications-screen),.shell:has(.conversation-screen){width:100%;padding-top:env(safe-area-inset-top);padding-inline:15px;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.messaging-header{min-height:51px}.active-profile-button{font-size:21px}.inbox-avatar{flex-basis:48px;width:48px;height:48px}.activity-row{gap:10px;min-height:70px}.activity-row .inbox-avatar{flex-basis:44px;width:44px;height:44px}.activity-action{padding-inline:9px;font-size:12px}.request-row{gap:10px}.request-actions{padding-left:58px}.conversation-screen{padding-inline:0}.message-compose{position:sticky;bottom:calc(66px + env(safe-area-inset-bottom));background:#fff}}

/* Core social interactions */
.iris-post{padding:18px 0}.post-heading{margin:0 0 12px}.post-caption{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.post-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.post-actions .quiet{padding:8px 12px}.post-comments{padding:12px 0}.comment-item{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin:8px 0;overflow-wrap:anywhere}.comment-form{display:flex;gap:8px;margin-top:12px}.comment-form input{flex:1;min-width:0;min-height:42px;padding:9px 11px;border:1px solid #dedede;border-radius:10px;font:inherit}.comment-form .quiet{flex:0 0 auto}.comment-list{max-height:300px;overflow:auto}.feed-more{margin:14px auto}.conversation-list .feed-item{width:100%;text-align:left}.conversation-members{padding:8px 0;overflow-wrap:anywhere}#messages{max-height:min(55dvh,560px);overflow:auto}.notification-unread{font-weight:650;background:#f7f6ff}

.account-action-menu{position:absolute;right:0;top:42px;z-index:8;display:grid;gap:8px;min-width:190px;padding:12px;border:1px solid #eee;border-radius:12px;background:#fff;box-shadow:0 8px 24px #0001}.account-action-menu .account-action{position:static;display:block;width:100%;padding:8px 4px;border:0;background:none;color:#222;box-shadow:none;text-align:left}.profile-switcher{display:grid;gap:8px}.profile-switch-label{display:grid;gap:6px;color:#777;font-size:12px}.profile-switch-select{width:100%;min-height:38px;padding:6px 8px;border:1px solid #e5e5e5;border-radius:8px;background:white;color:#222;font:inherit}.profile-switch-action{padding:8px 4px;border:0;background:none;color:#222;font:inherit;text-align:left;cursor:pointer}
.account-center{max-width:560px;margin:0 auto}.account-center h2{margin:5px 0 8px}.account-center h3{margin:28px 0 10px;font-size:16px}.account-profiles{border:1px solid #ececf0;border-radius:14px;overflow:hidden}.account-profile-row{display:flex;align-items:center;gap:12px;min-height:72px;padding:11px 14px;border-bottom:1px solid #eee}.account-profile-row:last-child{border-bottom:0}.profile-switch-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;overflow:hidden;border-radius:50%;background:#f1f0f8;color:#51469e;font-weight:700}.profile-switch-avatar img{width:100%;height:100%;object-fit:cover}.profile-switch-copy{display:grid;gap:3px;flex:1;min-width:0}.profile-switch-name-line{display:flex;align-items:center;gap:5px;min-width:0}.profile-switch-name-line .profile-switch-badge{width:18px;height:18px;flex:0 0 18px}.profile-switch-copy small{color:#777}.profile-switch-check{color:#6154bd;font-weight:700}.account-add-button{margin-top:14px}.account-security-note{margin-top:24px;font-size:13px}.add-profile-form{margin-top:14px;padding:18px;border:1px solid #ececf0;border-radius:14px}.add-profile-form h3{margin:0 0 4px}.profile-switch-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:min(78dvh,640px);margin:0;padding:20px 18px calc(18px + env(safe-area-inset-bottom));border:1px solid #e8e8eb;border-bottom:0;border-radius:22px 22px 0 0;background:#fff;color:#171717;box-shadow:0 -16px 50px #0002}.profile-switch-dialog::backdrop{background:#12121a66}.profile-switch-dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.profile-switch-dialog-head h2{margin:4px 0;font-size:22px}.profile-switch-dialog-head .eyebrow{margin:0}.profile-switch-list{display:grid;border:1px solid #ececf0;border-radius:14px;overflow:hidden}.profile-switch-item{display:flex;align-items:center;gap:13px;width:100%;min-height:74px;padding:12px 14px;border:0;border-bottom:1px solid #eee;background:#fff;color:inherit;text-align:left;font:inherit;cursor:pointer}.profile-switch-item:last-child{border-bottom:0}.profile-switch-item:hover{background:#fafafe}.profile-switch-item .profile-switch-avatar{width:48px;height:48px;flex-basis:48px}.profile-switch-dialog[open]{animation:switcher-in .16s ease-out}@keyframes switcher-in{from{transform:translateY(14px);opacity:.8}to{transform:translateY(0);opacity:1}}
@media(min-width:700px){.profile-switch-dialog{inset:50% auto auto 50%;width:min(92vw,440px);max-height:80vh;margin:0;transform:translate(-50%,-50%);border:1px solid #e8e8eb;border-radius:18px;padding:22px;box-shadow:0 24px 80px #0003}.profile-switch-dialog[open]{animation:switcher-in-desktop .16s ease-out}@keyframes switcher-in-desktop{from{transform:translate(-50%,-49%);opacity:.8}to{transform:translate(-50%,-50%);opacity:1}}}
.shell:has(.messaging-screen)>.top,.shell:has(.conversation-screen)>.top{display:none}
.shell:has(.voice-v2)>.top{display:none}.shell:has(.voice-v2){width:min(100%,393px)}#pane:has(.voice-v2){padding:0;border:0;border-radius:0;box-shadow:none}.voice-v2{width:100%;margin:0 auto}
@media(min-width:700px){.shell:has(.messaging-screen),.shell:has(.conversation-screen){width:min(100% - 48px,760px)}.shell:has(.notifications-screen){width:min(100% - 48px,720px)}}

.iris-voice-root,.voice-screen{--voice-violet:#7052e7;--voice-lav:#f1edff;--voice-line:#efedf2}.voice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 0 12px}.voice-head h2{margin:0}.voice-actions{display:flex;gap:8px;align-items:center}.voice-actions .primary{margin:0;min-height:42px}.voice-recorder{display:grid;gap:10px;padding:14px 0 calc(16px + env(safe-area-inset-bottom))}.voice-record{background:var(--voice-violet);border-radius:999px;min-height:54px}.voice-screen .message-bubble .quiet{margin-top:8px;padding:8px 12px;border-color:#ded6f8;color:#5f42c9;background:#f7f4ff}.voice-screen .selected-profile{display:inline-flex}.iris-voice-root .inbox-empty{border:1px solid var(--voice-line);border-radius:18px;background:#fbfaff}.iris-voice-root .messaging-title,.voice-screen .messaging-title{letter-spacing:-.55px}

/* PWA installation controls */
.top-actions{position:relative;z-index:6;gap:8px}.install-action{position:relative;z-index:7;min-height:44px;padding:0 12px;white-space:nowrap;color:#171717;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.install-action[hidden]{display:none}.account-actions summary{min-width:40px;min-height:44px;display:grid;place-items:center}.install-help{position:fixed;z-index:10000;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:0;background:#17171d66;overscroll-behavior:contain;touch-action:pan-y}.install-help[hidden]{display:none!important}.install-help-sheet{width:100%;max-height:88vh;max-height:88dvh;overflow-y:auto;padding:24px 22px calc(22px + env(safe-area-inset-bottom));border:1px solid #e9e9ed;border-bottom:0;border-radius:24px 24px 0 0;background:#fff;color:#171717;box-shadow:0 -18px 50px #0002;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;animation:install-sheet-in .18s ease-out}.install-help-open{overflow:hidden;overscroll-behavior:none}.install-help-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.install-mark{font-size:26px;font-weight:800;letter-spacing:-2px}.install-mark::first-letter{color:#7565df}.install-close{min-width:44px;min-height:44px;padding:0;border-radius:50%;font-size:23px}.install-help-sheet>.eyebrow{margin:0 0 7px}.install-help-sheet h2{margin:0 0 8px;font-size:26px;letter-spacing:-.8px}.install-help-sheet>.muted{margin:0}.install-help-steps{display:grid;gap:3px;margin:22px 0;padding:0;list-style:none}.install-help-step{display:flex;align-items:center;gap:14px;min-height:62px;padding:9px 0;border-bottom:1px solid #eee;color:#28282d;font-size:15px;line-height:1.4}.install-step-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #e8e8ed;border-radius:12px;background:#fafafd;color:#5145a3}.install-step-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.install-add-icon{font-size:26px;line-height:1}.install-help #dismiss-install-help{width:100%;min-height:48px;margin-top:5px}@keyframes install-sheet-in{from{transform:translateY(18px);opacity:.8}to{transform:translateY(0);opacity:1}}
@media(min-width:700px){.install-help{align-items:center;padding:18px}.install-help-sheet{width:min(92vw,430px);max-height:84vh;padding:24px;border:1px solid #e9e9ed;border-radius:20px;box-shadow:0 24px 80px #0003;animation:install-dialog-in .18s ease-out}@keyframes install-dialog-in{from{transform:translateY(8px);opacity:.8}to{transform:translateY(0);opacity:1}}}
@media(max-width:359px){.shell{width:calc(100% - 24px)}.top-actions{gap:5px}.install-action{min-height:42px;padding:0 9px;font-size:13px}.account-actions summary{min-width:38px;padding:8px}}

/* Core create composer and carousel */
.create-screen{position:relative;z-index:4;min-height:calc(100dvh - 76px);background:#fff;overflow:hidden}
.create-header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;border-bottom:1px solid #eee;padding:0 2px}
.create-header h2{margin:0;font-size:18px;letter-spacing:-.3px}.create-header span{min-width:44px}
.create-stage{display:flex;flex-wrap:wrap;gap:10px;padding:18px 0}.create-picker{min-height:46px;padding:0 16px;border:1px solid #e5e5e8;border-radius:12px;background:#fafafa;color:#222;font:inherit;font-weight:650;cursor:pointer}
.create-preview-panel{padding:16px 0 2px}.create-preview-empty{color:#888;font-size:13px}.create-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.create-thumb{position:relative;display:grid;gap:5px;min-width:0}.create-thumb img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:#f1f1f3}.create-thumb>strong{position:absolute;top:6px;left:6px;display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#171717d9;color:#fff;font-size:12px}.create-thumb-controls{display:flex;gap:3px;justify-content:center}.create-thumb-controls .quiet{min-height:30px;padding:0 7px;font-size:11px}.create-caption{display:block;width:100%;min-height:92px;margin:8px 0 14px;padding:12px;border:1px solid #e1e1e5;border-radius:12px;background:#fff;color:inherit;font:inherit;resize:vertical}.create-preview{display:flex;gap:8px;max-width:100%;margin:8px 0 14px;overflow:auto;scroll-snap-type:x mandatory}.create-preview img{flex:0 0 min(76vw,360px);width:min(76vw,360px);aspect-ratio:1;object-fit:cover;border-radius:12px;scroll-snap-align:start}.composer-preview{justify-content:flex-start}.carousel-frame{position:relative;width:100%;overflow:hidden;border-radius:12px;background:#f1f1f3}.carousel-track{display:flex;width:100%;transition:transform .2s ease}.carousel-track .post-image{flex:0 0 100%;width:100%;max-height:min(70dvh,680px);object-fit:contain;background:#f1f1f3}.carousel-control{position:absolute;top:50%;z-index:1;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:50%;background:#171717b8;color:#fff;font-size:24px;line-height:1;transform:translateY(-50%);cursor:pointer}.carousel-control:first-of-type{left:10px}.carousel-control:nth-of-type(2){right:10px}.carousel-indicator{position:absolute;right:10px;bottom:10px;padding:4px 8px;border-radius:999px;background:#171717b8;color:#fff;font-size:11px}.draft-list{display:grid;gap:10px;padding-top:16px}.draft-row{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #ececf0;border-radius:12px}.draft-preview{display:grid;flex:0 0 64px;width:64px;height:64px;place-items:center;overflow:hidden;border-radius:9px;background:#f1f1f3;color:#777;font-size:11px;text-align:center}.draft-preview img{width:100%;height:100%;object-fit:cover}.draft-text-preview{padding:5px}.draft-copy{display:grid;flex:1;min-width:0;gap:4px}.draft-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draft-copy small{font-size:11px}.draft-actions{display:flex;gap:5px}.draft-actions .quiet{padding-inline:8px;font-size:12px}
@media(max-width:699px){.create-screen{position:fixed;inset:0;min-height:100dvh;z-index:30;padding:env(safe-area-inset-top) 16px env(safe-area-inset-bottom);overflow:auto}.create-header{min-height:58px}.create-stage{padding-top:20px}.create-picker{flex:1 1 calc(50% - 10px)}.create-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}.create-thumb-controls{flex-wrap:wrap}.create-thumb-controls .quiet{flex:1 1 30%;padding-inline:3px}.create-screen .primary{width:100%;min-height:48px}.draft-row{align-items:flex-start}.draft-actions{flex-direction:column}}
@media(min-width:700px){.create-screen{width:min(100%,720px);min-height:520px;margin:0 auto;padding:0 20px;border:1px solid #eee;border-radius:16px;box-shadow:0 12px 40px #0000000a}.create-stage{justify-content:center}.create-picker{min-width:150px}}
.advanced-options{display:grid;gap:10px;margin:8px 0 16px}.advanced-options>label,.advanced-options details label{display:grid;gap:5px;color:#555;font-size:12px;font-weight:650}.advanced-options input,.advanced-options select{min-height:42px;padding:9px 11px;border:1px solid #e1e1e5;border-radius:10px;background:#fff;color:inherit;font:inherit;font-weight:400}.advanced-options details{padding:10px 0}.advanced-options summary{cursor:pointer;font-weight:700}.option-row{display:flex!important;align-items:center;gap:8px}.option-row input{width:18px;min-height:18px}.post-link{display:block;margin:8px 0;color:#5145a3;font-size:13px;font-weight:650;text-decoration:none}.post-label{display:none!important}.post-tags,.post-prompt{margin:8px 0;color:#555;font-size:13px}
/* Advanced composer UX */
.create-main-preview{display:grid;place-items:center;gap:8px;width:100%;min-height:min(58dvh,520px);margin:0;border:0;background:#f7f7f8;color:#777;font:inherit;cursor:pointer}.create-empty-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid #dddde2;border-radius:50%;font-size:32px;font-weight:300}.create-preview-hint{font-size:12px;color:#999}.create-media-nav{display:grid;grid-template-columns:1fr 1fr 1fr;border-bottom:1px solid #eee}.create-media-tab{min-height:46px;border:0;border-bottom:2px solid transparent;background:#fff;color:#777;font:inherit;font-size:13px;cursor:pointer}.create-media-tab.active{border-color:#7565df;color:#171717;font-weight:700}.create-text-entry{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:100%;min-height:50px;padding:0 3px;border:0;border-bottom:1px solid #eee;background:#fff;color:#222;font:inherit;text-align:left;cursor:pointer}.create-text-entry span:first-child{font-weight:800}.create-option-list{display:grid;margin-top:8px;border-top:1px solid #eee}.create-option-row,.create-toggle-row{display:flex;align-items:center;gap:10px;width:100%;min-height:50px;padding:0 2px;border:0;border-bottom:1px solid #eee;background:#fff;color:#222;font:inherit;text-align:left}.create-option-row{cursor:pointer}.create-option-label{font-weight:600}.create-option-value{margin-left:auto;max-width:48%;overflow:hidden;color:#7b7b82;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.create-option-chevron{margin-left:5px;color:#999;font-size:22px}.create-toggle-row{justify-content:space-between}.create-toggle-row input{appearance:none;width:42px;height:25px;border:0;border-radius:999px;background:#d5d5da;position:relative;cursor:pointer}.create-toggle-row input::after{position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#fff;content:"";transition:.15s}.create-toggle-row input:checked{background:#7565df}.create-toggle-row input:checked::after{transform:translateX(17px)}.composer-identity{display:flex;align-items:center;gap:10px;padding:12px 0;font-size:14px}.composer-identity .inbox-avatar{width:38px;height:38px;flex-basis:38px}.create-subview{display:grid;gap:12px;padding:18px 0}.create-field{display:grid;gap:7px;color:#555;font-size:13px;font-weight:650}.create-input{width:100%;min-height:46px;padding:11px 12px;border:1px solid #dedee3;border-radius:10px;background:#fff;color:inherit;font:inherit}.create-results{display:grid;gap:6px}.create-result{min-height:46px;padding:0 12px;border:1px solid #ececf0;border-radius:10px;background:#fff;text-align:left;font:inherit}.selected-chip{display:inline-flex;margin:4px;padding:6px 9px;border-radius:999px;background:#f0edff;color:#5548a2;font-size:12px}.audience-choice{display:flex;align-items:center;gap:12px;min-height:58px;border:0;border-bottom:1px solid #eee;background:#fff;font:inherit;text-align:left}.audience-radio{width:24px;color:#7565df;font-size:21px}.subview-heading{margin:6px 0 0;font-size:13px;font-weight:700}.create-share{font-weight:750;color:#594bb0}.create-screen .create-thumbs{margin:10px 0}.create-screen .draft-list{padding-bottom:20px}
@media(max-width:699px){.create-main-preview{min-height:52dvh}.create-option-row,.create-toggle-row{min-height:54px}.create-subview{padding-bottom:calc(30px + env(safe-area-inset-bottom))}.create-screen .composer-preview img{flex-basis:74vw;width:74vw}}
/* UI polish: supplied artwork navigation and app-like composer */
.bottom-nav{height:64px;padding:7px 10px calc(7px + env(safe-area-inset-bottom));align-items:center;justify-content:space-around;gap:4px}
.nav-item{position:relative;display:grid;place-items:center;width:52px;height:48px;padding:6px;border:0;background:transparent;color:#777;opacity:.72}
.nav-item img{display:block;width:30px;height:30px;object-fit:contain;mix-blend-mode:multiply}
.nav-item.active{opacity:1;color:#594bb0}
.nav-item.active::after{position:absolute;bottom:1px;width:4px;height:4px;border-radius:50%;background:#7565df;content:""}
.nav-item[data-pane="profile"] img{border-radius:50%;object-fit:cover}
#pane:has(.create-screen){padding:0;border:0;box-shadow:none}
.create-screen .create-thumb-controls{position:absolute;inset:5px 5px auto auto;display:block;z-index:2}
.create-screen .create-thumb-controls .quiet{display:inline-grid;place-items:center;width:24px;min-height:24px;padding:0;border:0;border-radius:50%;background:#171717cc;color:#fff;font-size:0}
.create-screen .create-thumb-controls .quiet:first-child,.create-screen .create-thumb-controls .quiet:nth-child(2){display:none}
.create-screen .create-thumb-controls .quiet:last-child{font-size:15px;line-height:1}
.create-screen .create-thumb>strong{top:6px;left:6px;width:22px;height:22px;font-size:11px}
@media(max-width:699px){.bottom-nav{border-top:1px solid #eee;border-radius:0;background:#fffffff5}.nav-item{width:48px}.nav-item img{width:28px;height:28px}.create-screen{padding-inline:0}.create-screen .create-header,.create-screen .create-media-nav,.create-screen .create-text-entry,.create-screen .create-stage,.create-screen .create-option-list,.create-screen .create-subview,.create-screen .create-preview-panel{padding-left:16px;padding-right:16px}.create-screen .create-main-preview{width:100%;border-radius:0}.create-screen .create-thumbs{padding-inline:16px}}
@media(min-width:700px){.bottom-nav{height:62px}.nav-item{width:58px}.nav-item img{width:30px;height:30px}}
.create-fallback{min-height:100%;background:#fff}.create-fallback-actions{display:grid;margin-top:8px;border-top:1px solid #eee}.create-fallback-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:12px;min-height:58px;padding:0 2px;border:0;border-bottom:1px solid #eee;background:#fff;color:#222;font:inherit;text-align:left}.create-fallback-row strong{font-size:20px;font-weight:500;color:#594bb0}.create-fallback-row span:last-child{color:#999;font-size:22px}
/* staged Create flow */
.create-caption-media{display:flex;gap:8px;max-width:100%;overflow:auto;padding:14px 0;scroll-snap-type:x mandatory}.create-caption-media img{flex:0 0 min(82vw,420px);width:min(82vw,420px);aspect-ratio:1;object-fit:cover;border-radius:12px;scroll-snap-align:start}.caption-editor{min-height:130px;border:0!important;border-radius:0!important;background:transparent!important;padding:12px 0!important;box-shadow:none!important}.caption-preview{min-height:0!important;height:auto!important;margin:8px 0 14px!important;padding:0!important;border:0!important;resize:none;overflow:hidden;color:#444;background:transparent!important}.advanced-subview-list{margin-top:8px}
.create-screen .create-thumb-controls .quiet:first-child,.create-screen .create-thumb-controls .quiet:nth-child(2){display:inline-grid;width:22px;min-height:22px;font-size:12px;margin-right:2px}.create-screen .create-thumb-controls .quiet:disabled{opacity:.35}
.create-media-review{position:relative;display:block;width:100%;min-height:min(58dvh,520px);margin:0;border:0;background:#f5f5f6;overflow:hidden;cursor:pointer}.create-media-review img{display:block;width:100%;height:min(58dvh,520px);object-fit:contain;background:#f5f5f6}.create-add-photo{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#171717d9;color:#fff;font-size:24px;line-height:1;cursor:pointer}.create-media-review:focus-visible{outline:3px solid #7565df88;outline-offset:-3px}
@keyframes create-stage-in{from{opacity:.75;transform:translateX(8px)}to{opacity:1;transform:translateX(0)}}.create-screen .create-header,.create-screen .create-main-preview,.create-screen .create-media-review,.create-screen .create-caption-media,.create-screen .create-option-list{animation:create-stage-in .16s ease-out}

/* App Store safety + account controls */
.account-management{margin-top:30px;padding:18px;border:1px solid var(--iris-line,#ececf0);border-radius:18px;background:var(--iris-surface,#fff);color:var(--iris-text,#171719)}.account-management-heading{padding:2px 2px 14px}.account-management-heading .eyebrow{margin:0 0 5px}.account-management-heading h3{margin:0 0 6px;font-size:18px;letter-spacing:-.2px}.account-management-heading .muted{margin:0;font-size:13px}.account-management-items>section{margin:0!important;padding:18px 2px!important;border-top:1px solid var(--iris-line,#ececf0)!important}.account-management-items>section:first-child{border-top:0!important}.account-management-items>section>h3{margin-top:0}.account-management .account-danger-zone p{color:var(--iris-muted,#6f6f75)}.account-danger-zone{margin-top:34px;padding-top:24px;border-top:1px solid var(--iris-line,#ececf0)}.account-danger-zone h3{margin:0 0 8px}.account-danger-zone p{margin:0 0 14px;color:#6f6f75;font-size:13px;line-height:1.45}.account-delete-button{min-height:42px;padding:0 14px;border:1px solid #ead5d2;border-radius:10px;background:var(--iris-surface,#fff);color:#a92f25;font:inherit;font-weight:700;cursor:pointer}.account-delete-button:disabled{opacity:.55;cursor:wait}.message-report-button{display:block;margin-top:7px;padding:0;border:0;background:none;color:#85858b;font:inherit;font-size:11px;cursor:pointer}.message-report-button:hover,.post-report-button:hover{text-decoration:underline}.profile-safety-sheet .core-sheet .danger{color:#a92f25}

.account-content-controls{margin-top:28px;padding-top:22px;border-top:1px solid var(--iris-line,#ececf0)}.account-content-controls h3{margin:0 0 7px}.hidden-words-label{display:grid;gap:8px;margin-top:14px;font-size:13px;font-weight:700}.hidden-words-input{min-height:120px;padding:12px;border:1px solid var(--iris-line,#dddde3);border-radius:11px;background:var(--iris-surface,#fff);color:var(--iris-text,#171719);font:inherit;resize:vertical}.hidden-words-save{margin-top:10px}.account-policy-links,.auth-legal-links{display:flex;gap:10px 16px;flex-wrap:wrap}.account-policy-links{margin:26px 0 4px;padding-top:20px;border-top:1px solid var(--iris-line,#ececf0)}.account-policy-links a,.auth-legal-links a{color:var(--iris-accent,#6b5eb5);text-decoration:none;font-size:12px}.account-policy-links a:hover,.auth-legal-links a:hover{text-decoration:underline}.auth-legal-links{justify-content:center;margin-top:18px}@media(max-width:520px){.account-management{margin-inline:-4px;padding:16px 14px;border-radius:16px}.account-management-items>section{padding:17px 0!important}}


/* X-style profile post timeline: flat rows, no text tiles/cards. */
.core-profile .profile-content{min-height:200px;background:#fff}
.core-profile .profile-post-list{display:block;width:100%;background:#fff}
.core-profile .profile-post-list .home-post.feed-item{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:11px;margin:0;padding:14px 16px 7px;border:0;border-bottom:1px solid #ececef;background:#fff}
.core-profile .profile-post-list .home-avatar-button{width:42px;height:46px}
.core-profile .profile-post-list .home-avatar.inbox-avatar{width:42px;height:42px;flex-basis:42px}
.core-profile .profile-post-list .home-post-body{min-width:0}
.core-profile .profile-post-list .home-post-heading{margin-bottom:2px}
.core-profile .profile-post-list .home-post .post-caption{margin:3px 0 9px;padding:0;font-size:15px;line-height:1.46;white-space:pre-wrap;overflow-wrap:anywhere}
.core-profile .profile-post-list .home-post .carousel-frame{margin:8px 0 5px;border:1px solid #ededf0;border-radius:15px;overflow:hidden;background:#fff}
.core-profile .profile-post-list .home-post .post-actions{margin-top:2px}
.core-profile .profile-post-list .home-post-status{padding-left:0}
.core-profile .profile-post-list .profile-text-tile{display:none}
@media(max-width:430px){.core-profile .profile-post-list .home-post.feed-item{padding-inline:14px}}
@media(min-width:700px){.core-profile .profile-post-list .home-post.feed-item{padding:16px 20px 8px}}

/* Owner post editing: shared by text and image posts. */
.post-edited{flex:none;color:#9a969f;font-size:10px;white-space:nowrap}
.post-edit-dialog{width:min(92vw,520px);max-height:88dvh;padding:0;border:0;border-radius:22px;background:#fff;color:#211e25;box-shadow:0 24px 80px #0003}
.post-edit-dialog::backdrop{background:#17131e66}
.post-edit-form{display:flex;flex-direction:column;min-height:360px}
.post-edit-head{display:flex;align-items:center;justify-content:space-between;min-height:62px;padding:0 18px;border-bottom:1px solid #ece8ef}
.post-edit-head h2{margin:0;font-size:20px;letter-spacing:-.45px}
.post-edit-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#302b34;font:inherit;font-size:28px;cursor:pointer}
.post-edit-input{display:block;width:100%;min-height:220px;padding:22px 20px 12px;border:0;outline:0;resize:vertical;background:#fff;color:#211e25;font:inherit;font-size:19px;line-height:1.55}
.post-edit-input::placeholder{color:#aaa3ae}
.post-edit-multi{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:8px 12px;padding:14px 20px 0}.post-edit-multi-preview{width:54px;height:54px;grid-row:1 / span 2;overflow:hidden;border-radius:10px;background:#f1edf4}.post-edit-multi-preview img,.post-edit-multi-preview video{display:block;width:100%;height:100%;object-fit:cover}.post-edit-multi-label{font-size:13px}.post-edit-multi-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#918995;font-size:11px}.post-edit-multi-button{border:0;background:transparent;color:inherit;font:inherit;font-weight:650;padding:4px 0}.post-edit-multi-button:disabled{opacity:.35}
.post-edit-count{padding:0 20px 12px;color:#918995;font-size:11px;text-align:right;font-variant-numeric:tabular-nums}
.post-edit-status{min-height:18px;margin:0;padding:0 20px;color:#a03b4d;font-size:12px;line-height:1.5}
.post-edit-actions{display:flex;gap:10px;margin-top:auto;padding:16px 18px calc(16px + env(safe-area-inset-bottom));border-top:1px solid #ece8ef}
.post-edit-cancel,.post-edit-save{flex:1;min-height:46px;border-radius:999px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.post-edit-cancel{border:1px solid #e4dfe8;background:#fff;color:#302b34}.post-edit-save{border:1px solid #7052e7;background:#7052e7;color:#fff}
.post-edit-save:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){.post-edit-dialog{inset:auto 0 0;width:100%;max-width:none;margin:0;border-radius:24px 24px 0 0}.post-edit-form{min-height:min(70dvh,600px)}.post-edit-input{min-height:260px;font-size:20px}}

/* Safari-safe post editor overlay. */
.post-edit-open{overflow:hidden}
.post-edit-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:flex-end;justify-content:center;padding:0;background:#17131e66}
.post-edit-overlay .post-edit-dialog{display:block;width:100%;max-width:520px;max-height:88dvh;margin:0;border:0;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -18px 60px #0002;overflow:auto}
@media(min-width:700px){.post-edit-overlay{align-items:center;padding:20px}.post-edit-overlay .post-edit-dialog{width:min(92vw,520px);border-radius:22px}}

/* Keep the global account dropdown above sticky Explore/Search surfaces. */
.top{position:relative;z-index:40}
.top-actions{position:relative;z-index:50}
.account-actions{z-index:60}
.account-action-menu{z-index:80}

/* In-app pull to refresh. Keeps the active Iris view instead of returning Home. */
body:has(#app:not([hidden])){overscroll-behavior-y:contain}
#iris-pull-refresh{--pull:0px;position:fixed;left:50%;top:calc(env(safe-area-inset-top) + 8px);z-index:2147482000;display:grid;place-items:center;width:36px;height:36px;border:1px solid #e8e4ed;border-radius:50%;background:#fff;color:#7052e7;box-shadow:0 7px 22px #21192c1f;pointer-events:none;opacity:0;transform:translate(-50%,calc(-44px + min(var(--pull),44px)));transition:opacity .12s ease,transform .12s ease}
#iris-pull-refresh.visible,#iris-pull-refresh.refreshing{opacity:1}
#iris-pull-refresh.ready{background:#7052e7;color:#fff;border-color:#7052e7}
#iris-pull-refresh span{display:block;font-size:21px;line-height:1;transform:rotate(calc(var(--pull) * 2.2))}
#iris-pull-refresh.refreshing{transform:translate(-50%,0)}
#iris-pull-refresh.refreshing span{animation:iris-pull-spin .75s linear infinite}
@keyframes iris-pull-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#iris-pull-refresh{transition:none}#iris-pull-refresh.refreshing span{animation-duration:1.4s}}

/* Global clickable @mentions in user-generated Iris text. */
.iris-mention{display:inline;padding:0;border:0;background:transparent;color:var(--iris-accent,#7052e7);font:inherit;font-weight:700;line-height:inherit;vertical-align:baseline;cursor:pointer}
.iris-mention:focus-visible{outline:2px solid color-mix(in srgb,var(--iris-accent,#7052e7) 45%,transparent);outline-offset:2px;border-radius:4px}

/* Native-feeling viewport lock: keep app screens anchored horizontally on iOS. */
html,body{width:100%;max-width:100%;overflow-x:clip;overscroll-behavior-x:none;touch-action:pan-x pan-y}
body{position:relative}
#app,.shell,#pane{max-width:100%;overflow-x:clip}
.shell,.panel,.home-feed-pane,.explore-pane,.profile-pane,.messaging-screen,.conversation-screen,.notifications-v2,.group-chat-screen,.group-info-screen,.post-thread-screen{min-width:0}
/* Explicit horizontal interaction zones stay swipeable. */
.create-preview,.create-caption-media,.ic-filmstrip,.ic-caption-strip,.ic-compose-media,.nv-tabs,.story-tray-scroll{overscroll-behavior-x:contain;touch-action:pan-x pan-y}

/* External video link previews: thumbnails only; playback always leaves Iris. */
.external-video-card{position:relative;display:block;width:100%;margin:9px 0 8px;overflow:hidden;border:1px solid var(--iris-line,#ececef);border-radius:15px;background:var(--iris-surface-2,#f5f4f7);color:var(--iris-text,#211e25);text-decoration:none;aspect-ratio:16/9}
.external-video-thumb{display:block;width:100%;height:100%;object-fit:cover;background:var(--iris-surface-2,#f5f4f7)}
.external-video-play,.explore-video-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#000b;color:#fff;font-size:23px;line-height:1;transform:translate(-50%,-50%);box-shadow:0 4px 18px #0004}
.external-video-meta{position:absolute;right:0;bottom:0;left:0;display:grid;gap:1px;padding:22px 12px 9px;background:linear-gradient(transparent,#000b);color:#fff}
.external-video-meta strong{font-size:12px}.external-video-meta small{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.external-video-card.thumbnail-unavailable{display:grid;min-height:130px;aspect-ratio:auto;place-items:center;padding:24px}.external-video-card.thumbnail-unavailable .external-video-play{position:static;transform:none}.external-video-card.thumbnail-unavailable .external-video-meta{position:static;background:none;color:inherit;text-align:center}
.explore-video-tile{position:relative}.explore-video-play{width:42px;height:42px;font-size:18px}
@media(max-width:430px){.external-video-play{width:50px;height:50px}}

/* Inbox/Requests open surface: match Walkie Talkie's unboxed layout. */
#pane:has(.messaging-screen){padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.shell:has(.messaging-screen){width:min(100%,393px)}
.messaging-screen{width:100%;max-width:none;margin:0;background:transparent!important}
.messaging-screen .messaging-header{padding:0 16px;background:transparent!important}
.messaging-screen .inbox-tabs{padding:0 16px;background:transparent!important}
.messaging-screen .inbox-list{padding:6px 16px 0;background:transparent!important}
.messaging-screen .conversation-row,
.messaging-screen .request-row{min-height:82px;padding:12px 0!important;border:0!important;border-bottom:1px solid var(--iris-line,#ececf0)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.messaging-screen .conversation-row:last-child,
.messaging-screen .request-row:last-child{border-bottom:0!important}
.messaging-screen .conversation-name{font-size:16px;font-weight:720}
.messaging-screen .conversation-preview{font-size:13px;line-height:1.35}
.messaging-screen .conversation-time{align-self:flex-start;padding-top:4px}
@media(max-width:430px){.shell:has(.messaging-screen){padding-inline:0!important}.messaging-screen .messaging-header,.messaging-screen .inbox-tabs,.messaging-screen .inbox-list{padding-inline:22px}}

/* Native fixed bottom sheets: never tied to page scroll position. */
body.core-sheet-open{overflow:hidden!important;overscroll-behavior:none}
.core-sheet-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:2147482500!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  padding:0!important;
  background:#0006!important;
}
.core-sheet-backdrop .core-sheet{
  width:100%!important;
  max-width:560px!important;
  max-height:min(78dvh,720px)!important;
  overflow-y:auto!important;
  margin:0!important;
  padding:12px 22px max(26px,env(safe-area-inset-bottom))!important;
  border-radius:25px 25px 0 0!important;
  -webkit-overflow-scrolling:touch;
}

/* Native-style direct-message rooms. Group chat has its own isolated component. */
#pane:has(.conversation-screen){padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.shell:has(.conversation-screen){width:min(100%,560px);padding-inline:0!important}
.conversation-screen{
  display:flex;
  flex-direction:column;
  width:100%;
  min-height:calc(100dvh - 66px - env(safe-area-inset-bottom));
  max-width:560px;
  margin:0 auto;
  padding:0!important;
  background:var(--iris-bg,#fff);
  color:var(--iris-text,#211e25);
}
.conversation-screen .conversation-header{
  position:sticky;
  top:0;
  z-index:12;
  flex:0 0 auto;
  display:grid;
  grid-template-columns:76px 1fr 76px;
  align-items:center;
  min-height:64px;
  padding:8px 12px;
  border-bottom:1px solid var(--iris-line,#ebe8ee);
  background:color-mix(in srgb,var(--iris-bg,#fff) 94%,transparent);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.conversation-screen .conversation-header .text-button{
  justify-self:start;
  min-height:40px;
  padding:0 4px;
  border:0;
  background:transparent!important;
  color:var(--iris-accent,#7052e7)!important;
  font:inherit;
  font-size:14px;
}
.conversation-screen .conversation-header .messaging-title{
  grid-column:2;
  justify-self:center;
  margin:0!important;
  max-width:100%;
  overflow:hidden;
  color:var(--iris-text,#211e25)!important;
  font-size:17px;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.conversation-screen .conversation-request-actions:empty,
.conversation-screen .conversation-members:empty{display:none}
.conversation-screen .conversation-request-actions{flex:0 0 auto;margin:0;padding:10px 16px}
.conversation-screen .message-thread{
  display:flex!important;
  flex:1 1 auto;
  flex-direction:column;
  gap:9px;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  padding:16px 12px 18px!important;
  scroll-padding-bottom:90px;
  -webkit-overflow-scrolling:touch;
}
.dm-message-row{
  display:flex;
  align-items:flex-end;
  gap:8px;
  width:100%;
}
.dm-message-row.own-message-row{justify-content:flex-end}
.dm-message-avatar{
  display:block;
  flex:0 0 34px;
  width:34px;
  height:34px;
  padding:0;
  border:0;
  border-radius:50%;
  overflow:hidden;
  background:transparent;
  cursor:pointer;
}
.dm-message-avatar .inbox-avatar{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  flex-basis:34px!important;
  border-radius:50%!important;
}
.dm-message-avatar:active{transform:scale(.96)}
.dm-message-row .message-bubble{
  justify-self:auto!important;
  width:auto;
  max-width:min(76%,420px);
  padding:9px 12px!important;
  border-radius:18px 18px 18px 5px!important;
  background:var(--iris-surface-2,#f3f2f4)!important;
  color:var(--iris-text,#211e25)!important;
  box-shadow:none;
}
.dm-message-row.own-message-row .message-bubble{
  border-radius:18px 18px 5px 18px!important;
  background:var(--iris-accent-soft,#eee9ff)!important;
}
.dm-message-row .message-author{
  display:block;
  margin:0 0 2px;
  color:var(--iris-muted,#817a87)!important;
  font-size:10px;
  font-weight:700;
}
.dm-message-row .message-bubble p{
  margin:0!important;
  font-size:15px;
  line-height:1.38;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.dm-message-row .message-report-button{
  margin-top:6px;
  color:var(--iris-muted,#817a87)!important;
  font-size:10px;
}
.conversation-screen .message-compose{
  position:sticky!important;
  right:auto;
  bottom:calc(66px + env(safe-area-inset-bottom));
  left:auto;
  z-index:14;
  flex:0 0 auto;
  display:flex;
  align-items:flex-end;
  gap:8px;
  width:100%;
  padding:9px 12px 10px!important;
  border-top:1px solid var(--iris-line,#ebe8ee);
  background:color-mix(in srgb,var(--iris-bg,#fff) 96%,transparent)!important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.conversation-screen .message-compose textarea{
  flex:1;
  min-height:44px!important;
  max-height:112px;
  padding:10px 14px!important;
  border:1px solid var(--iris-line,#e3e3e6)!important;
  border-radius:22px!important;
  background:var(--iris-surface,#fff)!important;
  color:var(--iris-text,#211e25)!important;
  font:inherit;
  font-size:15px;
  line-height:1.35;
  resize:none!important;
}
.conversation-screen .message-compose textarea:focus{
  border-color:var(--iris-accent,#7052e7)!important;
  outline:2px solid color-mix(in srgb,var(--iris-accent,#7052e7) 32%,transparent);
  outline-offset:0;
}
.conversation-screen .message-compose .primary{
  flex:0 0 auto;
  min-width:72px;
  min-height:44px!important;
  margin:0!important;
  padding:0 16px;
  border:0;
  border-radius:999px!important;
  background:var(--iris-accent,#7052e7)!important;
  color:#fff!important;
  font-weight:750;
}
@media(max-width:430px){
  .conversation-screen{min-height:calc(100dvh - 64px - env(safe-area-inset-bottom))}
  .conversation-screen .message-compose{bottom:calc(64px + env(safe-area-inset-bottom))}
  .conversation-screen .message-thread{padding-inline:10px!important}
  .dm-message-row .message-bubble{max-width:78%}
}
@media(min-width:700px){
  .conversation-screen{border-inline:1px solid var(--iris-line,#ebe8ee)}
  .conversation-screen .message-compose{bottom:0}
}

/* Chat rooms have no bottom navigation and must never trigger iOS input zoom. */
.conversation-screen{
  min-height:calc(100dvh - env(safe-area-inset-bottom))!important;
  height:calc(100dvh - env(safe-area-inset-bottom));
}
.conversation-screen .message-compose{
  bottom:env(safe-area-inset-bottom)!important;
}
.conversation-screen .message-compose textarea{
  font-size:16px!important;
  -webkit-text-size-adjust:100%;
}
.group-chat-screen{
  min-height:calc(100dvh - env(safe-area-inset-bottom))!important;
  height:calc(100dvh - env(safe-area-inset-bottom));
}
.group-message-thread{
  height:auto!important;
  min-height:0!important;
  flex:1 1 auto;
}
.group-message-compose{
  bottom:env(safe-area-inset-bottom)!important;
}
.group-message-compose textarea,
.group-message-search input{
  font-size:16px!important;
  -webkit-text-size-adjust:100%;
}
@media(max-width:430px){
  .conversation-screen{min-height:calc(100dvh - env(safe-area-inset-bottom))!important;height:calc(100dvh - env(safe-area-inset-bottom))}
  .conversation-screen .message-compose{bottom:env(safe-area-inset-bottom)!important}
  .group-chat-screen{min-height:calc(100dvh - env(safe-area-inset-bottom))!important;height:calc(100dvh - env(safe-area-inset-bottom))}
  .group-message-compose{bottom:env(safe-area-inset-bottom)!important}
}
.account-inactivity-panel .muted{margin:0;color:#6f6f75;font-size:13px;line-height:1.5}.inactivity-policy-label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px;margin-top:15px;font-size:14px;font-weight:700}.inactivity-policy-select{min-width:118px;min-height:42px;padding:0 34px 0 12px;border:1px solid #dddde3;border-radius:11px;background:#fff;color:#171719;font:inherit;font-weight:650}.inactivity-policy-help{margin-top:11px!important}.account-inactivity-panel .notice{margin:10px 0 0;font-size:12px}

/* Profile infinite scroll */
.profile-infinite-status{margin:0;padding:14px 16px 18px;text-align:center;min-height:20px;font-size:13px}
.profile-load-sentinel{width:100%;height:1px;pointer-events:none}

/* Direct messages match the group-chat visual system. */
.conversation-screen .message-thread{
  gap:10px!important;
  max-height:none!important;
  padding:14px 14px 92px!important;
}
.dm-message-row{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:end!important;
  column-gap:8px!important;
  width:max-content!important;
  max-width:86%!important;
  align-self:flex-start!important;
}
.dm-message-row.own-message-row{
  display:flex!important;
  justify-content:flex-end!important;
  width:auto!important;
  max-width:78%!important;
  align-self:flex-end!important;
}
.dm-message-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  max-width:min(72vw,430px);
}
.dm-message-row.own-message-row .dm-message-content{align-items:flex-end}
.conversation-screen .dm-message-avatar{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  overflow:visible!important;
}
.conversation-screen .dm-message-avatar .inbox-avatar{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  flex-basis:34px!important;
  border-radius:50%!important;
  overflow:hidden!important;
}
.dm-message-meta{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:16px!important;
  margin:0 0 4px 3px!important;
  color:var(--iris-muted,#8f8a94)!important;
  font-size:12px!important;
  line-height:1.15!important;
}
.dm-message-sender{
  display:block!important;
  max-width:180px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.15!important;
}
.dm-message-badge{
  width:14px!important;
  height:14px!important;
  flex:0 0 14px!important;
}
.conversation-screen .dm-message-row .message-bubble{
  display:block!important;
  width:fit-content!important;
  min-width:0!important;
  max-width:min(70vw,420px)!important;
  padding:9px 12px!important;
  border-radius:17px 17px 17px 6px!important;
  background:var(--iris-surface-2,#1d1e22)!important;
  color:var(--iris-text,#fff)!important;
  box-shadow:none!important;
}
.conversation-screen .dm-message-row.own-message-row .message-bubble{
  min-width:0!important;
  padding:9px 13px!important;
  border-radius:17px 17px 6px 17px!important;
  background:var(--iris-accent,#8f78ff)!important;
  color:#fff!important;
}
.conversation-screen .dm-message-text,
.conversation-screen .dm-message-row .message-bubble p{
  margin:0!important;
  font-size:16px!important;
  line-height:1.28!important;
  letter-spacing:-.012em!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
}
.dm-message-media{
  display:block!important;
  width:fit-content!important;
  max-width:min(72vw,330px)!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:16px!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.dm-message-media .message-gif{
  display:block!important;
  width:auto!important;
  max-width:min(72vw,330px)!important;
  max-height:340px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:16px!important;
  background:transparent!important;
  box-shadow:none!important;
  object-fit:contain!important;
}
.conversation-screen .message-compose{
  position:fixed!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  z-index:30!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important;
  border-top:1px solid var(--iris-line,#25262b)!important;
  background:color-mix(in srgb,var(--iris-bg,#0d0e10) 96%,transparent)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
.conversation-screen .message-gif-button{
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  padding:0!important;
  border:1px solid var(--iris-line,#2a2b31)!important;
  border-radius:50%!important;
  background:var(--iris-surface,#15161a)!important;
  color:var(--iris-text,#fff)!important;
  font-size:13px!important;
  font-weight:750!important;
}
.conversation-screen .message-compose textarea{
  box-sizing:border-box!important;
  flex:1 1 auto!important;
  width:100%!important;
  height:44px;
  min-height:44px!important;
  max-height:104px!important;
  margin:0!important;
  padding:11px 14px!important;
  border:1px solid var(--iris-line,#2a2b31)!important;
  border-radius:23px!important;
  outline:none!important;
  background:var(--iris-surface,#17181c)!important;
  color:var(--iris-text,#fff)!important;
  font:inherit!important;
  font-size:16px!important;
  line-height:20px!important;
  resize:none!important;
  overflow-y:auto!important;
  -webkit-appearance:none!important;
}
.conversation-screen .message-compose textarea::placeholder{
  color:var(--iris-muted,#72737a)!important;
  opacity:1!important;
}
.conversation-screen .message-compose .primary{
  flex:0 0 auto!important;
  height:44px!important;
  min-height:44px!important;
  min-width:72px!important;
  padding:0 15px!important;
  border:0!important;
  border-radius:23px!important;
  background:var(--iris-accent,#8f78ff)!important;
  color:#fff!important;
  font:inherit!important;
  font-size:15px!important;
  font-weight:750!important;
  box-shadow:none!important;
}
@media(min-width:700px){
  .conversation-screen .message-compose{
    left:50%!important;
    right:auto!important;
    width:min(680px,100%)!important;
    transform:translateX(-50%)!important;
  }
}

/* Post location presentation: bold pin + place label, matching the native-style reference. */
.post-location{
  --post-location-fg:color-mix(in srgb,var(--iris-text,#211e25) 72%,var(--iris-muted,#817a87));
  display:inline-flex;
  align-items:center;
  gap:9px;
  width:max-content;
  max-width:100%;
  min-height:28px;
  margin:9px 0 4px;
  color:var(--post-location-fg);
  font-size:16px;
  font-weight:750;
  line-height:1.25;
  letter-spacing:-.01em;
  text-decoration:none;
}
.post-location-icon{display:grid;place-items:center;flex:0 0 22px;width:22px;height:26px;color:currentColor}
.post-location-icon svg{display:block;width:22px;height:26px}
.post-location-label{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-location[href]{cursor:pointer}
.post-location[href]:hover,.post-location[href]:focus-visible{color:var(--iris-accent,#7052e7);text-decoration:none}
.post-location[href]:focus-visible{outline:2px solid color-mix(in srgb,var(--iris-accent,#7052e7) 38%,transparent);outline-offset:3px;border-radius:7px}
.home-post .post-location{margin-top:8px}
@media(max-width:380px){.post-location{gap:9px;font-size:16px}.post-location-icon,.post-location-icon svg{width:22px}.post-location-icon{flex-basis:22px}}

/* Account Center channel management */
.account-channel-create{display:grid;gap:10px;margin:12px 0 16px}
.account-channel-create label{display:grid;gap:6px;font-weight:600}
.account-channel-create input,.account-channel-create textarea{width:100%;box-sizing:border-box;border:1px solid var(--iris-line,#e5e0e4);border-radius:12px;padding:11px 12px;background:var(--iris-bg,#fff);color:var(--iris-text,#111);font:inherit}
.account-channel-list{display:grid;gap:10px}
.account-channel-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--iris-line,#e5e0e4)}
.account-channel-copy{display:flex;min-width:0;flex-direction:column;gap:2px}
.account-channel-copy small{color:var(--iris-muted,#81777d)}
.account-channel-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}

/* Iris channel discovery and detail */
.account-channel-open{border:0;padding:0;background:transparent;color:var(--iris-text,#111);font:inherit;font-weight:700;text-align:left;cursor:pointer}
.channel-pane{padding:0!important;border:0!important;box-shadow:none!important;background:var(--iris-bg,#eef2f5)!important}
.channel-screen{position:relative;min-height:100dvh;max-width:720px;margin:0 auto;padding:0 10px 34px;background-color:var(--iris-bg,#eef2f5);background-image:radial-gradient(circle at 18% 24%,color-mix(in srgb,var(--iris-accent,#7052e7) 5%,transparent) 0 1px,transparent 1.4px),radial-gradient(circle at 78% 38%,color-mix(in srgb,var(--iris-muted,#817a87) 7%,transparent) 0 1px,transparent 1.4px);background-size:30px 30px,36px 36px;color:var(--iris-text,#20242a)}
.channel-header{position:sticky;top:0;z-index:15;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:7px;min-height:58px;margin:0 -10px;padding:6px 10px;border-bottom:1px solid color-mix(in srgb,var(--iris-line,#d8dde3) 88%,transparent);background:color-mix(in srgb,var(--iris-surface,#fff) 93%,transparent);backdrop-filter:blur(20px)}
.channel-back{display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--iris-accent,#168acd);font:inherit;font-size:32px;line-height:1;cursor:pointer}
.channel-heading{display:grid;gap:1px;min-width:0;text-align:center}.channel-heading h2,.channel-heading p{margin:0}.channel-heading h2{overflow:hidden;font-size:16px;font-weight:760;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.channel-heading p{overflow:hidden;color:var(--iris-muted,#7b858e)!important;font-size:11px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.channel-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(145deg,color-mix(in srgb,var(--iris-accent,#7052e7) 72%,#fff),var(--iris-accent,#7052e7));color:#fff;font-size:16px;font-weight:800;box-shadow:0 1px 3px #0002}
.channel-actions{display:flex;justify-content:center;gap:8px;margin:7px auto 0}.channel-actions .quiet{min-height:32px;padding:0 13px;border:0;border-radius:999px;background:color-mix(in srgb,var(--iris-surface,#fff) 88%,transparent);color:var(--iris-accent,#168acd);font-size:12px;font-weight:750;box-shadow:0 1px 2px #00000010}
.channel-about{max-width:88%;margin:8px auto 2px;padding:6px 10px;border-radius:11px;background:color-mix(in srgb,var(--iris-surface,#fff) 84%,transparent);color:var(--iris-muted,#6f7982);font-size:11px;line-height:1.35;text-align:center;box-shadow:0 1px 2px #0000000d}
.channel-status{min-height:15px;margin:4px auto 0;color:var(--iris-muted,#77818a);font-size:10px;text-align:center}
.channel-posts{display:flex;flex-direction:column;gap:7px;padding:9px 0 36px}.channel-empty{align-self:center;margin-top:22vh;padding:7px 12px;border-radius:999px;background:color-mix(in srgb,var(--iris-surface,#fff) 84%,transparent);color:var(--iris-muted,#7d858d);font-size:12px}
.telegram-channel-message{display:block;width:min(91%,560px);align-self:flex-start}
.telegram-channel-message .home-post.feed-item{position:relative;display:block!important;grid-template-columns:none!important;margin:0!important;padding:8px 9px 7px!important;border:0!important;border-radius:16px 16px 16px 5px!important;background:var(--iris-surface,#fff)!important;color:var(--iris-text,#20242a)!important;box-shadow:0 1px 1px #00000014!important;overflow:hidden}
.telegram-channel-message .home-avatar-button{display:none!important}
.telegram-channel-message .home-post-body{min-width:0!important}
.telegram-channel-message .home-post-heading{position:absolute!important;right:9px!important;bottom:6px!important;z-index:3!important;display:flex!important;justify-content:flex-end!important;min-height:0!important;margin:0!important;pointer-events:none}
.telegram-channel-message .home-author,.telegram-channel-message .home-post-menu{display:none!important}
.telegram-channel-message .home-post-time{color:var(--iris-muted,#8a9299)!important;font-size:9.5px!important}
.telegram-channel-message .post-caption{margin:2px 0 7px!important;padding-right:28px!important;font-size:15.5px!important;line-height:1.3!important}
.telegram-channel-message .carousel-frame{margin:0 0 7px!important;border-radius:12px!important;overflow:hidden!important;background:#000!important}
.telegram-channel-message .carousel-track .post-image{border-radius:0!important}
.telegram-channel-message .post-actions{display:block!important;min-height:0!important;margin:4px -9px -7px!important}
.telegram-channel-message .post-actions>button{display:none!important}
.telegram-channel-message .post-actions>.home-replies{display:flex!important;justify-content:space-between!important;width:100%!important;min-height:34px!important;margin:0!important;padding:7px 10px!important;border-top:1px solid var(--iris-line,#edf0f2)!important;background:transparent!important;color:var(--iris-accent,#168acd)!important;font-size:12px!important;font-weight:700!important}
.telegram-channel-message .home-replies::before{display:none!important}
.telegram-channel-message .post-comments{margin:7px -9px -7px!important;padding:9px!important;border-top:1px solid var(--iris-line,#edf0f2)!important;background:var(--iris-surface,#fff)!important}
.telegram-channel-message .post-channel-tag,.telegram-channel-message .post-location{display:none!important}
@media(min-width:700px){.channel-screen{border-right:1px solid var(--iris-line,#dde1e6);border-left:1px solid var(--iris-line,#dde1e6)}}

/* Message reply + like interactions. */
.iris-message-reply-draft[hidden],.iris-message-like[hidden]{display:none!important}
.iris-message-reply-draft{box-sizing:border-box;display:flex;align-items:center;gap:10px;flex:1 0 100%;grid-column:1/-1;width:100%;min-width:0;padding:7px 9px;border:1px solid var(--iris-line,#ded9e0);border-left:3px solid var(--iris-accent,#7052e7);border-radius:12px;background:var(--iris-surface-2,#f5f3f7);color:var(--iris-text,#211e25)}
.iris-message-reply-draft-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}
.iris-message-reply-draft-name{overflow:hidden;color:var(--iris-accent,#7052e7);font-size:12px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}
.iris-message-reply-draft-text{overflow:hidden;color:var(--iris-muted,#817a87);font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.iris-message-reply-draft-close{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:var(--iris-muted,#817a87);font:inherit;font-size:22px;line-height:1}
.conversation-screen .message-compose{flex-wrap:wrap!important}
.iris-message-reply-quote{box-sizing:border-box;display:flex;width:min(100%,360px);min-width:0;flex-direction:column;align-items:flex-start;gap:2px;margin:0 0 4px;padding:6px 9px;border:0;border-left:3px solid var(--iris-accent,#7052e7);border-radius:9px;background:color-mix(in srgb,var(--iris-accent,#7052e7) 7%,var(--iris-surface,#fff));color:inherit;text-align:left;font:inherit;cursor:pointer}
.iris-message-reply-quote-name{max-width:100%;overflow:hidden;color:var(--iris-accent,#7052e7);font-size:11px;font-weight:780;text-overflow:ellipsis;white-space:nowrap}
.iris-message-reply-quote-text{display:block;width:100%;overflow:hidden;color:var(--iris-muted,#817a87);font-size:11.5px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.own-message-row .iris-message-reply-quote,.group-message.own .iris-message-reply-quote{align-self:flex-end}
.iris-message-like{display:inline-flex;align-items:center;min-height:18px;margin:2px 4px 0;padding:1px 6px;border:1px solid var(--iris-line,#ded9e0);border-radius:999px;background:var(--iris-surface,#fff);color:var(--iris-muted,#817a87);font-size:11px;font-weight:750;line-height:1}
.iris-message-like.is-mine{border-color:color-mix(in srgb,var(--iris-accent,#7052e7) 36%,var(--iris-line,#ded9e0));color:var(--iris-accent,#7052e7)}
.own-message-row .iris-message-like,.group-message.own .iris-message-like{align-self:flex-end}
.dm-message-row,.group-message{-webkit-touch-callout:none;touch-action:manipulation}
.iris-message-hold-feedback{transform:scale(.985);transition:transform .12s ease}
.iris-message-like-pop .message-bubble,.iris-message-like-pop .group-message-bubble,.iris-message-like-pop .dm-message-media,.iris-message-like-pop .group-message-media{animation:iris-message-like-pop .24s ease}
.iris-message-jump-highlight .message-bubble,.iris-message-jump-highlight .group-message-bubble,.iris-message-jump-highlight .dm-message-media,.iris-message-jump-highlight .group-message-media{animation:iris-message-jump .9s ease}
@keyframes iris-message-like-pop{0%{transform:scale(1)}45%{transform:scale(1.045)}100%{transform:scale(1)}}
@keyframes iris-message-jump{0%,100%{box-shadow:none}35%{box-shadow:0 0 0 3px color-mix(in srgb,var(--iris-accent,#7052e7) 38%,transparent)}}
.conversation-screen:has(.iris-message-reply-draft:not([hidden])) .message-thread{padding-bottom:148px!important}
.telegram-group-chat:has(.iris-message-reply-draft:not([hidden])) .group-message-thread{padding-bottom:148px!important}


/* Message footer alignment v1 — reactions live bottom-left, Report bottom-right, avatar stays beside the actual reply. */
.iris-message-footer{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:22px;margin-top:2px}
.iris-message-like-slot{box-sizing:border-box;display:flex;flex:0 0 auto;align-items:center;min-height:20px;margin:0}
.own-message-row .iris-message-footer,.group-message.own .iris-message-footer{justify-content:flex-end}
.dm-message-row:not(.own-message-row){grid-template-columns:34px minmax(0,1fr)!important;align-items:end!important;position:relative!important}
.conversation-screen .dm-message-row:not(.own-message-row)>.dm-message-avatar{align-self:end!important;margin-bottom:24px!important}
.dm-message-row .iris-message-footer .message-report-button{align-self:center!important;margin:0 0 0 auto!important;padding:2px 1px!important;border:0!important;background:transparent!important;color:var(--iris-muted,#817a87)!important;font-size:10px!important;line-height:1!important}
.dm-message-row .iris-message-footer .message-report-button:active{opacity:.55}

/* Message reactions alongside likes: preserve report control on the far right. */
.iris-message-like-slot{gap:5px!important}.iris-message-reaction-trigger{display:inline-flex!important;align-items:center;justify-content:center;border:0;background:transparent;color:inherit;font-size:19px;line-height:1;min-width:28px;min-height:26px;padding:2px 4px;cursor:pointer;opacity:.85}.iris-message-reaction-trigger:active{transform:scale(.94)}

.iris-message-like{display:flex;align-items:center;flex-wrap:wrap}.iris-message-reaction-pill{white-space:nowrap}

/* Minimal, borderless reactions; do not alter message bubbles or themes. */
.iris-message-like,.iris-message-like.is-mine,.own-message-row .iris-message-like,.group-message.own .iris-message-like{border:0!important;border-color:transparent!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:2px 0 0!important;min-height:19px!important;color:inherit!important}
.iris-message-reaction-pill,.iris-message-reaction-pill.is-mine{border:0!important;outline:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0 4px 0 0!important;margin-right:2px!important;font-size:17px!important;line-height:1.2!important}
.iris-message-like-slot{background:transparent!important;border:0!important;box-shadow:none!important}


/* Profile privacy: no private media is sent to unapproved visitors. */
.iris-private-glass{position:relative;isolation:isolate;overflow:hidden;min-height:290px;margin:16px 12px 28px;padding:65px 18px 28px;text-align:center;border:1px solid rgba(255,255,255,.34);border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.19),rgba(130,130,145,.13));box-shadow:0 12px 40px rgba(0,0,0,.11),inset 0 1px rgba(255,255,255,.33);backdrop-filter:blur(26px) saturate(170%);-webkit-backdrop-filter:blur(26px) saturate(170%)}
.iris-private-glass-fog{position:absolute;z-index:-1;inset:0;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:8px;filter:blur(14px);opacity:.4;pointer-events:none}
.iris-private-placeholder{background:linear-gradient(145deg,rgba(185,185,200,.65),rgba(90,95,125,.24));border-radius:8px}
.iris-private-lock-icon{font-size:29px;line-height:1.5}
.iris-private-glass h3{font-size:18px;font-weight:700;margin:8px 0}
.iris-private-glass p{font-size:13px;line-height:1.55;margin:0 auto;max-width:270px}

.isa-privacy-actions{display:flex;gap:6px;align-items:center}.isa-privacy-actions button{font-size:12px;padding:7px 9px}

/* Locked feed: blurred, non-interactive visual approximation, not leaked private media. */
.iris-private-feed-glass{position:relative;width:100%;min-height:410px;overflow:hidden;isolation:isolate;background:var(--iris-bg,transparent);border-radius:0}
.iris-private-mosaic{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:130px;gap:3px;filter:blur(26px) saturate(170%);transform:scale(1.11);opacity:.68;pointer-events:none}
.iris-private-mosaic-tile{background:linear-gradient(calc(65deg + var(--tile-index)*17deg),rgba(123,144,176,.64),rgba(191,163,184,.46) 48%,rgba(92,108,137,.8));border-radius:3px}
.iris-private-mosaic-tile:nth-child(4n){background:linear-gradient(120deg,rgba(172,137,132,.8),rgba(89,108,113,.8))}
.iris-private-mosaic-tile:nth-child(3n){background:linear-gradient(35deg,rgba(91,111,153,.8),rgba(184,180,170,.8))}
.iris-private-glass-layer{position:absolute;inset:0;background:rgba(100,107,121,.18);backdrop-filter:blur(46px) saturate(135%);-webkit-backdrop-filter:blur(46px) saturate(135%);pointer-events:none}
.iris-private-feed-message{position:relative;z-index:2;display:flex;align-items:center;flex-direction:column;justify-content:flex-start;text-align:center;padding:66px 20px 30px;min-height:360px;color:inherit}
.iris-private-feed-lock{width:78px;height:78px;border:2px solid currentColor;border-radius:50%;font-size:0;position:relative;margin-bottom:25px}
.iris-private-feed-lock:before{content:'';position:absolute;left:27px;top:16px;width:21px;height:27px;border:2px solid currentColor;border-radius:14px 14px 0 0}
.iris-private-feed-lock:after{content:'';position:absolute;left:22px;top:36px;width:31px;height:24px;border:2px solid currentColor;border-radius:5px;background:rgba(90,90,100,.2)}
.iris-private-feed-message h3{margin:0 0 19px;font-size:19px;font-weight:700}
.iris-private-feed-message p{font-size:14px;line-height:1.55;max-width:285px;margin:0;opacity:.8}

/* The privacy glass is the entire feed surface, not a finite placeholder card. */
.core-profile.iris-private-profile-locked{min-height:0;display:flex;flex:1 1 auto;flex-direction:column}
.core-profile.iris-private-profile-locked>.profile-content{display:flex;flex:1 1 auto;min-height:0;background:transparent;padding-bottom:0!important}
.core-profile.iris-private-profile-locked .iris-private-feed-glass{height:100%;min-height:0;flex:1 1 auto;margin:0!important;border-radius:0!important}
.core-profile.iris-private-profile-locked .iris-private-mosaic{grid-auto-rows:minmax(130px,1fr);grid-template-rows:repeat(12,minmax(130px,1fr))}
.core-profile.iris-private-profile-locked .iris-private-glass-layer{inset:0}

/* Non-follower private profile is a single static viewport.
   Keep native Follow and Message buttons operational; tabs and scroll are locked. */
.profile-pane.iris-private-static-pane{
  overflow:hidden!important;overscroll-behavior:none!important;
  touch-action:pan-x!important;height:auto!important;max-height:none!important;
  min-height:0!important;display:flex!important;flex:1 1 auto!important;
}
.profile-pane.iris-private-static-pane .core-profile-head,
.profile-pane.iris-private-static-pane .profile-identity,
.profile-pane.iris-private-static-pane .profile-tabs{
  position:relative!important;
  z-index:3!important;
}
.profile-pane.iris-private-static-pane .core-profile.iris-private-profile-locked{
  height:auto!important;max-height:none!important;min-height:0!important;
  overflow:hidden!important;overscroll-behavior:none!important;
}
.profile-pane.iris-private-static-pane .core-profile.iris-private-profile-locked>.profile-content{
  position:relative!important;
  z-index:1!important;
  flex:1 1 auto!important;min-height:0!important;overflow:visible!important;
  background:transparent!important;
}
.profile-pane.iris-private-static-pane .iris-private-feed-glass{
  position:fixed!important;
  z-index:2!important;
  top:var(--iris-private-glass-top,100%);right:0;bottom:0;left:0;
  width:100%!important;height:auto!important;min-height:0!important;
  overflow:hidden!important;
}
.profile-pane.iris-private-static-pane .profile-tabs .profile-tab{
  cursor:default!important;pointer-events:none!important;opacity:1!important;
}
.profile-pane.iris-private-static-pane .iris-private-feed-message{
  padding-top:clamp(18px,5vh,58px)!important;min-height:0!important;
}


/* Locked private feed: the glass is the single surface below the tabs. */
.profile-pane.iris-private-static-pane .core-profile.iris-private-profile-locked > .profile-content{
  background:transparent!important;
  border:0!important;
}
.profile-pane.iris-private-static-pane .core-profile.iris-private-profile-locked .iris-private-feed-glass{
  background:var(--iris-private-glass-bg,var(--iris-bg))!important;
  border:0!important;
  box-shadow:none!important;
}
.profile-pane.iris-private-static-pane .core-profile.iris-private-profile-locked .profile-tabs{
  border-bottom-color:rgba(112,109,138,.5)!important;
}

/* The shell/app become the private profile viewport. The nav stays fixed above it,
   so no padding or footer layer can create a second surface below the glass. */
body:has(.profile-pane.iris-private-static-pane) .shell{
  --iris-private-glass-bg:color-mix(in srgb,var(--iris-bg) 72%,var(--iris-surface-2) 28%);
  height:100dvh!important;
  min-height:100dvh!important;
  padding-bottom:0!important;
  position:relative;
  z-index:1;
}
body:has(.profile-pane.iris-private-static-pane) #app{
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
}
body:has(.profile-pane.iris-private-static-pane) #app>#pane{
  min-height:0!important;
}
html:has(.profile-pane.iris-private-static-pane),
body:has(.profile-pane.iris-private-static-pane){
  background:var(--iris-bg)!important;
}

/* Published video cover editor: neutral surfaces with theme accents. */
.post-edit-cover-host{padding:0 20px 16px}.post-video-covers h3{margin:8px 0;font-size:17px}.post-cover-hint{margin:0 0 12px;font-size:13px;line-height:1.45;color:var(--iris-muted,#746f79)}.post-cover-rail{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px}.post-cover-video{flex:0 0 92px;display:flex;flex-direction:column;gap:4px;align-items:stretch;padding:6px;border:1px solid var(--iris-line,#ddd);border-radius:13px;background:var(--iris-surface,#fff);color:var(--iris-text,#211e25);font:inherit;text-align:left}.post-cover-video[aria-pressed=true]{border-color:var(--iris-accent,#7052e7);box-shadow:0 0 0 1px var(--iris-accent,#7052e7)}.post-cover-thumb{height:80px;display:grid;place-items:center;border-radius:8px;overflow:hidden;background:var(--iris-surface-2,#f7f7f8)}.post-cover-thumb img{width:100%;height:100%;object-fit:cover}.post-cover-placeholder{color:var(--iris-muted,#746f79)}.post-cover-video-label{font-size:13px;font-weight:700}.post-cover-video-action{font-size:11px;color:var(--iris-accent,#7052e7)}.post-cover-panel{padding-top:14px}.post-cover-panel[hidden]{display:none}.post-cover-label{display:block;margin-bottom:8px;font-size:14px}.post-cover-preview{display:block;width:100%;height:190px;object-fit:contain;border-radius:14px;background:#101012}.post-cover-timeline{display:grid;gap:8px;margin-top:12px;font-size:13px}.post-cover-timeline input{width:100%;height:36px;accent-color:var(--iris-accent,#7052e7)}.post-cover-time{font-variant-numeric:tabular-nums;color:var(--iris-muted,#746f79)}.post-cover-use{width:100%;min-height:44px;border:0;border-radius:999px;background:var(--iris-accent,#7052e7);color:#fff;font:inherit;font-size:14px;font-weight:700}.post-cover-use:disabled{opacity:.45}.post-cover-status{font-size:12px;line-height:1.4;min-height:18px;color:var(--iris-muted,#746f79)}.post-edit-form:has(.post-video-covers) .post-edit-input{min-height:100px;resize:none}.post-edit-form:has(.post-video-covers) .post-edit-actions{position:sticky;bottom:0;background:var(--iris-surface,#fff);z-index:2}

.post-edit-form:has(.post-video-covers) .post-edit-close{color:var(--iris-text,#211e25)}.post-edit-form:has(.post-video-covers) .post-edit-head{border-color:var(--iris-line,#ece8ef)}
