:root{--bg:#eeefef;--paper:#fff;--text:#202426;--muted:#767b7e;--line:#dce0e0;--red:#bd4a4a;--green:#237d62;--dark:#202728}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #528d85;outline-offset:4px}button{transition:transform .18s,background .18s}button:active{transform:scale(.98)}[hidden]{display:none!important}.island{margin:calc(env(safe-area-inset-top) + 14px) auto 24px;width:244px;background:#181c1d;color:#f5f6f6;border-radius:30px;padding:13px 17px;display:flex;gap:12px;align-items:center;box-shadow:0 7px 18px #17212218;font-size:11px;letter-spacing:2px}.island>span:last-child{font-size:8px;letter-spacing:1px;color:#a7b5b1;border-left:1px solid #414746;padding-left:11px}.spark,.liveDot{width:6px;height:6px;border-radius:50%;background:#a1b6af;display:inline-block}.island.connected .spark{background:#83dfb2;box-shadow:0 0 8px #83dfb266}header{max-width:1260px;margin:auto;padding:0 32px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit;font-weight:800;letter-spacing:3px;font-size:18px}.brand svg{width:31px;height:33px;stroke:currentColor;stroke-width:1.4;fill:none}.brand span{font-size:8px;letter-spacing:2px;font-weight:400;border-left:1px solid #bcc1c1;padding-left:16px;margin-left:5px}.network{font-size:11px;color:var(--muted)}main{max-width:1260px;margin:auto;padding:0 32px}.view{animation:arrive .4s ease}.hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;min-height:385px;padding-top:14px}.eyebrow{font-size:9px;letter-spacing:2.3px;font-weight:600;color:var(--muted)}h1{font-size:clamp(46px,5.5vw,72px);line-height:1.02;letter-spacing:-4px;margin:23px 0;font-weight:500}h1 em{font-family:Georgia,serif;font-weight:400}p{line-height:1.65}.intro{color:#737b7d;font-size:14px;line-height:1.7}.heroTags{display:flex;gap:20px;font-size:9px;color:#7b8384;margin:26px 0}.heroArt{position:relative;height:320px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#fff9,transparent 65%)}.artRing{border:1px solid #c5cccc88;position:absolute;border-radius:50%;width:260px;height:260px;transform:rotateX(45deg) rotateZ(-25deg)}.r2{width:220px;height:220px;transform:rotateY(42deg) rotateZ(25deg)}.r3{width:310px;height:155px;transform:rotate(-23deg)}.heroLock{width:80px;height:90px;stroke:#788783;stroke-width:1.8;fill:#e9edeb;filter:drop-shadow(0 18px 14px #44564a22)}.heroArt>span{position:absolute;bottom:29px;font-size:8px;letter-spacing:3px;color:#737f79}.heroArt>small{position:absolute;bottom:12px;font-size:7px;letter-spacing:1px;color:#89968f}.sectionTitle{display:flex;align-items:center;justify-content:space-between;margin:22px 0 17px}h2{font-size:19px;font-weight:500;letter-spacing:-.5px}.sectionTitle h2{margin:0}.sectionTitle h2 span{color:#949b9b;font-size:12px;margin-left:10px}.small{font-size:10px;color:var(--muted)}.rooms{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.roomCard{background:linear-gradient(130deg,#fff,#f8fafa);border:1px solid #fff;border-radius:17px;text-align:left;padding:21px;min-height:191px;box-shadow:0 5px 10px #1b342003;position:relative;overflow:hidden}.roomCard:hover{transform:translateY(-4px);box-shadow:0 12px 25px #283d3710}.roomCard:after{content:'';position:absolute;width:75px;height:75px;border:1px solid #dce4e455;right:-27px;bottom:30px;transform:rotate(35deg);border-radius:17px}.roomCard.locked{border-color:#e8cdcd;background:#fffafa}.cardTop{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.roomIndex{font-size:10px;color:#899192;letter-spacing:1px}.lockSvg{width:23px;height:26px;stroke:#758b81;fill:none;stroke-width:1.5}.locked .lockSvg{stroke:var(--red)}.roomCard b{display:block;font-size:21px;font-weight:500;letter-spacing:-.7px}.roomCard p{font-size:10px;color:#75857c;margin:10px 0 20px}.roomCard.locked p{color:var(--red)}.cardBottom{display:flex;justify-content:space-between;font-size:9px;color:#959c9c}.cardBottom span:last-child{font-size:17px;line-height:10px;color:#4c5752}.joinStrip{display:flex;align-items:center;justify-content:space-between;padding:27px 0;margin-top:19px;border-bottom:1px solid var(--line)}.joinStrip b{font-size:12px;font-weight:500}.joinStrip p{font-size:11px;color:var(--muted);margin:7px 0 0}.primary,.secondary,.danger{border-radius:11px;padding:14px 18px;font-size:12px;border:1px solid #cdd3d2;font-weight:500}.primary{background:#253331;color:white;border-color:#253331}.primary:hover{background:#344b44}.secondary{background:transparent;color:#46504d}.secondary span{margin-left:28px}.danger{background:#b44b4b;color:white;border-color:#b44b4b}footer{display:flex;justify-content:space-between;align-items:center;padding:20px 0 28px;color:#949b9b;font-size:8px;letter-spacing:1px}.textBtn{background:none;border:0;padding:8px 0;color:#64766d;font-size:11px}.sessionHeading{display:flex;justify-content:space-between;align-items:center;margin:42px 0 24px}.sessionHeading h1{font-size:34px;letter-spacing:-1.5px;margin:13px 0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;padding-bottom:30px}.conversation{background:#fff;border:1px solid #fff;border-radius:20px;display:flex;flex-direction:column;min-height:640px;max-height:850px;height:calc(100dvh - 245px);overflow:hidden}.chatHeader{padding:20px 24px;border-bottom:1px solid #edf0ef;display:flex;align-items:center;gap:12px}.roomAvatar{width:38px;height:38px;background:#f0f4f2;border:1px solid #dce5df;border-radius:12px;display:grid;place-items:center;color:#577066;position:relative}.roomAvatar span{position:absolute;bottom:-2px;right:-2px;width:9px;height:9px;border:2px solid white;border-radius:50%;background:#b8bdbc}.chatHeader b{font-size:12px;font-weight:500}.chatHeader p{font-size:10px;color:var(--muted);margin:5px 0 0}.iconBtn{background:#f6f8f7;border:1px solid #e3e7e5;border-radius:50%;width:38px;height:38px;font-size:20px;color:#42564c}.chatHeader>.iconBtn{margin-left:auto}.waiting{display:flex;flex-direction:column;align-items:center;text-align:center;padding:27px 35px;flex:1;overflow:auto}.sealedIcon{font-size:43px;color:#809a8c;margin-bottom:12px}.pill{display:inline-block;padding:6px 9px;background:#f0f4f2;border:1px solid #e1e7e3;border-radius:6px;font-size:8px;letter-spacing:1px;color:#718879}.pill.red{background:#fbefef;border-color:#f2dede;color:#b25252}.waiting h2{font-size:29px;letter-spacing:-1px;line-height:1.2;margin:18px 0 5px}.waiting p{font-size:12px;color:var(--muted);max-width:365px}.credential{width:100%;max-width:400px;background:#f6f8f7;padding:14px;text-align:left;border:1px solid #e5eae7;border-radius:11px;margin:12px 0}.credential label{font-size:8px;letter-spacing:1.5px;color:#7b9086}.credential textarea{border:0;background:transparent;margin:8px 0 0;padding:0;resize:none;font-size:11px;line-height:1.7;word-break:break-all;color:#51675c;width:100%}.shareActions{display:flex;width:100%;max-width:400px;gap:9px}.shareActions .primary{flex:1}.waiting>small{font-size:9px;color:#9ca5a1;margin:17px 0}.chatFoot{font-size:9px;color:#929c96;text-align:center;padding:14px;line-height:1.5}.securityPanel{border:1px solid #d9e0dc;background:#e9eeeb;border-radius:20px;padding:22px;align-self:start}.panelTitle{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.7px;color:#6f7d76}.core{height:154px;position:relative;display:grid;place-items:center}.coreOrbit{position:absolute;width:126px;height:126px;border:1px solid #cbd8d0;border-radius:50%}.coreOrbit.second{width:97px;height:97px;border-style:dashed;opacity:.7}.coreInside{width:65px;height:65px;border-radius:20px;background:linear-gradient(130deg,#fff,#e0e9e3);box-shadow:0 7px 22px #53715b15;display:grid;place-items:center}.coreInside svg{width:29px;height:33px;fill:none;stroke:#758e7c;stroke-width:2}.core.busy .coreOrbit{animation:spin 1s linear infinite;border-top-color:#278060}.core.busy .coreInside{box-shadow:0 0 30px #46a47844}.securityPanel h2{font-size:17px;text-align:center;margin:0 0 7px}.securityPanel>p{font-size:10px;line-height:1.6;text-align:center;color:#829087;margin:0 0 21px}.metrics>div{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid #d4dfd7}.metrics span{font-size:8px;color:#809085;letter-spacing:.5px}.metrics b{font-size:10px;color:#4b6355;font-weight:500}.cipherBox{background:#24352d;border-radius:10px;padding:13px;margin:9px 0 19px;color:#cbd9d0;overflow:hidden}.cipherBox>div:first-child{display:flex;justify-content:space-between;font-size:6px;letter-spacing:.6px;color:#8fa797}.cipherBox code{font-size:10px;word-break:break-all;display:block;line-height:1.8;margin:10px 0;min-height:36px;max-height:55px;overflow:hidden}.packetTrack{height:2px;background:#3d5145;overflow:hidden}.packetTrack i{display:block;height:100%;width:25%;background:#a5d4b8;opacity:0}.packetTrack i.pulse{animation:packet 1.1s ease-out}.rotation>span{font-size:9px;color:#5c7466}.rotation>div{height:3px;background:#d0dbd3;margin:10px 0}.rotation i{height:100%;background:#92aa99;display:block;width:0;transition:width .3s}.rotation small,details small{font-size:9px;color:#7b9182;line-height:1.7;display:block}details{border-top:1px solid #d4dfd7;margin-top:17px;padding-top:15px;font-size:10px;color:#5b7364}summary{cursor:pointer}#fingerprint{font-family:monospace;font-size:12px;letter-spacing:1px;word-break:break-word}.events{margin-top:15px;font-size:8px;color:#7d9385;line-height:1.7}.events div{margin-top:5px}.messages{flex:1;overflow:auto;padding:25px 24px;min-height:150px;display:flex;flex-direction:column;gap:15px}.bubble{max-width:83%;align-self:flex-start;animation:arrive .25s ease}.bubble p{background:#f0f3f1;border-radius:15px 15px 15px 3px;padding:13px 16px;margin:0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.mine{align-self:flex-end}.bubble.mine p{background:#2c4137;color:#f0f5f2;border-radius:15px 15px 3px 15px}.bubble small{font-size:8px;color:#96a29b;display:block;margin:6px 3px}.bubble.mine small{text-align:right}.systemMsg{font-size:10px;color:#92a198;text-align:center;margin:15px}.composer{display:flex;gap:10px;margin:0 20px;background:#f3f6f4;padding:8px;border-radius:15px;border:1px solid #e6ece8}.composer input{min-width:0;flex:1;background:none;border:0;outline:none;padding:0 10px;font-size:14px;color:#344c3e}.sendBtn{border:0;background:#2c4137;color:white;width:40px;height:40px;border-radius:11px;font-size:22px}.srOnly{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{border:1px solid #d9e3dc;border-radius:22px;padding:28px;background:#f8faf9;width:min(440px,calc(100% - 28px));color:#263d30;box-shadow:0 30px 100px #13251c40;max-height:90dvh;overflow:auto}dialog::backdrop{background:#24342d55;backdrop-filter:blur(8px)}.dialogTop{display:flex;align-items:center;justify-content:space-between}.dialogLock{color:var(--red);font-size:40px;margin-top:18px}dialog h2{font-size:32px;letter-spacing:-1.2px;line-height:1.1}dialog p{font-size:12px;color:#7b8d81}dialog label{font-size:10px;display:block;margin:22px 0 9px}dialog textarea{width:100%;border:1px solid #d1dbd5;border-radius:10px;background:white;padding:13px;font-size:12px;resize:vertical;color:#486652}dialog .primary{width:100%}.error{color:var(--red);min-height:16px}#callDialog{text-align:center}.callVisual{display:flex;align-items:center;justify-content:center;height:110px;gap:5px}.callVisual span{width:4px;height:9px;background:#7d9f8b;border-radius:5px;transition:height .1s}#callTime{font-size:26px;font-weight:400;letter-spacing:3px;display:block;margin:20px}.callActions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}#toast{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#253d2f;color:#fff;font-size:12px;padding:16px 22px;border-radius:13px;box-shadow:0 10px 30px #24342833;z-index:10;max-width:90%;width:max-content;line-height:1.5}@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes packet{0%{opacity:1;transform:translateX(-100%)}90%{opacity:1}100%{opacity:0;transform:translateX(500%)}}
@media(min-width:1500px){.hero{min-height:425px}}@media(max-width:900px){.rooms{grid-template-columns:repeat(3,1fr)}.roomCard{min-height:167px}.hero{grid-template-columns:1.4fr 1fr}.heroArt{transform:scale(.85)}.workspace{grid-template-columns:minmax(0,1fr) 270px}.securityPanel{padding:17px}.sessionHeading h1{font-size:27px}.heroTags{gap:10px;font-size:8px}}@media(max-width:650px){header,main{padding-left:20px;padding-right:20px}.island{margin-bottom:25px}.brand{font-size:16px}.brand span{display:none}.network{font-size:9px}.hero{grid-template-columns:1fr;position:relative;min-height:345px}.hero>div:first-child{position:relative;z-index:1}.heroArt{position:absolute;right:-10px;top:28px;width:145px;height:220px;transform:scale(.7);opacity:.4;z-index:0}.heroArt>span,.heroArt>small{display:none}.hero .eyebrow{font-size:8px}.hero h1{font-size:58px;letter-spacing:-3px;margin:23px 0}.intro{font-size:12px}.heroTags{gap:13px;font-size:7px;margin-top:22px}.rooms{grid-template-columns:repeat(2,1fr);gap:10px}.roomCard{min-height:165px;padding:18px}.roomCard:last-child{grid-column:1/-1;min-height:105px;padding-right:25px;display:grid;grid-template-columns:55px 1fr 70px;align-items:center;column-gap:7px}.roomCard:last-child .cardTop{display:block;margin:0;grid-row:1/3}.roomCard:last-child .lockSvg{display:block;margin-top:10px}.roomCard:last-child>b{grid-column:2}.roomCard:last-child>p{grid-column:2;margin:0}.roomCard:last-child .cardBottom{grid-column:3;grid-row:1/3;gap:9px}.cardTop{margin-bottom:20px}.sectionTitle{margin-top:0}.sectionTitle h2{font-size:16px}.sectionTitle>.small{font-size:8px}.joinStrip{display:block;padding:22px 0}.joinStrip .secondary{margin-top:17px;width:100%;display:flex;justify-content:space-between}footer{align-items:flex-start;gap:15px;font-size:7px}.textBtn{font-size:10px;padding-top:0}.sessionHeading{margin:28px 0 20px;gap:10px;align-items:flex-start}.sessionHeading h1{font-size:25px;letter-spacing:-1px}.sessionHeading>.secondary{padding:10px;font-size:9px;white-space:nowrap;margin-top:6px}.sessionHeading .eyebrow{font-size:8px}.workspace{display:flex;flex-direction:column;gap:14px}.conversation{width:100%;height:calc(100dvh - 226px);min-height:570px;border-radius:17px}.waiting{padding:20px}.waiting h2{font-size:27px}.waiting p{font-size:11px}.chatHeader{padding:16px}.securityPanel{width:100%;padding:20px;display:grid;grid-template-columns:85px 1fr;column-gap:15px}.panelTitle{grid-column:1/-1}.core{height:100px;grid-row:2/4}.coreOrbit{width:80px;height:80px}.coreOrbit.second{width:66px;height:66px}.coreInside{width:45px;height:45px;border-radius:13px}.coreInside svg{width:22px;height:25px}.securityPanel h2{text-align:left;align-self:end;margin-top:22px}.securityPanel>p{text-align:left;margin-bottom:12px}.securityPanel .metrics,.cipherBox,.rotation,details,.events{grid-column:1/-1}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.metrics>div{display:block}.metrics span{display:block;font-size:7px;margin-bottom:7px}.metrics b{font-size:9px}.cipherBox{margin-bottom:12px}.messages{padding:18px 16px}.composer{margin:0 12px}.bubble{max-width:88%}.chatFoot{font-size:8px;padding:11px}.shareActions .primary,.shareActions .secondary{font-size:11px}dialog{padding:24px}dialog h2{font-size:30px}body.inChat .conversation{min-height:420px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.dialogLock .lockSvg{width:35px;height:40px;stroke:var(--red)}

@media(max-width:650px){body.inChat .conversation{height:calc(100dvh - 285px);min-height:360px}}
/* SKYNET 2: compact, responsive HUD */
:root{color-scheme:dark}body{background:#080e19;color:#dce9f7;background-image:radial-gradient(ellipse at 80% 0%,#15324a88,transparent 50%)}header{border-color:#223248}.brand,.brand span,.network,.eyebrow,.small{color:#9bb2cd}.brand svg{stroke:#72efd9}.brand{color:#f0f8ff}.island{background:#132137;color:#dffef7;border:1px solid #294354}.hero{padding:32px 0;min-height:230px}.hero h1{font-size:clamp(48px,8vw,100px);letter-spacing:-.06em;color:#f0f8ff}.titleDot{color:#72efd9}.heroArt{height:200px;transform:scale(.8)}.heroLock{animation:logoFloat 6s ease-in-out infinite}.artRing{border-color:#4fdbbe55}.heroTags span,.pill{background:#142738;color:#9be9d8;border-color:#29465b}.roomCard{background:#101c2c;color:#f0f6fe;border:1px solid #2a3b51;border-radius:18px}.roomCard:hover{background:#182b40;border-color:#6debd7}.roomCard p,.roomIndex,.cardBottom,.roomCard.locked p{color:#9fb1c9}.roomCard.locked{background:#1a1d2e}.roomCard.locked .lockSvg{color:#ff999e}.joinStrip{background:#101c2c;border-color:#2b3b50}.joinStrip p,footer,.intro{color:#9fb1c9}.primary,.sendBtn{background:#79efd9;color:#081e25}.secondary,.iconBtn{background:#16263a;color:#dfedff;border:1px solid #354960}.textBtn{color:#86ded8}.sessionHeading{padding:16px 0;margin-bottom:12px}.sessionHeading h1{font-size:32px}.workspace{align-items:start;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.conversation,.securityPanel{background:#101b2b;border:1px solid #2a3d53;border-radius:20px}.securityPanel{position:sticky;top:20px;padding:18px}.panelTitle{color:#8af0da}.core{height:95px;transform:scale(.65);margin:-15px auto}.securityPanel h2{font-size:18px;color:#e1f4ff}.securityPanel p,.securityPanel small,.rotation span,.metrics span{color:#9fb1c9}.metrics b{color:#e2f6fa;font-size:12px}.metrics>div{border-color:#263b50}.cipherBox{background:#091321;color:#85baa9}.cipherBox code{color:#7bdcc9}.events{color:#89a4b8}.chatHeader{border-color:#2b3b51}.chatHeader p,.chatFoot{color:#9fb1c9}.roomAvatar{background:#244253;color:#8df5df}.waiting{color:#dce9f7}.waiting p,.waiting small{color:#9fb1c9}.credential{background:#091322;border-color:#2a3d53}.credential label{color:#8cb7c6}textarea,input{background:#0a1424;color:#edf6ff;border-color:#324861}.composer{background:#101b2b;border-color:#2b3b51;gap:8px}.composer input{background:#091322;color:#edf6ff;min-width:0}.composer .iconBtn{flex-shrink:0}.bubble{background:#233448;color:#eef6ff}.bubble.mine{background:#174940;color:#e7fff7}.bubble small,.systemMsg{color:#a1b9c9}.chatFoot{border-color:#23394d}.messages{min-height:300px}.mediaBubble img,.mediaBubble video{display:block;max-width:100%;max-height:340px;border-radius:10px;margin:10px 0}.mediaBubble p{overflow-wrap:anywhere}#mediaStatus{padding:0 18px;color:#90d9cf;font-size:12px}dialog{background:#101c2d;color:#e4f1ff;border:1px solid #35516b}dialog p,dialog label{color:#a8bfd3}dialog::backdrop{background:#020814bb;backdrop-filter:blur(8px)}.voiceControls{display:grid;gap:12px;margin:22px 0;text-align:left}.voiceControls small{font-size:12px;color:#9fb1c9}.voiceControls input{width:100%;accent-color:#74efda}.callVisual span{background:#78eed9}#toast{background:#24475a;color:#fff;border:1px solid #4c798d}.securityPanel details{border-color:#35516b}.roomCard:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #80fbe3;outline-offset:3px}@keyframes logoFloat{50%{transform:translateY(-8px) rotate(8deg)}}
@media(max-width:760px){header{padding-top:54px}.hero{min-height:170px;padding:14px 0}.heroArt{display:none}.heroTags{flex-wrap:wrap}.workspace{display:flex;flex-direction:column}.securityPanel{position:relative;top:auto;order:-1;width:100%;padding:12px;box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}.securityPanel .panelTitle{grid-column:1/-1}.securityPanel .core,.securityPanel .cipherBox,.securityPanel .rotation,.securityPanel .events{display:none}.securityPanel h2{margin:0;font-size:14px}.securityPanel #cryptoDetail{margin:0;font-size:11px}.securityPanel .metrics{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;margin:0;gap:0 12px}.securityPanel .metrics>div{padding:5px 0}.securityPanel details{grid-column:1/-1;font-size:12px}.securityPanel .metrics span{font-size:9px}.securityPanel .metrics b{font-size:10px;max-width:65%;text-align:right}.conversation{width:100%;min-width:0}.sessionHeading h1{font-size:26px}.sessionHeading{gap:10px}.sessionHeading .secondary{font-size:12px;padding:10px}.messages{height:43dvh;min-height:240px}.composer{padding:10px}.hero h1{font-size:60px}.joinStrip{gap:14px}.island{max-width:85vw}.chatHeader{padding:14px}.chatHeader b{font-size:14px}.roomCard{min-height:140px}dialog{max-height:90dvh;overflow:auto}.securityPanel .metrics>div:last-child{grid-column:1/-1}.securityPanel #fingerprint{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
:root{--bg:#080e19;--paper:#101b2b;--text:#e0eefb;--muted:#9db1c9;--line:#2a3d53;--green:#77e9d3;--dark:#dce9f7}.heroArt{background:radial-gradient(ellipse,#1c496a88,transparent 65%)}.credential textarea{background:transparent;color:#bdeedc}.brand svg{animation:logoFloat 6s ease-in-out infinite}.primary:hover{background:#a3f6e6;color:#061c1b}@media(max-width:760px){header{padding-top:0}.securityPanel .metrics>div{display:flex;justify-content:space-between;gap:6px}.securityPanel .metrics span{margin:0}.securityPanel>p{text-align:left}.securityPanel h2{align-self:start}.securityPanel .metrics b{max-width:70%}.conversation,body.inChat .conversation{height:570px;min-height:460px}.messages{min-height:160px;flex:1}.hero{display:block}.heroTags{gap:10px}.securityPanel details{margin:0}.heroTags span{padding:5px}.joinStrip{padding:20px 12px}}
.brandIcon{width:36px;height:36px;animation:logoFloat 6s ease-in-out infinite}.bubble{background:transparent}.bubble p{background:#24384d;color:#edf7ff;border-radius:14px;padding:14px}.bubble.mine{background:transparent}.bubble.mine p{background:#194c43;color:#f0fffc}.mediaBubble img,.mediaBubble video{background:#122332}.mediaBubble button{margin-bottom:10px}.securityPanel summary{color:#b9d9e4}.securityPanel .metrics b{overflow-wrap:anywhere}
@media(max-width:760px){body.inChat header{display:none}body.inChat .island{margin:10px auto 8px}body.inChat .sessionHeading{margin:4px 0;padding:8px 0}body.inChat .sessionHeading .eyebrow{display:none}body.inChat .sessionHeading h1{margin:8px 0}body.inChat .securityPanel{gap:4px 10px;padding:10px 12px}body.inChat .securityPanel #cryptoDetail{font-size:10px}body.inChat .securityPanel h2{font-size:12px}body.inChat .securityPanel .metrics>div{padding:3px 0}body.inChat .conversation{height:calc(100dvh - 340px);min-height:340px}body.inChat .workspace{gap:12px}body.inChat .chatHeader{padding:10px 14px}.securityPanel h2{grid-column:auto;grid-row:auto}.mediaBubble p{padding:8px}.bubble p{font-size:14px}}
/* Audio repair release */
select{font:inherit;background:#12253b;color:#ecf6ff;border:1px solid #365471;border-radius:10px;padding:10px;max-width:100%}.audioMeters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.audioMeters label{font-size:11px;display:grid;gap:6px}.audioMeters meter{width:100%;height:12px;accent-color:#75ecd6}.audioHealth{background:#142a3b;border:1px solid #304c5c;border-radius:12px;padding:10px!important;font-size:12px;min-height:52px}.audioTools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.audioTools button{font-size:11px;padding:10px}.audioTools select,#outputHelp{grid-column:1/-1}.audioDetails{margin-top:18px;text-align:left}.audioDetails p{font-size:11px;overflow-wrap:anywhere}.voiceControls{gap:8px;margin:14px 0}.voiceControls label{font-size:12px}.expiryCountdown{font-variant-numeric:tabular-nums;float:right;color:#97f3d9!important;margin-left:12px}.expiryPolicy{text-align:center;color:#abddcf;font-size:10px;padding-top:8px}.sessionHeading{gap:10px}.sessionHeading>div:first-child{margin-right:auto}#panic{font-size:11px;padding:10px}.mediaBubble .expiryCountdown{float:none;display:block}#callDialog{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}#callDialog h2{font-size:25px;margin:14px 0}#callNote{font-size:12px}#outputHelp{font-size:12px;text-align:left}.callActions{flex-wrap:wrap}.callActions button{flex:1}.audioDetails summary{color:#b4d8e6}#remoteAudio{display:block;width:1px;height:1px;position:fixed;bottom:0;left:0;pointer-events:none}
@media(max-width:760px){#leave{display:none}body.inChat .conversation{height:calc(100dvh - 340px);min-height:340px}#callDialog{padding:18px}.audioMeters{margin:12px 0}.voiceControls{margin:12px 0}.audioTools{gap:6px}.audioTools button{min-height:40px}.expiryPolicy{padding-top:4px}#callDialog #callTime{font-size:21px}#callDialog .callActions button{padding:11px;font-size:12px}}
#verifyPeer{margin-top:12px;font-size:11px;width:100%}#verifyState{font-size:11px;color:#a2ead5}.securityPanel details[open]{padding-bottom:10px}

/* SKYNET 3: focused audio surfaces */
.brandTrigger{border:0;background:none;color:inherit;padding:0;font:inherit;font-weight:800;letter-spacing:.15em;cursor:pointer}
#callDialog{max-width:620px;background:radial-gradient(ellipse at 50% 0,#213748 0,transparent 50%),#0d1522;border-color:#365267;box-shadow:0 24px 100px #0009}
#callProgress{width:100%;height:5px;accent-color:#94eddc;border:0;border-radius:10px;overflow:hidden}#callStage{font-size:13px;letter-spacing:.03em;color:#94eddc}#callTime{font-variant-numeric:tabular-nums;letter-spacing:.15em}.audioMeters{padding:18px 0}.audioMeters label{font-size:12px!important;text-transform:uppercase;letter-spacing:.1em}.audioHealth{font-size:14px!important;line-height:1.6}.voiceVisualizer{padding:30px 0;color:#94eddc;font-size:28px;text-align:center;letter-spacing:.12em}#voiceMeter{display:block;width:100%;height:12px;margin-top:18px}#voiceDialog small{display:block;margin-top:20px;color:#a8b5c5;line-height:1.6}#voiceDialog input[type=range]{width:100%;accent-color:#94eddc}.voiceBubble{border:1px solid #42615e;background:linear-gradient(125deg,#193e3c,#172336)}.voiceBubble p{font-weight:650}.voiceBubble small{display:block;margin-top:10px;line-height:1.5}.voiceBubble button{width:100%}.composer{gap:8px}.composer #message{min-width:0}.composer .iconBtn{flex-shrink:0;width:38px}.securityPanel{border-top:2px solid #72c6b9}.hero h1{letter-spacing:-.07em}button:focus-visible,a:focus-visible{outline:2px solid #94eddc;outline-offset:4px}@media(max-width:600px){#callDialog,#voiceDialog{padding:22px;width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto}#callDialog h2{font-size:26px}#callDialog p{font-size:14px}.audioTools{gap:8px}.callActions{flex-wrap:wrap}.composer{padding:10px!important}.composer .iconBtn{width:32px;padding:4px}}

.voiceBubble{padding:12px;border-radius:14px;min-width:230px}.voiceBubble p,.voiceBubble.mine p{padding:0 0 12px;background:transparent;border-radius:0}.voiceBubble small{font-size:10px}.voiceBubble .expiryCountdown{text-align:right}

/* SKYNET 3.1 — reliable mobile controls */
.island{position:relative;padding-right:46px}
.studioAccess{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;border:1px solid #35516b;background:#0d1727;color:#94eddc;display:grid;place-items:center;font-size:14px;line-height:1;padding:0;touch-action:manipulation}
.studioAccess:active{transform:translateY(-50%) scale(.96)}
.brandTrigger{touch-action:manipulation;-webkit-user-select:none;user-select:none}
.voiceNoteButton{background:#123a38!important;border-color:#3f8f82!important;color:#b7fff0!important;font-size:17px!important;box-shadow:0 0 0 1px #6fe0cc22 inset,0 0 18px #41c7b622}
.voiceNoteButton::after{content:'';position:absolute;inset:-4px;border:1px solid #6fe0cc33;border-radius:50%;pointer-events:none}
.voiceNoteButton{position:relative}
#voiceDialog .voiceRecordBig{width:100%;min-height:76px;border:1px solid #4b8f84;border-radius:18px;background:linear-gradient(135deg,#17453f,#12273a);color:#ecfffb;font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;gap:10px}
#voiceDialog .voiceRecordBig span{font-size:28px}
#voiceDialog #voiceMeter{display:block;width:100%;height:12px;margin:18px 0 10px;accent-color:#72efd9}
#voiceDialog #voiceRecordState{text-align:center;font-size:14px;color:#bfeee5;min-height:24px}
#voiceDialog .voiceAdvanced{margin-top:18px;border-top:1px solid #30465c;padding-top:14px}
#voiceDialog .voiceAdvanced summary{cursor:pointer;color:#9fc4d8;font-size:12px}
#voiceDialog .voiceAdvanced input{width:100%;accent-color:#72efd9}
@media(max-width:600px){
  .island{width:min(270px,90vw);padding-left:14px;padding-right:44px;gap:9px}
  .studioAccess{right:8px}
  .composer{gap:7px!important;align-items:center}
  .composer .iconBtn{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important}
  .voiceNoteButton{font-size:18px!important}
  .composer #message{font-size:16px}
}
.island>#islandState{font-size:8px;letter-spacing:1px;color:#a7b5b1;border-left:1px solid #414746;padding-left:11px;white-space:nowrap}

/* Studio: Größere Schrift */
body{font-size:18px}button,input,select{font-size:17px}

/* SKYNET iPHONE CHAT STABILISIERUNG */

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body.inChat {
  height: 100dvh;
  overflow: hidden;
}

body.inChat main,
body.inChat #session {
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

body.inChat .workspace {
  height: 100%;
  min-height: 0;
}

body.inChat .conversation {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.inChat .messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.inChat .composer {
  flex: 0 0 auto;
  position: relative;
  bottom: auto;
}

/* Dialoge dürfen das Chat-Layout nicht verschieben */
dialog[open] {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  max-height: 90dvh;
  overflow-y: auto;
  z-index: 99999;
}

#voiceDialog[open],
#callDialog[open] {
  width: min(92vw, 520px);
}

/* iPhone Safe Area */
body.inChat .composer {
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
