/* CasinoFilip.cfd
   Palette 60 / 30 / 10: paper #F4F4EE (surfaces) · graphite #17191E (text, hero, bands, footer) · lime #C9F23A (buttons, highlights)
   Every other colour below is a tint of these three. */

:root {
  --paper: #f4f4ee;
  --ink: #17191e;
  --lime: #c9f23a;

  --paper-hi: #fbfbf8;                 /* paper lifted towards white: cards */
  --paper-lo: #e8e8e1;                 /* paper + 6 % graphite: bands */
  --lime-lo: #b4dc28;                  /* lime + 8 % graphite: pressed CTA */
  --ink-2: #2e3036;                    /* graphite 88 % + paper */
  --muted: #555861;                    /* graphite 72 % + paper */
  --line: rgba(23, 25, 30, .14);
  --edge: 2px solid var(--ink);
  --on-ink: rgba(244, 244, 238, .8);
  --on-ink-dim: rgba(244, 244, 238, .58);
  --ink-line: rgba(244, 244, 238, .18);

  --head: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wide: 1200px;
  --r: 14px;
  --r-sm: 10px;
  --cta-shadow: var(--ink);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 18px; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.62 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
summary { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0 0 .55em; font-family: var(--head); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0 0 1.05em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); border-radius: 4px; }

.shell { width: 100%; max-width: calc(var(--wide) + 48px); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 10px; top: -80px; z-index: 300; padding: 10px 14px; border: var(--edge); border-radius: 8px; background: var(--lime); color: var(--ink); font-weight: 800; }
.skip:focus { top: 10px; }

/* ===================== CTA: lime key with a hard offset shadow; it presses in on hover/tap, #1 hops now and then */
.cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 20px; border: var(--edge); border-radius: 12px;
  background: var(--lime); color: var(--ink); font: 800 1rem/1.15 var(--body); letter-spacing: -.005em; text-align: center;
  text-decoration: none; white-space: nowrap; box-shadow: 4px 4px 0 var(--cta-shadow);
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s;
}
.cta .arrow { width: 18px; height: 18px; flex: none; transition: transform .18s ease; }
.cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--cta-shadow); }
.cta:hover .arrow { transform: translateX(4px); }
.cta:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--cta-shadow); background: var(--lime-lo); }
.cta--small { min-height: 38px; padding: 0 14px; border-radius: 10px; font-size: .88rem; box-shadow: 3px 3px 0 var(--cta-shadow); }
.cta--small:hover { box-shadow: 1px 1px 0 var(--cta-shadow); transform: translate(2px, 2px); }
.cta--small .arrow { width: 15px; height: 15px; }
.cta--block { display: flex; width: 100%; }
.cta--hop { animation: hop 3.6s ease-in-out 1.2s infinite; }
.cta--hop:hover, .cta--hop:active { animation: none; }
.cta--hop::after {               /* a lime spark that pops at the top-right corner with every hop */
  content: ""; position: absolute; top: -7px; right: -7px; width: 14px; height: 14px; border: var(--edge); border-radius: 50%;
  background: var(--lime); transform: scale(0); animation: spark 3.6s ease-in-out 1.2s infinite; pointer-events: none;
}
.cta--hop:hover::after { animation: none; transform: scale(0); }
@keyframes hop {
  0%, 68%, 100% { transform: none; box-shadow: 4px 4px 0 var(--cta-shadow); }
  74% { transform: translate(-2px, -4px); box-shadow: 6px 8px 0 var(--cta-shadow); }
  80% { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--cta-shadow); }
  86% { transform: translate(-1px, -2px); box-shadow: 5px 6px 0 var(--cta-shadow); }
  92% { transform: none; box-shadow: 4px 4px 0 var(--cta-shadow); }
}
@keyframes spark { 0%, 70%, 100% { transform: scale(0); } 76% { transform: scale(1); } 88% { transform: scale(.85); } 94% { transform: scale(0); } }

