:root {
  --paper: #fff6e3;
  --ink: #1d1a26;
  --muted: #5e5866;
  --pop: #d81b72;
  --pop-dark: #a80f56;
  --teal: #00737a;
  --sun: #ffc72c;
  --white: #ffffff;
  --radius: 10px;
  --display: "Alfa Slab One", Georgia, "Times New Roman", serif;
  --body: "Karla", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pop-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 1.2rem 0 .8rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 2.2rem 0 1rem; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 5; background: var(--white); padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); }
.empty { color: var(--muted); font-style: italic; }

.masthead { background: var(--ink); color: var(--white); border-bottom: 6px solid var(--pop); }
.masthead-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 14px; }
.logo { font: 400 1.65rem/1 var(--display); color: var(--white); text-decoration: none; }
.logo-pop { color: var(--sun); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.nav a, .linklike { color: var(--white); font: 700 1rem var(--body); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.nav a:hover, .linklike:hover { color: var(--sun); text-decoration: underline; }
.inline { display: inline; margin: 0; }
.search { display: flex; margin-left: auto; max-width: 100%; }
.search input { min-width: 0; width: 220px; padding: 8px 10px; border: 2px solid var(--white); border-radius: 6px 0 0 6px; font: inherit; }
.search button { padding: 8px 12px; background: var(--sun); color: var(--ink); border: 2px solid var(--sun); border-radius: 0 6px 6px 0; font: 700 1rem var(--body); cursor: pointer; }

.hero { margin-top: 24px; padding: clamp(24px, 5vw, 56px); background: var(--pop); color: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--sun); }
.hero h1 { margin: .2rem 0 .6rem; font-size: clamp(2.2rem, 7vw, 4.4rem); }
.kicker { margin: 0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lede { font-size: 1.15rem; max-width: 62ch; }

.btn { display: inline-block; padding: 9px 16px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--sun); }
.btn-pop { background: var(--sun); box-shadow: 3px 3px 0 var(--ink); }
.btn-danger { background: var(--white); border-color: #a31212; color: #a31212; }
.btn-danger:hover { background: #a31212; color: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.chip { display: inline-block; padding: 4px 12px; background: var(--white); border: 2px solid var(--ink); border-radius: 99px; color: var(--ink); font-weight: 700; text-decoration: none; }
.chip:hover, .chip.is-on { background: var(--teal); color: var(--white); }

.grid { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.card:hover { box-shadow: 4px 4px 0 var(--pop); }
.card a { display: block; color: var(--ink); text-decoration: none; height: 100%; }
.card img, .no-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.no-image { display: grid; place-items: center; background: var(--sun); font-size: 3rem; }
.card-label { display: block; padding: 8px 10px; font-weight: 700; line-height: 1.3; }
.card-label small { display: block; color: var(--muted); font-weight: 400; }

.panel { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(16px, 3vw, 30px); margin-block: 20px; }
.panel > h1:first-child, .panel > h2:first-child { margin-top: 0; }
.prose { max-width: 800px; }
.facts { display: grid; gap: 12px 28px; margin: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.facts dt { color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.facts dd { margin: 0; font-size: 1.1rem; }

.crumbs { margin-top: 18px; font-weight: 700; }
.photo-view { margin: 16px 0; }
.photo-view img { max-height: 82vh; width: auto; margin-inline: auto; border: 3px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.photo-view figcaption { margin-top: 12px; text-align: center; }
.photo-view figcaption p { margin: .25rem 0; }

.title-list { list-style: none; margin: 0; padding: 0; }
.title-list li { padding: 10px 0; border-bottom: 1px solid #cfc6b5; }
.title-list a { font-weight: 700; }
.tag { display: inline-block; padding: 0 8px; background: var(--teal); color: var(--white); border-radius: 4px; font-size: .8rem; font-weight: 700; }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 14px 0; border-bottom: 1px solid #cfc6b5; }
.news-headline { display: block; font-size: 1.15rem; font-weight: 700; }
.news-list time { display: block; font-size: .92rem; }
.news-comments { display: inline-block; margin-top: 2px; font-size: .92rem; font-weight: 700; }
.news-list p { margin: .35rem 0 0; }
.news-body { margin-bottom: 1rem; }
.comments { list-style: none; margin: 0 0 1rem; padding: 0; }
.comments li { padding: 12px 0; border-bottom: 1px solid #cfc6b5; overflow-wrap: anywhere; }
.comments p { margin: .25rem 0; }
.comment-meta time { margin-left: 8px; font-size: .9rem; }
.comment-report { font-size: .9rem; }
.rating-score { font-size: 1.15rem; }
.rating-score strong { font: 2rem var(--display); }
.favorite-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; }
.favorite-card form { padding: 0 10px 10px; }
.linklike-dark { padding: 0; background: none; border: 0; color: var(--pop-dark); font: 400 .95rem var(--body); text-decoration: underline; cursor: pointer; }
.check-list { display: grid; gap: 6px 18px; max-height: 320px; overflow-y: auto; padding: 10px; border: 2px solid var(--ink); border-radius: 6px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.check-list .check { margin-top: 0; }
.plain { margin: 10px 0 0; padding: 0; border: 0; min-width: 0; }
.plain legend { padding: 0; margin-bottom: 6px; font-weight: 700; }

.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; margin: 24px 0; }

.flash { padding: 10px 14px; margin: 16px 0; border: 2px solid var(--ink); border-radius: 8px; background: #d9f3e4; }
.flash-error { background: #ffdede; }

.form { display: grid; gap: 6px; max-width: 640px; }
.form label { margin-top: 10px; font-weight: 700; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; padding: 9px 10px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); font: inherit; }
.form button { justify-self: start; margin-top: 14px; }
.form .hint { margin: 0; color: var(--muted); font-size: .92rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 6px; flex: none; }
.hp { position: absolute; left: -9999px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { padding: 9px 10px; border: 1px solid #cfc6b5; text-align: left; vertical-align: top; }
th { background: var(--ink); color: var(--white); }
td img { width: 64px; height: 80px; object-fit: cover; }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; }
.stats div { padding: 14px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); }
.stats dt { font-weight: 700; }
.stats dd { margin: 0; font: 2rem var(--display); }

.footer { margin-top: 56px; padding-block: 24px; background: var(--ink); color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
.footer p { margin: 0; max-width: 68ch; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer a { color: var(--sun); }

@media (max-width: 720px) {
  .search { margin-left: 0; width: 100%; }
  .search input { flex: 1; width: auto; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
