@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --primary: #E55D87;
  --primary-dark: #5FC3E4;
  --secondary: #F7971E;
  --accent: #FFD200;
  --light: #2C3E50;
  --bg: #E3F2FD;
  --bg-deep: #D1E8FC;
  --card: #ffffff;
  --card-alt: #F5F9FF;
  --text: #0D2137;
  --text-secondary: #4A6A8A;
  --text-muted: #7A9BBD;
  --border: #C8DEF0;
  --shadow: rgba(13, 71, 161, 0.08);
  --shadow-lg: rgba(13, 71, 161, 0.14);
  --cloud: #CFE4F7;
  --cloud-dark: #A8C8E8;
  --rain: #42A5F5;
  --snow-color: #B3D9F7;
  --lightning: #FFD54F;
  --danger: #EF5350;
  --success: #66BB6A;
  --warning: #FFA726;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ============ LAYOUT ============ */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--secondary) 100%);
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.app-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(66, 165, 245, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.app-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--light), var(--accent));
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.logo-icon {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.app-subtitle {
  color: var(--light);
  font-size: 0.875rem;
  font-weight: 400;
  margin-left: 2.75rem;
}

.app-main {
  flex: 1;
  padding: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.app-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ============ DASHBOARD ============ */
.dashboard {
  animation: fadeIn 0.5s ease;
}

.dashboard-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.unit-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 44px;
}

.unit-toggle:hover {
  background: var(--bg-deep);
  border-color: var(--accent);
}

.location-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* ============ SEARCH ============ */
.search-bar {
  position: relative;
  flex: 1;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.875rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.6rem 0.875rem 0.6rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--card);
  min-height: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.15);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-spinner {
  position: absolute;
  right: 0.875rem;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px var(--shadow-lg);
  list-style: none;
  z-index: 100;
  max-height: 260px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.875rem;
  color: var(--text);
}

.search-result-item:hover {
  background: var(--bg);
}

.search-result-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

.search-no-result {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============ CURRENT WEATHER ============ */
.current-section {
  animation: fadeInUp 0.6s ease;
}

.current-main-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13, 71, 161, 0.25);
}

