/* Belote Coach — Modern Slate & Amber Design System */
:root {
  --bg: #0b0f19;
  --bg-surface: #111827;
  --bg-card: #1f2937;
  --bg-card-hover: #374151;
  --panel: #111827;
  --border: #2d3748;
  --border-light: #4a5568;
  --text: #f9fafb;
  --text-dim: #9ca3af;
  --text-muted: #6b7280;
  
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-text: #000000;
  --accent-glow: rgba(245, 158, 11, 0.15);
  
  --brand: #10b981;
  --brand-dim: rgba(16, 185, 129, 0.15);
  
  --win: #10b981;
  --lose: #ef4444;
  
  --card-white: #ffffff;
  --card-bg-disabled: #1e2530;
  --red-suit: #dc2626;
  --black-suit: #111827;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: light) {
  :root[data-theme="light"] {
    --bg: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #f1f5f9;
    --bg-card-hover: #e2e8f0;
    --panel: #ffffff;
    --border: #cbd5e1;
    --border-light: #94a3b8;
    --text: #0f172a;
    --text-dim: #475569;
    --text-muted: #64748b;
    --accent: #d97706;
    --accent-hover: #b45309;
    --accent-text: #ffffff;
    --accent-glow: rgba(217, 119, 6, 0.1);
    --brand: #059669;
    --brand-dim: rgba(5, 150, 105, 0.1);
    --card-white: #ffffff;
    --card-bg-disabled: #f1f5f9;
    --red-suit: #dc2626;
    --black-suit: #0f172a;
  }
}

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

[hidden] {
  display: none !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== En-tête Topbar compacte et centrée ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 1rem;
}

.topbar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 768px) {
  .topbar-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-symbol {
  color: var(--accent);
  font-size: 1.25rem;
}

.brand:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--bg-card);
}

