/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography */
h1, h2, h3, h4, .logo {
  font-family: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  color: #000000;
}

/* Header & Ticker */
.market-ticker-bar {
  display: flex;
  background-color: #ffffff;
  border-bottom: 2px solid #000000;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-ticker 90s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-half {
  display: flex;
  gap: 15px;
  padding-right: 15px;
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-loading {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 16px;
}

.ticker-card {
  display: flex;
  align-items: center;
  border: 1px solid #000000;
  padding: 6px 14px;
  min-width: 240px;
  flex-shrink: 0;
  justify-content: space-between;
  background: #ffffff;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ticker-card:hover {
  background-color: #f8fafc;
  border-color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.ticker-card-info {
  display: flex;
  flex-direction: column;
}

.ticker-card-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0f172a;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-card-price {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
}

.ticker-card-change {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  border-radius: 3px;
}

.ticker-card-change.up {
  color: #15803d;
  background: #f0fdf4;
}

.ticker-card-change.down {
  color: #b91c1c;
  background: #fef2f2;
}

.ticker-card-sparkline {
  width: 50px;
  height: 25px;
}

/* Masthead Header */
.masthead {
  padding: 12px 20px 0 20px;
  width: 94%;
  max-width: 1650px;
  margin: 0 auto;
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 8px;
}

.logo {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  display: inline-block;
}

.masthead-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.market-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background-color: #00aa00;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.masthead-date-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.edition-status-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  user-select: none;
}

/* Content Container */
.content-container {
  width: 94%;
  max-width: 1650px;
  margin: 0 auto;
  padding: 20px 20px;
}

/* Section Headings */
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 3px solid #000000;
  padding-bottom: 6px;
  margin-bottom: 24px;
  display: inline-block;
}

.section-divider {
  border: 0;
  border-top: 1px solid #000000;
  margin: 40px 0;
}

/* 3x1 Grid Widgets */
.grid-3x1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.widget {
  border: 1px solid #000000;
  background-color: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  cursor: pointer;
  transition: outline 0.15s ease, transform 0.15s ease;
}

.widget:hover {
  outline: 2px solid #ff6600;
  outline-offset: -2px;
}

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

.platform-badge {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  display: inline-block;
}

.platform-polymarket {
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}

.platform-kalshi {
  background-color: #047857;
  color: #ffffff;
  border: 1px solid #047857;
}

.widget-tag {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  display: inline-block;
}

.widget-headline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #0f172a;
  margin-bottom: 8px;
}

.widget-contract-badge {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background-color: #f8fafc;
  border-left: 3px solid #0f172a;
  padding: 4px 8px;
  margin-bottom: 12px;
  font-size: 0.76rem;
  line-height: 1.35;
}

.contract-badge-label {
  font-weight: 800;
  color: #475569;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.contract-badge-q {
  font-weight: 600;
  color: #0f172a;
}

.stream-contract-badge {
  display: flex;
  align-items: baseline;
  gap: 5px;
  background-color: #f8fafc;
  border-left: 2px solid #64748b;
  padding: 3px 6px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  line-height: 1.3;
}

.widget-summary {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.42;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-prediction-box {
  border-top: 1px dashed #cbd5e1;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prediction-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.odds-pills-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.odds-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.odds-pill.yes-pill {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.odds-pill.no-pill {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.widget-vol-stat, .mini-vol-stat {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.odds-chart-container {
  width: 100%;
}

/* Hover reveal effect ONLY for the 3x1 grid featured widgets */
.grid-3x1 .widget .odds-chart-container {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transform: scaleY(0);
  transform-origin: top;
  margin-top: 0;
  transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.25s linear, 
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              margin-top 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.grid-3x1 .widget:hover .odds-chart-container {
  height: 50px;
  opacity: 1;
  transform: scaleY(1);
  margin-top: 12px;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sparkline-path {
  fill: none;
  stroke: #000000;
  stroke-width: 2.25;
}

.widget-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 700;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.widget-action-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}

.widget:hover .widget-action-link {
  color: #ff6600;
}

/* Category Columns Section (Yahoo Finance layout) */
.categories-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 3px solid #000000;
}

.categories-header-row .section-title {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 6px;
}

.category-tabs {
  display: none; /* Only visible on mobile/tablets */
  gap: 8px;
}

.tab-btn {
  border: 1px solid #000000;
  background: none;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.tab-btn.active {
  background-color: #000000;
  color: #ffffff;
}

.category-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.category-column {
  display: flex;
  flex-direction: column;
}

.category-column-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #000000;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-item {
  border: 1px solid #000000;
  padding: 20px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: outline 0.15s ease;
}

.article-item:hover {
  outline: 2px solid #ff6600;
  outline-offset: -2px;
}

.article-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.article-headline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #0f172a;
  margin: 0;
}

