/* skip-bo.de - inoffizielle Fanseite. Dunkles Petrol, Sand und Koralle. Fraunces (Überschriften) + Public Sans (Text), selbst gehostet. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --sand: #f6efe2; --sand2: #ece1cc; --sand3: #e0d1b5; --papir: #fffaf1; --petrol: #074a52; --petrol-dyb: #05343a; --petrol-lys: #2c6b72;
  --koral: #e8604a; --koral-dyb: #b8412f; --tekst: #17292b; --daemp: #4b5d5f; --linje: rgba(7, 74, 82, .16);
  --display: "Fraunces", Georgia, serif; --krop: "Public Sans", system-ui, sans-serif; --gutter: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--tekst); font: 400 1.0625rem/1.65 var(--krop); overflow-x: hidden; }
::selection { background: var(--petrol); color: var(--sand); }
a { color: var(--koral-dyb); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--koral); outline-offset: 2px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(100% - 2 * var(--gutter), 1080px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--petrol); color: var(--sand); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

.top { background: var(--petrol); color: var(--sand); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; min-height: 64px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b { display: block; font: 600 1.15rem/1.1 var(--display); }
.brand small { display: block; font-size: .78rem; color: var(--sand3); letter-spacing: .02em; }
.menu { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: .93rem; }
.menu a { color: var(--sand2); text-decoration: none; padding: 6px 0; }
.menu a[aria-current="page"], .menu a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--koral); text-decoration-thickness: 2px; }
@media (max-width: 760px) {
  .menu { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { white-space: nowrap; }
}

.indhold { width: min(100% - 2 * var(--gutter), 740px); margin-inline: auto; padding-bottom: 24px; }
.brod { font-size: .85rem; color: var(--daemp); margin: 22px 0 0; }
.brod a { color: var(--daemp); }
h1 { font: 650 clamp(2rem, 1.3rem + 3vw, 3.3rem)/1.05 var(--display); letter-spacing: -.025em; hyphens: auto; overflow-wrap: break-word; margin: 18px 0 16px; text-wrap: balance; color: var(--petrol-dyb); }
h2 { font: 600 clamp(1.35rem, 1.1rem + 1vw, 1.85rem)/1.2 var(--display); letter-spacing: -.015em; margin: 2.2em 0 .5em; text-wrap: balance; color: var(--petrol-dyb); }
h3 { font: 600 1.15rem/1.3 var(--display); margin: 1.8em 0 .35em; color: var(--petrol-dyb); }
p, li { max-width: 68ch; }
.ingress { font-size: 1.2rem; line-height: 1.55; color: var(--tekst); }
.svar { font-size: 1.15rem; background: var(--papir); border: 1px solid var(--linje); border-radius: 14px; padding: 16px 18px; }
.svar strong { color: var(--koral-dyb); }
ol, ul { padding-left: 1.3em; }
li { margin: .35em 0; }
li::marker { color: var(--koral-dyb); font-weight: 700; }
.trin { counter-reset: t; list-style: none; padding: 0; display: grid; gap: 10px; }
.trin li { counter-increment: t; position: relative; padding: 12px 14px 12px 54px; background: var(--papir); border: 1px solid var(--linje); border-radius: 14px; margin: 0; }
.trin li::before { content: counter(t); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--petrol); color: var(--sand); font: 600 .95rem/28px var(--display); text-align: center; }
.tabel-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--linje); border-radius: 12px; background: var(--papir); }
table { border-collapse: collapse; width: 100%; font-size: .97rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--linje); white-space: nowrap; }
th { font-weight: 700; color: var(--petrol-dyb); background: var(--sand2); }
tr:last-child td { border-bottom: 0; }
.diagram { margin: 1.4em 0; background: var(--petrol); border-radius: 16px; padding: 14px; max-width: 520px; }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { color: var(--sand2); font-size: .88rem; margin-top: 8px; }
.cta { display: grid; gap: 6px 18px; grid-template-columns: 1fr auto; align-items: center; margin: 2em 0; padding: 18px 20px; border-radius: 16px; background: var(--petrol-dyb); color: var(--sand); }
.cta p { margin: 0; max-width: 52ch; color: var(--sand2); font-size: .97rem; }
.cta strong { display: block; font: 600 1.2rem/1.25 var(--display); color: #fff; margin-bottom: 2px; }
.knap { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; background: var(--koral); color: #2a0d07; font-weight: 700; text-decoration: none; white-space: nowrap; }
.knap:hover { background: #f07a64; text-decoration: none; }
.knap.lys { background: var(--papir); color: var(--petrol-dyb); border: 1px solid var(--linje); }
@media (max-width: 560px) { .cta { grid-template-columns: 1fr; } .cta .knap { justify-self: start; } }
.sider { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--linje); }
.sider li { margin: 0; border-bottom: 1px solid var(--linje); max-width: none; }
.sider a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 4px; text-decoration: none; color: var(--tekst); }
.sider a b { font: 600 1.1rem/1.3 var(--display); color: var(--petrol-dyb); }
.sider a span { color: var(--daemp); font-size: .95rem; grid-column: 1; }
.sider a::after { content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 10px; height: 10px; border-top: 2px solid var(--koral-dyb); border-right: 2px solid var(--koral-dyb); transform: rotate(45deg); }
.sider a:hover b { text-decoration: underline; text-decoration-color: var(--koral); }
.note { font-size: .92rem; color: var(--daemp); }
.print-ark { background: var(--papir); border: 1px solid var(--linje); border-radius: 16px; padding: 20px; }
.print-ark h2:first-child { margin-top: 0; }

.bund { background: var(--petrol-dyb); color: var(--sand2); margin-top: 64px; padding: 36px 0 48px; font-size: .94rem; }
.bund-grid { display: grid; gap: 24px; grid-template-columns: 1.5fr 1fr 1fr; }
.bund h2 { font: 600 1rem/1.2 var(--display); color: #fff; margin: 0 0 10px; }
.bund ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bund li::marker { content: ""; }
.bund a { color: var(--sand2); }
.bund a:hover { color: #fff; }
.bund p { margin: 10px 0 0; max-width: 48ch; }
.marke { border-top: 1px solid rgba(246, 239, 226, .2); margin-top: 28px; padding-top: 18px; font-size: .86rem; color: var(--sand3); }
@media (max-width: 720px) { .bund-grid { grid-template-columns: 1fr 1fr; } .bund-grid > :first-child { grid-column: 1 / -1; } }

@media print {
  .top, .bund, .cta, .brod, .ikke-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .print-ark { border: 0; padding: 0; }
}
