@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --primary: #722F37;
  --secondary: #9B2335;
  --tertiary: #C2185B;
  --accent: #7B1FA2;
  --light: #F3E5F5;
  --bg: #0a0a1a;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3e;
  --bg-input: #181838;
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --text-dim: #5555777;
  --border: rgba(255,255,255,0.08);
  --glow-pink: rgba(247, 37, 133, 0.3);
  --glow-blue: rgba(67, 97, 238, 0.3);
  --glow-cyan: rgba(76, 201, 240, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
}

::selection {
  background: var(--primary);
  color: white;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 20%, rgba(114, 9, 183, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(247, 37, 133, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(67, 97, 238, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px 100px;
}

/* Header */
.app-header {
  text-align: center;
  padding: 32px 0 16px;
}

.app-title {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.app-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
  font-weight: 300;
}

/* Tabs */
.tab-bar {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 16px var(--glow-pink);
}

.tab-icon {
  font-size: 1.1rem;
}

/* Loading */
.loading-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton-card {
  height: 100px;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  border-radius: var(--radius);
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Practice Log */
.practice-log {
  animation: fadeIn 0.3s ease;
}

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px var(--glow-pink);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--glow-pink);
}

/* Form */
.session-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.form-group:last-child {
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--glow-pink);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
}

/* Session Cards */
.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s ease;
  animation: fadeInUp 0.4s ease both;
  border-left: 3px solid var(--primary);
}

.session-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.session-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.session-instrument {
  display: flex;
  align-items: center;
  gap: 12px;
}

.instrument-emoji {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 37, 133, 0.1);
  border-radius: 10px;
}

.instrument-name {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
}

.piece-name {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

.btn-delete {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-delete:hover {
  background: rgba(247, 37, 133, 0.15);
  color: var(--primary);
}

.session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.meta-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}

.duration-tag { background: rgba(247, 37, 133, 0.12); color: var(--primary); }
.tempo-tag { background: rgba(67, 97, 238, 0.12); color: var(--accent); }

.session-notes {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.empty-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.empty-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Metronome */
.metronome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: fadeIn 0.3s ease;
  padding: 20px 0;
}

.metronome-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.bpm-display {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bpm-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.bpm-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
}

/* Beat indicators */
.beat-indicators {
  display: flex;
  gap: 12px;
}

.beat-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.1s ease;
}

.beat-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--glow-blue);
  transform: scale(1.3);
}

.beat-dot.downbeat {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--glow-pink);
}

/* Pendulum ring */
.metronome-ring {
  width: 120px;
  height: 60px;
  position: relative;
  overflow: hidden;
}

.ring-pendulum {
  width: 4px;
  height: 50px;
  background: linear-gradient(to bottom, var(--primary), var(--light));
  border-radius: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
}

.ring-pendulum.swinging {
  animation: pendulum linear infinite;
}

@keyframes pendulum {
  0% { transform: translateX(-50%) rotate(-30deg); }
  50% { transform: translateX(-50%) rotate(30deg); }
  100% { transform: translateX(-50%) rotate(-30deg); }
}

/* BPM Controls */
.bpm-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.bpm-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 44px;
}

.bpm-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

.bpm-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--light));
  outline: none;
}

.bpm-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.bpm-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Time signature */
.time-sig-controls {
  text-align: center;
}

.time-sig-btns {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}

.time-sig-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-sig-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.time-sig-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 2px 12px var(--glow-blue);
}

/* Play button */
.btn-play {
  background: linear-gradient(135deg, var(--accent), var(--light));
  color: white;
  border: none;
  padding: 16px 48px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px var(--glow-blue);
  letter-spacing: 1px;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--glow-blue);
}

.btn-play.is-playing {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 4px 20px var(--glow-pink);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px var(--glow-pink); }
  50% { box-shadow: 0 4px 32px var(--glow-pink), 0 0 48px var(--glow-pink); }
}

/* Presets */
.bpm-presets {
  width: 100%;
  text-align: center;
}

.preset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.preset-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  border-color: var(--light);
  color: var(--light);
}

.preset-btn.active {
  background: var(--light);
  border-color: var(--light);
  color: var(--bg);
  font-weight: 700;
}

/* Stats */
.stats-page {
  animation: fadeIn 0.3s ease;
}

.stats-page .section-title {
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  animation: fadeInUp 0.4s ease both;
}

