:root {
    --h: 228;  /* en kulört styr hela paletten */
    --bg: hsl(var(--h) 60% 68%);
    --panel: hsl(var(--h) 68% 80%);
    --panel-deep: hsl(var(--h) 52% 56%);
    --border: hsl(var(--h) 46% 48%);
    --ink: hsl(var(--h) 55% 24%);
    --ink-panel: hsl(var(--h) 55% 24%);   /* textfärg mot --panel, kan skilja sig från --ink */
    --btn-ink: hsl(var(--h) 55% 24%);     /* textfärg mot --btn, kan skilja sig från --ink */
    --btn: hsl(var(--h) 62% 88%);
    --btn-edge: hsl(var(--h) 50% 80%);
    --border-w: 2px;                      /* kantbredd, varieras av kaos-slumpen */
    --font-display: "Times New Roman", Times, serif; /* rubrik-typsnitt, varieras av kaos-slumpen */
    --link: #0000ee;
    --visited: #551a8b;
    --gold: #e8c34a;
    --red: #c0392b;
    --slip: #fffdf4;
    --slip-ink: #2b2318;
    --countdown-bg: #1c295f; /* fast LED-bakgrund - FRIKOPPLAD från --ink med avsikt,
                                 se lärdom: --ink varierar nu i ljushet med temaslumpen,
                                 countdown-rutan ska alltid vara mörk oavsett tema */
    --z-wildcard-bg: -1;  /* SÖNDERFALL-glitchens bakgrundslager, under paneler */
    --z-wildcard: 25;     /* wildcard-overlays, ovanför allt vanligt sidinnehåll */
    --z-interactive: 30;  /* ska synas genom alla wildcards (randomize/reset-knapparna) */
    --z-consent: 40;      /* cookie-bannern - alltid överst, opåverkad av wildcards */
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Times New Roman", Times, serif;
    overflow-x: hidden;
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAjklEQVR4nO3WQQqAMAxE0US8/5Xjol1IW6GZTOwmHwRxYZ4BRZGqqqpqP8u46XUa4QKYGR3h3QAd4QawERCAiYABLEQIwECEAVEEBRBB0AAo4mYMVtXJIiLTxVXwBhZDdTi2ggCL4XBuQB+u7bRBfnsLXsNpeTcwDg9vwQOgPjkC+Cq0BeqH6HQmSf+NqT0/ajUYAlTDFwAAAABJRU5ErkJggg==') 10 10, auto;
  }
  a { color: var(--link); }
  a:visited { color: var(--visited); }

  /* old school hand på allt klickbart + nedtryckt hand vid klick */
  a, button, .package {
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAmUlEQVR4nO2V0QqAMAhFNfr/X749tEEEkt50MPBA0FOerrqJNE3TbATGk8rhLQ5AAEyR5QJltAArkDaQJ1X9HkZR1aeEMt/63YLXdoRTSZ0BZk0tAQj5R1EJMwHr4Jn9f7+zfLbAW4SVsQRUlRrqNIFlEq4tyOg1K1CeQvpdMITd1h6B0hS2uQ1dKUTjjwiUEbH17uKaEyyLC1LIOhMF4iDPAAAAAElFTkSuQmCC') 10 10, pointer;
  }
  a:active, button:active, .package:active {
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAkUlEQVR4nO2VQQqAMAwEN+L/v7webEEKwXRNC0IGBE/NuEksUBRFURRx2J5UjmhxkiDZRbYLLKMEVIG0gTyl6vcwwsyeEqac9bkFw3ZMp5I6A8qaegKE+EWzEm4C3o+n9398V3ltQbSIKuMJmJk01GkC2yRCW5DRa1VgeQrpd0ETDltHBJam8JvbMJTCbPwAcAEyIjkQJYfvWgAAAABJRU5ErkJggg==') 10 13, pointer;
  }
  /* timglas medan animationen spelar */
  body.waiting, body.waiting * {
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAtklEQVR4nO1Wyw7DIAxzpv3/L3uHiRbCc8Vqd4gvVG0TW4kJGGqw8W4GuxADAHj3PpBzHWaXec8cLW5Rnq1A/lCBrTK8doIVmApIffbrbQJIwsyKVYmuBxL58aMjzyqxVZJRcCVCTQ6MW2A5WcMDWjMMQHy3JdOzMvnfb8PCB5kfZFUYCSjIU+/VIpa3YRUoMmO3Ap7cT0DVQFoyYT4J1Vg6C/w4vk1Ai1wt4vELSVzJAoFAIPABLZZWKdbUVk4AAAAASUVORK5CYII=') 10 10, wait !important;
  }

  /* WordArt-flourish - bara på rubrikerna, ALDRIG på funktionstext/knappar */
  .wordart-font .site-title, .wordart-font .about-title {
    background: linear-gradient(180deg, #ffe14d 0%, #ff9a1f 45%, #ff2e6c 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-text-stroke: 2px #1a1a1a; paint-order: stroke fill;
    filter: drop-shadow(3px 3px 0 rgba(0,0,0,.4));
  }

  .view { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }

  .title-box {
    border: var(--border-w) solid var(--border);
    outline: var(--border-w) solid var(--border);
    outline-offset: 3px;
    background: var(--panel);
    color: var(--ink-panel);
    padding: 18px 40px;
    text-align: center;
  }
  .site-title { font-family: var(--font-display); font-size: clamp(26px, 5.5vw, 50px); font-weight: bold; letter-spacing: 0.05em; }
  .subtitle { font-family: "Courier New", Courier, monospace; font-size: 13px; margin-top: 8px; }

  /* ---------- Vy 1: val + öppning i samma vy ---------- */
  .choice-row {
    display: flex; gap: clamp(30px, 8vw, 110px);
    align-items: flex-start; justify-content: center;
    margin-top: 50px; flex-wrap: wrap;
  }
  .package {
    background: none; border: none;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    width: clamp(200px, 34vw, 320px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .package .imgwrap { position: relative; width: 100%; }
  .package img {
    width: 100%; height: auto; display: block;
    filter: drop-shadow(4px 8px 12px rgba(10,15,50,0.4));
    transition: transform 0.22s ease;
  }
  .package:nth-child(1) img { transform: rotate(-4deg); }
  .package:nth-child(2) img { transform: rotate(5deg); }
  .package:not(.opening):hover img,
  .package.touch-focus:not(.opening) img { transform: rotate(0deg) scale(1.05); }
  .package:focus-visible { outline: 3px dashed var(--gold); outline-offset: 8px; }

  .package.rejected { opacity: 0; transform: translateY(30px) scale(0.9); pointer-events: none; }
  .package.opening img, .package.opening:hover img { transform: rotate(0deg); }
  .package.opening:active img { transform: scale(0.95); }

  .label-slip {
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(13px, 1.6vw, 16px);
    background: var(--slip); color: var(--slip-ink);
    padding: 8px 16px;
    box-shadow: 2px 3px 6px rgba(10,15,50,0.4);
    transform: rotate(-1.5deg);
    position: relative;
  }
  .package:nth-child(2) .label-slip { transform: rotate(1.5deg); }
  .label-slip::before {
    content: ""; position: absolute; top: -8px; left: 50%;
    width: 46px; height: 14px; transform: translateX(-50%) rotate(-2deg);
    background: rgba(255,255,255,0.35);
    border-left: 1px dashed rgba(0,0,0,0.12);
    border-right: 1px dashed rgba(0,0,0,0.12);
  }

  .pick-hint {
    margin-top: 46px;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px; text-align: center; line-height: 1.9;
  }
  .pick-hint .hint-line { animation: blink 2.4s step-end infinite; }
  .pick-hint .manicule { font-size: 17px; }
  @keyframes blink { 50% { opacity: 0.35; } }

  /* ---------- juice ---------- */
  @keyframes shake {
    0%,100% { transform: rotate(0); }
    20% { transform: rotate(-6deg) translateX(-5px); }
    40% { transform: rotate(5deg) translateX(5px); }
    60% { transform: rotate(-3deg); }
    80% { transform: rotate(2deg); }
  }
  .shaking .imgwrap { animation: shake 0.32s ease; }

  .flashring {
    position: absolute; left: 50%; top: 50%;
    width: 10px; height: 10px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%,-50%);
    pointer-events: none;
    animation: flashgrow 0.45s ease-out forwards;
    z-index: 2;
  }
  @keyframes flashgrow {
    0% { width:10px; height:10px; opacity:1; }
    100% { width:420px; height:420px; opacity:0; }
  }
  .particle {
    position: absolute; left: 50%; top: 50%;
    font-size: 22px; line-height: 1; pointer-events: none; z-index: 5;
    animation: fly 0.7s ease-out forwards;
  }
  @keyframes fly {
    0%   { transform: translate(-50%,-50%) scale(0.6) rotate(0); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.1) rotate(var(--rot)); opacity: 0; }
  }

  /* psykedelisk knäck-blixt: täcker hela fönstret i ~120ms */
  .psych-flash {
    position: absolute; inset: -10%; z-index: 6;
    background: center / cover no-repeat;
    display: none; pointer-events: none;
    background-image: url('../images/psych-flash.webp');
    display: none; pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .pick-hint .hint-line { animation: none; }
    .shaking .imgwrap { animation: none; }
    .flashring, .particle, .psych-flash { display: none !important; }
    .fortune-slip { animation: none; }
    .package, .package img { transition: none; }
  }

  /* ---------- Vy 2: lyckolappen ---------- */
  #view-song { display: none; }
  .song-stage { display: flex; flex-direction: column; align-items: center; max-width: 620px; width: 100%; }
  .cracked-wrap { width: clamp(220px, 40vw, 330px); margin-bottom: -34px; z-index: 2; }
  .cracked-wrap img { width: 100%; filter: drop-shadow(3px 6px 10px rgba(10,15,50,0.4)); transform: rotate(-3deg); }

  .fortune-slip {
    background: var(--slip); color: var(--slip-ink);
    box-shadow: 4px 6px 16px rgba(10,15,50,0.45);
    padding: 46px 38px 34px;
    width: 100%;
    transform: rotate(0.6deg);
    border-top: 4px solid var(--red);
    animation: slipin 0.5s ease-out;
  }
  @keyframes slipin {
    from { transform: translateY(24px) rotate(2deg); opacity: 0; }
    to   { transform: translateY(0) rotate(0.6deg); opacity: 1; }
  }
  .fortune-slip h2 { font-size: clamp(20px, 3vw, 28px); font-weight: normal; }
  .fortune-slip h2 .year { color: #a3841f; font-size: 0.75em; }
  .fortune-slip .desc { font-family: "Courier New", Courier, monospace; font-size: 14px; line-height: 1.65; margin-top: 16px; }
  .stream-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
  .stream-btn {
    font-family: "Courier New", Courier, monospace;
    font-size: 13px; text-decoration: none;
    color: var(--slip-ink) !important;
    background: #e9e2cd; padding: 9px 16px;
    border: 2px outset #d9cba6;
  }
  .stream-btn:active { border-style: inset; }
  .stream-btn .tri { color: var(--red); }

  .countdown {
    margin-top: 40px;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    background: var(--countdown-bg); color: #7dffa2;
    padding: 8px 18px; letter-spacing: 0.06em;
    border: 2px inset var(--panel-deep);
  }
  .scroll-cue { margin-top: 60px; font-family: "Courier New", Courier, monospace; font-size: 12px; opacity: 0.75; text-align: center; }

  /* ---------- about + post it ---------- */
  .about { display: flex; gap: 50px; max-width: 860px; width: 100%; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
  .about-panel {
    flex: 1 1 380px;
    border: var(--border-w) solid var(--border);
    background: var(--panel);
    color: var(--ink-panel);
    padding: 26px 28px;
    font-size: 17px; line-height: 1.7;
  }
  .about-title {
    font-family: var(--font-display);
    font-weight: bold;
    font-size: clamp(32px, 5vw, 44px);
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 28px;
  }
  .about-panel p + p, .about-panel .case + p { margin-top: 14px; }
  .about-panel .case { margin-top: 14px; }
  .about-panel .case .head { display: block; font-weight: bold; }
  .about-panel .case .item { display: block; padding-left: 1.15em; text-indent: -1.15em; margin-top: 5px; }
  .about-panel .paren { font-style: italic; }
  .about-panel .hl { color: var(--red); }
  .about-panel .signoff { font-style: italic; }
  .postit-col { flex: 0 1 300px; display: flex; flex-direction: column; gap: 34px; }
  .support-box {
    aspect-ratio: 1 / 1;
    background: #efe6a7;
    background-image: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(0,0,0,0.04) 100%);
    box-shadow: 4px 7px 16px rgba(10,15,50,0.4);
    transform: rotate(2deg);
    padding: 30px 24px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px;
    color: var(--slip-ink);
  }
  .support-box .scribble { width: 88%; height: auto; }
  .donate-btn {
    display: inline-block; margin-top: 4px;
    font-family: "Courier New", Courier, monospace; font-size: 14px;
    background: var(--gold); color: var(--slip-ink) !important; text-decoration: none;
    padding: 10px 22px; border: 2px outset #f4dd8a;
  }
  .donate-btn:active { border-style: inset; }

  .support-box.pink {
    background: #f5c8cf;
    background-image:
      repeating-linear-gradient(180deg,
        transparent 0px, transparent 27px,
        rgba(43,35,24,0.14) 27px, rgba(43,35,24,0.14) 28px),
      linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(0,0,0,0.04) 100%);
    transform: rotate(-1.6deg);
    padding: 26px 22px 20px;
    gap: 10px;
  }
  .support-box.pink form { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 10px; }
  .note-area {
    flex: 1; width: 100%;
    background: transparent; border: none; resize: none; outline: none;
    font-family: "Courier New", Courier, monospace; font-size: 14px; line-height: 28px;
    color: var(--slip-ink);
  }
  .note-area::placeholder { color: rgba(43,35,24,0.45); }
  .send-btn {
    align-self: flex-end;
    font-family: "Courier New", Courier, monospace; font-size: 12px; cursor: pointer;
    background: #fddde2; color: var(--slip-ink);
    border: 2px outset #f3bfc7; padding: 6px 14px;
  }
  .send-btn:active { border-style: inset; }
  .support-box.pink .thanks {
    display: none; flex: 1; align-items: center; justify-content: center;
    font-family: "Courier New", Courier, monospace; font-size: 16px; font-style: italic;
  }
  .support-box.pink.sent form { display: none; }
  .support-box.pink.sent .thanks { display: flex; }

  .footer { margin-top: 70px; text-align: center; font-family: "Courier New", Courier, monospace; font-size: 12px; opacity: 0.85; }
  .footer .counter {
    display: inline-block; margin-top: 8px;
    background: #000; color: #4dff4d; padding: 3px 8px; letter-spacing: 3px;
    font-weight: bold; border: 2px inset var(--panel-deep);
  }

  /* ---------- consent ---------- */
  .consent {
    position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
    background: var(--panel); border: var(--border-w) solid var(--border);
    outline: var(--border-w) solid var(--border); outline-offset: 2px;
    padding: 14px 20px; font-family: "Courier New", Courier, monospace; font-size: 13px;
    display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center;
    max-width: 92vw; z-index: var(--z-consent); color: var(--ink-panel);
  }
  .consent button, .bg-switch button {
    font-family: "Courier New", Courier, monospace; font-size: 12px;
    background: var(--btn); border: 2px outset var(--btn-edge); padding: 6px 14px;
    color: var(--btn-ink);
  }
  .consent button:active, .bg-switch button:active { border-style: inset; }

  /* ---------- temaväxlare ---------- */
  .bg-switch { gap: 8px; }
  .bg-switch {
    position: fixed; top: 12px; right: 12px; z-index: var(--z-interactive);
    font-family: "Courier New", Courier, monospace; font-size: 11px;
    background: var(--panel); border: var(--border-w) solid var(--border);
    padding: 6px 10px; display: flex; gap: 6px; align-items: center; color: var(--ink-panel);
  }
  .bg-switch button { font-size: 11px; padding: 3px 8px; }

  /* ---------- mobil ---------- */
  a, button, .package { touch-action: manipulation; -webkit-tap-highlight-color: transparent; } /* stoppar dubbelklicks-zoom */
  @media (max-width: 640px) {
    .view { padding: 30px 12px; }
    /* startvyn: innehållet börjar direkt under randomize-knapparna i stället för att centreras */
    #view-choice { justify-content: flex-start; padding-top: 92px; }
    /* about släpper kravet på egen hel skärm - rubriken kommer direkt efter startvyn */
    #view-about { min-height: auto; justify-content: flex-start; padding-top: 20px; padding-bottom: 60px; }
    .about-title { margin-bottom: 20px; }

    /* diptyken: 42+42+3 = 87vw + 24px kant = ryms med marginal */
    .choice-row { gap: 3vw; margin-top: 32px; flex-wrap: nowrap; }
    .package { width: 42vw; flex: 0 0 auto; }
    .label-slip {
      font-size: 11px; white-space: normal; text-align: center;
      max-width: 100%; padding: 6px 10px; line-height: 1.4;
    }

    .title-box { padding: 12px 14px; max-width: 90vw; }
    .site-title { font-size: 31px; } /* större rubrik i mindre ruta */
    .subtitle { font-size: 11px; }

    .bg-switch { top: 18px; right: 10px; padding: 4px 6px; font-size: 10px; gap: 4px; }
    .bg-switch button { font-size: 10px; padding: 2px 6px; }

    .pick-hint { font-size: 12px; margin-top: 30px; }

    .fortune-slip { padding: 34px 22px 26px; }
    .fortune-slip h2 { font-size: 19px; }
    .fortune-slip .desc { font-size: 13px; }
    .stream-row { flex-direction: column; }
    .stream-btn { width: 100%; text-align: center; }

    /* about: mindre text = rimlig hierarki mot resten */
    .about { gap: 30px; }
    .about-panel { font-size: 15px; line-height: 1.6; padding: 20px 18px; flex-basis: 100%; }

    /* post it-paret: samma storlek, centrerade, spiller aldrig */
    .postit-col { flex-basis: 100%; align-items: center; }
    .support-box { width: min(280px, 82vw); }

    .note-area { font-size: 16px; } /* under 16px auto-zoomar iOS in på fältet */
    .footer { font-size: 11px; }
    .consent { font-size: 12px; padding: 10px 14px; gap: 10px; }
  }
  .sr-status {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }

  /* ================================================================
     TEMASLUMP: WILDCARDS
     Portat från temaslump-wildcards-skiss.html (se HANDOFF-dokumentet
     för fullständig bakgrund). "Panel"-ytorna i produktionen som
     motsvarar skissens generiska .rig är: .title-box, .about-panel,
     .consent, .bg-switch - grupperade tillsammans nedan.
     ================================================================ */

  /* ---------- WILDCARD: SÖNDERFALL (statisk glitch) ---------- */
  .decay-overlay {
    position: fixed; inset: 0; z-index: var(--z-wildcard); pointer-events: none;
    display: none; opacity: 0; transition: opacity .35s ease; overflow: hidden;
  }
  .decay .decay-overlay { display: block; opacity: 1; }

  .decay-bg-layer { position: fixed; inset: 0; z-index: var(--z-wildcard-bg); display: none; pointer-events: none; }
  .decay .decay-bg-layer { display: block; }
  .glitch-bg {
    position: absolute; inset: 0; image-rendering: pixelated;
    background-repeat: repeat; opacity: .28; mix-blend-mode: multiply;
  }
  .glitch-bands { position: absolute; inset: 0; overflow: hidden; opacity: .4; }
  .glitch-band {
    position: absolute; left: -20px; right: -20px; image-rendering: pixelated;
    background-repeat: repeat; mix-blend-mode: multiply;
  }
  .note-stack { position: absolute; right: 5%; top: 8%; left: auto; }
  .note-copy {
    position: absolute; left: 0; top: 0; white-space: nowrap;
    background: #fdfaf0; color: #1a1a1a; border: 1px solid rgba(0,0,0,.3);
    font-family: "Courier New", monospace; font-size: 12px; padding: 5px 10px;
    box-shadow: 2px 2px 4px rgba(0,0,0,.3);
    transform: translate(calc(var(--i) * 12px), calc(var(--i) * 9px)) rotate(calc(var(--i) * -1.1deg));
  }
  /* randomize/reset ska alltid synas tydligt genom en wildcard, oavsett hur kaosigt det blir
     (.bg-switch har redan fast position + var(--z-interactive), satt tidigare i filen) */
  .decay .bg-switch button, .torch .bg-switch button {
    box-shadow: 0 0 0 3px var(--bg), 2px 2px 0 var(--panel-deep);
  }
  .torch .bg-switch button {
    box-shadow: 0 0 24px 8px rgba(255,236,160,.55), 2px 2px 0 var(--panel-deep);
  }

  .fake-dialogs { position: absolute; right: 5%; bottom: 6%; width: 220px; }
  .virus-popup {
    position: absolute; right: 0; bottom: 0; width: 200px;
    background: #e9e4d8; border: 1px solid #163b66; font-family: "Courier New", monospace;
    box-shadow: 3px 3px 0 rgba(0,0,0,.35);
    transform: translate(var(--jx,0px), calc(var(--i) * -27px)) rotate(var(--rot,0deg));
  }
  .dlg-close { pointer-events: auto; cursor: pointer; color: #fff; font: 11px/1 monospace; background: none; border: none; padding: 0 2px; }
  .dlg-titlebar { background: linear-gradient(180deg,#6fa8dc,#2e5fa3); color: #fff; font-size: 11px; padding: 4px 7px; display: flex; justify-content: space-between; align-items: center; }
  .dlg-body { display: flex; gap: 8px; padding: 10px; font-size: 10px; color: #222; align-items: center; line-height: 1.4; }
  .dlg-icon { font-size: 20px; }

  .decay-overlay .grain {
    position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  /* filter på #pageContent, ALDRIG på body - filter på en förälder skapar en ny
     containing block för position:fixed-barn. bg-switch/consent ligger utanför
     page-content och påverkas därför aldrig. */
  .decay #pageContent { filter: url(#decayWarp); }
  .decay .site-title, .decay .about-title { text-shadow: 2px 0 rgba(255,46,108,.6), -2px 0 rgba(41,173,255,.6); }
  @media (prefers-reduced-motion: reduce) {
    .decay #pageContent { filter: none; }
    .decay-overlay { transition: none; }
  }

  /* ---------- WILDCARD: 8-BIT ---------- */
  body.pixel { background: #14142b; color: #fff1e8; }
  .pixel .title-box, .pixel .about-panel, .pixel .consent, .pixel .bg-switch {
    background: #1f1f3d; border-color: #ff2e6c; box-shadow: inset 0 0 0 3px #29adff; color: #fff1e8;
  }
  .pixel .site-title, .pixel .about-title {
    background: none; -webkit-background-clip: initial; background-clip: initial;
    -webkit-text-stroke: 0; filter: none; color: #fff1e8;
  }
  .pixel .consent button, .pixel .bg-switch button {
    background: #29adff; color: #14142b; border-color: #fff1e8; box-shadow: 3px 3px 0 #ff2e6c;
    font-family: 'Press Start 2P', monospace; font-size: 9px; letter-spacing: .5px;
  }
  .pixel .countdown { background: #0b0b1c; color: #4dff4d; }

  /* ---------- WILDCARD: FICKLAMPA (grottläge) ---------- */
  .torch-overlay {
    position: fixed; inset: 0; z-index: var(--z-wildcard); pointer-events: none; display: none;
    background: radial-gradient(circle 200px at var(--tx,50%) var(--ty,50%),
      transparent 0%, transparent 58%, rgba(4,4,12,.97) 100%);
  }
  .torch .torch-overlay { display: block; }
  body.torch { background: #050510; color: #e7e7ff; }
  .torch .title-box, .torch .about-panel, .torch .consent, .torch .bg-switch {
    background: #12122a; border-color: #3a3a6a; box-shadow: inset 0 0 0 3px #08081a; color: #e7e7ff;
  }
  .torch .countdown { background: #08081a; color: #9fe870; }

  /* ---------- WILDCARD: UNDER YTAN ---------- */
  body.underwater { background: #2648e0; color: #eaf6ff; }
  .underwater .title-box, .underwater .about-panel, .underwater .consent, .underwater .bg-switch {
    background: #1a35b8; border-color: #0a1f6e; box-shadow: 4px 4px 0 #0a1f6e; color: #eaf6ff;
  }
  .underwater .consent button, .underwater .bg-switch button {
    background: #eaf6ff; color: #0a1f6e; border-color: #0a1f6e; box-shadow: 2px 2px 0 #0a1f6e;
  }
  .underwater .countdown { background: #0a1f6e; color: #9fe0ff; }

  .bubble-field { position: fixed; inset: 0; z-index: var(--z-wildcard); pointer-events: none; overflow: hidden; display: none; }
  .underwater .bubble-field { display: block; }
  .bubble {
    position: absolute; bottom: -24px; border-radius: 50%;
    background: transparent; border: 2px solid #eaf6ff;
    animation: bubbleUp linear forwards;
  }
  .bubble::after { content: ''; position: absolute; top: 2px; left: 2px; width: 3px; height: 3px; background: #eaf6ff; border-radius: 50%; }
  .sea-sprite { position: absolute; width: 26px; height: 34px; animation: seaDrift linear forwards; }
  .sea-sprite .sea-body {
    position: absolute; top: 0; left: 3px; width: 20px; height: 20px;
    background: #f4f4f4; clip-path: polygon(20% 0%, 80% 0%, 100% 60%, 50% 100%, 0% 60%);
  }
  .sea-sprite .sea-tail { position: absolute; bottom: 0; width: 3px; height: 12px; background: #f4f4f4; }
  .sea-sprite .t1 { left: 4px; } .sea-sprite .t2 { left: 11px; } .sea-sprite .t3 { left: 18px; }
  @keyframes seaDrift { from { transform: translateX(-40px); } to { transform: translateX(calc(100vw + 40px)); } }
  @keyframes bubbleUp { from { transform: translate(0,0); opacity: .85; } to { transform: translate(var(--drift,10px), -115vh); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) {
    .sea-sprite { animation: none; }
    .bubble { animation: none; opacity: .35; }
  }

  /* ---------- WILDCARD: INVERTERAD ---------- */
  .inverted #pageContent { filter: invert(1) hue-rotate(180deg); }
  /* medvetet beslut: consent-bannern ligger utanför #pageContent och inverteras INTE */
