body[data-site-tab="dailies"] {
  --ink: #181b14; --panel: #22271c; --line: #414936; --muted: #b3b9a7;
  --cyan: #c7dd83; --pink: #e4cda2; --gold: #e4cda2;
}
body[data-site-tab="dailies"] .kicker { display: none; }
.site-tabs { overflow-x: auto; scrollbar-width: thin; }
.site-tabs button { flex-shrink: 0; white-space: nowrap; }
.dailies-view { max-width: 940px; margin: 0 auto; padding: 30px 24px 60px; }
.daily-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.daily-switch { display: flex; gap: 24px; }
.daily-switch button { padding: 12px 0; background: none; color: var(--muted); border-bottom: 2px solid transparent; }
.daily-switch button[aria-pressed="true"] { color: var(--cyan); border-color: var(--cyan); }
.daily-secondary, .daily-source { color: var(--muted); background: transparent; font-size: 13px; }
button.daily-secondary { padding: 10px 12px; border: 1px solid var(--line); }
.daily-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 30px 0 20px; }
.daily-heading h2 { margin: 0; font: 600 40px/1 var(--heading-type); }
.daily-heading p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.daily-date { text-align: right; color: var(--muted); font-size: 13px; }
.daily-date time { display: block; color: var(--paper); margin-bottom: 5px; }
.daily-board { padding: 28px 32px 20px; background: var(--panel); border-top: 2px solid var(--cyan); }
.daily-prompt { display: grid; align-content: center; min-height: 148px; margin: 0 0 24px; font: 600 clamp(30px, 4vw, 46px)/1.16 var(--heading-type); max-width: 760px; overflow-wrap: anywhere; }
.daily-prompt.is-quote { font-size: clamp(26px, 3.5vw, 38px); line-height: 1.25; }
.daily-guess-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.daily-guess-form label { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.daily-guess-form input { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 0; }
.daily-primary { background: var(--cyan); color: var(--ink); padding: 12px 24px; min-height: 46px; }
.daily-primary:disabled { opacity: .5; cursor: wait; }
.daily-under { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 16px; }
.daily-under p { margin: 0; }
.daily-history { list-style: none; padding: 0; margin: 20px 0 0; }
.daily-guess-row { display: grid; grid-template-columns: minmax(130px,1.1fr) 1fr 1.2fr; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.daily-guess-row small { display: block; font-size: 11px; margin-bottom: 3px; color: var(--muted); }
.daily-guess-row > strong { font-weight: 600; }
.daily-guess-row .match, .daily-guess-row.is-correct > strong { color: var(--cyan); }
.daily-guess-row .different { color: #efb59f; }
.daily-guess-row .unknown { color: var(--muted); }
.daily-result { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.daily-result strong { font: 600 28px var(--heading-type); color: var(--cyan); }
.daily-result p { color: var(--muted); margin: 4px 0; font-size: 13px; }
.daily-result > button { margin-left: auto; }
.daily-notice { min-height: 20px; margin: 12px 0; color: var(--paper); font-size: 13px; white-space: pre-line; }
.daily-bottom { display: flex; align-items: start; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
.daily-bottom details { max-width: 590px; }
.daily-bottom summary { cursor: pointer; }
.daily-bottom p { line-height: 1.7; }
.daily-bottom a { color: var(--cyan); }
.daily-debug { margin-top: 30px; border-top: 1px dashed var(--line); padding-top: 12px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.daily-archive { width: min(480px, calc(100vw - 24px)); background: var(--ink); color: var(--paper); border: 1px solid var(--line); padding: 24px; }
.daily-archive::backdrop { background: #000a; }
.daily-archive header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.daily-archive h3 { font: 600 26px var(--heading-type); margin: 0; }
.daily-month { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 24px 0 12px; }
.daily-calendar, .daily-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 5px; }
.daily-weekdays { text-align: center; color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.archive-day { min-height: 52px; padding: 6px 2px; background: var(--panel); color: var(--paper); border: 1px solid transparent; }
.archive-day strong, .archive-day small { display: block; }
.archive-day small { min-height: 12px; font-size: 9px; font-weight: 400; }
.archive-day.won { border-color: var(--cyan); color: var(--cyan); }
.archive-day.lost { color: #efb59f; }
.archive-day:disabled { opacity: .25; cursor: default; }
.daily-archive button:disabled { cursor: default; opacity: .25; }
@media(max-width:700px) {
  .site-tabs button { flex: 0 0 auto; min-width: max-content; }
  .dailies-view { padding: 18px 12px 40px; }
  .daily-board { padding: 22px 18px 18px; }
  .daily-heading { margin-top: 24px; }
  .daily-heading h2 { font-size: 32px; }
  .daily-date { font-size: 11px; }
  .daily-heading p { max-width: 190px; font-size: 12px; }
  .daily-prompt { min-height: 130px; }
  .daily-guess-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .daily-guess-row > strong { grid-column: 1 / -1; }
  .daily-guess-form { grid-template-columns: minmax(0,1fr) 84px; }
  .daily-primary { padding-inline: 12px; }
  .daily-debug { align-items: start; gap: 16px; }
}

/* Small, in-flow suggestions never cover the clue or guess history. */
.daily-search { min-width: 0; }
.daily-search input { width: 100%; }
.daily-choices { max-height: 132px; overflow-y: auto; margin-top: 6px; padding: 4px; border: 1px solid var(--line); background: var(--ink); scrollbar-width: thin; }
.daily-choice { padding: 8px 10px; min-height: 38px; cursor: pointer; font-size: 14px; color: var(--paper); }
.daily-choice:hover, .daily-choice[aria-selected="true"] { background: var(--panel); color: var(--cyan); }
.daily-guess-form > button { align-self: start; }
.daily-hints { display: flex; flex-wrap: wrap; gap: 8px; }
.daily-hints:not(:empty) { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.daily-hint { padding: 8px 12px; border-left: 2px solid var(--cyan); background: var(--ink); }
.daily-hint small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.daily-hint strong { font-size: 14px; font-weight: 600; white-space: pre-wrap; }
.daily-guess-row > strong { display: flex; align-items: center; gap: 10px; }
.daily-guess-portrait { width: 42px; height: 48px; object-fit: cover; object-position: center top; background: var(--panel); }

/* Result composition: portrait, answer and actions stay together. */
.daily-board { position: relative; isolation: isolate; overflow: hidden; transition: background-color 1000ms ease, border-color 1000ms ease; }
.daily-board::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('/assets/daily-contours.svg') center / 960px 480px; opacity: 0; transition: opacity 1000ms ease; }
.daily-board.is-finished::before { opacity: .055; }
.daily-board.is-won { --daily-shine: #d5eda5; background-color: #252c21; border-color: #a8be78; }
.daily-board.is-lost { --daily-shine: #eda99c; background-color: #332625; border-color: #bc8075; }
.daily-result { display: grid; grid-template-columns: 132px minmax(0,1fr); align-items: center; gap: 12px 24px; padding: 0; margin: 0; border: 0; background: none; }
.daily-portrait-frame { position: relative; grid-row: 1 / 3; width: 132px; height: 156px; overflow: hidden; background: #171b15; border: 1px solid #ffffff12; }
.daily-winner-portrait { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.daily-result-copy { min-width: 0; align-self: end; }
.daily-result-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.daily-result strong { display: block; font: 600 clamp(30px,4vw,44px)/1.1 var(--heading-type); overflow-wrap: anywhere; color: #d2dfac; }
.daily-board.is-lost .daily-result strong { color: #e0b3a9; }
.daily-result p { margin: 8px 0 0; font-size: 13px; }
.daily-result-actions { grid-column: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; align-self: start; }
.daily-result-actions button { font-size: 11px; padding: 7px 10px; }
.daily-result-actions a { font-size: 12px; }
.daily-board.is-finished .daily-under { margin-top: 22px; padding-top: 16px; border-top: 1px solid #ffffff12; }
.daily-hints.hidden { display: none; }
.daily-guess-row { grid-template-columns: minmax(0,1fr) auto; padding: 12px 22px; border-left: 2px solid transparent; background: #ffffff02; }
.daily-guess-row > strong { grid-column: auto; min-width: 0; font-weight: 500; }
.daily-guess-row > span { font-size: 12px; padding-left: 12px; }
.daily-guess-row.is-incorrect { border-left-color: #96665c; }
.daily-guess-row.is-incorrect > span { color: #d19a8c; }
.daily-guess-row.is-correct { border-left-color: #a8be78; }
.daily-guess-row.is-correct > span { color: #c7dd83; }
.daily-choice { display: block; width: 100%; text-align: left; background: transparent; font-weight: 400; letter-spacing: 0; }
.daily-choice:focus-visible { outline: 1px solid var(--cyan); outline-offset: -1px; background: var(--panel); }
.daily-board::after { content: ''; position: absolute; inset: -30% -70%; z-index: 3; pointer-events: none; background: linear-gradient(110deg, transparent 40%, var(--daily-shine) 49%, var(--daily-shine) 50%, transparent 60%); transform: translateX(-100%); opacity: 0; }
.daily-board.celebrating::after { animation: daily-shine 1500ms ease-in-out 150ms both; }
@keyframes daily-shine { 0% { transform: translateX(-75%); opacity: 0; } 20% { opacity: .25; } 80% { opacity: .25; } 100% { transform: translateX(75%); opacity: 0; } }

@media(max-width:500px) {
  .daily-result { grid-template-columns: 96px minmax(0,1fr); gap: 10px 16px; }
  .daily-portrait-frame { width: 96px; height: 124px; }
  .daily-result strong { font-size: 30px; }
  .daily-result-actions { gap: 10px; }
  .daily-guess-row { padding: 12px 16px; }
}


/* September 2026: compact broadcast presentation. */
.dailies-view{max-width:960px;padding-top:24px}.daily-toolbar{margin-bottom:20px}.daily-heading{margin-bottom:16px;align-items:center}.daily-heading h2{font-size:32px}.daily-heading p{font-size:14px;margin:4px 0 0}.daily-date{font-size:12px}.daily-board{padding:28px;min-height:0}.daily-prompt{min-height:88px;margin:0 0 24px;padding:0;font-size:32px}.daily-guess-form{gap:12px}.daily-bottom{margin-top:20px}.daily-secondary{min-height:40px;font-size:12px}
@media(max-width:600px){.dailies-view{padding-top:16px}.daily-heading h2{font-size:28px}.daily-board{padding:20px}.daily-prompt{font-size:27px}.daily-date{font-size:11px}}

/* Four games retain the existing underline navigation on narrow screens. */
.daily-switch { min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.daily-switch button { flex: 0 0 auto; white-space: nowrap; }
.daily-toolbar > .daily-secondary { flex: 0 0 auto; }
@media(max-width:600px) { .daily-toolbar { gap: 12px; } .daily-switch { gap: 18px; } }
