/* ==========================================================================
   EDITION 05: 全息极光 · Aurora Holo (html[data-edition="aurora"])
   Spatial Computing & Holographic Light-Field Glass · Iridescent Prism Glow
   ========================================================================== */

html[data-edition="aurora"] {
  --bg: #060714;
  --bg-elevated: #10132b;
  --surface: rgba(20, 25, 54, 0.56);
  --surface-hover: rgba(30, 38, 78, 0.76);
  --border: rgba(148, 163, 255, 0.14);
  --border-strong: rgba(45, 212, 191, 0.38);
  --ink: #f5f7ff;
  --ink-secondary: #a5b4d4;
  --ink-muted: #68779c;
  --accent: #2dd4bf;
  --accent-soft: rgba(45, 212, 191, 0.14);
  --accent-ink: #031715;
  --private-color: #c084fc;
  --private-soft: rgba(192, 132, 252, 0.16);
  --brand-dot: #2dd4bf;
  --shadow-lg: 0 24px 64px rgba(3, 4, 15, 0.68);
}

html[data-edition="aurora"] .ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 42% at 22% 8%, rgba(45, 212, 191, 0.19), transparent 65%),
    radial-gradient(ellipse 58% 45% at 78% 12%, rgba(168, 85, 247, 0.18), transparent 66%),
    radial-gradient(ellipse 50% 45% at 50% 92%, rgba(56, 189, 248, 0.12), transparent 68%),
    linear-gradient(180deg, #050612 0%, #090c20 100%);
}

html[data-edition="aurora"] .app-shell {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 26px 0;
}

/* Spatial Floating Island Header */
html[data-edition="aurora"] .aur-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 20px;
  border-radius: 20px;
  background: rgba(16, 20, 46, 0.62);
  border: 1px solid var(--border);
  backdrop-filter: blur(22px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html[data-edition="aurora"] .aur-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 15px;
}

html[data-edition="aurora"] .aur-holo-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.18), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(45, 212, 191, 0.32);
  color: #99f6e4;
}

/* Holographic Prism Hero */
html[data-edition="aurora"] .aur-hero {
  text-align: center;
  max-width: 760px;
  margin: 42px auto 34px;
}

html[data-edition="aurora"] .aur-greeting {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 15%, #99f6e4 55%, #c4b5fd 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  cursor: pointer;
  display: inline-block;
}

html[data-edition="aurora"] .aur-sub {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

html[data-edition="aurora"] .aur-prism-bar {
  margin-top: 24px;
  padding: 8px 10px 8px 20px;
  border-radius: 999px;
  background: rgba(15, 19, 44, 0.72);
  border: 1px solid rgba(148, 163, 255, 0.24);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow:
    0 20px 50px rgba(4, 6, 22, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}

html[data-edition="aurora"] .aur-prism-bar:focus-within {
  border-color: var(--accent);
  box-shadow:
    0 20px 56px rgba(45, 212, 191, 0.18),
    0 0 0 3px rgba(45, 212, 191, 0.12);
}

html[data-edition="aurora"] .aur-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  padding: 8px 0;
  min-width: 0;
}

html[data-edition="aurora"] .aur-search-input:focus {
  outline: none;
}

html[data-edition="aurora"] .aur-prism-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 55%, #818cf8 100%);
  color: #04131a;
  font-weight: 700;
  font-size: 13.5px;
}

html[data-edition="aurora"] .aur-engines {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

html[data-edition="aurora"] .engine-chip {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-secondary);
  font-size: 12px;
}

html[data-edition="aurora"] .engine-chip.is-active {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(56, 189, 248, 0.2));
  border-color: rgba(45, 212, 191, 0.5);
  color: #99f6e4;
  font-weight: 600;
}

/* Spatial Glass Sections & Cards */
html[data-edition="aurora"] .aur-section {
  margin-bottom: 32px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(14, 18, 42, 0.42);
  border: 1px solid rgba(148, 163, 255, 0.1);
  backdrop-filter: blur(18px);
}

html[data-edition="aurora"] .aur-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

html[data-edition="aurora"] .aur-sec-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

html[data-edition="aurora"] .aur-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dd4bf, #a855f7);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.6);
}

html[data-edition="aurora"] .aur-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

html[data-edition="aurora"] .link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

html[data-edition="aurora"] .link-card:hover {
  transform: translateY(-3px);
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

html[data-edition="aurora"] .link-icon-box {
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(168, 85, 247, 0.16));
  color: #99f6e4;
}

html[data-edition="aurora"] .link-card-title {
  font-size: 14.5px;
  font-weight: 650;
}

html[data-edition="aurora"] .link-card-host {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

html[data-edition="aurora"] .link-card-desc {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 980px) {
  html[data-edition="aurora"] .aur-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html[data-edition="aurora"] .app-shell {
    padding: 12px 14px 0;
  }
  html[data-edition="aurora"] .aur-section {
    padding: 16px;
  }
  html[data-edition="aurora"] .aur-grid {
    grid-template-columns: 1fr;
  }
}
