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

:root {
  --sidebar-width: 300px;
  --layout-gap: 24px;
  --nav-height: 56px;
  
  /* Colors */
  --bg-main: #0A0A0F;
  --bg-card: rgba(255,255,255,0.05);
  --bg-sidebar: #0A0A0F;
  --text-main: #e2e8f0;
  --text-muted: #a8b8cc;
  --text-heading: #f8fafc;
  --accent-primary: #0D9488;
  --accent-hover: #0F766E;
  --border-color: rgba(255,255,255,0.08);
  --error-bg: rgba(248, 113, 113, 0.15);
  --error-border: rgba(248, 113, 113, 0.4);
  
  /* Spacing */
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;
  --spacing-base: 16px;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 148, 136, 0.3) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(13, 148, 136, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(13, 148, 136, 0.55);
}

a {
  color: var(--accent-primary);
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 100%;
  margin: 0;
  padding: 8px 4px 16px;
  background: var(--bg-main);
}

/* Responsive typography */
@media (max-width: 1200px) {
  .page {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page {
    font-size: 0.85rem;
    padding: 12px 8px 24px;
  }
}

/* Performance optimizations */
.media-item {
  contain: layout style paint;
}

.media-grid {
  contain: layout;
}

.layout {
  position: relative;
  display: block;
  padding-left: calc(var(--sidebar-width) + var(--layout-gap) + 16px);
  padding-right: 16px;
  box-sizing: border-box;
}

.sidebar {
  position: fixed;
  top: calc(var(--nav-height) + 12px);
  left: 16px;
  width: var(--sidebar-width);
  padding: 12px 10px;
  max-height: calc(100vh - var(--nav-height) - 24px);
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Custom scrollbar for sidebar */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(13, 148, 136, 0.3);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(13, 148, 136, 0.5);
}

/* Hide scrollbar when not needed */
.sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 148, 136, 0.3) transparent;
}

/* Ensure content takes full width */
.sidebar > * {
  width: 100%;
  flex-shrink: 0;
}

.sidebar-header {
  text-align: center;
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.branding-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.branding-logo-link {
  text-decoration: none;
  display: inline-block;
}

.branding-logo-link {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.branding-logo-link:hover {
  opacity: 0.75;
  transform: scale(0.97);
}

.sidebar-header h1 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: #f8fafc;
}

.sidebar-header p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.sidebar-tagline {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  text-align: center;
}

.content {
  min-width: 0;
  background: rgba(10,10,15,0.3);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border-color);
  min-height: calc(100vh - 32px);
  box-sizing: border-box;
}

.header {
  text-align: center;
  margin-bottom: 16px;
}

.header h1 {
  font-weight: 600;
  margin-bottom: 8px;
}

.header p {
  color: #94a3b8;
  margin: 0;
}

