/* INDIEVERSE Step 8: authenticated app shell and real user feed */
.iv9-main>.iv9-hero{display:none!important}.iv-social-shell{padding-top:18px}.iv9-home-header,.iv9-shortcuts,.iv9-section-title,.iv9-topic-grid,.iv9-community-banner,.iv9-roadmap{display:none!important}
.iv-feed-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px;gap:12px}.iv-feed-top h2{font-size:27px;margin:0}.iv-feed-top p{color:#9fa8c2;margin:5px 0}.iv-feed-panel,.iv-post,.iv-feed-tabs{background:linear-gradient(145deg,#161c33,#0b1122);border:1px solid #27344f;border-radius:18px}.iv-feed-panel{padding:18px;margin-bottom:16px}.iv-compose-head{display:flex;align-items:center;gap:10px;font-weight:800;color:#eef1ff}.iv-feed-avatar{width:43px;height:43px;object-fit:cover;border-radius:50%;flex:none;border:1px solid #465473}.iv-feed-fallback{display:grid;place-items:center;background:linear-gradient(135deg,#fe821c,#9a2cd0)}.iv-feed-panel textarea{resize:vertical;width:100%;min-height:88px;background:#090e20;border:1px solid #2d3651;border-radius:12px;padding:14px;color:white;margin:14px 0 8px;outline-color:#31cee1}.iv-compose-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.iv-compose-tools select,.iv-photo-button{background:#141c30;color:#e9efff;border:1px solid #36405b;border-radius:9px;padding:10px 13px;cursor:pointer}.iv-compose-tools .primary{margin-left:auto}.iv-photo-button input{display:none}.iv-composer-status{color:#9ddfcf;font-size:12px;padding-top:8px;overflow-wrap:anywhere}.iv-feed-tabs{display:flex;gap:5px;padding:6px;overflow-x:auto;margin:12px 0;scrollbar-width:thin}.iv-feed-tabs button{background:transparent;border:0;color:#aebad2;padding:10px 14px;border-radius:8px;white-space:nowrap;font-weight:750}.iv-feed-tabs button.active{background:linear-gradient(100deg,#ff912d,#df2eaa);color:white}.iv-post{padding:18px;margin:13px 0}.iv-post-head{display:flex;align-items:center;gap:11px}.iv-post-author{display:flex;flex:1;flex-direction:column;min-width:0;gap:4px}.iv-post-author b{color:white}.iv-post-author span{font-size:12px;color:#a8b1c8;overflow-wrap:anywhere}.iv-pill{background:#1d2842;border:1px solid #3b4661;border-radius:20px;color:#ffb06c;padding:8px 12px;font-weight:700}.iv-post-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:16px 0;color:#e4e9fb}.iv-post-media{display:block;max-width:100%;width:100%;max-height:520px;object-fit:contain;border-radius:14px;background:#080c1c;margin:12px 0}.iv-post-topic{font-size:12px;color:#70ddec;margin:10px 0}.iv-post-actions{border-top:1px solid #29314a;display:flex;justify-content:space-around;gap:5px;padding-top:12px}.iv-post-actions button{background:transparent;color:#c5cbe0;border:0;padding:9px 6px}.iv-post-actions button:hover{color:#ff9950}.iv-comments{border-top:1px solid #29314a;padding-top:12px}.iv-comment{display:flex;align-items:flex-start;gap:9px;margin:8px 0}.iv-comment .iv-feed-avatar{width:30px;height:30px}.iv-comment p{margin:0;font-size:13px;line-height:1.5}.iv-comment-form{display:flex;gap:8px;margin:13px 0 0}.iv-comment-form input{background:#080d1b;color:#fff;border:1px solid #39435e;border-radius:10px;padding:10px;flex:1;min-width:0}.iv-comment-form button,.iv-more{background:linear-gradient(90deg,#ff8130,#ca3dba);color:white;font-weight:800;border:0;border-radius:10px;padding:9px 16px}.iv-empty{padding:55px 20px;text-align:center;border:1px dashed #324463;border-radius:18px;color:#a6b1ce}.iv-empty:first-line{font-size:36px;color:#fda449}.iv-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.iv-service-card{background:linear-gradient(115deg,#19213a,#101425);border:1px solid #343c59;color:white;border-radius:14px;padding:12px;display:flex;align-items:center;gap:9px;text-align:left;font-size:13px;font-weight:750}.iv-service-card span{font-size:20px}.iv-service-card:hover{border-color:#ff9748}.iv-live-label{font-size:11px;color:#68e3b6}.iv-coming-label{font-size:11px;color:#a1a8bc}.iv-service-page{min-height:340px}.iv-service-page .iv-feed-panel{padding:26px}.iv-service-page p{max-width:560px;line-height:1.7;color:#bdc6df}.iv-service-page a{color:#ffa34d}.iv-feed-status{font-size:13px;color:#ffc08d;min-height:18px}.iv9-right .iv9-sidecard{margin-bottom:14px}.iv9-right .iv-service-grid{grid-template-columns:1fr}.iv-action-mobile{display:none}
@media(max-width:720px){.iv-social-shell{padding:10px 12px 90px!important}.iv-feed-top h2{font-size:23px}.iv-feed-panel,.iv-post{padding:14px;border-radius:13px}.iv-social-shell .content{min-width:0}.iv-compose-tools .primary{margin-left:0}.iv-feed-tabs{margin-left:-4px;margin-right:-4px}.iv-action-mobile{display:block}.iv-post-media{max-height:450px}.bottom{background:#09101eeF!important;backdrop-filter:blur(18px);border-top:1px solid #353859!important}.bottom button{font-size:20px!important}}

/* INDIEVERSE V8.2: Service rail, moods and mobile app shell */
.iv9-right{position:sticky;top:86px;max-height:calc(100dvh - 100px);overflow:auto;scrollbar-width:thin;scrollbar-color:#564565 transparent}.iv-rail{border:1px solid #383858;border-radius:23px;padding:14px;background:linear-gradient(160deg,#16132b,#0b1126 57%,#1c102c);box-shadow:0 18px 44px #0005}.iv-rail-title{padding:10px 7px 15px}.iv-rail-eyebrow{font-size:10px;letter-spacing:1.9px;color:#ffae70;font-weight:900}.iv-rail-title h3{font-size:22px;line-height:1.12;margin:10px 0}.iv-rail-title em{font-style:normal;background:linear-gradient(90deg,#ffad38,#f94cac,#9c6bff);background-clip:text;color:transparent}.iv-rail-title p{font-size:12px;color:#aeb0ce;margin:0}.iv-rail-services{display:grid;gap:9px}.iv-rail-card{--rail-accent:#ff8e51;appearance:none;border:1px solid color-mix(in srgb,var(--rail-accent) 37%,#26304b);border-radius:15px;width:100%;display:flex;align-items:center;gap:10px;text-align:left;color:#fff;min-height:68px;padding:10px;background:radial-gradient(ellipse at 0 50%,color-mix(in srgb,var(--rail-accent) 16%,transparent),transparent 75%),#101629;transition:transform .18s,box-shadow .18s,border-color .18s}.iv-rail-card:hover,.iv-rail-card:focus-visible{transform:translateY(-2px);border-color:var(--rail-accent);box-shadow:0 5px 28px color-mix(in srgb,var(--rail-accent) 24%,transparent)}.iv-rail-icon{font-size:23px;display:grid;place-items:center;background:color-mix(in srgb,var(--rail-accent) 18%,#121726);width:42px;height:42px;flex:none;border-radius:12px;box-shadow:inset 0 0 16px color-mix(in srgb,var(--rail-accent) 12%,transparent)}.iv-rail-copy{min-width:0;display:grid;gap:4px;flex:1}.iv-rail-copy strong{font-size:12px}.iv-rail-copy small{font-size:10px;line-height:1.35;color:#abb2cc}.iv-rail-arrow{color:var(--rail-accent);font-size:15px}.iv-rail-notice{margin-top:13px;padding:16px;border-radius:16px;background:linear-gradient(110deg,#2a2147,#1c2540);display:grid;gap:7px}.iv-rail-notice>span{font-size:24px}.iv-rail-notice strong{font-size:13px}.iv-rail-notice small{color:#b9c4df;line-height:1.5}.iv-mood-trigger{display:flex;gap:7px;align-items:center;justify-content:center;color:#ffe1bd;border:1px solid #8a548c;border-radius:12px;padding:10px 15px;background:linear-gradient(110deg,#352242,#251a3e);cursor:pointer;font-weight:750}.iv-mood-picker{border:1px solid #65416c;border-radius:16px;background:linear-gradient(150deg,#201831,#111a30);margin-top:12px;padding:14px}.iv-mood-picker[hidden]{display:none}.iv-mood-head{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:12px}.iv-mood-head span{color:#b7a9d0;font-size:12px}.iv-mood-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;max-height:270px;overflow:auto}.iv-mood-option{min-width:0;background:#121a31;border:1px solid #384366;border-radius:12px;display:grid;place-items:center;gap:3px;padding:8px 3px;color:#cdd6eb}.iv-mood-option:hover,.iv-mood-option:focus-visible{border-color:#ff8c53;background:#2c2240}.iv-mood-option span{font-size:26px}.iv-mood-option small{font-size:10px}.iv-mobile-services{display:none}.iv-mobile-service-strip{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:4px 0 6px}.iv-mobile-service-strip button{display:grid;gap:6px;justify-items:center;background:linear-gradient(155deg,#20233b,#0e1425);border:1px solid #37405e;color:white;border-radius:15px;min-width:77px;padding:11px 6px}.iv-mobile-service-strip button>span{font-size:24px}.iv-mobile-service-strip button small{font-size:10px}.iv-mobile-services-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 9px}.iv-mobile-services-title button{background:transparent;border:0;color:#ffad6d}
@media(min-width:1150px){.shell{grid-template-columns:175px minmax(0,1fr) 290px!important;gap:18px!important}}@media(max-width:1050px){.iv9-right{display:none!important}}@media(max-width:720px){.iv-mobile-services{display:block;margin:0 0 14px}.iv-feed-top{padding:0 3px}.iv-mood-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.iv-mood-option span{font-size:23px}.iv-mood-option small{font-size:9px}.iv-compose-tools{gap:8px}.iv-compose-tools .primary{width:100%;min-height:44px}.iv-mood-trigger{min-height:42px}.iv-feed-panel{margin-bottom:14px}.iv-feed-tabs{position:sticky;top:64px;z-index:5;backdrop-filter:blur(18px);background:#0d1225ef}.bottom{z-index:30;box-shadow:0 -12px 32px #0008}.bottom button{min-width:58px;min-height:46px}.iv-social-shell{padding-bottom:110px!important}}
@media(prefers-reduced-motion:reduce){.iv-rail-card{transition:none}}

/* V8.3 feed-first mobile shell, image lightbox and video UX */
.iv-post-media-open{display:block;width:100%;border:0;padding:0;background:transparent;border-radius:12px;overflow:hidden;cursor:zoom-in}.iv-post-media-open .iv-post-media{width:100%;height:auto;display:block;object-fit:contain;max-height:650px}.iv-image-lightbox:not([hidden]){position:fixed;z-index:10000;inset:0;background:rgba(1,2,9,.97);display:flex;align-items:center;justify-content:center;padding:56px 12px 20px}.iv-image-lightbox img{max-width:100%;max-height:100%;object-fit:contain}.iv-image-lightbox>button{position:absolute;right:20px;top:15px;border:0;border-radius:50%;background:#292a40;color:white;font-size:25px;width:44px;height:44px;cursor:pointer}.iv-post-video{width:100%;max-height:650px;background:#000;border-radius:12px;display:block;margin:12px auto}.iv-video-embed{width:100%;min-height:180px;aspect-ratio:16/9;background:linear-gradient(140deg,#241537,#131d32);border:1px solid #494368;border-radius:13px;display:grid;place-items:center;margin:12px 0;overflow:hidden}.iv-video-embed iframe{width:100%;height:100%;border:0}.iv-video-play{border:1px solid #8e5dcb;border-radius:99px;background:linear-gradient(110deg,#fa782a,#b735b4);color:white;padding:13px 20px;font-weight:750;cursor:pointer}.iv-video-external{display:flex;gap:12px;align-items:center;background:#131b30;border:1px solid #465071;border-radius:12px;padding:15px;color:#f6e8ff;text-decoration:none;margin:12px 0}.iv-video-external small{color:#9ca9c9;margin-left:auto}.iv-video-link-label{display:flex;align-items:center;gap:4px;max-width:100%;color:#dfc7fb}.iv-video-link-label input{width:min(300px,45vw);min-width:155px;border:1px solid #3a4266;border-radius:9px;background:#0a1020;color:white;padding:9px}.iv-video-name{color:#a8b5cf;font-size:12px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iv-mobile-compose-head,.iv-mobile-fab{display:none}.iv-modal-open{overflow:hidden}
@media(max-width:720px){.iv-feed-top{display:none!important}.iv-social-shell{padding-top:2px!important}.iv-social-shell #ivPostForm{display:none!important}.iv-social-shell #ivPostForm.iv-composer-open{display:block!important;position:fixed;inset:0 0 0 0;z-index:200;overflow-y:auto;background:linear-gradient(170deg,#15172b,#070b16);border:0;border-radius:0;margin:0;padding:calc(env(safe-area-inset-top,0px) + 18px) 17px calc(env(safe-area-inset-bottom,0px) + 24px);box-shadow:0 0 0 100vmax #0008}.iv-mobile-compose-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;font-size:20px}.iv-mobile-compose-head button{min-width:44px;min-height:44px;border:1px solid #475072;border-radius:50%;background:#161a2c;color:white;font-size:21px}.iv-composer-open textarea{min-height:140px}.iv-composer-open .iv-compose-tools{display:flex;flex-wrap:wrap;gap:8px}.iv-composer-open .iv-compose-tools>.primary{width:100%;margin-top:10px}.iv-composer-open .iv-video-link-label{order:8;width:100%}.iv-composer-open .iv-video-link-label input{flex:1;width:100%;min-width:0}.iv-mobile-fab{display:grid;position:fixed;z-index:50;bottom:calc(77px + env(safe-area-inset-bottom,0px));right:18px;width:56px;height:56px;border:0;border-radius:19px;place-items:center;font-size:36px;font-weight:300;line-height:1;color:white;background:linear-gradient(130deg,#ff8629,#e34272 59%,#9138d5);box-shadow:0 8px 35px #c449a266;cursor:pointer}.iv-mobile-services{margin-bottom:5px!important}.iv-mobile-services-title{margin-bottom:8px!important}.iv-post{margin-bottom:10px!important;padding:12px 10px!important}.iv-feed-tabs{margin-top:6px!important}.iv-post-media-open .iv-post-media{max-height:70vh}.iv-post-video{max-height:70vh}.iv-video-external{overflow-wrap:anywhere}.iv-image-lightbox:not([hidden]){z-index:400}}

/* Step 8.4: readable attribution for reposts and quotes */
.iv-repost-label{font-size:12px;color:#aeb8d8;font-weight:750;margin-bottom:9px}
.iv-source-post{margin:10px 0 12px;border:1px solid #405274;background:linear-gradient(145deg,#151b31,#0b1020);border-radius:14px;padding:12px;overflow:hidden}
.iv-source-author{display:flex;align-items:center;gap:9px;margin-bottom:8px}.iv-source-author .iv-feed-avatar{width:34px;height:34px;flex-shrink:0}.iv-source-author span{display:flex;flex-direction:column;gap:2px}.iv-source-author small{font-size:12px;color:#b9bed3}.iv-source-post p{white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0;font-size:14px;line-height:1.5}
.iv-source-post .iv-post-media{max-height:410px}.iv-post-actions{flex-wrap:wrap;gap:4px}.iv-post-actions button{white-space:nowrap;font-size:12px}@media(max-width:720px){.iv-post-actions button{min-width:0;padding:10px 5px;font-size:11px}}
