/*
 * JRS1 · public/look/look.css
 * Created:     2026-11-15 04:09 EST
 * Last edited: 2026-11-21 17:57 EST
 * Version:     0.9.0 (pre-gold)
 */
/* What football's stylesheets have no piece for, on baseball and basketball pages that otherwise wear football's look
   (core/look.php): the line-score cards, in football's colors and type. */
.look-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.game { background: var(--panel); border: 1px solid var(--border); overflow: hidden; }
.game-hd { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); border-bottom: 1px solid var(--border); }
.game-hd b { color: var(--accent); font-weight: 700; }
.line { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.line th, .line td { padding: 8px 6px; text-align: center; font-size: 14px; line-height: 20px; }
.line thead th { font-size: 12px; color: var(--text-2); font-weight: 600; padding-top: 6px; padding-bottom: 2px; }
.line th.team { text-align: left; padding-left: 14px; width: 100%; font-weight: 400; }
.line td { color: var(--text-2); }
.line td.tot { font: 800 22px/1 var(--font-display); color: var(--text); min-width: 44px; padding-right: 14px; }
.line td.rhe { color: var(--text); font-weight: 600; }
.line tbody tr + tr { border-top: 1px solid var(--border); }
.line .split { border-left: 1px solid var(--border); }
.line tr:not(.won) td.tot { color: var(--text-2); }
.tm { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; color: var(--text); }
.tm img { width: 40px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.tm-names { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.tm-city { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.tm-nick { font: 800 20px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-rec { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
a.tm:hover .tm-nick { color: var(--accent); }
.box-link { margin-left: 10px; color: var(--accent); text-decoration: none; text-transform: none; letter-spacing: 0; font-weight: 600; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e34948; margin-right: 6px; vertical-align: middle; animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.look-day { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.look-day a { color: var(--accent); text-decoration: none; }
.look-day b { color: var(--text); }
.look-club { display: inline-flex; align-items: center; gap: 6px; }
.look-club img { object-fit: contain; }
.look-note { color: var(--text-2); font-size: 13px; margin: 8px 0 0; }
.league-tab[aria-disabled="true"] { opacity: .45; cursor: default; }
.pbp-q { margin-bottom: 10px; }
.pbp-q > summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.look-stack { display: grid; gap: 18px; margin-bottom: 18px; }
.look-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 18px; margin-bottom: 18px; }
.pp-table tr.me td, .pp-table tr.me th { font-weight: 700; color: var(--text); }
/* The experts (core/Experts.php): football's portrait disc beside the name, title and record; a check or a cross per pick. */
.xp-who { display: inline-flex; align-items: center; gap: 10px; text-align: left; }
.xp-who b { display: block; font-weight: 700; color: var(--text); }
.xp-who small { display: block; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.xp-hit { color: #3fb950; font-weight: 700; }
.xp-miss { color: #e34948; font-weight: 700; }
.xp-pass { color: var(--text-2, #8b949e); font-style: italic; }   /* an expert passed: too close to call */
/* High school pages (core/HsLook.php): a school's two colors as a small square beside its name, and the state picker. */
.hs-chip { display: inline-block; width: 12px; height: 12px; border: 2px solid; flex: 0 0 auto; }
/* a school's chip where a pro club's logo goes in the game hero and line score (schools have no logos) */
.hs-chip-56 { width: 56px; height: 56px; border-width: 3px; border-radius: 50%; display: inline-grid; place-items: center; font: 800 15px/1 var(--font-ui, system-ui); color: #FFFFFF; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.hs-chip-24 { width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; }
.hs-pick { display: inline-flex; gap: 8px; align-items: center; }
.hs-pick select { min-width: 200px; }
.hs-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hs-line td.tot, .hs-line th.tot { font-weight: 700; color: var(--text); }
/* Basketball's box score in football's half-width Box Score column: thirteen columns, so tighter cells than football's tables. */
.gf-box th, .gf-box td { padding: 8px 6px; }

/* the A-Z bar over the Players list (Danny 2026-11-15) */
.az-bar { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; }
.az-bar a { min-width: 32px; padding: 6px 8px; text-align: center; border: 1px solid var(--border, #DDD); border-radius: 6px; font-weight: 700; font-size: 13px; text-decoration: none; color: var(--text, #111); }
.az-bar a:hover { border-color: var(--accent, #D7141A); color: var(--accent, #D7141A); }
.az-bar a[aria-current] { background: var(--accent, #D7141A); border-color: var(--accent, #D7141A); color: #FFFFFF; }

/* Overall and Potential as stars (stars(), Danny 2026-11-15) */
.stars { display: inline-flex; gap: 1px; white-space: nowrap; font-size: 15px; line-height: 1; }
.star { color: var(--border, #D5D5D5); }
.star.is-full { color: #E8A317; }
.star.is-half { background: linear-gradient(90deg, #E8A317 50%, var(--border, #D5D5D5) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* a GM's Signability and Scout Acc on the player lists */
.gm-very-easy, .gm-easy, .gm-very-high, .gm-high { color: #1E8E3E; font-weight: 600; }
.gm-average { color: #B7791F; font-weight: 600; }
.gm-hard, .gm-very-hard, .gm-low { color: var(--jr-red, #D7141A); font-weight: 600; }
.gm-under-contract { color: var(--text-2, #666); }

/* OOTP's rating colors (rating_color_class(): from the 20-80 equivalent) */
.rc-red { color: #D32F2F; } .rc-orange { color: #EF6C00; } .rc-yellow { color: #C9A000; }
.rc-green { color: #2E9E3E; } .rc-teal { color: #00897B; } .rc-blue { color: #1E63C6; }
.rc-red, .rc-orange, .rc-yellow, .rc-green, .rc-teal, .rc-blue { font-weight: 700; }
