/* RAVEN R01.HF9 — project brand profiles + addressable conversation threads.
   Scoped selectors only. No changes to the global Raven visual authority. */
.rb-page,.rt-page{min-height:72vh;color:#dcecf7;background:#030e18}
.rb-heading,.rt-heading{min-height:70px;padding:12px 26px;display:flex;align-items:center;gap:16px;border-bottom:1px solid #1a3c51;background:linear-gradient(110deg,#04111c,#081928)}
.rb-heading h1,.rt-heading h1{margin:0;font-size:21px;line-height:1.25;font-weight:800;color:#f0f8ff}
.rb-heading>div,.rt-heading>div{flex:1;min-width:0}.rb-heading>div span,.rt-heading>div span{color:#8baac2;font-size:12px}.rb-heading button.rb-back,.rt-heading button.rt-back{height:40px;width:40px;border-radius:50%;display:grid;place-items:center;flex:none}.rb-heading button.rb-back:hover,.rt-heading button.rt-back:hover{background:#12364a;color:#48cdff}
.rb-brand-label{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#48cdff;border:1px solid #23516a;padding:7px 9px;border-radius:9px;display:flex;align-items:center;gap:6px}
.rb-cover{height:198px;background:linear-gradient(90deg,#041322c9 0%,#0718273b 68%),url('../img/sky-fortress.webp') center 53%/cover no-repeat;position:relative;border-bottom:1px solid #165274}
.rb-cover-wordmark{position:absolute;bottom:15px;right:20px;color:#97cde5;display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:2px;font-weight:800;text-shadow:0 2px 12px #000}
.rb-profile{padding:0 27px 21px;border-bottom:1px solid #1a3b4c}
.rb-avatar-line{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;min-height:78px}
.rb-icon.project-icon{width:112px;height:112px;margin-top:-53px;position:relative;box-shadow:0 0 0 5px #05121d,0 0 0 7px #1388aa5a,0 11px 25px #0008;border-radius:20px;background:#071c2a;flex:none}
.rb-icon.project-icon img{width:100%;height:100%;object-fit:cover}.rb-brand-controls{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:9px;padding:12px 0}.rb-brand-controls button{font-size:12px;display:flex;align-items:center;gap:7px;justify-content:center}
.rb-profile h2{margin:11px 0 1px;font-size:26px;color:#f0f8ff}.rb-verified{color:#09c8f8;display:inline-flex;vertical-align:middle}.rb-handle{color:#5fcdf7;font-size:13px}.rb-handle span{color:#88a9ba}
.rb-profile>p{line-height:1.65;color:#d5e5f1;font-size:14px;max-width:650px}.rb-metadata{display:flex;gap:12px 19px;flex-wrap:wrap;color:#8ea9be;font-size:12px}.rb-metadata span{display:inline-flex;align-items:center;gap:6px}.rb-metadata svg{color:#54b7e5}
.rb-identity-note{display:flex;align-items:flex-start;gap:13px;background:#071d2b;border:1px solid #235169;border-radius:12px;padding:12px;margin-top:17px;line-height:1.5}.rb-identity-note b{min-width:151px;font-size:12px;color:#8cdbf5;display:flex;align-items:center;gap:6px}.rb-identity-note span{color:#91b0c3;font-size:12px}
.rb-tabs{display:flex;gap:0;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #1a3b4c}.rb-tabs button{flex:1;min-width:110px;padding:16px 10px;font-size:12px;font-weight:650;color:#97b0c4;position:relative}.rb-tabs button:hover{background:#092334;color:#fff}.rb-tabs button.active{color:#effbff}.rb-tabs button.active:after{position:absolute;content:'';height:3px;background:var(--accent,#12cbff);box-shadow:0 0 12px #0cf8;left:22%;right:22%;bottom:0;border-radius:5px}
.rb-empty,.rt-loading,.rt-empty,.rb-missing{text-align:center;padding:54px 21px;color:#7fa5b9}.rb-empty svg,.rt-loading svg,.rt-empty svg{color:#24bde8}.rb-empty h3,.rt-loading h2{color:#dbeefa}.rb-empty p,.rt-loading p,.rt-empty p{font-size:13px;line-height:1.7;max-width:550px;margin:10px auto 20px}
.rb-post-avatar.project-icon{flex:none;width:46px;height:46px;border-radius:50%;border:1px solid #24718a}.rb-post-avatar.project-icon img{border-radius:50%}.rb-official-byline{color:#84d6f9!important;font-weight:650}.rb-author-link{padding:0;text-align:left;cursor:pointer}.rb-author-link:hover{text-decoration:underline;text-underline-offset:3px}.rb-thread-shortcut{white-space:nowrap;color:#48c6f0;font-size:11px;display:flex;align-items:center;gap:3px;padding:2px 5px}.rb-thread-shortcut:hover,.rb-inline-thread:hover{color:#e4f9ff;text-decoration:underline}.rb-inline-thread{font-size:11px;display:flex;align-items:center;gap:5px;color:#57cbed;margin:6px 0 2px}
.rb-brand-publish{margin-top:13px;border:1px solid #21526c;border-radius:12px;background:linear-gradient(120deg,#081e30,#061724);display:flex;justify-content:space-between;align-items:center;padding:11px 13px;gap:14px;color:#c7e5f6;cursor:pointer}
.rb-brand-publish>span{display:flex;gap:11px;align-items:flex-start}.rb-brand-publish>span>svg{color:#20c5f5;flex:none;margin-top:4px}.rb-brand-publish strong{display:block;font-size:13px}.rb-brand-publish small{display:block;line-height:1.45;color:#91abc0;font-size:11px;margin-top:3px}.rb-brand-publish input{width:18px;height:18px;accent-color:#06c6f4;flex:none}
.rt-copy-link{border:1px solid #2d5670;border-radius:20px;padding:8px 12px;display:flex;gap:7px;align-items:center;color:#a8c9de;font-size:12px}.rt-copy-link:hover{border-color:var(--accent);color:var(--accent)}
.rt-project-context{margin:15px 22px 4px;padding:10px 12px;width:calc(100% - 44px);display:flex;align-items:center;text-align:left;gap:12px;border:1px solid #24506a;background:linear-gradient(120deg,#0b2638,#071824);border-radius:13px}.rt-project-context:hover{border-color:#0fbeee}.rt-project-context .project-icon{width:41px;height:41px}.rt-project-context>span:nth-child(2){flex:1}.rt-project-context strong,.rt-project-context small{display:block}.rt-project-context strong{font-size:13px}.rt-project-context small{font-size:11px;color:#84a7bb;margin-top:4px}
.rt-original>.post{border-bottom:1px solid #2a566e;background:linear-gradient(180deg,#051725,#020e17)}.rt-original .post-main{min-width:0}
.rt-conversation{padding:16px 24px 38px}.rt-conversation-head{border-bottom:1px solid #1f455b;margin-bottom:15px;padding:0 0 11px}.rt-conversation-head h2{font-size:19px;color:#edf8ff;margin:4px 0}.rt-conversation-head p{font-size:12px;color:#83a5ba;line-height:1.6;margin:0}
.rt-ancestor-path{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0 17px;padding:10px 12px;background:#072133;border:1px solid #1f4f69;border-radius:11px}.rt-ancestor-path button{font-size:12px;color:#82c8e8;border-radius:7px;padding:5px 8px}.rt-ancestor-path button:hover,.rt-ancestor-path button.active{background:#133c55;color:#e5f9ff}
.rt-reply-tree{display:flex;flex-direction:column;gap:8px}.rt-reply{scroll-margin-top:110px;position:relative;border:1px solid #1b4159;border-radius:13px;background:#071c2b;display:flex;gap:11px;padding:13px;margin-left:calc(var(--rt-depth,0) * 21px);min-width:0;overflow-wrap:anywhere;transition:border-color .12s,box-shadow .12s}
.rt-reply:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:transparent}.rt-reply:hover{border-color:#2c6e90}.rt-reply.rt-target{border-color:#18bdec;box-shadow:0 0 0 1px #09d0ff4a,0 0 18px #11bdf514}.rt-reply.rt-target:before{background:#0bd5ff}.rt-reply-rail{flex:none}.rt-reply-rail .avatar{width:39px;height:39px;border:1px solid #30637a}.rt-reply-body{flex:1;min-width:0}.rt-reply-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#91b2c4;font-size:11px}.rt-reply-meta strong{font-size:13px;color:#e7f5ff}.rt-selected-label{color:#00cfff;border:1px solid #267b96;border-radius:30px;padding:2px 7px}.rt-parent-ref{display:flex;align-items:center;gap:5px;color:#5bbce8;font-size:11px;margin:5px 0 7px}.rt-parent-ref:hover{text-decoration:underline}.rt-reply-text{line-height:1.57;font-size:14px;color:#dbe7f2;white-space:pre-wrap;overflow-wrap:anywhere}.rt-reply-tools{display:flex;flex-wrap:wrap;gap:9px;color:#719bb1;font-size:11px;margin-top:10px}.rt-reply-tools button{display:flex;align-items:center;gap:5px;color:#7fc9e8;padding:3px 5px;border-radius:6px}.rt-reply-tools button:hover{background:#153b50}.rt-reply-tools span{margin-left:auto}
.rt-reply-form{display:flex;align-items:stretch;gap:8px;margin-top:12px}.rt-reply-form input{flex:1;width:100%;min-width:0;background:#031321;color:#edf7ff;border:1px solid #2b5b70;border-radius:11px;padding:9px 11px;outline:none}.rt-reply-form input:focus{border-color:#17b8f3}.rt-reply-form .primary-button{display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;padding:7px 15px;flex:none}
.rt-root-compose{margin-top:23px;padding:14px;background:#082132;border:1px solid #27627f;border-radius:13px}.rt-root-compose b{font-size:13px;color:#cde9f9}.rt-unavailable{padding:12px;background:#0c2131;border:1px solid #27536d;border-radius:11px;color:#9bbfd0;font-size:12px;display:flex;gap:7px;align-items:center}
@media(max-width:900px){.rb-heading,.rt-heading{padding:12px 17px}.rb-profile{padding:0 18px 18px}.rb-brand-label{display:none}.rt-conversation{padding:14px 14px 35px}}
@media(max-width:590px){.rb-heading h1,.rt-heading h1{font-size:17px}.rb-cover{height:130px}.rb-icon.project-icon{width:82px;height:82px;margin-top:-32px}.rb-brand-controls{gap:6px;padding:6px 0}.rb-brand-controls button{font-size:11px;padding:7px 9px}.rb-profile h2{font-size:21px}.rb-profile>p{font-size:13px}.rb-metadata{gap:9px 13px}.rb-identity-note{flex-direction:column;gap:4px}.rb-brand-label{display:none}.rb-tabs button{min-width:95px;font-size:11px}.rb-cover-wordmark{right:10px;font-size:8px;letter-spacing:1px}.rt-copy-link{font-size:0;gap:0;padding:8px}.rt-copy-link svg{width:19px;height:19px}.rt-project-context{margin:10px 10px;width:calc(100% - 20px)}.rt-conversation{padding:12px 10px 90px}.rt-reply{margin-left:calc(var(--rt-depth,0) * 9px);padding:10px;gap:8px}.rt-reply-rail .avatar{width:32px;height:32px}.rt-reply-text{font-size:13px}.rt-reply-meta{gap:3px}.rt-reply-form{flex-wrap:wrap}.rt-reply-form input{flex-basis:100%}.rt-reply-form button{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.rt-reply{transition:none}}
