/* ========================================================
   BENES WUNSCHLISTE - Minimalist Mobile-First Design System
   Wide List Cards & Subtle Admin Trigger
   ======================================================== */

:root {
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Color Palette - Minimalist, Warm Charcoal & Clean Slate */
  --bg-main: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F3F5;
  --bg-subtle-hover: #E9ECEF;
  
  --text-main: #1A1D20;
  --text-secondary: #6C757D;
  --text-muted: #9CA3AF;
  
  --border-light: rgba(0, 0, 0, 0.07);
  --border-subtle: rgba(0, 0, 0, 0.04);
  
  --color-primary: #1E3A8A;
  --color-primary-hover: #172554;
  --color-primary-text: #FFFFFF;
  
  --color-success-bg: #ECFDF5;
  --color-success-text: #065F46;
  --color-success-border: #A7F3D0;
  
  --color-claimed-bg: #F3F4F6;
  --color-claimed-text: #6B7280;
  --color-claimed-border: #E5E7EB;

  --color-accent: #6366F1;
  --color-accent-subtle: #EEF2FF;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-modal: 0 24px 60px -12px rgba(0, 0, 0, 0.25);

  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: env(safe-area-inset-bottom, 36px);
  min-height: 100vh;
}

/* Layout */
.app-container {
  max-width: 680px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}

/* Header */
.header {
  padding: 24px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.brand-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.header-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.15;
}

.header-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.btn-icon:active {
  transform: scale(0.95);
}

/* Guest Info Banner */
.guest-info-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}

.guest-info-banner strong {
  color: var(--text-main);
  font-weight: 600;
}

.banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.banner-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

/* Filter Bar & Admin Active Indicator */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
}

.filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  appearance: none;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.chip:hover {
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text-main);
}

.chip.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  font-weight: 600;
}

.chip-count {
  font-size: 10.5px;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.08);
}

.chip.active .chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.admin-indicator {
  font-size: 11.5px;
  font-weight: 600;
  color: #059669;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 6px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
}

.admin-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
}

/* ========================================================
   WIDE HORIZONTAL LIST CARDS (List-Style Layout)
   ======================================================== */

.main-content {
  flex: 1;
  padding: 8px 0 60px 0;
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Wide List Item Card */
.list-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 12px;
  display: flex;
  gap: 14px;
  align-items: stretch;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.list-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.12);
}

/* Admin Order Controls */
.card-order-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 6px 0 0;
  border-right: 1px solid var(--border-subtle);
  margin-right: -2px;
  flex-shrink: 0;
  user-select: none;
}

.btn-order-move {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-order-move:hover:not(:disabled) {
  background: var(--bg-subtle-hover);
  color: var(--color-primary);
}

.btn-order-move:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.btn-order-move svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
}

.drag-handle {
  color: var(--text-muted);
  cursor: grab;
  padding: 3px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.drag-handle:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.drag-handle:active {
  cursor: grabbing;
}

.drag-handle svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

/* Dragging state for cards */
.list-card.is-dragging {
  opacity: 0.45;
  transform: scale(0.98);
  border: 1px dashed var(--color-primary);
  background: var(--bg-subtle);
}

.list-card.drag-over-above {
  border-top: 3px solid var(--color-primary) !important;
}

.list-card.drag-over-below {
  border-bottom: 3px solid var(--color-primary) !important;
}

/* Left: Compact Square Image Thumbnail */
.list-card-thumb-wrap {
  width: 82px;
  min-width: 82px;
  height: 82px;
  border-radius: var(--radius-sm);
  background: #F1F3F5;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.list-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  color: var(--text-muted);
}

.list-card-placeholder svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}

.thumb-claimed-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(18, 19, 22, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb-user-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: #059669;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Right: Content details */
.list-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.list-card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.list-card-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Metadata pills (Domain + Notes) */
.list-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
}

.meta-domain {
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-domain svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.meta-note {
  color: #475569;
  background: #F1F5F9;
  border-left: 2px solid #94A3B8;
  padding: 2px 7px;
  border-radius: 2px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-note svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

/* Card Actions Row */
.list-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--border-subtle);
}