.article-summary {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.42;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-prediction-mini {
  border-top: 1px dashed #cbd5e1;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-odds-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mini-odds-row {
  display: flex;
  gap: 6px;
}

.mini-odds-badge {
  display: inline-block;
  padding: 3px 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.mini-odds-badge.yes-badge {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.mini-odds-badge.no-badge {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.mini-chart {
  width: 60px;
  height: 25px;
  flex-shrink: 0;
}

/* Skeletons */
.skeleton-widget {
  background-color: #fafafa;
  border-color: #eeeeee;
  height: 380px;
  animation: pulse-skeleton 1.5s infinite;
}

.skeleton-item {
  background-color: #fafafa;
  border-color: #eeeeee;
  height: 180px;
  animation: pulse-skeleton 1.5s infinite;
}

@keyframes pulse-skeleton {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Site Footer */
.site-footer {
  border-top: 2px solid #000000;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #ffffff;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-brand {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-text {
  font-size: 0.8rem;
  color: #666666;
  max-width: 600px;
}

.footer-copyright {
  font-size: 0.75rem;
  font-weight: 600;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-admin-row {
  margin-top: 6px;
  display: flex;
  justify-content: center;
}

.footer-admin-btn {
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  padding: 6px 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b5563;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.footer-admin-btn:hover {
  border-color: #0f172a;
  color: #0f172a;
  background-color: #f1f5f9;
  transform: translateY(-1px);
}

.admin-icon {
  color: #f59e0b;
}

/* ==========================================================================
   ADMIN CONSOLE MODAL & DASHBOARD STYLES
   ========================================================================== */

.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
}

.admin-modal-window {
  position: relative;
  width: 92%;
  max-width: 1100px;
  max-height: 90vh;
  background: #ffffff;
  border: 1px solid #0f172a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
}

/* Admin Login Card */
.admin-login-card {
  position: relative;
  padding: 40px 48px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.admin-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475569;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.admin-modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 8px;
}

.admin-modal-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 24px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.admin-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-input-group label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #334155;
}

.admin-input-group input,
.admin-text-input,
.admin-select {
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.90rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease;
  width: 100%;
}

.admin-input-group input:focus,
.admin-text-input:focus,
.admin-select:focus {
  border-color: #0f172a;
}

.admin-submit-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s ease;
}

.admin-submit-btn:hover {
  background: #1e293b;
}

.admin-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.admin-auth-divider::before,
.admin-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.admin-auth-divider span {
  padding: 0 10px;
}

.admin-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 10px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.15s ease;
}

.admin-google-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.admin-user-badge {
  display: inline-flex;
  align-items: center;
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #334155;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 3px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-hint-text {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
}

.admin-hint-text code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.admin-error-msg {
  background: #fee2e2;
  color: #991b1b;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-left: 3px solid #ef4444;
}

.admin-close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}

.admin-close-x:hover {
  color: #0f172a;
}

/* Admin Dashboard View */
.admin-dashboard {
  display: flex;
  flex-direction: column;
  height: 85vh;
  overflow: hidden;
}

.admin-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #0f172a;
  color: #ffffff;
  border-bottom: 2px solid #000000;
}

.admin-dash-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.engine-live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.engine-live-dot.pulse {
  animation: pulse-dot 1.8s infinite;
}

.admin-dash-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
}

