/* ==========================================================================
   AI Novel Studio - Design System & Global Styles
   Aesthetic: Obsidian Deep Space Dark Mode, Neon Amber/Gold & Cyber Cyan Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --bg-surface: rgba(30, 41, 59, 0.7);
  --bg-hover: rgba(51, 65, 85, 0.6);
  --bg-glass: rgba(15, 23, 42, 0.85);

  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-focus: rgba(234, 179, 8, 0.4);
  --border-bright: rgba(56, 189, 248, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-gold: #fde047;

  --accent-gold: #eab308;
  --accent-gold-hover: #facc15;
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.25);
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', sans-serif;
  --font-novel: 'Merriweather', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow-gold: 0 0 20px rgba(234, 179, 8, 0.2);
  --shadow-glow-cyan: 0 0 20px rgba(56, 189, 248, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Layout Standard Heights */
  --header-height: 72px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* App Header & Navigation */
.app-header {
  height: var(--header-height);
  min-height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-container {
  max-width: 1560px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.logo-brand:hover {
  opacity: 0.92;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.25);
}

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

.logo-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fbbf24;
  background: linear-gradient(180deg, #ffffff 15%, #fde047 55%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.45));
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

/* Header Navigation Tabs */
.app-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex: 0 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.app-nav-menu::-webkit-scrollbar {
  display: none;
}

.nav-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
}

.nav-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-tab-btn.active {
  color: #fff;
  background: var(--bg-tertiary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.nav-tab-btn .nav-svg {
  color: var(--text-dim);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-tab-btn:hover .nav-svg {
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-tab-btn.active .nav-svg {
  color: var(--accent-gold);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.coin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 5px 12px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-gold);
  cursor: pointer;
  transition: all 0.2s ease;
}

.coin-badge:hover {
  background: rgba(234, 179, 8, 0.22);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-gold);
}

.coin-badge-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.4);
}

.coin-balance-text {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.coin-plus-tag {
  font-size: 0.72rem;
  background: rgba(234, 179, 8, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
  color: #fef08a;
}

/* Account Dropdown Menu */
.account-dropdown {
  position: relative;
}

.account-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
  padding: 6px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
  pointer-events: none;
}

/* Invisible bridge to cover gap between button and dropdown */
.account-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.account-dropdown:hover .account-dropdown-menu,
.account-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
}

.dropdown-item svg {
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

.dropdown-item-danger:hover {
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 6px;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
  outline: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #ca8a04);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
  box-shadow: var(--shadow-glow-gold);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
  color: #000;
  font-weight: 700;
}
.btn-cyan:hover {
  box-shadow: var(--shadow-glow-cyan);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border-color: var(--border-subtle);
}
.btn-secondary:hover {
  background: #334155;
  border-color: #475569;
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-subtle);
}
.btn-outline:hover {
  color: var(--text-main);
  border-color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 12px 24px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Modal System */
.modal-backdrop,
.modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.modal-backdrop.active,
.modal.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-box,
.modal-dialog {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
  display: flex;
  flex-direction: column;
}

.modal-backdrop.active .modal-box,
.modal.active .modal-dialog,
.modal.active .modal-box {
  transform: scale(1);
}

.modal-dialog.modal-sm,
.modal-box.modal-sm {
  max-width: 480px;
}

.modal-dialog.modal-lg,
.modal-box.modal-lg {
  max-width: 860px;
}

.modal-dialog.modal-xl,
.modal-box.modal-xl {
  max-width: 960px;
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.modal-close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(15, 23, 42, 0.5);
}

/* Form Controls */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}
.form-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Notification Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  animation: slideInRight 0.3s ease;
  min-width: 280px;
  max-width: 420px;
}

.toast.success { border-color: var(--accent-emerald); }
.toast.error { border-color: var(--accent-rose); }
.toast.info { border-color: var(--accent-cyan); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Supabase Cloud & Account Styles */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s;
}

.dot-offline {
  background: #94a3b8;
}

.dot-online {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.cloud-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

.modal-sub-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  padding-bottom: 8px;
  overflow-x: auto;
}

.modal-sub-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.modal-sub-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.modal-sub-tab.active {
  background: var(--bg-tertiary);
  color: var(--accent-cyan);
  border-color: var(--border-subtle);
  font-weight: 600;
}

/* ==========================================================================
   GLOBAL COMMERCIAL NOVEL SAAS DESIGN SYSTEM & MULTI-VIEW STYLES
   ========================================================================== */

/* Multi-View Router */
.app-view {
  display: none;
}
.app-view.active {
  display: block;
  animation: viewFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Studio Sub-Header */
.studio-sub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

/* ==========================================================================
   LANDING PAGE (HOME HERO & SECTIONS)
   ========================================================================== */
.home-hero {
  position: relative;
  /* Top padding ensures zero overlap with sticky header across all viewports */
  padding: calc(var(--header-height) + 36px) 24px 70px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(56, 189, 248, 0.12) 0%, rgba(9, 13, 22, 1) 70%);
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.2), rgba(56, 189, 248, 0.15), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  margin-bottom: 24px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.12);
}

