/* ============================================================
   Der Restaurant-Checker — Design System
   ============================================================ */

:root {
  --ink:        #1a1512;
  --ink-2:      #4a3f37;
  --ink-3:      #6b5d52;
  --paper:      #fbf9f6;
  --paper-2:    #f3eee7;
  --line:       #e4dbd0;
  --brand:      #a3341f;
  --brand-dark: #7d2716;
  --brand-soft: #fbeee9;
  --accent:     #14614f;
  --accent-soft:#e7f2ee;
  --gold:       #8a5d12;
  --white:      #fff;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --shadow:    0 1px 2px rgba(26,21,18,.05), 0 8px 24px -12px rgba(26,21,18,.18);
  --shadow-lg: 0 2px 4px rgba(26,21,18,.04), 0 24px 60px -24px rgba(26,21,18,.28);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --read: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.18; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.read { max-width: var(--read); margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,246,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 1.25rem; height: 66px; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; display: grid; place-items: center; font-size: 1.05rem;
  box-shadow: 0 2px 8px -2px rgba(163,52,31,.5);
}
.nav { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: .935rem; font-weight: 500;
  padding: .45rem .75rem; border-radius: 999px; transition: background .15s, color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.nav .cta { background: var(--brand); color: #fff; }
.nav .cta:hover { background: var(--brand-dark); color: #fff; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .45rem .6rem; cursor: pointer; font-size: 1.1rem; }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: absolute; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .6rem clamp(1rem,4vw,2rem) 1.1rem;
    gap: .1rem; box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .7rem .5rem; border-radius: var(--r-sm); }
}

/* ---------------- Hero ---------------- */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: .38rem .85rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 { max-width: 16ch; }
.hero .lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 56ch; margin-top: 1.1rem; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.author-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.4rem; box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: center;
}
.author-card img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--paper-2); }
.author-card .n { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.author-card .r { font-size: .82rem; color: var(--ink-3); }
.author-card p { font-size: .88rem; color: var(--ink-2); margin-top: .4rem; line-height: 1.5; }

/* ---------------- Stat-Leiste ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 2.2rem; }
.stats div { background: var(--white); padding: 1.05rem .9rem; text-align: center; }
.stats b { display: block; font-family: var(--serif); font-size: 1.65rem; color: var(--brand); line-height: 1.1; }
.stats span { font-size: .76rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Sections ---------------- */
section.block { padding: clamp(2.2rem, 4vw, 3.6rem) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.sec-head p { color: var(--ink-3); font-size: .95rem; margin-top: .35rem; max-width: 60ch; }
.sec-head .more { font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sec-head .more::after { content: " →"; }

/* ---------------- Cards ---------------- */
.grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d6c9ba; }
.card .thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--paper-2), #e8ded1); position: relative; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; color: #c3b3a1; }
.card .body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.card .meta { font-size: .78rem; color: var(--ink-3); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .6rem; }
.card .dek { font-size: .92rem; color: var(--ink-2); line-height: 1.55; flex: 1; }
.card .foot { margin-top: .95rem; padding-top: .8rem; border-top: 1px solid var(--paper-2); display: flex; align-items: center; justify-content: space-between; gap: .6rem; }

/* Score-Badge */
.score {
  display: inline-flex; align-items: baseline; gap: .12rem; font-family: var(--serif); font-weight: 700;
  background: var(--accent); color: #fff; padding: .28rem .62rem; border-radius: 999px; line-height: 1;
}
.score b { font-size: 1.02rem; }
.score span { font-size: .68rem; opacity: 1; }
.score.mid  { background: var(--gold); }
.score.low  { background: #6f5348; }
.score.big { padding: .55rem 1rem; }
.score.big b { font-size: 1.6rem; }

.pill {
  display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  background: var(--paper-2); color: var(--ink-2); padding: .26rem .62rem; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent;
}
a.pill:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: #f0dad2; }
.pill.geo::before { content: "📍 "; }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ---------------- Answer-Box (GEO / AI-Overviews) ---------------- */
.answer-box {
  background: var(--accent-soft); border: 1px solid #c9e0d8; border-left: 4px solid var(--accent);
  border-radius: var(--r); padding: 1.15rem 1.35rem; margin: 1.6rem 0;
}
.answer-box .lbl { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
.answer-box p { font-size: 1.02rem; color: var(--ink); line-height: 1.6; }

/* ---------------- Artikel ---------------- */
.article-hero { padding: clamp(1.8rem, 4vw, 3rem) 0 1rem; }
.breadcrumb { font-size: .8rem; color: var(--ink-3); margin-bottom: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb .sep { opacity: .5; }

.byline { display: flex; align-items: center; gap: .75rem; margin: 1.4rem 0; font-size: .875rem; color: var(--ink-3); flex-wrap: wrap; }
.byline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.byline a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.byline .dot { opacity: .4; }

.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.6rem; scroll-margin-top: 84px; }
.prose h3 { margin-top: 1.9rem; scroll-margin-top: 84px; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose ol { counter-reset: none; }
.prose ol > li::marker { font-family: var(--serif); font-weight: 700; color: var(--brand); }
.prose ul > li::marker { color: var(--brand); }
.prose li + li { margin-top: .45rem; }
.prose li > strong:first-child { color: var(--ink); }
.prose h4 { margin-top: 1.5rem; font-size: 1.1rem; scroll-margin-top: 84px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em; background: var(--paper-2); padding: .12em .38em;
  border-radius: 5px; border: 1px solid var(--line);
}
.prose blockquote {
  border-left: 3px solid var(--brand); background: var(--brand-soft);
  padding: .9rem 1.2rem; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--serif); font-size: 1.12rem; font-style: italic; color: var(--ink-2);
}
.prose blockquote p { margin: 0; }
.prose strong { font-weight: 700; }

/* Inhaltsverzeichnis */
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; margin: 1.8rem 0; }
.toc b { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); }
.toc ol { margin: .6rem 0 0; padding-left: 1.15rem; font-size: .93rem; }
.toc li + li { margin-top: .3rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

/* Bewertungsraster */
.ratings { display: grid; gap: .75rem; margin: 1.8rem 0; }
.rating-row { display: grid; grid-template-columns: 165px 1fr 46px; align-items: center; gap: .9rem; font-size: .92rem; }
.rating-row .bar { height: 9px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.rating-row .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #1c7d66); }
.rating-row .v { font-family: var(--serif); font-weight: 700; text-align: right; }
@media (max-width: 560px) { .rating-row { grid-template-columns: 120px 1fr 40px; font-size: .85rem; } }

/* Pro / Contra */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.8rem 0; }
@media (max-width: 640px) { .proscons { grid-template-columns: 1fr; } }
.pc { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; background: var(--white); }
.pc h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: .7rem; font-family: var(--sans); }
.pc.pro h3 { color: var(--accent); }
.pc.con h3 { color: var(--brand); }
.pc ul { list-style: none; padding: 0; font-size: .94rem; }
.pc li { padding-left: 1.5rem; position: relative; }
.pc li + li { margin-top: .5rem; }
.pc.pro li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pc.con li::before { content: "–"; position: absolute; left: .25rem; color: var(--brand); font-weight: 700; }

/* Speisekarten-Tabelle */
.menu-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.menu-table caption { caption-side: top; text-align: left; font-size: .78rem; color: var(--ink-3); padding-bottom: .55rem; }
.menu-table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); background: var(--paper-2); padding: .6rem .9rem; font-weight: 700; }
.menu-table td { padding: .72rem .9rem; border-top: 1px solid var(--paper-2); vertical-align: top; }
.menu-table td.p { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.menu-table .d { display: block; font-size: .84rem; color: var(--ink-3); margin-top: .15rem; }

/* Infokasten Restaurant */
.infobox { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; margin: 2rem 0; }
.infobox h2.ib-h { font-size: 1.15rem; margin-bottom: .9rem; font-family: var(--serif); }
.infobox dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.1rem; font-size: .93rem; }
.infobox dt { color: var(--ink-3); font-weight: 600; font-size: .84rem; padding-top: .1rem; }
.infobox dd { margin: 0; }
.infobox .acts { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--paper-2); }

