/* ==========================================================================
   CasinoDetect - main.css
   Detection brand: status colours are FUNCTIONAL, not decorative.
   green = passed our checks | amber = watch | red = flagged
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:            #F4F6F9;
  --surface:       #FFFFFF;
  --surface-2:     #EBEFF5;
  --surface-3:     #DFE5EE;
  --border:        #CBD4E1;
  --border-hi:     #A9B7CA;

  /* Chrome (Swedish flag blue header/footer) */
  --chrome:        #006AA7;
  --chrome-2:      #005B90;
  --chrome-border: #2286BD;
  --chrome-text:   #DCEDF7;

  /* Flag yellow - chrome accent (status colours stay functional) */
  --brand-yellow:  #FECC02;

  /* Brand accent */
  --accent:        #1668C4;
  --accent-dark:   #0F4E96;
  --accent-dim:    rgba(22,104,196,0.08);

  /* Functional status colours */
  --pass:          #12784A;
  --pass-bg:       #E4F4EB;
  --pass-border:   #A9DcC0;
  --watch:         #8A5A00;
  --watch-bg:      #FDF1DC;
  --watch-border:  #EAC98A;
  --flag:          #B01F24;
  --flag-bg:       #FBE9E9;
  --flag-border:   #EFB4B6;

  /* Text */
  --text:          #0C131F;
  --text-2:        #3B4A61;
  --muted:         #5C6C83;

  /* Type */
  --font-display:  'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:     'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* Layout */
  --header-h:      64px;
  --max-w:         1220px;
  --radius:        6px;
  --radius-sm:     4px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Lankar i brodtext maste sarskiljas med mer an farg (WCAG 1.4.1) */
main p a, .site-footer p a { text-decoration: underline; text-underline-offset: 0.16em; }
main p a.mp-go { text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p { margin-bottom: 1rem; color: var(--text-2); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 0.7rem 1.1rem;
}
.skip-link:focus { left: 0; }

/* [ HEADER ] */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  background: var(--chrome);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(8, 44, 68, 0.25); }
.site-header.header-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}

.header-right { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.header-cta {
  display: none; align-items: center;
  background: var(--brand-yellow); color: #073B5C;
  font-size: 0.9rem; font-weight: 700; white-space: nowrap;
  padding: 0.55rem 1.05rem; border-radius: 8px;
  transition: background 0.18s var(--ease);
}
.header-cta:hover { background: #FFD83A; color: #073B5C; text-decoration: none; }

/* Logo: image lockup (yellow CASINO + magnifier-O, white DETECT) */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { display: block; width: 192px; height: 40px; }

/* Desktop nav */
.site-nav { display: none; }
.site-nav > ul { display: flex; align-items: center; gap: 0.1rem; }
.site-nav a, .nav-dropdown-toggle {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.8rem; border-radius: 8px;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.92); background: none; border: none; cursor: pointer;
  white-space: nowrap; transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.site-nav a:hover, .nav-dropdown-toggle:hover, .nav-dropdown.open .nav-dropdown-toggle {
  color: #fff; background: rgba(255, 255, 255, 0.12); text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--brand-yellow); background: rgba(255, 255, 255, 0.08); }
.caret   { width: 12px; height: 12px; filter: brightness(0) invert(1) opacity(0.88); transition: transform 0.2s var(--ease); }
.nav-dropdown.open .caret { transform: rotate(180deg); }

/* Dropdown panels */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.45rem; display: flex; flex-direction: column; gap: 1px;
  box-shadow: 0 20px 50px rgba(12,19,31,0.18);
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block; padding: 0.55rem 0.8rem; font-size: 0.875rem; font-weight: 500;
  color: var(--text-2); border-radius: 10px;
}
.nav-dropdown-menu a:hover { color: var(--accent); background: var(--accent-dim); text-decoration: none; }
.nav-divider { height: 1px; background: var(--border); margin: 0.35rem 0.5rem; }
.nav-group-label {
  padding: 0.6rem 0.8rem 0.3rem; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted);
}

/* Mega dropdown */
.nav-dropdown-menu--mega { display: grid; min-width: 560px; grid-template-columns: 1fr 1fr; gap: 0.25rem 1.5rem; padding: 1rem; }
.mega-col { display: flex; flex-direction: column; }

/* Reviews mega: 3 alphabetical columns, centered under its toggle */
.nav-dropdown-menu--reviews {
  min-width: 620px; grid-template-columns: 1fr 1fr 1fr;
  left: 50%; transform: translateX(-50%) translateY(-8px);
}
.nav-dropdown.open .nav-dropdown-menu--reviews { transform: translateX(-50%); }
.mega-all {
  grid-column: 1 / -1; margin-top: 0.5rem; padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  text-align: center; font-weight: 600;
}

/* Burger */
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.12); border: none; border-radius: 8px;
  transition: background 0.18s var(--ease);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.2); }
.nav-toggle img { width: 20px; height: 20px; filter: invert(90%); }
.icon-close { display: none; }
body.nav-open .icon-close { display: block; }
body.nav-open .icon-open  { display: none; }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--surface); z-index: 400; overflow-y: auto;
  padding-bottom: 3rem;
}
body.nav-open .mobile-nav { display: block; }
.m-group { border-bottom: 1px solid var(--border); }
.m-group > summary {
  display: flex; align-items: center; gap: 0.6rem; cursor: pointer; list-style: none;
  padding: 1rem 1.5rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text);
}
.m-group > summary::-webkit-details-marker { display: none; }
.m-ico   { width: 18px; height: 18px; }
.m-caret { width: 14px; height: 14px; margin-left: auto; transition: transform 0.2s var(--ease); }
.m-group[open] > summary .m-caret { transform: rotate(180deg); }
.m-group ul { padding-bottom: 0.5rem; }
.m-group a  { display: block; padding: 0.7rem 1.5rem 0.7rem 2.6rem; font-size: 0.97rem; color: var(--text-2); }
/* On a tablet the panel is wide, so the sub-links run in columns instead of one long file */
@media (min-width: 620px) {
  .m-group ul { display: grid; grid-template-columns: 1fr 1fr; }
  .m-group a { padding-left: 2.6rem; }
}
@media (min-width: 900px) { .m-group ul { grid-template-columns: repeat(3, 1fr); } }
.m-group a:hover, .m-group a[aria-current="page"] { color: var(--accent); background: var(--accent-dim); text-decoration: none; }

/* Tablet: menu stays behind the toggle, but the primary action is still visible */
@media (min-width: 620px) { .header-cta { display: inline-flex; } }
@media (min-width: 1120px) {
  .site-nav  { display: flex; align-items: center; }
  .nav-toggle { display: none !important; }
  .mobile-nav { display: none !important; }
}
/* Narrow end of the desktop range: tighten the chrome so nothing clips */
@media (min-width: 1120px) and (max-width: 1279px) {
  .header-inner { gap: 0.7rem; }
  .site-logo img { width: 168px; height: 35px; }
  .site-nav a, .nav-dropdown-toggle { padding: 0.5rem 0.55rem; font-size: 0.87rem; }
  .header-cta { font-size: 0.85rem; padding: 0.5rem 0.85rem; }
}

/* [ HERO ] */
.hero {
  position: relative;
  background: var(--chrome);
  background-image: linear-gradient(rgba(16,24,38,0.90), rgba(16,24,38,0.94)), url('/images/bakgrund-sidhuvud.webp');
  background-size: cover; background-position: center;
  padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--chrome-border);
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero h1 .h1-hi { color: #58D08D; }
.hero-lead { color: #B8C5D8; font-size: 1.08rem; max-width: 62ch; margin-top: 1rem; }

/* Scanner box - the linkable centrepiece */
.scanner {
  margin-top: 1.75rem; max-width: 640px;
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: var(--radius); padding: 1.1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.30);
}
.scanner-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.scanner-row { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 520px) { .scanner-row { flex-direction: row; } }
.scanner-row input {
  flex: 1; font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-hi); border-radius: var(--radius-sm); color: var(--text); background: var(--bg);
}
.scanner-row input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.scanner-btn {
  display: flex; align-items: center; gap: 0.45rem; cursor: pointer;
  padding: 0.75rem 1.2rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  color: #fff; background: var(--accent); border: none; border-radius: var(--radius-sm);
  transition: background 0.18s var(--ease);
}
.scanner-btn:hover { background: var(--accent-dark); }
.scanner-btn { justify-content: center; }
.scanner-btn img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.scanner-hint { margin-top: 0.65rem; font-size: 0.84rem; color: var(--muted); margin-bottom: 0; }

/* Status counters */
.status-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--chrome-border); margin-top: 2.25rem; border: 1px solid var(--chrome-border); border-radius: var(--radius); overflow: hidden; }
.status-cell { background: var(--chrome-2); padding: 1.1rem 1rem; }
.status-num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; color: #fff; }
.status-num.is-pass { color: #58D08D; }
.status-num.is-flag { color: #F08A8D; }
.status-lbl { font-size: 0.8rem; color: #93A3B9; margin-top: 0.3rem; }
@media (min-width: 760px) { .status-strip { grid-template-columns: repeat(4, 1fr); } }

/* [ SECTIONS + SKELETON HELPERS ] */
.section { padding: 3.25rem 0; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: none; }
.section-head { margin-bottom: 1.75rem; max-width: 70ch; }
.section-head p { margin-top: 0.6rem; margin-bottom: 0; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px)  { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card-ico { width: 26px; height: 26px; margin-bottom: 0.7rem; }

/* Status badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.55rem; border-radius: 3px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid transparent;
}
.badge img { width: 13px; height: 13px; }
.badge-pass  { color: var(--pass);  background: var(--pass-bg);  border-color: var(--pass-border); }
.badge-watch { color: var(--watch); background: var(--watch-bg); border-color: var(--watch-border); }
.badge-flag  { color: var(--flag);  background: var(--flag-bg);  border-color: var(--flag-border); }

/* Pillar cards (money-page entry points) */
.pillar-card { display: flex; flex-direction: column; gap: 0.45rem; }
.pillar-card:hover { border-color: var(--accent); text-decoration: none; }
.pillar-card:hover h3 { color: var(--accent); }
.pillar-kw { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); }

/* Skeleton placeholder blocks - REMOVE when real content lands */
.skel {
  border: 1px dashed var(--border-hi); border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--surface) 12px 24px);
  padding: 1.5rem; text-align: center;
}
.skel-title { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2); }
.skel-note  { font-size: 0.86rem; color: var(--muted); margin: 0.4rem auto 0; max-width: 68ch; }
.skel-words { display: inline-block; margin-top: 0.6rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--pass); background: var(--pass-bg); border: 1px solid var(--pass-border); border-radius: 3px; padding: 0.15rem 0.5rem; }
.skel-lg { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Warning band */
.warn-band { background: var(--flag-bg); border-top: 1px solid var(--flag-border); border-bottom: 1px solid var(--flag-border); }
.warn-band .section-head h2 { color: var(--flag); }

/* Disclosure + RG */
.disclosure {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.7rem 1rem;
  font-size: 0.86rem; color: var(--text-2); margin-top: 1.5rem;
}
.disclosure img { width: 17px; height: 17px; flex-shrink: 0; }
.disclosure a { text-decoration: underline; text-underline-offset: 0.16em; }

.rg-band { background: var(--chrome-2); color: var(--chrome-text); }
.rg-band h2 { color: #fff; }
.rg-band p  { color: var(--chrome-text); }
.rg-logos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.25rem; }

/* [ FOOTER ] */
.site-footer { background: var(--chrome); color: var(--chrome-text); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 700px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-kolrubrik {
  font-family: var(--font-display); font-weight: 700;
  color: #fff; font-size: 1.05rem; margin-bottom: 0.8rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--chrome-text); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-about p { color: var(--chrome-text); font-size: 0.9rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--chrome-border);
  font-size: 0.84rem; color: var(--chrome-text);
}
.footer-bottom p { color: var(--chrome-text); }
.footer-bottom a { color: #fff; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--flag);
  color: #fff; font-weight: 700; font-size: 0.85rem; margin-right: 0.75rem;
}

/* Back to top */
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 300;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--accent); border: none; border-radius: var(--radius-sm); cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* [ REVIEW PAGE (rv-) ] */

/* ── Hero ── */
.rv-hero {
  background:
    linear-gradient(100deg, rgba(6, 22, 40, 0.96) 25%, rgba(7, 34, 60, 0.80) 70%, rgba(8, 40, 70, 0.72)),
    url('/images/bakgrund-sidhuvud.webp') center / cover no-repeat;
  color: #fff;
  padding: 0.6rem 0 5rem;
}

.rv-crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.6); display: flex; gap: 0.5rem; }
.rv-crumbs a { color: rgba(255,255,255,0.75); }
.rv-crumbs a:hover { color: #fff; }

.rv-hero h1 { color: #fff; margin: 0.8rem 0 1rem; font-size: clamp(1.8rem, 3.1vw, 2.55rem); }

.rv-lead { color: rgba(255,255,255,0.88); font-size: 1.05rem; }

.rv-byline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.72); margin: 1.3rem 0 0;
}
.rv-byline img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); }
.rv-byline a { color: #9CD4F5; }
.rv-byline .dot { opacity: 0.5; }

.rv-ring {
  position: relative; width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--brand-yellow) calc(var(--pct) * 1%), rgba(255,255,255,0.15) 0);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.rv-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #0F3049; }
.rv-ring-val { position: relative; font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; line-height: 1; }
.rv-ring-max { position: relative; font-size: 0.72rem; color: rgba(255,255,255,0.65); }