.card {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.search-card {
  width: 100%;
  padding: 14px 16px;
  margin: 0 0 12px;
  box-sizing: border-box;
}

.roadmap-card {
  width: 100%;
  padding: 12px 18px;
  margin: 0;
  background: rgba(10,10,15,0.6);
  box-sizing: border-box;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* API Key Section */
.api-key-block {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(10,10,15,0.6);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.api-key-block h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Removed duplicate .api-key-block h3 rule */

.required-indicator {
  color: #f87171;
  font-size: 1.2em;
  line-height: 1;
}

.api-key-note {
  margin: 0 0 1rem 0;
  font-size: 0.9em;
  color: #94a3b8;
  line-height: 1.5;
}

.api-key-note a {
  color: #0D9488;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.api-key-note a:hover {
  color: #0D9488;
  text-decoration: underline;
}

.api-key-input-group {
  margin-top: 0.75rem;
}

.api-key-input {
  width: 100%;
  padding: 0.75rem;
  background: #0A0A0F;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.95em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.api-key-input:focus {
  outline: none;
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.input-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8em;
  color: #64748b;
  font-style: italic;
}

/* Support & Community Buttons */
.support-buttons {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bmc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFDD00;
  color: #0d0c22;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.bmc-btn:hover {
  background: #f5d000;
  transform: translateY(-1px);
  text-decoration: none;
  color: #0d0c22;
}

.bmc-btn--large {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
}

.bmc-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #5865F2;
  color: #ffffff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
  text-decoration: none;
  color: #ffffff;
}

.discord-icon {
  width: 20px;
  height: 16px;
  flex-shrink: 0;
}

.upgrade-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #F97316;
  color: #ffffff;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  letter-spacing: 0.01em;
}

.upgrade-btn:hover {
  background: #EA6A0A;
  box-shadow: 0 0 20px rgba(249,115,22,0.4);
  transform: translateY(-1px);
  text-decoration: none;
  color: #ffffff;
}

.upgrade-btn--full {
  margin-top: 0.75rem;
}

.upgrade-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.email-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border-color, #e0e0e0);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--input-bg, #fff);
  color: var(--text-color, #111);
}

.email-input:focus {
  outline: none;
  border-color: #6366f1;
}

.email-success {
  color: #16a34a;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.bulk-actions {
  position: sticky;
  top: 0.5rem;
  z-index: 2;
  background: #0A0A0F;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.bulk-actions__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bulk-actions__label {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.bulk-actions__controls input[type="number"] {
  width: 110px;
  background: #111118;
  color: #f9fafb;
  border: 1px solid #374151;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
}

.bulk-actions__button {
  margin-top: 0.6rem;
  background: #0D9488;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease;
}

.bulk-actions__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(14,165,233,0.25);
}

.bulk-actions__hint {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.bulk-actions__status {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #a5f3fc;
  min-height: 1.2em;
}

.roadmap-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.roadmap-header .section-heading {
  margin-bottom: 0;
}

.roadmap-toggle {
  background: transparent;
  color: #0D9488;
  border: 1px solid #0D9488;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin: 4px 0;
}

.roadmap-toggle:hover,
.roadmap-toggle:focus-visible {
  background: rgba(13, 148, 136, 0.1);
  color: #e0f2fe;
  outline: none;
}

.roadmap-content[hidden] {
  display: none;
}

.roadmap-content {
  margin-top: 12px;
  overflow-y: auto;
  max-height: 60vh;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(13, 148, 136, 0.5) transparent;
}

.roadmap-content::-webkit-scrollbar {
  width: 6px;
}

.roadmap-content::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.roadmap-content::-webkit-scrollbar-thumb {
  background-color: rgba(13, 148, 136, 0.5);
  border-radius: 3px;
}

.roadmap-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(13, 148, 136, 0.7);
}

.roadmap-subtitle {
  margin: 0;
  font-size: 0.9em;
  color: #94a3b8;
  width: 100%;
}

.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.roadmap-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: default;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.roadmap-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  appearance: none;
  border: 2px solid rgba(148, 163, 184, 0.5);
  border-radius: 4px;
  background: rgba(10,10,15,0.6);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.roadmap-list input[type="checkbox"]:hover {
  border-color: rgba(13, 148, 136, 0.8);
}

.roadmap-list input[type="checkbox"]:checked {
  background-color: #0D9488;
  border-color: #0D9488;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230f172a' d='M6.173 12.067a.75.75 0 0 1-1.06.01L2.22 9.31a.75.75 0 0 1 1.06-1.061l2.385 2.385 5.905-5.905a.75.75 0 1 1 1.06 1.06l-6.457 6.278z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.roadmap-list input[type="checkbox"]:focus-visible {
  outline: 2px solid #0D9488;
  outline-offset: 2px;
}

.roadmap-list span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roadmap-list small {
  color: #94a3b8;
  font-size: 0.78rem;
}

.roadmap-done {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(13, 148, 136, 0.4);
  opacity: 0.75;
}

.roadmap-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #0D9488;
  text-align: center;
}


.section-heading {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading::before {
  content: '';
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.5), transparent);
}

.section-heading::after {
  content: '';
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.5));
}

.section-divider {
  border: 0;
  border-bottom: 2px solid rgba(148, 163, 184, 0.15);
  margin: 24px 0;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.3), transparent);
  height: 2px;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}


.search-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e2e8f0;
}

.search-form label.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(10,10,15,0.4);
  transition: border-color 0.15s ease, background 0.15s ease;
  user-select: none;
}