.admin-dash-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

.admin-dash-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-action-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-action-btn.primary {
  background: #22c55e;
  color: #0f172a;
}

.admin-action-btn.primary:hover {
  background: #16a34a;
  color: #ffffff;
}

.admin-action-btn.secondary {
  background: #334155;
  color: #f8fafc;
}

.admin-action-btn.secondary:hover {
  background: #475569;
}

.admin-action-btn.close {
  background: none;
  color: #94a3b8;
  font-size: 1.4rem;
  padding: 0 6px;
  line-height: 1;
}

.admin-action-btn.close:hover {
  color: #ffffff;
}

/* Telemetry Ribbon */
.admin-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.telemetry-card {
  padding: 14px 20px;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.telemetry-card:last-child {
  border-right: none;
}

.telemetry-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.telemetry-value {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
}

.telemetry-value.text-green { color: #16a34a; }
.telemetry-value.text-blue { color: #2563eb; }

.telemetry-meta {
  font-size: 0.70rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Tabs Nav */
.admin-tabs-nav {
  display: flex;
  background: #ffffff;
  border-bottom: 2px solid #0f172a;
}

.admin-tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  cursor: pointer;
  border-right: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.admin-tab-btn:hover {
  color: #0f172a;
  background: #f8fafc;
}

.admin-tab-btn.active {
  background: #0f172a;
  color: #ffffff;
}

/* Tab Content */
.admin-tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.admin-tab-content.active {
  display: block;
}

.tab-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.tab-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.tab-desc {
  font-size: 0.80rem;
  color: #64748b;
  margin: 0;
}

.tab-desc code {
  background: #f1f5f9;
  padding: 2px 6px;
  font-weight: 700;
}

.admin-search-input {
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.80rem;
  outline: none;
  width: 220px;
}

/* Category Telemetry Grid & Cards */
.admin-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.cat-metric-card {
  background: #ffffff;
  border: 1px solid #0f172a;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 2px 2px 0px rgba(15, 23, 42, 0.08);
}

.cat-metric-card.loading-card {
  grid-column: span 2;
  text-align: center;
  padding: 30px;
  color: #64748b;
  font-weight: 600;
}

.cat-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.cat-metric-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-metric-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.90rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0;
}

.cat-metric-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 2px;
  background: #f1f5f9;
  color: #475569;
}

.cat-metric-badge.live-active {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.cat-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid #f1f5f9;
}

.cat-stat-item {
  display: flex;
  flex-direction: column;
}

.cat-stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cat-stat-val {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
}

.cat-stat-val.highlight {
  color: #16a34a;
}

.crypto-cap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 0.72rem;
}

.crypto-cap-label {
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
}

.crypto-cap-badge {
  background: #fef08a;
  color: #713f12;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
}

.cat-top-market {
  background: #ffffff;
  border-left: 3px solid #0f172a;
  padding: 6px 10px;
  font-size: 0.76rem;
}

.cat-top-market-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cat-top-market-q {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.cat-top-market-odds {
  font-weight: 800;
  color: #2563eb;
  font-size: 0.72rem;
  margin-top: 3px;
}

.cat-sources-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.cat-sources-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  margin-right: 4px;
}

.source-tag {
  font-size: 0.65rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  padding: 1px 6px;
  border-radius: 2px;
  border: 1px solid #e2e8f0;
}

/* Table */
.admin-table-wrapper {
  border: 1px solid #0f172a;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}

.admin-table th {
  background: #f8fafc;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.70rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  border-bottom: 1px solid #0f172a;
}

.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.admin-table tr:hover {
  background: #f8fafc;
}

.pill-poly {
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.pill-kalshi {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.pill-cat {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Entity Inspector */
.entity-inspector-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.entity-input-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.entity-form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
}

.output-section-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 8px;
}

.admin-json-box {
  background: #0f172a;
  color: #f8fafc;
  padding: 16px;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 0.75rem;
  line-height: 1.55;
  max-height: 380px;
  overflow-y: auto;
  border-radius: 4px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Pipeline Breakout Cards */
.pipeline-breakout-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pipeline-step-card {
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0f172a;
  padding: 20px;
  background: #f8fafc;
}

.step-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin-bottom: 6px;
}

.pipeline-step-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.pipeline-step-card p {
  font-size: 0.80rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.pipeline-step-card code {
  background: #e2e8f0;
  padding: 2px 4px;
  font-size: 0.75rem;
}

/* Logs Box */
.logs-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.admin-mini-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  cursor: pointer;
}

.admin-logs-box {
  background: #0f172a;
  color: #22c55e;
  padding: 16px;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  height: 380px;
  overflow-y: auto;
  border-radius: 4px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .grid-3x1 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .category-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 3rem;
  }
  
  .grid-3x1 {
    grid-template-columns: 1fr;
  }
  
  .category-tabs {
    display: flex;
  }
  
  .category-grid-3col {
    grid-template-columns: 1fr;
  }
  
  .category-column {
    display: none;
  }
  
  .category-column.active-mobile {
    display: flex;
  }
  
  .masthead-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .masthead-meta-right {
    align-items: flex-start;
  }
}

/* Detailed Article Page Layout */
.article-detail-page {
  margin-top: 15px;
  width: 100%;
}

.back-link-container {
  margin-bottom: 24px;
}

.back-link {
  display: inline-block;
  border: 1px solid #000000;
  background-color: #ffffff;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: #000000;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

.back-link:hover {
  outline: 2px solid #ff6600;
  outline-offset: -2px;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  width: 100%;
}

.detail-article-column {
  padding-right: 10px;
}

.detail-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.detail-article-tag {
  color: #0f172a;
  background-color: #f1f5f9;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 800;
}

.meta-separator {
  color: #94a3b8;
  font-size: 0.8rem;
}

.detail-article-readtime, .detail-article-wire-stamp, .detail-article-time {
  color: #64748b;
  font-weight: 600;
}

.detail-article-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 12px;
}

.detail-article-subheadline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  color: #475569;
  margin: 0 0 16px 0;
}

.detail-article-author-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

/* Yahoo Finance / Bloomberg Broadsheet Article Layout Styles */
.article-masthead-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.masthead-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.article-category-chip {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0f172a;
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.article-read-time, .article-wire-stamp, .article-timestamp {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-hero-subheadline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 18px 0;
}

.article-byline-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.byline-author-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.byline-avatar-icon {
  width: 32px;
  height: 32px;
  background-color: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.byline-text-wrap {
  display: flex;
  flex-direction: column;
}

.byline-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #0f172a;
}

.byline-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.byline-wire-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wire-free-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  color: #059669;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.wire-source-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

/* Live Market Snapshot Card (Yahoo Finance / Bloomberg Data Strip) */
.market-snapshot-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  border: 1px solid #334155;
}

.snapshot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.snapshot-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0;
  flex: 1;
  margin-left: 8px;
}