/* Verdict */
.verdict { background: linear-gradient(160deg, #2a1f18 0%, #3d2b20 100%); color: #f5ece2; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.1rem); margin: 2.2rem 0; }
.verdict .lbl { font-size: .73rem; letter-spacing: .11em; text-transform: uppercase; color: #d9a86b; font-weight: 700; }
.verdict h2 { color: #fff; margin: .5rem 0 .8rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
.verdict p { color: #e4d6c7; font-size: 1.04rem; line-height: 1.7; }
.verdict .final { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.verdict .final .score { background: #d9a86b; color: #2a1f18; }
.verdict .final .lab { font-family: var(--serif); font-size: 1.1rem; color: #fff; }

/* FAQ */
.faq { margin: 2.2rem 0; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .6rem; overflow: hidden; }
.faq summary { padding: .95rem 1.2rem; cursor: pointer; font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--paper-2); }
.faq .a { padding: .9rem 1.2rem 1.1rem; font-size: .97rem; color: var(--ink-2); line-height: 1.65; }
.faq .a > * + * { margin-top: .8rem; }
.faq .a p { margin: 0; }
.faq .a ul, .faq .a ol { padding-left: 1.3rem; margin: .6rem 0; }
.faq .a li + li { margin-top: .35rem; }
.faq .a h3, .faq .a h4 { font-size: 1rem; margin-top: 1rem; }
.faq .a code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--paper-2); padding: .12em .38em; border-radius: 5px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .62rem 1.15rem;
  border-radius: 999px; font-size: .92rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-2); transition: all .15s;
}
.btn:hover { border-color: var(--ink-3); color: var(--ink); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

/* Autorenbox */
.authorbox { display: flex; gap: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; margin: 2.5rem 0; }
.authorbox img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex: none; }
.authorbox h3 { font-family: var(--serif); font-size: 1.15rem; }
.authorbox .r { font-size: .8rem; color: var(--ink-3); margin-bottom: .5rem; }
.authorbox p { font-size: .93rem; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 560px) { .authorbox { flex-direction: column; text-align: center; align-items: center; } }

/* Suche */
.searchbar { display: flex; gap: .6rem; margin: 1.5rem 0 2rem; }
.searchbar input { flex: 1; padding: .8rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-size: 1rem; font-family: inherit; background: var(--white); color: var(--ink); }
.searchbar input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }

/* Städte-Kacheln */
.tiles { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.15rem; text-decoration: none; color: var(--ink); transition: all .15s; }
.tile:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); transform: translateY(-2px); }
.tile b { display: block; font-family: var(--serif); font-size: 1.08rem; }
.tile span { font-size: .8rem; color: var(--ink-3); }

/* Footer */
.site-footer { margin-top: auto; background: #221a15; color: #b8a898; padding: 3rem 0 1.6rem; font-size: .92rem; }
.site-footer a { color: #d8c9b8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: .8rem; font-family: var(--sans); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: .42rem; }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #a2917f; }
.foot-brand { font-family: var(--serif); color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }

/* Pagination */
.pager { display: flex; gap: .5rem; justify-content: center; margin: 2.5rem 0 0; flex-wrap: wrap; }
.pager a, .pager span { padding: .5rem .9rem; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none; font-size: .9rem; background: var(--white); color: var(--ink-2); }
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.notice { background: var(--paper-2); border-radius: var(--r); padding: 1rem 1.2rem; font-size: .88rem; color: var(--ink-3); }


/* ---------------- Ranking: Städte-Bestenliste ---------------- */
.lb { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.lb-row {
  display: grid; grid-template-columns: 3rem 1.1fr 1.3fr auto; align-items: center; gap: 1rem;
  padding: .95rem 1.25rem; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--paper-2); transition: background .15s;
}
.lb-row:first-child { border-top: 0; }
.lb-row:hover { background: var(--brand-soft); color: var(--ink); }
.lb-rank { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--brand); text-align: center; }
.lb-city b, .lb-top b { display: block; font-size: 1rem; line-height: 1.3; }
.lb-city span, .lb-top span { display: block; font-size: .78rem; color: var(--ink-3); margin-top: .1rem; }
.lb-city b { font-family: var(--serif); font-size: 1.08rem; }
@media (max-width: 700px) {
  .lb-row { grid-template-columns: 2.2rem 1fr auto; gap: .7rem; row-gap: .35rem; }
  .lb-rank { font-size: 1.1rem; }
  .lb-top { grid-column: 2 / 4; padding-top: .3rem; border-top: 1px dashed var(--paper-2); }
}

/* ---------------- Ranking: kompakte Liste ---------------- */
.ranklist { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; margin: 1.4rem 0; }
.ranklist-head { padding: .85rem 1.15rem; background: var(--paper-2); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.ranklist-head b { font-family: var(--serif); font-size: 1.05rem; }
.ranklist-head span { font-size: .78rem; color: var(--ink-3); }
.ranklist ol { list-style: none; margin: 0; padding: 0; }
.ranklist li { display: grid; grid-template-columns: 2.2rem 1fr auto auto; gap: .8rem; align-items: center; padding: .7rem 1.15rem; border-top: 1px solid var(--paper-2); font-size: .95rem; }
.ranklist li.cur { background: var(--brand-soft); }
.ranklist li .n { font-family: var(--serif); font-weight: 700; color: var(--brand); text-align: center; }
.ranklist li .t { text-decoration: none; color: var(--ink); font-weight: 600; }
.ranklist li a.t:hover { color: var(--brand); text-decoration: underline; }
.ranklist li .t em { font-style: normal; font-size: .78rem; color: var(--ink-3); font-weight: 400; }
.ranklist li .c { font-size: .8rem; color: var(--ink-3); }
.ranklist-more { display: block; padding: .8rem 1.15rem; border-top: 1px solid var(--paper-2); font-size: .88rem; font-weight: 600; text-decoration: none; background: var(--paper); }
@media (max-width: 560px) {
  .ranklist li { grid-template-columns: 2rem 1fr auto; }
  .ranklist li .c { display: none; }
}

@media print { .site-header, .site-footer, .nav { display: none; } }
