@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#09090e;--panel:#111119;--text:#f2f0fa;--muted:#a3a0b6;--line:#2a2938;--purple:#9a6bff;--cyan:#73e4e8;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Manrope,system-ui,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}.accent{color:var(--purple)}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px);border-bottom:1px solid #ffffff12;background:#09090eeb;position:sticky;top:0;z-index:10;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:.13em;font-size:15px}.brand small{display:block;font:9px 'DM Mono',monospace;letter-spacing:.34em;color:var(--muted);margin-top:-4px}.brand-mark{width:35px;height:35px;border:1px solid var(--purple);display:grid;place-items:center;color:#fff;box-shadow:inset 0 0 15px #9a6bff30;font-size:18px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}nav{display:flex;align-items:center;gap:30px;font-size:12px;color:#c4c0d2}nav a:hover{color:white}.nav-admin{border:1px solid var(--line);padding:8px 13px;border-radius:5px}.hero{min-height:610px;position:relative;overflow:hidden;padding:90px max(8vw,28px) 35px;display:flex;align-items:center;max-width:1600px;margin:auto}.hero-glow{position:absolute;width:650px;height:650px;border-radius:50%;right:4%;top:-6%;background:radial-gradient(circle,#6134a329 0%,#6134a30b 45%,transparent 70%)}.hero-copy{position:relative;z-index:2;max-width:620px}.eyebrow{font:11px 'DM Mono',monospace;letter-spacing:.2em;color:#b6a7df;margin:0 0 18px}.eyebrow i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--cyan);margin-right:8px}h1{font-size:clamp(48px,7vw,86px);line-height:.99;letter-spacing:-.065em;margin:0 0 25px;font-weight:800}.gradient-text{background:linear-gradient(105deg,#c7b0ff 5%,#8d6aff 48%,#76e0e7 100%);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-lead{max-width:490px;color:var(--muted);font-size:15px;line-height:1.9}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:5px;padding:13px 19px;font:700 12px Manrope,sans-serif;cursor:pointer;border:1px solid var(--line)}.primary{background:linear-gradient(110deg,#8b5cf6,#6b52d8);border-color:#a78bfa;color:white}.secondary{background:#ffffff05;color:#e9e5f4}.button:hover{filter:brightness(1.12)}.hero-art{position:absolute;right:8%;top:14%;width:min(39vw,440px);height:410px;display:grid;place-items:center;opacity:.95}.orbit{position:absolute;border:1px solid #a88aff40;border-radius:50%;transform:rotate(-25deg)}.orbit-one{width:95%;height:45%}.orbit-two{width:75%;height:85%;transform:rotate(35deg);border-color:#7ee5e833}.sigil{width:200px;height:230px;display:grid;place-items:center;font-size:145px;font-weight:800;letter-spacing:-.14em;padding-right:20px;color:#d9caff;text-shadow:0 0 45px #9a6bff7a}.sigil span{position:absolute;margin:40px 0 0 45px;font-size:100px;color:#80e6e9a8}.art-caption{position:absolute;bottom:15px;font:9px 'DM Mono',monospace;letter-spacing:.25em;color:#81799c}.hero-bottom{position:absolute;bottom:0;left:8%;right:8%;border-top:1px solid var(--line);padding:17px 0;display:flex;justify-content:space-between;color:#69667b;font:9px 'DM Mono',monospace;letter-spacing:.13em}.section{max-width:var(--max);margin:auto;padding:92px 28px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.section-heading .eyebrow{margin-bottom:8px}h2{font-size:clamp(28px,4vw,43px);line-height:1.15;letter-spacing:-.05em;margin:0}.section-note{font:9px 'DM Mono',monospace;color:#6e6a82;letter-spacing:.1em}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.post-card{background:var(--panel);border:1px solid var(--line);padding:12px 12px 22px;border-radius:7px;transition:transform .2s,border-color .2s}.post-card:hover{transform:translateY(-3px);border-color:#7655bc}.post-visual{height:170px;padding:15px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;background:#191324}.post-visual:after{content:"";position:absolute;width:190px;height:190px;border:1px solid #ffffff24;border-radius:50%;right:-30px;bottom:-90px;box-shadow:0 0 0 25px #ffffff05,0 0 0 50px #ffffff04}.post-visual span{font:10px 'DM Mono',monospace;color:#d2c3ff}.post-visual b{font-size:26px;line-height:1.03;letter-spacing:-.04em;z-index:1}.visual-blue{background:linear-gradient(135deg,#13242c,#17203b)}.visual-red{background:linear-gradient(135deg,#2b1728,#21172c)}.post-meta{font:9px 'DM Mono',monospace;color:#a58de3;letter-spacing:.12em;margin-top:19px}.post-card h3{font-size:18px;margin:7px 0}.post-card p,.projects-band p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:0}.projects-band{padding:60px max(8vw,28px);background:linear-gradient(100deg,#15111f,#0d151b);border-block:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:30px}.projects-band>div{max-width:580px}.projects-band h2{font-size:clamp(34px,5vw,55px)}.projects-band p:not(.eyebrow){max-width:450px}.live-label{font:10px 'DM Mono',monospace;color:#b9b3cc;letter-spacing:.12em}.chat-shell{max-width:800px;border:1px solid var(--line);background:var(--panel);border-radius:8px;overflow:hidden;margin-top:28px}.chat-top{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.chat-top b,.chat-top small{display:block}.chat-top b{font-size:13px}.chat-top small{color:var(--muted);font-size:10px}.chat-status{font:9px 'DM Mono',monospace;color:var(--cyan);border:1px solid #73e4e833;padding:5px 8px}.chat-messages{height:260px;overflow:auto;padding:17px;display:flex;flex-direction:column;gap:10px}.system-message{font-size:11px;color:#aaa3c0;background:#ffffff06;padding:10px 12px;border-radius:5px}.chat-message{font-size:12px;color:#ded9ec;padding:7px 10px;border-left:2px solid #7957d6;background:#ffffff04}.chat-message b{color:#b9a0ff;margin-right:8px}.chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line)}input,textarea{font:12px Manrope,sans-serif;color:var(--text);background:#09090f;border:1px solid var(--line);border-radius:5px;padding:12px;min-width:0}input:focus,textarea:focus{outline:1px solid #8e6be5}.chat-form input:first-child{width:140px}.chat-form input:nth-child(2){flex:1}.send-button{border:0;border-radius:5px;background:#7957d6;color:white;width:42px;cursor:pointer}.chat-footnote{font-size:10px;color:#777187;padding:0 17px 12px;margin:0}footer{border-top:1px solid var(--line);padding:25px max(5vw,24px);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#706b82;font:9px 'DM Mono',monospace;letter-spacing:.1em}.footer-brand{color:var(--text);font:800 12px Manrope,sans-serif}.footer-brand .brand-mark{width:28px;height:28px;font-size:14px}.admin-body{min-height:100vh}.admin-wrap{max-width:850px;margin:0 auto;padding:60px 24px}.admin-wrap h1{font-size:clamp(40px,6vw,65px)}.notice{background:#171426;border:1px solid #544178;padding:16px;border-radius:6px;margin:25px 0}.notice b{color:#c6b1ff}.notice p,.editor-panel p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:0}.editor-panel{border:1px solid var(--line);background:var(--panel);padding:22px;border-radius:7px;margin:18px 0}.editor-panel h2{font-size:22px;margin-bottom:18px}.editor-panel label{display:block;font-size:11px;color:#c2bbd4;margin:14px 0 7px}.editor-panel input:not([type=checkbox]),.editor-panel textarea{width:100%}.editor-panel .button{margin-top:16px}.editor-form{display:flex;flex-direction:column}.check-label{display:flex!important;align-items:center;gap:8px}.status-text{font-size:11px;color:var(--cyan)!important;margin-top:12px!important}.status-text.error{color:#ff9baf!important}@media(max-width:800px){.hero{min-height:650px;padding-top:65px;align-items:flex-start}.hero-art{right:-80px;top:270px;width:300px;height:290px;opacity:.32}.hero-copy{max-width:600px}.hero-bottom{left:28px;right:28px}.hero-bottom span:nth-child(2){display:none}.post-grid{grid-template-columns:1fr 1fr}.post-card:last-child{display:none}.projects-band{align-items:flex-start;flex-direction:column}.section{padding-block:65px}.section-heading{align-items:flex-start;flex-direction:column}.section-note{display:none}footer{flex-wrap:wrap}nav{gap:13px}nav a{font-size:11px}}@media(max-width:520px){.topbar{height:68px;padding-inline:17px}.brand{font-size:12px}.brand-mark{width:30px;height:30px}nav{gap:10px}nav a:nth-child(2){display:none}.hero{padding-inline:22px;min-height:620px}.hero-bottom{left:22px;right:22px}.hero-bottom span:last-child{display:none}.hero-lead{font-size:14px}.post-grid{grid-template-columns:1fr}.post-card:last-child{display:block}.post-visual{height:150px}.chat-form{flex-wrap:wrap}.chat-form input:first-child{width:100%}.chat-form input:nth-child(2){width:calc(100% - 50px)}footer{padding-inline:20px}.footer-brand{width:100%}}