.snapshot-platform-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffedd5;
  background-color: rgba(234, 88, 12, 0.3);
  border: 1px solid #ea580c;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.snapshot-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.snapshot-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

.snapshot-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #f8fafc;
}

.snapshot-value.topic-text {
  font-size: 0.82rem;
  line-height: 1.3;
  color: #e2e8f0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.snapshot-value.bold-stat {
  font-size: 1.05rem;
  font-weight: 800;
  color: #38bdf8;
}

.snapshot-value.active-status {
  font-size: 0.76rem;
  font-weight: 800;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}

.snapshot-odds-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.snapshot-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
}

.snapshot-pill.yes-pill {
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid #22c55e;
}

.snapshot-pill.no-pill {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid #ef4444;
}

/* Executive Briefing / Key Takeaways Box (Yahoo Finance Standard) */
.executive-takeaways-card {
  margin: 24px 0;
  padding: 18px 22px;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #0f172a;
  border-radius: 6px;
}

.takeaways-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.takeaways-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  background-color: #0f172a;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.takeaways-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: 0.02em;
}

.executive-takeaways-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334155;
}

.takeaway-bullet-icon {
  color: #0f172a;
  font-size: 1.1rem;
  line-height: 1;
}

.takeaway-title {
  font-weight: 800;
  color: #0f172a;
  margin-right: 4px;
}