.search-form label.checkbox:hover {
  border-color: rgba(13, 148, 136, 0.35);
  background: rgba(13, 148, 136, 0.05);
  color: var(--text-main);
}

.search-form label.checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
  appearance: none;
  border: 1.5px solid rgba(148, 163, 184, 0.4);
  border-radius: 4px;
  background: rgba(10,10,15,0.6);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.search-form label.checkbox input[type="checkbox"]:checked {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230f172a' d='M6.173 12.067a.75.75 0 0 1-1.06.01L2.22 9.31a.75.75 0 0 1 1.06-1.061l2.385 2.385 5.905-5.905a.75.75 0 1 1 1.06 1.06l-6.457 6.278z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

.search-form label.checkbox input[type="checkbox"]:checked ~ span {
  color: var(--text-main);
}

.search-form label.checkbox span {
  line-height: 1.4;
  font-size: 0.85rem;
}

.form-collapsible {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: rgba(10,10,15,0.5);
  padding: 0;
  overflow: hidden;
}

.form-collapsible summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(10,10,15,0.6);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-collapsible summary::-webkit-details-marker {
  display: none;
}

.form-collapsible summary::after {
  content: '\25BC';
  font-size: 0.75rem;
  color: #0D9488;
  transition: transform 0.2s ease;
}

.form-collapsible[open] summary {
  border-color: rgba(13, 148, 136, 0.4);
  background: rgba(10,10,15,0.75);
}

.form-collapsible[open] summary::after {
  transform: rotate(-180deg);
}

.form-collapsible-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.summary-hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
}

.api-key-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: rgba(10,10,15,0.5);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-top: 8px;
}


.search-form input[type="text"],
.search-form input[type="number"],
.search-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-form input[type="text"]::placeholder {
  color: #64748b;
}

.search-form input[type="text"]:focus,
.search-form input[type="number"]:focus,
.search-form select:focus {
  outline: none;
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}

/* Media type toggle */
.media-type-toggle {
  display: flex;
  gap: 6px;
  margin: 4px 0 2px;
}

.media-type-toggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.mt-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(10,10,15,0.5);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  line-height: 1;
}

.mt-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.mt-btn:hover {
  border-color: rgba(13, 148, 136, 0.5);
  color: var(--text-main);
}

.media-type-toggle input[type="radio"]:checked + .mt-btn {
  background: rgba(13, 148, 136, 0.15);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 600;
}

/* select styling handled by the combined rule above */

.search-form button {
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #0D9488;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  margin-top: 8px;
}

.search-form button:hover {
  background: #0F766E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.search-form button:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}


.how-to-link-wrapper {
  margin: 4px 0 12px;
  text-align: center;
}

.how-to-link {
  color: #0D9488;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
}

.how-to-link:hover,
.how-to-link:focus {
  text-decoration: underline;
  outline: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,15,0.88);
  backdrop-filter: blur(8px);
  z-index: 10000;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.modal-dialog {
  width: min(520px, 100%);
  max-width: calc(100vw - 32px);
  background: rgba(17,17,24,0.98);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(13, 148, 136, 0.05);
  padding: 28px;
  color: #e2e8f0;
  position: relative;
  text-align: left;
  animation: modalIn 0.22s ease;
}

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

/* Donate modal variant */
.modal-dialog--donate {
  text-align: center;
  padding: 32px 28px 24px;
}

.donate-modal-logo {
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #d6d0c4;
  border: 2px solid rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pro-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pro-perks li {
  font-size: 0.9rem;
  color: #cbd5e1;
  padding: 6px 10px;
  background: rgba(148, 163, 184, 0.07);
  border-radius: 6px;
}

.modal-close--icon {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 1;
}

.modal-close--icon:hover,
.modal-close--icon:focus {
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.1);
  outline: none;
}

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

.modal-header--centered {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #f8fafc;
}

.modal-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 340px;
}

.modal-close {
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
}

.modal-close:hover,
.modal-close:focus {
  color: #0D9488;
  background: rgba(13, 148, 136, 0.1);
  outline: none;
}

