:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel-hover: #ffffff;
  --panel-2: #f1f5f9;
  --panel-border: #e2e8f0;
  --panel-border-hover: #cbd5e1;
  --line: #e2e8f0;
  --gold: #e2a30d;
  --gold-2: #b4810a;
  --gold-glow: rgba(226, 163, 13, 0.08);
  --text: #0f172a;
  --muted: #475569;
  --portal-line: #f1f5f9;
  --soft: #f8fafc;
  --success: #0d9488;
  --success-bg: #f0fdfa;
  --danger: #e11d48;
  --danger-bg: #fff1f2;
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --transition: all 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #ffffff 0%, #f8fafc 400px);
  color: var(--text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.1px;
  padding-bottom: 84px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Header & Top Navigation */
.topbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 15px rgba(15, 23, 42, 0.03);
}

.navbar {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  background: #f8fafc;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(226, 163, 13, 0.15);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand {
  font-weight: 900;
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  letter-spacing: -0.5px;
}

.brand span {
  color: var(--gold);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  padding: 0.5rem 0.9rem !important;
  margin: 0 0.15rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: #f1f5f9;
}

.page-shell {
  min-height: 75vh;
}

/* Hero Section */
.hero-section {
  padding: 40px 0 30px;
  position: relative;
}

.hero-content {
  max-width: 780px;
  background: linear-gradient(135deg, #ffffff 0%, #fefcf3 100%);
  border: 1px solid #fef3c7;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(226, 163, 13, 0.03);
}

.hero-title {
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin: 12px 0 16px;
  letter-spacing: -1px;
}

.text-gold {
  color: var(--gold) !important;
}

.hero-subtitle {
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Search Panel */
.search-panel {
  display: flex;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 8px;
  max-width: 540px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.form-control {
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--text);
  min-height: 46px;
  border-radius: 8px;
  padding: 0.375rem 1rem;
}

.form-control:focus {
  background: #ffffff;
  color: var(--text);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(226, 163, 13, 0.15);
}

.btn-gold, .btn-outline-gold {
  border-radius: 8px;
  min-height: 46px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
}

.btn-gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 163, 13, 0.2);
}

.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold-2);
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--gold-glow);
  color: var(--gold-2);
  border-color: var(--gold-2);
  transform: translateY(-1px);
}

.content-stack, .portal-shell {
  display: grid;
  gap: 30px;
  padding-top: 10px;
  padding-bottom: 40px;
}

.narrow {
  max-width: 800px;
}

/* Sections & Title */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
  border-left: 4px solid var(--text);
  padding-left: 14px;
}

.section-title h2 {
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.section-title span, .news-meta, .source-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Trending Strip */
.trend-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}

.trend-strip::-webkit-scrollbar {
  display: none;
}

