/* 小男孩工作室 · LITTLE BOY STUDIO — Obsidian & Liquid Gold Design System */
:root {
  --bg-void: #050609;
  --bg-deep: #0a0d14;
  --bg-panel: rgba(14, 18, 28, 0.74);
  --bg-panel-strong: rgba(16, 21, 33, 0.92);
  --bg-elevated: rgba(24, 30, 46, 0.78);

  --gold-bright: #ffe08a;
  --gold-core: #f5c451;
  --gold-deep: #c58b1e;
  --gold-glow: rgba(245, 196, 81, 0.32);
  --cyan-neon: #38f2ff;
  --cyan-glow: rgba(56, 242, 255, 0.22);
  --emerald-live: #2ee59d;
  --rose-alert: #ff5c7c;

  --text-primary: #f5f7fc;
  --text-secondary: #a5b0c7;
  --text-muted: #68738d;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 196, 81, 0.34);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 0 32px rgba(245, 196, 81, 0.2);
  --font-sans: "Inter", "PingFang HK", "PingFang TC", "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(245, 196, 81, 0.11), transparent 38%),
    radial-gradient(circle at 84% 22%, rgba(56, 242, 255, 0.08), transparent 36%),
    radial-gradient(circle at 50% 85%, rgba(197, 139, 30, 0.09), transparent 45%),
    var(--bg-void);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Subtle architectural grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 35%, black 30%, transparent 85%);
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.studio-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(1220px, 92vw);
  margin: 0 auto;
}

/* Tactical Top HUD Navbar */
.hud-navbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1220px, 94vw);
  margin: 14px auto 0;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(10, 13, 21, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 224, 138, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-prism {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #040507;
  border: 1px solid var(--gold-core);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(245, 196, 81, 0.38);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.brand-cluster:hover .brand-logo-img {
  transform: scale(1.08);
}

@keyframes spinGlow {
  to {
    transform: rotate(360deg);
  }
}

.brand-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-cn {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #ffffff, var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-en {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--gold-core);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.22s ease;
}

.nav-link:hover {
  color: var(--gold-bright);
  background: rgba(245, 196, 81, 0.1);
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(46, 229, 157, 0.1);
  border: 1px solid rgba(46, 229, 157, 0.3);
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--emerald-live);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-live);
  box-shadow: 0 0 10px var(--emerald-live);
  animation: pulseBeat 1.8s ease-in-out infinite;
}

@keyframes pulseBeat {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-bright);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-core) 55%, var(--gold-deep));
  color: #090b10;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(245, 196, 81, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 196, 81, 0.52);
}

.btn-gold:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: rgba(245, 196, 81, 0.07);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(245, 196, 81, 0.16);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 76px 0 54px;
  position: relative;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.cyber-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: rgba(245, 196, 81, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
}

.shield-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: rgba(56, 242, 255, 0.08);
  border: 1px solid rgba(56, 242, 255, 0.28);
  color: var(--cyan-neon);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 34px;
  align-items: center;
}

.hero-headline {
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.hero-headline .gold-gradient {
  display: block;
  background: linear-gradient(95deg, #fff6d6 0%, var(--gold-core) 48%, #38f2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 630px;
  margin-bottom: 26px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Hero Hologram Core Reactor Card */
.reactor-card {
  background: var(--bg-panel);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card), var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.reactor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gold-bright);
}

.orb-stage {
  height: 224px;
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 18px;
}

.hero-logo-holo {
  width: 178px;
  height: 178px;
  border-radius: 28px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  cursor: pointer;
  animation: floatOrb 4.8s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(245, 196, 81, 0.38));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.hero-logo-holo:hover {
  filter: drop-shadow(0 0 36px rgba(255, 224, 138, 0.72));
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 26px;
  mix-blend-mode: lighten;
  mask-image: radial-gradient(circle at 50% 50%, black 62%, transparent 98%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 62%, transparent 98%);
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  vertical-align: middle;
  margin-right: 10px;
}

.orbital-ring {
  position: absolute;
  width: 194px;
  height: 194px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 196, 81, 0.48);
  animation: spinGlow 16s linear infinite;
}

.orbital-ring.ring-2 {
  width: 222px;
  height: 222px;
  border: 1px solid rgba(56, 242, 255, 0.24);
  animation: spinGlow 24s linear infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.04); }
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.telemetry-cell {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.telemetry-label {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

/* Section Shared Styling */
.studio-section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 32px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--gold-core);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 560px;
  font-size: 0.95rem;
}

/* Filter Tabs */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: rgba(245, 196, 81, 0.16);
  border-color: var(--gold-core);
  color: var(--gold-bright);
}

/* 3D Showcase Cards */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.tilt-card {
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.16s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}

.tilt-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), 0 0 28px rgba(245, 196, 81, 0.16);
}