.site-footer {
  margin-top: 24px;
  margin-left: calc(var(--sidebar-width) + var(--layout-gap));
  padding: 16px 12px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* Blog, FAQ, Terms, and any full-width page — no sidebar offset */
.blog-main ~ .site-footer,
.blog-main + .site-footer {
  margin-left: 0;
}

@media (max-width: 1024px) {
  :root {
    --layout-gap: 16px;
  }

  .layout {
    padding-left: 0;
    padding-right: 0;
  }

  .sidebar {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    margin-bottom: 16px;
  }

  .content {
    min-height: auto;
  }

  .site-footer {
    margin-left: 0;
  }
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e8;
}

.modal-body--centered {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.modal-body ol {
  padding-left: 20px;
  margin: 0 0 16px;
}

.modal-body li + li {
  margin-top: 8px;
}

.modal-body kbd {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85em;
  color: #e2e8f0;
}

.modal-footer {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.modal-footer--donate {
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.secondary-button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.secondary-button:hover {
  border-color: rgba(148, 163, 184, 0.5);
  color: #e2e8f0;
}

.dismiss-button {
  background: transparent;
  border: none;
  color: #64748b;
  padding: 8px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dismiss-button:hover {
  color: #94a3b8;
}

.alert {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: 10px;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(13, 148, 136, 0.2);
  border-top: 4px solid #0D9488;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.no-results h3 {
  margin: 0 0 8px;
  color: #e2e8f0;
  font-size: 1.2rem;
  font-weight: 600;
}

.no-results p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 32px 0;
  padding: 20px;
}

.pagination button,
.pagination a {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 40px;
  text-align: center;
}

.pagination button:hover,
.pagination a:hover {
  background: rgba(13, 148, 136, 0.2);
  border-color: rgba(13, 148, 136, 0.5);
  transform: translateY(-1px);
}

.pagination .active {
  background: #0D9488;
  color: #0A0A0F;
  border-color: #0D9488;
  font-weight: 600;
}

.pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
  width: 100%;
}

.media-item {
  background: rgba(10,10,15,0.8);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1/1;
}

.media-download {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.photo-download {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.media-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(13, 148, 136, 0.3);
  border-color: rgba(13, 148, 136, 0.45);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  aspect-ratio: 1/1; /* Ensure images maintain square aspect ratio */
}

.media-item:hover img {
  transform: scale(1.05);
}


.media-preview {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  width: 100%;
}

.media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.media-preview:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.media-download-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.media-preview:hover .media-download-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.media-download-indicator svg {
  width: 24px;
  height: 24px;
}

.video-preview {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  width: 100%;
  aspect-ratio: 1/1; /* Match the aspect ratio of photos */
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 500;
  z-index: 2;
  transition: opacity 0.2s ease;
}

.video-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.video-preview:hover::before {
  opacity: 1;
}

/* Video element styling for inline previews */
.video-preview video {
  transition: opacity 0.2s ease;
}

/* Ensure smooth transitions when showing/hiding video */
.video-preview img {
  transition: opacity 0.2s ease;
}



@media (max-width: 1200px) {
  .media-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 240px 1fr;
    gap: 16px;
  }
  
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
  
  .search-card {
    width: 100%;
  }
  
  .page {
      padding: 16px 8px 24px;
    }
  
  .search-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .search-form button {
    width: 100%;
  }
  
  .media-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
  
  .media-item img {
      height: 140px;
    }
  
  
  
  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .media-item img {
    height: 160px;
  }
}

/* Accessibility improvements */
.search-form input:focus,
.search-form select:focus,
.search-form button:focus {
  outline: 2px solid #0D9488;
  outline-offset: 2px;
}

.search-form input:focus,
.search-form select:focus {
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to main content for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #0D9488;
  color: #0A0A0F;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Dual Results Layout */
.dual-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.source-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.source-heading {
  color: var(--accent-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

/* Responsive layout for dual results */
@media (max-width: 1024px) {
  .dual-results {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .source-section {
    padding: 1rem;
  }
  
  .source-heading {
    font-size: 1rem;
  }
}


/* =====================
   Site Nav (shared across all pages)
   ===================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 24px;
}

.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
}

.nav-logo-link {
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-logo-link:hover {
  opacity: 0.75;
  transform: scale(0.97);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-main);
  background: rgba(148, 163, 184, 0.1);
  text-decoration: none;
}

/* =====================
   Blog pages
   ===================== */
.blog-main {
  min-height: 100vh;
  background: var(--bg-main);
  padding: 48px 24px 80px;
}

.blog-container,
.post-container {
  max-width: 860px;
  margin: 0 auto;
}

.blog-hero {
  text-align: center;
  margin-bottom: 48px;
}

.blog-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 12px;
}

.blog-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Post grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.post-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 0;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.post-card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  transform: translateY(-2px);
}

.post-card--compact {
  padding: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.post-read-time::before {
  content: '·';
  margin-right: 12px;
}

.post-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 10px;
  line-height: 1.45;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.post-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.post-read-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-primary);
  text-decoration: none;
}

.post-read-link:hover {
  text-decoration: underline;
}

/* Blog CTA banner */
.blog-cta-banner {
  text-align: center;
  background: rgba(13,148,136,0.08);
  border: 1px solid rgba(13,148,136,0.25);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
}

.blog-cta-banner p {
  color: var(--text-main);
  font-size: 1rem;
  margin: 0 0 16px;
}

/* Individual post */
.breadcrumb {
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-primary);
}

.post-article {
  margin-bottom: 48px;
}

.post-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.post-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
  margin: 16px 0 16px;
}

.post-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Post body typography */
.post-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.post-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 40px 0 16px;
}

.post-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 28px 0 10px;
}