.rv-status {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
}
.rv-status img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.rv-status--pass { background: var(--pass); color: #fff; }
.rv-status--watch { background: var(--watch); color: #fff; }
.rv-status--flag { background: #C22A30; color: #fff; }

.rv-cta {
  display: block; text-align: center;
  background: var(--brand-yellow); color: #073B5C;
  font-size: 1.02rem; font-weight: 800;
  padding: 0.85rem 1rem; border-radius: 10px;
  transition: background 0.18s var(--ease);
}
.rv-cta:hover { background: #FFD83A; color: #073B5C; text-decoration: none; }

/* ── Score band (horizontal, overlaps hero bottom) ── */
.rv-scoreband-wrap { margin-top: -2.8rem; position: relative; z-index: 5; }
.rv-scoreband {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(12, 19, 31, 0.14);
  padding: 1.4rem 1.5rem;
  display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: center;
}
@media (min-width: 640px) { .rv-scoreband { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .rv-scoreband { grid-template-columns: auto auto 1fr auto; gap: 2.2rem; padding: 1.4rem 2rem; } }

.rv-sb-brand img { width: 160px; height: 60px; object-fit: contain; display: block; }

.rv-sb-score { display: flex; align-items: center; gap: 1rem; }
.rv-scoreband .rv-ring {
  width: 78px; height: 78px;
  background: conic-gradient(var(--brand-yellow) calc(var(--pct) * 1%), #E3EBF2 0);
}
.rv-scoreband .rv-ring::before { background: var(--surface); inset: 7px; }
.rv-scoreband .rv-ring-val { color: var(--text); font-size: 1.6rem; }
.rv-scoreband .rv-ring-max { color: var(--muted); }

.rv-sb-bars { display: grid; grid-template-columns: 1fr; gap: 0.6rem 1.8rem; }
@media (min-width: 640px) { .rv-sb-bars { grid-template-columns: 1fr 1fr; } }
.rv-sb-bars li { display: grid; grid-template-columns: 1fr 90px 2rem; align-items: center; gap: 0.7rem; font-size: 0.84rem; color: var(--text-2); }
.rv-sb-bars b { text-align: right; font-size: 0.84rem; color: var(--text); }
.rv-sb-bar { height: 7px; border-radius: 999px; background: #E3EBF2; overflow: hidden; }
.rv-sb-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--brand-yellow); transition: width 0.9s var(--ease); }
.rv-sb-bars li:nth-child(2) .rv-sb-bar i { transition-delay: 0.12s; }
.rv-sb-bars li:nth-child(3) .rv-sb-bar i { transition-delay: 0.24s; }
.rv-sb-bars li:nth-child(4) .rv-sb-bar i { transition-delay: 0.36s; }
.rv-scoreband.in-view .rv-sb-bar i { width: var(--w); }

.rv-sb-cta .rv-cta { padding: 0.8rem 1.6rem; white-space: nowrap; }
.rv-sb-terms {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 0.73rem; color: var(--muted); margin: 0.6rem 0 0;
}
.rv-sb-terms img { width: 18px; height: 18px; }

/* ── Section shells ── */
.rv-sec { margin-top: 3.2rem; }
.rv-h { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.rv-h h2 { margin: 0; }
.rv-h-ic {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #E9F2F9; border: 1px solid #CBDEED; border-radius: 12px;
}
.rv-h-ic img { width: 21px; height: 21px; opacity: 0.85; }

/* ── Facts grid ── */
.rv-facts { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
@media (min-width: 560px) { .rv-facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .rv-facts { grid-template-columns: repeat(3, 1fr); } }
.rv-fact {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.1rem;
  display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.8rem; align-items: center;
}
.rv-fact-ic {
  grid-row: 1 / 3;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: #E9F2F9; border-radius: 10px;
}
.rv-fact-ic img { width: 18px; height: 18px; opacity: 0.85; }
.rv-fact-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.rv-fact-val { font-size: 0.94rem; font-weight: 600; color: var(--text); line-height: 1.4; }

/* ── Screenshot gallery + lightbox ── */
.rv-gallery { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
@media (min-width: 700px) { .rv-gallery { grid-template-columns: repeat(3, 1fr); } }
.rv-gallery + .rv-gallery { margin-top: 0.9rem; }
.rv-gallery--phones { grid-template-columns: repeat(3, 1fr); }
.rv-thumb {
  display: block; width: 100%; padding: 0; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; cursor: zoom-in;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.rv-thumb:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(12, 19, 31, 0.12); }
.rv-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; }
.rv-thumb span {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 0.85rem; font-size: 0.82rem; font-weight: 600; color: var(--text-2);
}
.rv-thumb span img { width: 14px; height: 14px; aspect-ratio: auto; opacity: 0.6; }

/* Phone thumbs: the whole mobile screenshot, scaled down, never cropped */
.rv-thumb--tall { text-align: center; background: var(--surface-2); }
.rv-thumb--tall > img {
  aspect-ratio: 390 / 844; object-fit: contain;
  width: auto; max-width: 72%; height: auto; max-height: 380px;
  margin: 1rem auto 0; border-radius: 8px;
  box-shadow: 0 6px 18px rgba(12, 19, 31, 0.16);
}
.rv-thumb--tall span { justify-content: center; background: var(--surface); border-top: 1px solid var(--border); margin-top: 1rem; }

.rv-lightbox {
  position: fixed; inset: 0; margin: auto;
  width: fit-content; height: fit-content;
  max-width: min(1100px, 94vw); max-height: 92vh;
  border: none; border-radius: 12px; padding: 0;
  background: #fff; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}
.rv-lightbox::backdrop { background: rgba(5, 16, 27, 0.82); }
.rv-lightbox img { display: block; width: auto; max-width: min(1100px, 92vw); max-height: 74vh; margin: 0 auto; }
.rv-lightbox figcaption {
  width: 0; min-width: 100%; box-sizing: border-box;
  padding: 0.85rem 4.5rem 0.95rem 1.1rem; font-size: 0.88rem; color: var(--text-2);
}
.rv-lb-btn {
  position: absolute; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 22, 36, 0.6); border: none; border-radius: 50%; cursor: pointer;
  transition: background 0.18s var(--ease);
}
.rv-lb-btn:hover { background: rgba(8, 22, 36, 0.85); }
.rv-lb-btn img { width: 18px; height: 18px; max-height: none; background: none; filter: brightness(0) invert(1); }
.rv-lb-close { top: 0.7rem; right: 0.7rem; }
.rv-lb-prev { top: 50%; left: 0.7rem; transform: translateY(-50%); }
.rv-lb-next { top: 50%; right: 0.7rem; transform: translateY(-50%); }

/* ── Licence panel ── */
.rv-license-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 920px) { .rv-license-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }
.rv-check-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.3rem 1.4rem; }
.rv-check-card h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.rv-checks { display: flex; flex-direction: column; }
.rv-checks li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid var(--surface-2);
  font-size: 0.9rem;
}
.rv-checks li:last-child { border-bottom: none; }
.rv-checks img { width: 18px; height: 18px; }
.rv-checks img,
.rv-pros h3 img, .rv-pros li img { filter: invert(31%) sepia(63%) saturate(636%) hue-rotate(102deg) brightness(94%) contrast(93%); }
.rv-cons h3 img, .rv-cons li img { filter: invert(19%) sepia(72%) saturate(2900%) hue-rotate(347deg) brightness(85%) contrast(95%); }
.rv-checks .k { color: var(--text-2); }
.rv-checks .v { font-weight: 600; text-align: right; }

.rv-tl { margin-top: 1.2rem; }
.rv-tl-track { position: relative; height: 10px; border-radius: 999px; background: var(--surface-3); }
.rv-tl-fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, #14915B, #1DB273); }
.rv-tl-now {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid #14915B;
}
.rv-tl-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-top: 0.55rem; }
.rv-tl-note { text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--pass); margin-top: 0.3rem; }

.rv-sisters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.rv-sister {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  padding: 0.4rem 0.95rem; font-size: 0.85rem; color: var(--text-2);
}
.rv-sister b { color: var(--text); }

/* ── Bonus math + comparison ── */
.rv-math {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.7rem;
  margin: 1.6rem 0;
}
.rv-math-item {
  flex: 1 1 120px; min-width: 116px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0.9rem 0.6rem; text-align: center;
}
.rv-math-item b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.rv-math-item span { font-size: 0.78rem; color: var(--muted); }
.rv-math-op { align-self: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--muted); }
.rv-math-total { background: var(--watch-bg); border-color: var(--watch-border); }
.rv-math-total b { color: var(--watch); }

/* Comparison table (end-of-review section) */
.rv-cmp-scroll { overflow-x: auto; margin: 1.4rem 0 2rem; border: 1px solid var(--border); border-radius: 12px; }
.rv-cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.92rem; background: var(--surface); }
.rv-cmp th, .rv-cmp td { padding: 0.85rem 1.1rem; text-align: left; vertical-align: top; }
.rv-cmp thead th {
  background: #E9F2F9; color: var(--text);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.rv-cmp tbody tr + tr td { border-top: 1px solid var(--border); }
.rv-cmp td.num b { font-size: 1.05rem; }
.rv-cmp tr.is-current td { background: #FFF9E2; font-weight: 600; }

.rv-compare { margin: 1.6rem 0; }
.rv-compare li { display: grid; grid-template-columns: 110px 1fr auto; gap: 0.9rem; align-items: center; margin-bottom: 0.7rem; font-size: 0.88rem; }
.rv-compare .track { height: 16px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.rv-compare .track i { display: block; height: 100%; border-radius: 6px; background: #7FA8C8; }
.rv-compare li.is-worst .track i { background: #D89A2B; }
.rv-compare b { font-size: 0.88rem; white-space: nowrap; }
.rv-compare-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }

.rv-callout {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
  border: 1px solid var(--watch-border); border-left: 3px solid var(--watch);
  background: var(--watch-bg); padding: 1.1rem 1.3rem; margin: 1.6rem 0;
}
.rv-callout img { width: 22px; height: 22px; margin-top: 0.15rem; }
.rv-callout p { margin: 0; color: var(--text-2); }
.rv-callout--info { border-color: #BFDCEE; border-left-color: var(--accent); background: #E9F3FA; }

/* ── Payment tiles ── */
.rv-pay-group { margin-top: 1.4rem; }
.rv-pay-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.rv-pay-head h3 { font-size: 1.1rem; margin: 0; }
.rv-pay-head img { width: 19px; height: 19px; opacity: 0.8; }
.rv-pay-min {
  margin-left: auto;
  font-size: 0.8rem; font-weight: 600; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.25rem 0.8rem;
}
.rv-pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
@media (min-width: 560px) { .rv-pay-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 920px) { .rv-pay-grid { grid-template-columns: repeat(8, 1fr); } }
.rv-pay {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.7rem 0.5rem; display: flex; align-items: center; justify-content: center;
}
.rv-pay img { width: 100%; max-width: 110px; height: auto; }

.rv-duo { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 860px) { .rv-duo { grid-template-columns: 1fr 1fr; } }

/* ── Product cards ── */
.rv-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-bottom: 1.8rem; }
@media (min-width: 680px) { .rv-products { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .rv-products { grid-template-columns: repeat(7, 1fr); } }
.rv-product {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 0.7rem; text-align: center;
}
.rv-product .ic {
  width: 42px; height: 42px; margin: 0 auto 0.6rem;
  display: flex; align-items: center; justify-content: center;
  background: #E9F2F9; border-radius: 50%;
}
.rv-product .ic img { width: 20px; height: 20px; opacity: 0.85; }
.rv-product b { display: block; font-size: 0.9rem; line-height: 1.3; }
.rv-product span { font-size: 0.76rem; color: var(--muted); }

/* ── Company + support cards ── */
.rv-info-rows { display: flex; flex-direction: column; }
.rv-info-rows li {
  display: flex; align-items: baseline; gap: 0.7rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--surface-2); font-size: 0.9rem;
}
.rv-info-rows li:last-child { border-bottom: none; }
.rv-info-rows img { width: 17px; height: 17px; align-self: center; opacity: 0.75; flex-shrink: 0; }
.rv-info-rows .k { color: var(--muted); min-width: 96px; }
.rv-info-rows .v { font-weight: 600; }

.rv-group-tree { text-align: center; margin-top: 1.2rem; }
.rv-group-parent {
  display: inline-block; background: var(--chrome); color: #fff;
  font-weight: 700; font-size: 0.9rem; border-radius: 999px; padding: 0.45rem 1.2rem;
}
.rv-group-line { width: 2px; height: 16px; background: var(--border-hi); margin: 0.35rem auto; }
.rv-group-kids { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.rv-group-kid {
  border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
  padding: 0.4rem 1rem; font-size: 0.85rem; color: var(--text-2);
}
.rv-group-kid.is-current { border-color: var(--pass-border); background: var(--pass-bg); color: var(--pass); font-weight: 700; }

/* ── RG tools ── */
.rv-rg-tools { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin: 1.4rem 0; }
@media (min-width: 700px) { .rv-rg-tools { grid-template-columns: repeat(3, 1fr); } }
.rv-rg-tool { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.2rem; }
.rv-rg-tool .ic {
  width: 40px; height: 40px; margin-bottom: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--pass-bg); border-radius: 10px;
}
.rv-rg-tool .ic img { width: 19px; height: 19px; opacity: 0.85; }
.rv-rg-tool b { display: block; margin-bottom: 0.25rem; }
.rv-rg-tool p { font-size: 0.87rem; color: var(--text-2); margin: 0; }

/* ── Method steps ── */
.rv-steps { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-bottom: 1.6rem; }
@media (min-width: 640px) { .rv-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .rv-steps { grid-template-columns: repeat(4, 1fr); } }
.rv-step { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.2rem; }
.rv-step .n {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--chrome); color: var(--brand-yellow);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  margin-bottom: 0.7rem;
}
.rv-step b { display: block; margin-bottom: 0.25rem; font-size: 0.95rem; }
.rv-step p { font-size: 0.87rem; color: var(--text-2); margin: 0; }

.rv-fit {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
  background: #E9F3FA; border: 1px solid #BFDCEE; border-radius: 12px; padding: 1.2rem 1.4rem;
}
.rv-fit img { width: 22px; height: 22px; margin-top: 0.2rem; }
.rv-fit p { margin: 0; }

/* ── Verdict ── */
.rv-verdict-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.6rem; }
@media (min-width: 820px) { .rv-verdict-grid { grid-template-columns: 1fr 1fr; } }
.rv-pros, .rv-cons { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.3rem 1.4rem; }
.rv-pros h3, .rv-cons h3 { font-size: 1.05rem; margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.rv-pros h3 img, .rv-cons h3 img { width: 19px; height: 19px; }
.rv-pros li, .rv-cons li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.6rem;
  font-size: 0.92rem; color: var(--text-2); padding: 0.35rem 0;
}
.rv-pros li img, .rv-cons li img { width: 17px; height: 17px; margin-top: 0.2rem; }

.rv-final {
  background:
    linear-gradient(100deg, rgba(6, 22, 40, 0.95), rgba(8, 40, 70, 0.85)),
    url('/images/bakgrund-sidhuvud.webp') center / cover no-repeat;
  color: #fff; border-radius: 16px; padding: 1.8rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem;
}
.rv-final .rv-ring { width: 84px; height: 84px; }
.rv-final .rv-ring::before { background: #12293E; }
.rv-final-txt { flex: 1 1 320px; }
.rv-final-txt h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.3rem; }
.rv-final-txt p { color: rgba(255,255,255,0.82); font-size: 0.92rem; margin: 0; }
.rv-final .rv-cta { flex: 0 0 auto; padding: 0.85rem 1.7rem; }
.rv-final-terms { width: 100%; display: flex; align-items: center; gap: 0.45rem; font-size: 0.76rem; color: rgba(255,255,255,0.6); margin: -0.4rem 0 0; }
.rv-final-terms img { width: 20px; height: 20px; }

/* ── FAQ ── */
.rv-faq {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 0.7rem; overflow: hidden;
}
.rv-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.3rem; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--text);
}
.rv-faq summary::-webkit-details-marker { display: none; }
.rv-faq summary img { width: 15px; height: 15px; opacity: 0.6; transition: transform 0.2s var(--ease); flex-shrink: 0; }
.rv-faq[open] summary img { transform: rotate(180deg); }
.rv-faq p { padding: 0 1.3rem 1.1rem; margin: 0; font-size: 0.94rem; }

/* [ MONEY PAGE (mp-) - register-extract aesthetic ] */