.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 0.05s; }
.stat-card:nth-child(3) { animation-delay: 0.1s; }
.stat-card:nth-child(4) { animation-delay: 0.15s; }
.stat-card:nth-child(5) { animation-delay: 0.2s; }
.stat-card:nth-child(6) { animation-delay: 0.25s; }

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.stat-total { border-top: 3px solid var(--primary); }
.stat-sessions { border-top: 3px solid var(--secondary); }
.stat-avg { border-top: 3px solid var(--accent); }
.stat-streak { border-top: 3px solid #ff6b35; }
.stat-longest { border-top: 3px solid var(--light); }
.stat-instruments { border-top: 3px solid #b5e48c; }

.stat-icon {
  font-size: 1.5rem;
}

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Chart */
.chart-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.chart-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.chart-container {
  height: 220px;
  position: relative;
}

/* Instrument breakdown */
.instrument-breakdown {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.instrument-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.instrument-row {
  animation: fadeInUp 0.4s ease both;
}

.instrument-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.instrument-bar-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.instrument-bar-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.instrument-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.instrument-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--light));
  border-radius: 4px;
  transition: width 0.8s ease;
  min-width: 4px;
}

/* Responsive */
@media (max-width: 640px) {
  .app-title {
    font-size: 1.6rem;
  }

  .tab-label {
    font-size: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .bpm-number {
    font-size: 3.5rem;
  }

  .bpm-controls {
    max-width: 100%;
  }

  .session-card {
    padding: 16px;
  }
}

@media (max-width: 380px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    padding: 14px 8px;
  }

  .stat-value {
    font-size: 1.3rem;
  }
}

<!-- WALKTHROUGH_SCRIPT:
[
  {"step": 1, "narration": "Welcome to Practice Log — your personal music practice tracker with a built-in metronome. Let's start by logging a session.", "view": "user", "highlight_selector": ".btn-primary", "wait_for": "tap_to_continue"},
  {"step": 2, "narration": "Tap 'Log Session' to open the form. Enter your instrument, the piece you practiced, how long, and the tempo.", "view": "user", "highlight_selector": ".session-form", "wait_for": "user_interaction"},
  {"step": 3, "narration": "Your sessions appear as cards with details and notes. Delete any session with the × button.", "view": "user", "highlight_selector": ".sessions-list", "wait_for": "tap_to_continue"},
  {"step": 4, "narration": "Switch to the Metronome tab to use the built-in metronome. Set your BPM, choose beats per measure, and hit Start.", "view": "user", "highlight_selector": ".btn-play", "wait_for": "user_interaction"},
  {"step": 5, "narration": "The metronome ticks at your chosen BPM with visual beat indicators. Use the slider or ±buttons to fine-tune tempo.", "view": "user", "highlight_selector": ".bpm-controls", "wait_for": "tap_to_continue"},
  {"step": 6, "narration": "Check the Stats tab to see your total practice time, session count, day streak, and a 7-day chart of your progress.", "view": "user", "highlight_selector": ".stats-grid", "wait_for": "tap_to_continue"}
]
-->

.auth-gate {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.auth-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.auth-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(247, 37, 133, 0.08);
}

.auth-button {
  width: 100%;
  max-width: 260px;
}

.stats-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stats-hero {
  display: flex;
  justify-content: flex-start;
}

.stats-streak-card {
  min-width: 220px;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-streak-label {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.stats-streak-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.stats-streak-caption {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.stats-card {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-card h2 {
  margin: 0 0 0.35rem;
}

.stats-helper {
  margin: 0 0 1rem;
  opacity: 0.8;
}

.stats-card canvas {
  width: 100%;
  min-height: 260px;
}

.advisor-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.advisor-button {
  white-space: nowrap;
}

.advisor-card {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.advisor-block {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.advisor-block h4 {
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text);
}

.advisor-block p,
.advisor-block li {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.advisor-block ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.advisor-empty,
.advisor-error {
  margin-top: 12px;
  font-size: 0.9rem;
}

.advisor-empty {
  color: var(--text-muted);
}

.advisor-error {
  color: var(--primary);
}

.share-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.share-panel-header p {
  margin-top: 6px;
}

.share-controls {
  display: grid;
  gap: 12px;
}

.share-select-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-label {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.share-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}

.share-input,
.share-select {
  width: 100%;
}

.share-select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.share-message {
  color: var(--light);
  font-size: 0.9rem;
}

.share-error {
  color: var(--primary);
  font-size: 0.9rem;
}

.share-list {
  display: grid;
  gap: 10px;
}

.share-list h4 {
  font-size: 0.92rem;
  color: var(--text);
}

.share-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.share-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.share-button {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .share-form {
    grid-template-columns: 1fr;
  }

  .share-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

.export-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.export-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
