/* Salongen – sammetsbiograf: bordeaux, mässing, elfenben. */

:root {
  --velvet-950: #120507;
  --velvet-900: #180809;
  --velvet-800: #1f0d10;
  --velvet-700: #2a1216;
  --velvet-600: #3a1a1f;
  --wine: #6e1f2a;
  --wine-bright: #8e2a37;
  --brass: #d9a55b;
  --brass-light: #f0c987;
  --brass-dark: #9c7238;
  --ivory: #f5e6cc;
  --ivory-dim: #cdb898;
  --muted: #a08870;
  --hairline: rgba(217, 165, 91, .28);
  --glow: rgba(240, 190, 110, .35);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --card-w: clamp(120px, 30vw, 172px);
  --tabs-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ivory);
  font: 400 16px/1.55 var(--sans);
  background-color: var(--velvet-800);
  background-image:
    radial-gradient(ellipse 55% 38% at -5% 0%, rgba(240, 170, 90, .17), transparent 70%),
    radial-gradient(ellipse 55% 38% at 105% 0%, rgba(240, 170, 90, .13), transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 115%, rgba(110, 31, 42, .55), transparent 70%),
    linear-gradient(180deg, #2b1116 0%, var(--velvet-800) 38%, var(--velvet-900) 100%);
  background-attachment: fixed;
  padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Filmkorn över allt – gör ytorna till tyg i stället för plast. */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--wine-bright); color: var(--ivory); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- ridån */

.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: none; }
.curtain.is-playing { display: block; }
.curtain__half {
  position: absolute; top: 0; bottom: 0; width: 51%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), transparent 18%, transparent 80%, rgba(0,0,0,.5)),
    repeating-linear-gradient(90deg, #4a0f19 0, #7a1c2a 18px, #5b1320 34px, #2c070d 52px, #4a0f19 64px);
  box-shadow: inset 0 -40px 60px rgba(0,0,0,.5);
}
.curtain__half--l { left: 0; transform-origin: left top; }
.curtain__half--r { right: 0; transform-origin: right top; }
.curtain.is-playing .curtain__half--l { animation: curtain-l 1.5s .35s var(--ease) forwards; }
.curtain.is-playing .curtain__half--r { animation: curtain-r 1.5s .35s var(--ease) forwards; }
@keyframes curtain-l { to { transform: translateX(-100%) scaleX(.6); } }
@keyframes curtain-r { to { transform: translateX(100%) scaleX(.6); } }

/* ---------------------------------------------------------------- toppen */

.masthead {
  position: relative;
  padding: calc(env(safe-area-inset-top) + 34px) var(--gutter) 22px;
  text-align: center;
}
.valance {
  position: absolute; inset: 0 0 auto; height: 22px;
  background:
    radial-gradient(ellipse 22px 12px at 22px 0, #6a1824 96%, transparent 100%) 0 0 / 44px 22px repeat-x,
    linear-gradient(#4a0f19, #4a0f19) 0 0 / 100% 8px no-repeat;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.45));
}
.valance::after {   /* mässingsfrans */
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass) 20%, var(--brass-light) 50%, var(--brass) 80%, transparent);
  opacity: .7;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; gap: 2px; }
