/* Pick & Toe · Daily NBA Grid (English). Prefix eg- so nothing clashes with style.css / pages.css */
.eg-wrap { max-width: 620px; margin: 0 auto; padding: 8px 14px 40px; }
.eg-hero { text-align: center; margin: 6px 0 14px; }
.eg-hero h1 { font-family: var(--marker); font-weight: 400; font-size: clamp(30px, 8vw, 46px); line-height: 1; margin: 0; color: var(--paper); letter-spacing: .5px; }
.eg-hero h1 span { color: var(--ball); }
.eg-hero p { margin: 8px 0 0; color: var(--mute); font-size: 15px; }
.eg-hud { display: flex; gap: 8px; justify-content: center; margin: 0 0 12px; flex-wrap: wrap; }
.eg-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 6px 14px; text-align: center; min-width: 74px; }
.eg-stat small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.eg-stat b { font-size: 22px; color: var(--paper); font-variant-numeric: tabular-nums; }
.eg-board { display: grid; grid-template-columns: .8fr 1fr 1fr 1fr; gap: 6px; background: rgba(0,0,0,.18); padding: 8px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); }
.eg-corner { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ball); }
.eg-corner b { font-family: var(--marker); font-weight: 400; font-size: 22px; }
.eg-corner small { color: var(--mute); font-size: 11px; }
.eg-head { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px 2px; min-height: 64px; text-align: center; }
.eg-badge { display: inline-grid; place-items: center; min-width: 46px; height: 30px; padding: 0 6px; border-radius: 9px; font-weight: 800; font-size: 14px; color: #fff; background: var(--bg2); letter-spacing: .04em; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25); }
.eg-country .eg-badge { background: transparent; border: 2px dashed var(--cinta); color: var(--cinta); }
.eg-hname { font-size: 12px; line-height: 1.1; color: var(--paper); font-weight: 600; }
.eg-cell { aspect-ratio: 1; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px; transition: transform .12s, box-shadow .12s; box-shadow: 0 3px 0 rgba(0,0,0,.25); }
.eg-cell:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.eg-cell:focus-visible { outline: 3px solid var(--cinta); outline-offset: 2px; }
.eg-plus { font-size: 34px; font-weight: 300; color: #9aa7ad; }
.eg-cell.ok { background: var(--ball); color: #2a1300; cursor: default; }
.eg-cell.miss { background: rgba(255,255,255,.08); color: var(--mute); cursor: default; box-shadow: none; }
.eg-pname { font-weight: 800; font-size: clamp(11px, 3.1vw, 15px); line-height: 1.1; text-align: center; }
.eg-prar { font-size: 10.5px; opacity: .8; }
.eg-cell.shake { animation: egshake .4s; }
@keyframes egshake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.eg-actions { display: flex; gap: 10px; justify-content: center; margin: 14px 0 6px; flex-wrap: wrap; }
.eg-btn { font: inherit; font-weight: 700; border-radius: 12px; border: 0; padding: 10px 18px; cursor: pointer; background: rgba(255,255,255,.1); color: var(--paper); }
.eg-btn.primary { background: var(--ball); color: #2a1300; }
.eg-next { text-align: center; color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.eg-end { margin-top: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px; text-align: center; }
.eg-end h2 { margin: 0 0 4px; font-size: 22px; color: var(--paper); }
.eg-end p { margin: 0 0 10px; color: var(--mute); }
.eg-end pre { font: 15px/1.35 ui-monospace, Consolas, monospace; background: rgba(0,0,0,.25); border-radius: 10px; padding: 10px; display: inline-block; text-align: left; margin: 0 0 12px; white-space: pre-wrap; }
.eg-howto { background: rgba(255,210,63,.08); border: 1px solid rgba(255,210,63,.35); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; color: var(--paper); font-size: 14px; }
.eg-howto ol { margin: 6px 0 0 18px; padding: 0; }
.eg-howto li { margin: 3px 0; }
.eg-modal { position: fixed; inset: 0; background: rgba(2,14,18,.72); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 14px 14px; z-index: 50; }
.eg-modal[hidden], [hidden] { display: none !important; }
.eg-sheet { width: 100%; max-width: 460px; background: var(--bg1); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.eg-sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.eg-q { font-weight: 800; color: var(--paper); font-size: 15px; }
.eg-x { background: none; border: 0; color: var(--mute); font-size: 26px; cursor: pointer; line-height: 1; }
.eg-input { width: 100%; box-sizing: border-box; margin: 10px 0 8px; padding: 12px 14px; border-radius: 12px; border: 2px solid rgba(255,255,255,.2); background: rgba(0,0,0,.25); color: var(--paper); font: inherit; font-size: 17px; }
.eg-input:focus { outline: none; border-color: var(--ball); }
.eg-results { display: flex; flex-direction: column; gap: 4px; max-height: 46vh; overflow: auto; }
.eg-res { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; text-align: left; font: inherit; background: rgba(255,255,255,.06); color: var(--paper); border: 0; border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.eg-res:hover, .eg-res:focus-visible { background: rgba(255,138,61,.25); outline: none; }
.eg-res small { color: var(--mute); }
.eg-none, .eg-msg { color: var(--mute); margin: 6px 2px; font-size: 14px; }
.eg-msg { color: var(--red); }
.eg-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 12px; z-index: 60; box-shadow: 0 8px 30px rgba(0,0,0,.4); font-weight: 600; max-width: 92vw; text-align: center; }
.eg-more { margin-top: 26px; color: var(--mute); font-size: 14px; line-height: 1.55; }
.eg-more h2 { color: var(--paper); font-size: 18px; margin: 18px 0 6px; }
.eg-more a { color: var(--ball); }

/* ---------- Courtside Club (tokens.css): same system as the main game ---------- */
.eg-hero h1 { font-family: var(--f-display); font-weight: 900; font-stretch: var(--w-cond); font-size: clamp(44px, 11vw, 72px); line-height: .88; text-transform: uppercase; letter-spacing: .005em; color: var(--c-text); }
.eg-hero h1 span { color: var(--c-action); }
.eg-hero p { color: var(--c-text-2); }
.eg-hud { gap: 0; border: 1px solid var(--c-line-2); border-radius: var(--r-2); overflow: hidden; justify-content: stretch; }
.eg-stat { flex: 1; border: 0; border-radius: 0; background: var(--c-surface); }
.eg-stat + .eg-stat { border-left: 1px solid var(--c-line-2); }
.eg-stat small { font-family: var(--f-mono); font-size: 10px; color: var(--c-text-2); }
.eg-stat b { font-family: var(--f-display); font-size: 32px; font-weight: 900; font-stretch: var(--w-cond); color: var(--c-text); }
.eg-board { gap: 0; padding: 0; border: 0; border-radius: var(--r-3); background: var(--c-paper); overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / .25), var(--sh-pop); }
.eg-corner, .eg-head { color: var(--c-ink); border-right: 1px solid rgb(23 25 22 / .5); border-bottom: 1.5px solid var(--c-ink); }
.eg-corner b { font-family: var(--f-display); font-weight: 900; font-stretch: var(--w-cond); color: var(--c-action-ink); }
.eg-corner small, .eg-hname { color: var(--c-ink-2); }
.eg-badge { border-radius: var(--r-1); font-family: var(--f-display); font-weight: 900; font-stretch: var(--w-cond); font-size: 17px; }
.eg-country .eg-badge { border: 2px solid var(--c-ink); border-radius: var(--r-pill); color: var(--c-ink); font-family: var(--f-mono); font-weight: 600; font-stretch: 100%; font-size: 12px; }
.eg-cell { border-radius: 0; border-right: 1px solid rgb(23 25 22 / .35); border-bottom: 1px solid rgb(23 25 22 / .35); background: var(--c-paper); }
.eg-cell:hover:not(:disabled) { transform: none; box-shadow: inset 0 0 0 2px var(--c-action); background: rgb(232 117 54 / .08); }
.eg-cell:focus-visible { outline: 2px solid var(--c-ink); outline-offset: -4px; }
.eg-plus { color: var(--c-ink-3); }
.eg-cell.ok { background: var(--c-court); color: var(--c-on-court); }
.eg-cell.miss { background: var(--c-paper-2); color: var(--c-ink-3); }
.eg-btn { border-radius: var(--r-2); background: transparent; box-shadow: inset 0 0 0 1px var(--c-line-2); color: var(--c-text); }
.eg-btn.primary { background: var(--c-action); color: var(--c-on-action); box-shadow: 0 3px 0 var(--c-action-ink); }
.eg-next { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-3); }
.eg-end, .eg-howto { border-radius: var(--r-2); background: var(--c-surface); border: 1px solid var(--c-line-2); }
.eg-end h2 { font-family: var(--f-display); font-weight: 900; font-stretch: var(--w-cond); font-size: 32px; text-transform: uppercase; }