.site-nav a.active {
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ===== Barre de score de match (Assistant) ===== */
.score-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.score-team b {
  color: var(--accent);
  font-size: 1.05rem;
  margin-left: 0.2rem;
}

.trump-badge {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.15rem 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

/* ===== Layout Global avec Colonnes Pubs Latérales Desktop ===== */
.site-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.sidebar-ad-col {
  display: none;
  width: 160px;
  padding: 1.5rem 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .sidebar-ad-col {
    display: block;
    position: sticky;
    top: 70px;
    height: calc(100vh - 80px);
  }
}

.sidebar-ad-box {
  width: 160px;
  height: 600px;
  background: var(--bg-surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
}

/* ===== Conteneur Principal ===== */
main {
  flex: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* ===== Panneaux / Cards UI ===== */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.panel h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.panel h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.hint {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.hint a {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== Sélecteur Segmenté Moderne (Pills) ===== */
.segmented-control {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.segment-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.segment-btn:hover {
  color: var(--text);
}

.segment-btn.active {
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ===== Hero Accueil ===== */
.hero {
  text-align: center;
  padding: 2rem 1rem 2.25rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.hero-suits {
  font-size: 1.5rem;
  letter-spacing: 0.6rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.hero-lead {
  font-size: 0.98rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 1.35rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.trust-bullets {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.trust-bullets li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-bullets li::before {
  content: '✓';
  color: var(--brand);
  font-weight: bold;
}

/* ===== Grille des Outils (Accueil) ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.tool-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.tool-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.tool-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.tool-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.45;
  flex-grow: 1;
  margin-bottom: 0.85rem;
}

.tool-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ===== Section FAQ & Guide SEO ===== */
.seo-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.seo-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.85rem;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.faq-answer {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ===== Boutons ===== */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-light);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.btn-print-cta {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.btn-print-cta:hover {
  background: var(--accent);
  color: #000;
}

.btn-full {
  width: 100%;
}

.step-back {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
}

/* ===== Compteur de Points & Noms Éditables ===== */
.counter-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.counter-team-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s ease;
  position: relative;
}

.counter-team-card.leading {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.counter-team-input-name {
  background: transparent;
  border: 1px dashed transparent;
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  width: 90%;
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.2rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.counter-team-input-name:hover {
  border-color: var(--border-light);
  background: rgba(255,255,255,0.03);
}

.counter-team-input-name:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-surface);
  color: var(--text);
}

.counter-team-score {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.counter-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.counter-input-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}

.counter-input-label input {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.5rem;
  text-align: center;
}

.counter-input-label input:focus {
  outline: none;
  border-color: var(--accent);
}

.quick-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.quick-btn {
  padding: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  text-align: center;
}

.quick-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.match-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 0.4rem;
}

.match-history-table th,
.match-history-table td {
  padding: 0.5rem 0.4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.match-history-table th {
  color: var(--text-dim);
  font-weight: 700;
  background: var(--bg-card);
}

.match-history-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* ===== Table de Jeu Carrée (Assistant) ===== */
.table-square-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0.5rem 1rem 1rem;
  box-sizing: border-box;
}

.table-square {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0.65rem;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}

.seat-top { grid-column: 2; grid-row: 1; }
.seat-left { grid-column: 1; grid-row: 2; }
.seat-center {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--accent);
  min-height: 4.5rem;
}
.seat-right { grid-column: 3; grid-row: 2; }
.seat-bottom { grid-column: 2; grid-row: 3; }

.seat {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.4rem;
  background: var(--bg-card);
  color: var(--text);
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 4.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.seat:hover:not(.disabled):not(.you) {
  border-color: var(--accent);
  transform: scale(1.02);
}

.seat.you {
  cursor: default;
  border-style: dashed;
  background: var(--panel);
}

.seat.disabled {
  cursor: default;
  opacity: 0.5;
}

.seat.active {
  border-color: var(--win);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.seat .seat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
}

.seat .seat-card {
  font-size: 1.5rem;
  font-weight: 800;
}

.seat .seat-card.red { color: var(--red-suit); }
.seat .seat-card.black { color: var(--text); }

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

/* Grille de Cartes Réutilisable */
.deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 0.45rem;
  margin: 0.65rem 0;
}

.deck-grid.small {
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 0.3rem;
}

.card-btn {
  aspect-ratio: 2/3;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #111827;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.card-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.card-btn.red { color: #dc2626; }
.card-btn.black { color: #111827; }

.card-btn.selected {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.4);
  transform: translateY(-3px);
}

.card-btn:disabled {
  background: var(--card-bg-disabled);
  color: var(--text-muted);
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.card-btn.top-pick {
  border: 2px solid var(--win);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* Panneau de Conseil Hero */
.reco-hero {
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--win);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  text-align: center;
  margin-top: 0.65rem;
}

.reco-hero-verb {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--win);
  margin-bottom: 0.2rem;
}

.reco-hero-card {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.reco-hero-card.red { color: var(--red-suit); }
.reco-hero-card.black { color: var(--text); }

.reco-hero-reason {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.45;
}

/* Produits & Affiliation avec Badges de Conversion */
.product-category {
  margin-bottom: 1.75rem;
}

.product-category h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.product-icon {
  font-size: 1.8rem;
  color: var(--accent);
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.product-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
  flex-grow: 1;
}

.product-link {
  text-align: center;
  text-decoration: none;
}

/* Emplacements Publicitaires AdSense */
.ad-slot {
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 1.25rem 0;
}

.ad-slot-live {
  border: none;
  background: transparent;
  padding: 0;
}

/* Modal Popup */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  width: min(420px, 95vw);
  box-shadow: var(--shadow-lg);
}

/* Pied de Page */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 1.75rem 1rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: auto;
}

.site-footer p {
  margin-bottom: 0.65rem;
}

.site-footer .site-nav {
  justify-content: center;
}

/* ==========================================================================
   STYLE D'IMPRESSION A4 OFFICIELLE (@media print)
   ========================================================================== */
.print-only {
  display: none;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 1.2cm 1.5cm;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
    padding: 0 !important;
  }

  .topbar,
  .sidebar-ad-col,
  .ad-slot,
  .site-footer,
  .no-print {
    display: none !important;
  }

  .site-wrapper {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .print-only {
    display: block !important;
  }

  .print-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #000;
    padding-bottom: 0.4cm;
    margin-bottom: 0.6cm;
  }

  .print-title {
    font-size: 18pt;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .print-meta {
    font-size: 10pt;
    color: #444;
    text-align: right;
  }

  .print-teams-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1cm;
    margin-bottom: 0.5cm;
  }

  .print-team-box {
    border: 1.5px solid #000;
    padding: 0.3cm 0.5cm;
    border-radius: 4px;
    font-size: 12pt;
    font-weight: 700;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.5cm;
  }

  .print-table th,
  .print-table td {
    border: 1px solid #333;
    padding: 0.22cm 0.3cm;
    text-align: center;
    font-size: 9.5pt;
  }

  .print-table th {
    background-color: #f0f0f0 !important;
    font-weight: 700;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .print-footer-promo {
    margin-top: 0.5cm;
    padding-top: 0.3cm;
    border-top: 1px dashed #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9pt;
    color: #444;
  }
}