.badge-tag {
  background: var(--accent-cyan);
  color: #04070e;
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 800;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-family: var(--font-title);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fef08a 0%, #facc15 30%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(234, 179, 8, 0.2));
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 34px;
  line-height: 1.75;
}

.hero-actions-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

/* Master Hero Showcase Artwork Frame */
.hero-artwork-showcase {
  position: relative;
  max-width: 1040px;
  margin: 0 auto 56px;
}

.artwork-glow-aura {
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.3), rgba(56, 189, 248, 0.35), rgba(168, 85, 247, 0.25));
  border-radius: 24px;
  filter: blur(28px);
  z-index: 0;
  opacity: 0.7;
}

.artwork-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.2);
  background: var(--bg-secondary);
}

.artwork-main-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.artwork-frame:hover .artwork-main-img {
  transform: scale(1.02);
}

.artwork-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0) 60%, rgba(9, 13, 22, 0.85) 100%);
  pointer-events: none;
}

.artwork-floating-tag {
  position: absolute;
  bottom: 20px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.artwork-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

/* Trust Stats Bar */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto 56px;
}

.hero-stat-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  backdrop-filter: blur(14px);
  transition: transform 0.2s, border-color 0.2s;
}

.hero-stat-item:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.3);
}

.stat-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-title);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Holographic Agent Pipeline Showcase */
.hero-pipeline-card {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
}

.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-subtle);
}

.pipeline-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.pipeline-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

.pipeline-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.pipeline-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 18px 20px;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 992px) {
  .pipeline-steps-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .pipeline-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

.pipeline-step-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.pipeline-step-box:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.pipeline-step-box.active {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06) 0%, rgba(9, 13, 22, 0.95) 100%);
}

.step-avatar-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.step-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(234, 179, 8, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.step-num-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-gold);
  color: #090d16;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.step-role {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.pipeline-snippet-box {
  padding: 22px 24px;
  background: var(--bg-primary);
}

.snippet-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.snippet-text {
  font-family: var(--font-novel);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #e2e8f0;
  font-style: italic;
  margin-bottom: 18px;
}

.snippet-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections Base */
.home-section {
  padding: 84px 24px;
  position: relative;
}

.section-darker {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-family: var(--font-title);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2, .bento-span-3 { grid-column: auto !important; }
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-span-3 {
  grid-column: span 3;
}

.bento-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.bento-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.bento-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bento-tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.bento-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* 3D Book Covers & Genre Showcase */
.genre-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .genre-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .genre-cards-grid { grid-template-columns: 1fr; }
}

.genre-book-card {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.genre-book-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 36px rgba(234, 179, 8, 0.16);
}

