/* The template site's own styles: the colours and font of DataFluss, light and dark, no framework. */
@font-face { font-family: "Inter"; src: url("../fonts/Inter.862405a6e4ad.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #f6f7f9; --surface: #fff; --surface-2: #f3f4f6; --line: #e5e7eb; --line-strong: #d1d5db;
  --ink: #111827; --ink-2: #4b5563; --ink-3: #6b7280; --accent: #2553eb; --accent-ink: #fff; --accent-soft: #eff5ff;
  --ok: #065f46; --ok-soft: #ecfdf5; --warn: #92400e; --warn-soft: #fffbeb; --bad: #b91c1c; --bad-soft: #fef2f2;
  --radius: 12px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1117; --surface: #151b23; --surface-2: #1c232d; --line: #2a323d; --line-strong: #3a4452;
    --ink: #e6e9ee; --ink-2: #aab2bf; --ink-3: #8a93a1; --accent: #6093fa; --accent-ink: #0d1117; --accent-soft: #1b2a4a;
    --ok: #34d399; --ok-soft: #0f2a20; --warn: #fbbf24; --warn-soft: #2b2110; --bad: #f87171; --bad-soft: #2d1414; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { font-family: "Inter", system-ui, sans-serif; font-feature-settings: "cv11", "ss01"; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; } h2 { font-size: 18px; margin-top: 1.6em; }
code, pre { font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 13px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px; z-index: 9; }
main { flex: 1; padding: 24px 0 48px; outline: none; }
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; } .brand:hover { text-decoration: none; }
.brand b { color: var(--accent); font-weight: 650; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; } .nav a { color: var(--ink-2); } .nav form { margin: 0; }
.count { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 7px; font-size: 12px; font-weight: 600; }
.foot { border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; padding: 18px 0; }
.foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; } .foot a { color: var(--ink-2); }
.lang { display: flex; gap: 10px; margin: 0; } .lang .current { color: var(--ink); font-weight: 600; }
.muted { color: var(--ink-3); } .small { font-size: 13px; } .strong { font-weight: 600; } .break { word-break: break-all; } .ml-auto { margin-left: auto; }
.title { font-size: 26px; font-weight: 700; letter-spacing: -.01em; } .h2 { font-size: 17px; margin: 0; }
.lead { font-size: 16px; color: var(--ink-2); } .meta { color: var(--ink-3); font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  border-radius: 9px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } .btn-primary:hover { background: var(--accent); filter: brightness(1.08); }
.btn-ghost { border-color: transparent; background: transparent; } .btn-danger { color: var(--bad); border-color: var(--bad); }
.btn-sm { padding: 4px 10px; font-size: 13px; } .btn-block { width: 100%; }
.link { background: none; border: 0; color: var(--ink-2); font: inherit; cursor: pointer; padding: 0; }
.input { width: 100%; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; padding: 8px 10px; }
.input:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea.input { resize: vertical; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.form label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 4px; } .form .btn { margin-top: 14px; }
.form label.check { display: flex; gap: 8px; font-weight: 400; align-items: flex-start; } .check input { margin-top: 4px; }
.narrow { max-width: 460px; margin: 24px auto; }
.two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .row form { margin: 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.msg { border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; border: 1px solid var(--line); background: var(--surface); }
.msg ul { margin: 4px 0 0; padding-left: 20px; } .msg p { margin: 0; }
.msg-success, .msg-ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.msg-warning { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.msg-error { background: var(--bad-soft); border-color: transparent; color: var(--bad); }
.badge { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); }
.badge-accent { background: var(--accent-soft); color: var(--accent); } .badge-ok { background: var(--ok-soft); color: var(--ok); } .badge-warn { background: var(--warn-soft); color: var(--warn); }
.hero { padding: 18px 0 8px; } .hero h1 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; } .hero p { color: var(--ink-2); max-width: 720px; font-size: 16px; }
.search { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; margin: 18px 0 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); }
.card:hover { border-color: var(--accent); text-decoration: none; box-shadow: 0 4px 18px rgb(0 0 0 / .06); }
.card-pic { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); display: block; }
.card-pic-empty { display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 700; color: var(--accent); background: var(--accent-soft); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card-title { font-weight: 650; font-size: 16px; } .card-meta { font-size: 12px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.card-text { font-size: 14px; color: var(--ink-2); flex: 1; } .card-foot { display: flex; gap: 6px; align-items: center; font-size: 12px; margin-top: 6px; white-space: nowrap; }
.empty { text-align: center; padding: 40px 16px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 22px 0; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; } .how h2 { font-size: 16px; margin-top: 0; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; margin-top: 10px; align-items: start; }
.detail-side { position: sticky; top: 16px; } .detail-side .btn-block { margin-bottom: 6px; }
.rating-line { display: flex; gap: 8px; align-items: center; }
.pictures { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 14px 0; }
.pictures img { border-radius: 10px; border: 1px solid var(--line); display: block; }
.tables details summary { cursor: pointer; } table.fields { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
table.fields td { border-top: 1px solid var(--line); padding: 5px 6px; vertical-align: top; }
.review { border-top: 1px solid var(--line); padding: 12px 0; } .review p { margin: 0 0 4px; }
.review-form .row { margin-top: 10px; } .review-form label { display: block; margin: 8px 0 4px; }
.report summary { cursor: pointer; } .report form { display: flex; gap: 6px; margin-top: 6px; }
.queue-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--ink); } .queue-row:hover { border-color: var(--accent); text-decoration: none; }
.raw { max-height: 420px; overflow: auto; background: var(--surface-2); padding: 10px; border-radius: 8px; white-space: pre-wrap; }
ul.plain { list-style: none; padding: 0; margin: 0; } ul.plain li { padding: 4px 0; }
.qr { display: block; margin: 10px auto; border-radius: 8px; background: #fff; padding: 6px; }
.prose { max-width: 760px; } .prose h2 { font-size: 17px; }
/* Stars: a row of grey stars with the golden ones laid over it, as wide as the share they cover. */
.stars { position: relative; display: inline-block; width: 90px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cbd2dc' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") repeat-x left / 18px 18px; vertical-align: -3px; }
.stars.sm { width: 70px; height: 14px; background-size: 14px 14px; }
.stars-on { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5a524' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") repeat-x left / 18px 18px; }
.stars.sm .stars-on { background-size: 14px 14px; }
.p0 { width: 0; } .p10 { width: 10%; } .p20 { width: 20%; } .p30 { width: 30%; } .p40 { width: 40%; } .p50 { width: 50%; }
.p60 { width: 60%; } .p70 { width: 70%; } .p80 { width: 80%; } .p90 { width: 90%; } .p100 { width: 100%; }
.star-picker { display: inline-flex; gap: 2px; align-items: center; margin: 4px 0; }
.star-picker button { width: 30px; height: 30px; border: 0; padding: 0; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cbd2dc' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / 28px 28px no-repeat; position: relative; }
.star-picker button.full { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5a524' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E"); }
.star-picker button.half::after { content: ""; position: absolute; inset: 0 50% 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5a524' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") left center / 28px 28px no-repeat; }
.star-picker output { margin-left: 8px; font-weight: 600; min-width: 2.5em; }
@media (max-width: 820px) { .two, .detail, .how { grid-template-columns: 1fr; } .search { grid-template-columns: 1fr 1fr; } .search .input[type=search] { grid-column: 1 / -1; } .detail-side { position: static; } }
