/* Daily Mystery page (/daily-mystery/). Uses the colors and base styles in app.css. */
.mwrap { max-width: 640px; }
.mtabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mtabs a {
  text-align: center; padding: 9px 4px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow);
  font-weight: 800; font-size: 14px; color: var(--letter); text-decoration: none; border: 2px solid transparent;
}
.mtabs a[aria-current="page"] { border-color: var(--letter); }
.mhead { text-align: center; }
.mhead .kicker { color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.mhead h1 { margin: 2px 0 0; font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: -.01em; text-wrap: balance; }
.mcard { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 10px; }
.mcard h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: 18px; }
.mcard p { margin: 0; }
.muted { color: var(--muted); font-size: 14px; }
.story p:first-child { font-size: 16px; line-height: 1.6; }
.scene { background: var(--soft); border-radius: 10px; padding: 8px 12px; }
.suspects { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.suspects li { display: flex; gap: 10px; align-items: flex-start; }
.suspects small { display: block; color: var(--muted); font-size: 13px; }
.badge {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 15px; box-shadow: inset 0 0 0 2px var(--ink);
}
.badge.sm { width: 26px; height: 26px; font-size: 13px; }
.nboard { max-width: 360px; justify-self: center; max-height: none; }
.notetext { text-align: center; }
.clues ol { margin: 0; padding-left: 22px; display: grid; gap: 7px; }
.clues li { line-height: 1.45; }
.clues li.locked { color: var(--muted); font-style: italic; }
.clues li.noteclue { font-weight: 700; }
.grids { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
table.lg { border-collapse: collapse; }
table.lg caption { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 4px; }
table.lg th { font-weight: 700; font-size: 11px; padding: 2px; }
table.lg tr.hrow th { vertical-align: bottom; height: 92px; }
table.lg tr.hrow th span { writing-mode: vertical-rl; transform: rotate(180deg); display: inline-block; max-height: 90px; line-height: 1.1; text-align: left; }
table.lg td { padding: 0; }
.mark {
  width: 34px; height: 34px; border: 1.5px solid var(--cell-line); background: var(--cell); margin: -0.75px 0 0 -0.75px;
  font-weight: 900; font-size: 17px; display: grid; place-items: center; padding: 0; color: var(--letter);
}
.mark.m1 { color: var(--bad); }
.mark.m2 { background: var(--w2); color: var(--ink); }
.pick { display: grid; gap: 6px; }
.pick .q { font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 2px solid var(--letter); background: transparent; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; }
.chip[aria-checked="true"] { background: var(--letter); color: var(--bg); }
.pill.big { justify-self: start; font-size: 16px; padding: 9px 22px; }
a.pill { text-decoration: none; color: var(--letter); display: inline-block; }
.verdict { color: var(--muted); font-weight: 600; min-height: 1.4em; }
.accuse.shake { animation: shake .35s; }
.accuse .solved { border-top: 0; padding-top: 0; }
.soltable { border-collapse: collapse; font-size: 14px; width: 100%; }
.soltable th, .soltable td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--soft); }
.soltable tr.killer td { font-weight: 800; background: var(--soft); }
.mbook { grid-template-columns: 96px 1fr; align-items: center; gap: 14px; }
.mbook-cover { padding: 0 !important; background: none !important; border-radius: 6px !important; }
.mbook-cover img { width: 96px; height: auto; display: block; border-radius: 6px; }
@media (max-width: 420px) {
  .mark { width: 30px; height: 30px; font-size: 15px; }
  .mcard { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) { .accuse.shake { animation: none; } }
.clearbtn { justify-self: center; }