/* ── Verification panel (overlaps hero) ── */
.mp-panel-wrap { margin-top: -2.8rem; position: relative; z-index: 5; }
.mp-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(12, 19, 31, 0.14);
  overflow: hidden;
}
.mp-panel-head {
  display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
  padding: 0.7rem 1.4rem;
  background: #0E2233;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #9FC3DC;
}
.mp-panel-head img { width: 16px; height: 16px; filter: brightness(0) invert(1); opacity: 0.85; }
.mp-panel-head b { color: #fff; font-weight: 600; }
.mp-panel-date { margin-left: auto; }
.mp-panel-cells { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
.mp-cell { background: var(--surface); padding: 1.05rem 1.4rem; }
.mp-cell b { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; line-height: 1; color: var(--text); }
.mp-cell span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mp-cell--pass b { color: var(--pass); }
.mp-cell--watch b { color: var(--watch); }
.mp-cell--flag b { color: var(--flag); }
@media (min-width: 760px) { .mp-panel-cells { grid-template-columns: repeat(4, 1fr); } }

/* ── Comparison table (hub style) ── */
.mp-reg-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); margin-top: 1.4rem; }
.mp-reg { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 0.9rem; }
.mp-reg th, .mp-reg td { padding: 0.8rem 1rem; text-align: left; vertical-align: middle; }
.mp-reg th:first-child, .mp-reg td:first-child { padding-left: 1.2rem; }
.mp-reg th:last-child, .mp-reg td:last-child { padding-right: 1.2rem; }
.mp-reg thead { background: #F7F9FB; }
.mp-reg thead th {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); border-bottom: 2px solid var(--border); white-space: nowrap;
}
.mp-reg tbody tr + tr td { border-top: 1px solid var(--surface-2); }
.mp-reg tbody tr:hover td { background: #FAFBFD; }
.mp-reg .rank { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.mp-reg .cas { display: flex; align-items: center; gap: 0.7rem; }
.mp-reg .cas img { width: 76px; height: auto; flex-shrink: 0; border-radius: 6px; box-shadow: 0 2px 6px rgba(12, 19, 31, 0.22), 0 1px 2px rgba(12, 19, 31, 0.14); }
.mp-reg .cas a { font-weight: 600; color: var(--text); white-space: nowrap; }
.mp-reg .cas a:hover { color: var(--accent); text-decoration: none; }
.mp-toppval {
  display: inline-block; background: var(--brand-yellow); color: #073B5C;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 4px; padding: 2px 6px;
}
.mp-stjarnor { color: #F59E0B; letter-spacing: 1px; }
.mp-siffra { font-weight: 600; color: var(--text-2); font-size: 0.85rem; }
.mp-reg .holder { font-size: 0.82rem; color: var(--text-2); }
.mp-giltig {
  display: inline-block; white-space: nowrap;
  background: #EEF4FF; color: #1D4ED8; border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 5px; padding: 2px 8px; font-size: 0.75rem; font-weight: 600;
}
.mp-reg .rate { white-space: nowrap; }
.mp-reg .offer { min-width: 240px; }
.mp-reg .om { display: block; font-weight: 600; color: var(--text); font-size: 0.88rem; }
.mp-reg .os { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.1rem; }
.mp-reg .mp-go--sm { white-space: nowrap; }
.mp-reg-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; }

/* Narrow screens: a shadow on the right edge that fades out at the end of the
   scroll, so a table wider than the phone reads as scrollable rather than cut off */
@media (max-width: 900px) {
  .mp-reg-scroll {
    background-image:
      linear-gradient(to right, var(--surface), var(--surface)),
      linear-gradient(to right, rgba(12, 19, 31, 0.17), rgba(12, 19, 31, 0));
    background-position: right center, right center;
    background-repeat: no-repeat;
    background-size: 22px 100%, 15px 100%;
    background-attachment: local, scroll;
  }
}

/* Mobile swap: only a table that HAS a card list to fall back on may hide */
.mp-kortlista { display: none; }
@media (max-width: 640px) {
  .mp-reg-scroll--kort { display: none; }
  .mp-kortlista { display: block; margin-top: 1.4rem; }
}
.mp-kort {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--surface); box-shadow: 0 1px 6px rgba(12, 19, 31, 0.06);
  margin-bottom: 0.8rem;
}
.mp-kort-skarm { position: relative; height: 160px; overflow: hidden; background: #0A0A14; }
.mp-kort-skarm > img:first-child {
  width: 100%; height: 160px; object-fit: cover; object-position: top;
  display: block; opacity: 0.92; animation: mp-shot-pan 7s ease-in-out infinite;
}
.mp-kort-marke {
  position: absolute; bottom: 10px; left: 12px;
  width: 88px; height: auto; border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.mp-kort-kropp { padding: 0.8rem 0.9rem; display: flex; flex-direction: column; gap: 0.55rem; }
.mp-kort-huvud { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.mp-kort-huvud a { font-size: 1rem; font-weight: 700; color: var(--text); }
.mp-kort-huvud a:hover { color: var(--accent); text-decoration: none; }
.mp-kort-betyg { display: flex; align-items: center; gap: 3px; flex-shrink: 0; font-size: 0.85rem; }
.mp-kort-erb {
  font-size: 0.86rem; color: var(--text-2); line-height: 1.45;
  background: var(--pass-bg); border: 1px solid var(--pass-border); border-radius: 7px;
  padding: 0.45rem 0.7rem;
}
.mp-kort-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.mp-kort .mp-go { display: block; margin-top: 0.1rem; }
@keyframes mp-shot-pan {
  0%   { object-position: top; }
  45%  { object-position: bottom; }
  55%  { object-position: bottom; }
  100% { object-position: top; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-kort-skarm > img:first-child { animation: none; }
}

/* ── Shared yellow CTA ── */
.mp-go {
  display: inline-block; text-align: center;
  background: var(--brand-yellow); color: #073B5C;
  font-weight: 800; font-size: 0.95rem;
  padding: 0.7rem 1.6rem; border-radius: 10px;
  transition: background 0.18s var(--ease);
}
.mp-go:hover { background: #FFD83A; color: #073B5C; text-decoration: none; }
.mp-go--sm { font-weight: 700; font-size: 0.8rem; padding: 0.42rem 0.9rem; border-radius: 8px; }

/* ── Top-5 casino cards (screenshot-top style) ── */
.mp-rank {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; margin-top: 1.6rem;
  box-shadow: 0 2px 16px rgba(12, 19, 31, 0.07);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.mp-rank:hover { box-shadow: 0 6px 28px rgba(12, 19, 31, 0.12); transform: translateY(-2px); }
.mp-rank-shot { position: relative; background: #0A0A14; max-height: 220px; overflow: hidden; }
.mp-rank-shot img {
  width: 100%; height: 220px; object-fit: cover; object-position: top center;
  display: block; opacity: 0.93; transition: opacity 0.2s var(--ease);
}
.mp-rank:hover .mp-rank-shot img { opacity: 1; }
.mp-rank-pos {
  position: absolute; top: 0.85rem; left: 0.85rem;
  background: rgba(6, 22, 40, 0.9); color: #fff;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  border-radius: 999px; padding: 0.22rem 0.85rem;
}
.mp-rank-inre { padding: 1.35rem 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.95rem; }
.mp-rank h3 { margin: 0; font-family: var(--font-body); font-size: 1.2rem; font-weight: 800; line-height: 1.35; letter-spacing: 0; }
.mp-rank-chips { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.mp-chip-bolag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 8px;
}
.mp-chip-licens {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em;
  color: #fff; background: var(--pass); border-radius: 4px; padding: 2px 9px;
}
.mp-rank-betyg { margin-left: auto; display: flex; align-items: center; gap: 3px; font-size: 0.85rem; }
.mp-erbjudande {
  background: var(--pass-bg); border: 1px solid var(--pass-border); border-radius: 10px;
  padding: 1rem; text-align: center;
}
.mp-erb-rubrik { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--pass); margin-bottom: 0.3rem; }
.mp-erb-varde { font-size: 1.12rem; font-weight: 800; color: var(--text); line-height: 1.35; }
.mp-erb-detalj { font-size: 0.77rem; color: var(--text-2); margin-top: 0.25rem; }
.mp-rank-inre p { margin: 0; font-size: 0.94rem; }
.mp-bildtext { font-size: 0.8rem !important; color: var(--muted); margin-top: -0.15rem !important; }
.mp-rank-slut {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-top: 1rem; border-top: 1px solid var(--surface-2);
}
.mp-rank-slut .note { font-size: 0.78rem; color: var(--muted); }
.mp-rank-slut .note a { text-decoration: underline; text-underline-offset: 0.16em; }
.mp-avdelare {
  display: flex; align-items: center; gap: 0.9rem; margin-top: 1.6rem;
  color: var(--muted); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mp-avdelare::before, .mp-avdelare::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
@media (max-width: 680px) {
  .mp-rank-shot { max-height: none; }
  .mp-rank-shot img { height: auto; object-fit: contain; }
  .mp-rank-inre { padding: 1.1rem 1.1rem 1.2rem; }
  .mp-rank-slut { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ── Ledger rows (places 6-18) ── */
.mp-ledger { margin-top: 1.6rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.mp-row { display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; padding: 1.3rem 1.4rem; border-top: 1px solid var(--border); }
.mp-row:first-child { border-top: none; }
.mp-row-no {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1;
  color: #7E8EA6; min-width: 2.1rem; text-align: right; padding-top: 0.3rem;
}
.mp-row-head { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.55rem; }
.mp-row-head img { width: 84px; height: auto; border-radius: 6px; box-shadow: 0 2px 6px rgba(12, 19, 31, 0.22), 0 1px 2px rgba(12, 19, 31, 0.14); }
.mp-row-head b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.mp-chip {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 4px; padding: 0.1rem 0.5rem;
}
.mp-row p { margin: 0; font-size: 0.94rem; }
.mp-row-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.7rem; font-size: 0.86rem; }

/* ── Protocol checklist (connector line) ── */
.mp-proto { margin-top: 1.5rem; }
.mp-proto li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding-bottom: 1.5rem; }
.mp-proto li:last-child { padding-bottom: 0; }
.mp-proto li::before { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0.25rem; width: 2px; background: var(--border); transform: translateX(-50%); }
.mp-proto li:last-child::before { display: none; }
.mp-proto .tick {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--pass-bg); border: 1px solid var(--pass-border);
}
.mp-proto .tick img { width: 18px; height: 18px; filter: invert(31%) sepia(63%) saturate(636%) hue-rotate(102deg) brightness(94%) contrast(93%); }
.mp-proto b { display: block; margin-bottom: 0.2rem; }
.mp-proto p { margin: 0; font-size: 0.95rem; }

/* ── Koncern cards (ownership org-charts) ── */
.mp-konc { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .mp-konc { grid-template-columns: 1fr 1fr; } }
.mp-konc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.4rem 1.4rem 1.3rem;
  display: flex; flex-direction: column;
}
.mp-konc-top { text-align: center; }
.mp-konc-parent {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--chrome); color: #fff;
  font-weight: 700; font-size: 0.92rem; border-radius: 999px; padding: 0.45rem 1.2rem;
}
.mp-konc-parent img { width: 15px; height: 15px; filter: brightness(0) invert(1); }
.mp-konc-fakta { font-size: 0.75rem; color: var(--muted); margin-top: 0.4rem; }
.mp-konc-stam { width: 2px; height: 14px; background: var(--border-hi); margin: 0.5rem auto 0; }
.mp-konc-rad { display: flex; justify-content: center; }
.mp-konc-nod { position: relative; padding: 14px 5px 0; min-width: 0; flex: 1 1 0; max-width: 200px; }
.mp-konc-nod::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--border-hi); }
.mp-konc-nod:first-child::before { left: 50%; }
.mp-konc-nod:last-child::before { right: 50%; }
.mp-konc-nod::after { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 14px; background: var(--border-hi); transform: translateX(-50%); }
.mp-konc-brick {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.35rem;
  height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.75rem 0.6rem 0.65rem; text-align: center; color: inherit;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
a.mp-konc-brick:hover { border-color: var(--accent); box-shadow: 0 6px 16px rgba(12, 19, 31, 0.10); transform: translateY(-2px); text-decoration: none; }
.mp-konc-brick img { width: 64px; height: auto; border-radius: 5px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.25); }
.mp-konc-brick b { font-size: 0.82rem; color: var(--text); line-height: 1.25; }
.mp-konc-brick span { font-size: 0.72rem; color: var(--muted); line-height: 1.3; }
.mp-konc-nod--tyst .mp-konc-brick { background: var(--surface-2); border-style: dashed; justify-content: center; }
.mp-konc-card > p { font-size: 0.88rem; color: var(--text-2); margin: 1rem auto 0; text-align: center; max-width: 46ch; }
@media (max-width: 560px) {
  .mp-konc-rad { flex-direction: column; gap: 0.5rem; align-items: stretch; }
  .mp-konc-nod { padding: 0; max-width: none; }
  .mp-konc-nod::before, .mp-konc-nod::after { display: none; }
  .mp-konc-stam { display: none; }
  .mp-konc-top { margin-bottom: 0.7rem; }
}

/* ── Stats band (dark) ── */
.mp-stats {
  background:
    linear-gradient(100deg, rgba(6, 22, 40, 0.96), rgba(8, 40, 70, 0.86)),
    url('/images/bakgrund-sidhuvud.webp') center / cover no-repeat;
  border-radius: 14px; padding: 1.7rem 1.8rem; margin: 1.5rem 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem 1.5rem;
}
@media (min-width: 860px) { .mp-stats { grid-template-columns: repeat(4, 1fr); } }
.mp-stat b { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; color: #fff; }
.mp-stat span { display: block; font-size: 0.8rem; color: #AFC6D8; margin-top: 0.35rem; }

/* ── Status trio ── */
.mp-status { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .mp-status { grid-template-columns: repeat(3, 1fr); } }
.mp-status-card { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--border-hi); padding: 1.2rem 1.3rem; }
.mp-status-card--pass { border-left-color: var(--pass); }
.mp-status-card--watch { border-left-color: var(--watch); }
.mp-status-card--flag { border-left-color: var(--flag); }
.mp-status-card .badge { margin-bottom: 0.7rem; }
.mp-status-card b { display: block; margin-bottom: 0.35rem; }
.mp-status-card p { margin: 0; font-size: 0.92rem; }

/* ── Scroll-fill variant of the compare bars ── */
.rv-compare.js-fill .track i { width: 0; transition: width 0.9s var(--ease); }
.rv-compare.js-fill li:nth-child(2) .track i { transition-delay: 0.1s; }
.rv-compare.js-fill li:nth-child(3) .track i { transition-delay: 0.2s; }
.rv-compare.js-fill li:nth-child(4) .track i { transition-delay: 0.3s; }
.rv-compare.js-fill.in-view .track i { width: var(--w); }

/* ── Flow diagram (Pay N Play) ── */
.mp-flode { display: flex; align-items: stretch; margin: 1.4rem 0 1.6rem; }
.mp-flode-steg {
  flex: 1 1 0; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.1rem 1.2rem; text-align: center;
}
.mp-flode-steg .ik {
  width: 44px; height: 44px; margin: 0 auto 0.6rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--chrome);
}
.mp-flode-steg .ik img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.mp-flode-steg b { display: block; margin-bottom: 0.25rem; font-size: 0.95rem; }
.mp-flode-steg p { margin: 0; font-size: 0.85rem; color: var(--text-2); }
.mp-flode-pil { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; }
.mp-flode-pil img { width: 22px; height: 22px; opacity: 0.55; }
@media (max-width: 680px) {
  .mp-flode { flex-direction: column; }
  .mp-flode-pil { flex-basis: 34px; }
  .mp-flode-pil img { transform: rotate(90deg); }
}

/* ── Licence timeline ── */
.mp-tidslinje { display: grid; grid-template-columns: repeat(4, 1fr); margin: 1.4rem 0 1.6rem; }
.mp-tid-stopp { position: relative; padding: 30px 8px 0; text-align: center; }
.mp-tid-stopp::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: var(--border-hi); }
.mp-tid-stopp:first-child::before { left: 50%; }
.mp-tid-stopp:last-child::before { right: 50%; }
.mp-tid-stopp::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent);
}
.mp-tid-stopp .mp-giltig { margin-bottom: 0.55rem; }
.mp-tid-krt { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; color: inherit; }
a.mp-tid-krt:hover { text-decoration: none; }
a.mp-tid-krt:hover b { color: var(--accent); }
.mp-tid-krt img { width: 72px; height: auto; border-radius: 5px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.25); }
.mp-tid-krt b { font-size: 0.86rem; color: var(--text); line-height: 1.25; }
.mp-tid-krt span { font-size: 0.74rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 680px) {
  .mp-tidslinje { grid-template-columns: 1fr; }
  .mp-tid-stopp { padding: 0 0 1.2rem 28px; text-align: left; }
  .mp-tid-stopp::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .mp-tid-stopp:first-child::before { top: 8px; left: 7px; }
  .mp-tid-stopp:last-child::before { right: auto; top: 0; bottom: auto; height: 8px; }
  .mp-tid-stopp::after { left: 0; transform: none; }
  .mp-tid-krt { align-items: flex-start; text-align: left; }
}

/* ── Chooser cards ── */
.mp-valrutor { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .mp-valrutor { grid-template-columns: repeat(3, 1fr); } }
.mp-choose {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.15rem 1.25rem 1.25rem;
}
.mp-choose-ik { width: 26px; height: 26px; margin-bottom: 0.7rem; }
.mp-choose { display: flex; flex-direction: column; }
.mp-choose b { display: block; margin-bottom: 0.35rem; font-size: 1rem; }
.mp-choose p { font-size: 0.92rem; }
.mp-val-rad { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 0.8rem; }
.mp-val-rad img { width: 56px; height: auto; border-radius: 5px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.25); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease); }
.mp-val-rad a:hover img { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(12, 19, 31, 0.3); }

/* Paragraph that follows a component grid */
.mp-after { margin-top: 1.2rem; }

/* [ TRYGGHETSSIDAN (sakra-casinon) ] */

/* Kriterie-kort: horisontell ikon + text, grön kantmarkering */
.mp-krit { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.5rem; }
@media (min-width: 700px)  { .mp-krit { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .mp-krit { grid-template-columns: repeat(3, 1fr); } }
.mp-krit-kort {
  display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.9rem; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--pass);
  padding: 1.1rem 1.2rem;
}
.mp-krit-ik {
  grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pass-bg); border: 1px solid var(--pass-border);
}
.mp-krit-ik img { width: 18px; height: 18px; }
.mp-krit-kort b { font-size: 0.97rem; }
.mp-krit-kort p { margin: 0.15rem 0 0; font-size: 0.88rem; }

