@font-face {
  font-family: "Plade";
  src: url("/nummerplade/fonts/plate.woff2") format("woff2"), url("/nummerplade/fonts/plate.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Biloplysning";
  src: url("/fonts/inter-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --accent: #f0c400;
  --accent-ink: #1a1400;
  --eu: #8eb0ff;
  --eu-stripe: #1d3f9a;
  --plate: #f0c400;
  --focus: #f0c400;
  --ink: #f4f6f8;
  --muted: #a7b0bd;
  --bg: #090b10;
  --card: #141820;
  --card-2: #1c212b;
  --line: rgba(255, 255, 255, .12);
  --soft: #242a34;
  --ok: #3dbe86;
  --red: #c8102e;
  --red-d: #9e0c24;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html { background: var(--bg); }
html[data-tema="lys"] {
    color-scheme: light;
    --accent: #e2b400;
    --accent-ink: #1a1400;
    --eu: #1d3f9a;
    --focus: #1d3f9a;
    --ink: #14171c;
    --muted: #5c6570;
    --bg: #e7eaef;
    --card: #ffffff;
    --card-2: #f4f6f8;
    --line: rgba(20, 23, 28, .14);
    --soft: #e6e9ee;
    --ok: #0f7a45;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.5 var(--sans);
  color: var(--ink);
  background: var(--bg);
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 16px 8px;
}
.top .meta { display: flex; gap: 8px; align-items: center; }
.top .meta a, .top .meta button {
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font: 600 .92rem/1.2 var(--sans);
  cursor: pointer;
}
.top .meta button.tema-knap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--ink);
}
.tema-knap svg {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity .22s ease, transform .28s ease;
}
.tema-knap .tema-sol { opacity: 1; transform: rotate(0deg); }
.tema-knap .tema-maane { opacity: 0; transform: rotate(-50deg); }
html[data-tema="lys"] .tema-knap .tema-sol { opacity: 0; transform: rotate(50deg); }
html[data-tema="lys"] .tema-knap .tema-maane { opacity: 1; transform: rotate(0deg); }
.tema-knap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
  line-height: 1;
}
.brand img { width: 36px; height: 36px; display: block; }
.brand-navn { font-family: Biloplysning, var(--sans); }
.brand-bil { color: var(--ink); }
.brand-oplysning { color: #f0c400; }
.brand-dk { color: #a7b0bd; }
html[data-tema="lys"] .brand-oplysning { color: #7a5600; }
html[data-tema="lys"] .brand-dk { color: #5c6570; }
@media (max-width: 520px) {
  .brand { gap: 6px; font-size: 1.02rem; }
  .brand img { width: 30px; height: 30px; }
  .brand-dk { display: none; }
}
main { max-width: 720px; margin: 0 auto; padding: 8px 16px 24px; }
.visning[hidden] { display: none !important; }
.visning h1:focus { outline: none; }
.visning h1:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1 { font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.05; margin: 12px 0 8px; letter-spacing: -0.04em; font-weight: 800; }
.lead, .privacy { color: var(--muted); }
.privacy {
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
}
.foot .privacy {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}
form { display: grid; gap: 8px; margin: 18px 0; }
label { font-weight: 600; }
input {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  font: 600 1.3rem/1.2 "Plade", var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn-soft { background: var(--card); color: var(--ink); border-color: var(--line); }
.actions { display: grid; gap: 10px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.kamera { margin: 0 0 8px; }
.kamera-ramme {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #111;
  aspect-ratio: 16 / 9;
  max-height: 68vh;
  width: 100%;
}
.kamera-ramme video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.kamera-luk {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 14, 18, .78);
  color: #fff;
  cursor: pointer;
}
.kamera-luk svg { display: block; }
.kamera-status {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 64px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(12, 14, 18, .78);
  color: #fff;
  text-align: center;
}
.kamera-status.er-fejl {
  background: #9e0c24;
  font-weight: 700;
}
.kamera-knapper {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 64px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.kamera-knapper .btn {
  min-height: 44px;
  padding: 8px 12px;
  background: rgba(12, 14, 18, .78);
  color: #fff;
  border-color: transparent;
}
#zoomKnap[hidden] { display: none; }
@media (min-width: 821px) {
  body:has(.kamera:not([hidden])) main { max-width: 960px; }
}
@media (max-width: 820px) {
  body.kamera-aaben { overflow: hidden; }
  .kamera:not([hidden]) {
    position: fixed;
    z-index: 50;
    inset: 8px;
    inset: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    margin: 0;
    display: flex;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
  }
  .kamera:not([hidden]) .kamera-ramme {
    flex: 1;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border: 0;
    border-radius: 18px;
  }
  .kamera:not([hidden]) ~ #resultat:not([hidden]) {
    position: fixed;
    z-index: 52;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    max-height: 34vh;
    overflow: auto;
    margin: 0;
  }
}
.genkendelser { display: grid; gap: 10px; margin: 22px 0 8px; }
.genkendelser h2, .favoritter h2 { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.genkendelser p { margin: 0; color: var(--muted); }
.afbryder {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  font-weight: 600;
}
.afbryder input { width: 1.25rem; height: 1.25rem; accent-color: var(--accent); }
.genkendelsesliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.genkendelsesliste[hidden], #sletAlleGenkendelser[hidden] { display: none; }
.genkendelsesliste li {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.genkendelsesliste strong { display: block; font: 600 1.15rem/1.2 "Plade", var(--sans); letter-spacing: .04em; }
.genkendelsesliste span { color: var(--muted); }
.genkendelse-handlinger { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.genkendelse-handlinger a, .genkendelse-handlinger button { min-height: 44px; }
.genkendelse-handlinger button { padding: 8px 14px; }
.tom-kort {
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--muted);
}
#favoritterTom[hidden] { display: none; }
.favoritliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.favoritliste[hidden] { display: none; }
.favorit-raekke { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.favorit-aabn {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: 'billede plade' 'billede meta';
  gap: 4px 10px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  text-align: left;
}
.favorit-aabn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.favorit-mini { grid-area: billede; width: 120px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: center; border-radius: 8px; background: radial-gradient(ellipse at 50% 58%, #1b1b1b 0%, #111 72%); }
.plade-mini { grid-area: plade; justify-self: start; }
.favorit-meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: .92rem;
}
.favorit-meta span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plade-mini {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border: 2px solid #c8102e;
  border-radius: 6px;
  background: #fff;
  color: #14171c;
  font: 700 1rem/1 "Plade", var(--sans);
  letter-spacing: .04em;
}
.plade-mini-eu {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 1.15rem;
  padding: 5px 0 3px;
  background: #1d3f9a;
  color: #fff;
  font: 700 .5rem/1 var(--sans);
}
.plade-mini > span:last-child { display: flex; align-items: center; padding: 5px 8px; }
.favorit-raekke .btn { min-height: 44px; padding: 8px 12px; }
.sammenlign-badge {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.sammenlign-badge span {
  min-width: 1.4rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
}
.menu-ikon { position: relative; display: inline-flex; }
.menu-tal {
  position: absolute;
  top: -7px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 2px var(--bg);
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.menu-tal[hidden] { display: none !important; }
.bund a[aria-current="page"] .menu-tal { box-shadow: 0 0 0 2px var(--accent); background: #14171c; color: #f4f6f8; }
.bund {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 92%, transparent);
}
.bund a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  border-radius: 14px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}
.bund a svg { display: block; }
.bund a[aria-current="page"] { color: var(--accent-ink); background: var(--accent); }
.bund a[aria-current="page"] svg { stroke: currentColor; }
.bund a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (min-width: 900px), ((pointer: fine) and (min-width: 720px)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .top {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: calc(10px + env(safe-area-inset-top)) 20px 10px;
  }
  .bund {
    position: static;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: none;
    gap: 4px;
    margin: 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .bund a {
    flex-direction: row;
    min-height: 44px;
    padding: 6px 12px;
    font-size: .95rem;
    gap: 8px;
  }
  .bund a svg { width: 20px; height: 20px; }
  .sammenlign-badge { display: none; }
  main:has([data-visning="sammenlign"]:not([hidden])) { max-width: 1100px; }
}
.soeg-form { display: grid; gap: 10px; margin: 12px 0 16px; }
.soeg-form[hidden] { display: none; }
.soeg-form > button { width: 100%; }
.soeg-form label { display: grid; gap: 4px; font-size: .92rem; font-weight: 600; }
.soeg-form select, .soeg-form input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  font: 16px/1.3 var(--sans);
}
.soeg-interval { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.soeg-interval:has(select) { grid-template-columns: 1fr 1fr auto; }
.soeg-status { margin: 0 0 10px; color: var(--muted); }
.soeg-resultater { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.soeg-raekke { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.soeg-raekke .sammenlign-knap { align-self: center; min-height: 44px; }
.soege-kort {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  text-align: left;
}
.soege-kort:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.soege-kort img { width: 120px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: center; border-radius: 8px; background: radial-gradient(ellipse at 50% 58%, #1b1b1b 0%, #111 72%); }
.soege-tekst { min-width: 0; }
.soege-tekst strong { display: block; color: var(--ink); font: 700 1.05rem/1.2 "Plade", var(--sans); letter-spacing: .04em; }
.soege-tekst span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soege-detalje { color: var(--muted); font-size: .9rem; }
#soegMere, #soegFilterIgen { width: 100%; margin-top: 8px; min-height: 44px; }
#soegMere[hidden], #soegFilterIgen[hidden], #sammenlignTabel[hidden], #sammenlignTom[hidden], #sammenlignBane[hidden], #sammenlignHint[hidden] { display: none !important; }
.sammenlign-form { display: grid; gap: 8px; margin: 12px 0; }
.sammenlign-form button { min-height: 44px; }
.sammenlign-rul { overflow-x: auto; margin: 8px 0 24px; }
.sammenlign-tabel { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.sammenlign-tabel th, .sammenlign-tabel td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  background: var(--card);
  min-width: 9.5rem;
}
.sammenlign-etiket {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 8.2rem;
  max-width: 9rem;
  background: var(--bg);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 700;
}
.sammenlign-hoved { min-width: 11rem; }
.sammenlign-hoved img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 58%, #1b1b1b 0%, #111 72%);
}
.sammenlign-hoved .plade-mini, .sammenlign-hoved strong { display: block; margin: 8px 0; }
.sammenlign-tabel td.er-bedst { background: color-mix(in srgb, var(--ok) 24%, var(--card)); font-weight: 800; }
.spil-hint { display: none; margin: 0 0 8px; color: var(--muted); }
.spil-bane {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin: 8px 0 28px;
}
.spil-kort {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 8px solid var(--ramme, var(--accent));
  border-radius: 26px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  overflow: hidden;
}
.spil-kort.er-vinder {
  transform: translateY(-12px);
  box-shadow: 0 0 0 3px #f0c400, 0 18px 36px rgba(240, 196, 0, .35);
}
.spil-kort.er-tom { justify-content: center; min-height: 220px; padding: 16px; }
.spil-hoved {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--ramme) 28%, var(--card));
}
.spil-hoved h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  flex: 1;
  font-size: 1.05rem;
}
.spil-hoved h2 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spil-logo { width: 28px; height: 28px; }
.spil-bogstav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--eu-stripe);
  color: #fff;
  font-style: normal;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.spil-nr {
  flex: none;
  padding: 4px 8px;
  border-radius: 8px;
  background: #14171c;
  color: #f4f6f8;
  font-size: .85rem;
  letter-spacing: .04em;
}
.spil-billede {
  margin: 12px 12px 0;
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 58%, #1b1b1b 0%, #111 72%);
  border: 3px solid color-mix(in srgb, var(--ramme) 55%, #fff);
  overflow: hidden;
}
.spil-billede img { display: block; width: 100%; height: 168px; object-fit: cover; object-position: center; }
.spil-kort .plade-skilt { align-self: center; margin: 12px 0 4px; }
.spil-raekker { display: grid; padding: 4px 10px 8px; }
.spil-raekke {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 4px 2px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  font: 600 .92rem/1.2 var(--sans);
}
.spil-raekke svg { width: 16px; height: 16px; color: var(--muted); }
.spil-raekke span { color: var(--muted); }
.spil-vaerdi { font-variant-numeric: tabular-nums; font-weight: 700; }
.spil-vaerdi.er-bedst {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f0c400;
  color: #1a1400;
}
.spil-score {
  margin: 0;
  padding: 12px 10px 4px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -.02em;
}
.spil-kort.er-vinder .spil-score { color: #1a1400; background: #f0c400; padding-bottom: 12px; }
.spil-fjern { align-self: center; margin: 8px 0 12px; }
@media (max-width: 800px) {
  .spil-hint:not([hidden]) { display: block; }
  .spil-bane {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    gap: 12px;
    padding: 12px 4px 18px;
    margin-inline: -4px;
  }
  .spil-kort { flex: 0 0 84%; scroll-snap-align: start; }
  .spil-kort.er-vinder { transform: none; }
  .spil-billede img { height: 128px; }
}
.afgift-form { display: grid; gap: 10px; margin: 12px 0; }
.afgift-form label { display: grid; gap: 4px; font-weight: 600; }
.afgift-form input, .afgift-form select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); }
.afgift-form button { min-height: 44px; }
.afgift-kort { display: grid; gap: 8px; margin: 12px 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.afgift-stempel { margin: 0; color: var(--accent-ink); background: var(--accent); justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: .85rem; font-weight: 800; }
.afgift-kort strong { font-size: 1.6rem; letter-spacing: -0.03em; }
.afgift-kort p, .afgift-kort a { margin: 0; }
.afgift-afvig { color: var(--red); font-weight: 700; }
.model-link { color: var(--eu); font-weight: 700; }
.farve-prik {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--bilfarve, #111);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 35%, transparent);
  flex: none;
  vertical-align: middle;
}
.model-kort img { width: min(100%, 640px); aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: center; border-radius: 16px; background: radial-gradient(ellipse at 50% 58%, #1b1b1b 0%, #111 72%); }
.model-tal { font-size: 1.15rem; font-weight: 700; }
.model-links { display: flex; flex-wrap: wrap; gap: 12px; }
.model-soejler { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.model-soejler li { display: grid; grid-template-columns: 7rem 1fr auto; gap: 8px; align-items: center; }
.model-soejler i { display: block; height: 10px; border-radius: 99px; background: var(--accent); }
.model-soejler b { font-weight: 700; }
.soeg-raekke > .soege-kort { grid-column: 1; grid-row: 1; }
.soeg-raekke > .model-link { grid-column: 1; grid-row: 2; }
.soeg-raekke > .sammenlign-knap { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
@media (min-width: 900px) {
  .afgift-form { grid-template-columns: 1fr 1fr; }
  .afgift-form button { grid-column: 1 / -1; }
}
.felt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}
.felt input { border: 0; background: transparent; box-shadow: none; padding-right: 8px; }
.kamera-ikon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid transparent;
  background: var(--soft);
  color: var(--ink);
  flex: none;
}
.kamera-ikon svg { display: block; width: 24px; height: 24px; }
.sted-valg {
  max-width: min(22rem, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
}
.sted-valg::backdrop { background: rgba(12, 14, 18, .45); }
.sted-valg p { margin: 0 0 14px; }
.sted-valg-knapper { display: grid; gap: 8px; }
.forslag {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 16px 40px color-mix(in srgb, #000 32%, transparent);
  max-height: min(320px, 50dvh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.forslag[hidden] { display: none; }
.forslag [role="option"] {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 8px;
  border-radius: 12px;
  cursor: pointer;
}
.forslag [role="option"].er-valgt,
.forslag [role="option"]:hover { background: var(--soft); }
.forslag-skilt {
  display: inline-flex;
  align-items: stretch;
  flex: none;
  max-width: 62%;
  overflow: hidden;
  border: 2px solid #c8102e;
  border-radius: 6px;
  background: #fff;
  color: #14171c;
  font: 700 1rem/1 "Plade", var(--sans);
  letter-spacing: .04em;
}
.forslag-skilt.er-gul { background: #f0c400; }
.forslag-eu {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 1.15rem;
  padding: 5px 0 3px;
  background: #1d3f9a;
  color: #fff;
  font: 700 .5rem/1 var(--sans);
}
.forslag-skilt > span:last-child {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 5px 8px;
}
.forslag-match { background: #f0c400; color: #14171c; font-weight: 700; }
.forslag-skilt.er-gul .forslag-match { background: #14171c; color: #f0c400; }
.forslag-info {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kort {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}
.kort h2, .kort h3 { margin: 0 0 8px; }
.kort h3 { margin-top: 16px; font-size: 1rem; }
.kort-plade {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border: 3px solid var(--red);
  border-radius: 8px;
  background: #fff;
  color: #111;
  font: 600 1.6rem/1.3 "Plade", var(--sans);
  letter-spacing: 0.06em;
}
.kort dl { display: grid; grid-template-columns: minmax(8rem, 38%) 1fr; gap: 6px 12px; margin: 0; }
.kort dt { color: var(--muted); }
.kort dd { margin: 0; font-weight: 600; }
.kort-note, .kort-kilde { color: var(--muted); }
.foot {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 16px 24px;
  color: var(--muted);
  font-size: 0.9rem;
}
