/* ═══════════════════════════════════════════
   NearFling App Styles
   Design: Dark theme, flame accents
   ═══════════════════════════════════════════ */

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

:root {
  --flame: #FF4D4D;
  --flame-dark: #E63946;
  --flame-glow: rgba(255, 77, 77, 0.3);
  --night: #0D0D0D;
  --night-light: #1A1A2E;
  --night-card: #16162A;
  --cream: #FFFBF0;
  --gold: #FFB347;
  --text-muted: #8B8B9E;
  --green: #4ADE80;
  --red: #EF4444;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--night);
  color: var(--cream);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
}

/* ─── App Shell ─── */
.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.app-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--flame), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-header-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--night-light);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.1rem;
  position: relative;
}

.icon-btn:hover {
  border-color: var(--flame);
  background: rgba(255, 77, 77, 0.1);
}

.icon-btn .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--flame);
  color: white;
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.app-content {
  flex: 1;
  overflow-y: auto;
}

/* ─── Bottom Nav ─── */
.bottom-nav {
  display: flex;
  border-top: 1px solid var(--border);
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  gap: 0.25rem;
}

.nav-item.active {
  color: var(--flame);
}

.nav-item:hover {
  color: var(--cream);
}

.nav-item svg, .nav-item .nav-icon {
  font-size: 1.3rem;
}

/* ─── Auth Page ─── */
.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  text-align: center;
}

.auth-page .logo-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--flame), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.auth-page .tagline {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.auth-form {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ─── Form Elements ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

input, select, textarea {
  background: var(--night-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--flame);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

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

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B8B9E' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ─── Buttons ─── */
.btn {
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--flame), var(--flame-dark));
  color: white;
  box-shadow: 0 4px 20px var(--flame-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(255, 77, 77, 0.4);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: var(--night-light);
  border: 1px solid var(--border);
  color: var(--cream);
}

.btn-secondary:hover {
  border-color: var(--flame);
}

.btn-ghost {
  background: transparent;
  color: var(--flame);
  padding: 0.5rem;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ─── Link buttons ─── */
.link-btn {
  background: none;
  border: none;
  color: var(--flame);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.25rem;
}

.link-btn:hover {
  text-decoration: underline;
}

/* ─── Error / Success ─── */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}

.alert-success {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #86EFAC;
}

/* ─── Payment Gate ─── */
.payment-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.payment-gate h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.payment-gate .price-display {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cream), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1.5rem 0;
}

.payment-gate .price-sub {
  color: var(--flame);
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
  width: 100%;
  max-width: 320px;
}

.features-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list .check {
  color: var(--flame);
  font-weight: 700;
}

/* ─── Profile Setup ─── */
.setup-page {
  padding: 2rem 1.5rem;
}

.setup-page h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.setup-page .subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.setup-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.photo-slot {
  aspect-ratio: 3/4;
  border-radius: var(--radius-sm);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
  position: relative;
  background: var(--night-light);
}

.photo-slot:hover {
  border-color: var(--flame);
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot .add-photo {
  font-size: 2rem;
  color: var(--text-muted);
}

.photo-slot .remove-photo {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.radius-slider {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.radius-slider input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  background: var(--night-light);
  height: 6px;
  border-radius: 3px;
  border: none;
  padding: 0;
}

.radius-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--flame);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--flame-glow);
}

.radius-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--flame);
  min-width: 60px;
  text-align: right;
}

/* ─── Discovery / Swipe Cards ─── */
.discover-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  flex: 1;
}

.card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  margin: 0 auto;
}

.swipe-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-card);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.swipe-card:active {
  cursor: grabbing;
}

.swipe-card.swiping-right {
  transform: translateX(100%) rotate(15deg);
  opacity: 0;
}

.swipe-card.swiping-left {
  transform: translateX(-100%) rotate(-15deg);
  opacity: 0;
}

.card-photo {
  width: 100%;
  height: 65%;
  object-fit: cover;
  background: var(--night-light);
}

