/* Skip-to-content link: invisible until keyboard focused */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-to-content:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    overflow: visible;
    z-index: 99999;
    background: var(--accent);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
}

/* Visually hidden — present in DOM for screen readers and SEO, not visible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --bg: #0b0f14;
    --panel: #121821;
    --border: #1e2733;
    --text: #e5e7eb;
    --muted: #8a93a3;
    --accent: #3b82f6;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

main {
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    background-color: var(--bg);
    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    margin-right: 24px;
    flex-shrink: 0;
}

.logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
    overflow: visible;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--text);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(91, 188, 255, 0.95);
    outline-offset: 3px;
}

.hero {
    padding: 0;
    text-align: center;
}

.hero-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-pill {
    display: inline-block;
    background: #182030;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
    margin-top: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.hero h1 {
    font-size: 44px;
    font-weight: 600;
    margin: 0 0 18px;
    line-height: 1.1;
}

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

.hero-sub {
    max-width: 720px;
    margin: 0 auto 28px;
    color: var(--muted);
    line-height: 2;
}

/* Per-line highlight — background hugs only the rendered text width on each row */
.hero-sub span {
    display: inline;
    background: rgba(18, 24, 32, 0.72);
    padding: 3px 10px;
    border-radius: 4px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent);
    padding: 12px 18px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.btn-secondary {
    border: 1px solid var(--border);
    padding: 12px 18px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
}

.differentiation {
    padding: 50px 0;
}

.differentiation h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.differentiation p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.features {
    padding: 18px 0 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 10px 16px 0;
    border-radius: 12px;
    overflow: hidden;
}

/* Image area — bleeds to card bottom and sides, sits below title/desc */
.feature-card-img {
    margin: 6px -16px -1px;
    height: 210px;
    overflow: hidden;
    position: relative;
}

.feature-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 8%, black 100%);
    -webkit-mask-composite: destination-in, source-over;
    mask-image:
        linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 8%, black 100%);
    mask-composite: intersect;
}

.feature-card h3 {
    margin: 0 0 4px;
    font-size: 14px;
    color: var(--text);
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
    font-size: 12px;
}

.standings-section {
    padding: 12px 0 24px;
}

/* =========================
   APP PREVIEW SCREENSHOT
========================= */

.app-preview {
    padding: 0 0 50px;
}

.app-preview .container {
    max-width: 750px;
}

.app-preview-frame {
    border: 6px solid var(--accent);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    line-height: 0;
}

.app-preview-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.simulation-launch {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.faq {
    padding: 60px 0 80px;
    border-top: 1px solid var(--border);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 22px 0 10px;
    color: var(--muted);
    font-size: 14px;
}

.footer-disclaimer {
    border-top: 1px solid var(--border);
    margin-top: 10px;
    padding: 6px 16px 0;
    text-align: center;
    font-size: 10px;
    color: #4a5264;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a {
    color: var(--muted);
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.footer-social a:hover {
    color: var(--text);
}

.footer-left a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-left a:hover {
    color: var(--text);
}

.footer-left a:focus,
.footer-left a:focus-visible {
    outline: none;
}

.footer-right a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 14px;
}

.footer-right a:hover {
    color: var(--text);
}

/* =========================
   CONTENT PAGES (Methodology, FAQ)
========================= */

.page-content {
    padding: 60px 0 80px;
}

.page-content .container {
    max-width: 820px;
}

.page-intro {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin: -24px 0 32px;
}

.page-content h1 {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 40px;
    color: var(--accent);
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.content-section {
    margin-bottom: 36px;
}

.content-section h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.content-section p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 12px;
}

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

.content-section ul,
.content-section ol {
    padding-left: 20px;
    margin: 0 0 14px;
    color: var(--muted);
}

.content-section li {
    line-height: 1.75;
    margin: 0 0 10px;
}

.content-section li:last-child {
    margin-bottom: 0;
}

.image-card-figure,
.page-screenshot-figure {
    margin: 0;
}

.image-card-figure figcaption,
.page-screenshot-figure figcaption {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}

.seo-explainer-section {
    padding: 36px 0 8px;
}

.seo-explainer-inner {
    max-width: 820px;
}

.seo-explainer-section .content-section:last-child {
    margin-bottom: 0;
}

.seo-explainer-note {
    color: #4a5264;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 24px;
}

.home-explainer-section {
    padding-bottom: 48px;
}

.faq-section-heading {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

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

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

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.faq-item p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 10px;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.page-content code {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--accent);
    font-family: monospace;
}

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

    .hero h1 {
        font-size: 34px;
    }
}

/* =========================
   STANDINGS TABLE OVERRIDES
   Fix: white header / unreadable text
   Fix: selected row / hover unreadable
   Fix: edge-to-edge feel
========================= */

.standings-section .container {
    /* slightly tighter max width so the table doesn’t feel full-bleed */
    max-width: 1150px;
}

/* If the plugin outputs a table, wrap it visually */
.standings-section table {
    width: 100%;
    border-collapse: collapse;
}

