/* Guess the Show (Nov 27 2026; pages/guess.mjs, client/guess.mjs). The clues reuse the show page's own classes (epc-*, podium). */
.gs-page .sub { max-width: 70ch; }
.gs { margin: 16px 0 40px; max-width: 980px; }
.gs-load { padding: 30px 0; color: var(--ink-2); }
.gs-top { display: flex; justify-content: space-between; align-items: center; font: 700 13px/1 Archivo, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.gs .gs-sbtn, .gs .gs-skip-b, .gs .gs-share { font: 700 13px/1 Archivo, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); padding: 9px 14px; cursor: pointer; }
.gs .gs-share { background: var(--ink); color: var(--surface); }
.gs .gs-sbtn:hover, .gs .gs-skip-b:hover { background: var(--surface-2); }
/* the guess rows: a name and four tiles, Wordle's colors */
.gs-grid { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.gs-row { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); gap: 6px; min-height: 46px; font: 400 14px/1.2 Archivo, system-ui, sans-serif; }
.gs-name { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 2px solid var(--rule-2); background: var(--surface); font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.gs-name small { font-weight: 400; color: var(--ink-3); }
.gs-row.gs-empty { min-height: 30px; }
.gs-empty .gs-name { grid-column: 1 / -1; padding: 3px 10px; font-size: 12px; color: var(--ink-3); font-weight: 400; border-style: dashed; }
.gs-skip .gs-name { grid-column: 1 / -1; color: var(--ink-2); font-style: italic; font-weight: 400; }
.gs-t { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 4px; font-weight: 700; color: #fff; min-width: 0; overflow-wrap: anywhere; animation: gs-flip .45s ease both; }
.gs-t small { font-weight: 600; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.gs-cg { background: #538d4e; } .gs-cy { background: #b59f3b; } .gs-cx { background: #787c7e; }
.gs-row .gs-t:nth-child(3) { animation-delay: .1s } .gs-row .gs-t:nth-child(4) { animation-delay: .2s } .gs-row .gs-t:nth-child(5) { animation-delay: .3s }
@keyframes gs-flip { from { transform: rotateX(90deg); } to { transform: none; } }
.gs-win .gs-name { border-color: #538d4e; }
@media (max-width: 620px) { .gs-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gs-row .gs-name { grid-column: 1 / -1; } .gs-t { padding: 5px 2px; font-size: 13px; } }
/* input + autocomplete */
.gs-in { display: flex; gap: 8px; margin: 4px 0 18px; }
.gs-box { position: relative; flex: 1; min-width: 0; }
#gs-q { width: 100%; box-sizing: border-box; font: 400 17px/1.2 Archivo, system-ui, sans-serif; padding: 11px 12px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); }
.gs-ac { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 0; padding: 0; list-style: none; background: var(--surface); border: 2px solid var(--ink); border-top: 0; max-height: 330px; overflow-y: auto; }
.gs-ac li { padding: 9px 12px; cursor: pointer; font: 400 15px/1.25 Archivo, system-ui, sans-serif; border-top: 1px solid var(--rule-2); }
.gs-ac li small { color: var(--ink-3); }
.gs-ac li[aria-selected="true"], .gs-ac li:hover { background: var(--surface-2); }
/* clues */
.gs-clues { display: flex; flex-direction: column; gap: 14px; }
.gs-clue { border: 2px solid var(--ink); background: var(--surface); padding: 12px 14px 14px; }
.gs-clue.gs-new { box-shadow: 0 0 0 3px var(--signal); }
.gs-clue-h { display: flex; align-items: center; gap: 10px; font: 700 15px/1.2 Archivo, system-ui, sans-serif; margin-bottom: 8px; }
.gs-ck { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--surface); padding: 4px 7px; }
.gs-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); }
.gs-epc { --page: var(--surface); --pagefg: var(--ink); margin: 0; }
.gs-epc .epc-xs { display: flex; }
.gs-pod { margin: 4px 0 0; }
.gs-hid .pd-medal { filter: grayscale(1) opacity(.55); } .gs-hid .pd-person b { letter-spacing: .3em; color: var(--ink-3); }
/* end + stats */
.gs-end { border: 3px solid var(--ink); background: var(--surface); padding: 16px 18px; margin: 4px 0 18px; }
.gs-end.won { border-color: #538d4e; }
.gs-end-k { font: 700 13px/1 Archivo, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.gs-ans { display: inline-block; margin-top: 6px; font: 700 clamp(28px, 5vw, 44px)/1.05 Archivo, system-ui, sans-serif; font-stretch: 75%; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.gs-ans:hover { color: var(--signal); }
.gs-ans-m { color: var(--ink-2); margin: 2px 0 12px; }
.gs-btns { display: flex; gap: 8px; margin-bottom: 10px; }
.gs-links { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.gs-links a { font-weight: 600; }
.gs-next { font: 400 14px/1.2 Archivo, system-ui, sans-serif; color: var(--ink-2); } .gs-next b { font-variant-numeric: tabular-nums; color: var(--ink); }
.gs-modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.45); display: grid; place-items: center; padding: 16px; }
.gs-modal[hidden] { display: none; }
.gs-card { position: relative; background: var(--surface); color: var(--ink); border: 3px solid var(--ink); padding: 18px 20px 20px; width: min(420px, 100%); box-sizing: border-box; font-family: Archivo, system-ui, sans-serif; }
.gs-card-h { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: center; margin-bottom: 12px; }
.gs .gs-x { position: absolute; right: 8px; top: 4px; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }
.gs-nums { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; margin-bottom: 14px; }
.gs-nums b { display: block; font-size: 30px; line-height: 1.1; } .gs-nums span { font-size: 11px; color: var(--ink-2); }
.gs-dist-h { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.gs-bar { display: flex; align-items: center; gap: 6px; margin: 3px 0; font-size: 13px; } .gs-bar span { width: 12px; }
.gs-bar i { font-style: normal; background: #787c7e; color: #fff; text-align: right; padding: 2px 6px; font-weight: 700; box-sizing: border-box; } .gs-bar i.on { background: #538d4e; }
.gs .gs-share2 { width: 100%; margin-top: 14px; padding: 12px; }