.brand__kicker {
  font: 500 10.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--brass);
  display: flex; align-items: center; gap: 12px;
}
.brand__kicker::before, .brand__kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
@media (max-width: 440px) {
  .brand__kicker { letter-spacing: .2em; font-size: 9.5px; gap: 8px; }
  .brand__kicker::before, .brand__kicker::after { width: 12px; }
}
.brand__name {
  font: italic 400 clamp(44px, 11vw, 76px)/1 var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  letter-spacing: -.01em;
  padding: .06em .1em .1em;
  background: linear-gradient(176deg, #fff1d2 8%, var(--brass-light) 38%, var(--brass) 62%, #a8743a 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(240, 190, 110, .18);
}

.search {
  position: relative; margin: 18px auto 0; max-width: 620px;
  display: flex; align-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 5, 7, .75), rgba(42, 18, 22, .75));
  box-shadow:
    inset 0 0 0 1px var(--hairline),
    inset 0 2px 8px rgba(0,0,0,.55),
    0 0 0 4px rgba(18, 5, 7, .35),
    0 0 0 5px rgba(217, 165, 91, .14);
  transition: box-shadow .3s var(--ease);
}
.search:focus-within {
  box-shadow:
    inset 0 0 0 1px var(--brass),
    inset 0 2px 8px rgba(0,0,0,.55),
    0 0 0 4px rgba(18, 5, 7, .35),
    0 0 0 5px rgba(217, 165, 91, .35),
    0 0 36px -6px var(--glow);
}
.search__icon { width: 20px; height: 20px; margin-left: 20px; color: var(--brass); flex: none; }
.search input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  padding: 15px 12px 15px 12px;
  font: italic 400 18px/1.2 var(--serif); font-variation-settings: "opsz" 24, "SOFT" 100;
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear { border: 0; background: none; padding: 10px 16px 10px 8px; color: var(--ivory-dim); display: grid; }
.search__clear svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- vy och rubriker */

#view { outline: none; min-height: 50vh; }
.view { padding: 8px 0 24px; animation: fade-up .5s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

.kicker {
  margin: 0; font: 500 11px/1.2 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--brass);
  display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: "✦"; font-size: 9px; letter-spacing: 0; }
.display {
  margin: 4px 0 0; font: italic 400 clamp(28px, 6vw, 40px)/1.08 var(--serif);
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1; color: var(--ivory);
}
.lede { color: var(--ivory-dim); max-width: 56ch; margin: 10px 0 0; font-size: 15px; }
.pagehead { padding: 18px var(--gutter) 6px; }
.pagehead--center { text-align: center; }
.pagehead--center .kicker { justify-content: center; }
.pagehead--center .lede { margin-inline: auto; }

.rule {
  display: flex; align-items: center; gap: 14px; color: var(--brass); margin: 28px var(--gutter) 6px; opacity: .8;
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--hairline)); }
.rule::after { transform: scaleX(-1); }

/* ---------------------------------------------------------------- rader */

.row { margin-top: 30px; }
.row__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); }
.row__title { margin: 4px 0 0; font: italic 400 clamp(24px, 5vw, 32px)/1.1 var(--serif); font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; }
.row__nav { display: none; gap: 6px; }
@media (hover: hover) and (min-width: 760px) { .row__nav { display: flex; } }
.row__nav button {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: none; border: 1px solid var(--hairline); color: var(--brass);
  transition: border-color .2s, background .2s;
}
.row__nav button:hover { border-color: var(--brass); background: rgba(217, 165, 91, .08); }
.row__nav svg { width: 16px; height: 16px; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--card-w); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 16px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: start; }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--card-w), 1fr));
  gap: 26px 16px; padding: 16px var(--gutter);
}
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- kort */

