/* The full decision sits behind Details; the game keeps its compact summary. */
.game-decision { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 13px; }
.decision-summary { display: inline-flex; align-items: center; gap: 9px; }
.decision-summary strong { font-weight: 500; }
.decision-summary svg { width: 18px; height: 18px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.decision-details { border: 0; padding: 4px 0; background: none; color: var(--accent); font: inherit; cursor: pointer; }
.decision-details:hover { text-decoration: underline; }
.decision-contest { margin-left: auto; padding: 4px 0; color: var(--muted); }
.decision-dialog { width: min(560px, calc(100% - 32px)); }
.decision-eyebrow { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.decision-dialog h2 { font-size: 22px; }
.decision-game, .decision-date { color: var(--muted); font-size: 12px; }
.decision-dialog p { line-height: 1.65; }
.decision-explanation { margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.decision-explanation h3 { margin: 0 0 8px; font-size: 14px; }
.decision-explanation p { margin: 8px 0 0; }
.decision-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; font-size: 13px; }
.decision-footer span { color: var(--muted); }
.contest-page { max-width: 660px; margin: 12px auto; }
.contest-form { margin-top: 24px; }
.contest-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.contest-form textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--panel); color: var(--ink); resize: vertical; font: inherit; }
.contest-form .muted { font-size: 13px; }
.contest-error { color: var(--warn); }
.contest-text { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.contest-response { border-left: 3px solid var(--accent); }
.contest-admin-link { display: flex; flex-wrap: wrap; gap: 12px; }
.adjustment-event { white-space: nowrap; }
.adjustment-event a { margin-left: 6px; }
/* The longer event label uses the compact history columns on tablets as well as phones. */
@media (max-width: 900px) {
  .history:has(.rating-adjustment) .hide-s { display: none; }
  .history:has(.rating-adjustment) .show-s { display: block; }
  .adjustment-event { display: block; white-space: normal; }
  .adjustment-label { display: block; white-space: nowrap; }
  .adjustment-event a { display: block; margin-left: 0; font-size: 11px; line-height: 1.5; white-space: nowrap; }
}
@media (max-width: 640px) {
  .game-decision { gap: 2px 12px; padding: 8px 12px; }
  .decision-contest { flex-basis: 100%; margin-left: 27px; font-size: 12px; }
  .decision-dialog h2 { font-size: 20px; }
  .contest-queue { display: block; overflow-x: auto; }
}
@media (max-width: 360px) {
  .history:has(.rating-adjustment) td { padding-left: 2px; padding-right: 2px; font-size: 12px; }
  .history:has(.rating-adjustment) th { padding-left: 2px; padding-right: 2px; font-size: 10px; }
}