.current-main-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 50%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.current-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.current-icon-area {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.current-temp-area {
  display: flex;
  align-items: flex-start;
}

.current-temp {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.current-unit {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 0.5rem;
  opacity: 0.8;
}

.current-label {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.95;
}

.current-feels {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* ============ STATS GRID ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeInUp 0.5s ease backwards;
}

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

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

.stat-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.stat-value small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* UV Badges */
.uv-badge {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.uv-low { background: #E8F5E9; color: #2E7D32; }
.uv-moderate { background: #FFF8E1; color: #F57F17; }
.uv-high { background: #FFF3E0; color: #E65100; }
.uv-very-high { background: #FFEBEE; color: #C62828; }
.uv-extreme { background: #F3E5F5; color: #6A1B9A; }

/* ============ FORECAST ============ */
.forecast-section {
  animation: fadeInUp 0.7s ease backwards;
  animation-delay: 0.3s;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
}

.forecast-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.6rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeInUp 0.5s ease both;
}

.forecast-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow);
  border-color: var(--accent);
}

.forecast-day {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.forecast-icon-wrap {
  margin: 0.3rem auto;
  width: 48px;
  height: 48px;
}

.forecast-temps {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.4rem 0;
}

.forecast-high {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.forecast-low {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.forecast-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  min-height: 1.6rem;
}

.forecast-details {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 0.4rem;
  margin-top: 0.2rem;
}

.forecast-detail {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

/* ============ LOADING SKELETON ============ */
.loading-container {
  animation: fadeIn 0.3s ease;
}

.skeleton-current {
  margin-bottom: 1rem;
}

.skeleton-block {
  background: linear-gradient(90deg, var(--border) 25%, var(--bg-deep) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

.skeleton-lg {
  height: 200px;
  margin-bottom: 0.75rem;
}

.skeleton-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.skeleton-sm {
  height: 80px;
}

.skeleton-forecast {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.skeleton-card {
  height: 180px;
}

/* ============ ERROR ============ */
.error-card {
  background: var(--card);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  animation: fadeInUp 0.4s ease;
}

.error-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.error-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.error-card button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.5rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.error-card button:hover {
  background: var(--secondary);
}

/* ============ WEATHER ICON ANIMATIONS ============ */
.weather-icon {
  display: block;
}

.wi-clear .sun-core {
  animation: sunPulse 3s ease-in-out infinite;
}

.wi-clear .sun-rays {
  animation: sunSpin 12s linear infinite;
  transform-origin: 50px 50px;
}

.wi-partly-cloudy .sun-core {
  animation: sunPulse 3s ease-in-out infinite;
}

.wi-partly-cloudy .sun-rays {
  animation: sunSpin 12s linear infinite;
  transform-origin: 38px 35px;
}

.cloud-float {
  animation: cloudFloat 4s ease-in-out infinite;
}

.cloud-float-slow {
  animation: cloudFloat 5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.fog-lines line:nth-child(1) { animation: fogDrift 4s ease-in-out infinite; }
.fog-lines line:nth-child(2) { animation: fogDrift 5s ease-in-out infinite 0.5s; }
.fog-lines line:nth-child(3) { animation: fogDrift 4.5s ease-in-out infinite 1s; }
.fog-lines line:nth-child(4) { animation: fogDrift 5.5s ease-in-out infinite 1.5s; }

.snowflake {
  font-size: 10px;
}

/* ============ KEYFRAMES ============ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

@keyframes sunPulse {
  0%, 100% { r: 18; opacity: 1; }
  50% { r: 20; opacity: 0.85; }
}

@keyframes sunSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes cloudFloat {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@keyframes fogDrift {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(6px); opacity: 0.8; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .app-header {
    padding: 1.5rem 1rem 1rem;
  }

  .app-main {
    padding: 1rem;
  }

  .app-title {
    font-size: 1.25rem;
  }

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

  .forecast-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .current-temp {
    font-size: 3.5rem;
  }

  .current-main-card {
    padding: 1.5rem;
  }

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

  .skeleton-forecast {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .app-main {
    padding: 0.75rem;
  }

  .dashboard-controls {
    flex-wrap: wrap;
  }

  .search-bar {
    min-width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .stat-card {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .stat-icon-wrap {
    width: 34px;
    height: 34px;
  }

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

  .current-top {
    gap: 1rem;
  }

  .current-icon-area svg {
    width: 80px;
    height: 80px;
  }

  .current-temp {
    font-size: 3rem;
  }

  .current-main-card {
    padding: 1.25rem;
  }

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

/* ============ FOCUS STYLES ============ */
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
```

<!-- WALKTHROUGH_SCRIPT:
[
  {"step": 1, "narration": "Welcome to Arctic Weather — your local weather dashboard with real-time conditions and forecasts.", "view": "default", "highlight_selector": ".app-header", "wait_for": "tap_to_continue"},
  {"step": 2, "narration": "Search for any city worldwide using the search bar. Try typing a city name.", "view": "default", "highlight_selector": ".search-bar", "wait_for": "user_interaction"},
  {"step": 3, "narration": "The main card shows current temperature, weather condition, and an animated icon that changes with the weather.", "view": "default", "highlight_selector": ".current-main-card", "wait_for": "tap_to_continue"},
  {"step": 4, "narration": "Below you'll find detailed stats: humidity, wind speed and direction, UV index with safety rating, and atmospheric pressure.", "view": "default", "highlight_selector": ".stats-grid", "wait_for": "tap_to_continue"},
  {"step": 5, "narration": "The 6-day forecast shows daily highs, lows, precipitation chance, and UV levels for each day.", "view": "default", "highlight_selector": ".forecast-grid", "wait_for": "tap_to_continue"},
  {"step": 6, "narration": "Toggle between Fahrenheit and Celsius using the unit button next to the search bar.", "view": "default", "highlight_selector": ".unit-toggle", "wait_for": "user_interaction"}
]
-->

.location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.location-row .location-name {
  margin-bottom: 0;
}

.geo-button {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.geo-button:hover:not(:disabled) {
  background: var(--bg-deep);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.geo-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.geo-status {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.geo-status-error {
  background: #FFF3E0;
  color: #8A4B00;
  border: 1px solid #FFD180;
}

@media (max-width: 480px) {
  .location-row {
    flex-direction: column;
    align-items: stretch;
  }

  .geo-button {
    width: 100%;
  }
}

.trend-section {
  margin-top: 1rem;
  animation: fadeInUp 0.65s ease backwards;
  animation-delay: 0.2s;
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.trend-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 4px 16px var(--shadow);
}

.trend-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.trend-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.trend-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.trend-unit {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.trend-chart-wrap {
  position: relative;
  height: 240px;
}

.trend-chart {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  .trend-grid {
    grid-template-columns: 1fr;
  }

  .trend-chart-wrap {
    height: 220px;
  }
}

.location-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.favorite-button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.favorite-button:hover:not(:disabled) {
  background: var(--secondary);
  transform: translateY(-1px);
}

.favorite-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.favorites-section {
  margin-bottom: 1rem;
  animation: fadeInUp 0.55s ease backwards;
}

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

.favorite-card {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.favorite-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--shadow);
  border-color: var(--accent);
}

.favorite-card-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.08);
}

.favorite-card-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}

.favorite-card-meta {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.favorite-card-remove {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--danger);
  align-self: flex-start;
  cursor: pointer;
}

.favorite-card-remove:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .location-actions {
    width: 100%;
    justify-content: stretch;
  }

  .favorite-button,
  .geo-button {
    width: 100%;
  }
}

.share-button {
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.share-button:hover:not(:disabled) {
  background: var(--primary);
  transform: translateY(-1px);
}

.share-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.share-link-button {
  background: var(--card);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.share-link-button:hover:not(:disabled) {
  background: var(--bg-deep);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.share-link-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.share-status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.share-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
}

.share-status-pill-active {
  background: #E8F5E9;
  color: #2E7D32;
}

.share-status-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
}

.share-status-message {
  background: #E3F2FD;
  color: var(--primary-dark);
  border: 1px solid #BBDEFB;
}

@media (max-width: 480px) {
  .share-button,
  .share-link-button {
    width: 100%;
  }
}
