:root {
  --ink: #17324a;
  --ink-soft: #3e566b;
  --navy: #1b4f73;
  --navy-deep: #143e5c;
  --gold: #a0792a;
  --gold-text: #6e4e12;
  --paper: rgba(255, 252, 248, 0.94);
  --line: rgba(23, 50, 74, 0.12);
  --sky: #7ec4ee;
  --warn-bg: #f8efd8;
  --warn: #7a5410;
  --good-bg: #e5f3ea;
  --good: #1d5c40;
  --shadow: 0 16px 40px rgba(22, 62, 96, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.55;
  background: #e7f5fc;
}
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--navy-deep); }
a:hover { color: #0e334d; }

.clouds {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../assets/sky.jpg") center top / cover no-repeat;
}
.sticky-stack, .crumb-wrap, main, .site-footer, .overlay, .noscript { position: relative; z-index: 1; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: white;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 8px; }

.sticky-stack {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: top 0.28s ease;
}
.sticky-stack.is-hidden {
  top: calc(var(--stack-h, 160px) * -1);
}
@media (prefers-reduced-motion: reduce) {
  .sticky-stack { transition: none; }
}

.showbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 4px 16px;
  background: #1a5278;
  color: #f7fbfe;
}
.showbar-nav {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 10px;
}
.showbar button {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 8px 6px;
  cursor: pointer;
  border-radius: 8px;
}
.showbar button:hover { background: rgba(255,255,255,0.12); }
.showbar .dot { opacity: 0.55; }
.now {
  grid-column: 3;
  justify-self: end;
  margin: 0;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 28vw;
  opacity: 0.95;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 22px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.65);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: 48px;
  width: auto;
  display: block;
  background: transparent;
  filter: drop-shadow(0 1px 2px rgba(20, 50, 80, 0.25));
}
.primary-nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 1.6vw, 28px);
  min-width: 0;
}
.primary-nav a,
.menu-toggle {
  text-decoration: none;
  font-weight: 750;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  padding: 8px 2px 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.primary-nav a:hover,
.menu-toggle:hover { border-bottom-color: var(--gold); }
.primary-nav a[aria-current="page"],
.menu-toggle[aria-current="page"],
.menu-toggle[aria-expanded="true"] { border-bottom-color: var(--navy); color: var(--navy); }
.menu-slot { position: relative; }
.subnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
}
.subnav[hidden] { display: none; }
body:has(#subnav:not([hidden])) .site-footer { display: none; }
.subnav-group {
  position: relative;
  display: block;
  width: 100%;
}
.subnav-group[hidden] { display: none; }
.subnav-toggle {
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid rgba(23, 50, 74, 0.16);
  background: rgba(255, 252, 248, 0.96);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}
.subnav-toggle[aria-expanded="true"] { color: var(--navy-deep); }
[data-sub="utforsk"] .subnav-toggle {
  padding: 26px 20px calc(30px + env(safe-area-inset-bottom));
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: var(--navy-deep);
  background: #fffdfb;
  border-top: 2px solid var(--navy);
}
body:has([data-sub="utforsk"]:not([hidden])) { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
.subnav-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  max-height: min(60vh, 480px);
  overflow: auto;
  padding: 22px 22px 18px;
  background: rgba(255, 252, 248, 0.98);
  border-top: 1px solid rgba(23, 50, 74, 0.08);
  box-shadow: 0 -18px 40px rgba(22, 62, 96, 0.12);
}
.subnav-panel[hidden] { display: none; }
.subnav-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  width: 100%;
}
.subnav-route-line {
  display: flex;
  justify-content: center;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 50, 74, 0.12);
}
.subnav-route-line a {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
}
.subnav .kommune-search {
  justify-content: center;
  margin-top: 18px;
}
.subnav .kommune-hint { margin-top: 10px; }
.subnav .kommune-results {
  position: static;
  width: auto;
  max-height: 240px;
  margin-top: 12px;
  box-shadow: none;
}
.subnav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--navy-deep);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.subnav a:hover { border-bottom-color: var(--gold); }
.subnav a[aria-current="page"] { border-bottom-color: var(--navy); color: var(--navy); }
.side-menu {
  display: none;
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  padding: 8px;
  background: rgba(255, 252, 248, 0.98);
  border: 1px solid rgba(23, 50, 74, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.side-menu.open { display: block; }
.side-menu nav { display: grid; gap: 2px; }
.side-menu a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  border-bottom: 0;
}
.side-menu a:hover { background: rgba(27, 79, 115, 0.08); border-bottom-color: transparent; }
.side-menu a[aria-current="page"] { background: var(--navy); color: white; }

.kommune-search {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kommune-search label {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-deep);
  white-space: nowrap;
}
.kommune-search input {
  width: min(280px, 42vw);
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: white;
}
.kommune-hint {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}
.kommune-results {
  position: absolute;
  z-index: 35;
  left: 0;
  top: calc(100% + 8px);
  width: min(860px, calc(100vw - 28px));
  max-height: min(78vh, 860px);
  overflow: auto;
  padding: 12px;
  background: rgba(255, 252, 248, 0.98);
  border: 1px solid rgba(23, 50, 74, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.kommune-results[hidden] { display: none; }
.kommune-status,
.kommune-credit {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.kommune-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0;
}
.kommune-credit { margin-top: 4px; }
.kommune-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: auto;
  margin: 0;
  padding: 14px 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
}
.kommune-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.kommune-card strong {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 18px;
  line-height: 1.25;
}
.kommune-card img {
  width: 72px;
  height: 86px;
  object-fit: contain;
  flex: 0 0 auto;
}
.kommune-card h3 {
  margin: 14px 0 6px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.kommune-card h4 {
  margin: 0 0 4px;
  font-size: 16.5px;
}
.kommune-card p {
  margin: 0 0 10px;
  font-size: 15.5px;
}
.kjent-liste {
  margin: 0;
  padding-left: 1.2em;
}
.kjent-liste li { margin: 0 0 10px; }
.kjent-liste li p { margin: 0; }
.nabo-block { margin-top: 8px; }
.nabo-note { color: var(--ink-soft); font-size: 14.5px; }
.nabo-valg,
.nabo-kjerre {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}
.nabo-valg button,
.nabo-kjerre button,
.nabo-reset {
  font: inherit;
  font-size: 15px;
  line-height: 1.3;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy-deep);
  cursor: pointer;
  text-align: left;
}
.nabo-valg button:hover,
.nabo-kjerre button:hover,
.nabo-reset:hover { border-color: var(--navy); }
.nabo-kjerre button.is-on {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.nabo-valg button span { font-weight: 700; }
.nabo-valg button small { color: var(--ink-soft); font-weight: 600; margin-left: 4px; }
.nabo-valg button.er-sjo { background: #f3f8fb; }
.nabo-pil { color: var(--ink-soft); font-weight: 700; }
.nabo-reset {
  margin: 0 0 12px;
  background: transparent;
  font-size: 14px;
}

.demo-mark {
  margin: 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.72);
  padding: 6px 14px 8px;
  border-bottom: 2px solid rgba(160, 121, 42, 0.55);
}
#demo-slot:empty { display: none; }
.demo-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid rgba(160, 121, 42, 0.28);
}
.demo-bar p { margin: 0; }
.demo-bar strong { font-weight: 700; }
.demo-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.crumb-wrap {
  max-width: 1080px;
  margin: 14px auto 0;
  padding: 0 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.crumb-wrap ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.crumb-wrap li { display: flex; gap: 6px; align-items: center; }
.crumb-wrap li:not(:last-child)::after { content: "→"; color: #5e7890; }
.crumb-wrap a { color: var(--navy); text-decoration: none; }
.crumb-wrap a:hover { text-decoration: underline; }

main { padding: 8px 16px 36px; outline: none; }
.sheet {
  max-width: 1040px;
  margin: 12px auto 0;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sheet-quiet {
  background: transparent;
  box-shadow: none;
  max-width: none;
  margin-top: 0;
  overflow: visible;
}
.sheet-quiet.sheet-wide { max-width: 1240px; }
.quiet-stage {
  min-height: calc(100vh - var(--stack-h, 120px) - 88px);
  display: grid;
  place-items: center;
  padding: 24px 16px 8px;
}
.quiet-mark {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
}
.quiet-stage.quiet-choices { gap: 22px; }
.quiet-choice-list {
  display: grid;
  gap: 10px;
  width: min(420px, 100%);
}
.quiet-choice-list a {
  display: grid;
  place-items: center;
  min-height: 48px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--navy);
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
}
.quiet-choice-list a:hover { border-color: rgba(27, 79, 115, 0.35); }
.quiet-stage.quiet-spill {
  min-height: calc(100vh - var(--stack-h, 120px) - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0 12px;
}
.spill-picks {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.spill-pick {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(22, 62, 96, 0.06);
}
.spill-pick:hover { border-color: rgba(27, 79, 115, 0.35); transform: translateY(-1px); }
.spill-pick img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #e7f5fc;
}
.spill-pick span {
  display: block;
  padding: 12px 14px 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.spill-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}
.spill-more a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
.opp {
  min-height: calc(100vh - var(--stack-h, 120px) - 88px);
  display: grid;
  place-items: center;
  padding: 12px 16px 8px;
}
.opp-step,
.opp-result {
  width: min(420px, 100%);
  text-align: center;
}
.opp-step.is-wide { width: min(760px, 100%); }
.opp-hero {
  width: min(420px, 100%);
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin: 0 auto 16px;
}
.opp-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.opp h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.15;
  margin: 0 0 22px;
}
.opp-choices {
  display: grid;
  max-height: calc(100vh - var(--stack-h, 150px) - 250px);
  overflow: auto;
}
.opp-choices button {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(23, 50, 74, 0.14);
  padding: 13px 8px;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.opp-choices button:last-child { border-bottom: 1px solid rgba(23, 50, 74, 0.14); }
.opp-choices button[aria-pressed="true"] { color: var(--navy); font-weight: 750; }
.opp-choices.is-media {
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  max-height: calc(100vh - var(--stack-h, 150px) - 310px);
}
.opp-choices.is-media button,
.opp-choices.is-media button:last-child {
  border: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  justify-items: center;
  color: var(--ink);
  letter-spacing: 0.03em;
  background: transparent;
}
.opp-choices.is-media button img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.opp-choices.is-media button[aria-pressed="true"] { color: var(--navy); }
.opp-choices.is-media button[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--navy); }
.opp-choices.is-flags button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.opp-choices.is-flags img {
  width: 36px;
  height: 24px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(23, 50, 74, 0.28);
  flex: 0 0 auto;
}
.opp-go,
.opp-again,
.opp-listen {
  display: block;
  width: fit-content;
  margin: 22px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.opp-back {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
}
.opp-note,
.opp-meta {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.sheet-quiet .norge-map,
.sheet-quiet .norge-side {
  height: calc(100vh - var(--stack-h, 140px) - 200px);
  max-height: none;
  min-height: 360px;
}
.sheet-quiet .norge-layout.is-map .norge-map {
  height: calc(100vh - var(--stack-h, 140px) - 132px);
}
.sheet-body { padding: 26px 28px 32px; }
.hero { margin: 0; position: relative; background: #d5e8f4; }
.hero img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.hero.short img { height: 210px; }
.hero.tall img { height: 440px; }
.hero figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 36px 22px 12px;
  color: white;
  font-size: 14.5px;
  background: linear-gradient(transparent, rgba(12, 32, 48, 0.78));
}
.photo-credit { opacity: 0.9; }

.kicker {
  margin: 0 0 6px;
  color: var(--gold-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.15; margin: 0 0 10px; }
h2 { font-size: 28px; margin: 0 0 8px; }
h3 { font-size: 22px; margin: 0 0 6px; }
.lead { font-size: 19.5px; color: var(--ink-soft); margin: 0 0 16px; max-width: 68ch; }
.answer {
  background: #f4f9fc;
  border-left: 4px solid var(--navy);
  padding: 14px 16px;
  border-radius: 0 14px 14px 0;
  margin: 0 0 18px;
}
.answer strong { display: block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.flag, .note, .ribbon {
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 16px;
  font-size: 15.5px;
}
.flag { background: var(--warn-bg); color: #4e3910; }
.note { background: #f7f1e6; color: var(--warn); }
.ribbon { background: #e7f1f8; color: var(--navy-deep); }
.good { background: var(--good-bg); color: var(--good); border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; }

.sections { display: grid; gap: 14px; margin: 8px 0 18px; }
.sections h3 { font-family: var(--sans); font-size: 16px; letter-spacing: 0; font-weight: 700; margin: 0 0 4px; }
.sections p { margin: 0; max-width: 72ch; }

.card-grid, .entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 18px;
}
.card, .entry {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 6px 16px rgba(22, 62, 96, 0.05);
}
.card:hover, .entry:hover { border-color: rgba(27, 79, 115, 0.35); transform: translateY(-1px); }
.card img, .entry img { width: 100%; height: 150px; object-fit: cover; display: block; }
.card div, .entry div { padding: 12px 14px 14px; }
.card h3, .entry h3 { font-family: var(--sans); font-size: 18px; margin: 0 0 4px; }
.card p, .entry p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.card-badge {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f4ead2;
  color: #4e3910;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.choice-list { display: grid; gap: 10px; margin: 8px 0 18px; }
.choice {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.choice:hover { border-color: var(--navy); }
.choice strong { display: block; font-size: 18px; }
.choice span { color: var(--ink-soft); }
.sok-query {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  font-weight: 700;
}
.sok-query span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.inn-list { display: grid; gap: 8px; margin: 0 0 8px; }
.inn-row {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
}
.inn-row:hover { border-color: var(--navy); }
.inn-row strong { font-size: 17px; }
.inn-row em, .inn-row span { font-style: normal; color: var(--ink-soft); font-size: 15px; }

.facts { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 8px 14px; margin: 8px 0 18px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.bullets { margin: 8px 0 18px; padding-left: 18px; }
.bullets li { margin: 4px 0; }

.sources { font-size: 15px; color: var(--ink-soft); margin: 8px 0 16px; }
.sources h3 { font-family: var(--sans); font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.commercial {
  margin-top: 8px;
  border: 1px dashed rgba(27, 79, 115, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.7);
}
.commercial small { display: block; color: var(--gold-text); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  background: var(--navy);
  color: white;
}
.btn:hover { background: var(--navy-deep); color: white; }
.btn.ghost { background: transparent; color: var(--navy-deep); border-color: rgba(27, 79, 115, 0.35); }
.btn.ghost:hover { background: white; color: var(--navy-deep); }
.btn.small { min-height: 40px; padding: 6px 12px; font-size: 15px; }
.text-btn {
  background: transparent;
  border: 0;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.home { max-width: 1040px; margin: 8px auto 0; }
.home-logo {
  display: block;
  width: min(680px, 100%);
  height: auto;
  margin: 8px auto 18px;
  background: transparent;
  filter: drop-shadow(0 8px 16px rgba(18, 58, 96, 0.18));
}
.home-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 22px;
}
.tagline {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 8px;
}
.search {
  display: flex;
  gap: 8px;
  margin: 8px 0 6px;
}
.search input {
  flex: 1;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(23, 50, 74, 0.2);
  padding: 0 16px;
  background: white;
}
.fine { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; }
.home-results { margin: 4px 0 16px; }
#home-results .choice-list { margin-top: 0; }
.entry-row { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 4px; }
.entry-row a { font-weight: 700; }

.split {
  max-width: 1080px;
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.half {
  position: relative;
  min-height: 460px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: white;
  box-shadow: var(--shadow);
}
.half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.half div {
  position: relative;
  padding: 28px 22px;
  background: linear-gradient(transparent, rgba(10, 28, 44, 0.82));
  width: 100%;
}
.half h2 { color: white; font-size: 36px; margin: 0 0 6px; }
.half p { margin: 0; font-size: 17px; }
.split-follow { max-width: 1040px; margin: 14px auto 0; }

.chat {
  display: grid;
  gap: 10px;
  margin: 8px 0 16px;
}
.bubble {
  max-width: min(640px, 92%);
  padding: 12px 14px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
}
.bubble.user { margin-left: auto; background: #e7f2fa; }
.bubble small { display: block; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.bubble-lang {
  display: inline-block;
  margin-left: 6px;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  color: #4e3910;
  background: #f4ead2;
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: 1px;
}
.chat-input {
  display: flex;
  gap: 8px;
}
.chat-input input {
  flex: 1;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 16px;
  background: #f4f7f8;
}

.player {
  background: white;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.sponsor-mark {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4ead2;
  color: #4e3910;
  font-size: 15px;
}
.game-sponsor { margin: 14px 0 0; }
.pakke-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.pakke-filter span { font-weight: 700; }
.pakke-filter button, .pakke-pods button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 700;
}
.pakke-filter button.is-on, .pakke-pods button.is-on { background: var(--navy); color: white; border-color: var(--navy); }
.pakke-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.pakke-cat h2 { font-family: var(--sans); font-size: 18px; margin: 0 0 8px; }
.pakke-card {
  display: grid;
  gap: 2px;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  margin: 0 0 8px;
  cursor: pointer;
}
.pakke-card.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.pakke-card span, .pakke-card em { font-style: normal; color: var(--ink-soft); font-size: 13px; }
.pakke-sum {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin: 8px 0 14px;
}
.pakke-sum h2 { font-family: var(--sans); font-size: 22px; margin: 0 0 6px; }
.pakke-sum .sum { font-family: var(--serif); font-size: 32px; margin: 8px 0; }
.pakke-lines { list-style: none; margin: 8px 0; padding: 0; }
.pakke-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.pakke-pods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pakke-map { margin-top: 8px; }
.pakke-offer { display: grid; gap: 6px; margin-bottom: 10px; }
.pakke-offer .btn { justify-self: start; }
.marked-picks { display: grid; gap: 8px; margin: 0 0 14px; }
.marked-picks button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
}
.marked-picks button.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.marked-picks strong { font-size: 17px; }
.marked-picks span, .marked-card .fine, .marked-qr .fine { color: var(--ink-soft); }
.marked-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 12px; margin: 0 0 16px; }
.marked-card, .marked-qr, .marked-slot-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.marked-card h2, .marked-qr h2, .marked-slot-card h2 { font-family: var(--sans); font-size: 22px; margin: 0 0 6px; }
.marked-slot-card { margin: 8px 0 16px; }
.qr-fake {
  width: 96px;
  height: 96px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.qr-fake span { background: var(--navy); border-radius: 1px; }
.qr-fake span.off { background: transparent; }
.pakke-activities { grid-column: 1 / -1; margin-top: 8px; }
.pakke-activities h2 { font-family: var(--sans); font-size: 18px; margin: 0 0 8px; }
.pakke-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.kurv, .poeng-live, .pass-buy { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 8px 0 14px; }
.pass-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.pass-card { background: #fffdfb; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.pass-card.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.pass-card h2 { font-family: var(--sans); font-size: 20px; margin: 0; }
.pass-card .sum { font-family: var(--serif); font-size: 32px; line-height: 1; margin: 0; }
.pass-card p { margin: 0; }
.pass-card .btn { align-self: flex-start; }
.kurv h2, .poeng-live h2 { font-family: var(--sans); font-size: 22px; margin: 12px 0 6px; }
.poeng-sum { font-family: var(--serif); font-size: 48px; line-height: 1; margin: 0 0 8px; }
.kurv-lines { list-style: none; margin: 8px 0; padding: 0; }
.kurv-lines li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.kurv-qty { display: flex; gap: 4px; }
.kurv-qty button { min-width: 36px; min-height: 36px; border-radius: 8px; border: 1px solid var(--line); background: white; cursor: pointer; font-weight: 700; }
.pakke [data-pakke-script] { margin-bottom: 8px; }
.player-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.scrub {
  display: block;
  height: auto;
  background: transparent;
  margin: 14px 0 4px;
}
.scrub input[type="range"] {
  width: 100%;
  accent-color: var(--navy);
  cursor: pointer;
}
.player-time {
  margin: 0 0 8px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.chapters { list-style: none; padding: 0; margin: 0; }
.chapters li { border-top: 1px solid var(--line); }
.chapters button.chapter,
.chapters li > span {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  font: inherit;
}
.chapters button.chapter { cursor: pointer; border-radius: 8px; }
.chapters button.chapter:hover { color: var(--navy-deep); }

.bergen { margin-bottom: 16px; }
.bergen-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; margin-bottom: 10px; }
.bergen-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.bergen-modes button {
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(27, 79, 115, 0.35);
  background: white;
  cursor: pointer;
  font-weight: 700;
}
.bergen-modes button[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.bergen-layout { display: grid; grid-template-columns: 1.45fr 0.8fr; gap: 14px; align-items: start; }
.bergen-map { height: min(62vh, 560px); min-height: 420px; border-radius: 16px; background: #d5e4ee; }
.sheet-wide { max-width: 1240px; }
.norge-layout { grid-template-columns: 1.7fr 0.75fr; }
.norge-layout.is-map { grid-template-columns: 1fr; }
.norge-map { height: min(78vh, 860px); min-height: 560px; }
.norge-side { max-height: min(78vh, 860px); overflow: auto; }
.route-search { display: flex; flex-direction: column; gap: 6px; margin: 0 0 8px; }
.route-search label { font-weight: 700; font-size: 15px; color: var(--navy-deep); }
.route-search input {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: white;
}
.route-hits {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.route-hits[hidden] { display: none; }
.route-hits li + li { border-top: 1px solid var(--line); }
.route-hits p { margin: 0; padding: 10px 12px; color: var(--ink-soft); }
.route-hits button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.route-hits button:hover { background: rgba(27, 79, 115, 0.08); }
.route-hits small { color: var(--ink-soft); font-size: 13px; }
.norge-stops { list-style: none; padding: 0; margin: 0 0 12px; }
.norge-stops li { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.norge-stops button.linkish { border: 0; background: transparent; color: var(--navy-deep); font-weight: 700; cursor: pointer; text-align: left; padding: 0; }
.norge-route { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 0 0 10px; background: white; }
.norge-route.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.norge-route h3 { font-family: var(--sans); font-size: 16px; margin: 0 0 4px; }
.route-pod { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.route-pod h3 { font-family: var(--sans); font-size: 16px; margin: 0 0 6px; }
.route-pod-picks { display: grid; gap: 8px; margin: 8px 0; }
.route-pod-picks label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.route-pod-picks select { min-height: 40px; border-radius: 10px; border: 1px solid var(--line); background: white; padding: 0 8px; }
.route-pod-list { list-style: none; padding: 0; margin: 8px 0; }
.route-pod-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.route-pod-list small { display: block; color: var(--ink-soft); }
.route-pod-list button { margin-top: 4px; }
.route-pod-text p { margin: 0 0 8px; font-size: 15px; }
.norge-num span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: white; font-weight: 700; font-size: 13px;
  box-shadow: 0 0 0 2px white;
}
.norge-num span.is-current { background: var(--gold-text); }
.norge-road-label span {
  font-weight: 800; font-size: 12px; color: #1d5c40;
  background: rgba(255,255,255,0.88); padding: 0 4px; border-radius: 4px;
}
.norge-name span {
  font-weight: 700; font-size: 12px; color: var(--navy-deep);
  text-shadow: 0 0 3px #fff, 0 0 3px #fff;
}
.bergen-side h2 { font-family: var(--sans); font-size: 22px; margin: 0 0 6px; }
.bergen-side p { margin: 0 0 10px; }
.bergen-choices { display: grid; gap: 8px; margin-bottom: 10px; }
.bergen-choice {
  display: grid;
  gap: 2px;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
}
.bergen-choice.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.bergen-choice span, .bergen-choice small, .bergen-stops span { color: var(--ink-soft); }
.bergen-choice small { font-size: 14px; }
.bergen-stops, .bergen-steps { margin: 0 0 12px; padding-left: 18px; }
.bergen-stops li, .bergen-steps li { margin: 4px 0; }
.bergen-stops li span { display: block; }
.bergen-note {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 8px 0;
}
.bergen-note.is-on { border-color: var(--navy); }
.bergen-note header { display: flex; justify-content: space-between; gap: 8px; }
.bergen-note header span { color: var(--gold-text); font-size: 14px; }
.bergen-form { display: grid; gap: 8px; margin: 8px 0 12px; }
.bergen-form label, .bergen-form input, .bergen-form textarea { display: block; width: 100%; }
.bergen-form input, .bergen-form textarea {
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: white;
}
.bergen-form fieldset { border: 1px solid var(--line); border-radius: 12px; }
.bergen-form fieldset label { display: flex; gap: 8px; align-items: center; width: auto; margin: 4px 0; }
.bergen-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bergen-arrival { background: var(--good-bg); border-radius: 14px; padding: 12px; }
.bergen-label { background: rgba(255,255,255,.92); border: 0; box-shadow: none; color: var(--ink); font-weight: 700; }
.bergen-pin { background: transparent; border: 0; }
.bergen-pin span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  font-size: 13px;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(23, 50, 74, 0.35);
}
.rute .bergen-side { max-height: min(62vh, 560px); overflow: auto; }
.rute-score { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.rute-score p { margin: 0; }
.rute-score strong { font-family: var(--serif); font-size: 32px; }
.rute-stops { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.rute-stop {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 8px;
  align-items: center;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 8px;
  cursor: pointer;
}
.rute-stop.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.rute-stop em { font-style: normal; color: var(--ink-soft); font-size: 13px; }
.rute-story h2 { font-family: var(--sans); font-size: 22px; margin: 0 0 4px; }
.rute-story p { margin: 0 0 8px; }
.rute-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.rute-actions button[disabled] { opacity: 0.45; cursor: not-allowed; }
.rute-story details { margin: 8px 0 12px; }
.rute-story summary { cursor: pointer; font-weight: 700; }
.rute-rewards { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }
.rute-rewards h2 { font-family: var(--sans); font-size: 20px; margin: 0 0 6px; }
.leaflet-container { font-family: var(--sans); border-radius: 16px; }

.map-wrap { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 14px; margin-bottom: 16px; }
.map-svg { width: 100%; height: auto; border-radius: 16px; background: #badcf0; display: block; }
.map-credit { margin: 8px 2px 0; font-size: 13px; color: var(--ink-soft); }
.map-side { display: grid; align-content: start; gap: 8px; }
.pin-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
}
.pin-kind, .map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pin-kind { display: flex; width: fit-content; margin-bottom: 4px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.pin-kind i, .map-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(23, 50, 74, 0.28);
}
.dagen-places { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.dagen-places button {
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(27, 79, 115, 0.35);
  background: white;
  cursor: pointer;
  font-weight: 700;
}
.dagen-places button[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.dagen-day { margin: 0 0 12px; color: var(--ink-soft); }
.dagen-callout {
  background: var(--warn-bg);
  color: #4e3910;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.dagen-callout strong { display: block; margin-bottom: 4px; }
.dagen-block { margin: 0 0 18px; }
.dagen-block h2 { font-family: var(--sans); font-size: 22px; margin: 0 0 8px; }
.dagen-list, .dagen-news { list-style: none; padding: 0; margin: 0; }
.dagen-list { display: grid; gap: 8px; }
.dagen-list li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}
.dagen-list p { margin: 4px 0 0; }
.dagen-kind {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 8px;
  margin: 0 8px 4px 0;
}
.dagen-kind.toalett { background: #e7f0f6; color: #1b4f73; }
.dagen-kind.wifi { background: var(--good-bg); color: var(--good); }
.dagen-kind.buss { background: #f8efe4; color: #8a4b12; }
.dagen-news { padding-left: 1.15em; list-style: disc; }
.dagen-news li { margin: 0 0 6px; }
.dagen-weather {
  background: #f7fbfe;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.dagen-weather strong { display: block; font-size: 20px; }
.dagen-weather span { color: var(--ink-soft); }
.lytt-block { margin: 0 0 18px; }
.lytt-block h2 { font-family: var(--sans); font-size: 22px; margin: 0 0 8px; }
.lytt-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.lytt-picks button {
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(27, 79, 115, 0.35);
  background: white;
  cursor: pointer;
  font-weight: 700;
}
.lytt-picks button[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.lytt-picks button:disabled { opacity: 0.4; cursor: not-allowed; }
.lytt-range { display: grid; gap: 6px; margin-top: 10px; max-width: 520px; }
.lytt-range input { width: 100%; accent-color: var(--navy); }
.lytt-result {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.lytt-result ol { margin: 8px 0 0; padding-left: 1.2em; }
.lytt-result li { margin: 0 0 10px; }
.lytt-result li span { display: block; color: var(--ink-soft); }

.game-board {
  background: #f7fbfe;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
}
.snake {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  max-width: 420px;
}
.snake i {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  background: #d7ebc8;
}
.snake-live { max-width: 560px; }
.snake-hud {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
.snake-hud p { margin: 0; }
.snake-live canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #e7f5fc;
  border: 1px solid var(--line);
  touch-action: none;
}
.snake-pad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 92px));
  grid-template-areas: ". up ." "left down right";
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.snake-pad button {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
.snake-pad [data-dir="up"] { grid-area: up; }
.snake-pad [data-dir="left"] { grid-area: left; }
.snake-pad [data-dir="down"] { grid-area: down; }
.snake-pad [data-dir="right"] { grid-area: right; }
.snake-again { margin-top: 12px; }
.tetris-live { max-width: 360px; }
.tetris-live canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #e7f5fc;
  border: 1px solid var(--line);
  touch-action: none;
}
.tetris-pad {
  max-width: 360px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: ". rot ." "left down right" "drop drop drop";
}
.tetris-pad [data-act="rot"] { grid-area: rot; }
.tetris-pad [data-act="left"] { grid-area: left; }
.tetris-pad [data-act="down"] { grid-area: down; }
.tetris-pad [data-act="right"] { grid-area: right; }
.tetris-pad [data-act="drop"] { grid-area: drop; }
.snake i.on { background: #2f7d45; }
.snake i.head { background: #1d5c34; }
.snake i.bit { background: #c4493a; }
.dice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.die {
  width: 54px; height: 54px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 4px 0 rgba(23,50,74,0.06);
}
.yatzy-live, .quiz-live { max-width: 720px; }
.yatzy-setup { display: grid; gap: 8px; max-width: 420px; margin-bottom: 12px; }
.yatzy-setup label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.yatzy-setup input {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0 10px;
  font-weight: 400;
}
.yatzy-turn { font-weight: 700; margin: 0 0 8px; }
.dice-play { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.dice-play button {
  width: 58px;
  height: 58px;
  font-size: 34px;
  line-height: 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
.dice-play button.is-held { background: #1b4f73; color: white; border-color: #1b4f73; }
.dice-play button:disabled { cursor: default; opacity: 0.85; }
.yatzy-sheet { background: white; }
.yatzy-sheet th, .yatzy-sheet td { padding: 5px 8px; }
.yatzy-sheet td { text-align: right; }
.yatzy-sheet th.is-turn { color: var(--navy); }
.yatzy-sheet button {
  min-height: 32px;
  min-width: 52px;
  border-radius: 8px;
  border: 1px solid var(--navy);
  background: white;
  cursor: pointer;
  font-weight: 700;
}
.yatzy-sum th, .yatzy-total th { font-size: 14px; }
.yatzy-total td, .yatzy-total th { font-weight: 700; }
.quiz-count { display: flex; gap: 8px; }
.quiz-count button, .quiz-options-live button {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
.quiz-count button { min-width: 48px; font-weight: 700; }
.quiz-count button.is-on { background: var(--navy); color: white; border-color: var(--navy); }
.quiz-q { font-family: var(--sans); font-size: 22px; margin: 0 0 8px; }
.quiz-options-live { display: grid; gap: 8px; margin-bottom: 12px; }
.quiz-options-live button { text-align: left; padding: 10px 12px; }
.quiz-options { display: grid; gap: 8px; }
.quiz-options div, .room-code {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.room-code { font-family: var(--serif); font-size: 32px; letter-spacing: 0.08em; text-align: center; }

.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 8px 0 18px; }
.price {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.price.featured { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(27,79,115,0.15); }
.price .sum { font-family: var(--serif); font-size: 32px; margin: 6px 0; }
.price ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-soft); }

.table-wrap { overflow-x: auto; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; background: white; font-size: 15.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }

.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 18px; }
.flow span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
}
.flow i { color: var(--gold-text); font-style: normal; }

.pay-grid { display: grid; gap: 10px; max-width: 460px; margin-bottom: 8px; }
.pay-grid label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.pay-grid input {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0 10px;
  background: #f4f7f8;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip {
  background: white;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-size: 14.5px;
}

.site-footer {
  max-width: 1040px;
  margin: 0 auto 28px;
  padding: 8px 18px 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 8px; }
.site-footer a { color: var(--navy-deep); font-weight: 650; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 8px; max-width: 78ch; }

.overlay[hidden] { display: none; }
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(16, 40, 60, 0.46);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 16px;
}
.dialog {
  width: min(920px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: #fffdf9;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px 18px 24px;
}
.dialog-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.icon-btn {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  min-height: 40px;
  padding: 6px 12px;
  cursor: pointer;
}
.dir-search { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; margin: 8px 0 14px; }
.dir details { border-top: 1px solid var(--line); padding: 8px 0; }
.dir summary { cursor: pointer; font-weight: 750; padding: 6px 0; }
.dir ul { list-style: none; padding: 0; margin: 6px 0 8px; }
.dir li a { display: flex; justify-content: space-between; gap: 12px; text-decoration: none; padding: 6px 2px; color: var(--ink); }
.dir li a:hover { text-decoration: underline; }
.dir .sid { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.demo-card {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 8px 0;
  cursor: pointer;
}
.demo-card:hover { border-color: var(--navy); }
.credits li { margin: 8px 0; }
.sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

:focus-visible {
  outline: 3px solid #e2b34d;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .showbar { display: flex; flex-wrap: wrap; justify-content: center; }
  .showbar-nav, .now { grid-column: auto; justify-self: auto; max-width: 100%; }
  .site-header { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; padding: 10px 12px; }
  .brand { margin-right: auto; }
  .primary-nav { flex: 1 1 100%; gap: 14px 28px; justify-content: center; flex-wrap: wrap; }
  .primary-nav a, .menu-toggle { font-size: 15px; }
  .subnav-panel { padding-left: 16px; padding-right: 16px; }
  .kommune-search { flex: 1 1 100%; max-width: 100%; min-width: 0; justify-content: center; }
  .kommune-search input { flex: 1 1 auto; width: min(220px, 52vw); min-width: 0; }
  .now { max-width: 100%; }
  .price-grid, .pass-grid, .map-wrap, .bergen-layout, .card-grid, .entry-grid, .split, .pakke-cats, .marked-split { grid-template-columns: 1fr; }
  .bergen-map { height: 48vh; min-height: 320px; }
  .norge-map { height: 62vh; min-height: 380px; }
  .norge-side { max-height: none; }
  .rute .bergen-side { max-height: none; }
  .half { min-height: 280px; }
  .facts { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { overflow-x: hidden; }
  .showbar {
    display: block;
    min-height: 0;
    padding: 2px 0;
  }
  .showbar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    min-width: 0;
    padding: 0 8px;
    gap: 0 4px;
  }
  .showbar button {
    padding: 9px 7px;
    font-size: 13px;
    white-space: nowrap;
  }
  .now { display: none; }
  .site-header { padding: 6px 12px 0; gap: 0 8px; }
  .brand img { height: 34px; }
  .primary-nav { gap: 0 14px; padding: 2px 0 4px; }
  .primary-nav a, .menu-toggle { font-size: 15px; padding: 8px 0 6px; }
  .demo-mark { font-size: 12px; line-height: 1.35; padding: 5px 12px 6px; }
  main { padding: 4px 12px 12px; }
  .sheet-body, .home-card { padding: 18px 16px 22px; }
  .home-logo { width: min(280px, 78%); margin: 4px auto 10px; }
  .hero img { height: 200px; }
  .hero.tall img { height: 240px; }
  .search, .chat-input { flex-direction: column; }
  .search input, .chat-input input, .kommune-search input { font-size: 16px; }
  h1 { font-size: 32px; }
  .opp { min-height: 0; padding: 2px 0 0; }
  .opp-kicker { margin-bottom: 8px; }
  .opp h1 { margin-bottom: 12px; }
  .opp-hero { height: 168px; }
  .opp-choices { max-height: calc(100vh - var(--stack-h, 160px) - 200px); }
  .opp-choices button { min-height: 48px; }
  .opp-choices.is-media {
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: calc(100vh - var(--stack-h, 160px) - 230px);
  }
  .opp-choices.is-media button {
    grid-template-columns: 104px 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
    gap: 12px;
  }
  .opp-choices.is-media button img {
    width: 104px;
    height: 72px;
    border-radius: 12px;
  }
  .opp-choices.is-media button span { font-size: 16px; line-height: 1.2; }
  .opp-go, .opp-again, .opp-listen, .opp-back {
    min-height: 44px;
    display: grid;
    place-items: center;
  }
  .subnav-line {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .subnav a {
    padding: 14px 8px;
    text-align: center;
    border-bottom: 0;
    border-top: 1px solid rgba(23, 50, 74, 0.1);
  }
  .subnav-panel { max-height: min(68vh, 520px); padding: 8px 8px 12px; }
  .subnav .kommune-search { margin-top: 12px; }
  .subnav .kommune-search input { width: min(100%, 280px); }
  [data-sub="utforsk"] .subnav-toggle {
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
    font-size: 16px;
  }
  body:has([data-sub="utforsk"]:not([hidden])) { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .quiet-stage.quiet-spill {
    min-height: 0;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 4px;
  }
  .spill-picks { grid-template-columns: 1fr; gap: 10px; }
  .spill-pick {
    display: grid;
    grid-template-columns: min(46vw, 196px) 1fr;
    align-items: stretch;
  }
  .spill-pick img { aspect-ratio: 4 / 3; }
  .spill-pick span {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 16px;
  }
  .sheet-quiet .norge-map {
    height: calc(100vh - var(--stack-h, 180px) - 284px);
    min-height: 240px;
  }
  .sheet-quiet .norge-layout.is-map .norge-map {
    height: calc(100vh - var(--stack-h, 180px) - 148px);
  }
  .sheet-quiet .norge-side {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .norge-bar { margin-bottom: 6px; }
  .norge-bar .fine { margin: 0; font-size: 13px; }
  .map-credit { font-size: 12px; }
  .bergen-modes button { min-height: 44px; }
}

@media print {
  .clouds, .showbar, .side-menu, .subnav, .site-footer, .overlay { display: none !important; }
  body { background: white; padding-bottom: 0; }
  .sheet, .home-card { box-shadow: none; }
}
