/* ArchForge 11.1 — Aurora: thoughtful dark developer UI. */
:root{--v111-cyan:#68caff;--v111-border:#304b65;--v111-surface:#122237;--v111-soft:#9fb6cc}
.v111-overline{text-transform:uppercase;font-size:10px;font-weight:850;letter-spacing:2.1px;color:#65cafa}
.v111-status-pulse{width:7px;height:7px;background:#52dfbe;border-radius:50%;box-shadow:0 0 0 5px #3dd6bd1e;display:inline-block}
.v111-discord-nav{color:#addbff!important;border:1px solid #426586;border-radius:9px;background:#183047;padding:7px 10px!important;white-space:nowrap;display:flex!important;gap:6px;align-items:center}
.v111-discord-nav:hover{background:#204963!important;border-color:#75cfff!important;text-decoration:none}.v111-discord-nav span{opacity:.7}
.v111-nav-avatar-img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.avatar-mini:has(.v111-nav-avatar-img),.avatar-xs:has(.v111-nav-avatar-img){overflow:hidden}
.v111-discord-card,.v111-side-discord,.v111-repo-discord{position:relative!important;background:radial-gradient(ellipse at 105% -10%,#3572be3c,transparent 65%),linear-gradient(145deg,#162b44,#102033)!important;border:1px solid #3a6485!important;overflow:hidden}
.v111-discord-card{padding:22px!important}.v111-discord-card h2,.v111-side-discord h3,.v111-repo-discord h3{margin:9px 0 8px;font-size:17px!important;line-height:1.3}.v111-discord-card p,.v111-side-discord p,.v111-repo-discord p{color:#a2bed4;font-size:12px;line-height:1.7}.v111-discord-card>a{margin-top:8px}
.v111-discord-icon{font-size:25px;display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#24527d;border:1px solid #4b8cb6;color:#b7e8ff;margin-bottom:12px}.v111-dismiss{position:absolute;top:11px;right:12px;background:none;border:0;color:#b6c9d8;line-height:1;padding:5px}.v111-dismiss:hover{color:white}.v111-discord-card[hidden]{display:none!important}
.v111-side-discord{padding:20px!important;border-radius:12px}.v111-side-discord .btn{margin-top:8px}
/* Login landing · paired storytelling and account access. */
body:has(.v111-auth-scene){background:#080f1d}
body:has(.v111-auth-scene) .page-shell{max-width:1500px;padding:0 30px 80px;position:relative}
.v111-auth-scene{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(400px,.88fr);gap:clamp(40px,7vw,140px);align-items:center;max-width:1170px;margin:65px auto 90px;min-height:585px}
.v111-auth-scene:before{content:"";position:absolute;inset:-30px -8% -20px;z-index:-2;opacity:.37;background-image:linear-gradient(#69b7f70c 1px,transparent 1px),linear-gradient(90deg,#69b7f70c 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(ellipse at 30% 50%,black,transparent 78%)}
.v111-auth-orb{position:absolute;z-index:-1;border-radius:50%;pointer-events:none;filter:blur(75px)}.v111-auth-orb-one{width:440px;height:340px;background:#176bbf1c;left:-100px;top:30px}.v111-auth-orb-two{width:380px;height:370px;background:#277add19;right:-30px;bottom:-25px}
.v111-auth-pitch{padding:20px 0}.v111-auth-kicker{display:inline-flex;align-items:center;gap:13px;color:#82caff;letter-spacing:2.3px;font-size:10px;font-weight:800}.v111-auth-pitch h1{font-size:clamp(46px,4.25vw,67px);letter-spacing:-3.5px;line-height:1.095;font-weight:850;margin:22px 0}.v111-auth-pitch h1 span{background:linear-gradient(92deg,#48baff,#a1deff);background-clip:text;-webkit-background-clip:text;color:transparent}.v111-auth-pitch>p{color:#a6b9d0;font-size:15px;max-width:460px;line-height:1.8}.v111-auth-features{display:grid;gap:20px;margin:32px 0}.v111-auth-features>div{display:flex;gap:14px;align-items:center}.v111-feature-icon{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #315879;background:linear-gradient(140deg,#1b3b58,#10263c);border-radius:12px;color:#78caff;font-size:22px}.v111-auth-features strong,.v111-auth-features small{display:block}.v111-auth-features strong{font-size:13px;color:#e9f3fd}.v111-auth-features small{font-size:12px;color:#8fa6bf;margin-top:2px;line-height:1.5}
.v111-auth-community-link{margin-top:30px;display:flex;align-items:center;gap:12px;max-width:460px;border:1px solid #375b79;border-radius:13px;padding:14px 16px;background:linear-gradient(120deg,#17334e,#142239);color:#e6f4ff!important;text-decoration:none!important;transition:transform .2s,border-color .2s}.v111-auth-community-link:hover{transform:translateY(-2px);border-color:#6cbff2}.v111-auth-community-link>span:first-child{font-size:25px;color:#79c6ff}.v111-auth-community-link strong,.v111-auth-community-link small{display:block}.v111-auth-community-link strong{font-size:13px}.v111-auth-community-link small{font-size:11px;color:#8fa9bd}.v111-auth-community-link b{margin-left:auto;font-size:18px;color:#77bde8}
.v111-auth-right{max-width:450px;width:100%;justify-self:center}.v111-auth-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.v111-auth-mark{width:44px;height:44px;background:linear-gradient(145deg,#255982,#16364f);border:1px solid #438ab3;border-radius:13px;display:grid;place-items:center;color:#a0ddff;font-size:27px;box-shadow:0 0 45px #329fe91c}.v111-auth-step{font-size:10px;font-weight:800;color:#668da9;letter-spacing:1.2px}
.v111-auth-form-card{background:linear-gradient(160deg,#17263a,#101b2b);border:1px solid #37516b;box-shadow:0 25px 75px #01081183,0 0 0 1px #629ac510 inset;border-radius:19px;padding:33px}.v111-auth-card-heading h2{font-size:27px;letter-spacing:-1px;margin:11px 0 4px}.v111-auth-card-heading h2 span{color:#65c7ff}.v111-auth-card-heading p{color:#91aac0;font-size:12px;margin:0 0 29px}.v111-auth-form{display:grid;gap:10px}.v111-auth-form>label,.v111-auth-label>label{color:#d8e7f4;font-size:12px;font-weight:750}.v111-auth-label{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.v111-auth-label>a{font-size:11px}.v111-input-wrap{position:relative;display:flex;align-items:center;background:#0c1828;border:1px solid #344e68;border-radius:9px;transition:border-color .18s,box-shadow .18s}.v111-input-wrap:focus-within{border-color:#5abdf2;box-shadow:0 0 0 3px #53b8e91c}.v111-input-wrap>span{flex:0 0 38px;text-align:center;color:#7c9bb5;font-size:19px}.v111-input-wrap input{border:0;box-shadow:none!important;outline:0;background:transparent;flex:1;min-width:0;height:46px;font-size:13px;padding:10px 12px 10px 0}.v111-show-password{margin:0 10px 0 0;border:0;background:none;color:#78bce8;font-size:11px}.v111-auth-submit{height:46px;width:100%;margin:13px 0 6px;border-radius:9px;font-size:13px;justify-content:space-between;padding:0 17px;background:linear-gradient(110deg,#197eaf,#299bcf);box-shadow:0 6px 24px #167cbd35}.v111-auth-submit span{font-size:20px}.v111-secure-info{border-top:1px solid #2b4056;padding-top:17px;margin-top:14px;font-size:11px;line-height:1.55;color:#9fb5c6;display:flex;align-items:center;gap:9px}.v111-secure-info span{display:grid;place-items:center;background:#153b3a;color:#7ce2c3;border-radius:50%;width:18px;height:18px;flex:none}.v111-auth-join{border:1px solid #2d455d;border-radius:11px;padding:16px;text-align:center;margin-top:15px;font-size:12px;background:#101c2b;color:#b5c5d3}.v111-auth-join a{font-weight:700}.v111-auth-bottom{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin-top:23px}.v111-auth-bottom a{font-size:11px;color:#8199b0}
/* Shared auth pages: consistent with the sign-in design. */
body:has(.v11-auth-page) .v11-auth-panel,body:has(.v6-auth) .v6-auth{border:1px solid #37526b;background:linear-gradient(150deg,#17283c,#111d2e);box-shadow:0 26px 70px #0004;border-radius:16px}
body:has(.v11-auth-page) .v11-auth-symbol{box-shadow:0 0 35px #1c95ca33;border-radius:15px}
/* Repo detail: visual hierarchy while keeping familiar code workflows. */
body:has(.v111-repo-hero) .page-shell{max-width:1480px;padding-top:24px}
body:has(.v111-repo-hero) .repo-context{background:transparent;border-bottom:1px solid #2a4054;margin-bottom:18px;padding:0 28px}
body:has(.v111-repo-hero) .repo-title{font-size:15px;padding:4px 0 13px;color:#aac1d6}
body:has(.v111-repo-hero) .repo-title .big-icon{color:#55beff}
body:has(.v111-repo-hero) .repo-tabs{display:flex;gap:3px;flex-wrap:wrap}
body:has(.v111-repo-hero) .repo-tabs a{border-radius:8px 8px 0 0;padding:10px 12px;font-size:11px;white-space:nowrap;color:#90a9c0;transition:color .15s,background .15s}
body:has(.v111-repo-hero) .repo-tabs a:hover{background:#182b3f;color:#d7eafa}
body:has(.v111-repo-hero) .repo-tabs a.active{color:#e8f6ff;background:#19324a;border-color:#53c7ff}
.v111-repo-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;background:radial-gradient(ellipse at 100% 10%,#22599051,transparent 55%),linear-gradient(115deg,#172a40,#0f1e30);border:1px solid #365470;border-radius:17px;padding:25px 26px;margin:12px 0 23px;box-shadow:0 12px 40px #0002}
.v111-repo-hero-main{display:flex;gap:18px;min-width:0}.v111-repo-icon{width:54px;height:54px;flex:none;display:grid;place-items:center;border:1px solid #4d93bb;background:#214c6d;border-radius:14px;color:#95d9ff;font-size:30px}.v111-repo-hero h1{font-size:clamp(22px,2.3vw,32px);letter-spacing:-.9px;margin:5px 0 7px;overflow-wrap:anywhere}.v111-repo-hero p{font-size:13px;color:#9db4c9;margin-bottom:15px;max-width:640px}.v111-visibility{display:inline-flex;vertical-align:middle;margin-left:11px;font-size:10px;font-weight:700;letter-spacing:0;color:#a9c4d9;border:1px solid #42627f;border-radius:20px;padding:3px 9px}.v111-repo-meta{display:flex;gap:14px 21px;flex-wrap:wrap;color:#acc1d5;font-size:11px}.v111-repo-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:flex-end;min-width:max-content}.v111-repo-hero-actions .btn{border-radius:8px}
.v111-repo-body{grid-template-columns:minmax(0,1fr) 275px;gap:24px}.v111-repo-body .repo-toolbar{border:1px solid #273e56;border-radius:10px;padding:10px;background:#0f1d2d;margin:0 0 14px;gap:8px}.v111-repo-body .repo-toolbar .btn,.v111-repo-body .branch-menu select{border-radius:7px}.v111-repo-body .file-list{border:1px solid #354d63;border-radius:11px;overflow:hidden;background:#101b29;box-shadow:0 8px 25px #0002}.v111-repo-body .file-heading{padding:14px 16px;background:linear-gradient(110deg,#1a2d42,#132236);border-color:#2e455c}.v111-repo-body .file-row{padding:13px 16px;min-height:43px;border-bottom:1px solid #26394b;color:#cddceb;transition:background .14s}.v111-repo-body .file-row:hover{background:#203850;color:#fff;text-decoration:none}.v111-repo-body .file-symbol{font-size:15px;color:#76bbeb}.v111-repo-body .readme{border:1px solid #2f485f;border-radius:11px;margin-top:18px;box-shadow:0 8px 22px #0002}.v111-repo-body .readme-bar{background:linear-gradient(90deg,#192c40,#142333);padding:14px 19px;font-weight:700}
.v111-repo-side{display:grid;align-content:start;gap:12px}.v111-repo-side>.sidebar-section{background:linear-gradient(145deg,#142337,#101c2b);border:1px solid #2b4258;border-radius:11px;padding:18px;margin:0}.v111-repo-side h3{font-size:13px;color:#e4f2ff;margin-bottom:11px}.v111-repo-side .sidebar-stat{padding:5px 0;color:#a6bcd1;font-size:12px}.v111-repo-side .sidebar-section .btn.full{margin-top:6px}.v111-repo-discord{padding:19px!important}.v111-repo-discord .btn{width:100%;white-space:normal;text-align:center}
/* Profile image management and editor. */
.v111-profile-settings{margin:20px 0 26px;padding:24px;display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.35fr);gap:25px;border-radius:15px;border:1px solid #344e69;background:radial-gradient(ellipse at 95% -25%,#295c9733,transparent 70%),#112035}.v111-profile-settings h2{font-size:22px;margin:9px 0}.v111-profile-settings p{max-width:330px;font-size:12px}.v111-settings-images{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v111-settings-photo,.v111-settings-cover{background:#0e1d2e;border:1px solid #2b4962;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:12px}.v111-settings-photo>div:last-child,.v111-settings-cover>div:last-child{display:grid;justify-items:start;gap:7px}.v111-settings-avatar{width:74px;height:74px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#264c71;color:#c6eaff;border:2px solid #63ade0;font-size:27px;font-weight:800}.v111-settings-avatar img{width:100%;height:100%;object-fit:cover}.v111-cover-mini{height:74px;width:100%;background:linear-gradient(105deg,#21527f,#163348,#101c31);border:1px solid #426484;border-radius:9px;overflow:hidden;display:grid;place-items:center}.v111-cover-mini img{width:100%;height:100%;object-fit:cover}.v111-cover-mini span{font-size:29px;color:#86d4ff}.v111-settings-images strong{font-size:12px}.v111-link-button{padding:2px 0;border:0;background:none;color:#80c7f2;font-size:11px}.v111-link-button:hover{text-decoration:underline}
.v111-profile-cover{overflow:hidden}.v111-profile-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.v111-profile-cover:has(img):before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#05182a66,transparent 65%);z-index:1}.v111-edit-cover{position:absolute;right:20px;top:20px;z-index:2;border:1px solid #5c88b0;background:#102a44d9;color:#d5f0ff;border-radius:8px;padding:8px 13px;font-size:11px;font-weight:750}.v111-edit-cover:hover{background:#20618b}.v111-profile-avatar-wrap{position:relative;flex:none}.v111-profile-avatar-wrap .af-profile-avatar{overflow:hidden}.v111-edit-avatar{position:absolute;right:0;bottom:0;border:2px solid #15273a;background:#257eb1;color:white;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;font-size:13px}.v111-edit-avatar:hover{background:#38a3d7}
.v111-media-modal{position:fixed;margin:auto;max-height:95vh;overflow-y:auto;width:min(660px,calc(100vw - 22px));padding:24px;border:1px solid #507493;border-radius:19px;background:linear-gradient(155deg,#172b43,#101d2e);color:#eef8ff;box-shadow:0 35px 130px #000e}.v111-media-modal::backdrop{background:#020816cc;backdrop-filter:blur(5px)}.v111-modal-heading{display:flex;justify-content:space-between;gap:12px}.v111-modal-heading h2{font-size:23px;margin:7px 0}.v111-modal-heading p{color:#a3b9cb;font-size:12px}.v111-modal-heading>button{border:0;background:none;color:#a7c5d9;font-size:20px;align-self:start}.v111-pick-image{display:block;position:relative;margin:15px 0;padding:14px;border:1px dashed #5496c3;border-radius:10px;background:#1a3a56;color:#c2e7fd;text-align:center;cursor:pointer;font-size:12px;font-weight:700}.v111-pick-image input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.v111-crop-wrap{position:relative;max-width:330px;aspect-ratio:1;margin:0 auto;border-radius:11px;overflow:hidden;border:1px solid #6585a2;background:repeating-conic-gradient(#263a50 0% 25%,#1c3046 0% 50%) 50% / 24px 24px;cursor:grab;touch-action:none}.v111-crop-wrap.v111-banner-stage{max-width:100%;aspect-ratio:10/3}.v111-crop-wrap canvas{display:block;width:100%;height:100%;touch-action:none}.v111-crop-outline{position:absolute;inset:0;border:2px solid #bbe8ff;border-radius:50%;box-shadow:0 0 0 26px #04102055 inset;pointer-events:none}.v111-crop-outline.v111-banner-outline{border-radius:0;box-shadow:0 0 0 7px #0313274f inset}.v111-crop-controls{display:flex;gap:14px;align-items:end;margin:18px 0;justify-content:space-between}.v111-crop-controls>label{flex:1;display:grid;gap:6px;font-size:12px;color:#acc3d6}.v111-crop-controls input{padding:0;box-shadow:none;accent-color:#50bfff}.v111-crop-controls>div{display:flex;gap:7px}.v111-preview{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #38516a;padding:14px 0;color:#a8bfd5;font-size:12px}.v111-preview canvas{border-radius:50%;background:#1c3146;width:64px;height:64px}.v111-preview canvas.v111-banner-preview{width:180px;height:54px;border-radius:7px}.v111-modal-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.v111-modal-actions>span{flex:1;color:#9db5cc;font-size:11px}.v111-modal-actions .v111-feedback-error{color:#ffb0b6}.v111-modal-actions button:disabled{opacity:.48;cursor:not-allowed}.v111-pick-image.v111-dragging-over,.v111-crop-wrap.v111-dragging-over{outline:2px dashed #73d2ff;outline-offset:3px}
/* Responsive. */
@media(max-width:1200px){.v111-repo-hero{flex-wrap:wrap}.v111-repo-hero-actions{margin-left:72px}.v111-auth-scene{gap:35px}.v111-auth-pitch h1{font-size:49px}}
@media(max-width:1040px){.v111-discord-nav{padding:7px 8px!important}.v111-repo-body{grid-template-columns:minmax(0,1fr) 240px}.v111-auth-scene{grid-template-columns:minmax(0,1fr) minmax(360px,1fr)}.v111-auth-form-card{padding:24px}.v111-profile-settings{grid-template-columns:1fr}}
@media(max-width:800px){.v111-auth-scene{grid-template-columns:1fr;max-width:510px;margin:40px auto;gap:25px}.v111-auth-pitch{padding:5px 0}.v111-auth-pitch h1{font-size:43px}.v111-auth-features{grid-template-columns:1fr;gap:10px;margin:19px 0}.v111-auth-features>div{gap:10px}.v111-auth-community-link{margin-top:14px}.v111-auth-right{max-width:100%}.v111-repo-body{grid-template-columns:1fr}.v111-repo-side{grid-template-columns:repeat(2,minmax(0,1fr))}.v111-repo-hero{padding:19px}.v111-repo-hero-actions{margin-left:0}.v111-repo-meta{gap:8px 13px}.v111-profile-settings{gap:12px}}
@media(max-width:620px){body:has(.v111-auth-scene) .page-shell{padding:0 15px 50px}.v111-auth-pitch h1{font-size:39px;letter-spacing:-2px}.v111-auth-features>div:nth-child(n+2){display:none}.v111-auth-form-card{padding:23px 18px}.v111-auth-kicker{font-size:9px}.v111-repo-hero-main{gap:12px}.v111-repo-icon{width:42px;height:42px;font-size:24px}.v111-repo-hero h1{font-size:24px}.v111-visibility{margin-left:7px}.v111-repo-side{grid-template-columns:1fr}.v111-repo-body .repo-toolbar{padding:8px;flex-wrap:wrap}.v111-settings-images{grid-template-columns:1fr}.v111-settings-photo,.v111-settings-cover{flex-direction:row;align-items:center}.v111-settings-photo>div:last-child,.v111-settings-cover>div:last-child{flex:1}.v111-cover-mini{width:110px;flex:none}.v111-profile-settings{padding:17px}.v111-crop-controls{flex-wrap:wrap}.v111-crop-controls>label{flex-basis:100%}.v111-media-modal{padding:17px}.v111-modal-actions>span{flex-basis:100%}.v111-discord-nav{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.v111-auth-scene *, .v111-media-modal *, .v111-repo-body *{transition:none!important;animation:none!important}}

/* Profile cover edit button stays attached to its own profile header. */
.af-profile-hero{position:relative}