.card-photo-placeholder {
  width: 100%;
  height: 65%;
  background: linear-gradient(135deg, var(--night-light), var(--night-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-muted);
}

.card-info {
  padding: 1.25rem;
}

.card-name-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.card-age {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.card-distance {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.card-distance::before {
  content: '📍 ';
}

.card-bio {
  font-size: 0.9rem;
  color: var(--cream);
  opacity: 0.85;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.super-like-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--night);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.swipe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.swipe-overlay.like {
  background: rgba(74, 222, 128, 0.2);
}

.swipe-overlay.nope {
  background: rgba(239, 68, 68, 0.2);
}

.swipe-overlay .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  transform: rotate(-20deg);
  border: 4px solid;
  padding: 0.25rem 1rem;
  border-radius: 8px;
}

.swipe-overlay.like .label {
  color: var(--green);
  border-color: var(--green);
}

.swipe-overlay.nope .label {
  color: var(--red);
  border-color: var(--red);
}

/* Swipe action buttons */
.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
}

.swipe-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--night-light);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.5rem;
}

.swipe-btn:hover {
  transform: scale(1.1);
}

.swipe-btn.pass {
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.3);
}

.swipe-btn.pass:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--red);
}

.swipe-btn.like {
  color: var(--green);
  border-color: rgba(74, 222, 128, 0.3);
  width: 70px;
  height: 70px;
  font-size: 1.8rem;
}

.swipe-btn.like:hover {
  background: rgba(74, 222, 128, 0.15);
  border-color: var(--green);
}

.swipe-btn.super {
  color: var(--gold);
  border-color: rgba(255, 179, 71, 0.3);
}

.swipe-btn.super:hover {
  background: rgba(255, 179, 71, 0.15);
  border-color: var(--gold);
}

/* ─── Empty State ─── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  min-height: 60vh;
}

.empty-state .emoji {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

/* ─── Match Animation ─── */
.match-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

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

.match-modal h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--flame), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.match-photos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.match-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--flame);
}

.match-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--night-light);
  border: 3px solid var(--flame);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.match-heart {
  font-size: 2rem;
  animation: heartbeat 1s ease infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* ─── Matches List ─── */
.matches-page {
  padding: 1rem;
}

.matches-page h2 {
  font-size: 1.4rem;
  padding: 0.5rem 0.25rem;
  margin-bottom: 0.75rem;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.match-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--night-light);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.match-card:hover {
  border-color: var(--flame);
  background: rgba(255, 77, 77, 0.05);
}

.match-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.match-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--night-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.match-info {
  flex: 1;
  min-width: 0;
}

.match-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.match-preview {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-meta {
  text-align: right;
  flex-shrink: 0;
}

.match-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.match-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--flame);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-top: 0.25rem;
}

/* ─── Chat ─── */
.chat-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
}

.chat-back {
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0.25rem;
}

.chat-header-info h3 {
  font-size: 1rem;
  font-weight: 600;
}

.chat-header-info .typing {
  font-size: 0.8rem;
  color: var(--flame);
  font-style: italic;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.message-bubble {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  animation: slideUp 0.2s ease;
}

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

.message-bubble.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--flame), var(--flame-dark));
  color: white;
  border-bottom-right-radius: 6px;
}

.message-bubble.received {
  align-self: flex-start;
  background: var(--night-light);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
}

.message-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.message-bubble.sent .message-time {
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
}

.chat-input-bar {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: rgba(13, 13, 13, 0.95);
}

.chat-input-bar input {
  flex: 1;
  border-radius: 24px;
  padding: 0.75rem 1.25rem;
}

.send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--flame);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
  flex-shrink: 0;
}

.send-btn:hover {
  background: var(--flame-dark);
  transform: scale(1.05);
}

.send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ─── Profile View ─── */
.profile-page {
  padding: 2rem 1.5rem;
}

.profile-header {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-main-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--flame);
  margin: 0 auto 1rem;
  display: block;
}

.profile-main-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--night-light);
  border: 3px solid var(--flame);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.profile-header h2 {
  font-size: 1.5rem;
}

.profile-header .email {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.profile-section {
  margin-bottom: 2rem;
}

.profile-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.logout-btn {
  width: 100%;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 2rem;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* ─── Loading ─── */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--flame);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

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

.loading-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* ─── Location prompt ─── */
.location-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  min-height: 60vh;
}

.location-prompt .icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.location-prompt h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.location-prompt p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 300px;
  line-height: 1.6;
}

/* ─── Utility ─── */
.hidden { display: none !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }

/* ─── Responsive ─── */
@media (min-width: 481px) {
  .app-shell {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}