.card { display: block; text-decoration: none; color: inherit; min-width: 0; }
.card__poster {
  position: relative; aspect-ratio: 2 / 3; border-radius: 5px; overflow: hidden;
  background: var(--velvet-700);
  box-shadow: 0 0 0 1px var(--hairline), 0 14px 26px -12px rgba(0,0,0,.85);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card__poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.card__poster img.is-loaded { opacity: 1; }
.card:hover .card__poster, .card:focus-visible .card__poster {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--brass), 0 0 30px -4px var(--glow), 0 18px 30px -12px rgba(0,0,0,.9);
}
.card:focus-visible { outline: none; }
.poster-fallback {
  position: absolute; inset: 6px; border: 1px solid var(--hairline); border-radius: 3px;
  display: grid; place-items: center; padding: 12px; text-align: center;
  font: italic 400 17px/1.15 var(--serif); font-variation-settings: "SOFT" 100;
  color: var(--brass-light);
  background: radial-gradient(ellipse at 50% 30%, var(--wine), var(--velvet-700) 75%);
}
.badge {
  position: absolute; left: 6px; top: 6px;
  font: 600 11px/1 var(--sans); letter-spacing: .04em;
  padding: 5px 7px 4px; border-radius: 3px;
  background: rgba(18, 5, 7, .82); color: var(--brass-light);
  box-shadow: inset 0 0 0 1px rgba(217, 165, 91, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge b { font-weight: 400; color: var(--ivory-dim); margin-right: 4px; letter-spacing: .08em; font-size: 9.5px; }
.badge:empty { display: none; }
.card__fav {
  position: absolute; right: 7px; top: 0; width: 22px; height: 30px;
  background: linear-gradient(var(--brass-light), var(--brass));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  display: none;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.6));
}
.card.is-fav .card__fav { display: block; }
.card__title {
  margin: 10px 0 0; font: 400 16px/1.2 var(--serif); font-variation-settings: "opsz" 18, "SOFT" 60;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta { margin: 3px 0 0; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.card__avail { display: flex; align-items: center; gap: 5px; margin-top: 7px; min-height: 20px; flex-wrap: wrap; }
.card__avail img { width: 20px; height: 20px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0,0,0,.4); }
.card__avail img.is-mine { box-shadow: 0 0 0 1.5px var(--brass-light), 0 0 8px var(--glow); }
.card__avail span { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.card__avail .yes { color: var(--brass-light); }

.skeleton .card__poster { animation: shimmer 1.6s infinite ease-in-out; }
.skeleton .card__title { height: 14px; width: 80%; border-radius: 3px; background: var(--velvet-700); }
@keyframes shimmer { 50% { opacity: .55; } }

/* ---------------------------------------------------------------- inbjudan / tomt läge */

.invite {
  margin: 18px var(--gutter) 0; padding: 22px 22px 20px; border-radius: 10px; text-align: center;
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(217, 165, 91, .16), transparent 70%),
    linear-gradient(180deg, rgba(110, 31, 42, .55), rgba(42, 18, 22, .6));
  box-shadow: inset 0 0 0 1px var(--hairline);
  position: relative;
}
.invite::before {   /* inre mässingsram */
  content: ""; position: absolute; inset: 6px; border-radius: 6px; border: 1px solid rgba(217, 165, 91, .14); pointer-events: none;
}
.invite .kicker { justify-content: center; }
.invite h2 { margin: 6px 0 4px; font: italic 400 26px/1.15 var(--serif); font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; }
.invite p { margin: 0 auto 16px; color: var(--ivory-dim); max-width: 44ch; font-size: 15px; }

.empty { text-align: center; padding: 50px var(--gutter) 30px; }
.empty__mark { font: italic 300 64px/1 var(--serif); color: var(--brass); opacity: .5; }
.empty h2 { font: italic 400 26px/1.2 var(--serif); font-variation-settings: "SOFT" 100; margin: 12px 0 6px; }
.empty p { color: var(--ivory-dim); margin: 0 auto; max-width: 40ch; }

/* ---------------------------------------------------------------- knappar */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px 12px; border-radius: 999px; border: 0; text-decoration: none;
  font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: #2a1406;
  background: linear-gradient(180deg, #f7d9a1 0%, var(--brass) 55%, #b98543 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.25), 0 6px 18px -6px rgba(217,165,91,.55);
  transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
}
.btn:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 26px -6px rgba(240,190,110,.7); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn--ghost {
  color: var(--brass-light); background: rgba(18, 5, 7, .35);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--brass); background: rgba(217,165,91,.08); filter: none; }
