:root {
  color-scheme: dark;
  font-family: "Nunito", sans-serif;
  color: #fff7e8;
  background: #0b1734;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #fff7e8;
  background:
    radial-gradient(ellipse at 50% 5%, #345594 0, transparent 40rem),
    radial-gradient(ellipse at 8% 44%, #173d69 0, transparent 35rem),
    linear-gradient(180deg, #101d42 0%, #142750 52%, #0b1734 100%);
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .35;
  background:
    radial-gradient(1px 1px at 8% 18%, #fff8df 99%, transparent),
    radial-gradient(1.5px 1.5px at 82% 13%, #ffe6aa 99%, transparent),
    radial-gradient(1px 1px at 67% 31%, #fff 99%, transparent),
    radial-gradient(1px 1px at 24% 38%, #fff 99%, transparent),
    radial-gradient(1px 1px at 91% 47%, #fff2cc 99%, transparent),
    radial-gradient(1.5px 1.5px at 13% 71%, #fff 99%, transparent),
    radial-gradient(1px 1px at 76% 82%, #fff2cc 99%, transparent);
}

.page-header, main { position: relative; z-index: 1; }
.page-header { padding: 22px 24px 14px; text-align: center; }
.home-link {
  position: absolute;
  top: 22px;
  left: max(24px, calc((100vw - 1500px) / 2));
  color: #fbe6b7;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
}
.home-link span { color: #ffd879; }
.home-link:hover, .home-link:focus-visible { text-decoration: underline; }
.language-picker {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: max(24px, calc((100vw - 1500px) / 2));
}
.language-picker select {
  min-height: 40px;
  max-width: 150px;
  padding: 6px 30px 6px 11px;
  border: 1px solid #e8c974;
  border-radius: 12px;
  color: #fff3d4;
  background: #10234aeb;
  font: 700 .88rem "Nunito", sans-serif;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.home-link:focus-visible, button:focus-visible, a:focus-visible, .scene-scroll:focus-visible {
  outline: 3px solid #fff0ae;
  outline-offset: 4px;
}

.heading { max-width: 820px; margin: 0 auto; padding-top: 20px; }
.eyebrow {
  color: #ffe7a2;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
h1 {
  margin: 8px 0 12px;
  font: 800 clamp(2.4rem, 6vw, 4.65rem)/.97 "Baloo 2", sans-serif;
  text-shadow: 0 4px 20px #07132b, 0 1px 0 #806748;
}
h1 span:not(.heading-title-prefix) { display: block; color: #ffda7c; }
h1 .heading-title-prefix { display: inline; color: inherit; }
.hero-ribbon {
  display: inline-block;
  margin: 0 auto;
  padding: 5px 30px 7px;
  border: 1px solid #ffefb0;
  border-radius: 6px 6px 16px 16px;
  color: #26345a;
  background: linear-gradient(180deg, #ffe9a7, #eeb95f);
  box-shadow: 0 3px 15px #f4c86b55, inset 0 1px #fff5d4;
  font: 800 clamp(1.05rem, 2.4vw, 1.42rem)/1.2 "Baloo 2", sans-serif;
}

.bonus-story {
  display: grid;
  width: min(calc(100% - 32px), 980px);
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  margin: 8px auto clamp(18px, 2.4vw, 28px);
  padding: 14px clamp(14px, 2.2vw, 24px);
  overflow: hidden;
  border: 1px solid #e8c874;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 9% 50%, #f5cf7540, transparent 38%),
    linear-gradient(115deg, #1a315c, #12244a 72%);
  box-shadow: 0 10px 28px #050d2570, 0 0 24px #f0c66716, inset 0 1px #fff0b52a;
}
.bonus-story-art {
  position: relative;
  display: grid;
  min-width: 0;
  height: 164px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #f4d98d8c;
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 42%, #f5cf754a, transparent 70%),
    #0d1d3d;
}
.bonus-story-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px #030a1c88);
}
.bonus-story-art img[hidden] { display: none; }
.bonus-story-sparkle {
  position: absolute;
  top: 8px;
  right: 12px;
  color: #ffe7a2;
  font-size: 1.1rem;
  text-shadow: 0 0 12px #ffd879b0;
  pointer-events: none;
}
.bonus-story-art p {
  margin: 0;
  padding: 12px;
  color: #dce5f6;
  text-align: center;
  font-size: .82rem;
}
.bonus-story-art.is-loaded p { display: none; }
.bonus-story-copy { min-width: 0; }
.bonus-story-eyebrow {
  margin: 0 0 2px;
  color: #ffe7a2;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.bonus-story h2 {
  margin: 0 0 2px;
  color: #ffda7c;
  font: 800 clamp(1.65rem, 3.2vw, 2.2rem)/1.05 "Baloo 2", sans-serif;
  text-shadow: 0 2px 12px #06132f;
}
.bonus-story-description {
  max-width: 650px;
  margin: 0 0 10px;
  color: #edf0f8;
  font-size: .94rem;
  line-height: 1.42;
}
.bonus-story-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid #fff0ad;
  border-radius: 999px;
  color: #29345a;
  background: linear-gradient(180deg, #ffe89c, #eeb446);
  box-shadow: 0 4px 14px #f0bb5470, inset 0 1px #fff7d5;
  font-weight: 800;
  text-decoration: none;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}
.bonus-story-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 6px 18px #f0bb547c;
}
.bonus-story-free {
  margin: 5px 0 0;
  color: #d9e3f5;
  font-size: .77rem;
  line-height: 1.3;
}
.bonus-story-language-note, .character-audio-note {
  margin: 0 0 8px;
  color: #ffe7a2;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
}
.character-audio-note { margin: 0 0 14px; text-align: center; }

.calendar-section { width: min(100% - 32px, 1220px); margin: 0 auto; }
.calendar-panel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(8px, 1.6vw, 16px);
  border: 1px solid #f7d47c;
  border-radius: clamp(18px, 3vw, 30px);
  background: linear-gradient(135deg, #edc46f, #9a652e 22%, #f6db92 52%, #8b5a2a);
  box-shadow: 0 14px 42px #050d25a8, 0 0 30px #f0c66725;
}
.expand-calendar {
  position: absolute;
  z-index: 5;
  top: clamp(10px, 1.4vw, 18px);
  right: clamp(10px, 1.4vw, 18px);
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid #e8c974;
  border-radius: 12px;
  color: #fff3d4;
  background: #10234aeb;
  box-shadow: inset 0 0 0 1px #f4d98824;
  cursor: pointer;
  font: 800 .92rem "Nunito", sans-serif;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.expand-calendar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.expand-calendar:hover { transform: translateY(-1px); background: #1b3764f2; box-shadow: 0 0 0 3px #e8ac4c55; }
.expand-calendar:focus-visible { outline: 3px solid #fff0ae; outline-offset: 3px; }
.calendar-panel.is-exploring .expand-calendar { display: none; }
.scene-scroll {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 12px;
  direction: ltr;
  border: 1px solid #fff0b8;
  border-radius: clamp(13px, 2.5vw, 23px);
  background:
    radial-gradient(ellipse at 50% 0, #9ec7e33b, transparent 54%),
    #10234a;
  scrollbar-color: #d6b76f #102045;
}
.scene {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-width: 1160px;
  min-width: 0;
  aspect-ratio: 1672 / 941;
  margin: auto;
  overflow: hidden;
  border: 2px solid #ffdd88;
  border-radius: clamp(12px, 2.2vw, 24px);
  box-shadow: 0 10px 32px #040b1eaa, inset 0 0 0 1px #fff0b766;
}
.scene-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.doors { position: absolute; inset: 0; }
.door {
  --door-width: 5.625%;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--door-width);
  aspect-ratio: 1086 / 1448;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 420px;
  filter: drop-shadow(0 5px 4px #0a153aaa);
  container-type: inline-size;
  -webkit-tap-highlight-color: transparent;
}
.door--grand { --door-width: 7.875%; }
.door:focus-visible { outline: 3px solid #fff2ad; outline-offset: 3px; border-radius: 12px; }
.door-art, .door-light, .door-leaf { position: absolute; left: 17.22%; top: 26.10%; width: 62.89%; height: 57.32%; }
.door-art { z-index: 0; overflow: hidden; border-radius: 4%; }
.door-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.door-light {
  z-index: 1;
  border-radius: 4%;
  background: radial-gradient(ellipse at center, #ffe5a699 0, #edb85e55 52%, transparent 85%);
  opacity: 0;
  transition: opacity .8s ease;
}
.door-leaf {
  z-index: 2;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.2,.68,.13,1);
}
.door-leaf img { display: block; width: 100%; height: 100%; }
.door-frame { position: absolute; z-index: 3; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.door-plaque {
  position: absolute;
  z-index: 4;
  top: 5%;
  left: 50%;
  display: grid;
  width: 40%;
  height: 18%;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid #ffe7a2;
  border-radius: 999px;
  color: #ffe6a0;
  background: linear-gradient(#8e2923, #581616);
  box-shadow: inset 0 0 0 1px #b87937, 0 1px 3px #2c0809;
  font: 800 22cqw/.9 "Baloo 2", sans-serif;
  text-shadow: 0 1px 1px #4c1410;
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease .2s;
}
.door-number {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff6d4;
  font: 800 40cqw/1 "Baloo 2", sans-serif;
  text-shadow: 0 2px 2px #3d1523, 0 0 9px #ffcc64;
  -webkit-text-stroke: .04em #7a3225;
  backface-visibility: hidden;
}
.door--grand .door-number { font-size: 36cqw; }
.door--grand .door-plaque { font-size: 20cqw; }
.door[data-state="locked"] .door-leaf { filter: saturate(.72) brightness(.84); }
.door[data-state="available"] .door-light { opacity: .5; }
.door[data-state="available"] .door-frame { animation: door-glow 2.4s ease-in-out infinite; }
.door[data-state="opened"] .door-leaf { transform: rotateY(-110deg); }
.door[data-state="opened"] .door-plaque { opacity: 1; }
.door[data-state="opened"] .door-light { opacity: 0; }
.door:hover .door-leaf { filter: brightness(1.13); }
@keyframes door-glow { 50% { filter: drop-shadow(0 0 8px #ffe598); } }

.calendar-facts {
  display: flex;
  max-width: 850px;
  justify-content: space-between;
  gap: 20px;
  margin: 20px auto 0;
  padding: 0;
  list-style: none;
}
.calendar-facts li { display: flex; min-width: 0; align-items: center; gap: 12px; }
.calendar-facts li + li { padding-left: 22px; border-left: 1px solid #dfbf716b; }
.fact-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #ffd66f;
  font: 700 2rem/1 "Baloo 2", sans-serif;
  text-align: center;
  text-shadow: 0 0 12px #f8c64b70;
}
.fact-icon svg { display: block; width: 26px; height: 26px; }
.fact-calendar {
  border: 2px solid #ffd66f;
  border-radius: 5px;
  font-size: .95rem;
}
.preview-badge {
  display: inline-block;
  margin: 9px auto 0;
  color: #d9e2f5;
  text-align: center;
  font-size: .78rem;
}
.preview-badge[hidden] { display: none; }

.message {
  position: absolute;
  z-index: 7;
  right: auto;
  bottom: 16px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 32px), 540px);
  min-height: 68px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  transform: translateX(-50%);
  border: 1px solid #e2c36d;
  border-radius: 16px;
  background: #10234aeb;
  box-shadow: 0 8px 24px #050d25b8, inset 0 1px #fff3cf1c;
  backdrop-filter: blur(8px);
  pointer-events: none;
  animation: message-in .2s ease-out;
}
.message[hidden] { display: none; }
.message-icon { flex: 0 0 auto; color: #ffe39d; font-size: 1.5rem; }
.message-copy { min-width: 0; flex: 1; }
.message h2 { margin: 0 0 2px; color: #ffdf9b; font: 700 1.15rem/1.2 "Baloo 2", sans-serif; }
.message p { margin: 0; font-size: .92rem; line-height: 1.35; }
.message-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e2c36d88;
  border-radius: 50%;
  color: #fff3d4;
  background: #203961;
  cursor: pointer;
  font: 700 1.35rem/1 "Nunito", sans-serif;
  pointer-events: auto;
}
.message-close:hover { background: #31517c; }
@keyframes message-in {
  from { opacity: 0; transform: translate(-50%, 7px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.app-promo {
  display: flex;
  width: min(100% - 32px, 920px);
  align-items: center;
  gap: clamp(20px, 4vw, 36px);
  margin: 0 auto 56px;
  padding: 20px clamp(20px, 4vw, 36px);
  border: 1px solid #e5c779;
  border-radius: 22px;
  background: linear-gradient(120deg, #192e58, #12234a);
  box-shadow: 0 12px 32px #050d2580, inset 0 0 24px #e4c46c0d;
}
.app-promo-icon { flex: 0 0 auto; width: clamp(76px, 10vw, 104px); height: auto; border: 2px solid #eacb7b; border-radius: 22%; box-shadow: 0 7px 18px #08122c80; }
.app-promo-copy { min-width: 0; flex: 1; }
.app-promo h2 { margin: 0 0 4px; color: #ffe3a0; font: 800 clamp(1.45rem, 2.6vw, 1.9rem)/1.15 "Baloo 2", sans-serif; }
.app-promo-copy p { margin: 0; color: #e4e9f6; line-height: 1.5; }
.app-promo-button {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid #fff0ad;
  border-radius: 999px;
  color: #29345a;
  background: linear-gradient(180deg, #ffe89c, #eeb446);
  box-shadow: 0 4px 14px #f0bb5470;
  font-weight: 800;
  text-decoration: none;
}
.app-promo-button:hover { filter: brightness(1.08); }

.explorer-toolbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 12px; }
.explorer-toolbar[hidden] { display: none; }
.explorer-toolbar p { margin: 0; color: #ffe3a0; font: 700 1.2rem "Baloo 2", sans-serif; }
.explorer-actions { display: flex; align-items: center; gap: 8px; }
.explorer-actions button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #d9bd78;
  border-radius: 12px;
  color: #fff2ce;
  background: #203961;
  cursor: pointer;
  font: 800 1.3rem/1 "Nunito", sans-serif;
}
.explorer-actions button:disabled { opacity: .45; cursor: default; }
.explorer-actions .close-explorer { display: inline-flex; min-width: 90px; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; font-size: .95rem; }
.close-explorer span { font-size: 1.5rem; line-height: .8; }

.calendar-panel.is-exploring {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: flex;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 50% 35%, #254578, transparent 65%),
    #08152f;
  overflow: hidden;
}
.calendar-panel.is-exploring .explorer-toolbar { min-height: 48px; }
.calendar-panel.is-exploring .scene-scroll {
  min-height: 0;
  flex: 1;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: auto;
  padding: 12px;
  touch-action: pan-x pan-y;
}
.calendar-panel.is-exploring .scene { max-width: none; margin: auto; }
@media (max-width: 700px) {
  .page-header { padding: 54px 18px 14px; }
  .home-link { top: 16px; left: 18px; }
  .language-picker { top: 9px; right: 12px; }
  .language-picker select { min-height: 38px; max-width: 138px; }
  .heading { padding-top: 0; }
  .eyebrow { font-size: .68rem; letter-spacing: .18em; }
  h1 { font-size: clamp(2.3rem, 10vw, 3.5rem); }
  .bonus-story {
    width: calc(100% - 24px);
    grid-template-columns: minmax(82px, 29%) minmax(0, 1fr);
    gap: 12px;
    margin: 6px auto 18px;
    padding: 10px;
    border-radius: 16px;
  }

  [dir="rtl"] .home-link { right: max(24px, calc((100vw - 1500px) / 2)); left: auto; }
  [dir="rtl"] .language-picker { right: auto; left: max(24px, calc((100vw - 1500px) / 2)); }
  [dir="rtl"] .expand-calendar { right: auto; left: clamp(10px, 1.4vw, 18px); }
  [dir="rtl"] .calendar-facts li + li { padding-right: 22px; padding-left: 0; border-right: 1px solid #dfbf716b; border-left: 0; }
  @media (max-width: 700px) {
    [dir="rtl"] .home-link { right: 18px; left: auto; }
    [dir="rtl"] .language-picker { right: auto; left: 12px; }
    [dir="rtl"] .calendar-facts li + li { padding-right: 0; border-right: 0; }
  }
  .bonus-story-art { height: 138px; border-radius: 12px; }
  .bonus-story-art p { padding: 7px; font-size: .72rem; }
  .bonus-story-eyebrow { font-size: .59rem; letter-spacing: .1em; }
  .bonus-story h2 { margin-bottom: 3px; font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .bonus-story-description { margin-bottom: 8px; font-size: .84rem; line-height: 1.35; }
  .bonus-story-button { min-height: 42px; gap: 7px; padding: 8px 11px; font-size: .84rem; }
  .bonus-story-free { font-size: .69rem; }
  .calendar-section { width: calc(100% - 24px); }
  .calendar-panel { padding: 7px; }
  .scene-scroll { padding: 6px; }
  .expand-calendar { top: 9px; right: 9px; }
  .calendar-facts { display: grid; width: fit-content; max-width: 100%; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .calendar-facts li { width: 100%; gap: 10px; font-size: .9rem; line-height: 1.35; }
  .calendar-facts li + li { padding-left: 0; border-left: 0; }
  .fact-icon { flex-basis: 36px; font-size: 1.7rem; }
  .fact-calendar { font-size: .85rem; }
  .message { bottom: 10px; width: calc(100% - 20px); gap: 9px; padding: 9px; }
  .message h2 { font-size: 1.05rem; }
  .message p { font-size: .86rem; }
  .message-close { width: 34px; height: 34px; }
  .app-promo { width: calc(100% - 24px); gap: 16px; margin-bottom: 32px; padding: 16px; }
  .app-promo-icon { width: 72px; }
  .app-promo-button { min-height: 44px; padding: 9px 14px; font-size: .9rem; }
  .calendar-panel.is-exploring { padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
  .calendar-panel.is-exploring .scene-scroll { padding: 7px; }
}

@media (max-width: 480px) {
  .bonus-story { grid-template-columns: minmax(72px, 27%) minmax(0, 1fr); gap: 10px; }
  .bonus-story-art { height: 132px; }
  .bonus-story-eyebrow { letter-spacing: .07em; }
  .bonus-story-description { font-size: .8rem; }
  .bonus-story-button { padding-inline: 9px; font-size: .79rem; }
}

@media (max-width: 480px) {
  .app-promo { flex-wrap: wrap; }
  .app-promo-copy { flex-basis: calc(100% - 92px); }
  .app-promo-button { width: 100%; }
  .explorer-toolbar { flex-wrap: wrap; }
  .explorer-toolbar p { width: 100%; font-size: 1rem; }
  .explorer-actions { margin-left: auto; }
  .explorer-actions { gap: 5px; }
  .explorer-actions button { min-width: 42px; min-height: 42px; }
}

@media (max-width: 360px) {
  .bonus-story { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding: 9px; }
  .bonus-story-art { height: 126px; }
  .bonus-story-description { font-size: .77rem; }
  .bonus-story-button { gap: 5px; padding-inline: 7px; font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .door-leaf, .door-light, .door-plaque, .expand-calendar { transition: none; }
  .message { animation: none; }
  .door-frame { animation: none !important; }
}

/* Nedräkning till första luckan. */
.jul-countdown {
  margin: 12px auto 0;
  color: #ffe29b;
  font: 800 clamp(1rem, 2.2vw, 1.25rem)/1.3 "Baloo 2", sans-serif;
  letter-spacing: .01em;
  text-shadow: 0 2px 12px #0b173499;
}
.jul-countdown::before { content: "❄ "; color: #dff1ff; }
.jul-countdown::after { content: " ❄"; color: #dff1ff; }
.jul-countdown[hidden] { display: none; }

/* "Lyssna nu" i meddelandet när en lucka öppnas. */
.message-action {
  display: inline-flex;
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 18px;
  align-items: center;
  gap: 8px;
  border: 1px solid #fff0ad;
  border-radius: 999px;
  color: #29345a;
  background: linear-gradient(180deg, #ffe89c, #eeb446);
  box-shadow: 0 4px 14px #f0bb5470, inset 0 1px #fff7d5;
  font-weight: 800;
  text-decoration: none;
  pointer-events: auto;
}
.message-action[hidden] { display: none; }
.message-action:focus-visible { outline: 3px solid #fff3cf; outline-offset: 3px; }

/* Prologen: större bild, och på mobil ligger bilden överst. */
.bonus-story {
  grid-template-columns: minmax(200px, 290px) minmax(0, 1fr);
}
.bonus-story-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}
.bonus-story-meta {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 3px 11px;
  align-items: center;
  gap: 6px;
  border: 1px solid #e8c87488;
  border-radius: 999px;
  color: #ffe9b8;
  background: #0b173466;
  font-size: .85rem;
  font-weight: 700;
}
@media (max-width: 700px) {
  .bonus-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }
  .bonus-story-art {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .bonus-story-art img { object-fit: cover; filter: none; }
  .bonus-story-description { font-size: .9rem; }
  .bonus-story-button { width: 100%; font-size: .9rem; }
}

/* Karaktärerna: jämna rader (4 eller 2 kolumner) och sidans rundade typsnitt. */
@media (max-width: 899px) {
  .saga-character-section--winter .scc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .saga-character-section--winter .scc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.saga-character-section--winter .scc-card-title,
.saga-character-section--winter .scc-dialog-copy h2 {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 800;
}

/* Appreklamen: tydligt att appen finns för iPhone och iPad. */
.app-promo-action {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.app-promo-platforms {
  margin: 0;
  color: #e4e9f6;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .app-promo-action { width: 100%; }
}

/* Dela julkalendern: diskret knapp under nedräkningen. */
.jul-share {
  display: flex;
  margin-top: 12px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.jul-share-button {
  display: inline-flex;
  min-height: 40px;
  padding: 7px 16px;
  align-items: center;
  gap: 7px;
  border: 1px solid #e8c874aa;
  border-radius: 999px;
  color: #ffe9b8;
  background: #0b173466;
  cursor: pointer;
  font: 700 .92rem/1 "Nunito", sans-serif;
}
.jul-share-button:hover { background: #142750; }
.jul-share-button:focus-visible { outline: 3px solid #fff3cf; outline-offset: 3px; }
.jul-share-status {
  margin: 0;
  color: #ffe29b;
  font-size: .85rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.jul-share-status[hidden] { display: none; }

/* Luckan som en delad länk pekar på lyser till en stund. */
.door--linked .door-frame { animation: door-linked-glow 1.2s ease-in-out 4; }
@keyframes door-linked-glow {
  50% { filter: drop-shadow(0 0 14px #ffe598) drop-shadow(0 0 4px #fff7d5); }
}
@media (prefers-reduced-motion: reduce) {
  .door--linked .door-frame { animation: none; filter: drop-shadow(0 0 10px #ffe598); }
}

/* Vanliga frågor längst ner – fast text som även sökmotorer läser. */
.jul-faq {
  width: min(100% - 32px, 920px);
  margin: 0 auto 56px;
}
.jul-faq h2 { margin: 0 0 14px; color: #ffe3a0; font: 800 clamp(1.45rem, 2.6vw, 1.9rem)/1.15 "Baloo 2", sans-serif; text-align: center; }
.jul-faq-item {
  margin: 0 0 10px;
  border: 1px solid #e5c77966;
  border-radius: 16px;
  background: #12234acc;
}
.jul-faq-item summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  color: #fff3d1;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.jul-faq-item summary::-webkit-details-marker { display: none; }
.jul-faq-item summary::after { flex: 0 0 auto; color: #f5d477; font-size: 1.4rem; content: "+"; }
.jul-faq-item[open] summary::after { content: "−"; }
.jul-faq-item summary:focus-visible { outline: 3px solid #f5d477; outline-offset: 2px; border-radius: 16px; }
.jul-faq-item p { margin: 0; padding: 0 18px 16px; color: #e4e9f6; line-height: 1.55; }