.post-body p {
  margin: 0 0 20px;
}

.post-body ul,
.post-body ol {
  padding-left: 24px;
  margin: 0 0 20px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body a {
  color: var(--accent-primary);
}

.post-body strong {
  color: var(--text-heading);
  font-weight: 600;
}

.post-body .blog-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  background: #0D9488;
  color: #0A0A0F;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.post-body .blog-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Post CTA box */
.post-cta-box {
  background: rgba(13,148,136,0.08);
  border: 1px solid rgba(13,148,136,0.25);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.post-cta-box p {
  margin: 0;
  color: var(--text-main);
  font-size: 0.95rem;
}

/* Related posts */
.related-posts h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-main {
    padding: 32px 16px 60px;
  }

  .blog-hero h1 {
    font-size: 1.6rem;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-header h1 {
    font-size: 1.5rem;
  }

  .post-cta-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Adjust main search page for sticky nav */
.page {
  padding-top: 12px;
}

/* =====================
   FAQ & Legal pages
   ===================== */
.legal-container {
  max-width: 760px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 8px;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.legal-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Legal body text */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 16px;
}

.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 20px 0 8px;
}

.legal-section p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-main);
  margin: 0 0 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 20px;
  margin: 0 0 12px;
}

.legal-section li {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--accent-primary);
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 8px;
}

.faq-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: rgba(13, 148, 136, 0.3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.15s ease;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent-primary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: rgba(13, 148, 136, 0.04);
}

.faq-body {
  padding: 0 20px 20px;
  border-top: 1px solid var(--border-color);
}

.faq-body p,
.faq-body li {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.faq-body p {
  margin: 14px 0 0;
}

.faq-body p:first-child {
  margin-top: 16px;
}

.faq-body ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.faq-body li {
  margin-bottom: 6px;
}

.faq-body a {
  color: var(--accent-primary);
}

.faq-body strong {
  color: var(--text-heading);
  font-weight: 600;
}

/* Site footer links */
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 1.5rem;
  }

  .faq-item summary {
    font-size: 0.9rem;
    padding: 14px 16px;
  }

  .faq-body {
    padding: 0 16px 16px;
  }
}

/* =====================
   Empty / welcome state
   ===================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 32px;
  min-height: 60vh;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 12px;
}

.empty-state-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.65;
  margin: 0 0 32px;
}

.empty-state-tips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
  max-width: 380px;
}

.empty-state-tips li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tip-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(13, 148, 136, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(13,148,136,0.25);
  flex-shrink: 0;
  min-width: 48px;
  text-align: center;
}
