/* Terror zones (terror-pages.ts, terror.js). A terrorised zone's name takes the purple the game
   writes terror in (Pandemonium's chat lines and area names use the colour code ;), and nothing
   else on the page is purple, so purple here always means "terrorised now". The countdowns use
   tabular figures so a ticking column does not shift. */
:root { --terror: #b48cf0; }

table.tz-now, table.tz-next { min-width: 520px; }
.tz-now td.tz-zone { vertical-align: top; width: 38%; }
.tz-zone b { display: block; font-family: "Exocet", Georgia, serif; font-weight: 400; font-size: 15px; letter-spacing: .02em; color: var(--terror); }
.tz-zone .sub { display: block; margin-top: 3px; max-width: 46ch; }
.tz-left { font-variant-numeric: tabular-nums; white-space: nowrap; }
td.tz-to { font-family: "Exocet", Georgia, serif; font-size: 14px; color: var(--ink2); }

.tz-pool { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 24px; }
.tz-pool li { min-width: 0; padding: 7px 0 8px; border-bottom: 1px solid var(--rule); }
.tz-pool b { display: block; font-family: "Exocet", Georgia, serif; font-weight: 400; font-size: 14px; letter-spacing: .02em; color: var(--ink); }
.tz-pool .sub { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink3); }
.tz-pool li.on b, .tz-pool .tag { color: var(--terror); }
.tz-pool .tag { display: block; margin-top: 3px; }
.slug.tz-alone { margin-top: 26px; }
.tz-live .note + .scroll { margin-top: 12px; }

/* A phone shows three columns and no sideways scroll: "Then" is the next table's "To", and "From"
   is the zone the first table already names. */
@media (max-width: 560px) {
  table.tz-now, table.tz-next { min-width: 0; }
  .tz-now td.tz-zone { width: auto; }
  .tz-now th:nth-child(4), .tz-now td.tz-then, .tz-next th:nth-child(3), .tz-next td.tz-from { display: none; }
}