/* Account-based community chat */
.account-area{padding:14px 16px 4px;border-top:1px solid var(--line)}
.account-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.account-form input{flex:1;min-width:160px}.account-form .button{padding:11px 14px}
.account-link{background:transparent;border:0;color:#bda5ff;cursor:pointer;font:600 11px Manrope,sans-serif;padding:8px}
#account-info{font-size:12px;color:#c8b9f3}#account-info[hidden],#account-form[hidden]{display:none}
.chat-identity{font-size:11px;color:#bda5ff;align-self:center;min-width:110px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-source{display:inline-block;font:9px 'DM Mono',monospace;color:#8fe5e6;border:1px solid #73e4e833;border-radius:3px;padding:1px 5px;margin:0 8px 0 0}
.chat-message{overflow-wrap:anywhere}.chat-message .account-link{margin-left:8px}.send-button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:520px){.chat-identity{width:100%}.chat-form input:nth-child(2){width:auto;flex:1}}

/* Bridge source indicators and password visibility */
.chat-source{font-weight:700;letter-spacing:.03em;white-space:nowrap}
{color:#c5b8ff;border-color:#8c7eff77;background:#5865f222}.source-discord
.source-app{color:#9af1c4;border-color:#53c99666;background:#1d8c5b20}
.source-website{color:#8fe5e6;border-color:#73e4e855;background:#73e4e811}
.source-legacy{color:#a8a4b4;border-color:#77738855}
.source-youtube{color:#ff4d5e;border-color:#ff3355;background:#45111e}
.password-wrap{position:relative;display:inline-flex;align-items:center;min-width:0}
.password-wrap input{padding-right:58px;width:100%}
.password-toggle{position:absolute;right:8px;border:0;background:transparent;color:#c9b6ff;cursor:pointer;padding:7px;font-size:11px;font-weight:700}
.password-toggle:focus-visible{outline:2px solid #9a6bff;border-radius:4px}

/* Compact local-time chat timestamps; tap or focus to see the full date. */
.chat-time{display:inline-block;color:#a6a0b8;font:10px 'DM Mono',monospace;cursor:pointer;margin-right:8px;white-space:normal;border-bottom:1px dotted #736b8b;outline-offset:3px}
.chat-time:hover,.chat-time:focus{color:#e2d4ff}
.chat-time.show-full{color:#e2d4ff}

/* Community navigation and optional Discord join panel */
.community-nav{position:relative;color:#c4c0d2}
.community-nav summary{cursor:pointer;list-style:none;font:inherit;user-select:none}
.community-nav summary::-webkit-details-marker{display:none}
.community-nav summary:hover,.community-nav[open] summary{color:#fff}
.community-nav summary:focus-visible,.community-menu a:focus-visible,.community-join-button:focus-visible{outline:2px solid var(--purple);outline-offset:4px}
.community-menu{position:absolute;top:calc(100% + 16px);right:0;z-index:20;min-width:195px;background:#161320;border:1px solid #45365e;border-radius:8px;box-shadow:0 18px 40px #0009;padding:7px;display:flex;flex-direction:column;gap:2px}
.community-menu a{display:block;padding:10px 12px;border-radius:5px;font-size:12px;white-space:nowrap}
.community-menu a:hover{background:#9a6bff1d;color:#fff}
.community-layout{display:grid;grid-template-columns:minmax(0,800px) minmax(240px,1fr);gap:22px;align-items:start}
.community-layout .chat-shell{width:100%;max-width:none}
.community-hub{margin-top:28px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(150deg,#191324,#111119 65%);padding:24px;min-width:0}
.community-hub .eyebrow{font-size:9px;margin-bottom:13px}
.community-hub h3{font-size:21px;letter-spacing:-.045em;line-height:1.3;margin:0 0 12px}
.community-hub>p:not(.eyebrow){font-size:12px;line-height:1.8;color:var(--muted)}
.community-join-button{margin-top:12px;width:100%;text-align:center}
.community-hub .community-hub-note{font-size:10px;line-height:1.6;margin:15px 0 0;color:#9189a8}
@media(max-width:850px){.community-layout{grid-template-columns:1fr}.community-hub{margin-top:0}}
@media(max-width:520px){.community-menu{right:0;min-width:180px}.community-hub{padding:20px}}

.post-media{display:block;width:100%;max-height:250px;object-fit:cover;border:0;border-radius:10px;margin-bottom:12px}.member-inbox-item{padding:12px;border-bottom:1px solid #55476d}.member-inbox-item small{display:block;color:#baa7ce}.member-inbox-item p{white-space:pre-wrap;overflow-wrap:anywhere}.member-inbox-item button{margin-top:8px}#member-inbox-messages{max-height:360px;overflow:auto;background:#15111e;border-radius:12px;padding:12px;margin:16px 0}.topbar #control-link{font-size:.8rem;padding:.5rem}.chat-message .account-link{margin-left:9px}
/* Arcveil mobile shell v8: desktop presentation remains unchanged. */
.mobile-menu-toggle,.mobile-nav,.app-bottom-nav{display:none}
@media(max-width:800px){
 html,body{max-width:100%;overflow-x:clip}
 .topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;min-height:72px}
 .topbar>.brand{display:flex;flex:0 1 auto;min-width:0;max-width:calc(100% - 68px);white-space:nowrap}
 .topbar>.brand .brand-mark{flex-shrink:0}
 .topbar>nav,.topbar>#control-link{display:none!important}
 .mobile-menu-toggle{display:inline-flex;flex:0 0 44px;width:44px;height:44px;align-items:center;justify-content:center;border:1px solid #504061;background:#1c1429;color:#f5eeff;border-radius:12px;font-size:23px;cursor:pointer}
 .mobile-nav:not([hidden]){display:flex;position:fixed;top:72px;left:12px;right:12px;z-index:1001;flex-direction:column;max-height:calc(100dvh - 95px);overflow-y:auto;background:#191222;border:1px solid #55416e;box-shadow:0 18px 40px #000b;border-radius:14px;padding:10px}
 .mobile-nav a{display:block;padding:13px 14px;color:#f3eaff;font-size:14px;text-decoration:none;border-radius:9px}
 .mobile-nav a:hover,.mobile-nav a:focus-visible{background:#39264f}
 .mobile-nav a[hidden]{display:none}
 .hero{max-width:100%;overflow:hidden}
 .hero-copy,.hero-actions,.hero-lead{min-width:0;max-width:100%}
 .hero-actions{display:flex;flex-wrap:wrap;gap:10px}
 .hero-actions .button{max-width:100%;white-space:normal;text-align:center}
 .hero h1{overflow-wrap:normal;font-size:clamp(42px,11vw,90px)}
 .community-layout,.chat-shell,.chat-form,.account-area,.account-form{min-width:0;max-width:100%}
 .chat-messages{overflow-wrap:anywhere}
}
@media(max-width:480px){
 .hero-actions .button{flex:1 1 100%;width:100%;min-height:48px}
 .hero{padding-inline:18px}.hero-copy{max-width:100%}
 .hero .eyebrow{letter-spacing:.13em;font-size:9px;line-height:1.8}
 .hero h1{font-size:clamp(40px,12vw,62px)}
}
@media(max-width:800px){
 html.arcveil-standalone .app-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:1000;padding:9px 4px calc(9px + env(safe-area-inset-bottom,0px));background:#191123;border-top:1px solid #56436e;box-shadow:0 -8px 24px #0008}
 html.arcveil-standalone .app-bottom-nav a,html.arcveil-standalone .app-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;border:0;background:none;color:#d6c5f5;font:600 10px system-ui;text-decoration:none;cursor:pointer;min-height:43px}
 html.arcveil-standalone .app-bottom-nav span{font-size:21px;line-height:1.1}
 html.arcveil-standalone body{padding-bottom:calc(75px + env(safe-area-inset-bottom,0px))}
 html.arcveil-standalone .mobile-nav:not([hidden]){bottom:calc(75px + env(safe-area-inset-bottom,0px));top:auto;max-height:65dvh}
}