/* Två-tons plus/minus i tabellen */
.mp-reg .plus, .mp-reg .minus { min-width: 210px; }
.mp-pm-rad { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem; font-size: 0.85rem; line-height: 1.45; }
.mp-pm-rad img { width: 15px; height: 15px; margin-top: 0.2rem; }
.mp-pm-rad--plus  { color: var(--text-2); }
.mp-pm-rad--minus { color: var(--text-2); }
.mp-pm-rad--plus img  { filter: invert(31%) sepia(63%) saturate(636%) hue-rotate(102deg) brightness(94%) contrast(93%); }
.mp-pm-rad--minus img { filter: invert(43%) sepia(58%) saturate(846%) hue-rotate(2deg) brightness(91%) contrast(92%); }

/* Plus/minus-panel i topplistans kort */
.mp-pm { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
@media (min-width: 640px) { .mp-pm { grid-template-columns: 1fr 1fr; } }
.mp-pm-cell { background: var(--surface); padding: 0.9rem 1.1rem; }
.mp-pm-cell--plus  { background: var(--pass-bg); }
.mp-pm-cell--minus { background: var(--watch-bg); }
.mp-pm-lbl { display: flex; align-items: center; gap: 0.4rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 0.3rem; }
.mp-pm-cell--plus  .mp-pm-lbl { color: var(--pass); }
.mp-pm-cell--minus .mp-pm-lbl { color: var(--watch); }
.mp-pm-lbl img { width: 14px; height: 14px; }
.mp-pm-cell p { margin: 0; font-size: 0.89rem; color: var(--text); }

/* Kontrollformulär: gör-det-själv-granskning */
.mp-kontroll { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; margin-top: 1.5rem; }
.mp-kontroll-huvud {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  padding: 0.8rem 1.3rem; background: #0E2233; color: #fff;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
}
.mp-kontroll-huvud img { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.mp-kontroll-huvud span { margin-left: auto; font-weight: 500; color: #9FC3DC; letter-spacing: 0; }
.mp-kontroll-rad { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 1.05rem 1.3rem; border-top: 1px solid var(--surface-2); }
.mp-kontroll-rad:first-of-type { border-top: none; }
.mp-ruta {
  width: 26px; height: 26px; border: 2px solid var(--border-hi); border-radius: 5px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--muted);
}
.mp-kontroll-rad b { display: block; margin-bottom: 0.2rem; }
.mp-kontroll-rad p { margin: 0; font-size: 0.9rem; }

/* Myt mot verklighet */
.mp-myt { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 1000px) { .mp-myt { grid-template-columns: repeat(3, 1fr); } }
.mp-myt-kort { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.mp-myt-topp {
  display: grid; grid-template-columns: auto 1fr; gap: 0.55rem; align-items: start;
  background: var(--flag-bg); border-bottom: 1px solid var(--flag-border);
  padding: 0.9rem 1.1rem; font-weight: 700; font-size: 0.93rem; color: var(--flag);
}
.mp-myt-topp img { width: 17px; height: 17px; margin-top: 0.15rem; }
.mp-myt-botten { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem; align-items: start; padding: 0.95rem 1.1rem; }
.mp-myt-botten img { width: 17px; height: 17px; margin-top: 0.2rem; filter: invert(31%) sepia(63%) saturate(636%) hue-rotate(102deg) brightness(94%) contrast(93%); }
.mp-myt-botten p { margin: 0; font-size: 0.89rem; }

/* Varningssignaler */
.mp-signal { margin-top: 1.5rem; border: 1px solid var(--flag-border); border-radius: 12px; background: #FDF6F6; overflow: hidden; }
.mp-signal-rad { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 1rem 1.3rem; border-top: 1px solid var(--flag-border); }
.mp-signal-rad:first-child { border-top: none; }
.mp-signal-rad img { width: 20px; height: 20px; margin-top: 0.15rem; filter: invert(19%) sepia(72%) saturate(2900%) hue-rotate(347deg) brightness(85%) contrast(95%); }
.mp-signal-rad b { display: block; margin-bottom: 0.15rem; color: var(--flag); }
.mp-signal-rad p { margin: 0; font-size: 0.9rem; }

/* Grundskyddsremsa: golvet alla står på */
.mp-golv {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--pass-border); border: 1px solid var(--pass-border); border-radius: 12px;
  overflow: hidden; margin-top: 1.5rem;
}
@media (min-width: 900px) { .mp-golv { grid-template-columns: repeat(5, 1fr); } }
.mp-golv-del { background: var(--pass-bg); padding: 1.1rem 1rem; text-align: center; }
.mp-golv-del img { width: 24px; height: 24px; margin: 0 auto 0.5rem; filter: invert(31%) sepia(63%) saturate(636%) hue-rotate(102deg) brightness(94%) contrast(93%); }
.mp-golv-del b { display: block; font-size: 0.92rem; margin-bottom: 0.2rem; }
.mp-golv-del p { margin: 0; font-size: 0.82rem; color: var(--text-2); }

/* [ UTTAGSSIDAN (casino-med-snabba-uttag) ] */

/* Bromsarna: det som fördröjer ett uttag */
.mp-broms { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .mp-broms { grid-template-columns: repeat(3, 1fr); } }
.mp-broms-kort { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--watch); padding: 1.2rem 1.3rem; }
.mp-broms-ik {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--watch-bg); border: 1px solid var(--watch-border);
}
.mp-broms-ik img { width: 20px; height: 20px; filter: invert(43%) sepia(58%) saturate(846%) hue-rotate(2deg) brightness(91%) contrast(92%); }
.mp-broms-kort b { display: block; margin-bottom: 0.3rem; }
.mp-broms-kort p { margin: 0; font-size: 0.9rem; }

/* Betalvägs-chips i tabellen */
.mp-vag { display: flex; flex-direction: column; gap: 0.35rem; min-width: 190px; }
.mp-vag-logg { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.mp-vag-logg img { width: 46px; height: auto; border-radius: 4px; box-shadow: 0 1px 3px rgba(12, 19, 31, 0.2); }
.mp-vag span { font-size: 0.82rem; color: var(--text-2); line-height: 1.4; }

/* Specremsa i topplistans kort: metod / konto / bonuslås */
.mp-vagband {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
@media (min-width: 640px) { .mp-vagband { grid-template-columns: repeat(3, 1fr); } }
.mp-vagband-del { background: #F7FAFC; padding: 0.8rem 1rem; }
.mp-vagband-lbl { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.mp-vagband-del b { display: block; font-size: 0.9rem; line-height: 1.35; }
.mp-vagband-logg { display: flex; align-items: center; gap: 0.3rem; margin-bottom: 0.2rem; }
.mp-vagband-logg img { width: 50px; height: auto; border-radius: 4px; box-shadow: 0 1px 3px rgba(12, 19, 31, 0.2); }
.mp-las {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.8rem; font-weight: 700; border-radius: 4px; padding: 0.1rem 0.5rem;
}
.mp-las img { width: 13px; height: 13px; }
.mp-las--fri { color: var(--pass); background: var(--pass-bg); border: 1px solid var(--pass-border); }
.mp-las--las { color: var(--watch); background: var(--watch-bg); border: 1px solid var(--watch-border); }

/* Fart-tips */
.mp-tips { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .mp-tips { grid-template-columns: 1fr 1fr; } }
.mp-tips-kort {
  display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  padding: 1.1rem 1.3rem;
}
.mp-tips-nr {
  grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.mp-tips-kort b { font-size: 0.97rem; }
.mp-tips-kort p { margin: 0.15rem 0 0; font-size: 0.89rem; }

/* Diagnostik: orsak -> åtgärd */
.mp-diag { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.mp-diag-huvud {
  display: none; background: var(--surface-2);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.mp-diag-rad { display: grid; grid-template-columns: 1fr; background: var(--surface); border-top: 1px solid var(--border); }
.mp-diag-rad:first-of-type { border-top: none; }
.mp-diag-orsak, .mp-diag-atgard { padding: 1rem 1.2rem; }
.mp-diag-orsak { background: #FFFCF5; border-bottom: 1px solid var(--border); }
.mp-diag-orsak b { display: flex; align-items: center; gap: 0.45rem; color: var(--watch); }
.mp-diag-orsak img { width: 17px; height: 17px; filter: invert(43%) sepia(58%) saturate(846%) hue-rotate(2deg) brightness(91%) contrast(92%); }
.mp-diag-atgard b { display: flex; align-items: center; gap: 0.45rem; color: var(--pass); }
.mp-diag-atgard img { width: 17px; height: 17px; filter: invert(31%) sepia(63%) saturate(636%) hue-rotate(102deg) brightness(94%) contrast(93%); }
.mp-diag p { margin: 0.3rem 0 0; font-size: 0.9rem; }
@media (min-width: 860px) {
  .mp-diag-huvud { display: grid; grid-template-columns: 1fr 1fr; }
  .mp-diag-huvud div { padding: 0.6rem 1.2rem; }
  .mp-diag-huvud div + div { border-left: 1px solid var(--border); }
  .mp-diag-rad { grid-template-columns: 1fr 1fr; }
  .mp-diag-orsak { border-bottom: none; border-right: 1px solid var(--border); }
}

/* Versus-panel */
.mp-vs { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 1.5rem; position: relative; }
@media (min-width: 760px) { .mp-vs { grid-template-columns: 1fr 1fr; } }
.mp-vs-sida { background: var(--surface); padding: 1.5rem 1.6rem; }
.mp-vs-sida img.logg { width: 96px; height: auto; border-radius: 6px; box-shadow: 0 2px 6px rgba(12, 19, 31, 0.2); margin-bottom: 0.9rem; }
.mp-vs-sida b { display: block; margin-bottom: 0.4rem; font-size: 1rem; }
.mp-vs-sida p { margin: 0; font-size: 0.92rem; }
.mp-vs-lista { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mp-vs-lista li { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem; font-size: 0.88rem; color: var(--text-2); }
.mp-vs-lista img { width: 15px; height: 15px; margin-top: 0.2rem; filter: invert(31%) sepia(63%) saturate(636%) hue-rotate(102deg) brightness(94%) contrast(93%); }
.mp-vs-mot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: #0E2233; color: #fff; border: 3px solid var(--bg);
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
}
@media (min-width: 760px) { .mp-vs-mot { display: flex; } }

/* [ BETALMETODSSIDOR (casino-med-swish, casino-med-trustly) ] */

/* Bevisnivå-chips */
.mp-bevis {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; font-weight: 700; border-radius: 4px; padding: 0.15rem 0.55rem;
  white-space: nowrap;
}
.mp-bevis img { width: 13px; height: 13px; }
.mp-bevis--stark { color: var(--pass); background: var(--pass-bg); border: 1px solid var(--pass-border); }
.mp-bevis--medel { color: #1D4ED8; background: #EEF4FF; border: 1px solid rgba(37, 99, 235, 0.15); }
.mp-bevis--svag  { color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); }
.mp-bevis-txt { display: block; font-size: 0.83rem; color: var(--text-2); margin-top: 0.25rem; }

/* Bevistrappa: tre sätt att belägga en metod */
.mp-trappa { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .mp-trappa { grid-template-columns: repeat(3, 1fr); align-items: end; } }
.mp-trappa-steg { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.2rem; }
.mp-trappa-matare { display: flex; gap: 3px; margin-bottom: 0.7rem; }
.mp-trappa-matare i { display: block; height: 6px; flex: 1; border-radius: 999px; background: var(--surface-3); }
.mp-trappa-matare i.pa { background: var(--pass); }
.mp-trappa-steg b { display: block; margin-bottom: 0.25rem; font-size: 0.95rem; }
.mp-trappa-steg p { margin: 0; font-size: 0.87rem; }
@media (min-width: 860px) {
  .mp-trappa-steg--1 { margin-bottom: 0; }
  .mp-trappa-steg--2 { margin-bottom: 0.9rem; }
  .mp-trappa-steg--3 { margin-bottom: 1.8rem; }
}

/* Bevisruta i topplistans kort */
.mp-bevisruta {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: center;
  background: #F2F8FC; border: 1px solid #CBDEED; border-radius: 10px; padding: 1rem 1.2rem;
}
.mp-bevisruta > img { width: 62px; height: auto; border-radius: 5px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.22); }
.mp-bevisruta-lbl { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.mp-bevisruta b { display: block; font-size: 0.97rem; margin-bottom: 0.15rem; }
.mp-bevisruta p { margin: 0.2rem 0 0; font-size: 0.87rem; }

/* Statusgrupper för resten av fältet */
.mp-status-grupp { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .mp-status-grupp { grid-template-columns: repeat(3, 1fr); } }
.mp-grupp { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; }
.mp-grupp--nej { border-top: 3px solid var(--flag); }
.mp-grupp--annat { border-top: 3px solid var(--accent); }
.mp-grupp--ovis { border-top: 3px solid var(--border-hi); }
.mp-grupp-rubrik { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.mp-grupp-rubrik img { width: 18px; height: 18px; }
.mp-grupp-rubrik b { font-size: 1rem; }
.mp-grupp-antal { margin-left: auto; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--muted); line-height: 1; }
.mp-grupp p { font-size: 0.89rem; }
.mp-grupp-logg { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.8rem; }
.mp-grupp-logg img { width: 54px; height: auto; border-radius: 4px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.22); }
.mp-grupp-logg a:hover img { box-shadow: 0 3px 8px rgba(12, 19, 31, 0.3); }

/* Stegband: horisontell processtracker */
.mp-stegband { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.6rem; }
@media (min-width: 860px) { .mp-stegband { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.mp-stegband-del { position: relative; padding-top: 3rem; }
.mp-stegband-del::before {
  content: ""; position: absolute; top: 21px; left: 0; right: 0; height: 3px; background: var(--surface-3);
}
.mp-stegband-del:first-child::before { left: 50%; }
.mp-stegband-del:last-child::before { right: 50%; }
.mp-stegband-del .nr {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--chrome); color: var(--brand-yellow);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  border: 4px solid var(--bg);
}
.mp-stegband-inre { padding: 0 0.9rem; text-align: center; }
.mp-stegband-inre b { display: block; margin-bottom: 0.25rem; font-size: 0.95rem; }
.mp-stegband-inre p { margin: 0; font-size: 0.87rem; }
@media (max-width: 859px) {
  .mp-stegband-del { padding-top: 0; padding-left: 3.4rem; }
  .mp-stegband-del::before { top: 0; bottom: -1.1rem; left: 21px; right: auto; width: 3px; height: auto; }
  .mp-stegband-del:last-child::before { display: none; }
  .mp-stegband-del .nr { left: 0; transform: none; border-width: 0; }
  .mp-stegband-inre { padding: 0; text-align: left; }
}

/* Felsökningskort */
.mp-fel { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .mp-fel { grid-template-columns: 1fr 1fr; } }
.mp-fel-kort {
  display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.25rem;
}
.mp-fel-ik {
  grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--watch-bg); border: 1px solid var(--watch-border);
}
.mp-fel-ik img { width: 17px; height: 17px; filter: invert(43%) sepia(58%) saturate(846%) hue-rotate(2deg) brightness(91%) contrast(92%); }
.mp-fel-kort b { font-size: 0.96rem; }
.mp-fel-kort p { margin: 0.15rem 0 0; font-size: 0.88rem; }

/* Metodrad: kort jämförelse mellan betalsätt */
.mp-metodrad { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 1.5rem; }
@media (min-width: 760px) { .mp-metodrad { grid-template-columns: repeat(4, 1fr); } }
.mp-metodrad-del { background: var(--surface); padding: 1.1rem 1.2rem; text-align: center; }
.mp-metodrad-del img { width: 74px; height: auto; margin: 0 auto 0.6rem; border-radius: 5px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.22); }
.mp-metodrad-del b { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.mp-metodrad-del p { margin: 0; font-size: 0.84rem; }

/* ── Trustly: metodens två roller ── */
.mp-roll { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .mp-roll { grid-template-columns: 1fr 1fr; } }
.mp-roll-kort { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.mp-roll-topp {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1.3rem; background: #F2F8FC; border-bottom: 1px solid #CBDEED;
}
.mp-roll-topp img { width: 62px; height: auto; border-radius: 5px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.22); }
.mp-roll-topp b { font-size: 1rem; }
.mp-roll-kort > p { margin: 0; padding: 1.1rem 1.3rem; font-size: 0.92rem; }
.mp-roll-kort--motor .mp-roll-topp { background: #E9F7EF; border-bottom-color: var(--pass-border); }

/* Mini-räls i korten: bank -> Trustly -> spelkonto */
.mp-rail { display: flex; align-items: stretch; gap: 0.4rem; background: #F7FAFC; border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 1rem; }
.mp-rail-nod { flex: 1 1 0; min-width: 0; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 0.2rem; }
.mp-rail-nod img { width: 68px; height: auto; margin: 0 auto; border-radius: 5px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.22); }
.mp-rail-nod span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.mp-rail-nod b { font-size: 0.85rem; line-height: 1.3; }
.mp-rail-nod--mitt { flex: 1.4 1 0; background: var(--surface); border: 1px solid #CBDEED; border-radius: 8px; padding: 0.4rem 0.5rem; }
.mp-rail-pil { display: flex; align-items: center; flex: 0 0 20px; }
.mp-rail-pil img { width: 16px; height: 16px; opacity: 0.5; }
@media (max-width: 620px) {
  .mp-rail { flex-direction: column; }
  .mp-rail-pil { flex-basis: 18px; justify-content: center; }
  .mp-rail-pil img { transform: rotate(90deg); }
}

/* Klassiskt flöde mot Pay N Play */
.mp-jamfor-flode { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .mp-jamfor-flode { grid-template-columns: 1fr 1fr; } }
.mp-flodespar { border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1.3rem; background: var(--surface); }
.mp-flodespar--gammal { background: var(--surface-2); }
.mp-flodespar-lbl { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.mp-flodespar-steg { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.mp-flodespar-steg span {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.35rem 0.85rem; font-size: 0.85rem; font-weight: 600; color: var(--text-2);
}
.mp-flodespar--ny .mp-flodespar-steg span { background: var(--pass-bg); border-color: var(--pass-border); color: var(--pass); }
.mp-flodespar-steg img { width: 14px; height: 14px; opacity: 0.45; }
.mp-flodespar p { margin: 0.9rem 0 0; font-size: 0.88rem; }

/* Overifierat-band */
.mp-ovis { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 1.2rem 1.3rem; }
.mp-ovis-rubrik { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.mp-ovis-rubrik img { width: 18px; height: 18px; opacity: 0.7; }
.mp-ovis-rubrik b { font-size: 1rem; }
.mp-ovis-rubrik span { margin-left: auto; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--muted); line-height: 1; }
.mp-ovis p { font-size: 0.9rem; }
.mp-ovis-logg { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.mp-ovis-logg img { width: 58px; height: auto; border-radius: 4px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.22); }
.mp-ovis-logg a:hover img { box-shadow: 0 3px 8px rgba(12, 19, 31, 0.3); }

/* [ NYA CASINON ] */

/* Tre sorters "nytt" */
.mp-sort { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .mp-sort { grid-template-columns: repeat(3, 1fr); } }
.mp-sort-kort { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.mp-sort-topp { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--border); }
.mp-sort-topp img { width: 19px; height: 19px; }
.mp-sort-topp b { font-size: 1rem; }
.mp-sort-kort--akta .mp-sort-topp { background: var(--pass-bg); border-bottom-color: var(--pass-border); color: var(--pass); }
.mp-sort-kort--byte .mp-sort-topp { background: var(--watch-bg); border-bottom-color: var(--watch-border); color: var(--watch); }
.mp-sort-kort--rutin .mp-sort-topp { background: var(--surface-2); color: var(--text-2); }
.mp-sort-kort > p { margin: 0; padding: 1rem 1.2rem 0.9rem; font-size: 0.91rem; }
.mp-sort-exempel { margin-top: auto; padding: 0.9rem 1.2rem; border-top: 1px dashed var(--border); background: #FAFCFE; }
.mp-sort-lbl { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.mp-sort-exempel .rad { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.mp-sort-exempel img { width: 62px; height: auto; border-radius: 4px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.22); }
.mp-sort-exempel span { font-size: 0.84rem; color: var(--text-2); }

/* Licensbyte: före och efter */
.mp-byte {
  display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center;
  margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem 1.5rem;
}
@media (min-width: 800px) { .mp-byte { grid-template-columns: 1fr auto 1fr; } }
.mp-byte-sida { text-align: center; }
.mp-byte-lbl { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.mp-byte-sida img { width: 96px; height: auto; margin: 0 auto 0.5rem; border-radius: 6px; box-shadow: 0 2px 6px rgba(12, 19, 31, 0.22); }
.mp-byte-sida b { display: block; font-size: 0.95rem; }
.mp-byte-sida span { display: block; font-size: 0.83rem; color: var(--muted); margin-top: 0.15rem; }
.mp-byte-mitt { text-align: center; }
.mp-byte-datum {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--watch-bg); border: 1px solid var(--watch-border); border-radius: 999px;
  padding: 0.35rem 0.9rem; font-size: 0.82rem; font-weight: 700; color: var(--watch);
}
.mp-byte-datum img { width: 14px; height: 14px; filter: invert(43%) sepia(58%) saturate(846%) hue-rotate(2deg) brightness(91%) contrast(92%); }
.mp-byte-pil { display: block; margin: 0.5rem auto 0; width: 22px; height: 22px; opacity: 0.4; }
@media (max-width: 799px) { .mp-byte-pil { transform: rotate(90deg); } }
.mp-byte-foljd { grid-column: 1 / -1; margin: 0.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--surface-2); font-size: 0.9rem; text-align: center; }

/* Årslinje: förnyelser grupperade per år */
.mp-arslinje { margin-top: 1.5rem; }
.mp-ar { position: relative; padding-left: 4.4rem; padding-bottom: 1.4rem; }
.mp-ar:last-child { padding-bottom: 0; }
.mp-ar::before { content: ""; position: absolute; left: 1.55rem; top: 0.6rem; bottom: 0; width: 2px; background: var(--border); }
.mp-ar:last-child::before { display: none; }
.mp-ar-tal {
  position: absolute; left: 0; top: 0;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--muted);
  background: var(--bg); padding-bottom: 0.3rem;
}
.mp-ar-post {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.9rem 1.1rem; margin-bottom: 0.7rem;
  display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.9rem; align-items: center;
}
.mp-ar-post:last-child { margin-bottom: 0; }
.mp-ar-post::before {
  content: ""; position: absolute; left: -2.95rem; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--border-hi);
}
.mp-ar-post img { grid-row: 1 / 3; width: 68px; height: auto; border-radius: 5px; box-shadow: 0 1px 4px rgba(12, 19, 31, 0.22); }
.mp-ar-post b { font-size: 0.94rem; }
.mp-ar-post p { margin: 0; font-size: 0.87rem; }
@media (max-width: 560px) {
  .mp-ar { padding-left: 0; }
  .mp-ar::before { display: none; }
  .mp-ar-post::before { display: none; }
  .mp-ar-tal { position: static; display: block; margin-bottom: 0.6rem; }
}

/* ── Payment tiles with labels ── */
.mp-pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 1.2rem 0 1.5rem; }
@media (min-width: 560px) { .mp-pay-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .mp-pay-grid { grid-template-columns: repeat(6, 1fr); } }
.mp-pay {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.75rem 0.6rem 0.55rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.mp-pay img { width: 100%; max-width: 102px; height: auto; }
.mp-pay span { font-size: 0.73rem; color: var(--muted); }

/* ── Author box ── */
.author-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.5rem 1.6rem; margin-top: 3.2rem;
  display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1.3rem; align-items: start;
}
.author-box h2 { grid-column: 1 / -1; font-size: 1.25rem; margin-bottom: 0.9rem; }
.author-box p:first-of-type { margin: 0; }
.author-box img[width="96"] { width: 76px; height: 76px; border-radius: 50%; border: 3px solid #E9F2F9; }
.author-box p:last-of-type { font-size: 0.94rem; color: var(--text-2); margin: 0; }


/* [ /casinobonus: kronor-math set ] */

/* Bar chart: every offer converted to kronor to wager */
.mp-kronor {
  margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); padding: 0.4rem 1.3rem 1.1rem;
}
.mp-kronor-topp {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0 0.7rem; border-bottom: 2px solid var(--border);
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
}
.mp-kronor-rad {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center; gap: 0.25rem 0.9rem;
  padding: 0.62rem 0; border-top: 1px solid var(--surface-2);
}
.mp-kronor-rad:first-of-type { border-top: none; }
.mp-kronor-logo {
  grid-row: span 2; width: 72px; height: auto; border-radius: 6px;
  box-shadow: 0 2px 6px rgba(12, 19, 31, 0.22), 0 1px 2px rgba(12, 19, 31, 0.14);
}
.mp-kronor-namn { font-size: 0.87rem; font-weight: 700; color: var(--text); }
.mp-kronor-namn:hover { color: var(--accent); text-decoration: none; }
.mp-kronor-tal { font-size: 0.9rem; font-weight: 800; white-space: nowrap; text-align: right; }
.mp-kronor-spar {
  grid-column: 2 / span 2; height: 9px; border-radius: 999px;
  background: var(--surface-2); overflow: hidden;
}
.mp-kronor-spar i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 1s var(--ease); }
.mp-kronor-rad.in-view .mp-kronor-spar i { width: var(--kr); }
.mp-niva--fri .mp-kronor-tal, .mp-krtal--fri { color: var(--pass); }
.mp-niva--fri .mp-kronor-spar i { background: var(--pass); }
.mp-niva--mild .mp-kronor-tal, .mp-krtal--mild { color: var(--pass); }
.mp-niva--mild .mp-kronor-spar i { background: #3FA06C; }
.mp-niva--tung .mp-kronor-tal, .mp-krtal--tung { color: var(--watch); }
.mp-niva--tung .mp-kronor-spar i { background: #D89B2E; }
.mp-niva--extrem .mp-kronor-tal, .mp-krtal--extrem { color: var(--flag); }
.mp-niva--extrem .mp-kronor-spar i { background: var(--flag); }
.mp-kronor-fot { font-size: 0.78rem; color: var(--muted); margin: 0.9rem 0 0; }
@media (prefers-reduced-motion: reduce) {
  .mp-kronor-spar i { transition: none; }
}
@media (max-width: 520px) {
  .mp-kronor { padding: 0.4rem 0.9rem 1rem; }
  .mp-kronor-rad { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0.2rem 0.7rem; }
  .mp-kronor-logo { width: 56px; }
  .mp-kronor-namn { font-size: 0.82rem; }
  .mp-kronor-tal { font-size: 0.82rem; }
}

/* Kronor figure used in the table and ledger rows */
.mp-krtal { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1; display: block; }
.mp-krbas { display: block; font-size: 0.74rem; color: var(--muted); margin-top: 0.2rem; }
.mp-reg .kr { min-width: 158px; }
.mp-row-head .mp-krtal { margin-left: auto; font-size: 1.2rem; }
.mp-kort-huvud .mp-krtal { font-size: 1.15rem; text-align: right; flex-shrink: 0; }
.mp-kort-erb--tung { background: var(--watch-bg); border-color: var(--watch-border); }
.mp-kort-erb--extrem { background: var(--flag-bg); border-color: var(--flag-border); }
@media (min-width: 900px) { .mp-tips--tre { grid-template-columns: repeat(3, 1fr); } }

/* Equation strip: base x multiplier = kronor */
.mp-kalkyl {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch; gap: 0.5rem;
  border: 1px dashed var(--border-hi); border-radius: 10px;
  background: linear-gradient(180deg, #FBFCFE, var(--surface));
  padding: 0.85rem 0.9rem;
}
.mp-kalkyl-del { text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 0.2rem; }
.mp-kalkyl-del span {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
}
.mp-kalkyl-del b { font-size: 1rem; font-weight: 800; color: var(--text); line-height: 1.25; }
.mp-kalkyl-op {
  align-self: center; font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; color: var(--border-hi); line-height: 1;
}
.mp-kalkyl-del--svar b { font-size: 1.3rem; color: var(--flag); }
.mp-kalkyl--fri .mp-kalkyl-del--svar b { color: var(--pass); }
.mp-kalkyl--mild .mp-kalkyl-del--svar b { color: var(--pass); }
.mp-kalkyl--stor { padding: 1.4rem 1.1rem; margin-top: 1.5rem; }
.mp-kalkyl--stor .mp-kalkyl-del b { font-size: 1.2rem; }
.mp-kalkyl--stor .mp-kalkyl-del--svar b { font-size: 1.9rem; font-family: var(--font-display); font-weight: 700; }
.mp-kalkyl--stor .mp-kalkyl-op { font-size: 2rem; }
@media (max-width: 620px) {
  .mp-kalkyl { grid-template-columns: 1fr; gap: 0.15rem; padding: 0.9rem; }
  .mp-kalkyl-op { font-size: 1.2rem; text-align: center; }
}

/* Three casinos that skip the bonus entirely */
.mp-nollkort { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .mp-nollkort { grid-template-columns: repeat(3, 1fr); } }
.mp-noll {
  background: var(--pass-bg); border: 1px solid var(--pass-border); border-radius: 12px;
  padding: 1.2rem 1.1rem 1.3rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
}
.mp-noll img {
  width: 96px; height: auto; border-radius: 7px;
  box-shadow: 0 3px 9px rgba(12, 19, 31, 0.24), 0 1px 2px rgba(12, 19, 31, 0.14);
}
.mp-noll-tal { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--pass); }
.mp-noll-tal small { display: block; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--pass); margin-top: 0.25rem; }
.mp-noll p { margin: 0; font-size: 0.87rem; color: var(--text-2); }
.mp-noll a.mp-noll-lank { font-size: 0.84rem; font-weight: 600; margin-top: auto; padding-top: 0.35rem; }

/* Four contract lines that decide the value */
.mp-villkor { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.mp-villkor li {
  display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.05rem 1.2rem;
}
.mp-villkor-ik {
  width: 38px; height: 38px; border-radius: 9px; grid-row: span 2;
  background: var(--watch-bg); border: 1px solid var(--watch-border);
  display: flex; align-items: center; justify-content: center;
}
.mp-villkor-ik img { width: 19px; height: 19px; }
.mp-villkor b { font-size: 0.98rem; }
.mp-villkor p { margin: 0.25rem 0 0; font-size: 0.9rem; }
.mp-villkor-fall {
  display: inline-block; margin-top: 0.5rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  color: var(--flag); background: var(--flag-bg);
  border: 1px solid var(--flag-border); border-radius: 5px; padding: 0.15rem 0.55rem;
}

/* Bonus types, each with a verdict */
.mp-typrutor { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 720px) { .mp-typrutor { grid-template-columns: 1fr 1fr; } }
.mp-typ {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.15rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.55rem;
}
.mp-typ-topp { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.mp-typ h3 { margin: 0; font-family: var(--font-body); font-size: 1.02rem; font-weight: 800; letter-spacing: 0; }
.mp-typ p { margin: 0; font-size: 0.9rem; }
.mp-dom {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; border-radius: 5px; padding: 0.18rem 0.6rem;
  white-space: nowrap;
}
.mp-dom--ja { background: var(--pass-bg); color: var(--pass); border: 1px solid var(--pass-border); }
.mp-dom--kanske { background: var(--watch-bg); color: var(--watch); border: 1px solid var(--watch-border); }
.mp-dom--nej { background: var(--flag-bg); color: var(--flag); border: 1px solid var(--flag-border); }


/* [ /live-casino: table-floor set ] */

/* Gallery of live sections from the top tier */
.mp-bordsgalleri { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.5rem; }
@media (min-width: 780px) { .mp-bordsgalleri { grid-template-columns: repeat(3, 1fr); } }
.mp-bordskort {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 2px 14px rgba(12, 19, 31, 0.07);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.mp-bordskort:hover { box-shadow: 0 8px 26px rgba(12, 19, 31, 0.14); transform: translateY(-3px); }
.mp-bordskort-bild { position: relative; background: #06121F; }
.mp-bordskort-bild > img:first-child { width: 100%; height: 172px; object-fit: cover; object-position: top center; display: block; }
.mp-bordskort-logo {
  position: absolute; left: 12px; bottom: -18px; width: 92px; height: auto;
  border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
}
.mp-bordskort-kropp { padding: 1.6rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.mp-bordskort-kropp b { font-size: 1.02rem; }
.mp-bordskort-kropp p { margin: 0; font-size: 0.88rem; color: var(--text-2); }
.mp-bordskort-kropp a { font-size: 0.85rem; font-weight: 600; margin-top: auto; padding-top: 0.5rem; }

/* Three tiers of live coverage */
.mp-skikt { margin-top: 1.5rem; display: grid; gap: 1rem; }
.mp-skikt-rad {
  display: grid; grid-template-columns: 108px 1fr;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface);
}
.mp-skikt-niva {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; padding: 1.2rem 0.6rem; text-align: center;
}
.mp-skikt-niva b { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 0.9; }
.mp-skikt-niva span { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.mp-skikt-rad--1 .mp-skikt-niva { background: #0E2233; color: #fff; }
.mp-skikt-rad--1 .mp-skikt-niva span { color: #9FC3DC; }
.mp-skikt-rad--2 .mp-skikt-niva { background: #DCE9F4; color: #14496F; }
.mp-skikt-rad--2 .mp-skikt-niva span { color: #3E668A; }
.mp-skikt-rad--3 .mp-skikt-niva { background: var(--surface-2); color: #5A6879; }
.mp-skikt-rad--3 .mp-skikt-niva span { color: var(--muted); }
.mp-skikt-kropp { padding: 1.15rem 1.35rem 1.25rem; }
.mp-skikt-kropp h3 { margin: 0 0 0.4rem; font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; letter-spacing: 0; }
.mp-skikt-kropp p { margin: 0; font-size: 0.93rem; }
.mp-logorad { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 0.95rem; }
.mp-logorad a { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.mp-logorad img {
  width: 92px; height: auto; border-radius: 6px;
  box-shadow: 0 2px 7px rgba(12, 19, 31, 0.24), 0 1px 2px rgba(12, 19, 31, 0.14);
  transition: transform 0.16s var(--ease);
}
.mp-logorad a:hover img { transform: translateY(-2px); }
.mp-logorad span { font-size: 0.7rem; font-weight: 600; color: var(--text-2); }
.mp-logorad a:hover { text-decoration: none; }
.mp-logorad a:hover span { color: var(--accent); }
@media (max-width: 560px) {
  .mp-skikt-rad { grid-template-columns: 1fr; }
  .mp-skikt-niva { flex-direction: row; gap: 0.6rem; padding: 0.6rem 1rem; justify-content: flex-start; }
  .mp-skikt-niva b { font-size: 1.6rem; }
  .mp-logorad img { width: 78px; }
}

/* Live against machine-dealt play, attribute by attribute */
.mp-motsats { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.mp-motsats-topp {
  display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center;
  background: #0E2233; color: #fff; padding: 0.7rem 1.2rem;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mp-motsats-topp span:first-child { text-align: right; }
.mp-motsats-topp span:last-child { text-align: left; }
.mp-motsats-rad {
  display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center;
  padding: 0.85rem 1.2rem; border-top: 1px solid var(--surface-2); gap: 0.4rem;
}
.mp-motsats-rad:first-of-type { border-top: none; }
.mp-motsats-lab {
  text-align: center; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
}
.mp-motsats-v { font-size: 0.9rem; color: var(--text); }
.mp-motsats-v--live { text-align: right; font-weight: 600; }
.mp-motsats-v--maskin { text-align: left; color: var(--text-2); }
.mp-motsats-fot {
  background: var(--pass-bg); border-top: 1px solid var(--pass-border);
  padding: 0.85rem 1.2rem; text-align: center; font-size: 0.89rem; color: var(--pass); font-weight: 600;
}
@media (max-width: 620px) {
  .mp-motsats-topp { grid-template-columns: 1fr 1fr; padding: 0.6rem 0.9rem; }
  .mp-motsats-topp span:first-child { text-align: left; }
  .mp-motsats-topp span:nth-child(2) { display: none; }
  .mp-motsats-rad { grid-template-columns: 1fr 1fr; padding: 0.75rem 0.9rem; gap: 0.3rem 0.8rem; }
  .mp-motsats-lab { grid-row: 1; grid-column: 1 / -1; text-align: left; }
  .mp-motsats-v { grid-row: 2; }
  .mp-motsats-v--live { text-align: left; }
}

/* Four questions before you sit down */
.mp-fragor { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
@media (min-width: 760px) { .mp-fragor { grid-template-columns: 1fr 1fr; } }
.mp-fragor li {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.15rem 1.3rem 1.25rem;
}
.mp-fraga-nr {
  position: absolute; top: -0.55rem; right: 0.6rem;
  font-family: var(--font-display); font-size: 3.6rem; font-weight: 700; line-height: 1;
  color: #8494AB; pointer-events: none;
}
.mp-fragor b { position: relative; font-size: 1rem; }
.mp-fragor p { position: relative; margin: 0.3rem 0 0; font-size: 0.91rem; }

/* Standing verdict band */
.mp-slutsats {
  margin-top: 1.5rem; background: #0E2233; color: #DCEDF7;
  border-radius: 14px; padding: 1.5rem 1.7rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center;
}
.mp-slutsats-ik {
  width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.09);
  display: flex; align-items: center; justify-content: center;
}
.mp-slutsats-ik img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.mp-slutsats b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; }
.mp-slutsats p { margin: 0.35rem 0 0; font-size: 0.92rem; color: #AFC6D8; }
.mp-slutsats a { color: #FECC02; }
@media (max-width: 560px) {
  .mp-slutsats { grid-template-columns: 1fr; gap: 0.8rem; padding: 1.3rem; }
  .mp-slutsats b { font-size: 1.25rem; }
}






/* [ TRUST + LEGAL pages (tr-, jr-) ] */

/* Emergency help panel */
.tr-hjalp {
  margin-top: 1.5rem; background: #0E2233; color: #DCEDF7;
  border-radius: 14px; padding: 1.6rem 1.75rem 1.7rem;
}
.tr-hjalp-nr {
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
  padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.tr-hjalp-nr img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.tr-hjalp-nr b { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; }
.tr-hjalp-nr span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; color: #9FC3DC; }
.tr-hjalp p { margin: 0; font-size: 0.95rem; color: #C7D7E4; }
.tr-hjalp a { color: #FECC02; }
.tr-hjalp-rad { display: grid; grid-template-columns: 1fr; gap: 0.7rem; margin-top: 1.1rem; }
@media (min-width: 700px) { .tr-hjalp-rad { grid-template-columns: repeat(3, 1fr); } }
.tr-hjalp-kort {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px; padding: 0.85rem 1rem;
}
.tr-hjalp-kort b { display: block; color: #fff; font-size: 0.94rem; margin-bottom: 0.15rem; }
.tr-hjalp-kort span { font-size: 0.85rem; color: #AFC6D8; }

/* Principle cards */
.tr-principer { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .tr-principer { grid-template-columns: repeat(3, 1fr); } }
.tr-princip {
  background: var(--surface); border: 1px solid var(--border); border-radius: 13px;
  padding: 1.25rem 1.3rem 1.35rem; position: relative;
}
.tr-princip-ik {
  width: 38px; height: 38px; border-radius: 10px; background: var(--pass-bg);
  border: 1px solid var(--pass-border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem;
}
.tr-princip-ik img { width: 19px; height: 19px; }
.tr-princip b { display: block; font-size: 1rem; margin-bottom: 0.3rem; }
.tr-princip p { margin: 0; font-size: 0.91rem; }

/* Contact rows */
.tr-kontakt { display: grid; grid-template-columns: 1fr; gap: 0.8rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .tr-kontakt { grid-template-columns: 1fr 1fr; } }
.tr-kontakt-rad {
  display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.05rem 1.2rem 1.1rem;
}
.tr-kontakt-ik {
  width: 36px; height: 36px; border-radius: 9px; grid-row: span 2;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
}
.tr-kontakt-ik img { width: 19px; height: 19px; }
.tr-kontakt-rad b { font-size: 0.96rem; }
.tr-kontakt-rad p { margin: 0.2rem 0 0; font-size: 0.9rem; }

/* Author profile header */
.tr-profil {
  display: grid; grid-template-columns: 1fr; gap: 1.3rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.6rem 1.7rem; margin-top: 1.5rem;
}
@media (min-width: 700px) { .tr-profil { grid-template-columns: auto 1fr; } }
.tr-profil img { width: 132px; height: 132px; border-radius: 50%; border: 4px solid #E9F2F9; }
.tr-profil h2 { margin: 0 0 0.3rem; font-size: 1.4rem; }
.tr-profil p { margin: 0; font-size: 0.95rem; }
.tr-profil-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.8rem; }
.tr-profil-meta span {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 4px; padding: 0.18rem 0.55rem;
}

/* Legal pages: quiet table of contents */
.jr-innehall {
  margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.1rem 1.35rem 1.2rem;
}
.jr-innehall b {
  display: block; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem;
}
.jr-innehall ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
@media (min-width: 760px) { .jr-innehall ol { grid-template-columns: 1fr 1fr; } }
.jr-innehall li { counter-increment: jr; font-size: 0.92rem; }
.jr-innehall li::before {
  content: counter(jr, decimal-leading-zero) " ";
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--border-hi); margin-right: 0.4rem;
}
.jr-innehall ol { counter-reset: jr; }
.jr-uppdaterad {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.4rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px;
  padding: 0.25rem 0.7rem;
}


/* [ ARTICLE OPENING (ai-) - key figures + jump nav under every long-read hero ] */

.ai-panel {
  position: relative; z-index: 2; margin: -2.6rem 0 2.2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(12, 19, 31, 0.14); overflow: hidden;
}
.ai-panel-huvud {
  display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
  padding: 0.7rem 1.4rem; background: #0E2233;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #9FC3DC;
}
.ai-panel-huvud img { width: 15px; height: 15px; filter: brightness(0) invert(1); opacity: 0.85; }
.ai-panel-huvud b { color: #fff; font-weight: 600; }
.ai-panel-huvud .ai-hoger { margin-left: auto; }
.ai-tal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
.ai-tal--2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .ai-tal--3 { grid-template-columns: repeat(3, 1fr); } .ai-tal--4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 779px) { .ai-tal--3 .ai-tal-cell:last-child { grid-column: 1 / -1; } }
.ai-tal-cell { background: var(--surface); padding: 1rem 1.4rem 1.05rem; }
.ai-tal-cell b {
  display: block; font-family: var(--font-display); font-size: 2.05rem; font-weight: 700;
  line-height: 1; color: var(--text);
}
.ai-tal-cell span {
  display: block; margin-top: 0.3rem; font-size: 0.8rem; color: var(--muted); line-height: 1.35;
}
.ai-tal-cell--flag b { color: var(--flag); }
.ai-tal-cell--pass b { color: var(--pass); }
.ai-tal-cell--watch b { color: var(--watch); }
.ai-hopp {
  display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
  padding: 0.9rem 1.4rem 1rem; border-top: 1px solid var(--border); background: #FBFCFE;
}
.ai-hopp > span:first-child {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-right: 0.2rem;
}
.ai-hopp a {
  font-size: 0.84rem; font-weight: 600; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.28rem 0.8rem;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.ai-hopp a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); text-decoration: none; }
@media (max-width: 640px) {
  .ai-panel { margin: -1.8rem 0 1.8rem; }
  .ai-panel-huvud { padding: 0.6rem 1rem 0.65rem; row-gap: 0.3rem; }
  .ai-panel-huvud .ai-hoger { margin-left: 0; flex-basis: 100%; }
  .ai-tal-cell { padding: 0.85rem 1rem 0.9rem; }
  .ai-tal-cell b { font-size: 1.6rem; }
  .ai-hopp { padding: 0.8rem 1rem 0.9rem; gap: 0.35rem; }
  .ai-hopp a { font-size: 0.78rem; padding: 0.24rem 0.65rem; }
}

/* Hero needs bottom room for the overlapping panel */
.rv-hero--djup { padding-bottom: 4.6rem; }
@media (max-width: 640px) { .rv-hero--djup { padding-bottom: 3.4rem; } }

/* Anchor offset so jump links don't hide the heading under the sticky header */
.rv-sec[id] { scroll-margin-top: 5rem; }

/* Definition trio: licensed / unlicensed / blacklisted and friends */
.ai-kategorier { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .ai-kategorier { grid-template-columns: repeat(3, 1fr); } }
.ai-kat { border-radius: 13px; border: 1px solid; padding: 1.2rem 1.3rem 1.3rem; }
.ai-kat--pass { background: var(--pass-bg); border-color: var(--pass-border); }
.ai-kat--watch { background: var(--watch-bg); border-color: var(--watch-border); }
.ai-kat--flag { background: var(--flag-bg); border-color: var(--flag-border); }
.ai-kat-topp { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.55rem; }
.ai-kat-ik {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.7);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ai-kat-ik img { width: 17px; height: 17px; }
.ai-kat-topp b { font-family: var(--font-display); font-size: 1.2rem; }
.ai-kat--pass .ai-kat-topp b { color: var(--pass); }
.ai-kat--watch .ai-kat-topp b { color: var(--watch); }
.ai-kat--flag .ai-kat-topp b { color: var(--flag); }
.ai-kat p { margin: 0; font-size: 0.9rem; color: var(--text); }

/* [ GUIDER cluster (gd-) - instructional furniture ] */

/* Numbered flow chain */
.gd-flode { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .gd-flode { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .gd-flode { grid-template-columns: repeat(3, 1fr); } }
.gd-steg {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.1rem 1.2rem 1.2rem;
}
.gd-steg-nr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; margin-bottom: 0.6rem;
  background: var(--accent-dim); color: var(--accent);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
}
.gd-steg b { display: block; font-size: 0.98rem; margin-bottom: 0.25rem; }
.gd-steg p { margin: 0; font-size: 0.9rem; }

/* Info cards */
.gd-kort { display: grid; grid-template-columns: 1fr; gap: 0.85rem; margin-top: 1.5rem; }
@media (min-width: 780px) { .gd-kort { grid-template-columns: 1fr 1fr; } }
.gd-ruta {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  border-left: 3px solid var(--accent); padding: 1.05rem 1.2rem 1.1rem;
}
.gd-ruta b { display: block; font-size: 0.96rem; margin-bottom: 0.2rem; }
.gd-ruta p { margin: 0; font-size: 0.9rem; }

/* The three clocks */
.gd-klockor { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 820px) { .gd-klockor { grid-template-columns: repeat(3, 1fr); } }
.gd-klocka {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.3rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem;
  position: relative; overflow: hidden;
}
.gd-klocka::after {
  content: ""; position: absolute; right: -28px; top: -28px; width: 110px; height: 110px;
  border: 10px solid var(--surface-2); border-radius: 50%;
}
.gd-klocka-nr {
  position: relative; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.gd-klocka-ik {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  background: #0E2233; display: flex; align-items: center; justify-content: center;
}
.gd-klocka-ik img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.gd-klocka b { position: relative; font-size: 1rem; }
.gd-klocka p { position: relative; margin: 0; font-size: 0.9rem; }

/* [ VARNINGAR cluster (vn-) - evidence and alarm furniture ] */

/* Year bars over the blacklist */
.vn-arstaplar {
  margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 13px;
  background: var(--surface); padding: 1.3rem 1.5rem 1.4rem;
}
.vn-arstapel { display: grid; grid-template-columns: 3.2rem 1fr 2.6rem; align-items: center; gap: 0.8rem; padding: 0.34rem 0; }
.vn-arstapel span:first-child { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-2); }
.vn-arstapel i { display: block; height: 14px; border-radius: 3px; background: var(--flag); opacity: 0.85; }
.vn-arstapel b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; text-align: right; color: var(--text); }
.vn-arstapel--topp i { background: #8E181C; opacity: 1; }
.vn-arstaplar-fot { margin: 1rem 0 0; font-size: 0.79rem; color: var(--muted); }

/* Year heading band */
.vn-arband {
  display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap;
  margin-top: 2.2rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--surface-3);
}
.vn-arband h3 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0; }
.vn-arband span {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--flag);
  background: var(--flag-bg); border: 1px solid var(--flag-border); border-radius: 4px; padding: 0.15rem 0.55rem;
}
.mp-reg .vn-datum { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-2); white-space: nowrap; }
.mp-reg .vn-sajter { font-size: 0.85rem; color: var(--text-2); }
.mp-reg--vn { min-width: 720px; }

/* Numbered warning signals */
.vn-signaler { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
@media (min-width: 820px) { .vn-signaler { grid-template-columns: 1fr 1fr; } }
.vn-signaler li {
  display: grid; grid-template-columns: auto 1fr; gap: 0 0.95rem; align-items: start; align-content: start;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--flag);
  border-radius: 0 11px 11px 0; padding: 1rem 1.15rem 1.05rem;
}
.vn-signal-nr {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.15;
  color: var(--flag); grid-row: span 2; min-width: 1.7rem;
}
.vn-signaler b { font-size: 0.96rem; }
.vn-signaler p { margin: 0.2rem 0 0; font-size: 0.9rem; }

/* Quick test steps */
.vn-test { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.5rem; counter-reset: t; }
@media (min-width: 760px) { .vn-test { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .vn-test--fyra { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .vn-test--fyra { grid-template-columns: repeat(4, 1fr); } }
.vn-test-steg {
  background: #0E2233; color: #DCEDF7; border-radius: 12px; padding: 1.15rem 1.25rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.vn-test-nr { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #FECC02; }
.vn-test-steg b { color: #fff; font-size: 0.98rem; }
.vn-test-steg p { margin: 0; font-size: 0.89rem; color: #AFC6D8; }
.vn-test-steg a { color: #FECC02; }

/* Real against fake */
.vn-akta { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 780px) { .vn-akta { grid-template-columns: 1fr 1fr; } }
.vn-akta-sida { border-radius: 13px; border: 1px solid; padding: 1.25rem 1.35rem 1.35rem; }
.vn-akta-sida--akta { background: var(--pass-bg); border-color: var(--pass-border); }
.vn-akta-sida--falsk { background: var(--flag-bg); border-color: var(--flag-border); }
.vn-akta-topp { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.75rem; }
.vn-akta-topp img { width: 20px; height: 20px; }
.vn-akta-topp b { font-family: var(--font-display); font-size: 1.25rem; }
.vn-akta-sida--akta .vn-akta-topp b { color: var(--pass); }
.vn-akta-sida--falsk .vn-akta-topp b { color: var(--flag); }
.vn-akta-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.vn-akta-lista li { font-size: 0.9rem; padding-left: 1.15rem; position: relative; }
.vn-akta-lista li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; }
.vn-akta-sida--akta .vn-akta-lista li::before { background: var(--pass); }
.vn-akta-sida--falsk .vn-akta-lista li::before { background: var(--flag); }

/* Cause cards */
.vn-orsaker { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .vn-orsaker { grid-template-columns: 1fr 1fr; } }
.vn-orsak {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.vn-orsak-topp { display: flex; align-items: center; gap: 0.6rem; }
.vn-orsak-ik { width: 32px; height: 32px; border-radius: 8px; background: var(--watch-bg); border: 1px solid var(--watch-border); display: flex; align-items: center; justify-content: center; }
.vn-orsak-ik img { width: 17px; height: 17px; }
.vn-orsak b { font-size: 0.96rem; }
.vn-orsak p { margin: 0; font-size: 0.89rem; }
.vn-orsak-fix { font-size: 0.85rem; color: var(--pass); font-weight: 600; margin-top: auto; padding-top: 0.3rem; }

/* Escalation ladder */
.vn-trappa { margin-top: 1.5rem; display: grid; gap: 0; }
.vn-trappa-steg {
  display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; align-items: start;
  position: relative; padding: 0 0 1.4rem 0;
}
.vn-trappa-steg:last-child { padding-bottom: 0; }
.vn-trappa-steg::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0.2rem; width: 2px;
  background: var(--border); transform: translateX(-50%);
}
.vn-trappa-steg:last-child::before { display: none; }
.vn-trappa-nr {
  width: 42px; height: 42px; border-radius: 50%; grid-row: span 2; flex-shrink: 0;
  background: #0E2233; color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
}
.vn-trappa-steg b { font-size: 1rem; padding-top: 0.55rem; display: block; }
.vn-trappa-steg p { margin: 0.3rem 0 0; font-size: 0.91rem; }
.vn-trappa-tid {
  display: inline-block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem;
  font-weight: 600; color: var(--text-2); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 4px; padding: 0.12rem 0.55rem;
}

/* Trap cards + glossary */
.vn-fallor { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .vn-fallor { grid-template-columns: repeat(3, 1fr); } }
.vn-falla {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem;
  border-top: 1px solid var(--border);
}
.vn-falla-nr {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--flag);
}
.vn-falla b { font-size: 0.97rem; }
.vn-falla p { margin: 0; font-size: 0.89rem; }

.vn-ordlista { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; background: var(--surface); }
.vn-ord {
  display: grid; grid-template-columns: 1fr; gap: 0.2rem;
  padding: 0.95rem 1.25rem; border-top: 1px solid var(--surface-2);
}
@media (min-width: 720px) { .vn-ord { grid-template-columns: 220px 1fr; gap: 0 1.4rem; align-items: baseline; } }
.vn-ord:first-child { border-top: none; }
.vn-ord b { font-size: 0.94rem; }
.vn-ord span { font-size: 0.9rem; color: var(--text-2); }

/* [ HUBS (hb-) - shared index furniture ] */

/* Guide cards used by the varningar / licens / guider hubs */
.hb-kort { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 780px) { .hb-kort { grid-template-columns: 1fr 1fr; } }
.hb-ruta {
  background: var(--surface); border: 1px solid var(--border); border-radius: 13px;
  padding: 1.25rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: 0.5rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.hb-ruta:hover { border-color: var(--border-hi); box-shadow: 0 8px 24px rgba(12, 19, 31, 0.09); }
.hb-ruta-topp { display: flex; align-items: center; gap: 0.7rem; }
.hb-ruta-ik {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
}
.hb-ruta-ik img { width: 20px; height: 20px; }
.hb-ruta h3 { margin: 0; font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; letter-spacing: 0; }
.hb-ruta p { margin: 0; font-size: 0.92rem; }
.hb-ruta-lank { margin-top: auto; padding-top: 0.35rem; font-size: 0.88rem; font-weight: 600; }
.hb-ruta-lank::after { content: " \203A"; }
.hb-kort--larm .hb-ruta-ik { background: var(--flag-bg); border: 1px solid var(--flag-border); }
.hb-kort--lag .hb-ruta-ik { background: #EEF4FF; border: 1px solid rgba(37, 99, 235, 0.18); }
.hb-kort--guide .hb-ruta-ik { background: var(--pass-bg); border: 1px solid var(--pass-border); }

/* Group band for the guide hub */
.hb-grupp {
  display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  background: #0E2233; color: #fff; border-radius: 12px; padding: 0.9rem 1.25rem;
}
.hb-grupp-ik {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
}
.hb-grupp-ik img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.hb-grupp b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.hb-grupp span { margin-left: auto; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; color: #9FC3DC; }

/* [ /granskningar (gr-) ] */
.gr-princip { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .gr-princip { grid-template-columns: repeat(3, 1fr); } }
.gr-princip-kort {
  background: var(--surface); border: 1px solid var(--border); border-radius: 13px;
  padding: 1.25rem 1.3rem 1.35rem; position: relative;
}
.gr-princip-nr {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1;
  color: #DCE5EF; position: absolute; top: 0.9rem; right: 1.2rem;
}
.gr-princip-kort b { display: block; font-size: 1rem; margin-bottom: 0.35rem; position: relative; }
.gr-princip-kort p { margin: 0; font-size: 0.91rem; position: relative; }

.gr-arkiv { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 620px) { .gr-arkiv { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gr-arkiv { grid-template-columns: repeat(3, 1fr); } }
.gr-kort {
  display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 13px;
  padding: 1.1rem 1.15rem 1.2rem;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.gr-kort:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(12, 19, 31, 0.11); text-decoration: none; }
.gr-kort-topp { display: flex; align-items: center; gap: 0.75rem; }
.gr-kort-topp img { width: 84px; height: auto; border-radius: 6px; box-shadow: 0 2px 7px rgba(12, 19, 31, 0.24), 0 1px 2px rgba(12, 19, 31, 0.14); }
.gr-kort-ring {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--pass) calc(var(--pct) * 1%), var(--surface-2) 0);
  display: flex; align-items: center; justify-content: center;
}
.gr-kort-ring span {
  width: 34px; height: 34px; border-radius: 50%; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.98rem; font-weight: 700; color: var(--text);
}
.gr-kort b { font-size: 1rem; color: var(--text); }
.gr-kort:hover b { color: var(--accent); }
.gr-kort-bolag { font-size: 0.78rem; color: var(--muted); }
.gr-kort-fynd {
  font-size: 0.88rem; color: var(--text-2); line-height: 1.5;
  border-left: 3px solid var(--surface-3); padding-left: 0.75rem; margin-top: auto;
}

.gr-fynd { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.gr-fynd li {
  display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.15rem 1.3rem;
}
.gr-fynd-nr {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1;
  color: var(--accent); grid-row: span 2; min-width: 2rem;
}
.gr-fynd b { font-size: 0.99rem; }
.gr-fynd p { margin: 0.25rem 0 0; font-size: 0.92rem; }

.gr-skala { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); padding: 1.4rem 1.5rem 1.5rem; }
.gr-skala-rad { position: relative; height: 12px; border-radius: 999px; background: var(--surface-2); margin: 2.4rem 0 0.6rem; }
.gr-skala-spann {
  position: absolute; top: 0; bottom: 0; left: 78%; right: 8%;
  border-radius: 999px; background: linear-gradient(90deg, #3FA06C, var(--pass));
}
.gr-skala-mark { position: absolute; top: -2.05rem; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.gr-skala-mark b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.gr-skala-mark span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.gr-skala-mark::after { content: ""; position: absolute; left: 50%; bottom: -0.55rem; width: 2px; height: 0.5rem; background: var(--border-hi); }
.gr-skala-axel { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); }
.gr-skala-delar { display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin-top: 1.4rem; }
@media (min-width: 700px) { .gr-skala-delar { grid-template-columns: repeat(4, 1fr); } }
.gr-del { background: #F7F9FB; border: 1px solid var(--surface-3); border-radius: 9px; padding: 0.7rem 0.85rem; }
.gr-del b { display: block; font-size: 0.87rem; }
.gr-del span { font-size: 0.78rem; color: var(--muted); }

/* [ /varningar (vn-) ] */
.vn-lage {
  display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 1.5rem;
  background: var(--border); border: 1px solid var(--border); border-radius: 13px; overflow: hidden;
}
@media (min-width: 700px) { .vn-lage { grid-template-columns: repeat(3, 1fr); } }
.vn-lage-cell { background: var(--surface); padding: 1.2rem 1.35rem; }
.vn-lage-cell b { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--flag); }
.vn-lage-cell--pass b { color: var(--pass); }
.vn-lage-cell span { display: block; font-size: 0.85rem; color: var(--text-2); margin-top: 0.35rem; }
.vn-lage-fot {
  grid-column: 1 / -1; background: #0E2233; color: #AFC6D8;
  padding: 0.85rem 1.35rem; font-size: 0.87rem;
}
.vn-lage-fot a { color: #FECC02; }

.vn-status { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .vn-status { grid-template-columns: repeat(3, 1fr); } }
.vn-status-kort { border-radius: 13px; padding: 1.25rem 1.35rem 1.35rem; border: 1px solid; }
.vn-status-kort--pass { background: var(--pass-bg); border-color: var(--pass-border); }
.vn-status-kort--watch { background: var(--watch-bg); border-color: var(--watch-border); }
.vn-status-kort--flag { background: var(--flag-bg); border-color: var(--flag-border); }
.vn-status-topp { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.vn-status-ik { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); display: flex; align-items: center; justify-content: center; }
.vn-status-ik img { width: 18px; height: 18px; }
.vn-status-topp b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.vn-status-kort--pass .vn-status-topp b { color: var(--pass); }
.vn-status-kort--watch .vn-status-topp b { color: var(--watch); }
.vn-status-kort--flag .vn-status-topp b { color: var(--flag); }
.vn-status-kort p { margin: 0; font-size: 0.91rem; color: var(--text); }
.vn-status-antal {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2);
  background: rgba(255, 255, 255, 0.75); border-radius: 4px; padding: 0.15rem 0.5rem;
}

/* [ /licens-och-lag (lg-) ] */
.lg-krav { display: grid; grid-template-columns: 1fr; gap: 0.85rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .lg-krav { grid-template-columns: 1fr 1fr; } }
.lg-krav-rad {
  display: grid; grid-template-columns: auto 1fr; gap: 0 0.95rem; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.05rem 1.2rem 1.1rem;
}
.lg-krav-ik {
  width: 34px; height: 34px; border-radius: 9px; grid-row: span 2;
  background: #EEF4FF; border: 1px solid rgba(37, 99, 235, 0.18);
  display: flex; align-items: center; justify-content: center;
}
.lg-krav-ik img { width: 18px; height: 18px; }
.lg-krav-rad b { font-size: 0.96rem; }
.lg-krav-rad p { margin: 0.2rem 0 0; font-size: 0.89rem; }

.lg-jamfor { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; background: var(--surface); }
.lg-jamfor-topp {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  background: #0E2233; color: #fff; padding: 0.75rem 1.2rem;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.lg-jamfor-topp span:nth-child(2) { color: #7FD3A5; }
.lg-jamfor-topp span:nth-child(3) { color: #F08A8D; }
.lg-jamfor-rad {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 0.4rem;
  padding: 0.85rem 1.2rem; border-top: 1px solid var(--surface-2); align-items: center; font-size: 0.9rem;
}
.lg-jamfor-rad:first-of-type { border-top: none; }
.lg-jamfor-rad b { font-size: 0.92rem; }
.lg-ja { color: var(--pass); font-weight: 600; }
.lg-nej { color: var(--flag); }
@media (max-width: 640px) {
  .lg-jamfor-topp { grid-template-columns: 1fr 1fr; }
  .lg-jamfor-topp span:first-child { display: none; }
  .lg-jamfor-rad { grid-template-columns: 1fr 1fr; gap: 0.25rem 0.8rem; padding: 0.75rem 0.95rem; }
  .lg-jamfor-rad b { grid-column: 1 / -1; }
}

/* [ HOMEPAGE (hm-) - detection console aesthetic ] */

/* Working casino scanner in the hero */
.hm-scanner {
  position: relative; margin-top: 2rem; max-width: 640px;
  background: var(--surface); border-radius: 14px; padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}
.hm-scanner-topp {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.65rem;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
}
.hm-puls {
  width: 8px; height: 8px; border-radius: 50%; background: var(--pass);
  box-shadow: 0 0 0 0 rgba(18, 120, 74, 0.5); animation: hm-blink 2.4s ease-out infinite;
}
@keyframes hm-blink {
  0%   { box-shadow: 0 0 0 0 rgba(18, 120, 74, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(18, 120, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 120, 74, 0); }
}
.hm-scanner-rad { display: flex; gap: 0.55rem; }
.hm-scanner-rad input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 1rem; color: var(--text);
  padding: 0.72rem 0.9rem; border: 1px solid var(--border-hi); border-radius: 9px; background: #FBFCFE;
}
.hm-scanner-rad input:focus { outline: 2px solid var(--accent); outline-offset: -1px; background: #fff; }
.hm-scanner-knapp {
  display: inline-flex; align-items: center; gap: 0.45rem; flex-shrink: 0;
  background: var(--brand-yellow); color: #073B5C; border: none; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 0.95rem;
  padding: 0 1.3rem; border-radius: 9px; transition: background 0.18s var(--ease);
}
.hm-scanner-knapp:hover { background: #FFD83A; }
.hm-scanner-knapp img { width: 17px; height: 17px; }
.hm-scanner-hint { margin: 0.65rem 0 0; font-size: 0.83rem; color: var(--muted); }
.hm-traffar { list-style: none; margin: 0.7rem 0 0; padding: 0; border-top: 1px solid var(--surface-2); }
.hm-traffar:empty { display: none; border-top: none; }
.hm-traff {
  display: grid; grid-template-columns: 62px 1fr auto auto; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.35rem; border-bottom: 1px solid var(--surface-2);
}
.hm-traff:last-child { border-bottom: none; }
.hm-traff:hover { background: #F7F9FB; text-decoration: none; }
.hm-traff img { width: 62px; height: auto; border-radius: 5px; box-shadow: 0 2px 6px rgba(12, 19, 31, 0.22); }
.hm-traff b { font-size: 0.92rem; color: var(--text); }
.hm-traff-betyg { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.hm-traff-pil { color: var(--accent); font-weight: 700; }
.hm-inget { padding: 0.75rem 0.35rem; font-size: 0.88rem; color: var(--text-2); }
.hm-status-pill {
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; border-radius: 4px; padding: 0.12rem 0.5rem;
  background: var(--pass-bg); color: var(--pass); border: 1px solid var(--pass-border); white-space: nowrap;
}
.hm-status-pill--watch { background: var(--watch-bg); color: var(--watch); border-color: var(--watch-border); }
.hm-status-pill--flag { background: var(--flag-bg); color: var(--flag); border-color: var(--flag-border); }
@media (max-width: 560px) {
  .hm-scanner-rad { flex-direction: column; }
  .hm-scanner-knapp { justify-content: center; padding: 0.7rem 1.3rem; }
  .hm-traff { grid-template-columns: 48px 1fr auto; gap: 0.5rem; }
  .hm-traff img { width: 48px; }
  .hm-traff-pil { display: none; }
}

/* Two-column hero: copy + scanner left, status console right */
.hm-hero { display: grid; gap: 2.25rem; }
@media (min-width: 1040px) {
  .hm-hero { grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr); gap: 3.25rem; align-items: center; }
  .hm-hero .hero-lead { max-width: none; }
}
.hm-hero-text { min-width: 0; }

.hm-diagram {
  background: #0E2233; border: 1px solid #23405A; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}
.hm-diagram-huvud {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.75rem 1.15rem; background: #0A1B29; border-bottom: 1px solid #23405A;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: #9FC3DC;
}
.hm-diagram-datum { margin-left: auto; }
.hm-diagram-tal { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #23405A; }
.hm-diagram-cell { background: #0E2233; padding: 0.95rem 1.15rem 1rem; }
.hm-diagram-cell b {
  display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 700;
  line-height: 1; color: #fff;
}
.hm-diagram-cell span { display: block; margin-top: 0.28rem; font-size: 0.78rem; color: #93A3B9; line-height: 1.35; }
.hm-diagram-kropp { padding: 1.1rem 1.25rem 0.3rem; border-top: 1px solid #23405A; }
.hm-graf-yta { min-height: 168px; }
.hm-diagram-rubrik {
  margin: 0 0 0.85rem; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: #9FC3DC;
}
.hm-graf { margin: 0; }
.hm-graf-yta {
  display: grid; grid-template-columns: 1.7rem minmax(0, 1fr);
  grid-template-rows: 156px auto; gap: 0.4rem 0.5rem;
}
.hm-graf-axel {
  display: flex; flex-direction: column; justify-content: space-between; text-align: right;
  font-family: var(--font-mono); font-size: 0.6rem; line-height: 1; color: #7E94AB;
}
.hm-graf-axel span { transform: translateY(-0.32em); }
.hm-graf-axel span:first-child { transform: translateY(0); }
.hm-graf-axel span:last-child { transform: translateY(-0.5em); }
.hm-graf-plot { position: relative; }
.hm-graf-rutnat {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom,
    #1B344C 0, #1B344C 1px, transparent 1px, transparent 33.3333%);
  border-bottom: 1px solid #2B4A66;
}
.hm-kolumner {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(5, 1fr); gap: 0.5rem; align-items: end;
}
.hm-kol { position: relative; height: 100%; }
.hm-kol i {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #3E93DC 0%, #2064A3 100%);
  transition: height 0.9s var(--ease);
}
.hm-kol-tal {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  padding-bottom: 0.2rem; transform: translateY(-100%);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1; color: #fff;
  transition: bottom 0.9s var(--ease);
}
.hm-diagram.in-view .hm-kol i { height: var(--h); }
.hm-diagram.in-view .hm-kol-tal { bottom: var(--h); }
.hm-kol--topp .hm-kol-tal { color: var(--brand-yellow); }
.hm-kol--topp i { background: linear-gradient(180deg, #FEDD4D 0%, #E0AE00 100%); }
.hm-graf-ar {
  grid-column: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.66rem; color: #93A3B9; text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .hm-kol i, .hm-kol-tal { transition: none; }
}
.hm-diagram-fot { margin: 0.9rem 0 0; font-size: 0.79rem; line-height: 1.5; color: #93A3B9; }
.hm-diagram-lank {
  display: block; margin-top: 1rem; padding: 0.85rem 1.15rem 0.95rem;
  border-top: 1px solid #23405A; font-size: 0.86rem; font-weight: 600; color: var(--brand-yellow);
}
.hm-diagram-lank:hover { background: rgba(254, 204, 2, 0.07); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .hm-stapel-spar i { transition: none; } }
@media (max-width: 480px) {
  .hm-diagram-cell { padding: 0.85rem 0.95rem 0.9rem; }
  .hm-diagram-kropp, .hm-diagram-lank { padding-left: 0.95rem; padding-right: 0.95rem; }
}

/* Podium: the three highest-scoring casinos */
.hm-podium { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.75rem; align-items: start; }
/* Three cards in two columns would leave a hole, so the winner takes the top row */
@media (min-width: 700px) and (max-width: 1039px) {
  .hm-podium { grid-template-columns: 1fr 1fr; }
  .hm-podium > .hm-plats--ett { grid-column: 1 / -1; }
}
@media (min-width: 1040px) { .hm-podium { grid-template-columns: repeat(3, 1fr); } }
.hm-plats {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; box-shadow: 0 2px 14px rgba(12, 19, 31, 0.07);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.hm-plats:hover { box-shadow: 0 10px 30px rgba(12, 19, 31, 0.14); transform: translateY(-3px); }
.hm-plats--ett { border-color: var(--brand-yellow); box-shadow: 0 4px 22px rgba(254, 204, 2, 0.28); }
.hm-plats-topp {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 1.15rem; border-bottom: 1px solid var(--surface-2); background: #FBFCFE;
}
.hm-plats-nr {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1;
  color: var(--border-hi); flex-shrink: 0;
}
.hm-plats--ett .hm-plats-nr { color: #C79A00; }
.hm-plats-topp img { width: 92px; height: auto; border-radius: 7px; box-shadow: 0 3px 9px rgba(12, 19, 31, 0.25), 0 1px 2px rgba(12, 19, 31, 0.14); }
.hm-plats-ring {
  margin-left: auto; width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--pass) calc(var(--pct) * 1%), var(--surface-2) 0);
  display: flex; align-items: center; justify-content: center;
}
.hm-plats-ring span {
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text);
}
.hm-plats-kropp { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.hm-plats-kropp > * { width: 100%; }
.hm-plats-kropp > .hm-status-pill { width: auto; }
.hm-plats-kropp h3 { margin: 0; font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; letter-spacing: 0; }
.hm-plats-licens { margin: 0; font-size: 0.85rem; color: var(--text-2); }
.hm-punkt { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.88rem; }
.hm-punkt-ik { width: 20px; height: 20px; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.hm-punkt--plus .hm-punkt-ik { background: var(--pass-bg); border: 1px solid var(--pass-border); }
.hm-punkt--minus .hm-punkt-ik { background: var(--watch-bg); border: 1px solid var(--watch-border); }
.hm-punkt-ik img { width: 12px; height: 12px; }
.hm-plats-fot { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; padding-top: 0.3rem; }
.hm-plats-fot .mp-go { flex: 1 1 auto; min-width: 140px; max-width: 340px; text-align: center; white-space: nowrap; }
.hm-plats-fot a:not(.mp-go) { font-size: 0.85rem; font-weight: 600; }

/* Route cards to the eight lists */
.hm-vagval { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-top: 1.75rem; }
@media (min-width: 520px) { .hm-vagval { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .hm-vagval { grid-template-columns: repeat(4, 1fr); } }
.hm-vag {
  display: flex; flex-direction: column; gap: 0.45rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.1rem 1.05rem 1.15rem; position: relative;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.hm-vag:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(12, 19, 31, 0.1); text-decoration: none; }
.hm-vag-ik {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.2rem;
}
.hm-vag-ik img { width: 21px; height: 21px; }
.hm-vag b { font-size: 0.98rem; color: var(--text); line-height: 1.3; }
.hm-vag:hover b { color: var(--accent); }
.hm-vag > span:not(.hm-vag-ik) { font-size: 0.84rem; color: var(--text-2); }
/* One card per row on a phone: icon beside the text instead of stacked above it */
@media (max-width: 519px) {
  .hm-vag { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.9rem; padding: 0.95rem 1.05rem; }
  .hm-vag-ik { grid-row: 1 / 3; align-self: center; margin-bottom: 0; }
}

/* Alarm band: the warning centre */
.hm-larm { background: #17161B; color: #E7E3E8; padding: 3.25rem 0; border-bottom: none; }
.hm-larm h2 { color: #fff; }
.hm-larm .section-head p { color: #B3ADB8; }
.hm-larmkort { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.75rem; }
@media (min-width: 620px) and (max-width: 899px) { .hm-larmkort { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .hm-larmkort { grid-template-columns: repeat(3, 1fr); } }
.hm-larm-kort {
  background: #201E26; border: 1px solid #33303B; border-radius: 13px;
  padding: 1.3rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem;
}
.hm-larm-tag {
  display: inline-flex; align-items: center; gap: 0.35rem; align-self: flex-start;
  font-family: var(--font-mono); font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: 4px; padding: 0.15rem 0.5rem;
  background: rgba(240, 138, 141, 0.12); color: #F08A8D; border: 1px solid rgba(240, 138, 141, 0.3);
}
.hm-larm-tag--watch { background: rgba(234, 201, 138, 0.12); color: #EAC98A; border-color: rgba(234, 201, 138, 0.3); }
.hm-larm-tag img { width: 12px; height: 12px; }
.hm-larm-tal { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; line-height: 0.9; color: #fff; }
.hm-larm-kort h3 { margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: 0; }
.hm-larm-kort p { margin: 0; font-size: 0.89rem; color: #B3ADB8; }
.hm-larm-kort a { color: #FECC02; font-weight: 600; font-size: 0.87rem; margin-top: auto; padding-top: 0.4rem; }
.hm-larm-fot { margin-top: 1.6rem; }
.hm-larm-fot a { color: #FECC02; font-weight: 600; }

/* The six-check chain */
.hm-kedja { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.75rem; counter-reset: hm-steg; }
@media (min-width: 700px) { .hm-kedja { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .hm-kedja { grid-template-columns: repeat(3, 1fr); } }
.hm-lank {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.15rem 1.2rem 1.25rem;
}
.hm-lank-ik {
  width: 42px; height: 42px; border-radius: 50%; background: #0E2233;
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem;
}
.hm-lank-ik img { width: 21px; height: 21px; filter: brightness(0) invert(1); }
.hm-lank-nr {
  position: absolute; top: 1.15rem; right: 1.2rem;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; color: var(--muted);
}
.hm-lank b { display: block; font-size: 0.99rem; margin-bottom: 0.3rem; }
.hm-lank p { margin: 0; font-size: 0.9rem; }

/* Payment routes */
.hm-betal { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.75rem; }
@media (min-width: 900px) { .hm-betal { grid-template-columns: repeat(4, 1fr); } }
.hm-betal-kort {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.1rem 1rem 1.15rem; display: flex; flex-direction: column; align-items: center;
  gap: 0.55rem; text-align: center;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.hm-betal-kort:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
/* Tiles carrying two logos must keep them on one row, or that card's title
   drops a line and the row stops lining up */
.hm-betal-logor { display: flex; align-items: center; justify-content: center; gap: 0.35rem; flex-wrap: nowrap; min-height: 40px; }
.hm-betal-logor img { width: 84px; max-width: 100%; min-width: 0; flex: 0 1 auto; height: auto; border-radius: 5px; box-shadow: 0 2px 6px rgba(12, 19, 31, 0.18); }
.hm-betal-kort b { font-size: 0.97rem; color: var(--text); }
.hm-betal-kort:hover b { color: var(--accent); }
.hm-betal-kort span { font-size: 0.84rem; color: var(--text-2); }

/* Link rows for the law + guide clusters */
.hm-rader { display: grid; grid-template-columns: 1fr; gap: 0.7rem; margin-top: 1.75rem; }
@media (min-width: 780px) { .hm-rader { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .hm-rader--tre { grid-template-columns: repeat(3, 1fr); } }
.hm-rad {
  display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 0 0.9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 11px;
  padding: 0.95rem 1.1rem;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.hm-rad:hover { border-color: var(--accent); background: #FBFCFE; text-decoration: none; }
.hm-rad-ik {
  width: 36px; height: 36px; border-radius: 9px; grid-row: span 2; align-self: start;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
}
.hm-rad-ik img { width: 19px; height: 19px; }
.hm-rad b { font-size: 0.96rem; color: var(--text); }
.hm-rad:hover b { color: var(--accent); }
.hm-rad span { font-size: 0.85rem; color: var(--text-2); }
.hm-rad-pil { grid-row: span 2; align-self: center; color: var(--border-hi); font-size: 1.1rem; font-weight: 700; }
.hm-rad:hover .hm-rad-pil { color: var(--accent); }

/* Phone version of the ranked table (the table itself is hidden below 640px) */
.hm-mlista { display: none; }
@media (max-width: 640px) {
  .hm-mlista {
    display: block; margin-top: 1.4rem;
    border: 1px solid var(--border); border-radius: 10px;
    background: var(--surface); overflow: hidden;
  }
}
.hm-mrad {
  display: grid; grid-template-columns: 1.1rem 72px 1fr auto;
  gap: 0.3rem 0.7rem; align-items: center;
  padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--surface-2);
}
.hm-mrad:last-child { border-bottom: none; }
.hm-mrad-nr {
  grid-row: 1 / 3; align-self: start; margin-top: 0.15rem;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--muted);
}
.hm-mrad > img {
  grid-row: 1 / 3; width: 72px; height: auto; border-radius: 6px;
  box-shadow: 0 2px 7px rgba(12, 19, 31, 0.22);
}
.hm-mrad-topp { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.hm-mrad-topp a { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.hm-mrad-betyg {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  line-height: 1; color: var(--text); text-align: right;
}
.hm-mrad .mp-go--sm { grid-column: 3 / -1; text-align: center; white-space: nowrap; }
@media (max-width: 400px) {
  .hm-mrad { grid-template-columns: 1.1rem 60px 1fr auto; gap: 0.3rem 0.55rem; padding: 0.75rem 0.7rem; }
  .hm-mrad > img { width: 60px; }
}

/* Section footer link */
.hm-mer { margin-top: 1.6rem; margin-bottom: 0; font-weight: 600; }

/* ── RG band (review variant) ── */
article .rg-band {
  background: #0E2233; color: var(--chrome-text);
  border-radius: 12px; padding: 1.5rem 1.7rem; margin: 1.5rem 0 3.5rem;
  display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1.2rem; align-items: center;
}
article .rg-band::before {
  content: ""; grid-row: 1 / 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: url('/rg-logos/aldersgrans-18.webp') center / contain no-repeat;
}
article .rg-band h2 { font-size: 1.2rem; margin: 0 0 0.3rem; }
article .rg-band p { margin: 0; font-size: 0.9rem; color: #AFC6D8; }


/* ========================================================================
   Vidarelankning (/go/) - mellansida som skickar besokaren till operatoren
   ======================================================================== */
.vd-sida {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--bg);
}
.vd-kort {
  width: 100%; max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.25rem 1.75rem;
  text-align: center;
}
.vd-logga {
  display: block; margin: 0 auto 1.35rem;
  width: 160px; height: 60px; object-fit: contain;
}
.vd-kort h1 {
  font-family: var(--font-display);
  font-size: 1.6rem; line-height: 1.2; letter-spacing: 0.01em;
  margin: 0 0 0.65rem; color: var(--text);
}
.vd-kort p.vd-info {
  margin: 0 0 1.5rem; color: var(--text-2);
  font-size: 0.95rem; line-height: 1.6;
}
.vd-knapp {
  display: block; width: 100%;
  background: var(--accent); color: #FFFFFF;
  font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
  border: 1px solid var(--accent-dark);
  transition: background 0.15s var(--ease);
}
.vd-knapp:hover, .vd-knapp:focus { background: var(--accent-dark); color: #FFFFFF; }
.vd-retur { margin: 1.15rem 0 0; font-size: 0.9rem; }
.vd-retur a { color: var(--accent); }
.vd-villkor {
  margin: 1.45rem 0 0; padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--muted); line-height: 1.6;
}
.vd-villkor a { color: var(--muted); text-decoration: underline; }
.vd-villkor a:hover, .vd-villkor a:focus { color: var(--text-2); }
@media (min-width: 640px) { .vd-kort { padding: 2.75rem 2.25rem; } }