.book-spine {
  width: 14px;
  flex-shrink: 0;
}
.book-spine.xianxia { background: linear-gradient(180deg, #38bdf8, #818cf8); }
.book-spine.wuxia { background: linear-gradient(180deg, #f59e0b, #ef4444); }
.book-spine.urban { background: linear-gradient(180deg, #10b981, #06b6d4); }
.book-spine.romance { background: linear-gradient(180deg, #f43f5e, #ec4899); }
.book-spine.mystery { background: linear-gradient(180deg, #8b5cf6, #3b82f6); }
.book-spine.scifi { background: linear-gradient(180deg, #06b6d4, #3b82f6); }

.book-cover-content {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.genre-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.8px;
}

.book-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 8px 0;
  font-family: var(--font-title);
  color: var(--text-main);
}

.book-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.58;
  flex: 1;
  margin-bottom: 18px;
}

.book-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.book-author {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Commercial Pricing Grid */
.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .home-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .home-pricing-grid { grid-template-columns: 1fr; }
}

.home-pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.home-pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.home-pricing-card.popular {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(234, 179, 8, 0.16);
}

.pricing-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.popular-badge {
  color: var(--accent-gold);
}

.celestial-badge {
  color: #c084fc;
}

.pricing-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 12px 0 6px;
  font-family: var(--font-title);
  color: #fff;
}

.pricing-price .currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-coins {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.pricing-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 42px;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  margin-bottom: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Dedicated Full-Page Library View */
.library-view-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.library-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.library-page-title {
  font-size: 2.2rem;
  font-family: var(--font-title);
  color: var(--text-main);
}

.library-page-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

.library-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.full-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.full-novel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.full-novel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-md);
}

.full-novel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.full-novel-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--text-main);
  line-height: 1.35;
}

.full-novel-premise {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.full-novel-stats-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.full-novel-stats-row strong {
  color: var(--text-main);
}

.full-novel-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* Global Footer */
.home-footer {
  background: #04070e;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 24px 34px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 44px;
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   LOREBOOK & RELATIONSHIP GRAPH 2.0 STYLES
   ========================================================================== */
.lore-filter-bar {
  scrollbar-width: thin;
}

.lore-filter-pill {
  padding: 3px 8px;
  font-size: 0.72rem;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.lore-filter-pill:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.lore-filter-pill.active {
  background: rgba(234, 179, 8, 0.15);
  border-color: var(--accent-gold);
  color: #fef08a;
  font-weight: 600;
}

.lore-item-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.lore-item-card:hover {
  border-color: rgba(234, 179, 8, 0.4);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.lore-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.lore-item-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-cyan);
}

.lore-item-role {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: #1e293b;
  color: var(--text-muted);
}

.lore-item-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 4px;
}

.lore-item-rels {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.lore-rel-tag {
  font-size: 0.7rem;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold);
}

.lore-item-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

/* Graph Node SVG Hover */
.graph-node {
  transition: transform 0.2s ease;
}

.graph-node:hover circle:first-child {
  fill-opacity: 0.5 !important;
}

.graph-node.active-node circle:last-of-type {
  filter: drop-shadow(0 0 8px var(--accent-gold));
}

/* ============================================================================== */
/* AUTHOR PROFILE PAGE STYLES */
/* ============================================================================== */
.author-banner-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.author-banner-bg-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.author-banner-content {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .author-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

.author-avatar-wrapper {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.author-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #854d0e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
  border: 2px solid rgba(254, 240, 138, 0.6);
}

.author-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--bg-primary);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.author-info-main {
  flex: 1;
}

.author-name-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-title);
  margin: 0;
}

.author-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 6px;
  flex-wrap: wrap;
}

.author-bio-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 10px;
  max-width: 650px;
}

.author-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 190px;
}

@media (max-width: 860px) {
  .author-banner-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
}

.author-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-stat-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
}

.stat-box-val {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-box-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Status Pill for Stories */
.status-pill-public {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pill-private {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-dim);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Web Novel Reader Modal Prose */
.novel-reader-prose p {
  margin-bottom: 1.4em;
  text-indent: 2em;
  text-align: justify;
}

.novel-reader-prose p:first-of-type {
  font-size: 1.15em;
  color: var(--text-main);
}

/* ============================================================================== */
/* FRONT-END CHECKLIST: RESPONSIVENESS & ACCESSIBILITY (A11y) */
/* ============================================================================== */

/* Focus Visible for Keyboard Navigation (WCAG 2.1 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* ================================================================
   Responsive Navigation & Viewport Adjustments
   ================================================================ */

/* 1440px and below: Tighten spacing */
@media (max-width: 1440px) {
  .header-container {
    padding: 0 16px;
    gap: 10px;
  }

  .nav-tab-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
    gap: 5px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-cta-btn,
  .header-tool-btn,
  .cloud-account-btn {
    padding: 5px 8px;
    font-size: 0.78rem;
  }

  .coin-badge {
    padding: 4px 10px;
    font-size: 0.82rem;
    gap: 6px;
  }
}

/* 1100px and below: Hide text labels on action buttons, keep icons */
@media (max-width: 1100px) {
  .header-container {
    padding: 0 10px;
    gap: 8px;
  }

  .nav-tab-btn {
    padding: 5px 8px;
    font-size: 0.76rem;
    gap: 4px;
  }

  /* Hide text labels on header action buttons, only show SVG icons */
  .header-cta-btn span,
  .header-tool-btn span,
  .cloud-account-btn #accountBtnText {
    display: none;
  }

  .header-cta-btn,
  .header-tool-btn,
  .cloud-account-btn {
    padding: 6px;
    min-width: 32px;
    min-height: 32px;
    justify-content: center;
  }

  .coin-badge {
    padding: 4px 8px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .coin-plus-tag {
    display: none;
  }
}

/* 992px and below: Wrap nav to second line */
@media (max-width: 992px) {
  .app-header {
    height: auto;
    min-height: var(--header-height);
    padding: 8px 0;
  }

  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }

  .app-nav-menu {
    order: 3;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 6px;
  }

  .header-actions {
    gap: 6px;
  }

  .home-hero {
    padding-top: calc(var(--header-height) + 50px);
  }

  .hero-artwork-showcase {
    margin-bottom: 40px;
  }
}

/* 768px and below: Hide nav text, icon-only nav */
@media (max-width: 768px) {
  .nav-tab-btn span {
    display: none;
  }

  .nav-tab-btn {
    padding: 8px;
    gap: 0;
  }

  .nav-tab-btn .nav-svg {
    width: 18px;
    height: 18px;
  }

  .app-nav-menu {
    gap: 2px;
    padding: 3px;
    justify-content: center;
  }
}

/* 640px and below: Compact everything */
@media (max-width: 640px) {
  .logo-title {
    font-size: 1.15rem;
  }

  .logo-subtitle {
    display: none;
  }

  .brand-logo-img {
    width: 36px;
    height: 36px;
  }

  .hero-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions-row .btn {
    width: 100%;
  }

  .artwork-floating-tag {
    bottom: 12px;
    left: 12px;
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