.btn--block { width: 100%; }
.more { display: flex; justify-content: center; padding: 8px var(--gutter) 10px; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.linkish:hover { color: var(--ivory); }

/* ---------------------------------------------------------------- utforska / programbladet */

.program {
  margin: 14px var(--gutter) 0; padding: 18px 0 16px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(18,5,7,.55), rgba(42,18,22,.45));
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.program > * + * { margin-top: 14px; }
.seg {
  display: flex; margin: 0 16px; padding: 4px; border-radius: 999px;
  background: rgba(18,5,7,.6); box-shadow: inset 0 0 0 1px rgba(217,165,91,.18);
}
.seg button {
  flex: 1; border: 0; background: none; padding: 9px 6px 8px; border-radius: 999px;
  font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim);
  transition: background .25s, color .25s;
}
.seg button[aria-pressed="true"] { background: linear-gradient(180deg, #f2cf8f, var(--brass)); color: #2a1406; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 0; padding: 8px 14px 7px; border-radius: 999px;
  font: italic 400 15px/1.1 var(--serif); font-variation-settings: "SOFT" 100;
  background: rgba(245,230,204,.05); color: var(--ivory-dim); box-shadow: inset 0 0 0 1px rgba(217,165,91,.2);
  transition: all .2s;
}
.chip:hover { color: var(--ivory); box-shadow: inset 0 0 0 1px var(--hairline); }
.chip[aria-pressed="true"] { color: var(--brass-light); background: rgba(217,165,91,.13); box-shadow: inset 0 0 0 1px var(--brass); }
.chip small { font: 500 11px var(--sans); color: var(--muted); margin-left: 4px; font-style: normal; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 18px; padding: 0 16px; align-items: end; }
.field { display: grid; gap: 6px; }
.field > span { font: 500 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.field output { font: italic 400 15px var(--serif); color: var(--ivory); margin-left: 6px; letter-spacing: 0; text-transform: none; }
select, .input, textarea {
  width: 100%; padding: 10px 12px; border-radius: 6px; border: 0;
  background: rgba(18,5,7,.7); box-shadow: inset 0 0 0 1px rgba(217,165,91,.22);
  font-size: 15px; color: var(--ivory);
}
select {
  -webkit-appearance: none; appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9a55b' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
select:focus, .input:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--brass), 0 0 18px -6px var(--glow); }
input[type="range"] { width: 100%; accent-color: var(--brass); height: 30px; background: none; }
.toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ivory-dim); padding: 6px 0; }
.toggle input { position: absolute; opacity: 0; }
.toggle i {
  width: 40px; height: 22px; border-radius: 999px; position: relative; flex: none;
  background: rgba(18,5,7,.8); box-shadow: inset 0 0 0 1px var(--hairline); transition: background .25s;
}
.toggle i::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ivory-dim); transition: transform .25s var(--ease), background .25s;
}
.toggle input:checked + i { background: rgba(217,165,91,.35); }
.toggle input:checked + i::after { transform: translateX(18px); background: var(--brass-light); }
.toggle input:focus-visible + i { outline: 2px solid var(--brass-light); outline-offset: 2px; }
.view > .seg { margin: 14px var(--gutter) 0; max-width: 560px; }
.view > .chips { padding: 14px var(--gutter) 0; }
.seg small { font-size: 10px; opacity: .7; margin-left: 3px; }
.result-note { padding: 14px var(--gutter) 0; color: var(--muted); font-size: 13px; letter-spacing: .04em; }

/* ---------------------------------------------------------------- tjänster */

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 16px var(--gutter); }
.service {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 0; text-align: left;
  background: rgba(18,5,7,.5); box-shadow: inset 0 0 0 1px rgba(217,165,91,.16);
  transition: box-shadow .2s, background .2s;
}
.service img { width: 40px; height: 40px; border-radius: 9px; flex: none; filter: saturate(.85); transition: filter .2s; }
.service span { font-size: 14px; line-height: 1.2; color: var(--ivory-dim); }
.service:hover { box-shadow: inset 0 0 0 1px var(--hairline); }
.service[aria-pressed="true"] { background: rgba(217,165,91,.12); box-shadow: inset 0 0 0 1px var(--brass), 0 0 22px -10px var(--glow); }
.service[aria-pressed="true"] span { color: var(--ivory); }
.service[aria-pressed="true"] img { filter: none; }
.service[aria-pressed="false"] img { opacity: .75; }
.subhead { padding: 18px var(--gutter) 0; }

/* ---------------------------------------------------------------- min lista – biljetter */

