/* Shoppens CSS (flyttet ud af shop.html 13/10-2026). Indlæses via <link> i <head>. */
/* Tastaturfokus: synlig ring på alt fokuserbart (kun ved tastatur - ikke ved klik) */
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
*{box-sizing:border-box;margin:0;padding:0}
/* Reserver altid plads til scrollbar - uden dette springer topbar sidelæns 7px
   når man skifter mellem en lang side (med scrollbar) og kort side (uden). */
html { scrollbar-gutter: stable; }
body{font-family:'DM Sans',sans-serif;background:#F4F0EB;max-width:430px;margin:0 auto;min-height:100vh;overflow-x:hidden;color:#111}

/* ═══════════════════════════
   ATMOSPHERIC CARD VISUALS
   Each deck = unique gradient photo-look
═══════════════════════════ */
.cv {
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
/* .cv::after - stjerne fjernet */

/* Solid colours - one per deck, no gradient */
.cv-venskab { background: #6535A0; }
.cv-date    { background: #A83020; }
.cv-osto    { background: #B85868; }
.cv-familie { background: #3A7820; }
.cv-kon     { background: #1A4898; }
.cv-fest    { background: #C06010; }
.cv-krisen  { background: #101E68; }
.cv-leder   { background: #1E4828; }
.cv-venner  { background: #904020; }
.cv-hygge   { background: #1E7858; }

/* Text on card */
.cv-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.35) 100%);
}
.cv-name {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight:400;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  line-height: 1.2;
  margin-bottom: 6px;
}
.cv-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  line-height: 1.4;
}

/* ═══════════════════════════
   SHOP SCREEN
═══════════════════════════ */
#shopScreen { display:none; padding-bottom:50px; }
/* Single-column salgs-side. Default light theme - overrides via .prodx-page--dark. */
#prodScreen {
  display:none; min-height:100vh;
  padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); /* plads til sticky bottom-nav */
  background: #FAFAF7;
  color: #1F2937;
  font-family: 'DM Sans', system-ui, sans-serif;
}
#prodScreen.prodx-page--dark {
  background: var(--prodx-card-bg, #0f0818);
  color: #fff;
}

/* Salgsside-preview (admin > Design): skjul shop-frontens flash mens
   produktsiden loader, så iframen viser et rent produktsidebillede. */
body.is-preview #shopScreen { display:none !important; }
body.is-preview { background:#0f0818; }

/* ── NEW PROD PAGE (prodx) - hero (full-width) + content (single column) ── */
/* Mobil: full-bleed (væg-til-væg), 420px høj, billedet er højre-positioneret
   så de vigtige motiver i højre side ses tydeligt. Topmenu ligger transparent
   ovenpå (ingen top-margin på hero). */
.prodx-hero {
  position: relative;
  height: 420px;
  margin: 0;
  border-radius: 0;
  padding: 0;
  background:
    radial-gradient(ellipse at 50% 30%, var(--prodx-light) 0%, var(--prodx-dark) 75%),
    linear-gradient(160deg, var(--prodx-light) 0%, var(--prodx-dark) 100%);
  background-size: cover;
  background-position: 100% center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Mobil: tving billedet mod højre så højre del af hero prioriteres
   (boksen er pr. design-template altid i højre tredjedel af hero'en).
   !important overstyrer inline background-position fra JS (focus-værdier
   gælder kun desktop hvor hele billedet ses). */
@media (max-width: 767px) {
  .prodx-hero { background-position: right center !important; background-size: auto 100% !important; }
}
/* Fade fra hero ned i content-baggrunden - matcher prodx-page-theme.
   Light theme: fade til #FAFAF7. Dark theme: fade til prodxCardBg. */
.prodx-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 120px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(250,250,247,0) 0%, #FAFAF7 100%);
}
.prodx-page--dark .prodx-hero::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, var(--prodx-card-bg, #0f0818) 100%);
}
.prodx-heart {
  /* Bunden af hero i stedet for top - undgår overlap med topbar's profil-ikon på mobil.
     z-index sikrer at den ligger over fade-gradienten (som har pointer-events:none). */
  position: absolute; bottom: 24px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
          backdrop-filter: blur(10px) saturate(140%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  z-index: 3;
  transition: background 0.15s;
}
.prodx-heart:hover { background: rgba(255,255,255,0.22); }
.prodx-heart.is-fav { background: rgba(239,68,68,0.18); border-color: rgba(239,68,68,0.45); color: #EF4444; }
.prodx-heart.is-fav:hover { background: rgba(239,68,68,0.28); }
.prodx-heart svg { transition: fill .15s, color .15s; }

/* Badge ('Ny og sjov' mv.) skjules på prodScreen - det er for shop-listen,
   ikke salgs-siden hvor det forstyrrer hero-billedet. */
.prodx-badge { display: none !important; }
.prodx-badge {
  position: absolute; top: 86px; left: 22px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

/* Card fan - kompakt fan der passer i banner-hero */
.prodx-cards {
  position: relative;
  width: 100%; max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}
.prodx-cards .prodx-card-hero,
.prodx-cards .prodx-card-ghost {
  border-radius: 14px;
  background-size: cover; background-position: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.prodx-cards .prodx-card-hero {
  width: 140px; aspect-ratio: 2/3;
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.55);
}
.prodx-cards .prodx-card-ghost {
  width: 110px; aspect-ratio: 2/3;
  opacity: 0.6;
  filter: saturate(0.85);
}
.prodx-cards .prodx-card-ghost.left  {
  transform: translateX(40px) rotate(-9deg);
  z-index: 1;
}
.prodx-cards .prodx-card-ghost.right {
  transform: translateX(-40px) rotate(9deg);
  z-index: 1;
}

/* CONTENT CARD - single column, theme-aware */
.prodx-card {
  padding: 28px 20px 28px;
  position: relative;
  z-index: 4;
  max-width: 720px;
  margin: 0 auto;
  background: transparent;
}
.prodx-page--dark .prodx-card { color: #fff; }

.prodx-header {
  margin-bottom: 18px;
}
.prodx-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prodx-accent-text);
  line-height: 1.2;
}
.prodx-title {
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  font-weight: 400;
  color: #1F2937;
  line-height: 1.05;
  margin: 6px 0 8px;
  word-break: break-word;
}
.prodx-page--dark .prodx-title { color: #fff; font-weight: 700; }
.prodx-tagline {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.4;
}
.prodx-page--dark .prodx-tagline { color: rgba(255,255,255,0.7); }

.prodx-description {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 28px;
}
.prodx-description p           { margin: 0 0 12px; }
.prodx-description p:last-child { margin-bottom: 0; }
.prodx-description ul,
.prodx-description ol          { margin: 0 0 12px; padding-left: 22px; }
.prodx-description li          { margin-bottom: 4px; }
.prodx-description strong      { font-weight: 700; }
.prodx-description em          { font-style: italic; }
.prodx-description u           { text-decoration: underline; }
.prodx-page--dark .prodx-description { color: rgba(255,255,255,0.82); }

.prodx-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.prodx-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 18px 20px;
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.prodx-feature:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.10);
  transform: translateY(-1px);
}
.prodx-page--dark .prodx-feature {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.prodx-page--dark .prodx-feature:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.16);
}
.prodx-feature-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--prodx-accent-text);
  font-size: 26px;
  line-height: 1;
}
.prodx-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--prodx-accent-text);
  line-height: 1.2;
}
.prodx-feature-sub {
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.4;
}
.prodx-page--dark .prodx-feature-sub { color: rgba(255,255,255,0.65); }
/* Mobil: tre salgspunkter side om side i en kompakt udgave, så titlerne
   ikke brydes ord for ord. */
@media (max-width: 767px) {
  .prodx-features { gap: 8px; }
  .prodx-feature { padding: 12px 10px 14px; gap: 6px; border-radius: 14px; min-width: 0; }
  .prodx-feature-icon { width: 24px; height: 24px; font-size: 20px; }
  .prodx-feature-title { font-size: 13px; hyphens: auto; overflow-wrap: anywhere; }
  .prodx-feature-sub { font-size: 12px; line-height: 1.35; hyphens: auto; }
}

/* Eksempelkort på prodScreen - reel 2/3-kortformat (matcher in-game --card-w/h).
   'cover' fylder hele kort uden hvid stribe (bagside-image er 2/3, så ingen crop). */
.prodx-samples { margin: 8px 0 28px; }
.prodx-samples .q-card {
  aspect-ratio: 2/3;
  padding: 18px 26px;
  overflow: hidden;
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center;
}
/* Tekst-elementet er flex-item; width: 100% gør at padding på .q-card faktisk
   tvinger tekst-wrap inden for safe-zonen (væk fra kort-ornamenterne). */
.prodx-samples .q-card-text { font-size: 16.5px; line-height: 1.4; width: 100%; }
/* Quiz-MC variant: spørgsmål centreret i øvre halvdel, 4 svar-bokse i bunden */
.prodx-samples .q-card-mc {
  padding: 14px 12px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.prodx-samples .q-card-q {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; line-height: 1.3; text-align: center;
}
.prodx-samples .q-mc-opts { display: flex; flex-direction: column; gap: 5px; flex: 0 0 auto; }
.prodx-samples .q-mc-opt {
  font-size: 10.5px; padding: 5px 6px; border-radius: 7px;
  text-align: center; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: 'DM Sans', system-ui, sans-serif; font-weight: 500;
}
/* Mobil: kort lænes som desktop, overlapper i bunden via flex + negativ margin
   på andet kort. Box-shadow giver dybde. */
.prodx-samples .q-row .q-card {
  box-shadow: 0 14px 30px var(--prodx-card-shadow, rgba(0,0,0,0.22));
  transition: transform .25s ease;
}
.prodx-samples .q-row .q-card:nth-child(1) { transform: rotate(-4deg); }
.prodx-samples .q-row .q-card:nth-child(2) { transform: rotate(4deg); margin-left: -16px; }
#prodScreen.prodx-page--dark .prodx-samples .q-card {
  box-shadow: 0 18px 36px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
}

/* Op til 3 korte anmeldelser under features */
.prodx-reviews {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.prodx-review {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}
.prodx-page--dark .prodx-review {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.prodx-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 7px;
}
.prodx-review-quote {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 14.5px;
  color: #1F2937;
  line-height: 1.45;
  margin-bottom: 6px;
}
.prodx-page--dark .prodx-review-quote { color: rgba(255,255,255,0.92); }
.prodx-review-author {
  font-size: 11.5px;
  color: #9CA3AF;
  letter-spacing: 0.02em;
}
.prodx-page--dark .prodx-review-author { color: rgba(255,255,255,0.55); }
/* "Anmeld spillet"-knap for ejere */
.prodx-review-row {
  display: flex;
  justify-content: center;
  margin: 14px 0 8px;
}
.prodx-review-btn {
  padding: 10px 20px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.10);
  color: #4B5563;
  border-radius: 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.15s, border-color 0.15s;
}
.prodx-page--dark .prodx-review-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
}
.prodx-review-btn:hover  { background: rgba(0,0,0,0.08); }
.prodx-page--dark .prodx-review-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.prodx-review-btn:active { transform: scale(0.97); }
.prodx-review-btn svg    { color: #f5c24c; }

/* Én stor pris-boks - klikbar til køb. Ingen abonnementskøb her. */
.prodx-buy-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 26px 22px;
  background: var(--prodx-buy-bg, linear-gradient(135deg, var(--prodx-light) 0%, var(--prodx-dark) 100%));
  border: none;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.prodx-buy-box:hover  { box-shadow: 0 12px 32px rgba(0,0,0,0.45); }
.prodx-buy-box:active { transform: scale(0.98); box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.prodx-buy-price {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight:400;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
}
.prodx-buy-plus {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.1;
  margin-top: 2px;
}

/* "Se flere spil"-link er fjernet - bottom-nav håndterer navigation. */

.topbar {
  display:flex;align-items:center;justify-content:space-between;
  padding:52px 18px 14px;
  background:#F4F0EB;
}
.topbar-nav {
  font-size:13px;font-weight:600;color:#555;
  background:none;border:none;cursor:pointer;
  font-family:'DM Sans',sans-serif;padding:4px 2px;
  letter-spacing:.01em;
}
.topbar-title {
  font-family:'DM Serif Display',serif;
  font-size:26px;font-weight:400;color:#111;letter-spacing:.01em;
}

/* ── HERO CAROUSEL ── */
.carousel-wrap { overflow-x:auto;display:flex;gap:14px;padding:0 18px 4px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none }
.carousel-wrap::-webkit-scrollbar{display:none}

.hero-card {
  flex-shrink:0;width:calc(100vw - 54px);max-width:360px;
  height:195px;border-radius:20px;overflow:hidden;
  position:relative;cursor:pointer;scroll-snap-align:start;
  box-shadow:0 6px 22px rgba(0,0,0,.18);
}
.hero-card .cv { width:100%;height:100%;border-radius:20px; }
.hero-overlay {
  position:absolute;inset:0;
  background:rgba(0,0,0,.32);
  padding:22px 20px;
  display:flex;flex-direction:column;justify-content:space-between;
}
.hero-eyebrow { font-size:11px;font-weight:700;color:rgba(255,255,255,.65);letter-spacing:.1em;text-transform:uppercase }
.hero-title { font-family:'DM Serif Display',serif;font-size:26px;font-weight:400;color:#fff;line-height:1.15;margin-top:4px }
.hero-btn {
  display:inline-flex;align-items:center;gap:6px;
  background:#2D6A4F;color:#fff;
  font-size:13px;font-weight:700;font-family:'DM Sans',sans-serif;
  padding:10px 18px;border-radius:50px;border:none;cursor:pointer;width:fit-content;
}

/* ── SEARCH ── */
.search-wrap { padding:10px 18px 4px }
.search-box {
  display:flex;align-items:center;gap:10px;
  background:#F0EBE4;border-radius:14px;padding:10px 14px;
}
.search-box input {
  flex:1;border:none;outline:none;background:transparent;
  font-size:15px;font-family:'DM Sans',sans-serif;color:#111;
}
.search-box input::placeholder { color:#AAA }
.search-icon { font-size:16px;color:#AAA;flex-shrink:0 }
.search-results-title { font-size:13px;color:#888;padding:6px 18px 0;font-weight:500 }
#searchResultsGrid { margin-top:10px; display:none }
#searchResultsGrid.v5-cards-row { display:flex; }

/* ── MEMBERSHIP BOX ── */
.membership-box {
  margin:24px 18px 8px;border-radius:20px;
  padding:24px 20px 20px;
  background:linear-gradient(135deg,#1a1040 0%,#3a1a6a 100%);
  color:#fff;position:relative;overflow:visible;
}
/* Desktop: flyt sale-badge til top-LEFT (modsat side) - på højre side på desktop
   ligger pris-toggle og badgen kommer i vejen for prisen. Override inline-styles
   med !important da JS skriver position direkte i element-style. */
@media (min-width: 768px) {
  .v5-plus .membership-sale-badge {
    right: auto !important;
    left: -8px !important;
    transform: rotate(-8deg) !important;
  }
}

@keyframes saleBadgePulse {
  0%,100% { scale:1; }
  50%     { scale:var(--pulse-max,1.06); }
}

/* ── Setup-overlay (spilleregler før start, mobile-first tiles) ──── */
.setup-overlay {
  position: fixed; inset: 0; z-index: 9998;
  align-items: center; justify-content: center;
  background: rgba(10,8,30,0.55); backdrop-filter: blur(8px);
  font-family: 'DM Sans', sans-serif;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  overflow-y: auto;
  display: none !important;
}
.setup-overlay.visible { display: flex !important; }
.setup-modal {
  position: relative;
  background: #faf7f1; width: 100%; max-width: 440px;
  border-radius: 24px; padding: 18px 16px 14px;
  box-shadow: 0 24px 72px rgba(0,0,0,0.4);
  max-height: calc(100vh - 24px); overflow-y: auto;
  animation: setupSlideUp .3s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes setupSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.setup-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(0,0,0,0.06); color: #555;
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.setup-close:hover { background: rgba(0,0,0,0.12); }
.setup-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; font-weight:400; color: #1a1040;
  margin: 0 0 12px;
}
.setup-sub { font-size: 14px; color: #888; margin: 0 0 20px; }
.setup-section { margin-bottom: 10px; }
.setup-section-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: #888; font-weight: 700; margin: 0 0 10px; padding-left: 4px;
}
/* 2-kolonne grid for Vinder-tiles - sparer ~80 px på højden.
   Tiles stables vertikalt inde i hver kolonne så ikon + tekst + input
   ikke kæmper om bredden. Check-cirkel placeres absolut top-højre. */
.setup-tile-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 8px;
}
.setup-tile-row .setup-tile {
  flex-direction: column; align-items: flex-start;
  padding: 10px 12px 12px;
  margin-bottom: 0;
  position: relative;
  gap: 6px;
}
.setup-tile-row .setup-tile-icon { width: 32px; height: 32px; font-size: 18px; border-radius: 9px; }
.setup-tile-row .setup-tile-body { width: 100%; }
.setup-tile-row .setup-tile-title { font-size: 13px; gap: 4px; line-height: 1.25; }
.setup-tile-row .setup-tile-title input[type="number"] { width: 48px; padding: 3px 6px; font-size: 13px; }
.setup-tile-row .setup-tile-check {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; font-size: 12px;
}
.setup-team-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.setup-team-row input {
  flex: 1; padding: 12px 14px; border: 1px solid #e5e5e5;
  border-radius: 10px; font-size: 15px; font-family: inherit;
  background: #fff; min-height: 44px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.setup-team-row input:focus { border-color: #6535A0; }
.setup-team-row .setup-team-remove {
  width: 32px; height: 32px; flex-shrink: 0;
  background: transparent; border: none; cursor: pointer;
  color:#767676; font-size: 20px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.setup-team-row .setup-team-remove:hover { background: #fee; color: #d43a3a; }
.setup-team-add {
  width: 100%; padding: 12px;
  background: #f7f5ff; color: #6535A0;
  border: 1px dashed #c4b5fd; border-radius: 12px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, border-color .15s;
}
.setup-team-add:hover { background: #efeaff; border-color: #6535A0; }
.setup-team-hint { font-size: 12px; color:#767676; margin: 8px 0 0; padding-left: 4px; }
/* Ét-tryk start (gemte regler): skjul de fulde valg indtil "Tilpas regler" */
.setup-quick { display:flex; flex-direction:column; gap:10px; margin:4px 0 12px; }
.setup-quick-title { font-size:15px; font-weight:600; color:#111; text-align:center; }
.setup-quick-customize { background:none; border:none; font-size:14px; color:#767676; cursor:pointer; text-decoration:underline; padding:6px; font-family:inherit; }
.setup-modal--quick .setup-section, .setup-modal--quick .setup-foot { display:none !important; }
/* Chips med gemte deltagere fra Indstillinger → Spillemakkere. Klik = tilføj
   som hold-række. Vises kun hvis brugeren har gemte navne. */
.setup-team-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 10px;
}
.setup-team-chips:empty { display: none; }
.setup-team-chip {
  background: #fff;
  border: 1px solid #e5e0ff;
  color: #6535A0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, border-color .15s, opacity .15s;
}
.setup-team-chip:hover { background: #f7f5ff; border-color: #c4b5fd; }
.setup-team-chip.used { opacity: 0.35; cursor: default; pointer-events: none; }

/* Tile-card (klikbar) - stor touch target, mobile-first */
.setup-tile {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 10px 12px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer; user-select: none;
  font-family: inherit; text-align: left;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color .18s, background .18s, transform .08s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
.setup-tile:active { transform: scale(.985); }
.setup-tile:hover  { border-color: rgba(91,58,138,.25); }
.setup-tile.active {
  border-color: #5b3a8a;
  background: linear-gradient(135deg, rgba(128,84,197,.06) 0%, rgba(91,58,138,.10) 100%);
  box-shadow: 0 4px 16px rgba(91,58,138,.16);
}
.setup-tile-icon {
  flex-shrink: 0; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; line-height: 1;
  background: rgba(91,58,138,.06); border-radius: 10px;
  transition: background .18s;
}
.setup-tile.active .setup-tile-icon {
  background: linear-gradient(135deg, #5b3a8a 0%, #8054c5 100%);
  filter: brightness(1.05);
}
.setup-tile-body { flex: 1; min-width: 0; }
.setup-tile-title {
  font-size: 15px; font-weight: 600; color: #1a1040;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  line-height: 1.35;
}
.setup-tile-title input[type="number"] {
  width: 56px; padding: 4px 8px; font-size: 15px; font-weight: 700;
  border: 1.5px solid #d5d5d5; border-radius: 8px; text-align: center;
  font-family: inherit; color: #1a1040; -moz-appearance: textfield;
  background: #fff;
}
.setup-tile.active .setup-tile-title input[type="number"] {
  border-color: #5b3a8a; color: #5b3a8a;
}
.setup-tile-title input[type="number"]::-webkit-outer-spin-button,
.setup-tile-title input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Tile-beskrivelser fjernet fra UI for at spare højde - info forbliver
   tilgængelig via tile-titel + ikon. Beholder regel hvis nogen senere
   vil reaktivere. */
.setup-tile-desc { display: none; }
.setup-tile-check {
  flex-shrink: 0; width: 26px; height: 26px;
  border-radius: 50%; border: 2px solid #d5d5d5;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: transparent;
  transition: background .18s, border-color .18s, color .18s;
}
.setup-tile.active .setup-tile-check {
  background: #5b3a8a; border-color: #5b3a8a; color: #fff;
}
.setup-tile-slider {
  display: flex; align-items: center; gap: 12px;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed rgba(0,0,0,.06);
  opacity: .45; transition: opacity .18s;
  pointer-events: none;
}
.setup-tile.active .setup-tile-slider { opacity: 1; pointer-events: auto; }
.setup-tile-slider input[type="range"] {
  flex: 1; height: 6px; accent-color: #5b3a8a; cursor: pointer;
}
.setup-slider-val {
  font-size: 14px; font-weight: 700; color: #5b3a8a;
  font-variant-numeric: tabular-nums; min-width: 48px; text-align: right;
}
.setup-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,.06);
  flex-wrap: nowrap; gap: 10px;
}
.setup-remember {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #888; cursor: pointer;
}
.setup-remember input[type="checkbox"] { width: 14px; height: 14px; accent-color: #5b3a8a; cursor: pointer; }
.setup-start {
  padding: 12px 26px; border-radius: 24px; border: none;
  background: linear-gradient(135deg, #5b3a8a 0%, #8054c5 100%);
  color: #fff; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 6px 20px rgba(91,58,138,0.4);
  transition: transform .1s, box-shadow .15s;
}
.setup-start:hover  { box-shadow: 0 8px 26px rgba(91,58,138,0.55); }
.setup-start:active { transform: scale(.96); }
@media (max-width: 380px) {
  .setup-modal { padding: 18px 14px 14px; border-radius: 20px; }
  .setup-tile  { padding: 12px 12px; gap: 10px; }
  .setup-tile-icon { width: 38px; height: 38px; font-size: 21px; border-radius: 10px; }
  .setup-tile-title { font-size: 14px; }
  .setup-tile-title input[type="number"] { width: 50px; font-size: 14px; }
  .setup-tile-desc { font-size: 12px; }
  .setup-start { width: 100%; }
}

/* ── Auth-overlay (login / signup) ───────────────────────────────── */
.auth-overlay {
  position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
  background: rgba(10,8,30,0.45); backdrop-filter: blur(6px);
  font-family: 'DM Sans', sans-serif;
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
.auth-overlay.visible {
  display: flex !important;
  pointer-events: auto !important;
  visibility: visible !important;
}
.auth-modal {
  background: #fff; width: 100%; max-width: 360px;
  border-radius: 22px; padding: 28px 24px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-height: 90vh; overflow-y: auto;
}
.auth-logo { font-family:'DM Serif Display',serif; font-size:24px; font-weight:400; color:#1a1040; text-align:center; margin-bottom:4px }
.auth-sub { font-size:13px; color:#777; text-align:center; margin-bottom:22px }
.auth-btn-google {
  width: 100%; display:flex; align-items:center; justify-content:center; gap:10px;
  padding: 14px 16px; border-radius: 12px; border: 1px solid #e5e5e5;
  background: #fff; color: #222; font-size:16px; font-weight:600;
  cursor: pointer; transition: border-color .15s, background .15s;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
.auth-btn-google:hover { border-color: #bbb; background: #fafafa; }
.auth-btn-google svg { width: 18px; height: 18px; flex-shrink: 0; }
/* Sign in with Apple. Sort/hvid + Apple-logo er et krav i Apples HIG - knappen
   må ikke omfarves eller få egen ikonografi. Teksten oversættes derimod. */
.auth-btn-apple {
  width: 100%; display:none; align-items:center; justify-content:center; gap:8px;
  padding: 14px 16px; border-radius: 12px; border: none;
  background: #000; color: #fff; font-size:16px; font-weight:600;
  cursor: pointer; min-height: 48px; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.auth-btn-apple.visible { display: flex; }
.auth-btn-apple:disabled { opacity: .5; cursor: not-allowed; }
.auth-btn-apple svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: -2px; }
/* Kort der spørger om tidligere køb efter Apple-login med skjult mail. */
.auth-link-intro { font-size: 13px; color: #666; text-align: center; line-height: 1.5; margin: 0 0 16px; }
.auth-link-skip {
  display: block; width: 100%; text-align: center; margin-top: 14px;
  font-size: 13px; color: #999; cursor: pointer;
  background: none; border: none; font-family: inherit; padding: 6px 2px;
}
.auth-link-skip:hover { color: #555; }
.auth-divider {
  display:flex; align-items:center; gap:10px; margin:18px 0 14px;
  color:#767676; font-size:12px;
}
.auth-divider::before, .auth-divider::after {
  content:''; flex:1; height:1px; background:#eee;
}
.auth-input {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  border: 1px solid #ddd; font-size: 16px; outline: none;        /* 16px = ingen iOS-zoom */
  margin-bottom: 10px; font-family: inherit;
  min-height: 48px;                                                /* tap-target for fingre */
  -webkit-appearance: none;                                        /* fjern iOS default styling */
  appearance: none;
  background: #fff;
}
.auth-input:focus { border-color: #6535A0; }
.auth-btn-primary {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: none;
  background: #6535A0; color: #fff; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: background .15s;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
.auth-btn-primary:hover { background: #541f8d; }
.auth-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.auth-toggle {
  text-align: center; font-size: 13px; color: #6535A0;
  margin-top: 14px; cursor: pointer; background: none; border: none;
  font-family: inherit;
}
.auth-toggle:hover { text-decoration: underline; }
.auth-guest {
  display: block; text-align: center; margin-top: 18px;
  padding-top: 18px; border-top: 1px solid #f0f0f0;
  font-size: 13px; color: #999; cursor: pointer;
  background: none; border-left: none; border-right: none; border-bottom: none;
  width: 100%; font-family: inherit;
}
.auth-guest:hover { color: #555; }
.auth-error { font-size: 12px; color: #d43a3a; text-align: center; margin-top: 10px; min-height: 16px; }
.auth-success { font-size: 12px; color: #2a8f4a; text-align: center; margin-top: 10px; min-height: 16px; }
/* OTP-flow: stor centreret kode-input + lille info-tekst + link-actions */
.auth-code-info {
  font-size: 13px; color: #666; text-align: center; margin: 0 0 14px;
  line-height: 1.4;
}
.auth-code-info strong { color: #333; word-break: break-all; }
.auth-code-input {
  font-size: 22px; letter-spacing: 0.4em; text-align: center;
  font-variant-numeric: tabular-nums; font-weight: 500;
  padding: 14px 12px;
}
.auth-code-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 12px; font-size: 13px;
}
.auth-link {
  background: none; border: none; cursor: pointer; padding: 4px 2px;
  color: #6535A0; font-family: inherit; font-size: 13px;
}
.auth-link:hover { text-decoration: underline; }
.auth-link:disabled { opacity: 0.5; cursor: not-allowed; text-decoration: none; }
.auth-code-sep { color: #ccc; }
/* Glemt-kodeord-link kun synlig i signin-mode (toggles via JS). */
.auth-forgot {
  display: block; width: 100%; text-align: right;
  margin: -4px 0 12px;
  font-size: 13px; color: #6535A0;
  background: none; border: none; cursor: pointer;
  font-family: inherit; padding: 4px 2px;
}
.auth-forgot:hover { text-decoration: underline; }
/* Nyhedsbrev-checkbox kun synlig i signup-mode. Diskret styling så den ikke
   konkurrerer med Opret-knappen, men stadig tydeligt opt-out-bart. */
.auth-consent {
  display: flex; align-items: center; gap: 8px;
  margin: 2px 0 14px; font-size: 12px; color: #888;
  cursor: pointer; line-height: 1.4;
}
.auth-consent input[type="checkbox"] {
  width: 14px; height: 14px; flex-shrink: 0;
  accent-color: #6535A0; cursor: pointer;
}
.auth-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  background: rgba(0,0,0,0.05); border: none; border-radius: 50%;
  font-size: 18px; color: #666; cursor: pointer; line-height: 1;
}
.membership-box::before {
  content:'';position:absolute;inset:0;
  background:radial-gradient(circle at 80% 20%,rgba(180,120,255,.25) 0%,transparent 60%);
  pointer-events:none;
}
.membership-eyebrow {
  font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(200,160,255,.8);margin-bottom:6px;
}
.membership-title { font-family:'DM Serif Display',serif;font-size:22px;font-weight:400;line-height:1.2;margin-bottom:6px }
.membership-sub { font-size:13px;color:rgba(255,255,255,.65);line-height:1.5;margin-bottom:14px }
.membership-features { list-style:none;margin-bottom:18px;display:flex;flex-direction:column;gap:6px }
.membership-features li { font-size:13px;color:rgba(255,255,255,.85);display:flex;align-items:center;gap:8px }
.membership-features li::before { content:'✓';font-weight:700;color:#a78bfa;font-size:12px;flex-shrink:0 }
.membership-cta {
  display:block;width:100%;background:#a78bfa;color:#fff;
  font-size:15px;font-weight:700;font-family:'DM Sans',sans-serif;
  padding:14px;border-radius:14px;border:none;cursor:pointer;text-align:center;
}
.membership-price {
  font-size:11px;color:rgba(255,255,255,.45);text-align:center;margin-top:8px;
}
.mem-interval-toggle {
  display:flex;align-items:stretch;gap:5px;
  background:rgba(255,255,255,.1);border-radius:14px;padding:5px;
  margin-top:6px;margin-bottom:20px;position:relative;overflow:visible;
}
.mem-interval-btn {
  flex:1;min-width:0;padding:14px 8px 13px;border:none;border-radius:10px;
  cursor:pointer;transition:all .18s;background:transparent;
  color:rgba(255,255,255,.38);display:flex;flex-direction:column;align-items:center;gap:2px;
  font-family:'DM Sans',sans-serif;position:relative;
}
.mem-interval-btn.active { background:#a78bfa;color:#fff; }
.mem-interval-price {
  font-size:24px;font-weight:900;line-height:1;letter-spacing:-.5px;
}
.mem-interval-sub {
  font-size:12px;font-weight:600;opacity:.75;white-space:nowrap;
}
/* Overstreget førpris - tydeligere end før (større + mindre opacity). */
.mem-interval-orig {
  text-decoration:line-through;
  opacity:.85;
  font-size:14px;
  font-weight:600;
  line-height:1;
  color:inherit;
  display:block;
  margin-bottom:2px;
}
.mem-interval-save {
  position:absolute;top:-13px;right:-10px;
  background:#FF5C2E;color:#fff;
  font-size:11px;font-weight:800;letter-spacing:.01em;
  border-radius:20px;padding:4px 9px;
  transform:rotate(5deg);
  box-shadow:0 3px 10px rgba(255,92,46,.55);
  white-space:nowrap;z-index:5;pointer-events:none;
}

/* ── SECTION TITLE ── */
.sec-title { font-size:22px;font-weight:700;color:#111;padding:22px 18px 14px }

/* ── FEATURE-ROWS (cream-stil: thumb + info + pris-pille) ── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 14px 18px;
}
.feature-row {
  display: flex;
  gap: 16px;
  background: #faf5ec;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(60, 40, 15, 0.06);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  align-items: stretch;
  min-height: 176px;
}
.feature-row:active {
  transform: scale(0.985);
  box-shadow: 0 2px 8px rgba(60, 40, 15, 0.07);
}

/* Venstre: kvadratisk thumbnail der følger rækkens højde */
.feature-row-thumb {
  position: relative;
  flex-shrink: 0;
  align-self: stretch;
  width: 144px;
  min-height: 144px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
  overflow: hidden;
}
/* Badge-overlay (subtilt lavender - matcher cream-æstetik) */
.feature-row-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.85);
  color: #4c3a70;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 11px;
  border-radius: 20px;
  z-index: 2;
  max-width: 85%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.feature-row-badge.new {
  background: rgba(255,255,255,0.85);
  color: #1e6d42;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
}

/* Højre side: fuld højde, info i toppen, pris i bund-højre */
.feature-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.feature-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feature-row-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.feature-row-name {
  font-family: 'DM Serif Display', serif;
  font-size: 21px;
  font-weight:400;
  line-height: 1.1;
  color: #111;
  margin: 3px 0 6px;
  word-break: break-word;
}
.feature-row-sub {
  font-size: 13px;
  line-height: 1.4;
  color: #5a5340;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-row-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.feature-row-pill {
  font-size: 10.5px;
  font-weight: 500;
  padding: 4px 11px;
  background: rgba(120, 95, 50, 0.08);
  color: #6b5a3a;
  border-radius: 14px;
  white-space: nowrap;
}

/* Bund-footer: rating til venstre, pris til højre */
.feature-row-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.feature-row-rating {
  font-size: 13px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.feature-row-rating .star {
  color: #1a1a1a;
  font-size: 13px;
}
.feature-row-rating .rating-count { color: #999; font-weight: 400; font-size: 12px; }

/* Pris-knap + plus-hint i højre bund - fast gradient, ikke deck-specifik */
.feature-row-price-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.feature-row-price-btn {
  background: linear-gradient(135deg, #a78bfa 0%, #7c6df0 52%, #6366f1 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  padding: 11px 24px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 4px 14px rgba(99,102,241,0.38), inset 0 1px 0 rgba(255,255,255,0.25);
  white-space: nowrap;
  text-align: center;
  min-width: 92px;
  cursor: pointer;
}
.feature-row-price-btn:active { transform: scale(0.96); }
.feature-row-price-orig {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 10.5px;
  font-weight: 500;
  color: #777;
  line-height: 1.1;
}
.feature-row-plus-hint {
  font-size: 10.5px;
  color: #8a7a55;
  font-weight: 500;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.feature-row-plus-hint svg { flex-shrink: 0; }

.feature-row.skeleton .feature-row-name,
.feature-row.skeleton .feature-row-sub {
  background: rgba(120, 95, 50, 0.12);
  border-radius: 4px;
  color: transparent;
}

/* Plus-CTA footer i bunden af samtale/quiz-sektionen */
.plus-cta {
  margin: 4px 14px 24px;
  padding: 16px 20px;
  background: #faf5ec;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}
.plus-cta:hover { background: #f5efdc; }
.plus-cta-text { flex: 1; min-width: 0; }
.plus-cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  font-weight:400;
  color: #111;
  margin-bottom: 3px;
}
.plus-cta-sub {
  font-size: 12.5px;
  color: #5a5340;
  line-height: 1.35;
}
.plus-cta-link {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ── FEATURE (App Store-stil: thumbnail + meta + sample-spørgsmål) ── */
.feature-container { padding: 22px 18px 8px; }
.feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.feature-card:active { transform: scale(0.985); box-shadow: 0 1px 6px rgba(0,0,0,0.06); }

.feature-head {
  display: flex; align-items: flex-start; gap: 14px;
}
.feature-thumb {
  width: 72px; height: 96px;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.feature-meta {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 2px;
}
.feature-name {
  font-family: 'DM Serif Display', serif;
  font-size: 17px; font-weight:400; line-height: 1.2;
  color: #111;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feature-desc {
  font-size: 13px; line-height: 1.35; color: #666;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feature-micro {
  font-size: 11px; color: #999;
  display: flex; gap: 4px; margin-top: 2px;
  font-weight: 500;
}
.feature-action {
  flex-shrink: 0;
  text-align: right;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 2px;
}
.feature-orig {
  font-size: 11px; color:#767676;
  text-decoration: line-through;
}
.feature-price {
  font-size: 15px; font-weight: 700; color: #111;
  padding: 7px 14px;
  background: #2D6A4F; color: #fff;
  border-radius: 20px;
  min-width: 64px; text-align: center;
}

.feature-sample {
  margin-top: 14px;
  border-radius: 14px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.feature-sample::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.18) 0%, transparent 45%);
  pointer-events: none;
}
.feature-sample-inner { position: relative; z-index: 1; }
.feature-sample-eyebrow {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; opacity: 0.82;
  margin-bottom: 6px;
}
.feature-sample-text {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 17px; line-height: 1.35; font-weight:400;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── POPULÆRT LIGE NU (tilbudskasse-æstetik, integreret header) ── */
.pop-section { padding: 22px 0 8px; }
.pop-list {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0 18px;
}

/* Wrapper der tillader sticker at rage ud over kort-kanten */
.pop-card-wrap {
  position: relative;
  overflow: visible;
}

/* Klistermærke - varm gradient-cirkel der hænger uden for højre hjørne */
.pop-sticker {
  position: absolute;
  top: -14px; right: -10px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffd27a 0%, #ff8a4c 40%, #e5443b 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border: 3px solid #fff;
  box-shadow:
    0 4px 14px rgba(229, 68, 59, 0.45),
    0 0 0 1px rgba(229, 68, 59, 0.15),
    inset 0 -4px 8px rgba(0,0,0,0.12);
  transform: rotate(14deg);
  z-index: 3;
  pointer-events: none;
  /* Subtil pulse - så den lever lidt */
  animation: popStickerPulse 2.8s ease-in-out infinite;
  transform-origin: center;
}
@keyframes popStickerPulse {
  0%, 100% { transform: rotate(14deg) scale(1); }
  50%      { transform: rotate(14deg) scale(1.06); }
}
.pop-fire {
  display: inline-block;
  animation: popFireFlicker 2.6s ease-in-out infinite;
  transform-origin: 50% 85%;
}
@keyframes popFireFlicker {
  0%, 100% { transform: scale(1) rotate(-3deg); }
  30%      { transform: scale(1.08) rotate(4deg); }
  60%      { transform: scale(0.97) rotate(-1deg); }
}

/* In-card header - subtle eyebrow inde i selve banneret */
.pop-card-header {
  margin-bottom: 12px;
}
.pop-card-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  display: flex; align-items: center; gap: 6px;
  line-height: 1.2;
}
.pop-card-eyebrow .pop-fire { font-size: 15px; }
.pop-card-subsub {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.65;
  margin-top: 3px;
  line-height: 1.3;
}

/* Rows for thumb+body-layouts (samtale + QA) */
.pop-row {
  display: flex; gap: 14px;
  align-items: stretch;
}
.pop-row .pop-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.pop-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 16px;
  border-radius: 18px;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  isolation: isolate;
}
.pop-card:active { transform: scale(0.98); box-shadow: 0 3px 10px rgba(0,0,0,0.12); }
/* Glossy shine overlay øverst-venstre - giver tilbudskasse-feel */
.pop-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 45%);
  pointer-events: none;
  z-index: 0;
}
.pop-card > * { position: relative; z-index: 1; }

.pop-thumb {
  width: 78px; height: 104px; border-radius: 12px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.pop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pop-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pop-deck-eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 4px;
}
.pop-question {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.28;
  font-weight:400;
  margin: 2px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.pop-cta {
  font-size: 13px; font-weight: 600;
  margin-top: auto;
  opacity: 0.94;
  letter-spacing: 0.02em;
}

/* Spørgsmål/Svar-variant - klikbar pille der afslører svar */
.pop-answer-btn {
  align-self: flex-start;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: inherit;
  font: inherit;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  margin: 4px 0 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.pop-answer-btn:hover { background: rgba(255,255,255,0.3); }
.pop-answer-btn .pop-answer-text { display: none; font-style: italic; }
.pop-answer-btn.revealed {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.5);
}
.pop-answer-btn.revealed .pop-answer-hint { display: none; }
.pop-answer-btn.revealed .pop-answer-text { display: inline; }

/* Quiz-variant - fuld bredde, spørgsmål oven, 4 svar i grid */
.pop-card-quiz { flex-direction: column; gap: 10px; }
.pop-quiz-q {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.3;
  font-weight:400;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.pop-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 4px;
}
.pop-opt {
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  color: inherit;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  text-align: center;
}
.pop-opt:hover  { background: rgba(255,255,255,0.28); }
.pop-opt:active { transform: scale(0.96); }
/* Når et svar er afgivet - disable videre interaktion */
.pop-opts.answered .pop-opt { cursor: default; pointer-events: none; }
.pop-opt.correct {
  background: rgba(16, 185, 129, 0.75);
  border-color: rgba(16, 185, 129, 1);
  color: #fff;
  animation: popPulse 0.5s ease;
}
.pop-opt.wrong {
  background: rgba(239, 68, 68, 0.75);
  border-color: rgba(239, 68, 68, 1);
  color: #fff;
  animation: popShake 0.4s ease;
}
@keyframes popPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@keyframes popShake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ── BUNDLE CARDS ── */
.bundle-list { display:flex;flex-direction:column;gap:14px;padding:0 18px }
.bundle-card {
  background:#fff;border-radius:20px;overflow:hidden;
  cursor:pointer;box-shadow:0 4px 18px rgba(0,0,0,.1);
  transition:transform .15s;
}
.bundle-card:active{transform:scale(.98)}
.bundle-img {
  height:160px;position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
/* Card fan inside bundle */
.fan3 { position:relative;width:200px;height:140px;flex-shrink:0 }
.fc {
  position:absolute;
  width:88px;height:124px;
  border-radius:12px;
}
.fc:nth-child(1){transform:rotate(-18deg) translate(-52px,10px);z-index:1;opacity:.8}
.fc:nth-child(2){transform:rotate(-8deg) translate(-18px,4px);z-index:2}
.fc:nth-child(3){transform:rotate(4deg) translate(20px,2px);z-index:3}
.fc:nth-child(4){transform:rotate(16deg) translate(58px,8px);z-index:2;opacity:.8}

.bundle-info {
  padding:14px 16px;display:flex;align-items:center;justify-content:space-between;
}
.bundle-name{font-size:18px;font-weight:700;color:#111}
.bundle-price-col { text-align:right }
.bundle-badge {
  display:inline-block;background:#D44060;color:#fff;
  font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px;margin-bottom:4px;
}
.bundle-price { font-size:20px;font-weight:700;color:#111 }

.bundle-se {
  display:inline-flex;align-items:center;gap:5px;
  background:#F4F0EB;color:#333;
  font-size:13px;font-weight:600;font-family:'DM Sans',sans-serif;
  padding:9px 16px;border-radius:50px;border:none;cursor:pointer;
  margin:0 16px 14px;
}

/* ── FEATURED BLIKFANG ── */
.featured-tile {
  margin:0 18px 14px;
  border-radius:20px;overflow:hidden;
  cursor:pointer;
  height:190px;
  position:relative;
  box-shadow:0 6px 22px rgba(0,0,0,.18);
  transition:transform .15s;
}
.featured-tile:active{transform:scale(.98)}
.featured-tile-bg {
  width:100%;height:100%;
  object-fit:cover;object-position:center;
  display:block;
}
.featured-tile-overlay {
  position:absolute;inset:0;
  background:rgba(0,0,0,.35);
  padding:20px;
  display:flex;flex-direction:column;justify-content:space-between;
}
.featured-tile-badge {
  display:inline-block;background:#2D6A4F;color:#fff;
  font-size:11px;font-weight:700;letter-spacing:.07em;
  padding:4px 10px;border-radius:20px;text-transform:uppercase;width:fit-content;
}
.featured-tile-title {
  font-family:'DM Serif Display',serif;font-size:24px;font-weight:400;
  color:#fff;line-height:1.18;margin-top:6px;
}
.featured-tile-sub { font-size:13px;color:rgba(255,255,255,.75);margin-top:4px;font-weight:500 }

/* ── ENKELTSPIL GRID - spillekort-format ── */
.game-grid { display:grid;grid-template-columns:1fr 1fr 1fr;column-gap:12px;row-gap:26px;padding:0 18px }
.game-tile { cursor:pointer;transition:transform .15s }
.game-tile:active{transform:scale(.96)}
.game-thumb {
  aspect-ratio: 5/7;   /* spillekort-proportioner */
  border-radius:12px;overflow:hidden;position:relative;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
}
.game-thumb .cv { width:100%;height:100%;border-radius:12px }
/* Indre hvid ramme - giver kort-look */
.game-thumb::after {
  content:'';position:absolute;inset:5px;
  border:1.5px solid rgba(255,255,255,.28);
  border-radius:8px;pointer-events:none;
}
/* .game-thumb::before - stjerne fjernet */
.game-name { font-size:13px;font-weight:600;color:#111;margin-top:12px;text-align:center;line-height:1.3 }
.game-progress { margin-top:6px }
.game-progress-bar { height:4px;border-radius:2px;background:rgba(17,17,17,.1);overflow:hidden }
.game-progress-fill { height:100%;background:#111;border-radius:2px }
.game-progress-txt { font-size:11px;color:#767676;text-align:center;margin-top:4px }
.mgs-suggest { padding:0 24px 24px }
.mgs-suggest-title { font-size:12px;font-weight:700;color:#767676;text-align:center;margin-bottom:12px;letter-spacing:.06em;text-transform:uppercase }
.mgs-suggest-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:420px;margin:0 auto }

.vis-alle-wrap { text-align:center;padding:22px 18px 0 }
.vis-alle {
  display:inline-block;background:#fff;color:#333;
  font-size:15px;font-weight:600;font-family:'DM Sans',sans-serif;
  padding:13px 36px;border-radius:50px;border:1.5px solid #DDD;cursor:pointer;
}

/* ═══════════════════════════
   PRODUCT SCREEN
═══════════════════════════ */
.prod-back {
  position:absolute;top:52px;left:16px;z-index:30;
  background:rgba(255,255,255,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border:none;border-radius:50%;width:40px;height:40px;
  font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}

/* Card fan hero */
.prod-fan-section {
  background:#F4F0EB;
  padding:72px 0 0;
  position:relative;
  display:flex;align-items:center;justify-content:center;
  min-height:310px;
  overflow:visible;
}
/* no gradient fade - solid background handles transition */
.prod-fan {
  position:relative;width:290px;height:265px;
}
.pfc {
  position:absolute;
  border-radius:20px;
  box-shadow:0 12px 36px rgba(0,0,0,.3);
}
.pfc:nth-child(1){width:158px;height:222px;top:26px;left:0;transform:rotate(-14deg);z-index:1}
.pfc:nth-child(2){width:176px;height:248px;top:4px;left:56px;transform:rotate(-2deg);z-index:3}
.pfc:nth-child(3){width:158px;height:222px;top:22px;right:0;transform:rotate(13deg);z-index:2}

/* Main center fan card text - no gradient */
.pfc-main-text {
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:16px;text-align:center;
  border-radius:20px;
}
.pfc-main-name {
  font-family:'DM Serif Display',serif;font-size:22px;font-weight:400;color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.3);line-height:1.2;margin-bottom:6px;
}
.pfc-main-tag {
  font-size:12px;color:rgba(255,255,255,.9);font-weight:500;
  line-height:1.4;
}

/* Product body */
.prod-body {
  background:#F4F0EB;
  padding:28px 18px 210px;
}
.prod-title {
  font-family:'DM Serif Display',serif;font-size:36px;font-weight:400;color:#111;
  text-align:center;margin-bottom:8px;
}
.prod-tagline {
  font-size:16px;color:#555;text-align:center;margin-bottom:26px;font-weight:400;line-height:1.5;
}

/* Question preview cards */
.q-row { display:flex;justify-content:center;gap:10px;margin-bottom:18px }
.q-card {
  border-radius:16px;padding:18px 14px;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
  display:flex;align-items:center;justify-content:center;
  width:calc(50% - 5px);max-width:170px;aspect-ratio:2/3;
  position:relative;overflow:hidden;
}
.q-card-text { font-size:15px;font-weight:500;line-height:1.5;text-align:center }
.q-stars { display:none }

/* Stats row */
.social-row {
  display:flex;gap:0;justify-content:center;
  margin-bottom:28px;
}
.social-row span {
  display:flex;flex-direction:column;align-items:center;gap:3px;
  flex:1;padding:14px 8px;
  background:#fff;font-size:13px;font-weight:600;color:#111;
  border-right:1px solid #F0EBE4;
  border-radius:0;
  text-align:center;line-height:1.35;
}
.social-row span:first-child { border-radius:14px 0 0 14px; }
.social-row span:last-child  { border-right:none; border-radius:0 14px 14px 0; }
.social-row span .stat-big   { font-size:18px;font-weight:700;color:#111; }
.social-row { box-shadow:0 2px 10px rgba(0,0,0,.07);border-radius:14px;overflow:hidden; }

/* Inside list */
.inside-title { font-size:18px;font-weight:700;color:#111;margin-bottom:12px }
.inside-list { display:flex;flex-direction:column;gap:10px;margin-bottom:28px }
.inside-item {
  background:#fff;border-radius:14px;padding:14px 16px;
  display:flex;align-items:center;gap:14px;
  box-shadow:0 2px 8px rgba(0,0,0,.07);
}
.ii-icon { font-size:26px;flex-shrink:0 }
.ii-label { font-size:15px;font-weight:700;color:#111 }
.ii-sub { font-size:13px;color:#888;margin-top:2px }

/* Reviews */
.rev-title { font-size:18px;font-weight:700;color:#111;margin-bottom:12px }
.rev-card {
  background:#fff;border-radius:14px;padding:16px;margin-bottom:10px;
  box-shadow:0 2px 8px rgba(0,0,0,.07);
}
.rev-stars { color:#C8A020;font-size:13px;margin-bottom:6px }
.rev-text { font-size:14px;font-weight:500;color:#111;line-height:1.55 }
.rev-author { font-size:12px;color:#767676;margin-top:6px }

/* ── STICKY CTA ── */
.sticky-cta {
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:430px;
  background:linear-gradient(to top,#F4F0EB 80%,rgba(244,240,235,0));
  padding:14px 18px 32px;z-index:50;
}
.cta-main {
  display:block;width:100%;
  background:#2D6A4F;color:#fff;
  font-size:18px;font-weight:700;font-family:'DM Sans',sans-serif;
  padding:18px;border-radius:16px;border:none;cursor:pointer;text-align:center;
  margin-bottom:10px;
  box-shadow:0 6px 20px rgba(45,106,79,.38);
}
.cta-sec-row { display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px }
.cta-sec {
  background:#fff;color:#333;
  font-size:13px;font-weight:600;font-family:'DM Sans',sans-serif;
  padding:13px 10px;border-radius:12px;
  border:1.5px solid #DDD;cursor:pointer;text-align:center;line-height:1.35;
}
.cta-explore {
  display:block;width:100%;
  background:#fff;color:#111;
  font-size:16px;font-weight:600;font-family:'DM Sans',sans-serif;
  padding:15px;border-radius:14px;border:1.5px solid #DDD;cursor:pointer;text-align:center;
  margin-bottom:10px;
}
.pay-row { display:flex;gap:8px;justify-content:center }
.pay-chip {
  background:#fff;border:1.5px solid #DDD;border-radius:8px;
  padding:5px 12px;font-size:13px;font-weight:600;color:#333;
  display:flex;align-items:center;gap:4px;
}

/* ══════════════════════════════════
   PLAY SCREEN - iframe wrapper
══════════════════════════════════ */
#playScreen { position:fixed;inset:0;z-index:50;background:#000; }
#game-frame { width:100%;height:100%;border:none;display:block; }

/* ══════════════════════════════════
   ONBOARDING
══════════════════════════════════ */
.ob-prog {
  flex:1;height:4px;border-radius:2px;background:#DDD;transition:background .3s;
}
.ob-prog.done { background:#2D6A4F; }

/* Chip entrance animation - spring bounce */
@keyframes chipIn {
  0%   { opacity:0; transform:translateY(22px) scale(0.78); }
  60%  { opacity:1; transform:translateY(-4px) scale(1.04); }
  80%  { transform:translateY(2px) scale(0.98); }
  100% { transform:translateY(0) scale(1); }
}
/* Question slide-up */
@keyframes slideUp {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}

.ob-step { padding:10px 16px 0; }
.ob-brand {
  font-family:'DM Serif Display',serif;font-size:24px;font-weight:400;
  color:#2D6A4F;margin-bottom:10px;
  animation:slideUp .4s ease both;
}
.ob-q {
  font-family:'DM Serif Display',serif;font-size:28px;font-weight:400;
  color:#111;line-height:1.18;margin-bottom:6px;
  animation:slideUp .35s ease both;
}
.ob-sub {
  font-size:14px;color:#777;line-height:1.5;font-weight:400;
  animation:slideUp .4s .05s ease both;
}

.ob-field-label {
  display:block;font-size:12px;font-weight:700;color:#999;
  text-transform:uppercase;letter-spacing:.07em;margin-bottom:8px;margin-top:16px;
}
.ob-text-input {
  width:100%;border:none;border-bottom:2px solid #DDD;
  background:transparent;padding:10px 0;font-size:20px;
  font-family:'DM Serif Display',serif;font-weight:400;color:#111;outline:none;
  transition:border-color .2s;
  animation:slideUp .45s .1s ease both;
}
.ob-text-input:focus { border-color:#2D6A4F; }

.ob-select {
  width:100%;padding:13px 16px;border-radius:14px;border:1.5px solid #DDD;
  background:#fff;font-size:15px;font-family:'DM Sans',sans-serif;
  color:#111;outline:none;-webkit-appearance:none;cursor:pointer;
  animation:slideUp .45s .1s ease both;
}
.ob-select:focus { border-color:#2D6A4F; }

.ob-chips { display:flex;flex-wrap:wrap;gap:8px; }
.ob-chip {
  padding:9px 16px;border-radius:50px;
  border:1.5px solid #DDD;background:#fff;
  font-size:14px;font-weight:600;color:#111;cursor:pointer;
  transition:background .15s, border-color .15s, color .15s, transform .1s;
  user-select:none;
  /* staggered spring entrance */
  animation: chipIn .45s cubic-bezier(.34,1.56,.64,1) both;
}
.ob-chip:nth-child(1)  { animation-delay:  80ms }
.ob-chip:nth-child(2)  { animation-delay: 120ms }
.ob-chip:nth-child(3)  { animation-delay: 160ms }
.ob-chip:nth-child(4)  { animation-delay: 200ms }
.ob-chip:nth-child(5)  { animation-delay: 240ms }
.ob-chip:nth-child(6)  { animation-delay: 280ms }
.ob-chip:nth-child(7)  { animation-delay: 320ms }
.ob-chip:nth-child(8)  { animation-delay: 360ms }
.ob-chip:nth-child(9)  { animation-delay: 400ms }
.ob-chip:nth-child(10) { animation-delay: 440ms }
.ob-chip:nth-child(11) { animation-delay: 480ms }
.ob-chip:nth-child(12) { animation-delay: 520ms }

.ob-chip:active { transform:scale(.94); }
.ob-chip.selected {
  background:#2D6A4F;color:#fff;border-color:#2D6A4F;
}

/* Year-wheel - iOS-style scroll picker til fødselsår */
.ob-year-wheel-wrap {
  position:relative;height:180px;margin-top:10px;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 28%,#000 72%,transparent 100%);
          mask-image:linear-gradient(to bottom,transparent 0%,#000 28%,#000 72%,transparent 100%);
  animation:slideUp .45s .1s ease both;
}
.ob-year-wheel-wrap::before,
.ob-year-wheel-wrap::after {
  content:'';position:absolute;left:28%;right:28%;height:1px;
  background:rgba(45,106,79,0.28);pointer-events:none;z-index:2;
}
.ob-year-wheel-wrap::before { top:calc(50% - 26px); }
.ob-year-wheel-wrap::after  { top:calc(50% + 26px); }
.ob-year-wheel {
  height:100%;overflow-y:scroll;
  scroll-snap-type:y mandatory;
  scrollbar-width:none;-ms-overflow-style:none;
  padding:66px 0; /* (180-48)/2 = 66 så øverste/nederste år kan ligge centreret */
  scroll-behavior:smooth;
}
.ob-year-wheel::-webkit-scrollbar { display:none; }
.ob-year-item {
  height:48px;display:flex;align-items:center;justify-content:center;
  scroll-snap-align:center;scroll-snap-stop:always;
  font-family:'DM Serif Display',serif;font-size:22px;font-weight:400;
  color:#767676;transition:color .18s,font-size .18s,font-weight .18s,transform .18s;
  cursor:pointer;user-select:none;
}
.ob-year-item.near { color:#888;font-size:24px; }
.ob-year-item.center {
  color:#2D6A4F;font-size:34px;font-weight:700;
}

/* Country grid */
.ob-search {
  width:100%;margin:10px 0 10px;padding:11px 14px;
  border-radius:12px;border:1.5px solid #DDD;background:#fff;
  font-size:15px;font-family:'DM Sans',sans-serif;color:#111;outline:none;
}
.ob-search:focus { border-color:#2D6A4F; }
.ob-country-grid {
  display:grid;grid-template-columns:repeat(4,1fr);gap:6px;
  padding-bottom:4px;
}
.ob-country-tile {
  background:#fff;border:1.5px solid #DDD;border-radius:12px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:7px 3px 6px;cursor:pointer;transition:all .15s;
  animation:chipIn .45s cubic-bezier(.34,1.56,.64,1) both;
  user-select:none;
}
.ob-country-tile:nth-child(1){animation-delay:40ms}
.ob-country-tile:nth-child(2){animation-delay:70ms}
.ob-country-tile:nth-child(3){animation-delay:100ms}
.ob-country-tile:nth-child(4){animation-delay:130ms}
.ob-country-tile:nth-child(5){animation-delay:160ms}
.ob-country-tile:nth-child(6){animation-delay:190ms}
.ob-country-tile:nth-child(7){animation-delay:220ms}
.ob-country-tile:nth-child(8){animation-delay:250ms}
.ob-country-tile:nth-child(9){animation-delay:280ms}
.ob-country-tile:nth-child(10){animation-delay:310ms}
.ob-country-tile:nth-child(11){animation-delay:340ms}
.ob-country-tile:nth-child(12){animation-delay:370ms}
.ob-country-tile:nth-child(13){animation-delay:400ms}
.ob-country-tile:nth-child(14){animation-delay:430ms}
.ob-country-tile:nth-child(15){animation-delay:460ms}
.ob-country-tile:nth-child(16){animation-delay:490ms}
.ob-country-tile:nth-child(17){animation-delay:520ms}
.ob-country-tile:nth-child(18){animation-delay:550ms}
.ob-country-tile:nth-child(19){animation-delay:580ms}
.ob-country-tile:nth-child(20){animation-delay:610ms}
.ob-country-tile:nth-child(21){animation-delay:640ms}
.ob-country-tile:nth-child(22){animation-delay:670ms}
.ob-country-tile .ct-flag { font-size:24px;line-height:1;margin-bottom:3px }
.ob-country-tile .ct-name { font-size:10px;font-weight:600;color:#111;text-align:center;line-height:1.2 }
.ob-country-tile.selected { background:#2D6A4F;border-color:#2D6A4F }
.ob-country-tile.selected .ct-name { color:#fff }
.ob-country-tile:active { transform:scale(.94) }

.ob-nav {
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 20px 10px;
}
.ob-back-btn {
  width:44px;height:44px;border-radius:50%;background:#fff;
  border:1.5px solid #DDD;font-size:20px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.ob-continue {
  width:54px;height:54px;border-radius:50%;
  background:#2D6A4F;color:#fff;
  font-size:24px;font-weight:700;font-family:'DM Sans',sans-serif;
  border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 20px rgba(45,106,79,.32);
}

/* ── SUB-SCREEN TOPBAR ── */
.sub-topbar {
  display:flex;align-items:center;justify-content:space-between;
  padding:max(52px, calc(16px + env(safe-area-inset-top, 0px))) 18px 16px;
  position:sticky;top:0;background:#F4F0EB;z-index:20;
}
.sub-back {
  width:40px;height:40px;border-radius:50%;background:#fff;
  border:none;font-size:20px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
}
.sub-title {
  font-family:'DM Serif Display',serif;font-size:24px;font-weight:400;color:#111;
}

/* ── MY GAMES LIST ── */
.mg-mem-banner {
  background:linear-gradient(135deg,#5B2D8E,#8A52CC);
  color:#fff;border-radius:18px;padding:16px 18px;
  font-size:14px;font-weight:700;margin:0 18px 4px;
  display:flex;align-items:center;gap:10px;letter-spacing:.01em;
}
.mg-mem-banner-sub { font-size:12px;font-weight:400;opacity:.8;margin-top:2px; }

/* ── SETTINGS ── */
.settings-section-label {
  font-size:12px;font-weight:700;color:#767676;letter-spacing:.07em;
  text-transform:uppercase;padding:20px 22px 8px;
}
.settings-group {
  background:#fff;border-radius:16px;margin:0 18px;
  box-shadow:0 2px 8px rgba(0,0,0,.07);overflow:hidden;
}
.settings-avatar-row {
  display:flex;align-items:center;gap:14px;padding:16px 18px;
}
.settings-avatar {
  width:48px;height:48px;border-radius:50%;background:#2D6A4F;
  color:#fff;font-size:20px;font-weight:400;font-family:'DM Serif Display',serif;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.settings-row {
  display:flex;align-items:center;justify-content:space-between;
  padding:15px 18px;gap:12px;
}
.settings-row-label { font-size:15px;font-weight:500;color:#111 }
.settings-tappable { cursor:pointer }
.settings-tappable:active { background:#F8F4F0 }
.settings-chevron { font-size:20px;color:#CCC;font-weight:300 }
.settings-divider { height:1px;background:#F0EBE4;margin:0 18px }
.settings-input {
  border:none;outline:none;font-size:14px;color:#555;font-family:'DM Sans',sans-serif;
  text-align:right;background:transparent;flex:1;min-width:0;
}
.settings-select {
  border:none;outline:none;font-size:14px;color:#555;
  font-family:'DM Sans',sans-serif;background:transparent;
  -webkit-appearance:none;text-align:right;cursor:pointer;
}
/* Save button (appears when inputs change) */
.settings-save {
  display:block;width:calc(100% - 36px);margin:16px 18px 0;
  background:#2D6A4F;color:#fff;font-size:15px;font-weight:700;
  font-family:'DM Sans',sans-serif;padding:15px;border-radius:14px;
  border:none;cursor:pointer;text-align:center;
}

/* Toggle switch */
.toggle { position:relative;display:inline-block;cursor:pointer }
.toggle input { position:absolute;opacity:0;width:0;height:0 }
.toggle-track {
  display:block;width:48px;height:28px;border-radius:14px;
  background:#DDD;transition:background .2s;position:relative;
}
.toggle input:checked + .toggle-track { background:#2D6A4F }
.toggle-thumb {
  position:absolute;top:3px;left:3px;
  width:22px;height:22px;border-radius:50%;background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.2);transition:transform .2s;
}
.toggle input:checked + .toggle-track .toggle-thumb { transform:translateX(20px) }

/* Partners */
.partner-add-btn {
  background:#2D6A4F;color:#fff;font-size:13px;font-weight:700;
  font-family:'DM Sans',sans-serif;padding:8px 14px;border-radius:10px;
  border:none;cursor:pointer;white-space:nowrap;flex-shrink:0;
}
.partner-row {
  display:flex;align-items:center;justify-content:space-between;
  padding:13px 18px;
}
.partner-name { font-size:15px;font-weight:500;color:#111;display:flex;align-items:center;gap:10px }
.partner-initial {
  width:32px;height:32px;border-radius:50%;
  background:#E8F0EC;color:#2D6A4F;
  font-size:14px;font-weight:400;font-family:'DM Serif Display',serif;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.partner-del {
  background:none;border:none;color:#CCC;font-size:20px;
  cursor:pointer;padding:4px 8px;line-height:1;
}
.partner-del:active { color:#C03040; }

/* ── Inbox (support-beskeder) ── */
.inbox-row {
  display:flex; align-items:center; gap:12px;
  padding:13px 18px;
  cursor:pointer;
  transition:background 0.15s;
}
.inbox-row:hover { background:#F8F5F0; }
.inbox-icon {
  width:34px; height:34px; border-radius:50%;
  background:#F0EBE4; color:#6B4423;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; font-size:16px;
}
.inbox-row.unread .inbox-icon {
  background:linear-gradient(135deg, #D4B683, #C9A96E);
  color:#1a1040;
  box-shadow:0 0 0 3px rgba(201,169,110,0.15);
}
.inbox-text { flex:1; min-width:0 }
.inbox-preview {
  font-size:14px; color:#111;
  overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
}
.inbox-row.unread .inbox-preview { font-weight:600 }
.inbox-meta {
  font-size:11px; color:#999;
  margin-top:2px;
  display:flex; align-items:center; gap:6px;
}
.inbox-dot {
  width:7px; height:7px; border-radius:50%;
  background:#C9A96E;
  flex-shrink:0;
}
.inbox-empty {
  padding:20px 18px;
  font-size:13px; color:#999;
  text-align:center;
  font-style:italic;
}

/* ── Brev-overlay + compose ── */
.letter-overlay {
  position:fixed; inset:0; z-index:9500;
  background:rgba(15,8,24,0.65); backdrop-filter:blur(6px);
  display:none; align-items:center; justify-content:center;
  padding:20px;
  font-family:'DM Sans',sans-serif;
}
.letter-overlay.visible {
  display:flex;
  animation:letterFade 0.22s ease both;
}
@keyframes letterFade { from { opacity:0 } to { opacity:1 } }
.letter-modal {
  position:relative;
  width:100%; max-width:440px; max-height:86vh;
  background:#fff;
  border-radius:22px;
  padding:30px 24px 22px;
  overflow-y:auto;
  box-shadow:0 30px 80px rgba(0,0,0,0.4);
  animation:letterRise 0.3s cubic-bezier(0.2,0.8,0.2,1) both;
}
@keyframes letterRise {
  from { transform:translateY(18px); opacity:0 }
  to   { transform:translateY(0);     opacity:1 }
}
.letter-close {
  position:absolute; top:12px; right:12px;
  width:32px; height:32px; border-radius:50%;
  border:none; background:#F0EBE4; color:#6B4423;
  font-size:20px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background 0.15s;
}
.letter-close:hover { background:#E6DFD2 }
.letter-head {
  display:flex; align-items:center; gap:10px;
  margin-bottom:14px;
  color:#6B4423;
}
.letter-title {
  font-family:'DM Serif Display',serif;
  font-size:22px; font-weight:400;
  color:#1a1040;
  margin:0;
  letter-spacing:0.01em;
}
.letter-section {
  margin-bottom:18px;
}
.letter-section-label {
  font-size:10px; letter-spacing:0.1em;
  text-transform:uppercase;
  color:#999;
  margin-bottom:4px;
}
.letter-section-body {
  font-size:14px; color:#333;
  line-height:1.45;
  white-space:pre-wrap;
}
.letter-section-body.reply {
  font-family:'DM Serif Display',serif;
  font-style:italic;
  font-size:15px;
  color:#1a1040;
  padding:14px 16px;
  background:linear-gradient(135deg, rgba(212,182,131,0.12), rgba(201,169,110,0.06));
  border-radius:12px;
  border:1px solid rgba(201,169,110,0.18);
}
.letter-card-ref {
  padding:10px 14px;
  background:#F8F5F0;
  border:1px solid #E8DFCE;
  border-radius:10px;
  font-family:'DM Serif Display',serif;
  font-style:italic;
  font-size:13px;
  color:#6B4423;
  line-height:1.3;
}
.letter-textarea {
  width:100%;
  padding:12px 14px;
  border:1.5px solid #DDD;
  border-radius:12px;
  font-size:14px; font-family:inherit;
  resize:none;
  outline:none;
  transition:border-color 0.15s;
}
.letter-textarea:focus { border-color:#6535A0 }
.letter-foot {
  display:flex; align-items:center; justify-content:space-between;
  margin-top:12px;
}
.letter-counter {
  font-size:11px; color:#999;
  font-variant-numeric:tabular-nums;
}
.letter-send {
  display:inline-flex; align-items:center; gap:6px;
  background:#2D6A4F; color:#fff;
  border:none; border-radius:20px;
  padding:9px 18px;
  font-size:13px; font-weight:700;
  cursor:pointer;
  font-family:inherit;
  transition:background 0.15s, opacity 0.15s, transform 0.1s;
}
.letter-send:hover:not(:disabled) { background:#225540 }
.letter-send:active:not(:disabled) { transform:scale(0.96) }
.letter-send:disabled { opacity:0.4; cursor:not-allowed }
.letter-thanks {
  text-align:center;
  padding:20px 8px 8px;
}
.letter-thanks-icon { font-size:50px; margin-bottom:10px; line-height:1 }
.letter-thanks-title {
  font-family:'DM Serif Display',serif;
  font-size:22px; font-weight:400;
  color:#2D6A4F;
  margin-bottom:4px;
}
.letter-thanks-desc { font-size:14px; color:#666; line-height:1.4 }

/* ── Review-prompt (stjerne-valg + kommentar) ── */
.review-stars {
  display:flex; gap:10px; justify-content:center;
  padding:14px 0 12px;
}
.review-star {
  width:40px; height:40px;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  background:none; border:none; padding:0;
  transition:transform 0.12s;
}
.review-star:active { transform:scale(0.88); }
.review-star:hover  { transform:scale(1.08); }
.review-star svg { width:40px; height:40px; transition:fill 0.2s, stroke 0.2s; }
.review-star.filled svg { fill:#f5c24c; stroke:#d4a130; }
.review-star:not(.filled) svg { fill:#F0EBE4; stroke:#D4CBB9; }
.review-stars-desc {
  text-align:center;
  font-size:13px; color:#777;
  margin-bottom:10px;
  min-height:16px;
}
.review-desc-label {
  font-size:14px; color:#666;
  text-align:center;
  margin-bottom:4px;
}
.review-foot-extra {
  display:flex; gap:8px;
  margin-top:10px;
}
.review-later {
  background:none; color:#888; border:none;
  font-size:13px; font-weight:500;
  cursor:pointer; font-family:inherit;
  padding:8px 14px;
  transition:color 0.15s;
}
.review-later:hover { color:#555; }

/* ─── REDEEM-SIDE ── /redeem/{CODE} ─── */
#redeemScreen {
  display: none;
  background: #FAFAF7;
  min-height: 100vh;
  padding: 24px;
  font-family: 'DM Sans', system-ui, sans-serif;
}
#redeemScreen.is-shown { display: block; }
.redeem-card {
  max-width: 520px; margin: 60px auto 0;
  background: #fff; border-radius: 24px;
  padding: 48px 32px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  text-align: center;
}
.redeem-icon {
  font-size: 64px; margin-bottom: 16px; line-height: 1;
}
.redeem-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6366F1; margin-bottom: 12px;
}
.redeem-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 36px; line-height: 1.05; color: #1F2937; margin-bottom: 14px; font-weight: 400;
}
.redeem-desc {
  font-size: 15.5px; line-height: 1.5; color: #4B5563; margin-bottom: 8px;
}
.redeem-code-box {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; margin: 18px 0 28px;
  background: #EEF2FF; border: 1.5px dashed #A5B4FC; border-radius: 12px;
  color: #4338CA; font-family: monospace; font-weight: 700; font-size: 16px; letter-spacing: 0.06em;
}
.redeem-cta {
  display: block; width: 100%; padding: 16px 28px;
  background: linear-gradient(135deg, #818CF8 0%, #6366F1 60%, #4F46E5 100%);
  color: #fff; font-size: 16px; font-weight: 600;
  border: none; border-radius: 14px; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  box-shadow: 0 8px 20px rgba(99,102,241,0.45);
  transition: transform .12s ease, opacity .15s ease;
}
.redeem-cta:hover { opacity: 0.95; }
.redeem-cta:active { transform: scale(0.98); }
.redeem-cta:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.redeem-fineprint {
  font-size: 12.5px; color: #9CA3AF; margin-top: 14px;
}
.redeem-error {
  background: #FEF2F2; color: #B91C1C;
  padding: 14px 18px; border-radius: 12px;
  font-size: 14px; line-height: 1.5; margin-bottom: 20px;
  text-align: left;
}
.redeem-success-checkmark {
  width: 88px; height: 88px; margin: 0 auto 20px;
  border-radius: 999px; background: #10B981;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 44px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}
.redeem-secondary-btn {
  display: inline-block; margin-top: 16px;
  background: transparent; border: none; color: #6366F1;
  font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.redeem-secondary-btn:hover { text-decoration: underline; }

/* Log ud */
.settings-logout {
  display:block;width:100%;background:#fff;color:#C03040;
  font-size:15px;font-weight:600;font-family:'DM Sans',sans-serif;
  padding:15px;border-radius:14px;border:1.5px solid #EEE;cursor:pointer;
  margin-top:16px;
}

/* ═══════════════════════════════════════════════════════════════════
   V5 SHOP DESIGN - editorial premium look
   Scope: #shopScreen + child elements only. Andre screens
   (prodScreen/playScreen/myGames/settings) er urørt.
═══════════════════════════════════════════════════════════════════ */

/* Importer DM Serif Display - DM Sans er allerede loaded */

/* Default visibility for screens - JS adds .is-shown when active.
   Bemærk: showOnly() fjerner inline display og tilføjer is-shown så CSS bestemmer
   layout (block på mobil, grid på desktop osv.) */
#shopScreen.is-shown,
#myGamesScreen.is-shown,
#settingsScreen.is-shown,
#onboardScreen.is-shown { display: block; }
#prodScreen.is-shown    { display: block; }

/* Body som default = mobil 430px. På desktop åbner vi op til fuld bredde
   så hver screen får sit eget desktop-layout. */
@media (min-width: 768px) {
  body { max-width: 100% !important; background: #FAFAF7; }
  #shopScreen {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  /* Onboarding stays narrow (forced step-flow ligner mobile). Play tager
     hele bredden så preview.html's desktop-@media triggers korrekt. */
  #onboardScreen {
    max-width: 430px;
    margin: 0 auto;
  }
  #playScreen { max-width: none; }
  /* Produkt-detalje desktop: full-width hero, single column content.
     Højde reduceret ~30% fra forrige iteration så hero ikke fylder for meget. */
  #prodScreen .prodx-hero {
    margin: 0;
    border-radius: 0;
    height: 42vh;
    min-height: 340px;
    max-height: 460px;
  }
  #prodScreen .prodx-card {
    padding: 48px 32px 56px;
    max-width: 860px;
  }
  #prodScreen .prodx-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  /* Desktop typografi - meget mere læsbar */
  #prodScreen .prodx-category    { font-size: 13px; letter-spacing: 0.1em; }
  #prodScreen .prodx-title       { font-size: 44px; line-height: 1.05; margin: 8px 0 8px; }
  #prodScreen .prodx-tagline     { font-size: 18px; line-height: 1.45; }
  #prodScreen .prodx-description { font-size: 17px; line-height: 1.6; margin-bottom: 32px; }
  #prodScreen .prodx-feature-icon  { width: 36px; height: 36px; font-size: 28px; }
  #prodScreen .prodx-feature-title { font-size: 16px; line-height: 1.2; }
  #prodScreen .prodx-feature-sub   { font-size: 14.5px; line-height: 1.4; }
  #prodScreen .prodx-review        { padding: 22px 24px; }
  #prodScreen .prodx-review-quote  { font-size: 19px; line-height: 1.5; margin-bottom: 10px; }
  #prodScreen .prodx-review-author { font-size: 14px; }
  #prodScreen .prodx-samples       { margin: 12px 0 36px; }
  #prodScreen .prodx-samples .q-row { gap: 32px; justify-content: center; perspective: 1200px; }
  /* Desktop: kort lægger sig en anelse mod hver sin side med skygge der træder
     frem på prodScreen-baggrunden. Tekst lænes med kortet (rotation arves).
     Drop mobil's negative margin-overlap (gap=32px sørger for separation). */
  #prodScreen .prodx-samples .q-card {
    max-width: 220px;
    padding: 22px 34px;
    box-shadow: 0 18px 40px var(--prodx-card-shadow, rgba(0,0,0,0.18));
  }
  #prodScreen .prodx-samples .q-row .q-card:nth-child(2) { margin-left: 0; }
  #prodScreen .prodx-samples .q-card-text { font-size: 19px; line-height: 1.4; }
  /* Desktop quiz-MC sample-kort */
  #prodScreen .prodx-samples .q-card-mc { padding: 18px 18px; gap: 12px; }
  #prodScreen .prodx-samples .q-card-q  { font-size: 14px; line-height: 1.3; }
  #prodScreen .prodx-samples .q-mc-opt  { font-size: 12px; padding: 6px 8px; }
  #prodScreen.prodx-page--dark .prodx-samples .q-card {
    box-shadow: 0 22px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
  }
  #prodScreen .prodx-review-btn    { font-size: 14px; padding: 12px 24px; }
  #prodScreen .prodx-buy-price     { font-size: 38px; }
  #prodScreen .prodx-buy-plus      { font-size: 13px; }
  /* Mine spil: bredere grid på desktop */
  #myGamesScreen {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 32px 80px;
  }
  #myGamesScreen .game-grid {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 32px;
    padding: 0;
  }
  /* Flugt med container-padding (32px) på desktop - banner og overskrifter
     bevarer ellers deres mobile 18px-indrykning og stikker ind ift. grid + topbar. */
  #myGamesScreen .mg-mem-banner { margin-left: 0; margin-right: 0; }
  #myGamesScreen .sec-title     { padding-left: 0; padding-right: 0; }
  /* Topbar i myGames + settings: lad den fylde hele containeren ordentligt */
  #myGamesScreen .topbar, #settingsScreen .topbar {
    padding-left: 0; padding-right: 0;
  }
  /* Indstillinger: single column, men centreret med ordentlig padding */
  #settingsScreen {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 32px 80px;
  }
  /* Spil-iframe på desktop: full-width (override body's 430px max-width) +
     plads til shop-topbar i toppen så brugeren kan navigere ud af spillet
     uden at lukke siden. Eksplicit top/left/right/bottom (ingen inset-shorthand
     da inset overrider de individuelle props i source-order). */
  #playScreen {
    inset: 96px 0 0 0;    /* top right bottom left - topbar 96px synlig */
  }
}
/* Mobil-spil: skjul shop-topbar helt under spil (på mobil ramte den preview.html's
   egne kontroller og blokerede scroll/swipe). Iframe får hele viewport - preview.html
   har egen exit-knap. Bottom-nav skjules separat i _launchGame(). */
@media (max-width: 767px) {
  .v5-topbar.topbar--play { display: none !important; }
  #playScreen {
    inset: 0;
  }
}
/* Topbar z-index over playScreen (50) så den forbliver synlig + klikbar
   selv når spil er åbent på desktop. */
/* z-index 250 så topbar ligger OVER find-overlay (z-index 200) - matcher
   bottom-nav, så begge nav-bjælker er tilgængelige selv mens overlay er åben. */
.v5-topbar-global { z-index: 250; }
/* Når spil er aktivt: topbar transparent så spillets deck-baggrund (mørk
   farve afledt af accent) skinner igennem. Tekst forbliver mørk siden
   den arver shop-default - ændres til lys hvis nødvendigt per deck. */
.v5-topbar.topbar--play {
  background: transparent !important;
  border-bottom: none !important;
  color: #fff;
}
.v5-topbar.topbar--play .v5-topbar-iconbtn { color: #fff; }
.v5-topbar.topbar--play .v5-topbar-iconbtn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.v5-topbar.topbar--play .v5-topbar-nav button { color: rgba(255,255,255,0.75); }
.v5-topbar.topbar--play .v5-topbar-nav button:hover { color: #fff; }
.v5-topbar.topbar--play .v5-topbar-nav button.active { color: #fff; }
.v5-topbar.topbar--play .v5-topbar-nav button.active::after { background: #fff; }
.v5-topbar.topbar--play .v5-topbar-logo img { filter: brightness(0) invert(1); }

/* Shop bruger lyst paper-look + DM Sans body / DM Serif headers */
#shopScreen {
  background: #FAFAF7;
  color: #1F2937;
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); /* plads til sticky bottom-nav */
}
#shopScreen .v5-serif { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }

/* ─── 1. TOPBAR (v5) ─── */
.v5-topbar {
  position: relative;
  display: flex;
  align-items: center;
  padding: max(24px, calc(6px + env(safe-area-inset-top, 0px))) 20px 12px;
  background: #FAFAF7;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #1F2937;
}
/* Global topbar - sidder uden for #shopScreen.
   IKKE sticky - den må gerne scrolles væk. Den skal bare stå konsistent samme sted
   ved page-load på shop, Mine spil og Indstillinger. Højere z-index end overlay/bottom-nav
   så den ikke gemmes hvis overlays åbnes på samme rendering. */
.v5-topbar-global {
  max-width: 430px;
  margin: 0 auto;
  background: #FAFAF7;
}
@media (min-width: 768px) {
  .v5-topbar-global {
    max-width: 1100px;
    padding-left: 24px;
    padding-right: 24px;
  }
}
/* Søge-row sidder under topbar - synlig kun når søgeknappen er klikket */
#v5-search-row {
  background: #FAFAF7;
  max-width: 430px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  #v5-search-row { max-width: 1100px; padding: 0 24px; }
}
/* Skjul gamle .sub-topbar på myGames + settings - global v5-topbar erstatter den */
#myGamesScreen .sub-topbar,
#settingsScreen .sub-topbar { display: none; }
.v5-topbar-logo { display: inline-flex; align-items: center; }
.v5-topbar-logo img { height: 36px; width: auto; user-select: none; -webkit-user-drag: none; }
.v5-topbar-nav { display: none; }
.v5-topbar-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.v5-topbar-iconbtn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; border-radius: 999px; cursor: pointer;
  color: #1F2937;
  transition: background .15s ease, color .15s ease;
}
.v5-topbar-iconbtn svg { width: 24px; height: 24px; }
.v5-topbar-iconbtn:hover { background: #EEF2FF; color: #6366F1; }

/* ── PROD-SCREEN TOPBAR ── transparent over hero, light/dark tekst, fade til
   opaque når brugeren scroller forbi hero. Fixed-position så den følger med,
   men beholder shop-formatet (1100px centreret via .v5-topbar-global). Kun
   farver/transparens ændrer sig - IKKE bredde eller padding. */
.v5-topbar.topbar--prodx {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 30;
  background: transparent;
  color: #fff;
  border-bottom: none;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.v5-topbar.topbar--prodx .v5-topbar-iconbtn { color: #fff; }
.v5-topbar.topbar--prodx .v5-topbar-iconbtn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.v5-topbar.topbar--prodx .v5-topbar-nav button { color: rgba(255,255,255,0.75); }
.v5-topbar.topbar--prodx .v5-topbar-nav button:hover { color: #fff; }
.v5-topbar.topbar--prodx .v5-topbar-nav button.active { color: #fff; }
.v5-topbar.topbar--prodx .v5-topbar-nav button.active::after { background: #fff; }
.v5-topbar.topbar--prodx .v5-topbar-logo img { filter: brightness(0) invert(1); }

/* Scrolled forbi hero: opaque baggrund + theme-aware tekst-farve */
.v5-topbar.topbar--prodx.topbar--scrolled {
  background: #FAFAF7;
  color: #1F2937;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.v5-topbar.topbar--prodx.topbar--scrolled .v5-topbar-iconbtn { color: #1F2937; }
.v5-topbar.topbar--prodx.topbar--scrolled .v5-topbar-nav button { color: #6B7280; }
.v5-topbar.topbar--prodx.topbar--scrolled .v5-topbar-nav button:hover { color: #1F2937; }
.v5-topbar.topbar--prodx.topbar--scrolled .v5-topbar-nav button.active { color: #6366F1; }
.v5-topbar.topbar--prodx.topbar--scrolled .v5-topbar-nav button.active::after { background: #6366F1; }
.v5-topbar.topbar--prodx.topbar--scrolled .v5-topbar-logo img { filter: none; }

/* Dark theme override: prodScreen er mørk → topbar får .topbar--prodx-dark
   (sat sync af showOnly) så scrolled topbar matcher kort-bg.
   Topbar ligger som sibling af prodScreen, så descendant-selector kan ikke bruges. */
.v5-topbar.topbar--prodx-dark.topbar--prodx.topbar--scrolled {
  background: var(--prodx-card-bg, #0f0818);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.10);
}
.v5-topbar.topbar--prodx-dark.topbar--prodx.topbar--scrolled .v5-topbar-iconbtn { color: #fff; }
.v5-topbar.topbar--prodx-dark.topbar--prodx.topbar--scrolled .v5-topbar-nav button { color: rgba(255,255,255,0.65); }
.v5-topbar.topbar--prodx-dark.topbar--prodx.topbar--scrolled .v5-topbar-nav button:hover { color: #fff; }
.v5-topbar.topbar--prodx-dark.topbar--prodx.topbar--scrolled .v5-topbar-nav button.active { color: #fff; }
.v5-topbar.topbar--prodx-dark.topbar--prodx.topbar--scrolled .v5-topbar-nav button.active::after { background: #fff; }
.v5-topbar.topbar--prodx-dark.topbar--prodx.topbar--scrolled .v5-topbar-logo img { filter: brightness(0) invert(1); }

@media (min-width: 768px) {
  /* Bevar kun top/bottom padding her - left/right styres af .v5-topbar-global
     så logo og højre-ikon flugter med shopScreen's padding-left/right (24px). */
  .v5-topbar { padding-top: 32px; padding-bottom: 20px; border-bottom: 1px solid #F3F4F6; }
  .v5-topbar-logo img { height: 44px; }
  .v5-topbar-nav {
    display: inline-flex; align-items: center; gap: 8px;
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -28%);
  }
  .v5-topbar-nav button {
    background: transparent; border: none; cursor: pointer;
    font-family: 'DM Sans', system-ui, sans-serif;
    padding: 12px 20px; font-size: 14px; font-weight: 500;
    color: #6B7280; position: relative;
    transition: color .15s ease;
  }
  .v5-topbar-nav button:hover { color: #1F2937; }
  .v5-topbar-nav button.active { color: #6366F1; font-weight: 600; }
  .v5-topbar-nav button.active::after {
    content: ''; position: absolute; left: 20px; right: 20px; bottom: -19px;
    height: 3px; background: #6366F1; border-radius: 3px 3px 0 0;
  }
}

/* ─── PROFIL-BANNER ─── styret af _SHOP_CFG.profile_banner. */
.profile-banner {
  display: flex; align-items: center; gap: 12px;
  margin: 12px 16px 0;
  padding: 10px 14px 10px 16px;
  background: linear-gradient(95deg, #ede7ff 0%, #f6efff 100%);
  border: 1px solid #d6c8ff;
  border-radius: 14px;
  color: #4a2d8a;
  font-family: 'DM Sans', sans-serif;
}
.profile-banner.is-shown { display: flex !important; }
.profile-banner-text { flex: 1; min-width: 0; line-height: 1.3; }
.profile-banner-text strong { display: block; font-size: 14px; font-weight: 600; color: #2e1a5e; }
.profile-banner-text span    { display: block; font-size: 12px; color: #6b53a3; margin-top: 2px; }
.profile-banner-cta {
  flex-shrink: 0; padding: 8px 14px; border-radius: 10px;
  background: #5b3a8a; color: #fff;
  font-size: 13px; font-weight: 600; font-family: inherit;
  border: none; cursor: pointer;
  transition: background 0.15s;
}
.profile-banner-cta:hover { background: #6e47a8; }
.profile-banner-close {
  flex-shrink: 0; width: 28px; height: 28px;
  background: transparent; border: none; cursor: pointer;
  color: #6b53a3; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}
.profile-banner-close:hover { background: rgba(91,58,138,0.1); color: #2e1a5e; }
@media (max-width: 480px) {
  .profile-banner { margin: 8px 12px 0; padding: 8px 10px 8px 12px; gap: 8px; }
  .profile-banner-cta { padding: 6px 10px; font-size: 12px; }
}

/* ─── PROFIL-COMPLETION i Indstillinger ─── viser pct + manglende felter */
.profile-completion {
  margin: 14px 0 6px; padding: 12px 14px;
  background: linear-gradient(95deg, #ede7ff 0%, #f6efff 100%);
  border: 1px solid #d6c8ff;
  border-radius: 12px;
}
.profile-completion-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: #4a2d8a; margin-bottom: 8px;
}
.profile-completion-head span:first-child { font-weight: 600; }
.profile-completion-pct { font-weight: 700; }
.profile-completion-bar {
  height: 6px; background: rgba(91,58,138,0.15); border-radius: 3px; overflow: hidden;
}
.profile-completion-bar-fill {
  height: 100%; background: linear-gradient(90deg, #5b3a8a 0%, #8054c5 100%);
  border-radius: 3px; transition: width 0.3s ease;
}
.profile-completion-missing {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.profile-completion-chip {
  padding: 5px 10px; background: rgba(255,255,255,0.6);
  border: 1px solid rgba(91,58,138,0.25);
  border-radius: 999px;
  font-size: 12px; font-weight: 500; color: #5b3a8a;
  cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.profile-completion-chip:hover { background: #fff; }

/* ─── 2. FILTER CHIPS ─── */
.v5-filters-wrap {
  overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
  padding: 0 20px 18px;
}
.v5-filters-wrap::-webkit-scrollbar { display: none; }
.v5-filters {
  display: flex; gap: 10px; width: max-content;
}
.v5-filter-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid #E5E7EB;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px; font-weight: 500; color: #1F2937;
  white-space: nowrap; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.v5-filter-chip:hover { border-color: #6366F1; }
.v5-filter-chip.active {
  background: linear-gradient(135deg, #818CF8 0%, #6366F1 60%, #4F46E5 100%);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45);
}
.v5-filter-chip svg { flex-shrink: 0; }

@media (min-width: 768px) {
  .v5-filters-wrap { overflow-x: visible; padding: 24px 0 28px; }
  .v5-filters { flex-wrap: wrap; width: auto; }
}

/* ─── 3. HERO CAROUSEL (v5 - flere slides med fade + arrows + dots) ─── */
.v5-hero-wrap { padding: 0 20px; }
.v5-hero-stage {
  position: relative;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
}
.v5-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right;
  background-color: #2D2A5C;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
  z-index: 1;
}
.v5-hero-slide.active { opacity: 1; pointer-events: auto; z-index: 2; }
/* Mobil: boksen er pr. design-template altid i højre tredjedel af hero'en.
   Tving til right center så vigtige produktelementer ses på smal viewport.
   !important overstyrer inline background-position fra _renderHeroSlide. */
@media (max-width: 767px) {
  .v5-hero-slide { background-position: right center !important; background-size: auto 100% !important; }
}
.v5-hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(20, 8, 18, 0.92) 0%,
    rgba(20, 8, 18, 0.85) 30%,
    rgba(20, 8, 18, 0.55) 50%,
    rgba(20, 8, 18, 0) 75%);
}
/* Pil-knapper fjernet - brugeren styrer carousel via dots eller swipe */
/* Bevarede klasser for bagudkompatibilitet */
.v5-hero {
  position: relative;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  background-size: cover;
  background-position: center right;
  background-color: #2D2A5C;
}
.v5-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(20, 8, 18, 0.92) 0%,
    rgba(20, 8, 18, 0.85) 30%,
    rgba(20, 8, 18, 0.55) 50%,
    rgba(20, 8, 18, 0) 75%);
}
.v5-hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.v5-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.v5-hero-eyebrow svg { flex-shrink: 0; }
.v5-hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  color: #fff; font-size: 38px; line-height: 1.05;
  margin: 16px 0 12px; max-width: 280px; font-weight: 400;
}
.v5-hero-sub {
  color: #fff; font-size: 17px; line-height: 1.4; font-weight: 500;
  max-width: 320px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  /* Tillad lange tekster op til 5 linjer på mobil før de afkortes via JS-truncate */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v5-hero-quote {
  margin-top: 10px; max-width: 320px;
  width: fit-content; /* tilpas til indhold - kort citat = smal boks */
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 14px; padding: 10px 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.v5-hero-quote svg { flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }
.v5-hero-quote-text {
  color: #1F2937; font-size: 14px; line-height: 1.4; font-weight: 500;
}
.v5-hero-actions { display: flex; gap: 12px; align-items: center; }
.v5-hero-cta-primary {
  padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #818CF8 0%, #6366F1 60%, #4F46E5 100%);
  color: #fff; font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  box-shadow: 0 8px 20px rgba(99,102,241,0.45);
  transition: transform .12s ease;
}
.v5-hero-cta-primary:active { transform: scale(0.96); }
.v5-hero-cta-secondary {
  padding: 12px 22px; border-radius: 999px;
  background: transparent; border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: background .15s ease;
}
.v5-hero-cta-secondary:hover { background: rgba(255,255,255,0.1); }
.v5-hero-dots {
  position: absolute; bottom: 18px; right: 22px;
  display: flex; gap: 8px; z-index: 5;
}
.v5-hero-dots button {
  width: 9px; height: 9px; padding: 0;
  border: none; border-radius: 999px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.v5-hero-dots button.active { background: #fff; width: 22px; }
.v5-hero-dots button:hover:not(.active) { background: rgba(255,255,255,0.7); }
/* Legacy span-dots (bevaret hvis nogen genbruger) */
.v5-hero-dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.4); }
.v5-hero-dots span.active { background: #fff; }

@media (min-width: 768px) {
  .v5-hero-wrap { padding: 0; }
  .v5-hero { height: 460px; }
  .v5-hero-inner { padding: 48px; max-width: 60%; }
  .v5-hero-title { font-size: 56px; max-width: 540px; margin: 24px 0 16px; }
  .v5-hero-sub { font-size: 19px; max-width: 540px; -webkit-line-clamp: 4; }
  .v5-hero-quote { max-width: 520px; padding: 14px 22px; gap: 14px; margin-top: 14px; margin-bottom: 8px; }
  .v5-hero-quote svg { width: 20px; height: 20px; margin-top: 3px; }
  .v5-hero-quote-text { font-size: 16px; }
  .v5-hero-cta-primary, .v5-hero-cta-secondary { padding: 14px 28px; font-size: 16px; }
}

/* ─── 4. SEKTIONS-WRAPPER ─── */
.v5-section { margin-top: 32px; padding: 0 20px; }
.v5-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.v5-section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px; line-height: 1.1; color: #1F2937; font-weight: 400;
}
.v5-section-seemore {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; color: #6B7280; font-weight: 500;
  background: transparent; border: none; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: color .15s ease;
}
.v5-section-seemore:hover { color: #6366F1; }

/* Farvede sektion-paneler (samtale/quiz/dilemma/find/testimonials) */
.v5-section.v5-bg {
  border-radius: 24px;
  padding: 28px 20px;
  margin-left: 20px; margin-right: 20px;
}
.v5-bg-samtale  { background: linear-gradient(180deg, #FBF3E6 0%, #F5E6D3 100%); }
.v5-bg-quiz     { background: linear-gradient(180deg, #F1EEFE 0%, #DDD6FE 100%); }
.v5-bg-dilemma  { background: linear-gradient(180deg, #FEF1E1 0%, #FED7AA 100%); }
.v5-bg-refleksion { background: linear-gradient(180deg, #ECFCCB 0%, #BEF264 100%); }
.v5-bg-find     { background: linear-gradient(180deg, #F1EEFE 0%, #DDD6FE 100%); }
.v5-bg-testimonials { background: linear-gradient(180deg, #FEF1E1 0%, #FED7AA 100%); }

@media (min-width: 768px) {
  .v5-section { margin-top: 48px; padding: 0; }
  .v5-section-title { font-size: 30px; }
  .v5-section.v5-bg { padding: 36px 32px; margin-left: 0; margin-right: 0; }
}

/* ─── 5. CARDS (v5 - 3:2 thumbnail) ─── */
.v5-cards-row {
  display: flex; gap: 16px;
  overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.v5-cards-row::-webkit-scrollbar { display: none; }
.v5-card {
  flex-shrink: 0; width: 270px;
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  transition: box-shadow .2s ease, transform .12s ease;
  cursor: pointer; scroll-snap-align: start;
  display: flex; flex-direction: column;
  font-family: 'DM Sans', system-ui, sans-serif; color: #1F2937;
}
.v5-card:hover { box-shadow: 0 8px 22px rgba(15,23,42,0.10); }
.v5-card:active { transform: scale(0.99); }
.v5-card-thumb {
  position: relative;
  width: 100%; aspect-ratio: 3 / 2;
  background-size: cover; background-position: center;
  background-color: #6366F1;
  display: flex; align-items: flex-end; padding: 12px;
}
.v5-card-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  color: #1F2937; font-size: 11.5px; font-weight: 700;
}
.v5-card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.v5-card-cat {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #7C2D92;
}
.v5-card-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px; line-height: 1.15; font-weight: 400; color: #1F2937;
}
.v5-card-sub {
  font-size: 14.5px; line-height: 1.35; color: #1F2937;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.v5-card-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.v5-card-pill {
  font-size: 12.5px; font-weight: 600;
  color: #4F46E5; background: #EEF2FF;
  padding: 6px 12px; border-radius: 999px;
}
.v5-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto;
}
.v5-card-plus {
  display: inline-flex; align-items: center; gap: 6px;
  color: #B45309; font-size: 13.5px; font-weight: 600;
}
.v5-card-plus svg { flex-shrink: 0; }
.v5-card-price {
  padding: 8px 16px; border-radius: 999px;
  background: linear-gradient(135deg, #818CF8 0%, #6366F1 100%);
  color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap;
  border: none; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.v5-card-price.owned {
  background: #E5E7EB; color: #1F2937;
}
.v5-card-price-orig {
  text-decoration: line-through; color: #9CA3AF;
  font-size: 13px; font-weight: 500; margin-right: 6px;
}

/* Type-specifikke kategori-farver */
.v5-card-cat.cat-samtale,
.v5-card-cat.cat-osto,
.v5-card-cat.cat-mellem { color: #6D28D9; }
.v5-card-cat.cat-quiz { color: #7C3AED; }
.v5-card-cat.cat-dilemma { color: #C2410C; }
.v5-card-cat.cat-refleksion { color: #15803D; }
.v5-card-cat.cat-spoergsvar { color: #B45309; }
.v5-card-cat.cat-blandet { color: #BE123C; }
.v5-card-cat.cat-udfordring { color: #C026D3; }
.v5-card-cat.cat-polarisering { color: #0E7490; }

@media (min-width: 768px) {
  .v5-cards-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    overflow-x: visible; scroll-snap-type: none;
  }
  .v5-card { width: auto; }
}

/* ─── 6. PLUS-BANNER (v5 - split-layout) ─── */
/* ─── PLUS-SIDE (subscription-reklame) ─── */
#plusScreen { padding-top: 12px; }
.plusx-hero {
  margin: 0 16px 24px;
  border-radius: 28px;
  padding: 40px 28px 36px;
  background: linear-gradient(135deg, #3D2F70 0%, #1F1B4B 55%, #2D2A5C 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 36px rgba(15,23,42,0.18);
  position: relative;
  overflow: hidden;
}
.plusx-hero::before {
  content: ''; position: absolute; inset: -40% -20% auto auto;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,181,74,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.plusx-crown { display: flex; justify-content: center; margin-bottom: 12px; position: relative; }
.plusx-crown svg { color: #FFB54A; filter: drop-shadow(0 4px 18px rgba(255,181,74,0.45)); }
.plusx-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,181,74,0.95);
  margin-bottom: 10px;
  position: relative;
}
.plusx-title {
  font-family: 'DM Serif Display', serif;
  font-size: 44px; line-height: 1.05; font-weight: 400;
  margin: 0 0 14px;
  position: relative;
}
.plusx-tagline {
  font-size: 16px; line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0 auto 0;
  max-width: 480px;
  position: relative;
}
@media (min-width: 768px) {
  .plusx-title { font-size: 56px; }
}
.plusx-stats {
  margin: 0 16px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.plusx-stat {
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 18px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15,23,42,0.04);
}
.plusx-stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 32px; line-height: 1;
  color: #1F1B4B;
  margin-bottom: 6px;
}
.plusx-stat-label {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
  line-height: 1.3;
}
.plusx-pricing {
  margin: 0 16px 28px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 0 6px 20px rgba(15,23,42,0.06);
}
/* Pricing-toggle på lys baggrund - overrider de mørke shop-banner-farver */
.plusx-pricing .v5-plus-toggle-btn { background: #F9FAFB; color: #1F2937; }
.plusx-pricing .v5-plus-toggle-btn.active { background: #EEF2FF; border-color: #6366F1; }
.plusx-pricing .v5-plus-toggle-price { color: #1F1B4B; }
.plusx-pricing .v5-plus-toggle-period { color: #6B7280; opacity: 1; }
.plusx-pricing .v5-plus-toggle-orig { color: #9CA3AF; }
.plusx-pricing .v5-plus-toggle-save { color: #6366F1; }
.plusx-features {
  margin: 0 16px 24px;
  list-style: none;
  padding: 0;
}
.plusx-features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 14px;
  margin-bottom: 8px;
  font-size: 15px;
  color: #1F2937;
  line-height: 1.45;
}
.plusx-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB54A 0%, #FF8C42 100%);
  color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.plusx-trust {
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
  margin: 0 16px 24px;
  line-height: 1.5;
}

.v5-plus {
  margin: 32px 20px 0;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, #3D2F70 0%, #1F1B4B 50%, #2D2A5C 100%);
  box-shadow: 0 8px 22px rgba(15,23,42,0.10);
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px;
  row-gap: 18px;
  /* overflow visible så roteret sale-badge (åbningstilbud) ikke kappes ved kanten */
  position: relative; overflow: visible;
}
.v5-plus-icon {
  grid-row: span 2;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #C7B6F4 0%, #9B8AE6 100%);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.v5-plus-icon svg { color: #FFB54A; }
.v5-plus-body { min-width: 0; }
.v5-plus-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #A5B4FC;
}
.v5-plus-title {
  font-family: 'DM Serif Display', Georgia, serif;
  color: #fff; font-size: 24px; line-height: 1.1; margin: 4px 0 12px; font-weight: 400;
}
.v5-plus-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.v5-plus-features li {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500;
}
.v5-plus-features li::before {
  content: ''; flex-shrink: 0;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A5B4FC' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.v5-plus-cta-area {
  grid-column: 1 / -1;
}
.v5-plus-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 12px;
}
.v5-plus-toggle-btn {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center; cursor: pointer;
  color: #fff; position: relative;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.v5-plus-toggle-btn.active {
  background: rgba(255,255,255,0.10);
  border-color: #A5B4FC;
}
.v5-plus-toggle-price {
  font-size: 23px; font-weight: 700; line-height: 1; color: #fff;
}
.v5-plus-toggle-period {
  font-size: 13px; font-weight: 500; opacity: 0.6; margin-left: 2px;
}
.v5-plus-toggle-orig {
  text-decoration: line-through; color: rgba(255,255,255,0.5);
  font-size: 13px; display: block; margin-bottom: 3px;
}
.v5-plus-toggle-save {
  display: block; font-size: 12px; color: #A5B4FC; font-weight: 500; margin-top: 5px;
}
.v5-plus-toggle-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: 3px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: #fff; letter-spacing: 0.04em;
  white-space: nowrap;
  background: linear-gradient(135deg, #FB923C, #EF4444);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.v5-plus-cta {
  width: 100%; padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #818CF8 0%, #6366F1 60%, #4F46E5 100%);
  color: #fff; font-size: 17px; font-weight: 600;
  border: none; cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: transform .12s ease;
}
.v5-plus-cta:active { transform: scale(0.98); }

@media (min-width: 768px) {
  .v5-plus {
    margin: 40px 0 0;
    padding: 28px;
    grid-template-columns: auto 1fr 360px;
    column-gap: 28px;
    row-gap: 0;
    align-items: center;
  }
  .v5-plus-icon { grid-row: span 1; width: 96px; height: 96px; }
  .v5-plus-title { font-size: 30px; }
  .v5-plus-cta-area { grid-column: 3; }
  .v5-plus-toggle-price { font-size: 26px; }
  .v5-plus-toggle-save { font-size: 13px; }
  .v5-plus-toggle-orig { font-size: 14px; }
  .v5-plus-cta { font-size: 18px; padding: 17px; }
}

/* ─── 7. FIND DET RETTE SPIL (inline-sektion) ─── */
.v5-find-cards { display: flex; flex-direction: column; gap: 12px; }
.v5-find-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  background: #fff; border: none;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  cursor: pointer; text-align: left;
  font-family: 'DM Sans', system-ui, sans-serif;
  transition: box-shadow .2s ease, transform .12s ease;
}
.v5-find-card:hover { box-shadow: 0 8px 22px rgba(15,23,42,0.10); transform: translateY(-2px); }
.v5-find-card-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
.v5-find-card-icon.icon-romantik { background: #FFE4E6; }
.v5-find-card-icon.icon-laer { background: #E0E7FF; }
.v5-find-card-icon.icon-grin { background: #FEF3C7; }
.v5-find-card-icon.icon-dybde { background: #CCFBF1; }
.v5-find-card-text { flex: 1; min-width: 0; }
.v5-find-card-title {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px; line-height: 1.15; color: #312E81; font-weight: 400;
}
.v5-find-card-sub {
  display: block; margin-top: 2px;
  font-size: 12.5px; color: #6B7280;
}
.v5-find-card-arrow { flex-shrink: 0; color: #9CA3AF; }
.v5-find-cap-text {
  font-size: 14px; color: #6B7280;
  margin-bottom: 20px;
}
.v5-find-cap-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px; line-height: 1.1; color: #312E81; font-weight: 400;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .v5-find-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .v5-find-card { padding: 20px; }
  .v5-find-cap-title { font-size: 30px; }
  .v5-find-cap-text { font-size: 16px; }
}

/* ─── 8. TESTIMONIALS ─── */
.v5-testimonials-head {
  text-align: center; margin-bottom: 24px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px; color: #1F2937; font-weight: 400;
}
.v5-testimonials-row {
  display: flex; gap: 16px;
  overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.v5-testimonials-row::-webkit-scrollbar { display: none; }
.v5-testimonial {
  flex-shrink: 0; width: 280px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  padding: 20px;
  scroll-snap-align: start;
}
.v5-testimonial-stars { display: flex; gap: 4px; margin-bottom: 12px; }
.v5-testimonial-quote {
  font-size: 15px; font-weight: 600; line-height: 1.35;
  color: #1F2937; margin-bottom: 8px;
}
.v5-testimonial-long {
  font-size: 13.5px; line-height: 1.55; color: #6B7280; margin-bottom: 12px;
}
.v5-testimonial-author { font-size: 12px; color: #9CA3AF; }

@media (min-width: 768px) {
  .v5-testimonials-head { font-size: 30px; margin-bottom: 28px; }
  .v5-testimonials-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    overflow-x: visible; scroll-snap-type: none;
  }
  .v5-testimonial { width: auto; }
}

/* Stribe bag statuslinjen i iOS-app'en (env() er 0 på web, så den er usynlig dér).
   Uden den scroller indhold ind under uret og batteriet. Salgssiden og spillet
   har deres egen top (mørk hero / fuldskærm) og får ingen stribe. */
body::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; z-index: 25;
  height: env(safe-area-inset-top, 0px); pointer-events: none;
  background: rgba(250,250,247,0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
body[data-screen="prodScreen"]::before, body[data-screen="playScreen"]::before { display: none; }

/* ─── 9. STICKY BOTTOM-NAV (sort + guld) ─── */
.v5-bottomnav {
  /* z-index: 250 sikrer at bottom-nav ligger OVER find-overlay (z-index 200)
     så brugeren altid kan navigere væk fra overlays uden at lukke dem først. */
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 250;
  background: #0B0B0F;
  border-top: 1px solid #1F1B2E;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.v5-bottomnav-inner {
  margin: 0 auto; max-width: 430px;
  display: flex; align-items: center; justify-content: space-around;
  height: 76px;
}
.v5-bottomnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: transparent; border: none; cursor: pointer;
  /* Inaktive ikoner: dæmpet guld for diskret elegance */
  color: rgba(218,165,32,0.55);
  font-family: 'DM Sans', system-ui, sans-serif;
  padding-top: 8px; padding-bottom: 4px;
  transition: color .15s ease;
}
.v5-bottomnav-btn svg { width: 26px; height: 26px; }
.v5-bottomnav-btn:hover { color: #FFB54A; }
.v5-bottomnav-btn.active { color: #FFB54A; }
.v5-bottomnav-btn .lbl { font-size: 11.5px; font-weight: 500; }
.v5-bottomnav-btn.active .lbl { font-weight: 700; font-size: 12.5px; }
.v5-bottomnav-fab {
  flex: 1; display: flex; justify-content: center;
  background: transparent; border: none; cursor: pointer; padding: 0;
}
.v5-bottomnav-fab span {
  width: 64px; height: 64px; margin-top: -32px;
  border: 4px solid #0B0B0F; border-radius: 999px;
  background: linear-gradient(135deg, #FFD27A 0%, #FFB54A 55%, #C8862E 100%);
  box-shadow: 0 8px 20px rgba(255,181,74,0.45);
  display: flex; align-items: center; justify-content: center;
  color: #1B1208;
  transition: transform .12s ease;
}
.v5-bottomnav-fab:active span { transform: scale(0.96); }

@media (min-width: 768px) {
  .v5-bottomnav-inner { max-width: 1100px; }
}

/* ─── 10. FIND-OVERLAY (åbnes af FAB) ─── */
/* Overlayet ligger under topbaren (z-index 250 vs 200) så global navigation altid
   er synlig. Top-padding skubber indhold under topbaren så det ikke gemmer sig. */
.v5-find-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: #FAFAF7;
  display: none; flex-direction: column;
  overflow-y: auto;
  padding-top: calc(76px + env(safe-area-inset-top, 0px)); /* matcher topbar højde på mobil */
  padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); /* plads til bottom-nav som ligger over via z-index 250 */
}
@media (min-width: 768px) {
  .v5-find-overlay { padding-top: calc(96px + env(safe-area-inset-top, 0px)); } /* topbar er højere på desktop */
}
.v5-find-overlay.open { display: flex; }
/* Overlay's egen header skjult - global topbar erstatter den */
.v5-find-overlay-head { display: none !important; }
.v5-find-overlay-back {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; border-radius: 999px; cursor: pointer;
  color: #1F2937;
  transition: background .15s ease, color .15s ease;
}
.v5-find-overlay-back:hover { background: #EEF2FF; color: #6366F1; }
.v5-find-overlay-title {
  font-family: 'DM Serif Display', Georgia, serif; font-size: 20px; color: #1F2937;
}
.v5-find-overlay-intro {
  text-align: center; color: #6B7280; font-size: 14px;
  padding: 24px 20px 8px;
}
.v5-find-overlay-cards {
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px 20px; max-width: 540px; margin: 0 auto; width: 100%;
}
.v5-find-overlay-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px;
  border-radius: 18px;
  border: none; cursor: pointer; text-align: left;
  font-family: 'DM Sans', system-ui, sans-serif;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  transition: box-shadow .2s ease, transform .12s ease;
}
.v5-find-overlay-card:hover { box-shadow: 0 8px 22px rgba(15,23,42,0.10); transform: translateY(-2px); }
.v5-find-overlay-card[data-cat="favoritter"] { background: #FECACA; }
/* Hjerte-filter i topmenuen. Tom kontur = vis alle spil, fyldt rødt = kun hjerter.
   Vises kun på Mine spil, og kun når brugeren faktisk har hjertet noget. */
.mgs-fav-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.mgs-fav-toggle:hover { color: #EF4444; }
.mgs-fav-toggle[aria-pressed="true"] { color: #EF4444; }
.mgs-fav-toggle[aria-pressed="true"] svg { fill: currentColor; stroke: currentColor; }
.mgs-fav-toggle:focus-visible { outline: 2px solid #EF4444; outline-offset: 2px; }
.mgs-fav-toggle[hidden] { display: none !important; }
.v5-find-overlay-card[data-cat="daten"]   { background: #FCD7D7; }
.v5-find-overlay-card[data-cat="venner"]  { background: #C8E6C9; }
.v5-find-overlay-card[data-cat="laer"]    { background: #C7D2FE; }
.v5-find-overlay-card[data-cat="dilemma"] { background: #FED7AA; }
.v5-find-overlay-card[data-cat="quiz"]    { background: #DDD6FE; }
.v5-find-overlay-card[data-cat="samtale"] { background: #F5E6D3; }
.v5-find-overlay-card-icon {
  flex-shrink: 0; width: 60px; height: 60px;
  border-radius: 999px; background: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.v5-find-overlay-card-text { flex: 1; }
.v5-find-overlay-card-title {
  display: block; font-family: 'DM Serif Display', Georgia, serif; font-size: 18px; color: #1F2937;
}
.v5-find-overlay-card-sub { display: block; margin-top: 2px; font-size: 13px; color: rgba(31,41,55,0.7); }
.v5-find-overlay-card-arrow {
  flex-shrink: 0; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: #fff;
  color: #6B7280;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.v5-find-overlay-foot {
  text-align: center; padding: 16px 20px 40px;
  max-width: 540px; margin: 0 auto; width: 100%;
}
.v5-find-overlay-allgames {
  width: 100%; display: inline-flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
  font-family: 'DM Sans', system-ui, sans-serif; color: #1F2937;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: border-color .15s ease;
}
.v5-find-overlay-allgames:hover { border-color: #6366F1; }
.v5-find-overlay-allgames-hint {
  display: block; font-size: 12px; color: #9CA3AF; margin-bottom: 12px;
}

/* ─── 11. SHOP HEADER WIPER (skjul gammel topbar/search/carousel) ─── */
/* De gamle .topbar / .search-wrap / .carousel-wrap divs er erstattet af v5-versioner.
   Hvis de er til stede skjules de - så vi har én ren v5-frontside. */
#shopScreen > .topbar { display: none; }
#shopScreen > .search-wrap { display: none; }

/* Skjul gamle .sec-title-h3'er inde i v5-sektioner - overskrives af .v5-section-head */
#shopScreen #samtaleSection > .sec-title,
#shopScreen #dilemmaSection > .sec-title,
#shopScreen #refleksionSection > .sec-title,
#shopScreen #quizSection > .sec-title,
#shopScreen #bundleSection > .sec-title { display: none; }


/* ── (tidligere anden <style>-blok) ── */
/* Tilgængelighed: respektér brugerens ønske om mindre bevægelse. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
