/* Palmarès des Griffons (palmares.html, en/palmares.html) — same green and gold as the tournament cards */
.palm-title { font-weight: 400; line-height: 1.5; margin: 0 0 28px; font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 2px; color: var(--heading-color); border-left: 5px solid var(--accent-color); padding-left: 14px; }
.palm-intro { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.palm-section { margin-bottom: 56px; }
.palm-section ul, .palm-section ol { list-style: none; padding-left: 0; }

/* Stat tiles */
.palm-stats { margin-bottom: 56px; }
.palm-stat { height: 100%; padding: 20px 18px; border-radius: 14px; background: var(--surface-color); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); border-top: 5px solid #f9a825; text-align: center; }
.palm-stat-value { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 46px; line-height: 1; letter-spacing: 1px; color: var(--accent-color); }
.palm-stat-label { display: block; margin-top: 6px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--heading-color); }
.palm-stat-sub { display: block; margin-top: 4px; font-size: 13px; opacity: 0.8; }

/* Season headings + "in progress" tag */
.palm-season { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--heading-color); margin: 8px 0 14px; }
.palm-live { display: inline-block; font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 1px 8px; border-radius: 20px; background: color-mix(in srgb, var(--accent-color), transparent 85%); color: var(--accent-color); vertical-align: middle; }
.palm-exploits { margin-bottom: 24px; }

/* Exploit cards */
.palm-exploit { display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 20px; border-radius: 14px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #1f6b3a 0%, #134527 100%); border-left: 6px solid #f9a825; box-shadow: 0 6px 20px rgba(19, 69, 39, 0.2); transition: transform 0.2s, box-shadow 0.2s; }
a.palm-exploit:hover, a.palm-exploit:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(19, 69, 39, 0.3); }
.palm-medal { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #134527; background: radial-gradient(circle at 35% 30%, #ffe082, #f9a825 60%, #c77c02); }
.niveau-argent { border-left-color: #cfd8dc; }
.niveau-argent .palm-medal { background: radial-gradient(circle at 35% 30%, #ffffff, #cfd8dc 60%, #90a4ae); }
.niveau-bronze { border-left-color: #e09a5b; }
.niveau-bronze .palm-medal { background: radial-gradient(circle at 35% 30%, #ffd2a6, #e09a5b 60%, #a0522d); color: #3e1f0b; }
.palm-exploit-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.palm-exploit-team { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #ffe082; }
.palm-exploit-title { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.25; }
.palm-exploit-event { font-size: 14px; color: rgba(255, 255, 255, 0.92); }
.palm-exploit-date { font-size: 13px; color: rgba(255, 255, 255, 0.85); }
html.dark-mode .palm-exploit { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }

/* Spot for older seasons */
.palm-todo { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; border: 2px dashed color-mix(in srgb, var(--default-color), transparent 70%); }
.palm-todo > i { font-size: 26px; color: var(--accent-color); }
.palm-todo h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 4px; color: var(--heading-color); }
.palm-todo p { margin: 0; }

/* Best seasons */
.palm-best { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; height: 100%; padding: 24px 18px 20px; border-radius: 14px; background: var(--surface-color); color: var(--default-color); text-decoration: none; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); border-top: 5px solid var(--accent-color); transition: transform 0.2s; }
a.palm-best:hover, a.palm-best:focus-visible { transform: translateY(-3px); color: var(--default-color); }
.palm-best-rank { position: absolute; top: 12px; left: 14px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Rajdhani', sans-serif; font-weight: 700; background: #f9a825; color: #1b1b1b; }
.palm-best-logo { width: 40px; height: 40px; object-fit: contain; margin-bottom: 4px; }
.palm-best-team { font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--heading-color); }
.palm-best-season { font-size: 13px; opacity: 0.85; }
.palm-best-record { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 44px; line-height: 1.1; letter-spacing: 1px; color: var(--accent-color); }
.palm-best-pct, .palm-best-standing { font-size: 14px; }

/* All seasons table */
.palm-table { width: 100%; margin: 0; font-size: 14px; background: var(--surface-color); }
.palm-table th, .palm-table td { padding: 10px 12px; vertical-align: middle; border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); }
.palm-table thead th { background: var(--accent-color); color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; border-top: 0; white-space: nowrap; }
.palm-table tbody th { font-weight: 600; }
.palm-table tbody th a { color: var(--accent-color); }
.palm-table .num { text-align: center; white-space: nowrap; }
.palm-table-wrap { border-radius: 12px; overflow-x: auto; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); }
.palm-po { display: inline-block; margin: 2px 4px 2px 0; padding: 1px 8px; border-radius: 20px; font-size: 12px; white-space: nowrap; background: color-mix(in srgb, var(--default-color), transparent 90%); }
.palm-po-win { background: color-mix(in srgb, var(--accent-color), transparent 82%); }
.palm-muted { opacity: 0.75; }
.palm-empty { opacity: 0.85; font-style: italic; }
html.dark-mode .palm-table thead th { background: #1f6b3a; }
html.dark-mode .palm-table tbody th a,
html.dark-mode .palm-stat-value,
html.dark-mode .palm-best-record,
html.dark-mode .palm-live,
html.dark-mode .palm-todo > i { color: #5cb87a; }
html.dark-mode .palm-stat,
html.dark-mode .palm-best,
html.dark-mode .palm-table-wrap { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35); }

/* Individual medals */
.palm-indiv { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: 12px; background: var(--surface-color); color: var(--default-color); text-decoration: none; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); }
a.palm-indiv:hover { color: var(--default-color); }
.palm-indiv-medal { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; }
.palm-indiv-medal.gold { background: linear-gradient(135deg, #f9d423, #e0a800); color: #3b2a00; }
.palm-indiv-medal.silver { background: linear-gradient(135deg, #e0e0e0, #9e9e9e); color: #1b1b1b; }
.palm-indiv-medal.bronze { background: linear-gradient(135deg, #e09a5b, #a0522d); }
.palm-indiv-body { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.palm-indiv-body strong { font-family: 'Raleway', sans-serif; font-size: 16px; color: var(--heading-color); }
html.dark-mode .palm-indiv { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35); }

@media (max-width: 575px) {
  .palm-stat-value { font-size: 38px; }
  .palm-exploit { padding: 16px; gap: 12px; }
  .palm-medal { width: 42px; height: 42px; font-size: 19px; }
  .palm-exploit-title { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .palm-exploit, .palm-best { transition: none; }
  a.palm-exploit:hover, a.palm-best:hover { transform: none; }
}
