/* reports/battle-of-the-best-one-cheaper-2026-11-22.html — page-specific rules. Nav + basic :root aus _nav.css. */
:root {
    --green: #3fb950;
    --red: #f85149;
    --yellow: #d29922;
    --dim: rgba(200, 220, 255, 0.5);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { line-height: 1.8; font-size: 15px; }
.container { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.article { padding: 0 0 4rem; }
.article .meta { color: var(--dim); font-size: 0.8rem; margin-bottom: 2rem; }
.article h1 { font-size: 1.8rem; line-height: 1.3; margin-bottom: 0.5rem; color: #fff; }
.article .subtitle { color: rgba(200, 220, 255, 0.6); font-size: 0.95rem; margin-bottom: 2rem; }
.article h2 { font-size: 1.8rem; margin: 4rem 0 1.5rem; color: #fff; padding: 1rem 0; border-radius: 8px; transition: background 0.4s ease; }
.article h2:hover { background: rgba(255, 255, 255, 0.02); }
.h2-slash { display: inline-block; opacity: 0.35; transition: color 0.2s ease-out, opacity 0.2s ease-out; }
.article h2:hover .h2-slash { color: var(--accent2); opacity: 0.85; }
.article h3 { font-size: 1.2rem; color: #fff; margin: 2.5rem 0 1rem; }
.article p { margin-bottom: 1.4rem; }
.article strong { color: #fff; }
.article a { color: var(--accent); }
.article em { color: rgba(200, 220, 255, 0.7); }
blockquote { border-left: 2px solid var(--accent2); padding: 0.8rem 1.2rem; margin: 1.5rem 0; background: rgba(255, 107, 53, 0.05); font-style: italic; color: rgba(200, 220, 255, 0.8); }
blockquote cite { display: block; margin-top: 0.5rem; font-size: 0.8rem; opacity: 0.6; font-style: normal; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin: 2rem 0 3rem; }
.stat { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.2rem; text-align: center; }
.stat .number { font-size: 1.4rem; font-weight: bold; color: #fff; }
.stat .label { font-size: 0.75rem; opacity: 0.5; margin-top: 0.3rem; }
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.85rem; }
th, td { padding: 0.6rem 0.8rem; text-align: left; border-bottom: 1px solid rgba(200, 220, 255, 0.08); }
th { color: #fff; font-weight: bold; opacity: 0.7; }
.hi { color: var(--green); }
.lo { color: var(--red); }
.disclaimer { font-size: 0.8rem; opacity: 0.4; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
footer { text-align: center; padding: 3rem 0; font-size: 0.75rem; opacity: 0.4; }
footer a { color: var(--text); }
.screenshot { margin: 2rem 0; }
.screenshot img { width: 100%; border-radius: 6px; border: 1px solid var(--border); display: block; }
.screenshot.portrait img { max-width: 360px; margin: 0 auto; }
.info { border: 1px solid var(--border); border-left: 2px solid var(--accent); background: rgba(0, 200, 255, 0.04); border-radius: 6px; padding: 1rem 1.3rem; margin: 1.5rem 0 2rem; font-size: 0.9rem; }
.info .info-title { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; }
.info ul { margin: 0 0 0 1.1rem; }
.info li { margin-bottom: 0.35rem; }
.screenshot .caption { font-size: 0.75rem; color: var(--dim); margin-top: 0.6rem; text-align: center; font-style: italic; }
code { font-size: 0.85em; background: rgba(200, 220, 255, 0.06); padding: 0.1rem 0.3rem; border-radius: 3px; }
details { margin: 3rem 0 1rem; } details summary { cursor: pointer; color: var(--accent); }
@media (max-width: 600px) {
    .article h1 { font-size: 1.4rem; }
    .article h2 { font-size: 1.3rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Titelbild und Datengrafiken (#793). Farben: eine Farbe je Bedeutung, nie --accent (klickbar). */
.hero { margin: 1.5rem 0 2rem; }
.hero img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--border); }
.hero figcaption, .viz figcaption { font-size: 0.75rem; color: var(--dim); margin-top: 0.7rem; line-height: 1.5; }
.viz { --v-dealer: #ff6b35; --v-other: #8f97b3; --v-short: #dfe4f2; --v-surface: #0e1730; --v-grid: rgba(200, 220, 255, 0.12); --v-muted: rgba(200, 220, 255, 0.62);
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.2rem 1.2rem 1rem; margin: 1.8rem 0; }
.viz-title { color: #fff; font-weight: bold; font-size: 0.95rem; line-height: 1.4; }
.viz-sub { font-size: 0.78rem; color: var(--v-muted); line-height: 1.5; margin: 0.2rem 0 0.9rem; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; font-size: 0.75rem; color: var(--v-muted); margin: 0 0 0.9rem; }
.viz-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 0.4rem; vertical-align: -1px; }
.viz-key.dealer { background: var(--v-dealer); } .viz-key.other { background: var(--v-other); } .viz-key.short { background: var(--v-short); }
.viz-key.ring { background: transparent; border: 2px solid var(--v-dealer); border-radius: 50%; } .viz-key.dot { border-radius: 50%; }
.viz-key.line { height: 2px; width: 16px; border-radius: 1px; vertical-align: 3px; }
details.viz-data { margin: -0.8rem 0 1.8rem; font-size: 0.8rem; } details.viz-data summary { color: var(--dim); }
details.viz-data table { margin-top: 0.6rem; }

/* Regelkette */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.chain-rule, .chain-result { border: 1px solid var(--v-grid); border-radius: 6px; padding: 0.8rem 0.9rem; font-size: 0.8rem; line-height: 1.5; color: var(--v-muted); }
.chain-rule b, .chain-result b { display: block; color: #fff; font-size: 0.88rem; margin-bottom: 0.2rem; }
.chain-rule .n { display: block; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; }
.chain-arrow { grid-column: 1 / -1; text-align: center; color: var(--v-muted); font-size: 1.1rem; line-height: 1; }
.chain-result { grid-column: 1 / -1; border-color: var(--v-dealer); border-left-width: 3px; }

/* Säulen: Belagerungen je Tag */
.cols { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: end; height: 210px; margin: 1.6rem 0 0 2.2rem; border-bottom: 1px solid var(--v-grid); }
.cols .grid { position: absolute; left: 0; right: 0; border-top: 1px solid var(--v-grid); }
.cols .grid span { position: absolute; left: -2.2rem; top: -0.6em; font-size: 0.68rem; line-height: 1.2; color: var(--v-muted); }
.col { position: relative; display: flex; flex-direction: column-reverse; align-items: center; height: 100%; z-index: 1; }
.col .seg { width: min(24px, 62%); background: var(--v-other); }
.col .seg.short { background: var(--v-short); margin-bottom: 2px; }
.col .seg.top { border-radius: 4px 4px 0 0; }
.col .val small { display: block; font-size: 0.68rem; color: var(--v-muted); }
.col .val.left { align-self: flex-end; text-align: right; }
.col .val { font-size: 0.72rem; line-height: 1.3; color: #fff; margin-bottom: 0.25rem; white-space: nowrap; }
.col .note { position: absolute; bottom: 100%; font-size: 0.68rem; line-height: 1.3; color: var(--v-muted); white-space: nowrap; }
.col.none::after { content: ""; width: 4px; height: 1px; background: var(--v-grid); }
.cols-x { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); margin: 0.35rem 0 0 2.2rem; font-size: 0.72rem; color: var(--v-muted); text-align: center; }

/* Linie: Preis je Tag */
.plot { position: relative; height: 230px; margin: 1.2rem 0.4rem 0 2.6rem; border-bottom: 1px solid var(--v-grid); }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot polyline { fill: none; stroke: var(--v-other); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.plot .grid { position: absolute; left: 0; right: 0; border-top: 1px solid var(--v-grid); }
.plot .grid span { position: absolute; left: -2.6rem; top: -0.6em; font-size: 0.68rem; line-height: 1.2; color: var(--v-muted); }
.plot .pt { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--v-other); box-shadow: 0 0 0 2px var(--v-surface); }
.plot .pt.lb { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--v-dealer); }
.plot .pt.lw { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--v-surface); border: 3px solid var(--v-dealer); box-shadow: none; }
.plot .lab { position: absolute; font-size: 0.72rem; line-height: 1.35; color: #fff; white-space: nowrap; }
.plot .lab small { display: block; font-size: 0.68rem; color: var(--v-muted); }
.plot-x { display: flex; justify-content: space-between; margin: 0.35rem 0.4rem 0 2.6rem; padding: 0 calc(4% - 0.6em); font-size: 0.72rem; color: var(--v-muted); }

/* Balken: Anteile */
.share { margin-top: 1rem; }
.share-row { margin-bottom: 0.9rem; }
.share-row .cap { font-size: 0.75rem; color: var(--v-muted); margin-bottom: 0.3rem; }
.share-bar { display: flex; gap: 2px; height: 28px; }
.share-bar span { display: flex; align-items: center; padding: 0 0.5rem; font-size: 0.75rem; font-weight: bold; color: #0a0e1a; border-radius: 4px; white-space: nowrap; overflow: visible; min-width: 0; }
.share-bar .dealer { background: var(--v-dealer); } .share-bar .other { background: var(--v-other); }
.share-bar .lost { background: repeating-linear-gradient(135deg, rgba(255, 107, 53, 0.30) 0 6px, rgba(255, 107, 53, 0.16) 6px 12px); color: #fff; }

@media (max-width: 600px) {
    .viz { padding: 1rem 0.8rem 0.8rem; }
    .chain { grid-template-columns: 1fr; }
    .plot { height: 200px; }
}