/* Header: force dark background and readable text */
.standings-section thead tr,
.standings-section thead {
    background: #0f1622 !important;
}

.standings-section th {
    background: #0f1622 !important;
    color: #cbd5e1 !important;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 12px 14px !important;
}

/* Body cells: add a bit more horizontal breathing room */
.standings-section td {
    padding: 12px 14px !important;
}

/* Row hover/active: use dark highlight so text stays readable */
.standings-section tbody tr:hover {
    background: rgba(59, 130, 246, 0.12) !important;
}

.standings-section tbody tr:hover td {
    color: #e5e7eb !important;
}

/* If plugin uses a "selected" class or inline styles that turn row white,
   this helps force a dark selection state anyway. */
.standings-section tbody tr[style*="background"],
.standings-section tbody tr[style*="background-color"] {
    background: rgba(59, 130, 246, 0.14) !important;
}

/* Safety: if any row turns light, force text back to dark bg readable */
.standings-section tbody tr td {
    color: #e5e7eb;
}

/* Optional: keep the table from visually touching the section edges */
.standings-section {
    padding-left: 0;
    padding-right: 0;
}

/* =========================
   MATRIX BACKGROUND
========================= */

.main-layout {
    position: relative;
}

/* Full-width wrapper, covers hero height only */
.matrix-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    z-index: 0;
    pointer-events: none;
}

/*
 * The image itself — centered at natural width (1536px).
 * On screens narrower than 1536px it stretches to 100%.
 * On ultra-wide screens it stays 1536px, so the sides fade
 * relative to the image edges, never stretching to fill the screen.
 *
 * Mask layers:
 *   horizontal — quick 80px fade from each image edge (sides)
 *   vertical   — gradual fade starting at 50% height (bottom)
 * Combined with intersect: only show where both masks are opaque.
 */
.matrix-bg-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1536px, 100%);
    height: 100%;
    background-image: url('../images/matrixnum6better.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.28;
    /* WebKit (Safari) */
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%),
        linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
    -webkit-mask-composite: destination-in, source-over;
    /* Standard (Chrome, Firefox, Edge) */
    mask-image:
        linear-gradient(to right, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%),
        linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
    mask-composite: intersect;
}

/* All page sections must sit above the background */
.hero,
.standings-section,
.features,
.app-preview {
    position: relative;
    z-index: 1;
}

/* === Standings Layout Refinement === */

.standings-section .container {
    max-width: 1050px;
}

/* Table sizes to content and centers itself */
.tankodds-lottery-table {
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.standings-section table {
    border-radius: 8px;
    overflow: hidden;
}

/* Center all text content */
.standings-section td,
.standings-section th {
    padding-left: 12px !important;
    padding-right: 12px !important;
    text-align: center !important;
}

/* Center logos — display:block ignores text-align, needs margin:auto */
.standings-section .team-logo {
    margin-left: auto;
    margin-right: auto;
}

/* Override plugin's hardcoded width: 40px on # column */
.tank-table th:first-child,
.tank-table td:first-child {
    width: auto !important;
}

/* =========================
   GENERIC PAGE (page.php)
   Privacy Policy, Terms, etc.
========================= */

.wp-page-body {
    color: var(--muted);
    line-height: 1.75;
}

.wp-page-body h2,
.wp-page-body h3,
.wp-page-body h4 {
    color: var(--text);
    margin: 28px 0 10px;
}

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

.wp-page-body ul,
.wp-page-body ol {
    padding-left: 20px;
    margin: 0 0 14px;
}

.wp-page-body a {
    color: var(--accent);
}

/* =========================
   CONTACT PAGE
========================= */

.contact-direct {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

.contact-direct a {
    color: var(--accent);
    text-decoration: none;
}

.contact-direct a:hover {
    text-decoration: underline;
}

/* =========================
   SUGGESTIONS FORM
========================= */

.suggestion-form {
    max-width: 560px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.form-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-optional {
    font-weight: 400;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
}

.form-required {
    color: var(--accent);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    padding: 10px 12px;
    width: 100%;
    transition: border-color 0.15s;
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-actions {
    margin-top: 8px;
}

.btn-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
}

.btn-submit:hover {
    opacity: 0.85;
}

.suggestion-feedback {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 14px;
}

.suggestion-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.suggestion-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.suggestion-error a {
    color: var(--accent);
}

/* =========================
   COOKIE BANNER
========================= */

.cookie-banner {
    display: none; /* shown by JS if not dismissed */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(11, 15, 20, 0.68);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2px 12px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 10px;
    color: #4a5264;
}

.cookie-banner a {
    color: #3d5a80;
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-dismiss {
    background: transparent;
    border: 1px solid #1a222e;
    border-radius: 2px;
    color: #4a5264;
    font-size: 10px;
    font-family: inherit;
    padding: 1px 5px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.15s, color 0.15s;
    line-height: 1.3;
}

.cookie-dismiss:hover {
    border-color: #2e3d4f;
    color: var(--muted);
}

/* =========================
   DRAFT PROSPECT PAGES
========================= */

.prospect-breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.prospect-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

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

.prospect-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.prospect-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 28px;
    align-items: center;
    justify-content: center;
}

.prospect-info-bar .divider {
    margin: 0 10px;
    opacity: 0.4;
}

.prospect-card-wrap {
    text-align: center;
    margin: 0 0 28px;
}

.prospect-card-img {
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    display: inline-block;
}

.prospect-stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 8px;
}

.prospect-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.prospect-stats-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 36px;
}

.prospect-more {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.prospect-more h3 {
    color: var(--accent);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.prospect-more a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
}

.prospect-more a:hover {
    color: var(--accent);
}

.prospect-disclaimer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.prospect-disclaimer p {
    margin-bottom: 10px;
}

/* Prospect index grid */

.prospect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.prospect-grid-card {
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.15s, box-shadow 0.15s;
    line-height: 0;
}

.prospect-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.prospect-grid-img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.prospect-grid-card--overlay,
.prospect-grid-card--empty {
    position: relative;
    min-height: 340px;
    line-height: 1.5;
    background: #0f172a;
}

.prospect-grid-card--empty {
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.18), transparent 45%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.prospect-grid-img--cover {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
}

.prospect-grid-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 76px 18px 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.84) 32%, rgba(15, 23, 42, 0.96) 100%);
}