.card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    360px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 224, 138, 0.14),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tilt-card:hover .card-glare {
  opacity: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.card-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(245, 196, 81, 0.11);
  border: 1px solid var(--border-gold);
}

.card-cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(56, 242, 255, 0.08);
  color: var(--cyan-neon);
  border: 1px solid rgba(56, 242, 255, 0.22);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-bright);
}

.card-footer-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-core);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Inspiration Frequency Synthesizer */
.synth-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  box-shadow: var(--shadow-card);
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slider-item label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.slider-item label span.val {
  font-family: var(--font-mono);
  color: var(--gold-bright);
}

.cyber-range {
  width: 100%;
  accent-color: var(--gold-core);
  cursor: pointer;
}

.synth-output {
  background: rgba(6, 8, 13, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.wave-canvas {
  width: 100%;
  height: 110px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(245, 196, 81, 0.18);
}

.blueprint-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.blueprint-meta {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* Guestbook & Live Chat Dual Community Section */
.community-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.glass-box {
  background: var(--bg-panel);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 12px;
}

.cyber-input,
.cyber-textarea,
.cyber-select {
  width: 100%;
  background: rgba(6, 8, 14, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cyber-input:focus,
.cyber-textarea:focus,
.cyber-select:focus {
  outline: none;
  border-color: var(--gold-core);
  box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.15);
}

.badge-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.avatar-chip {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  transition: all 0.16s ease;
}

.avatar-chip.selected {
  border-color: var(--gold-core);
  background: rgba(245, 196, 81, 0.2);
  transform: scale(1.08);
}

/* Honeypot invisible trap (hidden from real humans & screen readers) */
.hp-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.guestbook-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0 16px;
}

.guestbook-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 620px;
  overflow-y: auto;
  padding-right: 4px;
}

.gb-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gb-card.pinned {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.09), rgba(14, 18, 28, 0.65));
}

.gb-card:hover {
  border-color: rgba(245, 196, 81, 0.28);
}

.gb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.gb-author {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.94rem;
}

.gb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(245, 196, 81, 0.13);
  border: 1px solid rgba(245, 196, 81, 0.28);
  display: grid;
  place-items: center;
}

.gb-mood {
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(56, 242, 255, 0.1);
  color: var(--cyan-neon);
}

.gb-pin-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(245, 196, 81, 0.2);
  color: var(--gold-bright);
}

.gb-msg {
  font-size: 0.92rem;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 10px;
}

.gb-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.like-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
}

.like-btn.liked,
.like-btn:hover {
  border-color: var(--gold-core);
  color: var(--gold-bright);
  background: rgba(245, 196, 81, 0.14);
}

/* Live Lounge Chat Panel */
.chat-box {
  display: flex;
  flex-direction: column;
  height: 680px;
}

.chat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 10px;
}

.roster-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.roster-pill {
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.chat-stream {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 4px;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 10px 13px;
  max-width: 92%;
  align-self: flex-start;
}

.chat-bubble.mine {
  align-self: flex-end;
  background: rgba(245, 196, 81, 0.13);
  border-color: rgba(245, 196, 81, 0.36);
}

.chat-bubble.studio {
  border-color: rgba(56, 242, 255, 0.35);
  background: rgba(56, 242, 255, 0.07);
}

.chat-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.chat-text {
  font-size: 0.89rem;
  color: var(--text-primary);
  word-break: break-word;
}

.typing-bar {
  min-height: 20px;
  font-size: 0.75rem;
  color: var(--cyan-neon);
  font-family: var(--font-mono);
  padding: 2px 4px;
}

.quick-vibes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px;
}

.vibe-chip {
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(245, 196, 81, 0.08);
  border: 1px solid rgba(245, 196, 81, 0.22);
  color: var(--gold-bright);
  cursor: pointer;
}

.vibe-chip:hover {
  background: rgba(245, 196, 81, 0.18);
}

.chat-input-row {
  display: flex;
  gap: 8px;
}

/* Floating Quick Chat Capsule */
.floating-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
}

.dock-fab {
  background: linear-gradient(135deg, #1b2133, #0d1018);
  border: 1px solid var(--gold-core);
  color: var(--gold-bright);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 22px rgba(245, 196, 81, 0.28);
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.86rem;
}

.unread-dot {
  background: var(--rose-alert);
  color: #fff;
  font-size: 0.7rem;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}

/* Modal Backdrop & Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 5, 10, 0.78);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-card {
  width: min(620px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-panel-strong);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

.toast-banner {
  position: fixed;
  top: 84px;
  right: 24px;
  z-index: 100;
  background: rgba(15, 22, 34, 0.95);
  border: 1px solid var(--gold-core);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 0.88rem;
}

.toast-banner.error {
  border-color: var(--rose-alert);
}

.studio-footer {
  margin-top: auto;
  padding: 36px 0 46px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .synth-panel,
  .community-layout {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .chat-box {
    height: 520px;
  }
}
