/* Lineup */
.gm-lineup { max-width: 600px; margin: 0 auto; }

/* Today's sport, and the practice filter */
.lu-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: -8px 0 16px; }
.lu-sport { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.lu-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 3px 8px;
  border-radius: 3px; background: var(--ink); color: var(--paper); }
.lu-sport small { font-weight: 400; color: var(--quiet); font-size: 14px; }
.lu-prac { margin-left: auto; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--hl); padding: 3px 8px; border-radius: 3px; }
.lu-filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; padding: 0; }
.lu-chip { min-height: 36px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink);
  font: 600 14px/1 var(--sans); cursor: pointer; }
.lu-chip:hover:not([aria-checked="true"]) { background: var(--wash); }
.lu-chip[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.lu-chip:focus-visible, .lu-more:focus-visible, .lu-skip:focus-visible { outline: 3px solid var(--cite); outline-offset: 2px; }

/* Clues */
.lu-clues { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.lu-clue { border: 2px solid var(--ink); border-radius: 8px; padding: 12px 14px; background: var(--paper); }
.lu-clue p { margin: 6px 0 0; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.lu-clue.fresh { animation: lu-in .45s var(--ease); }
@keyframes lu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.lu-cn { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
.lu-cat { margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px;
  border-radius: 3px; background: var(--wash); border: 1px solid var(--faint); vertical-align: 1px; }
.lu-clue.locked { border: 2px dashed var(--faint); background: none; padding: 9px 14px; }
.lu-clue.locked p { margin: 2px 0 0; font-size: 14px; color: var(--quiet); }
.lu-clue.locked .lu-cn { color: #9A9A95; }
.lu-clue.locked + .lu-clue.locked p { color: #9A9A95; }
.lu-clues.done { margin-top: 20px; }
.lu-clues.done .lu-clue { border-width: 1px; border-color: var(--faint); }
.lu-arrow { color: var(--quiet); font-weight: 400; }

/* Entry */
.lu-play { margin-bottom: 14px; }
.lu-form { display: flex; gap: 8px; }
.lu-form[hidden], .lu-under[hidden] { display: none; }
.lu-form.shake { animation: lu-shake .35s; }
@keyframes lu-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.lu-combo { position: relative; flex: 1 1 auto; min-width: 0; }
.lu-in { width: 100%; height: 48px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper);
  font: 600 17px/1 var(--sans); color: var(--ink); }
.lu-in::placeholder { color: var(--quiet); font-weight: 400; }
.lu-in:focus-visible { outline: 3px solid var(--cite); outline-offset: 2px; }
.lu-form .gm-btn { min-height: 48px; border-radius: 6px; flex: none; }
.lu-under { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.lu-left { font-size: 14px; color: var(--quiet); }
.lu-skip { border: 0; background: none; padding: 6px 0; min-height: 36px; font: 600 14px/1 var(--sans); color: var(--cite); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lu-skip:hover { color: var(--ink); }

.lu-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px 0; list-style: none;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; box-shadow: 0 10px 28px rgba(0,0,0,.18);
  max-height: 290px; overflow-y: auto; }
.lu-list[hidden] { display: none; }
.lu-opt { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 14px; cursor: pointer; font-weight: 600; }
.lu-opt small { font-weight: 400; color: var(--quiet); font-size: 13px; white-space: nowrap; }
.lu-opt[aria-selected="true"] { background: var(--hl); }
.lu-opt.used { color: var(--quiet); text-decoration: line-through; }
.lu-opt.used small { text-decoration: none; }

/* Guesses */
.lu-rows { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; }
.lu-rows:empty { display: none; }
.lu-row { display: grid; grid-template-columns: 1.4em minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px;
  padding: 0 10px; border: 2px solid var(--ink); border-radius: 6px; }
.lu-row.fresh { animation: lu-in .35s var(--ease); }
.lu-n { font-size: 13px; font-weight: 700; color: var(--quiet); }
.lu-g { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lu-g small { font-weight: 400; color: var(--quiet); font-size: 13px; margin-left: 6px; }
.lu-v { font-size: 14px; font-weight: 600; white-space: nowrap; }
.lu-row.skip { border-style: dashed; border-color: var(--faint); color: var(--quiet); }
.lu-row.skip .lu-g { font-weight: 600; font-size: 15px; }
.lu-row.hit { background: var(--cite); border-color: var(--cite); color: #fff; }
.lu-row.hit .lu-n, .lu-row.hit .lu-g small { color: #fff; }

/* Answer */
.lu-reveal:empty { display: none; }
.lu-reveal { border-top: 2px solid var(--ink); padding-top: 16px; }
.lu-k { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
.lu-ans h2 { margin: 0; font-size: clamp(34px, 9vw, 54px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.lu-ans.won h2 { color: var(--cite); }
.lu-ans.pop h2 { animation: lu-pop .5s var(--ease); }
@keyframes lu-pop { 0% { transform: scale(.94); opacity: 0; } 60% { transform: scale(1.02); opacity: 1; } 100% { transform: scale(1); } }
.lu-d { margin: 8px 0 0; font-size: 17px; line-height: 1.4; }
.lu-off { margin: 6px 0 0; font-size: 15px; color: var(--quiet); }
.lu-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; }
.lu-more { font-size: 15px; color: var(--cite); font-weight: 600; }
.lu-again { margin-top: 16px; display: flex; justify-content: flex-start; }
.lu-src { margin: 18px 0 0; font-size: 13px; color: var(--quiet); }
.lu-dlg-c { font-size: 15px; color: #333; border-left: 3px solid var(--hl); padding-left: 10px; }

@media (max-width: 480px) {
  .lu-clue p { font-size: 17px; }
  .lu-form .gm-btn { padding: 0 14px; }
  .lu-chip { padding: 0 10px; font-size: 13px; }
  .lu-g { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .lu-clue.fresh, .lu-row.fresh, .lu-form.shake, .lu-ans.pop h2 { animation: none; }
}