.trend-pill {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.trend-pill:hover {
  border-color: var(--panel-border-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.trend-pill span {
  color: var(--gold-2);
  margin-left: 6px;
  background: var(--soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid var(--panel-border);
}

/* Portal Lead Grid (Desktop featured article) */
.portal-lead {
  align-items: center;
  border-bottom: 1px solid var(--portal-line);
  gap: 36px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  padding: 10px 0 40px;
}

.lead-media {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid var(--panel-border);
  box-shadow: var(--card-shadow);
}

.lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lead-copy h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 16px;
  letter-spacing: -0.5px;
}

.lead-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* News Cards & Grid */
.news-grid {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.news-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  min-height: 140px;
  padding: 16px;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: var(--panel-border-hover);
  box-shadow: var(--card-shadow);
}

.thumb-wrap {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  border: 1px solid var(--panel-border);
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--panel-2);
}

.news-body {
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.news-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.source-badge {
  background: var(--soft);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--panel-border);
}

.news-meta time {
  color: var(--muted);
  font-size: 0.8rem;
}

.news-card h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.news-card h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card h3 a:hover {
  color: var(--gold-2);
}

.news-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-link {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-link:hover {
  color: var(--gold);
}

/* Ad Placements */
.ad-slot {
  min-height: 100px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--panel-border);
  color: var(--muted);
  border-radius: 12px;
  background: var(--soft);
  text-align: center;
  overflow: hidden;
  padding: 16px;
}

.ad-slot span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* Coin Hero Banner */
.coin-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px 0 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.coin-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 850;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.coin-hero p {
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 18px 24px;
  min-width: 150px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.stat-card span {
  color: var(--muted);
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-card strong {
  font-size: 2.2rem;
  color: var(--text);
  font-weight: 800;
}

.pager {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.empty-state {
  padding: 40px;
  color: var(--muted);
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
}

/* Article Page Detail */
.article-shell {
  max-width: 900px;
}

.article-view {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: clamp(20px, 5vw, 40px);
  box-shadow: var(--card-shadow);
}

.article-view h1 {
  color: var(--text);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 16px 0 24px;
  font-weight: 800;
}

.article-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin: 24px 0;
  border: 1px solid var(--panel-border);
  box-shadow: 0 4px 15px rgba(15,23,42,0.05);
}

.article-view p {
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-excerpt {
  border-top: 1px solid var(--portal-line);
  margin-top: 24px;
  padding-top: 24px;
}

.article-excerpt p {
  margin-bottom: 18px;
}

.source-note {
  background: var(--soft);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  color: var(--muted) !important;
  font-size: 0.94rem !important;
  line-height: 1.55 !important;
  margin: 24px 0 0;
  padding: 16px;
}

/* Grounded Footer Section (Deep slate like CoinDesk) */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 30px;
  color: #94a3b8;
  background: #0f172a;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.footer-logo span {
  color: var(--gold);
}

.footer-desc {
  font-size: 0.9rem;
  color: #64748b;
  max-width: 600px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  color: #cbd5e1;
  font-weight: 700;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 14px;
  background: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-links a:hover {
  background: #334155;
  border-color: #475569;
  color: #ffffff;
}

/* Floating Bottom Navigation (Mobile View) */
.bottom-nav {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1030;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  padding: 4px;
}

.bottom-nav a {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.76rem;
  border-radius: 14px;
}

.bottom-nav a.active, .bottom-nav a:hover {
  color: var(--text);
  background: #f1f5f9;
}

.bottom-nav i {
  font-size: 1.15rem;
  line-height: 1;
}

/* Admin Dashboard CSS Styling */
.admin-shell {
  max-width: 1200px;
}

.admin-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.admin-topline h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.3px;
}

.admin-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 12px;
  scrollbar-width: none;
}

.admin-nav::-webkit-scrollbar {
  display: none;
}

.admin-nav a {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  font-weight: 700;
  padding: 10px 16px;
  white-space: nowrap;
}

.admin-nav a:hover, .admin-nav a.active {
  color: var(--text);
  background: #f1f5f9;
  border-color: var(--panel-border-hover);
}

.admin-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.admin-card h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 10px;
}

.admin-stats .stat-item {
  background: var(--soft);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-stats .stat-icon {
  font-size: 1.6rem;
  color: var(--gold-2);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--gold-glow);
  display: grid;
  place-items: center;
}

.admin-stats .stat-info {
  display: flex;
  flex-direction: column;
}

.admin-stats span {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-stats strong {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
}

.admin-stats-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.card-heading h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

.card-heading p {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.admin-form-card .form-control {
  min-height: 44px;
}

.dashboard-panel {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.dashboard-panel h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.dashboard-panel p {
  color: var(--muted);
  margin: 0 0 8px;
}

.dashboard-panel code {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: block;
  margin-top: 14px;
  overflow-x: auto;
  padding: 12px;
  font-family: monospace;
}

.dashboard-actions {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 180px;
}

/* RSS Source List Panel */
.bulk-card {
  position: sticky;
  top: 85px;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.bulk-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.source-title {
  min-width: 0;
}

.source-title span {
  display: inline-block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.source-list-admin {
  gap: 10px;
}

.source-list-admin .source-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(200px, 0.75fr) minmax(250px, 1fr) auto auto;
  min-height: 70px;
  padding: 12px 20px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
}

.source-list-admin .source-row:hover {
  border-color: var(--panel-border-hover);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.source-url {
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-badge {
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.is-active .status-badge {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.is-paused .status-badge {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.source-actions {
  display: inline-flex;
  gap: 8px;
}

/* Media Queries for Responsive Design */
@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-grid .news-card:nth-child(odd) {
    margin-right: 0px;
  }
  .news-grid .news-card:nth-child(even) {
    margin-left: 0px;
  }
}

@media (max-width: 991px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .navbar .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .navbar-collapse {
    padding-top: 12px;
  }
  .navbar-nav {
    gap: 4px;
  }
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    margin: 2px 0;
  }
  .navbar-nav .nav-link i {
    color: var(--text);
    font-size: 1.15rem;
  }
  .hero-section {
    padding: 20px 0 10px;
  }
  .hero-content {
    border-radius: 12px;
    padding: 20px 16px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .search-panel {
    flex-direction: column;
    padding: 8px;
  }
  .coin-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .content-stack, .portal-shell {
    gap: 20px;
    padding-top: 15px;
    padding-bottom: 30px;
  }
  .section-title {
    margin-bottom: 12px;
  }
  .section-title span {
    display: none;
  }
  .section-title h2 {
    font-size: 1.45rem;
  }
  .market-rail {
    margin-top: 0;
  }
  .trend-strip {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 12px;
  }
  .trend-pill {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .news-card {
    grid-template-columns: minmax(0, 1fr) 90px;
    padding: 12px;
    gap: 14px;
  }
  .thumb-wrap {
    display: block !important;
    width: 90px;
    height: 90px;
  }
  .news-body {
    padding: 0;
  }
  .news-meta {
    font-size: 0.78rem;
    margin-bottom: 4px;
  }
  .news-card h3 {
    font-size: 0.98rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .news-card p {
    display: none;
  }
  .read-link {
    font-size: 0.8rem;
  }
  .ad-slot {
    width: 100%;
    min-height: 180px;
  }
  .article-image {
    max-height: 280px;
  }
  .article-shell {
    padding-left: 0;
    padding-right: 0;
  }
  .article-view {
    border-radius: 12px;
    padding: 20px 16px;
  }
  .article-view h1 {
    font-size: 1.75rem;
  }
  .footer {
    padding-bottom: 84px;
    padding-top: 36px;
  }
  .footer-inner {
    gap: 16px;
  }
  .social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }
  .social-links a {
    justify-content: center;
    font-size: 0.78rem;
    padding: 8px 4px;
  }
  .admin-topline {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .admin-topline .btn-view-site {
    width: 100%;
    text-align: center;
  }
  .admin-stats-compact {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .admin-nav {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .bulk-card {
    top: 75px;
  }
  .bulk-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .bulk-tools button {
    width: 100%;
  }
  .source-list-admin .source-row {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }
  .source-url {
    font-size: 0.85rem;
  }
  .source-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .source-actions button {
    width: 100%;
  }
}