.ghost {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: var(--edge); border-radius: 12px;
  background: transparent; color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.ghost:hover { background: var(--ink); color: var(--paper); }

/* ===================== header */
.mast { position: relative; z-index: 100; background: var(--paper); border-bottom: var(--edge); }
.mast__row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.mast__brand { flex: none; display: block; }
.mast__brand img { width: auto; height: 44px; }
.mast__nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 22px); margin-left: auto; font-size: .9rem; font-weight: 650; }
.mast__nav a {
  padding: 6px 2px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(var(--lime), var(--lime)) left 82% / 0 7px no-repeat; transition: background-size .2s;
}
.mast__nav a:hover, .mast__nav a[aria-current="page"] { background-size: 100% 7px; }
.mast__cta { flex: none; }
.age {
  flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border: var(--edge); border-radius: 50%;
  background: var(--paper-lo); font: 800 .74rem/1 var(--mono); letter-spacing: -.04em; cursor: default;
}
.drawer { display: none; position: static; }
.drawer > summary {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px; list-style: none;
  border: var(--edge); border-radius: 10px; font: 700 .84rem/1 var(--mono); text-transform: uppercase; letter-spacing: .04em;
}
.drawer > summary::-webkit-details-marker { display: none; }
.drawer__bars { position: relative; width: 14px; height: 10px; }
.drawer__bars::before, .drawer__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s; }
.drawer__bars::before { top: 0; }
.drawer__bars::after { bottom: 0; }
.drawer[open] > summary { background: var(--lime); }
.drawer[open] .drawer__bars::before { transform: translateY(4px) rotate(45deg); }
.drawer[open] .drawer__bars::after { transform: translateY(-4px) rotate(-45deg); }
.drawer__panel {
  position: absolute; top: calc(100% + 2px); right: 16px; z-index: 140; display: grid; gap: 2px; width: min(320px, calc(100vw - 32px));
  max-height: calc(100vh - 100px); overflow-y: auto; padding: 10px; border: var(--edge); border-radius: 0 0 14px 14px;
  background: var(--paper-hi); box-shadow: 6px 6px 0 var(--ink);
}
.drawer__panel a:not(.cta) { padding: 10px 10px; border-radius: 8px; font-weight: 650; text-decoration: none; }
.drawer__panel a:not(.cta):hover, .drawer__panel a[aria-current="page"] { background: var(--lime); }
.drawer__label { padding: 6px 10px 4px; font: 700 .7rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drawer__cta { margin: 10px 4px 6px; }

/* ===================== hero */
.intro { position: relative; isolation: isolate; overflow: hidden; }
.intro__shell { position: relative; }
.intro__body { max-width: 700px; }
.intro--dark {
  background-color: var(--ink); color: var(--paper);
  background-image: linear-gradient(rgba(201, 242, 58, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 242, 58, .06) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
}
.intro--dark .intro__shell { padding-top: 34px; padding-bottom: 34px; }
/* chip motif on the right: a dashed lime edge ring and an inner ring. The size follows the hero's height (--chip, capped)
   so the whole wheel always shows; its right edge stays 140px in, clear of the Spelpaus.se label in the corner. The inner
   ring (0.594 of the outer) is shifted left by 34.18 % of its own size so both rings share one centre. */
.intro--dark .intro__shell::before, .intro--dark .intro__shell::after {
  --chip: min(100% - 32px, 240px);
  content: ""; position: absolute; z-index: -1; top: 50%; right: 140px; width: auto; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
}
.intro--dark .intro__shell::before {
  height: var(--chip); transform: translateY(-50%) rotate(8deg);
  background: repeating-conic-gradient(var(--lime) 0 14deg, transparent 14deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 62.5%, #000 71%, transparent 71.5%);
  mask: radial-gradient(circle, transparent 62%, #000 62.5%, #000 71%, transparent 71.5%);
  animation: chip 40s linear infinite;
}
.intro--dark .intro__shell::after {
  height: calc(var(--chip) * .594); transform: translate(-34.18%, -50%);
  border: 2px solid rgba(201, 242, 58, .55); box-shadow: 0 0 0 10px rgba(201, 242, 58, .07), inset 0 0 0 12px rgba(201, 242, 58, .05);
}
@keyframes chip { from { transform: translateY(-50%) rotate(8deg); } to { transform: translateY(-50%) rotate(368deg); } }
@keyframes chip-top { from { transform: rotate(8deg); } to { transform: rotate(368deg); } }
.intro--light { background: var(--paper-lo); border-bottom: var(--edge); }
.intro--light .intro__shell { padding-top: 26px; padding-bottom: 28px; }
.intro--light .intro__body { max-width: 820px; }

.trail { margin-bottom: 12px; font: 600 .76rem/1.4 var(--mono); letter-spacing: .02em; }
.trail ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.trail li { display: inline-flex; gap: 6px; color: var(--muted); }
.trail li + li::before { content: "/"; opacity: .7; }
.trail a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.intro--dark .trail li { color: var(--on-ink); }
.intro--dark .trail a { color: var(--paper); }
.intro--light .trail li { color: var(--ink-2); }
/* dark hero: a soft graphite halo keeps the letters clear of the grid and the chip wheel behind them */
.intro--dark .intro__body { text-shadow: 0 1px 2px rgba(23, 25, 30, .9), 0 0 10px rgba(23, 25, 30, .75); }

.intro__title { margin: 0 0 12px; font-size: clamp(2rem, 3.6vw, 3.05rem); line-height: 1.04; letter-spacing: -.035em; overflow-wrap: break-word; }
.intro--light .intro__title { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.intro__tail { white-space: nowrap; }
.intro__year { color: var(--lime); }
.intro--light .intro__year { color: var(--ink); background: linear-gradient(transparent 62%, var(--lime) 62%); }
.intro__brand {
  display: inline-flex; align-items: center; gap: .45em; margin-left: .2em; vertical-align: middle;
  font: 700 .42em/1 var(--mono); letter-spacing: 0; color: var(--paper);
}
.intro--light .intro__brand { color: var(--ink-2); }
.se-flag { width: 1.6em; height: 1em; flex: none; border-radius: 2px; }

.intro__ledebox { position: relative; max-width: 64ch; margin: 0 0 14px; font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.6; }
.intro__lede {
  margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.intro__lede.is-open { display: block; overflow: visible; }
.intro--dark .intro__lede { color: var(--paper); }
.intro--light .intro__lede { color: var(--ink); }
.intro__more {
  position: absolute; right: 0; bottom: 0; margin: 0; padding: 0 0 0 2.4em; border: 0;
  font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  color: var(--lime); background: linear-gradient(90deg, rgba(23, 25, 30, 0), var(--ink) 2em);
}
.intro--light .intro__more { color: var(--ink); background: linear-gradient(90deg, rgba(232, 232, 225, 0), var(--paper-lo) 2em); }
.intro__more:hover { color: var(--paper); text-decoration-thickness: 2px; }
.intro--light .intro__more:hover { color: var(--ink); }
.intro__lede.is-open + .intro__more { position: static; padding: 0; margin-top: 2px; background: none; }

.intro__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font: 700 .84rem/1.3 var(--mono); }
.intro__date { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.intro--dark .intro__date { color: var(--paper); }
.intro--light .intro__date { color: var(--ink-2); }
.pulse { position: relative; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--lime); }
.intro--light .pulse { box-shadow: 0 0 0 2px var(--ink); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--lime); opacity: 0; animation: ping 2.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.intro__short { display: none; }
.intro__pause { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.intro__pause svg { width: 15px; height: 15px; flex: none; }
.intro--dark .intro__pause { color: var(--paper); }
.intro--light .intro__pause { color: var(--ink-2); }
.intro__pause:hover { text-decoration-thickness: 2px; }
.intro--dark .intro__pause:hover { color: var(--lime); }
.intro--light .intro__pause:hover { color: var(--ink); }
@media (min-width: 761px) {
  /* desktop: Spelpaus.se sits in the bottom-right corner of the hero, level with the date row */
  .intro__pause { position: absolute; right: 24px; bottom: 31px; z-index: 2; margin: 0; }
  .intro--light .intro__pause { bottom: 28px; }
  .intro--dark .intro__pause { padding: 4px 8px; border-radius: 6px; background: var(--ink); }
}

/* ===================== casino list */
.offers { padding: 30px 0 34px; }
.offers__title { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
.offers__title::before { content: ""; flex: none; width: 14px; height: 14px; border: var(--edge); background: var(--lime); transform: rotate(45deg); }
.offers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.offer {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; padding: 0 0 14px;
  border: var(--edge); border-radius: 16px; background: var(--paper-hi); box-shadow: 5px 5px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.offer:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.offer--lead { box-shadow: 6px 6px 0 var(--lime), 6px 6px 0 2px var(--ink); }
.offer--lead:hover { box-shadow: 8px 8px 0 var(--lime), 8px 8px 0 2px var(--ink); }
.offer__badge {
  position: absolute; z-index: 2; top: -13px; left: 14px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 9px;
  border: var(--edge); border-radius: 8px; background: var(--ink); color: var(--lime); font: 800 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.offer__badge svg { width: 13px; height: 13px; }
.offer__tile {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 112px;
  padding: 16px 16px 14px 18px; border-bottom: var(--edge); border-radius: 14px 14px 0 0; background: var(--paper-lo); color: var(--ink); text-decoration: none;
}
.offer--lead .offer__tile { padding-top: 22px; }
.offer__pos { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.offer__name { font: 800 clamp(1.35rem, 2.1vw, 1.8rem)/1.04 var(--head); letter-spacing: -.035em; }
.offer__art {
  width: clamp(78px, 7.4vw, 92px); height: auto; aspect-ratio: 1; object-fit: contain;
  filter: drop-shadow(3px 4px 0 rgba(23, 25, 30, .14)); transition: transform .25s ease;
}
.offer:hover .offer__art { transform: rotate(-6deg) scale(1.08); }
.offer__perks { display: grid; align-content: start; gap: 8px; margin: 0; padding: 14px 16px 16px; list-style: none; font-size: .92rem; line-height: 1.38; color: var(--ink-2); }
.offer__perks li { position: relative; padding-left: 27px; }
.offer__perks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--lime);
}
.offer__perks li::after {
  content: ""; position: absolute; left: 5px; top: 4.5px; width: 8px; height: 4.5px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.offer .cta { margin: 0 16px; width: auto; }
.offers__note { margin: 20px 0 0; font: 500 .74rem/1.5 var(--mono); color: var(--muted); }
.offers__links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-top: 14px; padding: 12px 16px;
  border: 2px dashed rgba(23, 25, 30, .35); border-radius: 12px; font-size: .86rem;
}
.offers__links a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.offers__links a:hover { background: var(--lime); }
.offers__links span { font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* ===================== article */
.reading { padding: 34px 0 70px; }
.reading__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.reading__grid--solo { grid-template-columns: minmax(0, 1fr); }
.jump { position: sticky; top: 18px; padding: 14px 12px; border: var(--edge); border-radius: 12px; background: var(--paper-hi); }
.jump summary { margin: 0 0 8px; padding: 0 4px; list-style: none; font: 700 .72rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.jump summary::-webkit-details-marker { display: none; }
.jump ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: j; }
.jump li { counter-increment: j; }
.jump a { display: grid; grid-template-columns: 22px 1fr; gap: 4px; padding: 6px 6px; border-radius: 7px; font-size: .88rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.jump a::before { content: counter(j, decimal-leading-zero); font: 600 .7rem/1.9 var(--mono); color: var(--muted); }
.jump a:hover { text-decoration: underline; text-underline-offset: 3px; }
.jump a.is-on { background: var(--lime); color: var(--ink); font-weight: 700; }
.jump a.is-on::before { color: var(--ink); }

.copy { max-width: 740px; font-size: 1.05rem; color: var(--ink-2); }
.copy > :first-child { margin-top: 0; }
.copy h2 { margin: 1.9em 0 .6em; padding-left: 16px; border-left: 6px solid var(--lime); font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--ink); box-shadow: -2px 0 0 var(--ink); }
.copy h3 { margin: 1.5em 0 .45em; font-size: clamp(1.18rem, 1.8vw, 1.36rem); color: var(--ink); }
.copy strong { color: var(--ink); }
.copy a { font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.copy a:hover { background: var(--lime); text-decoration-color: var(--ink); }
.copy ul, .copy ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.copy li { margin-bottom: .45em; }
.copy ul > li::marker { content: "■  "; font-size: .7em; color: var(--ink); }
.copy ol > li::marker { font: 700 .95em var(--mono); color: var(--ink); }

/* short answer box */
.brief { margin: 0 0 1.8em; padding: 18px 20px 6px; border: var(--edge); border-radius: var(--r); background: var(--paper-hi); box-shadow: 5px 5px 0 var(--lime), 5px 5px 0 2px var(--ink); }
.copy .brief__label { display: inline-block; margin: 0 0 10px; padding: 3px 9px; border-radius: 6px; background: var(--ink); color: var(--lime); font: 700 .72rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.brief ul { margin-bottom: 1em; }

/* steps */
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.4em 0 1.9em; }
.flow__step { position: relative; padding: 16px 18px 16px 64px; border: var(--edge); border-radius: var(--r); background: var(--paper-hi); }
.flow__n {
  position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center;
  border: var(--edge); border-radius: 9px; background: var(--lime); font: 800 1rem/1 var(--mono); color: var(--ink);
}
.copy .flow__step h3 { margin: 4px 0 6px; font-size: 1.12rem; }
.flow__step p { margin: 0; font-size: .95rem; }

/* fact cards */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.4em 0 1.9em; }
.fact { padding: 16px 18px 18px; border: var(--edge); border-top-width: 8px; border-radius: var(--r); background: var(--paper-hi); }
.fact:nth-child(odd) { border-top-color: var(--ink); box-shadow: inset 0 3px 0 var(--lime); }
.copy .fact h3 { margin: 4px 0 6px; font-size: 1.12rem; }
.fact p { margin: 0; font-size: .95rem; }

/* key numbers */
.keynums { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 1.4em 0 1.9em; }
.keynum { margin: 0; padding: 16px 16px 18px; border-radius: var(--r); background: var(--ink); color: var(--on-ink); font-size: .9rem; line-height: 1.45; }
.copy .keynum strong { display: block; margin-bottom: 4px; font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.05 var(--head); letter-spacing: -.03em; color: var(--lime); }

/* pros and cons */
.scale { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.4em 0 1.9em; }
.scale > div { padding: 16px 18px; border: var(--edge); border-radius: var(--r); background: var(--paper-hi); }
.scale__minus { border-style: dashed !important; }
.copy .scale h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.15rem; }
.scale h3::before { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: var(--edge); border-radius: 7px; font: 800 1rem/1 var(--mono); }
.scale__plus h3::before { content: "+"; background: var(--lime); }
.scale__minus h3::before { content: "\2212"; background: var(--paper-lo); }
.copy .scale ul { margin: 0; padding: 0; list-style: none; }
.copy .scale li { position: relative; padding-left: 20px; font-size: .95rem; }
.copy .scale li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; background: var(--ink); }

/* tip and warning */
.tip { position: relative; margin: 1.6em 0; padding: 16px 18px 16px 62px; border: var(--edge); border-radius: var(--r); background: var(--paper-hi); }
.tip::before {
  content: "i"; position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); font: 800 1rem/1 var(--mono); color: var(--ink);
}
.tip p:last-child { margin-bottom: 0; }
.tip--warn { background: var(--ink); color: var(--on-ink); }
.tip--warn::before { content: "!"; }
.tip--warn strong, .tip--warn a { color: var(--paper); }
.tip--warn a:hover { color: var(--ink); }

/* FAQ */
.qa { display: grid; gap: 10px; margin: 1.2em 0 1.8em; }
.qa details { border: var(--edge); border-radius: 12px; background: var(--paper-hi); transition: box-shadow .15s; }
.qa details[open] { box-shadow: 4px 4px 0 var(--ink); }
.qa summary { position: relative; padding: 15px 56px 15px 18px; list-style: none; font-weight: 700; line-height: 1.4; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center;
  border: var(--edge); border-radius: 8px; background: var(--lime); font: 800 1.05rem/1 var(--mono); transition: transform .2s;
}
.qa details[open] summary::after { transform: rotate(45deg); }
.qa__a { padding: 0 18px 16px; }
.qa__a p:last-child { margin-bottom: 0; }

/* photos */
.pic { margin: 30px 0 30px; }
.pic img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: var(--edge); border-radius: var(--r); background: var(--paper-lo); box-shadow: 6px 6px 0 var(--ink); }
.pic figcaption { display: grid; gap: 2px; margin-top: 16px; padding-left: 12px; border-left: 3px solid var(--lime); font-size: .9rem; line-height: 1.5; color: var(--muted); }
.pic figcaption small { font: 500 .7rem/1.4 var(--mono); letter-spacing: .02em; opacity: .9; }
.copy > .pic:first-child { margin-top: 0; }

/* ===================== related */
.more { padding: 54px 0 60px; background: var(--ink); color: var(--paper); }
.more__title { margin: 0 0 22px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.more__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 120px; padding: 16px 18px;
  border: 2px solid var(--ink-line); border-radius: 12px; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.more__tag { font: 700 .7rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.more__name { font: 800 clamp(1.1rem, 1.7vw, 1.35rem)/1.15 var(--head); letter-spacing: -.02em; }
.more__card:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.more__card:hover .more__tag { color: var(--ink); }

/* ===================== home: guides + latest */
.zone-head { display: flex; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 24px; }
.zone-head h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.zone-head p { max-width: 46ch; margin: 0; color: var(--muted); }
.zone-head__link { display: inline-flex; align-items: center; gap: 7px; font: 700 .86rem/1 var(--mono); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.zone-head__link .arrow { width: 16px; height: 16px; }
.zone-head__link:hover { background: var(--lime); }
.zone-title { margin: 0 0 22px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

.guides { padding: 58px 0 64px; background: var(--paper-lo); border-top: var(--edge); border-bottom: var(--edge); }
.guides__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.guides__item {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 18px 18px 46px;
  border: var(--edge); border-radius: var(--r); background: var(--paper-hi); box-shadow: 4px 4px 0 var(--ink); text-decoration: none;
  transition: transform .16s, box-shadow .16s;
}
.guides__item:first-child { grid-row: span 2; background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--lime), 4px 4px 0 2px var(--ink); }
.guides__item:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.guides__item:first-child:hover { box-shadow: 6px 6px 0 var(--lime), 6px 6px 0 2px var(--ink); }
.guides__no { align-self: flex-start; padding: 2px 7px; border: var(--edge); border-radius: 6px; background: var(--lime); font: 800 .78rem/1.3 var(--mono); color: var(--ink); }
.guides__tag { font: 700 .7rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.guides__item:first-child .guides__tag { color: var(--lime); }
.guides__item strong { font: 800 1.28rem/1.12 var(--head); letter-spacing: -.025em; }
.guides__item:first-child strong { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.guides__text { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.guides__item:first-child .guides__text { color: var(--on-ink); font-size: 1rem; }
.guides__item .arrow { position: absolute; right: 16px; bottom: 14px; width: 22px; height: 22px; transition: transform .18s; }
.guides__item:hover .arrow { transform: translateX(4px); }

.latest { padding: 58px 0 66px; }
.latest__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border: var(--edge); border-radius: var(--r);
  background: var(--paper-hi); box-shadow: 4px 4px 0 var(--ink); transition: transform .16s, box-shadow .16s;
}
.post:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.post__img { display: block; border-bottom: var(--edge); background: var(--paper-lo); }
.post__img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 10px; font: 600 .74rem/1.3 var(--mono); color: var(--muted); }
.post__tag { padding: 3px 8px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--lime); color: var(--ink); letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.post__title { margin: 0 0 8px; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.18; }
.post__title a { text-decoration: none; }
.post__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post:hover .post__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post__teaser { margin: 0 0 14px; font-size: .93rem; line-height: 1.55; color: var(--ink-2); }
.post__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font: 700 .82rem/1 var(--mono); }
.post__more .arrow { width: 16px; height: 16px; transition: transform .18s; }
.post:hover .post__more .arrow { transform: translateX(4px); }

/* ===================== help band + footer */
.helpline { padding: 34px 0; background: var(--paper-lo); border-top: var(--edge); }
.helpline__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; }
.helpline h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.helpline p { max-width: 66ch; margin: 0; color: var(--ink-2); }

.foot { padding: 50px 0 24px; background: var(--ink); color: var(--on-ink); font-size: .92rem; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot__brand img { width: auto; height: 42px; }
.foot__brand p { max-width: 38ch; margin: 16px 0; line-height: 1.6; }
.foot__brand .foot__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.foot__chips span { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border: 2px solid var(--ink-line); border-radius: 8px; font: 700 .72rem/1 var(--mono); color: var(--paper); }
.foot__chips .foot__age { border-color: var(--lime); color: var(--lime); }
.foot__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 .76rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.foot__title::before { content: ""; width: 8px; height: 8px; background: var(--lime); }
.foot__col ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.foot__col a { display: inline-block; padding: 4px 0; color: var(--on-ink); text-decoration: none; }
.foot__col a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ink-line); }
.foot__base p { margin: 0; font-size: .8rem; line-height: 1.55; color: var(--on-ink-dim); }
.foot__legal { max-width: 700px; }

/* ===================== floating: back to top + offer bar */
.lift {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 46px; height: 46px; display: grid; place-items: center;
  border: 2px solid var(--lime); border-radius: 12px; background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 var(--lime);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s, bottom .25s;
}
.lift svg { width: 20px; height: 20px; }
.lift.is-shown { opacity: 1; visibility: visible; transform: none; }

.dock {
  --cta-shadow: var(--paper);
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper);
  border-top: 3px solid var(--lime); transform: translateY(115%); visibility: hidden; transition: transform .3s ease, visibility .3s;
}
.dock.is-shown { transform: none; visibility: visible; }
.dock__row { display: flex; align-items: center; gap: 12px; padding-right: 30px; }
.dock__art { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px var(--lime); }
.dock__art img { width: 40px; height: 40px; object-fit: contain; }
.dock__text { flex: 1; min-width: 0; line-height: 1.25; }
.dock__text strong { display: block; font: 800 1.25rem/1.15 var(--head); letter-spacing: -.02em; }
.dock__cta { flex: none; min-height: 44px; padding: 0 16px; font-size: .92rem; }
.dock__close {
  position: absolute; top: 7px; right: 8px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0;
  border: 1.5px solid var(--ink-line); border-radius: 7px; background: transparent; color: var(--paper); font-size: 1rem; line-height: 1;
}
.dock__close:hover { border-color: var(--lime); color: var(--lime); }

/* 404 */
.lost { max-width: 760px; }
.lost__code { display: inline-block; margin: 0 0 14px; padding: 0 16px; border: var(--edge); border-radius: 16px; background: var(--lime); box-shadow: 6px 6px 0 var(--ink); font: 800 clamp(4.5rem, 14vw, 8rem)/1.05 var(--mono); letter-spacing: -.06em; }
.lost p { font-size: 1.08rem; }
.lost a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lost a:hover { background: var(--lime); }
.lost__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; padding-left: 1.2em; }

/* ===================== responsive */
@media (min-width: 901px) {
  .dock {
    left: 50%; right: auto; bottom: 22px; width: min(600px, calc(100vw - 180px)); padding: 12px 16px;
    border: 2px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--lime), 6px 6px 0 2px var(--ink);
    transform: translate(-50%, calc(100% + 40px));
  }
  .dock.is-shown { transform: translate(-50%, 0); }
  body.dock-on .lift { bottom: 120px; }
}

@media (max-width: 1180px) {
  .mast__nav { display: none; }
  .mast__cta { margin-left: auto; }
  .drawer { display: block; }
  .guides__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guides__item:first-child { grid-row: auto; grid-column: span 2; min-height: 0; }
}

@media (max-width: 1060px) {
  .reading__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .jump { position: static; padding: 0; }
  .jump summary { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 13px 16px; pointer-events: auto; }
  .jump summary::after { content: "+"; font: 800 1.1rem/1 var(--mono); color: var(--ink); }
  .jump[open] summary::after { content: "\2212"; }
  .jump ol { padding: 0 10px 12px; }
  .copy { max-width: none; }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .offers__grid { gap: 18px; }
  .more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* narrow desktop: the wheel moves to the top-right corner, above the Spelpaus.se line, off the text */
  .intro--dark .intro__shell::before, .intro--dark .intro__shell::after { --chip: min(100% - 78px, 150px); top: 16px; right: 24px; }
  .intro--dark .intro__shell::before { transform: rotate(8deg); animation-name: chip-top; }
  .intro--dark .intro__shell::after { transform: translate(-34.18%, 34.18%); }
  .intro__body { max-width: 640px; }
}

@media (max-width: 760px) {
  .shell { padding: 0 16px; }
  .mast__row { min-height: 58px; gap: 10px; }
  .mast__brand img { height: 38px; }
  .mast__cta { display: none; }
  .age { width: 34px; height: 34px; margin-left: auto; font-size: .7rem; }
  .drawer > summary { height: 34px; padding: 0 11px; }
  .drawer__panel { right: 12px; }

  .intro--dark .intro__shell { padding-top: 16px; padding-bottom: 16px; }
  .intro--light .intro__shell { padding-top: 16px; padding-bottom: 18px; }
  .intro--dark .intro__shell::before { --chip: 96px; top: 10px; right: 12px; transform: rotate(8deg); animation: none; opacity: .26; }
  .intro--dark .intro__shell::after { display: none; }
  .trail { margin-bottom: 8px; font-size: .76rem; }
  .intro__title, .intro--light .intro__title { margin-bottom: 8px; font-size: clamp(1.55rem, 6.8vw, 2.05rem); line-height: 1.08; }
  .intro__brand { font-size: .5em; }
  .intro__ledebox { margin-bottom: 10px; font-size: .98rem; line-height: 1.52; }
  .intro__facts { flex-wrap: nowrap; gap: 0 10px; font-size: .78rem; }
  .intro__pause svg { width: 13px; height: 13px; }

  .offers { padding: 10px 0 26px; }
  .offers__title { margin-bottom: 20px; font-size: clamp(1.3rem, 5.6vw, 1.7rem); }
  .offers__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .offer { padding-bottom: 12px; }
  .offer__tile { min-height: 84px; padding: 12px 14px 12px 16px; }
  .offer--lead .offer__tile { padding-top: 18px; }
  .offer__name { font-size: clamp(1.4rem, 6.4vw, 1.75rem); }
  .offer__art { width: 66px; }
  .offer__perks { gap: 6px; padding: 12px 14px 14px; font-size: .9rem; }
  .offer .cta { margin: 0 12px; }
  .offers__links { justify-content: flex-start; gap: 6px 14px; font-size: .8rem; }

  .reading { padding: 24px 0 50px; }
  .copy { font-size: 1rem; }
  .copy h2 { padding-left: 12px; border-left-width: 5px; }
  .flow, .facts, .scale { grid-template-columns: 1fr; }
  .pic img { box-shadow: 4px 4px 0 var(--ink); }

  .more, .guides, .latest { padding: 36px 0 42px; }
  .more__grid { gap: 8px; }
  .more__card { min-height: 104px; padding: 13px 14px; }
  .guides__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .guides__item, .guides__item:first-child { grid-column: auto; min-height: 0; }
  .latest__grid { grid-template-columns: minmax(0, 1fr); }
  .zone-head { flex-direction: column; align-items: flex-start; margin-bottom: 18px; }
  .helpline__row { flex-direction: column; align-items: flex-start; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .foot__col a { padding: 6px 0; }
  .lost__list { grid-template-columns: 1fr; }

  .dock__row { gap: 10px; padding-right: 26px; }
  .dock__art { width: 44px; height: 44px; }
  .dock__art img { width: 34px; height: 34px; }
  .dock__text strong { font-size: 1.05rem; white-space: nowrap; }
  .dock__cta { min-height: 40px; padding: 0 12px; font-size: .84rem; box-shadow: 3px 3px 0 var(--cta-shadow); }
  body.has-dock .foot { padding-bottom: 96px; }
  body.dock-on .lift { bottom: 92px; }
}

@media (max-width: 560px) {
  .intro__long { display: none; }
  .intro__short { display: inline; }
}

@media (max-width: 380px) {
  .shell { padding: 0 12px; }
  .mast__brand img { height: 34px; }
  .trail { display: none; }
  .intro__title, .intro--light .intro__title { font-size: 1.45rem; }
  .more__grid { grid-template-columns: 1fr; }
  .offer__perks { font-size: .86rem; }
  .dock__row { gap: 8px; }
  .dock__art { width: 40px; height: 40px; }
  .dock__art img { width: 31px; height: 31px; }
  .dock__text strong { font-size: 1rem; }
  .dock__cta { padding: 0 10px; font-size: .8rem; }
}

/* short phone screens: keep the first card and its button in view */
@media (max-width: 760px) and (max-height: 600px) {
  .mast__row { min-height: 50px; }
  .intro__ledebox, .intro__facts, .trail { display: none; }
  .intro--dark .intro__shell { padding-top: 10px; padding-bottom: 10px; }
  .intro__title { margin: 0; font-size: 1.35rem; }
  .offers { padding-top: 8px; }
  .offers__title { margin-bottom: 16px; font-size: 1.25rem; }
  .offer__tile { min-height: 64px; }
  .offer__art { width: 54px; }
  .offer__perks { gap: 3px; padding-top: 8px; padding-bottom: 10px; }
  .offer .cta { min-height: 42px; }
}
/* landscape phones */
@media (min-width: 561px) and (max-height: 460px) {
  .intro__ledebox, .intro__facts, .trail { display: none; }
  .mast__row { min-height: 50px; }
  .intro--dark .intro__shell { padding-top: 10px; padding-bottom: 10px; }
  .intro--dark .intro__shell::before, .intro--dark .intro__shell::after { display: none; }
  .intro__title { margin: 0; font-size: 1.35rem; }
  .offers { padding-top: 14px; }
  .offers__title { margin-bottom: 14px; font-size: 1.25rem; }
  .offer__tile { min-height: 60px; padding-top: 14px; padding-bottom: 8px; }
  .offer__name { font-size: 1.25rem; }
  .offer__art { width: 50px; }
  .offer__perks { gap: 2px; padding-top: 6px; padding-bottom: 8px; font-size: .82rem; }
  .offer .cta { min-height: 38px; font-size: .9rem; }
}
/* desktop with a low window: keep the cards' buttons in view */
@media (min-width: 761px) and (max-height: 800px) {
  .intro--dark .intro__shell { padding-top: 22px; padding-bottom: 22px; }
  .intro__title { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 10px; }
  .intro__ledebox { margin-bottom: 10px; font-size: .98rem; }
  .intro--dark .intro__pause { bottom: 19px; }
  .offers { padding-top: 22px; }
  .offers__title { margin-bottom: 18px; }
  .offer__tile { min-height: 96px; }
  .offer__perks { gap: 5px; padding-top: 12px; padding-bottom: 12px; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