.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; padding: 16px var(--gutter); }
.ticket {
  --notch: radial-gradient(circle at 0 50%, transparent 10px, #000 10.5px);
  position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 0;
  text-decoration: none; color: inherit;
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(217,165,91,.10), transparent 60%),
    linear-gradient(135deg, #3b151b, #261014);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(217,165,91,.22), 0 16px 26px -16px rgba(0,0,0,.9);
  -webkit-mask: radial-gradient(circle at 84px 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 84px 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 84px 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 84px 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.ticket:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--brass), 0 18px 30px -16px rgba(0,0,0,.95); }
.ticket__stub { padding: 12px 0 12px 12px; border-right: 1.5px dashed rgba(217,165,91,.35); margin-right: 0; }
.ticket__stub img, .ticket__stub .poster-mini { width: 60px; aspect-ratio: 2/3; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--hairline); background: var(--velvet-700); }
.ticket__body { padding: 14px 16px 14px 18px; min-width: 0; }
.ticket__title { margin: 0; padding-right: 74px; font: italic 400 20px/1.15 var(--serif); font-variation-settings: "opsz" 36, "SOFT" 100, "WONK" 1; }
.ticket__meta { margin: 3px 0 0; font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.ticket__rating { margin: 8px 0 0; display: flex; align-items: center; gap: 7px; font: italic 400 15px/1 var(--serif); color: var(--brass-light); }
.ticket__rating svg { height: 18px; width: auto; }
.ticket__where { margin: 10px 0 0; font-size: 13px; display: flex; align-items: center; gap: 7px; color: var(--muted); min-height: 20px; }
.ticket__where img { width: 20px; height: 20px; border-radius: 5px; }
.ticket__where.yes { color: var(--brass-light); }
.ticket__where.free { color: var(--ivory); }
.stamp {
  position: absolute; right: 14px; top: 12px;
  font: 600 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  padding: 5px 7px 4px; border-radius: 3px; transform: rotate(4deg);
  color: var(--brass); box-shadow: inset 0 0 0 1.5px currentColor; opacity: .85;
}
.stamp--seen { color: #b9a58a; transform: rotate(-5deg); }

/* ---------------------------------------------------------------- titelbladet */

.sheet { position: fixed; inset: 0; z-index: 50; display: grid; align-items: end; justify-items: center; }
.sheet[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(10, 2, 4, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.sheet__panel {
  position: relative; width: 100%; max-width: 820px; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--velvet-800);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 1px var(--hairline), 0 -30px 80px -20px rgba(0,0,0,.9);
  animation: rise .45s var(--ease) both;
  outline: none;
  padding-bottom: env(safe-area-inset-bottom);
}
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 860px) {
  .sheet { align-items: center; padding: 3vh 0; }
  .sheet__panel { border-radius: 14px; max-height: 94vh; }
}
.sheet__close {
  position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 0; color: var(--ivory); background: rgba(18,5,7,.7); box-shadow: inset 0 0 0 1px var(--hairline);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.sheet__close svg { width: 18px; height: 18px; }
.sheet__close:hover { color: var(--brass-light); box-shadow: inset 0 0 0 1px var(--brass); }

.hero { position: relative; min-height: 200px; }
.hero__backdrop { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.hero__backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.8) sepia(.18); }
.hero__backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,13,16,.2) 0%, rgba(31,13,16,.55) 45%, var(--velvet-800) 100%),
              radial-gradient(ellipse at 50% 0%, transparent 40%, rgba(31,13,16,.6));
}
.hero__inner { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: end; padding: 110px 20px 4px; }
@media (min-width: 640px) { .hero__inner { grid-template-columns: 170px 1fr; padding: 150px 32px 4px; gap: 26px; } }
.hero__poster { border-radius: 6px; overflow: hidden; aspect-ratio: 2/3; background: var(--velvet-700); box-shadow: 0 0 0 1px var(--brass), 0 0 0 5px rgba(18,5,7,.6), 0 0 0 6px var(--hairline), 0 24px 40px -14px #000; position: relative; }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.hero__title { margin: 4px 0 0; font: italic 400 clamp(28px, 6vw, 46px)/1.02 var(--serif); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; text-wrap: balance; }
.hero__orig { margin: 6px 0 0; font: italic 300 15px var(--serif); color: var(--muted); }
.hero__meta { margin: 8px 0 0; font-size: 13px; letter-spacing: .06em; color: var(--ivory-dim); }

.sheet__content { padding: 18px 20px 30px; }
@media (min-width: 640px) { .sheet__content { padding: 22px 32px 40px; } }
.scores { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.score {
  display: flex; align-items: baseline; gap: 6px; padding: 8px 12px 7px; border-radius: 6px;
  background: rgba(18,5,7,.5); box-shadow: inset 0 0 0 1px rgba(217,165,91,.2);
}
.score b { font: 500 10px var(--sans); letter-spacing: .2em; color: var(--brass); text-transform: uppercase; }
.score strong { font: 400 22px/1 var(--serif); font-variation-settings: "opsz" 48; }
.score small { color: var(--muted); font-size: 12px; }
.tagline { margin: 20px 0 0; font: italic 400 19px/1.35 var(--serif); font-variation-settings: "SOFT" 100; color: var(--brass-light); }
.overview { margin: 10px 0 0; color: var(--ivory-dim); font-size: 15.5px; line-height: 1.65; max-width: 62ch; }
.credits-line { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.credits-line b { font-weight: 500; color: var(--ivory-dim); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.verdict {
  margin: 26px 0 0; padding: 16px 18px; border-radius: 10px; display: flex; gap: 14px; align-items: center;
  background: linear-gradient(135deg, rgba(110,31,42,.65), rgba(42,18,22,.6));
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.verdict.yes { background: linear-gradient(135deg, rgba(217,165,91,.28), rgba(110,31,42,.5)); box-shadow: inset 0 0 0 1px var(--brass), 0 0 40px -16px var(--glow); }
.verdict__mark { font: italic 400 34px/1 var(--serif); color: var(--brass-light); flex: none; width: 34px; text-align: center; }
.verdict p { margin: 0; font: 400 18px/1.3 var(--serif); font-variation-settings: "SOFT" 80; }
.verdict small { display: block; margin-top: 3px; font: 400 13px/1.4 var(--sans); color: var(--ivory-dim); }

.where { margin-top: 18px; display: grid; gap: 18px; }
.where__group h3 { margin: 0 0 10px; }
.providers { display: flex; flex-wrap: wrap; gap: 8px; }
.provider {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 10px;
  background: rgba(18,5,7,.45); box-shadow: inset 0 0 0 1px rgba(217,165,91,.15); font-size: 14px;
}
.provider img { width: 34px; height: 34px; border-radius: 8px; }
.provider.is-mine { box-shadow: inset 0 0 0 1px var(--brass); background: rgba(217,165,91,.1); }
.provider.is-mine em { display: block; font: 500 9.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); font-style: normal; margin-top: 3px; }
.where__link { margin-top: 4px; font-size: 13px; color: var(--muted); }
.where__link a { color: var(--brass-light); text-underline-offset: 3px; }

.trailer { margin-top: 16px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--hairline); background: #000; }
.trailer iframe { width: 100%; height: 100%; border: 0; display: block; }

.favbox {
  margin-top: 28px; padding: 20px; border-radius: 12px; position: relative;
  background: linear-gradient(160deg, #3b151b, #241013);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.favbox::before { content: ""; position: absolute; inset: 6px; border-radius: 8px; border: 1px dashed rgba(217,165,91,.18); pointer-events: none; }
.favbox h3 { margin: 4px 0 14px; font: italic 400 22px/1.2 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.field-label { margin: 0 0 8px; font: 500 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.rate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rate button {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border: 0; border-radius: 10px;
  background: rgba(18,5,7,.5); box-shadow: inset 0 0 0 1px rgba(217,165,91,.18); color: var(--ivory-dim);
  font-size: 13px; transition: all .2s var(--ease);
}
.rate svg { height: 26px; width: auto; transition: transform .25s var(--ease); }
.rate button:hover { color: var(--ivory); box-shadow: inset 0 0 0 1px var(--hairline); }
.rate button:hover svg { transform: translateY(-2px); }
.rate button[aria-pressed="true"] { color: var(--brass-light); background: rgba(217,165,91,.13); box-shadow: inset 0 0 0 1px var(--brass), 0 0 24px -10px var(--glow); }
.rate button[aria-pressed="true"] svg { fill: rgba(240,201,135,.25); }
.favbox .seg { margin: 0 0 14px; }
.favbox textarea { min-height: 70px; resize: vertical; font: italic 300 16px/1.45 var(--serif); }
.favbox__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12px; color: var(--muted); }
.saved { color: var(--brass); opacity: 0; transition: opacity .3s; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.saved.is-on { opacity: 1; }

.similar { margin: 34px -20px 0; }
@media (min-width: 640px) { .similar { margin-inline: -32px; } }
.similar .row__head { padding-inline: 20px; }
.similar .strip { --gutter: 20px; --card-w: 120px; }

/* ---------------------------------------------------------------- navigering i botten */

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: linear-gradient(180deg, rgba(31,13,16,.86), rgba(18,5,7,.96));
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 -1px 0 var(--hairline), 0 -20px 40px -10px rgba(0,0,0,.6);
}
.tabs a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-decoration: none; color: var(--muted);
  font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: color .25s;
}
.tabs svg { width: 26px; height: 26px; stroke-width: 1.4; }
.tabs a:hover { color: var(--ivory-dim); }
.tabs a[aria-current="page"] { color: var(--brass-light); }
.tabs a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 0 0 2px 2px;
  background: var(--brass-light); box-shadow: 0 0 14px 2px var(--glow);
}
.tabs__count {
  position: absolute; top: 8px; left: calc(50% + 8px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  font: 600 10px/17px var(--sans); letter-spacing: 0; text-align: center; color: #2a1406; background: var(--brass);
}

@media (min-width: 900px) {
  /* På stor skärm flyttar menyn upp under rubriken. */
  body { padding-bottom: 0; }
  .tabs {
    position: sticky; top: 0; bottom: auto; height: 56px; padding: 0;
    grid-template-columns: repeat(4, auto); justify-content: center; gap: 8px;
    background: rgba(24, 8, 9, .82);
    box-shadow: 0 1px 0 var(--hairline), 0 10px 30px -14px rgba(0,0,0,.7);
  }
  .tabs a { flex-direction: row; gap: 10px; padding: 0 22px; font-size: 11px; }
  .tabs svg { width: 22px; height: 22px; }
  .tabs a[aria-current="page"]::before { top: auto; bottom: 0; left: 22px; right: 22px; border-radius: 2px 2px 0 0; }
  .tabs__count { position: static; margin-left: -2px; }
}

/* ---------------------------------------------------------------- om / integritet */

.prose__body { max-width: 640px; margin: 0 auto; padding: 8px var(--gutter) 20px; color: var(--ivory-dim); font-size: 16px; line-height: 1.7; }
.prose__body h2 { margin: 34px 0 8px; font: italic 400 24px/1.2 var(--serif); font-variation-settings: "opsz" 48, "SOFT" 100, "WONK" 1; color: var(--ivory); }
.prose__body a { color: var(--brass-light); text-underline-offset: 3px; }
.prose__body .btn { color: var(--brass-light); }
.attribution img { display: block; margin: 4px 0 10px; height: 21px; width: auto; }

/* ---------------------------------------------------------------- sidfot, toast */

.credits { padding: 30px var(--gutter) 40px; text-align: center; font-size: 12px; color: var(--muted); max-width: 680px; margin: 0 auto; }
.credits p { margin: 6px 0; }
.credits a { color: var(--ivory-dim); }
.credits__links { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 14px !important; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.credits__links a { text-decoration: none; color: var(--brass); }
.credits__links a:hover { color: var(--brass-light); }
.credits__links span { font-size: 8px; color: var(--brass-dark); }
.ornament { color: var(--brass); font-size: 14px; opacity: .7; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 16px); z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 11px 18px; border-radius: 999px; font-size: 14px; white-space: nowrap;
  background: var(--velvet-950); color: var(--ivory); box-shadow: inset 0 0 0 1px var(--brass), 0 12px 30px -10px #000;
  transition: all .35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 28px; } }

.error { margin: 20px var(--gutter); padding: 14px 16px; border-radius: 8px; color: var(--ivory-dim); box-shadow: inset 0 0 0 1px rgba(142,42,55,.8); background: rgba(110,31,42,.3); }

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