/* Ayster proprietary software. Copyright © 2026 Ayster. All rights reserved. */
/* =========================================================
   AYSTER PREMIUM COLOUR THEME — Deep Navy / Royal Blue / Gold
   Premium global visual system. Keeps existing functionality.
   ========================================================= */
:root{
  --ayster-bg:#ffffff;
  --ayster-bg-2:#f7f7f8;
  --ayster-panel:#ffffff;
  --ayster-panel2:#faf8ff;
  --ayster-panel3:#f7f7f8;
  --ayster-line:rgba(124,58,237,.25);
  --ayster-line-soft:rgba(0,0,0,.08);
  --ayster-gold:#7c3aed;
  --ayster-gold-2:#7c3aed;
  --ayster-gold-deep:#6d28d9;
  --ayster-blue:#7c3aed;
  --ayster-blue-soft:#7c3aed;
  --ayster-platinum:#23262b;
  --ayster-text:#23262b;
  --ayster-muted:#6b7280;
  --ayster-emerald:#50c89b;
  --ayster-shadow:0 18px 44px rgba(46,16,101,.08);
  --ayster-radius:20px;
}

html{scroll-behavior:smooth;background:var(--ayster-bg)}
*{box-sizing:border-box}
body{
  margin:0!important;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Inter,Arial,sans-serif!important;
  color:var(--ayster-text)!important;
  min-height:100vh;
  background:#ffffff!important;
  letter-spacing:.005em;
}
body::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:none;
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.5),transparent 78%);
}
body>header:not(.ayster-shell){display:none!important}

