:root {
  --bg: #fbf8f2;
  --text: #1d1b19;
  --muted: #5e5850;
  --accent: #b2361f;
  --rule: #e3dccf;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120f;
    --text: #efe9df;
    --muted: #a99f92;
    --accent: #f08a5d;
    --rule: #2f2a24;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
main, header, footer { max-width: 680px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 32px; }
header a.home { color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
nav { margin-top: 6px; }
nav a { color: var(--muted); margin-right: 16px; font-size: 15px; }
h1 { font-size: 30px; line-height: 1.2; margin: 32px 0 8px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
a { color: var(--accent); }
.meta { color: var(--muted); font-size: 15px; }
footer { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 16px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
.crumb { margin: 24px 0 0; font-size: 15px; }
.table-hero { display: flex; gap: 20px; align-items: flex-start; }
.table-hero h1 { margin-top: 8px; }
.table-hero .backglass { width: 160px; height: auto; border-radius: 6px; flex: none; margin-top: 12px; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 4px; }
.shots { display: flex; flex-wrap: wrap; gap: 16px; }
.shots figure { flex: 1 1 180px; max-width: 220px; }
.shots img, figure.wide img { border-radius: 8px; display: block; }
figure.wide { margin-top: 20px; }
ul.table-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
ul.table-grid a { color: var(--text); text-decoration: none; display: block; }
ul.table-grid img { border-radius: 6px; display: block; margin-bottom: 6px; }
ul.table-grid .meta { display: block; }
@media (max-width: 520px) {
  .table-hero { flex-direction: column; }
  .table-hero .backglass { width: 140px; }
}
/* Guides */
.lede { font-size: 19px; }
.map-wrap { display: flex; gap: 24px; align-items: flex-start; margin-top: 16px; }
.map-wrap figure { flex: 0 0 300px; }
.map-wrap img { border-radius: 8px; display: block; }
ol.legend { list-style: none; padding: 0; margin: 0; flex: 1; }
ol.legend li { display: flex; gap: 10px; margin: 0 0 10px; }
ol.legend .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #ffd65a; color: #14120f; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
table.scores { border-collapse: collapse; width: 100%; font-size: 16px; margin: 8px 0; }
table.scores th, table.scores td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.scores th { color: var(--muted); font-weight: 600; font-size: 14px; }
table.scores td.num { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.tip { border-left: 3px solid var(--accent); padding: 2px 0 2px 14px; margin: 16px 0; }
.toc { font-size: 15px; columns: 2; padding-left: 20px; }
.guide-link { font-weight: 600; }
.store { margin: 7px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
/* Apple's badge, unaltered: at least 40 px tall, with a quarter of its height clear round it. */
.store a.badge { display: block; padding: 13px 0; }
.store a.badge img { display: block; height: 50px; width: auto; }
@media (max-width: 620px) {
  .map-wrap { flex-direction: column; }
  .map-wrap figure { flex: none; width: 100%; max-width: 340px; }
  .toc { columns: 1; }
}
.closeups { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 12px 0 8px; }
.closeups img, figure.state img { border-radius: 8px; display: block; }
.closeups figcaption .n, figure.state .n { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: #ffd65a; color: #14120f; font-weight: 700; font-size: 12px; align-items: center; justify-content: center; margin-right: 4px; }
.closeups.booths { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
figure.state { margin: 12px 0; max-width: 480px; }