.prospect-placeholder-rank {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.prospect-placeholder-name {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.1;
    color: #fff;
}

.prospect-placeholder-meta {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.prospect-placeholder-dot {
    display: inline-block;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.42);
}

.prospect-placeholder-badge {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.prospect-grid-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--muted);
}

/* =========================
   HOMEPAGE FEATURED PROSPECTS
========================= */

.home-prospects {
    padding: 24px 0 36px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.home-prospects-heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.home-prospects-intro {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.6;
    max-width: 600px;
}

.home-prospects-link {
    display: inline-block;
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent);
    border-radius: 4px;
    padding: 6px 14px;
    transition: background 0.15s, color 0.15s;
}

.home-prospects-link:hover {
    background: var(--accent);
    color: #fff;
}

/* =========================
   PROSPECT GRID CARD LABELS (hub page)
========================= */

.prospect-grid-card {
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.15s, box-shadow 0.15s;
    line-height: 0;
}

.prospect-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.prospect-grid-img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.prospect-table-wrap {
    margin-top: 32px;
}

.prospect-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.prospect-table thead th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
}

.prospect-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.12s;
}

.prospect-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.06);
}

.prospect-table tbody td {
    padding: 14px 16px;
    color: var(--muted);
    vertical-align: middle;
}

.prospect-rank {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent) !important;
    width: 40px;
}

.prospect-player-name {
    font-size: 17px !important;
    font-weight: 600;
}

.prospect-player-name a {
    color: var(--text) !important;
    text-decoration: none;
}

@media (max-width: 640px) {
    .prospect-grid-card--overlay,
    .prospect-grid-card--empty,
    .prospect-grid-img--cover {
        min-height: 260px;
    }

    .prospect-grid-overlay {
        padding: 60px 16px 16px;
    }

    .prospect-placeholder-name {
        font-size: 21px;
    }

    .prospect-placeholder-meta {
        font-size: 12px;
    }
}

.prospect-player-name a:hover {
    color: var(--accent) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================
   RELATED PROSPECTS BLOCK
========================= */

.prospect-related {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.prospect-related h3 {
    color: var(--accent);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.prospect-related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.prospect-related-card {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color 0.15s, transform 0.15s;
    line-height: 0;
    width: 160px;
    flex-shrink: 0;
}

.prospect-related-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.prospect-related-img {
    width: 100%;
    display: block;
}

.prospect-related-info {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: normal;
}

.prospect-related-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.prospect-related-meta {
    font-size: 11px;
    color: var(--muted);
}

.prospect-related-all {
    font-size: 13px;
    margin: 0;
}

.prospect-related-all a {
    color: var(--muted);
    text-decoration: none;
}

.prospect-related-all a:hover {
    color: var(--accent);
}

/* =========================
   MOBILE OVERRIDES (max-width: 600px)
   Must stay at end of file to win cascade over static rules above
========================= */
@media (max-width: 600px) {
    /* Hide lower-priority columns — Top 4, #1 OVR, GB */
    .standings-section th:nth-child(6),
    .standings-section td:nth-child(6),
    .standings-section th:nth-child(7),
    .standings-section td:nth-child(7),
    .standings-section th:nth-child(8),
    .standings-section td:nth-child(8) {
        display: none;
    }

    /* Tighter padding and smaller font */
    .standings-section th,
    .standings-section td {
        padding: 5px 2px !important;
        font-size: 12px !important;
    }

    /* Higher specificity than .tankodds-lottery-table { width: auto } above */
    .standings-section .tankodds-lottery-table {
        width: 100% !important;
    }
}
