/* Printable sheets: the playoff fantasy football cheat sheet and the printable
   NFL playoff bracket (Nick, 2026-11-14). On screen the sheet is a white page
   on the dark site. In print, only the sheet is left. Linked only from those
   two pages, so nothing else on the site depends on it. */

.sheet-wrap { overflow-x: auto; }

.sheet {
    background: #fff;
    color: #111;
    border-radius: 14px;
    padding: clamp(16px, 3vw, 36px);
    text-align: left;
}
.sheet h2, .sheet h3 { color: #111; margin: 0 0 8px; }
.sheet h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }

.sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    border-bottom: 2px solid #111;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.sheet-head h2 { font-size: 1.3rem; margin: 0; }
.sheet-head > span { color: #444; font-size: 0.9rem; }

.sheet-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.sheet ol, .sheet ul { margin: 0; padding-left: 20px; color: #111; }
.sheet li { margin-bottom: 4px; color: #111; }
.sheet-cols ol { list-style: decimal; }

.sheet table { width: 100%; border-collapse: collapse; font-size: 0.9rem; color: #111; }
.sheet th, .sheet td { border: 1px solid #999; padding: 5px 8px; text-align: left; color: #111; background: none; }
.sheet th { background: #eee; font-weight: 600; }
.sheet-cols td:last-child { white-space: nowrap; }
.sheet .lineup td { height: 30px; }
.sheet-break { margin-top: 18px; }
.sheet .lineup th[scope="row"] { width: 64px; }

/* the lists the app server writes, in the main Rankings page's markup */
.sheet .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
    justify-content: stretch;
    gap: 14px;
}
.sheet .card-info {
    background: none;
    border: 1px solid #bbb;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: none;
}
.sheet .card-info::before, .sheet .card-info::after { display: none; }
.sheet .card-info .bolt { display: none; }
.sheet .rank-list { color: #111; gap: 2px; margin-top: 6px; font-size: 0.88rem; }
.sheet .rank-list li { margin-bottom: 0; }
.sheet .rank-list li::marker { color: #666; }
.sheet .rank-list span { color: #555; white-space: nowrap; }

.sheet-foot {
    margin: 16px 0 0;
    padding-top: 8px;
    border-top: 1px solid #999;
    color: #333;
    font-size: 0.85rem;
}

.sheet svg { display: block; width: 100%; min-width: 760px; height: auto; }

.sheet-signup { max-width: 520px; margin: 0 auto; text-align: center; }
.sheet-signup form { margin-top: 20px; text-align: left; }
.sheet-signup .btn { width: 100%; }
.sheet-signup-note { margin-top: 12px; font-size: 13px; color: var(--text-muted); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; border: 0; }

@media print {
    .site-header, .site-footer, .skip-link, .page-hero, .no-print { display: none !important; }
    html, body { background: #fff !important; color: #000 !important; }
    main, .section, .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        background: none !important;
    }
    .sheet { border-radius: 0; padding: 0; font-size: 10pt; }
    .sheet-cols { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 10px; }
    .sheet .info-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .sheet-break { break-before: page; margin-top: 0; }
    .sheet .card-info { padding: 6px 9px; }
    .sheet .card-info h3 { font-size: 9pt; margin-bottom: 2px; }
    .sheet .rank-list { font-size: 8pt; line-height: 1.3; gap: 0; margin-top: 2px; }
    .sheet-foot { margin-top: 8px; padding-top: 5px; font-size: 8pt; }
    .sheet .card-info, .sheet table, .sheet-cols > div { break-inside: avoid; }
    .sheet .lineup td { height: 24px; }
    .sheet svg { min-width: 0; }
    .fx-reveal { opacity: 1 !important; transform: none !important; }
}
