/* Aetheria Origins 1x brand layer. Loaded after the original styles so the
   existing modal/animation system remains intact. */
:root {
  --aetheria-gold: #d8a542;
  --aetheria-gold-soft: #f2d58a;
  --aetheria-blue: #1b85d6;
  --aetheria-blue-bright: #5dc7ff;
  --aetheria-ink: #060b12;
  --aetheria-panel: rgba(8, 15, 25, .88);
}
body { background:#05080d; color:#e9f1f8; }
body::selection { background:rgba(29,133,214,.38); color:#fff; }
.site-header { background:linear-gradient(180deg,rgba(4,8,14,.96),rgba(4,8,14,.68)); border-bottom-color:rgba(216,165,66,.22); }
.site-logo img, .brand-logo img { width:min(250px,34vw); height:auto; object-fit:contain; filter:drop-shadow(0 8px 24px rgba(0,0,0,.55)); }
.hero--aetheria { position:relative; isolation:isolate; min-height:780px; overflow:hidden; }
.hero--aetheria::before { content:""; position:absolute; inset:0; z-index:-2; background-image:url('../images/ko-backgrounds/ko-wallpaper-02.jpg'); background-size:cover; background-position:center; background-repeat:no-repeat; }
.hero--aetheria::after { content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(circle at 50% 28%,rgba(24,121,190,.18),transparent 32%),linear-gradient(90deg,rgba(3,7,13,.92),rgba(3,8,15,.42) 52%,rgba(3,7,13,.78)),linear-gradient(180deg,rgba(1,5,9,.20),#05080d 98%); }
.hero__aetheria-logo, .aetheria-hero-logo { width:min(820px,76vw); max-height:330px; object-fit:contain; margin:0 0 10px; filter:drop-shadow(0 18px 30px rgba(0,0,0,.58)); animation:aetheriaFloat 7s ease-in-out infinite; }
@keyframes aetheriaFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.hero__copy h1 { color:#f7f1e6; text-shadow:0 4px 22px rgba(0,0,0,.55); }
.hero__copy .kicker,.section__heading>p,.kicker { color:var(--aetheria-gold-soft); }
.button--primary { background:linear-gradient(135deg,#98651f,#d9a646 45%,#7d511a); border-color:#efcf82; color:#08101a; box-shadow:0 10px 30px rgba(216,165,66,.18); }
.button--primary:hover { filter:brightness(1.12); transform:translateY(-1px); }
.button--ghost { border-color:rgba(93,199,255,.38); color:#dff5ff; background:rgba(8,28,43,.45); }
.server-live-strip,.beta-card,.project-cards article,.panel-card,.ranking-shell,.account-card { backdrop-filter:blur(14px); background:linear-gradient(145deg,rgba(8,17,29,.92),rgba(7,11,18,.78)); border-color:rgba(82,157,206,.18); }
.server-live-strip__dot.is-online { background:#5ee59e; box-shadow:0 0 16px rgba(94,229,158,.75); }
.section--project { position:relative; isolation:isolate; }
.section--project::before { content:""; position:absolute; inset:0; z-index:-2; background-image:url('../images/ko-backgrounds/ko-wallpaper-04.jpg'); background-size:cover; background-position:center; opacity:.34; }
.section--project::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,#05080d 0%,rgba(5,8,13,.65) 24%,rgba(5,8,13,.72) 74%,#05080d 100%); }
.section--community { position:relative; isolation:isolate; }
.section--community::before { content:""; position:absolute; inset:0; z-index:-2; background-image:url('../images/ko-backgrounds/ko-wallpaper-05.jpg'); background-size:cover; background-position:center; opacity:.28; }
.section--community::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,#05080d,rgba(5,8,13,.65),#05080d); }
.project-tags span,.account-chip,.ranking-chip { border-color:rgba(216,165,66,.30); color:#ffe4a3; background:rgba(141,94,26,.14); }
.site-footer img { width:min(280px,56vw); height:auto; }
.modal__sigil { color:var(--aetheria-gold-soft); border-color:rgba(216,165,66,.34); }
.panel-modal__dialog,.modal__dialog { background:linear-gradient(145deg,rgba(7,14,24,.98),rgba(5,8,14,.98)); border-color:rgba(216,165,66,.25); }
.aetheria-account-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:18px; }
.aetheria-account-card { border:1px solid rgba(93,199,255,.16); border-radius:16px; padding:20px; background:rgba(7,16,28,.76); }
.aetheria-account-card h3 { margin:0 0 7px; color:#fff; }
.aetheria-account-meta { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 16px; }
.aetheria-account-meta span { font-size:.76rem; border:1px solid rgba(216,165,66,.22); border-radius:999px; padding:5px 9px; color:#f4d692; }
.ko-character-list { display:grid; gap:8px; margin-top:14px; }
.ko-character-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border-radius:10px; background:rgba(255,255,255,.035); text-decoration:none; color:inherit; }
.ko-character-row:hover { background:rgba(31,129,196,.12); }
.inventory-grid { display:grid; grid-template-columns:repeat(10,minmax(42px,1fr)); gap:6px; }
.inventory-slot { aspect-ratio:1; border:1px solid rgba(96,154,196,.20); border-radius:8px; background:rgba(3,8,14,.82); display:grid; place-items:center; position:relative; overflow:hidden; }
.inventory-slot img { max-width:90%; max-height:90%; image-rendering:auto; }
.inventory-slot small { position:absolute; right:3px; bottom:1px; font-size:10px; color:#fff; text-shadow:0 1px 3px #000; }
.character-hero { display:grid; grid-template-columns:1fr auto; gap:20px; align-items:end; }
.character-stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:10px; margin-top:18px; }
.character-stat-grid div { padding:13px; border:1px solid rgba(93,199,255,.13); background:rgba(255,255,255,.025); border-radius:11px; }
.character-stat-grid span { display:block; color:#8fa8ba; font-size:.74rem; text-transform:uppercase; letter-spacing:.09em; }
.character-stat-grid strong { display:block; margin-top:5px; font-size:1.1rem; }
@media (max-width:760px){ .hero--aetheria{min-height:680px}.hero__aetheria-logo, .aetheria-hero-logo{width:95vw}.inventory-grid{grid-template-columns:repeat(5,minmax(42px,1fr))}.character-hero{grid-template-columns:1fr} }
































/* Aetheria active screens use packaged static Knight Online artwork. No dynamic or AI-generated backgrounds are loaded. */
.auth-result-page,
.panel-body { background:linear-gradient(180deg,rgba(3,8,14,.74),rgba(3,8,14,.97)),url('../images/ko-backgrounds/ko-wallpaper-04.jpg') center/cover fixed no-repeat; }
.site-footer { background:linear-gradient(180deg,rgba(4,9,15,.94),#03070c) !important; }
.rankings-hero { background:linear-gradient(180deg,rgba(2,6,11,.30),rgba(3,8,14,.88)),url('../images/ko-backgrounds/ko-wallpaper-02.jpg') center/cover no-repeat !important; }
.rules-hero,.downloads-hero { background:linear-gradient(180deg,rgba(3,8,14,.34),rgba(3,8,14,.90)),url('../images/ko-backgrounds/ko-wallpaper-04.jpg') center/cover no-repeat !important; }
































/* ===== Aetheria visual audit v2 ===== */
.status-pill {
  margin: 0 auto 14px;
  width: max-content;
  max-width: 100%;
  justify-content: center;
  text-align: center;
}
.hero__content { margin-inline:auto; }
.hero__eyebrow { text-align:center; }
.aetheria-hero-logo { margin-inline:auto; }
.section-inline-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.project-panel__symbol { width:min(330px,78%) !important; max-height:330px; object-fit:contain; filter:drop-shadow(0 18px 34px rgba(0,0,0,.58)) drop-shadow(0 0 22px rgba(66,166,230,.12)); }
.project-panel { min-height:500px; }
.overall-card, .roadmap, .beta-home-grid, .community-card { isolation:isolate; }
.stage-card { border-radius:0; overflow:visible; }
.stage-card__body { min-width:0; }
.stage-card__bar { margin-top:2px; }
.section--progress .section__heading { margin-bottom:38px; }
.section--progress .overall-card { margin-bottom:30px; }
.section--beta .ornament, .section--project .ornament { margin-bottom:18px; }
.beta-home-actions .button { min-width:180px; }
.community-card { backdrop-filter:blur(10px); }
































/* Public inner pages */
.public-page-body { background:#05080d; }
.public-page-body .site-shell { min-height:100vh; }
.public-page-main { min-height:calc(100vh - 170px); padding-top:calc(var(--header-height) + 54px); }
.public-page-hero {
  position:relative;
  min-height:390px;
  display:grid;
  align-items:end;
  padding:calc(var(--header-height) + 74px) 20px 64px;
  overflow:hidden;
  isolation:isolate;
  background:linear-gradient(180deg,rgba(2,6,11,.24),rgba(3,8,14,.96)),url('../images/ko-backgrounds/ko-wallpaper-02.jpg') center/cover no-repeat;
}
.public-page-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(circle at 50% 35%,rgba(43,139,205,.14),transparent 42%),linear-gradient(90deg,rgba(2,7,12,.88),transparent 50%,rgba(2,7,12,.74)); }
.public-page-hero__inner { width:min(1160px,100%); margin:0 auto; }
.public-page-hero .kicker { margin-bottom:10px; }
.public-page-hero h1 { max-width:920px; margin:0; font:600 clamp(2.35rem,5vw,4.9rem)/1.03 'Cinzel',Georgia,serif; color:#f7f1e6; }
.public-page-hero p:last-child { max-width:780px; margin:18px 0 0; color:#aebbc5; font-size:1.02rem; }
.public-page-content { width:min(1160px,calc(100% - 40px)); margin:0 auto; padding:58px 0 90px; }
.page-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.page-card { position:relative; padding:24px; border:1px solid rgba(255,255,255,.085); background:linear-gradient(145deg,rgba(8,17,29,.94),rgba(5,11,18,.84)); box-shadow:0 18px 46px rgba(0,0,0,.18); }
.page-card:hover { border-color:rgba(216,165,66,.34); }
.page-card__icon { width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(216,165,66,.32); color:#f2d58a; background:rgba(216,165,66,.06); margin-bottom:18px; font-family:'Cinzel',serif; }
.page-card h2,.page-card h3 { margin:0 0 9px; color:#f2eee6; font-family:'Cinzel',Georgia,serif; }
.page-card p { margin:0; color:#8f9eaa; }
.page-card .button { margin-top:18px; }
.page-section { margin-top:56px; }
.page-section__head { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.page-section__head h2 { margin:0; font:600 clamp(1.7rem,3vw,2.65rem)/1.1 'Cinzel',Georgia,serif; }
.page-section__head p { margin:6px 0 0; color:#8e9ca7; }
.data-shell { border:1px solid rgba(255,255,255,.08); background:rgba(5,12,20,.9); overflow:hidden; }
.data-toolbar { display:flex; flex-wrap:wrap; gap:10px; padding:16px; border-bottom:1px solid rgba(255,255,255,.07); background:rgba(255,255,255,.018); }
.data-toolbar input,.data-toolbar select { min-height:46px; flex:1 1 240px; padding:10px 13px; color:#edf5fb; border:1px solid rgba(255,255,255,.11); background:#07111d; outline:none; }
.data-toolbar input:focus,.data-toolbar select:focus { border-color:rgba(216,165,66,.48); box-shadow:0 0 0 3px rgba(216,165,66,.07); }
.table-wrap { width:100%; overflow:auto; }
.data-table { width:100%; border-collapse:collapse; min-width:760px; }
.data-table th,.data-table td { padding:13px 15px; border-bottom:1px solid rgba(255,255,255,.055); text-align:left; vertical-align:middle; }
.data-table th { color:#d8b56c; font-size:.72rem; text-transform:uppercase; letter-spacing:.09em; background:rgba(255,255,255,.018); }
.data-table td { color:#c8d2da; }
.data-table tbody tr:hover { background:rgba(93,199,255,.035); }
.data-empty { padding:34px; text-align:center; color:#7f8d98; }
.db-status-card { display:flex; align-items:center; gap:12px; padding:15px 17px; margin-bottom:18px; border:1px solid rgba(255,255,255,.08); background:rgba(6,14,23,.82); }
.db-status-card::before { content:""; width:9px; height:9px; border-radius:50%; background:#7a8790; box-shadow:0 0 0 5px rgba(122,135,144,.08); }
.db-status-card.is-online::before { background:#62d59a; box-shadow:0 0 0 5px rgba(98,213,154,.09),0 0 14px rgba(98,213,154,.35); }
.db-status-card strong { color:#eef5fa; }
.db-status-card span { color:#82909b; font-size:.84rem; }
.page-subnav { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 26px; }
.page-subnav a { padding:9px 12px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.025); color:#b9c4cc; font-size:.82rem; }
.page-subnav a:hover,.page-subnav a.is-active { color:#f2d58a; border-color:rgba(216,165,66,.36); background:rgba(216,165,66,.06); }
.item-cell { display:flex; align-items:center; gap:10px; }
.item-cell img { width:38px; height:38px; object-fit:contain; background:#04090f; border:1px solid rgba(255,255,255,.07); }
.badge-soft { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border:1px solid rgba(216,165,66,.18); background:rgba(216,165,66,.055); color:#f0cf83; font-size:.72rem; }
































/* Dedicated beta page */
.beta-program-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.beta-objective-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.beta-objective { padding:18px; border:1px solid rgba(255,255,255,.08); background:rgba(5,13,22,.84); }
.beta-objective strong { display:block; color:#f0ece3; font-family:'Cinzel',serif; }
.beta-objective small { color:#7e8d99; }
.beta-tier-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.beta-tier { padding:18px 16px; text-align:center; border:1px solid rgba(216,165,66,.15); background:linear-gradient(180deg,rgba(216,165,66,.055),rgba(5,12,20,.8)); }
.beta-tier strong { display:block; color:#f2d58a; font-family:'Cinzel',serif; }
.beta-tier span { color:#7f8d98; font-size:.78rem; }
































/* Downloads and rankings compatibility polish */
.ranking-page,.rules-page { width:min(1160px,calc(100% - 40px)); margin:0 auto; padding-top:calc(var(--header-height) + 72px) !important; }
.download-grid { align-items:stretch; }
.download-card { height:100%; }
.ranking-page .panel-notice,.downloads-page .download-notice { max-width:100%; }
































/* Footer on inner pages */
.inner-footer { margin-top:40px; }
































@media (max-width:900px){
  .page-grid{grid-template-columns:1fr 1fr}.beta-program-grid{grid-template-columns:1fr}.beta-tier-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .page-grid,.beta-objective-grid,.beta-tier-grid{grid-template-columns:1fr}.public-page-content{width:min(100% - 26px,1160px)}.public-page-hero{padding-left:14px;padding-right:14px}.section-inline-actions{display:grid}.section-inline-actions .button{width:100%}.project-panel{min-height:390px}.project-panel__symbol{width:min(270px,84%)!important}.status-pill{font-size:.64rem}
}
































/* v3: same-page dynamic tabs/search/pagination for Rankings and Game Database. */
[data-dynamic-root] {
  position: relative;
  transition: opacity .18s ease, filter .18s ease;
}
[data-dynamic-root].is-dynamic-loading {
  opacity: .58;
  filter: saturate(.72);
  pointer-events: none;
}
[data-dynamic-root].is-dynamic-loading::before {
  content: 'Loading Aetheria data...';
  position: fixed;
  z-index: 88;
  top: calc(var(--header-height, 82px) + 18px);
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px 10px 40px;
  border: 1px solid rgba(240,210,141,.42);
  background: rgba(5,11,18,.94);
  color: #f0d28d;
  box-shadow: 0 14px 45px rgba(0,0,0,.42);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}
[data-dynamic-root].is-dynamic-loading::after {
  content: '';
  position: fixed;
  z-index: 89;
  top: calc(var(--header-height, 82px) + 29px);
  left: calc(50% - 107px);
  width: 12px;
  height: 12px;
  border: 2px solid rgba(93,199,255,.26);
  border-top-color: #f0d28d;
  border-radius: 50%;
  animation: aetheriaDynamicSpin .65s linear infinite;
  pointer-events: none;
}
@keyframes aetheriaDynamicSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  [data-dynamic-root], [data-dynamic-root].is-dynamic-loading::after { transition: none; animation: none; }
}
































/* Patch 06 • live KO inventory polish */
.inventory-grid--equipment { grid-template-columns: repeat(7, minmax(48px, 1fr)); max-width: 720px; }
.inventory-grid--cospre { grid-template-columns: repeat(9, minmax(48px, 1fr)); max-width: 920px; }
.inventory-grid--magic-bag { grid-template-columns: repeat(6, minmax(48px, 1fr)); max-width: 660px; }
.inventory-slot__index { position:absolute; left:4px; top:2px; z-index:2; font-size:9px; color:rgba(255,255,255,.28); }
.inventory-slot.has-item { border-color:rgba(213,174,91,.28); background:linear-gradient(145deg,rgba(14,28,40,.96),rgba(5,11,18,.96)); }
.inventory-slot.has-item:hover { border-color:rgba(240,210,141,.62); transform:translateY(-1px); }
@media (max-width:760px){ .inventory-grid--equipment,.inventory-grid--cospre,.inventory-grid--magic-bag{grid-template-columns:repeat(4,minmax(42px,1fr));} }
































































/* ===== Performance pass v3.5 ===== */
/* Preserve the glass look with denser fills instead of full-surface blur. */
.server-live-strip,
.beta-card,
.project-cards article,
.panel-card,
.ranking-shell,
.account-card {
    backdrop-filter: none !important;
    background: linear-gradient(145deg, rgba(8,17,29,.97), rgba(7,11,18,.92));
}
.community-card {
    backdrop-filter: none !important;
    background: rgba(5,13,22,.96);
}
































/* ===== v2.1.0 • compact desktop home / above-the-fold command center ===== */
@media (min-width:1181px){
.hero--aetheria{min-height:calc(100svh - var(--header-height));padding:calc(var(--header-height) + 26px) 24px 34px;align-items:center}
.hero__content.hero__content--compact{width:min(1580px,calc(100vw - 54px));display:grid;grid-template-columns:minmax(0,1.35fr) minmax(390px,.65fr);grid-template-rows:auto auto;gap:24px 38px;align-items:center;margin-inline:auto;text-align:left}
.hero__main{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.hero__main .aetheria-hero-logo{width:min(620px,46vw);max-height:230px;margin:0 0 2px -20px}
.hero__main .status-pill{margin:0 0 10px}
.hero__main .hero__eyebrow{margin-bottom:6px;text-align:left}
.hero__main h1{max-width:900px;margin:0;font-size:clamp(2.6rem,4.1vw,4.9rem);line-height:.98}
.hero__main .hero__lead{max-width:790px;margin:14px 0 0;font-size:clamp(.95rem,1.05vw,1.08rem)}
.hero__main .hero__beta-cta{justify-content:flex-start;flex-wrap:nowrap;margin-top:20px;gap:11px;width:min(690px,100%)}
.hero__main .button--beta-hero,.hero__main .button--download-hero{min-height:58px;padding-top:9px;padding-bottom:9px;flex:1 1 0;min-width:0}
.hero__actions--compact{justify-content:flex-start;margin-top:11px!important;gap:9px}
.hero__actions--compact .button{min-height:40px;padding:8px 16px;font-size:.76rem}
.hero__side{width:100%;max-width:500px;justify-self:end;padding:20px;border:1px solid rgba(216,165,66,.24);border-radius:12px;background:linear-gradient(180deg,rgba(7,15,24,.94),rgba(4,10,17,.91));box-shadow:0 24px 70px rgba(0,0,0,.34);overflow:visible}
.hero__side-heading{display:flex;justify-content:space-between;gap:14px;align-items:end;margin-bottom:12px}
.hero__side-heading span{color:var(--gold);font-size:.62rem;font-weight:800;letter-spacing:.18em}
.hero__side-heading strong{color:#eef4f8;font-family:'Cinzel',Georgia,serif;font-size:.92rem;text-align:right}
.server-live-strip--hero{width:100%;margin:0;grid-template-columns:1fr;gap:10px;padding:13px}
.server-live-strip--hero .server-live-strip__title{min-width:0}
.server-live-strip--hero .server-live-strip__items{grid-template-columns:repeat(3,minmax(0,1fr))}
.server-live-strip--hero .server-live-strip__actions{justify-content:space-between}
.hero__summary--side{width:100%;margin:12px 0 0;padding:12px 13px;text-align:left}
.hero-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}
.hero-quick-grid>a,.hero-quick-grid>button{min-width:0;min-height:58px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(216,165,66,.17);background:rgba(255,255,255,.025);color:#e7eef4;text-align:left;text-decoration:none;cursor:pointer}
.hero-quick-grid>a:hover,.hero-quick-grid>button:hover{border-color:rgba(239,207,130,.42);background:rgba(216,165,66,.07);transform:translateY(-1px)}
.hero-quick-grid>a>span,.hero-quick-grid>button>span{width:29px;flex:0 0 29px;color:var(--gold-bright);font-family:'Cinzel',Georgia,serif;font-size:1rem;text-align:center}
.hero-quick-grid strong,.hero-quick-grid small{display:block}
.hero-quick-grid strong{font-size:.77rem}
.hero-quick-grid small{margin-top:2px;color:#748491;font-size:.63rem}
.hero__content--compact>.scroll-cue{grid-column:1/-1;margin:-6px auto 0!important}
}
@media (min-width:1500px){
.hero__content.hero__content--compact{grid-template-columns:minmax(0,1.45fr) minmax(430px,.55fr)}
.hero__side{max-width:540px}
}
@media (min-width:1181px) and (max-height:900px){
.hero--aetheria{padding-top:calc(var(--header-height) + 14px);padding-bottom:22px}
.hero__main .aetheria-hero-logo{width:min(510px,42vw);max-height:185px}
.hero__main h1{font-size:clamp(2.35rem,3.55vw,4.15rem)}
.hero__main .hero__lead{margin-top:10px}
.hero__main .hero__beta-cta{margin-top:15px}
.hero__side{padding:16px}
.hero-quick-grid>a,.hero-quick-grid>button{min-height:52px}
}
@media (max-width:1180px){
.hero__content--compact{display:block;width:min(940px,100%);text-align:center}
.hero__main{display:contents}
.hero__side{width:min(840px,100%);margin:22px auto 0}
.hero__side-heading{display:none}
.hero-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.hero-quick-grid>a,.hero-quick-grid>button{display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 12px;border:1px solid rgba(216,165,66,.17);background:rgba(255,255,255,.025);color:#e7eef4;text-align:left;text-decoration:none}
.hero-quick-grid>a>span,.hero-quick-grid>button>span{width:28px;flex:0 0 28px;color:var(--gold-bright);text-align:center}
.hero-quick-grid strong,.hero-quick-grid small{display:block}
.hero-quick-grid small{color:#748491;font-size:.65rem}
}
@media (max-width:620px){
.hero-quick-grid{grid-template-columns:1fr}
.hero__side{margin-top:16px}
}
/* v2.1.1 • desktop hero fit polish */
@media (min-width:1181px){.hero__actions--compact{margin-top:8px!important}.hero__main .hero__beta-cta+.hero__actions--compact{margin-top:8px!important}}








/* v2.1.2 • center secondary hero actions under primary CTAs */
@media (min-width:1181px){
.hero__actions--compact{
  width:min(690px,100%);
  justify-content:center!important;
  margin-left:0!important;
  margin-right:0!important;
}
}




/* v2.1.3 • final desktop alignment + stronger downloads CTA */
@media (min-width:1181px){
  .hero__content.hero__content--compact{
    align-items:start;
  }




  .hero__main{
    padding-top:0;
  }




  .hero__main .aetheria-hero-logo{
    width:min(500px,40vw);
    max-height:178px;
    margin-bottom:0;
  }




  .hero__main .status-pill{
    margin-bottom:8px;
  }




  .hero__main .hero__eyebrow{
    margin-bottom:4px;
  }




  .hero__main h1{
    font-size:clamp(2.35rem,3.35vw,4rem);
    line-height:.96;
  }




  .hero__main .hero__lead{
    margin-top:10px;
    max-width:760px;
  }




  .hero__main .hero__beta-cta{
    margin-top:14px;
    width:min(700px,100%);
  }




  .hero__main .button--beta-hero,
  .hero__main .button--download-hero{
    min-height:56px;
  }




  .hero__actions--compact{
    width:min(700px,100%);
    margin-top:7px!important;
    justify-content:center!important;
  }




  .hero__side{
    align-self:start;
  }




  .button--download-hero{
    background:
      linear-gradient(180deg,rgba(18,49,76,.98),rgba(7,29,48,.98))!important;
    border:1px solid rgba(92,189,255,.62)!important;
    box-shadow:
      inset 0 1px 0 rgba(160,220,255,.13),
      0 0 0 1px rgba(35,90,128,.22),
      0 12px 30px rgba(0,13,26,.28)!important;
  }




  .button--download-hero:hover{
    border-color:rgba(125,209,255,.95)!important;
    box-shadow:
      inset 0 1px 0 rgba(190,235,255,.18),
      0 0 20px rgba(67,170,255,.18),
      0 14px 34px rgba(0,13,26,.36)!important;
  }




  .button--download-hero small{
    color:#8fd2ff!important;
  }




  .button--download-hero > span:last-child{
    color:#eef8ff!important;
  }
}




@media (min-width:1181px) and (max-height:900px){
  .hero__main .aetheria-hero-logo{
    width:min(455px,38vw);
    max-height:160px;
  }




  .hero__main h1{
    font-size:clamp(2.15rem,3.05vw,3.55rem);
  }




  .hero__main .hero__lead{
    margin-top:8px;
  }




  .hero__main .hero__beta-cta{
    margin-top:11px;
  }




  .hero__actions--compact{
    margin-top:5px!important;
  }
}


/* v2.1.4 • rotating 3D server emblem in the fixed header */
.brand-mini--orb{
  min-width:150px!important;
  height:100%;
  display:inline-flex!important;
  align-items:center;
  justify-content:flex-start!important;
  overflow:visible;
  perspective:900px;
}
.aetheria-header-orb{
  position:relative;
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  transform-style:preserve-3d;
  isolation:isolate;
}
.aetheria-header-orb__halo{
  position:absolute;
  inset:5px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(77,154,255,.24),rgba(35,95,168,.08) 46%,transparent 72%);
  filter:blur(8px);
  opacity:.92;
}
.aetheria-header-orb__ring{
  position:absolute;
  inset:3px;
  border:1px solid rgba(231,193,103,.30);
  border-radius:50%;
  box-shadow:0 0 18px rgba(63,150,255,.18),inset 0 0 14px rgba(231,193,103,.08);
  animation:aetheriaHeaderRing 9s linear infinite;
}
.brand-mini--orb .aetheria-header-orb img{
  position:relative;
  z-index:2;
  width:68px!important;
  height:68px!important;
  max-height:none!important;
  object-fit:contain!important;
  margin:0!important;
  filter:drop-shadow(0 7px 12px rgba(0,0,0,.45)) drop-shadow(0 0 10px rgba(62,149,255,.20));
  transform-style:preserve-3d;
  backface-visibility:visible;
  animation:aetheriaHeaderOrb3D 7s ease-in-out infinite;
}
@keyframes aetheriaHeaderOrb3D{
  0%{transform:rotateY(0deg) rotateX(6deg) scale(1)}
  25%{transform:rotateY(90deg) rotateX(1deg) scale(1.025)}
  50%{transform:rotateY(180deg) rotateX(-5deg) scale(1)}
  75%{transform:rotateY(270deg) rotateX(1deg) scale(1.025)}
  100%{transform:rotateY(360deg) rotateX(6deg) scale(1)}
}
@keyframes aetheriaHeaderRing{to{transform:rotate(360deg)}}
@media(max-width:1180px){
  .brand-mini--orb{min-width:90px!important}
  .aetheria-header-orb{width:62px;height:62px}
  .brand-mini--orb .aetheria-header-orb img{width:54px!important;height:54px!important}
}
@media(prefers-reduced-motion:reduce){
  .aetheria-header-orb__ring,.brand-mini--orb .aetheria-header-orb img{animation:none!important}
}

/* v2.1.5 • deeper 3D header emblem */
.aetheria-header-orb{
  perspective:1000px;
  transform-style:preserve-3d;
  animation:aetheriaHeaderBodySpin 8.5s linear infinite;
}
.aetheria-header-orb::before{
  content:"";
  position:absolute;
  inset:5px;
  z-index:1;
  background:url('../images/aetheria-header-emblem.png') center/contain no-repeat;
  transform:rotateY(180deg) translateZ(8px);
  backface-visibility:hidden;
  filter:brightness(.78) saturate(.88) drop-shadow(0 5px 10px rgba(0,0,0,.45));
}
.aetheria-header-orb::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:14px;
  height:58px;
  border-radius:5px;
  background:linear-gradient(180deg,#f0cf75 0%,#a76e20 18%,#163f6e 48%,#8c5b1b 76%,#e7be61 100%);
  box-shadow:inset 0 0 5px rgba(255,255,255,.28),0 0 8px rgba(0,0,0,.45);
  transform:translate(-50%,-50%) rotateY(90deg) translateZ(33px);
  transform-style:preserve-3d;
}
.brand-mini--orb .aetheria-header-orb img{
  transform:translateZ(8px)!important;
  animation:none!important;
  backface-visibility:hidden!important;
}
.aetheria-header-orb__ring{
  transform:translateZ(10px);
  animation:aetheriaHeaderRing 9s linear infinite!important;
}
@keyframes aetheriaHeaderBodySpin{
  0%{transform:rotateX(7deg) rotateY(0deg)}
  25%{transform:rotateX(2deg) rotateY(90deg)}
  50%{transform:rotateX(-6deg) rotateY(180deg)}
  75%{transform:rotateX(2deg) rotateY(270deg)}
  100%{transform:rotateX(7deg) rotateY(360deg)}
}
@media(prefers-reduced-motion:reduce){
  .aetheria-header-orb{animation:none!important}
}


/* v2.1.6 • real GLB emblem in the fixed header */
.brand-mini--model{
  min-width:150px!important;
  height:100%;
  display:inline-flex!important;
  align-items:center;
  justify-content:flex-start!important;
  overflow:visible;
  text-decoration:none;
}
.aetheria-header-model{
  width:86px;
  height:86px;
  display:block;
  background:transparent!important;
  --poster-color:transparent;
  filter:drop-shadow(0 9px 14px rgba(0,0,0,.42)) drop-shadow(0 0 11px rgba(60,145,255,.15));
  pointer-events:none;
}
@media(max-width:1180px){
  .brand-mini--model{min-width:90px!important}
  .aetheria-header-model{width:64px;height:64px}
}
@media(prefers-reduced-motion:reduce){
  .aetheria-header-model{filter:drop-shadow(0 8px 13px rgba(0,0,0,.38))}
}


/* v2.1.7 • fit the real GLB cleanly inside the fixed header */
.brand-mini--model{
  min-width:112px!important;
  width:112px!important;
  height:100%;
  overflow:visible!important;
}

.aetheria-header-model{
  width:64px!important;
  height:64px!important;
  max-width:64px!important;
  max-height:64px!important;
  margin:0!important;
  display:block!important;
  overflow:visible!important;
  background:transparent!important;
  --poster-color:transparent;
  pointer-events:none;
}

@media(max-width:1180px){
  .brand-mini--model{
    min-width:76px!important;
    width:76px!important;
  }
  .aetheria-header-model{
    width:52px!important;
    height:52px!important;
    max-width:52px!important;
    max-height:52px!important;
  }
}


/* v2.1.8 • highlighted Live Hub navigation */
.main-nav__primary .nav-live{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:7px 12px;
  margin-left:4px;
  border:1px solid rgba(96,199,255,.34);
  border-radius:999px;
  background:
    radial-gradient(circle at 20% 20%,rgba(92,199,255,.18),transparent 45%),
    linear-gradient(180deg,rgba(8,29,46,.92),rgba(5,17,29,.92));
  color:#dff6ff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 18px rgba(71,165,225,.08);
  text-decoration:none;
}
.main-nav__primary .nav-live span{
  color:#7ce8b7;
  font-size:.70rem;
  font-weight:900;
  letter-spacing:.14em;
}
.main-nav__primary .nav-live small{
  color:#9fcde6;
  font-size:.52rem;
  font-weight:800;
  letter-spacing:.10em;
}
.main-nav__primary .nav-live:hover,
.main-nav__primary .nav-live.is-active{
  border-color:rgba(242,210,138,.55);
  background:
    radial-gradient(circle at 20% 20%,rgba(92,199,255,.22),transparent 45%),
    linear-gradient(180deg,rgba(13,38,57,.98),rgba(8,23,38,.98));
  box-shadow:0 0 22px rgba(74,175,235,.14),inset 0 1px 0 rgba(255,255,255,.07);
}
.main-nav__primary .nav-live.is-active span{color:#f3d681}
@media(max-width:1180px){
  .main-nav__primary .nav-live{margin-left:0}
}


/* v2.1.9 • stable LIVE button across every public navigation */
.main-nav__primary .nav-live{
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:auto!important;
  grid-template-rows:auto auto!important;
  gap:1px!important;
  align-content:center!important;
  justify-items:center!important;
  min-width:112px!important;
  min-height:42px!important;
  padding:5px 13px!important;
  margin-left:6px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.main-nav__primary .nav-live span,
.main-nav__primary .nav-live small{display:block!important;line-height:1.05!important;}
.main-nav__primary .nav-live span{font-size:.68rem!important;}
.main-nav__primary .nav-live small{font-size:.48rem!important;margin-top:2px!important;}
@media(min-width:1181px){
  .main-nav__primary{align-items:center!important;}
  .main-nav__primary .nav-live{margin-right:4px!important;}
}
@media(max-width:1180px){
  .main-nav__primary .nav-live{
    width:100%!important;
    min-width:0!important;
    margin:6px 0 0!important;
    justify-items:start!important;
    padding:10px 12px!important;
    border-radius:10px!important;
  }
}


/* v2.2.0 • downloads page is exempt from boxed inner-page layout so its hero can be truly full-bleed */
.downloads-body .downloads-page{width:100%!important;max-width:none!important;margin:0!important;padding-top:var(--header-height)!important;}

/* v008: align the *painted* logo with the headline's left edge.
   object-fit:contain had centered the crest inside a wider image box. */
@media(min-width:1181px) {
  .hero--aetheria .hero__main .aetheria-hero-logo {
    align-self:flex-start;
    margin-left:0;
    margin-right:0;
    object-position:left center;
  }
}