.btn-shop-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.btn-shop-link svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.btn-shop-link:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.btn-admin-edit,
.btn-admin-del {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.btn-admin-edit svg,
.btn-admin-del svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.btn-admin-edit:hover {
  color: var(--color-primary);
  background: var(--bg-subtle-hover);
}

.btn-admin-del:hover {
  color: #DC2626;
  background: #FEE2E2;
}

/* Claim action buttons (Compact for list card) */
.btn-claim-inline {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-claim-inline svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

/* Available to claim */
.btn-claim-inline.available {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn-claim-inline.available:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-claim-inline.available:active {
  transform: scale(0.96);
}

/* Already claimed by other -> Click opens "Das wird schon geschenkt!" modal */
.btn-claim-inline.taken {
  background: var(--color-claimed-bg);
  color: var(--color-claimed-text);
  border: 1px solid var(--color-claimed-border);
}

.btn-claim-inline.taken:hover {
  background: #E5E7EB;
  color: #374151;
}

/* Claimed by this visitor */
.btn-claim-inline.mine {
  background: var(--color-success-bg);
  color: var(--color-success-text);
  border: 1px solid var(--color-success-border);
}

.btn-claim-inline.mine:hover {
  background: #D1FAE5;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 19, 22, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-modal);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-compact {
  max-width: 380px;
  padding: 26px 22px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.25;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.4;
}

.btn-close {
  background: var(--bg-subtle);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-close:hover {
  background: var(--bg-subtle-hover);
  color: var(--text-main);
}

.btn-close svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.modal-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--color-primary);
  margin: 0 auto 10px auto;
}

.modal-status-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

/* Forms */
.modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-group.col {
  flex: 1;
}

label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
}

.required {
  color: #EF4444;
}

input[type="text"],
input[type="url"],
input[type="password"] {
  font-family: var(--font-family);
  font-size: 14px;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.input-with-button {
  display: flex;
  gap: 8px;
}

.input-with-button input {
  flex: 1;
}

.field-hint {
  font-size: 11.5px;
  color: var(--text-muted);
}

.field-error {
  font-size: 12px;
  color: #DC2626;
  font-weight: 500;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

/* Live Preview Inside Modal */
.preview-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px;
}

.preview-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.preview-card {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #FFFFFF;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.preview-img-wrap {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #E5E7EB;
  flex-shrink: 0;
}

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

.preview-site-tag {
  position: absolute;
  bottom: 2px;
  left: 2px;
  background: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
  font-size: 8px;
  padding: 1px 3px;
  border-radius: 3px;
}

.preview-content {
  flex: 1;
  min-width: 0;
}

.preview-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-price {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Item Summary inside Modals */
.item-summary-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-subtle);
  padding: 10px 12px;
  border-radius: var(--radius-md);
}

.summary-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #E5E7EB;
  flex-shrink: 0;
}

.summary-details {
  flex: 1;
  min-width: 0;
}

.summary-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-price {
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 2px;
}

.claimed-item-preview {
  background: var(--bg-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
}

/* Generic Buttons */
.btn {
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-subtle-hover);
}

.btn-subtle {
  background: transparent;
  color: var(--text-secondary);
}

.btn-subtle:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
}

.w-full {
  width: 100%;
}

/* State Containers (Loading & Empty) */
.state-container {
  padding: 50px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-secondary);
}

.empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--color-primary);
  margin-bottom: 6px;
}

.empty-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: 90%;
  max-width: 380px;
}

.toast {
  background: #1E293B;
  color: #FFFFFF;
  padding: 11px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-modal);
  animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  text-align: center;
  justify-content: center;
}

/* Footer & Discreet Admin Link */
.footer {
  text-align: center;
  padding: 28px 16px 28px 16px;
  color: var(--text-muted);
  font-size: 11.5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-note {
  font-size: 10.5px;
}

.footer-admin {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-login-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-family);
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  opacity: 0.5;
  transition: all var(--transition-fast);
}

.footer-login-link:hover {
  opacity: 1;
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Utilities */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.font-medium {
  font-weight: 600;
}

.mt-3 {
  margin-top: 12px;
}

.mt-4 {
  margin-top: 16px;
}

.mb-1 {
  margin-bottom: 4px;
}

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

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

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mobile Optimizations */
@media (max-width: 480px) {
  .list-card {
    padding: 10px;
    gap: 12px;
  }

  .list-card-thumb-wrap {
    width: 74px;
    min-width: 74px;
    height: 74px;
  }

  .list-card-title {
    font-size: 14px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
  }

  .btn-claim-inline {
    height: 30px;
    font-size: 12px;
    padding: 0 10px;
  }

  .modal-card {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 85vh;
    margin-top: auto;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-compact {
    border-radius: var(--radius-lg);
    margin: auto 16px;
  }
}
