:root {
  --paper: #d7d1b5;
  --ink: #07100c;
  --red: #9b111e;
  --blue: #0d2b7e;
  --green: #1b5d24;
  --purple: #4f1b75;
  --line: #17130d;
  --wash: #efe7c6;
}
* {
  box-sizing: border-box;
}
html {
  background: #6b634d;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(255, 255, 255, 0.38),
      transparent 18rem
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(var(--paper), #c9c09d);
  background-size:
    auto,
    19px 19px,
    auto;
  line-height: 1.12;
}
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 12px 24px;
}
.topbar {
  border: 3px double var(--line);
  background: rgba(239, 231, 198, 0.9);
  padding: 7px;
  margin-bottom: 8px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.stamp {
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  padding: 4px;
  transform: rotate(-2deg);
  background: #f7efcd;
}
.title {
  font-size: clamp(28px, 6vw, 68px);
  letter-spacing: -3px;
  line-height: 0.82;
  margin: 0;
  color: #050505;
  text-shadow: 2px 1px 0 #fff;
}
.subtitle {
  font-size: 15px;
  max-width: 820px;
}
.navline {
  font-size: 15px;
  margin-top: 6px;
}
.navline a,
.linkpile a,
.entry a,
.mini a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  font-weight: bold;
}
h1,
h2,
h3 {
  font-weight: bold;
  margin: 0.25rem 0;
  color: #111;
}
h2 {
  font-size: 25px;
  background: #111;
  color: #f6edc9;
  display: inline;
  padding: 1px 7px;
}
p {
  margin: 0.35rem 0;
}
.grid {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr;
  gap: 8px;
}
.box {
  border: 2px solid var(--line);
  background: rgba(246, 237, 201, 0.82);
  padding: 8px;
  margin-bottom: 8px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}
.box.dense {
  font-size: 15px;
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  padding: 2px 0;
  margin: 6px 0;
  color: var(--red);
  font-weight: bold;
}
.columns {
  columns: 3 220px;
  column-gap: 12px;
}
.entry {
  break-inside: avoid;
  border: 1px dotted #333;
  padding: 5px;
  margin: 0 0 6px;
  background: rgba(255, 255, 255, 0.25);
}
.entry strong {
  color: var(--red);
  font-size: 20px;
}
.tiny {
  font-size: 12px;
}
.callout {
  font-size: 22px;
  color: var(--green);
  font-weight: bold;
}
.linkpile {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.linkpile a {
  border: 1px solid #333;
  padding: 2px 4px;
  background: #eadfb9;
}
.fireworks-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 8px;
}
.map-panel {
  position: sticky;
  top: 8px;
}
.map {
  position: relative;
  height: 520px;
  min-height: 360px;
  border: 3px double #111;
  background: linear-gradient(90deg, #b0c4a9 0 56%, #86a7bd 56%);
  overflow: hidden;
}
.coast {
  position: absolute;
  left: 48%;
  top: -4%;
  height: 112%;
  width: 18%;
  background: #d8c894;
  clip-path: polygon(
    54% 0,
    36% 10%,
    52% 18%,
    42% 29%,
    57% 43%,
    44% 55%,
    50% 71%,
    37% 86%,
    47% 100%,
    0 100%,
    0 0
  );
}
.road {
  position: absolute;
  left: 50%;
  top: 12%;
  height: 78%;
  border-left: 3px dashed #333;
  transform: rotate(5deg);
}
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 2px solid #111;
  background: #fff6c9;
  color: #111;
  padding: 2px 5px;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 2px 2px 0 #111;
}
.pin[data-overnight="true"] {
  background: #ffd1d1;
}
.pin.active {
  background: #111;
  color: #fff;
  z-index: 3;
}
.route-note {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(255, 246, 201, 0.9);
  border: 1px solid #111;
  padding: 5px;
  font-size: 12px;
  max-width: 220px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 5px 0;
}
.filters button {
  font-family: inherit;
  border: 2px solid #111;
  background: #f6edc9;
  padding: 3px 7px;
  cursor: pointer;
}
.filters button.active {
  background: #111;
  color: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.2);
}
th,
td {
  border: 1px solid #222;
  padding: 5px;
  vertical-align: top;
}
th {
  background: #111;
  color: #fff;
  text-align: left;
}
.note {
  background: #fff7bf;
  border-left: 6px solid var(--red);
  padding: 7px;
}
.footer {
  font-size: 12px;
  border-top: 2px solid #111;
  margin-top: 14px;
  padding-top: 6px;
}
@media (max-width: 760px) {
  .grid,
  .fireworks-layout {
    grid-template-columns: 1fr;
  }
  .map-panel {
    position: static;
  }
  .title {
    letter-spacing: -1px;
  }
  .map {
    height: 430px;
  }
  th:nth-child(4),
  td:nth-child(4) {
    display: none;
  }
}