.takeaway-text {
  color: #475569;
}

/* Catalyst Timeline Roadmap Grid */
.catalysts-intro {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 14px;
}

.catalysts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 14px 0 20px 0;
}

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

.catalyst-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalyst-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.catalyst-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.catalyst-impact-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ea580c;
  background-color: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 2px 6px;
  border-radius: 3px;
  width: fit-content;
}

.article-lead-wrapper {
  margin-bottom: 20px;
}

.article-lead-p {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  color: #0f172a;
  margin-bottom: 18px;
}

.article-dateline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
  margin-right: 6px;
}

.article-section-block {
  margin-bottom: 24px;
}

.article-section-header {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e2e8f0;
}

.article-body-p {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  line-height: 1.72;
  color: #334155;
  margin-bottom: 16px;
}

.article-quote-block {
  margin: 18px 0;
  padding: 16px 20px;
  background-color: #f1f5f9;
  border-left: 3px solid #0f172a;
  border-radius: 0 6px 6px 0;
}

.article-quote-p {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.65;
  color: #1e293b;
  margin: 0;
}

.osint-source-card {
  margin-top: 32px;
  padding: 20px 24px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.osint-source-card-info {
  flex: 1;
  min-width: 240px;
}

.osint-source-badge-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  color: #047857;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.osint-shield-icon {
  font-size: 0.85rem;
  font-weight: 900;
}

.osint-source-title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.osint-source-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.osint-btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.osint-source-btn {
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.osint-source-btn:hover {
  background-color: #334155;
}

.osint-market-btn {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.osint-btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.osint-source-btn {
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.osint-source-btn:hover {
  background-color: #334155;
}

.osint-market-btn {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.osint-market-btn:hover {
  background-color: #f1f5f9;
}

.detail-market-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #666666;
}

.detail-market-question {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 8px;
  margin-bottom: 24px;
}

.detail-odds-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 16px 0;
  margin-bottom: 24px;
  gap: 10px;
}

.detail-odds-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.detail-odds-stat:first-child {
  border-right: 1px dashed #cccccc;
}

.detail-odds-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #666666;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.detail-odds-value {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: 'Inter', sans-serif;
  color: #000000;
}

.detail-chart-section {
  border-top: 1px dashed #000000;
  padding-top: 20px;
  margin-bottom: 24px;
}

.detail-chart-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #555555;
  margin-bottom: 12px;
}

.detail-chart-wrapper {
  height: 220px;
  width: 100%;
  border: 1px solid #000000;
  background-color: #ffffff;
  padding: 12px;
}

.detailed-chart-svg {
  width: 100%;
  height: 100%;
}

.detailed-chart-path {
  fill: none;
  stroke: #000000;
  stroke-width: 2.5;
}

.chart-axis-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: #666666;
  margin-top: 6px;
  text-transform: uppercase;
}

.detail-market-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border-top: 1px solid #000000;
  padding-top: 20px;
  margin-bottom: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #777777;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.stat-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000000;
}

.detail-trade-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.trade-btn {
  border: 1px solid #000000;
  padding: 12px 16px;
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trade-btn:hover {
  outline: 2px solid #ff6600;
  outline-offset: -2px;
}

.yes-trade {
  background-color: #000000;
  color: #ffffff;
}

.no-trade {
  background-color: #ffffff;
  color: #000000;
}

@media (max-width: 900px) {
  .article-detail-layout {
    grid-template-columns: 1fr;
  }
  
  .detail-article-column {
    padding-right: 0;
    border-bottom: 1px solid #000000;
    padding-bottom: 30px;
    margin-bottom: 20px;
  }
}