/* ---- Global premium navigation ---- */
.ayster-shell{
  position:sticky;top:0;z-index:9999;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:14px clamp(18px,4vw,58px);
  background:rgba(255,255,255,.92)!important;
  backdrop-filter:blur(24px) saturate(135%);
  -webkit-backdrop-filter:blur(24px) saturate(135%);
  border-bottom:1px solid rgba(124,58,237,.18)!important;
  box-shadow:0 8px 28px rgba(46,16,101,.08)!important;
}
.ayster-shell::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(124,58,237,.35),transparent);
  opacity:.7;
}
.ayster-shell-brand{
  display:flex;align-items:center;gap:10px;white-space:nowrap;
  color:#23262b!important;text-decoration:none!important;
  font-weight:900;font-size:20px;letter-spacing:.08em;text-shadow:none;
}
.ayster-shell-logo{
  display:none!important;
  width:30px;height:30px;border-radius:50%;object-fit:cover;
  border:1px solid rgba(124,58,237,.30);
  box-shadow:0 0 0 4px rgba(124,58,237,.05),0 0 24px rgba(124,58,237,.10);
}
.ayster-shell-brand>span::first-letter{color:#7c3aed}
.ayster-shell-brand small{
  font-size:8px;letter-spacing:1.8px;padding:4px 6px;border-radius:999px;
  background:linear-gradient(135deg,#7c3aed,#7c3aed 52%,#6d28d9)!important;
  color:#ffffff!important;box-shadow:inset 0 1px rgba(255,255,255,.25);
}
.ayster-shell-nav{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.ayster-shell-nav a{
  position:relative;color:#3c4149!important;text-decoration:none!important;
  border:1px solid rgba(0,0,0,.09)!important;
  background:linear-gradient(180deg,#ffffff,#f7f7f8)!important;
  padding:8px 11px;border-radius:10px;font-size:12.5px;font-weight:700;line-height:1.15;
  box-shadow:inset 0 1px rgba(255,255,255,.7)!important;
  transition:.2s ease;
}
.ayster-shell-nav a:hover,.ayster-shell-nav a.active{
  color:var(--ayster-gold-2)!important;border-color:rgba(124,58,237,.45)!important;
  background:linear-gradient(180deg,rgba(124,58,237,.08),rgba(124,58,237,.03))!important;
  box-shadow:0 8px 22px rgba(46,16,101,.10),inset 0 1px rgba(255,255,255,.6)!important;
  transform:translateY(-1px);
}
.ayster-shell-nav .auth-nav-button{
  min-width:82px;text-align:center;font-weight:900!important;
  color:#ffffff!important;border-color:#6d28d9!important;
  background:linear-gradient(135deg,#7c3aed 0%,#7c3aed 48%,#6d28d9 100%)!important;
  box-shadow:0 10px 28px rgba(124,58,237,.20),inset 0 1px rgba(255,255,255,.25)!important;
}
.ayster-shell-nav .auth-nav-button:hover{filter:brightness(1.06);transform:translateY(-1px)}
.ayster-shell-nav .auth-nav-button.is-logout{
  color:var(--ayster-gold-2)!important;
  background:rgba(124,58,237,.05)!important;
  border-color:rgba(124,58,237,.45)!important;
  box-shadow:none!important;
}

/* ---- Premium typography ---- */
h1,h2,h3,h4{color:var(--ayster-platinum)!important;letter-spacing:-.025em}
h1{font-weight:800!important;text-wrap:balance}
h2,h3{font-weight:750!important}
p,.muted{color:var(--ayster-muted)!important}
.gold,.brand,.link,a.gold{color:var(--ayster-gold-2)!important}

/* ---- Luxury cards / panels ---- */
.card,.auth-box,.panel,.widget,.glass-card,.dashboard-card,.stat-card,.feature-card,.profile-card,.settings-card,.post-card,.message-card{
  background:#ffffff!important;
  border:1px solid #ece7e4!important;
  box-shadow:var(--ayster-shadow)!important;
  border-radius:var(--ayster-radius)!important;
}
.card:hover,.feature-card:hover,.dashboard-card:hover,.stat-card:hover{
  border-color:rgba(124,58,237,.32)!important;
  box-shadow:0 24px 60px rgba(46,16,101,.12),0 0 0 1px rgba(124,58,237,.05) inset!important;
}

/* ---- Controls ---- */
button,.btn,input[type="submit"],input[type="button"],.primary-btn,.cta{
  font-family:inherit!important;
}
button,.btn,.primary-btn,.cta{
  border:1px solid rgba(0,0,0,.14)!important;
  background:linear-gradient(180deg,#ffffff,#f7f7f8)!important;
  color:#23262b!important;border-radius:12px!important;
  box-shadow:inset 0 1px rgba(255,255,255,.7),0 6px 18px rgba(46,16,101,.07)!important;
  transition:.2s ease!important;
}
button:hover,.btn:hover,.primary-btn:hover,.cta:hover{
  border-color:rgba(124,58,237,.5)!important;
  color:var(--ayster-gold-2)!important;transform:translateY(-1px);
}
button.gold,.btn.gold,.auth-box button,.primary-btn.gold,.cta.gold{
  color:#ffffff!important;
  border-color:#6d28d9!important;
  background:linear-gradient(135deg,#7c3aed 0%,#7c3aed 48%,#6d28d9 100%)!important;
  box-shadow:0 12px 30px rgba(124,58,237,.20),inset 0 1px rgba(255,255,255,.25)!important;
}
input,textarea,select,.input{
  color:#23262b!important;
  background:#ffffff!important;
  border:1px solid #e3ded9!important;
  border-radius:12px!important;outline:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
input:focus,textarea:focus,select:focus,.input:focus{
  border-color:rgba(124,58,237,.55)!important;
  box-shadow:0 0 0 3px rgba(124,58,237,.10),inset 0 1px rgba(255,255,255,.5)!important;
}
input::placeholder,textarea::placeholder{color:#9aa0a8!important}

/* ---- Auth pages ---- */
.auth-box{
  width:min(460px,calc(100% - 32px))!important;margin:72px auto!important;padding:32px!important;
  background:#ffffff!important;
  border-color:rgba(124,58,237,.25)!important;
  box-shadow:0 24px 60px rgba(46,16,101,.14)!important;
}
.auth-box h1,.auth-box h2{color:var(--ayster-platinum)!important}
.auth-box h2{font-size:31px!important;margin-top:0!important}
.auth-box a{color:var(--ayster-gold-2)!important}
.auth-page .auth-box{max-width:440px!important}
.auth-page .auth-box h1{margin:0 0 6px;font-size:30px;line-height:1.15}
.auth-page .auth-box h2{margin:0 0 18px!important;color:#6b7280!important;font-size:15px!important;font-weight:650!important}
.auth-page .auth-box input{box-sizing:border-box;font-size:16px!important;padding:13px!important}
.auth-page .auth-box button{width:100%;cursor:pointer;padding:13px!important}

/* ---- Common chips, badges and statuses ---- */
.pill,.badge,.tag,.chip{
  color:#3c4149!important;background:rgba(124,58,237,.06)!important;
  border:1px solid rgba(124,58,237,.18)!important;
}
.status,.success,.online{color:var(--ayster-emerald)!important}
.notice{background:rgba(124,58,237,.05)!important;border-color:var(--ayster-gold)!important;color:#3c4149!important}
hr{border:0;border-top:1px solid rgba(0,0,0,.08)}

/* ---- Floating quick links ---- */
body>div[style*="position:fixed"][style*="bottom:18px"] a{
  background:rgba(255,255,255,.95)!important;color:#23262b!important;
  border:1px solid rgba(124,58,237,.25)!important;
  backdrop-filter:blur(14px);box-shadow:0 10px 30px rgba(46,16,101,.12)!important;
}
body>div[style*="position:fixed"][style*="bottom:18px"] a:first-child{
  color:#ffffff!important;background:linear-gradient(135deg,#7c3aed,#7c3aed,#6d28d9)!important;
}

/* ---- Scrollbars ---- */
*{scrollbar-width:thin;scrollbar-color:#c9c4bf #f7f7f8}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#f7f7f8}
::-webkit-scrollbar-thumb{background:linear-gradient(#cfc9c3,#b7b1aa);border:2px solid #f7f7f8;border-radius:10px}

/* ---- Responsive ---- */
@media(max-width:980px){
  .ayster-shell{align-items:flex-start;flex-direction:column}
  .ayster-shell-nav{justify-content:flex-start}
  .ayster-shell-nav a{font-size:12px;padding:7px 9px}
}
@media(max-width:760px){
  .ayster-shell{padding:10px 12px!important}
  .ayster-shell-nav{flex-wrap:nowrap!important;overflow-x:auto!important;width:100%;padding-bottom:3px}
  .ayster-shell-nav a{white-space:nowrap!important}
  .ayster-shell-brand{font-size:18px!important}
}


/* ===== AYSTER CREATOR + MAP PREMIUM EXTENSION ===== */
:root{
  --ayster-gold:#7c3aed;
  --ayster-gold-soft:#7c3aed;
  --ayster-black:#ffffff;
  --ayster-panel:#ffffff;
  --ayster-panel-2:#faf8ff;
  --ayster-line:rgba(124,58,237,.22);
  --ayster-text:#23262b;
  --ayster-muted:#6b7280;
  --ayster-emerald:#43c89d;
}
.creator-page,.map-page{max-width:1380px;margin:0 auto;padding:34px 20px 90px}
.luxury-hero{padding:18px 0 24px}
.luxury-hero h1{font-size:clamp(40px,6vw,78px);line-height:.95;margin:8px 0 14px;letter-spacing:-.04em}
.luxury-kicker{color:var(--ayster-gold);font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:800}
.luxury-muted{color:var(--ayster-muted);line-height:1.65}
.luxury-grid{display:grid;gap:16px}
.luxury-card{background:linear-gradient(180deg,#ffffff,#faf8ff);border:1px solid var(--ayster-line);border-radius:24px;padding:20px;box-shadow:0 16px 44px rgba(46,16,101,.10)}
.luxury-btn{border:1px solid var(--ayster-line);background:#ffffff;color:var(--ayster-text);padding:11px 14px;border-radius:12px;font-weight:800;cursor:pointer}
.luxury-btn.primary{background:linear-gradient(135deg,var(--ayster-gold-soft),var(--ayster-gold));color:#ffffff;border-color:transparent}
.luxury-input,.luxury-select,.luxury-textarea{width:100%;border:1px solid rgba(0,0,0,.13);background:#ffffff;color:var(--ayster-text);padding:12px 13px;border-radius:12px;outline:none}
.luxury-input:focus,.luxury-select:focus,.luxury-textarea:focus{border-color:var(--ayster-gold);box-shadow:0 0 0 3px rgba(124,58,237,.10)}
.gold-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--ayster-line);background:rgba(124,58,237,.06);color:var(--ayster-gold-soft);padding:6px 10px;border-radius:999px;font-size:12px}
@media(max-width:760px){.creator-page,.map-page{padding-left:12px;padding-right:12px}}

/* ===== AYSTER OFFICE SUITE ===== */
.office-page{max-width:1500px;margin:0 auto;padding:28px 18px 80px}.office-hero{padding:20px 0}.office-hero h1{font-size:clamp(38px,6vw,74px);line-height:.96;margin:8px 0 14px}.office-gold{color:#7c3aed}.office-muted{color:#6b7280;line-height:1.6}.office-card{background:linear-gradient(180deg,#ffffff,#faf8ff);border:1px solid rgba(124,58,237,.20);border-radius:22px;padding:18px;box-shadow:0 16px 44px rgba(46,16,101,.10)}.office-btn{border:1px solid rgba(124,58,237,.22);background:#ffffff;color:#23262b;border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer}.office-btn:hover{border-color:#7c3aed}.office-btn.primary{background:linear-gradient(135deg,#7c3aed,#7c3aed);color:#ffffff;border-color:transparent}.office-input,.office-select{border:1px solid rgba(0,0,0,.13);background:#ffffff;color:#23262b;border-radius:9px;padding:9px 10px;outline:none}.office-input:focus,.office-select:focus{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.10)}

/* ===== AYSTER PREMIUM APP SYSTEM v3 ===== */
html:not(.auth-resolved) .ayster-shell-nav [data-protected="1"]{display:none!important}
.ayster-shell-nav .auth-loading{opacity:.58;pointer-events:none}
.ayster-shell{border-bottom-color:rgba(124,58,237,.25)!important}
.ayster-shell-brand span{background:none;-webkit-background-clip:initial;background-clip:initial;color:#7c3aed}
.ayster-shell-nav{max-width:min(76vw,1120px)}
.ayster-shell-nav a{backdrop-filter:blur(12px)}
.auth-page{display:block;min-height:100vh}
.auth-page .auth-box{position:relative;overflow:hidden;border:1px solid rgba(124,58,237,.25)!important}
.auth-page .auth-box::before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-100px;top:-110px;background:radial-gradient(circle,rgba(124,58,237,.08),transparent 68%);pointer-events:none}
.auth-page .auth-box::after{content:"SECURE MEMBER ACCESS";display:block;margin-top:18px;padding-top:14px;border-top:1px solid rgba(0,0,0,.07);color:#9aa0a8;font-size:10px;font-weight:800;letter-spacing:.18em;text-align:center}
.auth-tab.active{background:linear-gradient(135deg,#7c3aed,#7c3aed 48%,#6d28d9)!important;color:#ffffff!important;border-color:#6d28d9!important}
.auth-panel button[type="submit"],#verifyLoginCodeBtn,#verifyCodeBtn{min-height:48px;font-weight:900!important}
#loginMessage,#signupMessage{font-weight:650}
@media(max-width:760px){.ayster-shell-nav{max-width:100%}.auth-page .auth-box{margin:38px auto 90px!important}}

/* ===== AYSTER PREMIUM HOMEPAGE SEQUENCE v4 ===== */
.ayster-explore{max-width:1500px;margin:-14px auto 38px;padding:0 clamp(18px,4vw,58px);position:relative;z-index:3}
.ayster-explore-heading{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;margin:2px 0 24px}
.ayster-explore-heading span{height:1px;background:linear-gradient(90deg,transparent,rgba(124,58,237,.5))}
.ayster-explore-heading span:last-child{background:linear-gradient(90deg,rgba(124,58,237,.5),transparent)}
.ayster-explore-heading h2{margin:0;color:#7c3aed!important;font-size:14px!important;letter-spacing:.28em;text-transform:uppercase;font-weight:900!important}
.ayster-sequence-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.ayster-sequence-card{--accent:#7c3aed;position:relative;min-height:335px;padding:40px 22px 20px;border-radius:24px;border:1px solid color-mix(in srgb,var(--accent) 54%,transparent);background:#ffffff;box-shadow:0 16px 44px rgba(46,16,101,.10),inset 0 1px rgba(255,255,255,.7);display:flex;flex-direction:column;text-align:center;overflow:visible;transition:.25s ease}
.ayster-sequence-card:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(46,16,101,.15),0 0 32px color-mix(in srgb,var(--accent) 13%,transparent);border-color:color-mix(in srgb,var(--accent) 80%,transparent)}
.ayster-sequence-card.music-sequence{--accent:#7c3aed}.ayster-sequence-card.ai-sequence{--accent:#7c3aed}.ayster-sequence-card.creator-sequence{--accent:#7c3aed}.ayster-sequence-card.install-sequence{--accent:#7c3aed}
.sequence-number{position:absolute;top:-22px;left:50%;transform:translateX(-50%);width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#ffffff;border:2px solid #7c3aed;color:#7c3aed;font-size:22px;font-weight:900;box-shadow:0 0 0 5px rgba(255,255,255,.9)}
.sequence-icon{width:100%;height:112px;display:grid;place-items:center;font-size:64px;font-weight:950;line-height:1;color:var(--accent);text-shadow:0 0 28px color-mix(in srgb,var(--accent) 35%,transparent)}
.ai-sequence .sequence-icon,.install-sequence .sequence-icon{margin:12px auto 8px;width:84px;height:84px;border-radius:50%;border:1px solid color-mix(in srgb,var(--accent) 55%,transparent);background:radial-gradient(circle,color-mix(in srgb,var(--accent) 24%,transparent),transparent 72%);font-size:29px;letter-spacing:-.04em}
.ayster-sequence-card h3{margin:2px 0 10px;color:var(--accent)!important;font-size:22px!important;font-weight:900!important;letter-spacing:-.02em}
.ayster-sequence-card p{margin:0 auto 18px;color:#5c6570!important;font-size:14px;line-height:1.52;max-width:245px}
.sequence-btn{margin-top:auto;width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 12px!important;border-radius:10px!important;border:1px solid color-mix(in srgb,var(--accent) 58%,transparent)!important;background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 10%,#ffffff),#ffffff)!important;color:#23262b!important;text-decoration:none!important;font-weight:850!important;font-size:13px!important;cursor:pointer}
.sequence-btn b{margin-left:auto;color:var(--accent);font-size:22px;line-height:1}
.sequence-btn:hover{color:#7c3aed!important;border-color:var(--accent)!important;box-shadow:0 0 25px color-mix(in srgb,var(--accent) 16%,transparent)!important}
.ayster-trust-strip{display:grid;grid-template-columns:repeat(5,1fr);margin-top:24px;border:1px solid rgba(124,58,237,.22);border-radius:20px;background:#ffffff;overflow:hidden;box-shadow:0 14px 40px rgba(46,16,101,.08)}
.ayster-trust-strip>div{display:flex;align-items:center;gap:13px;padding:18px 20px;min-width:0}
.ayster-trust-strip>div+div{border-left:1px solid rgba(124,58,237,.15)}
.ayster-trust-strip strong{font-size:30px;color:#7c3aed;font-weight:500}.ayster-trust-strip span{display:grid;gap:3px;min-width:0}.ayster-trust-strip b{color:#23262b;font-size:13px}.ayster-trust-strip small{color:#6b7280;font-size:11px;white-space:normal}
@media(max-width:1180px){.ayster-sequence-grid{grid-template-columns:repeat(3,1fr)}.ayster-sequence-card{min-height:320px}.ayster-trust-strip{grid-template-columns:repeat(3,1fr)}.ayster-trust-strip>div+div{border-left:0}}
@media(max-width:760px){.ayster-explore{margin-top:12px;padding:0 12px}.ayster-explore-heading{gap:10px;margin-bottom:26px}.ayster-explore-heading h2{font-size:12px!important;letter-spacing:.2em}.ayster-sequence-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:0 2px 14px}.ayster-sequence-card{flex:0 0 min(82vw,320px);scroll-snap-align:center;min-height:330px}.ayster-trust-strip{grid-template-columns:1fr 1fr}.ayster-trust-strip>div{padding:14px}.ayster-trust-strip strong{font-size:25px}}
@media(max-width:430px){.ayster-trust-strip{grid-template-columns:1fr}.ayster-trust-strip>div{border-bottom:1px solid rgba(0,0,0,.08)}}
