/* =====================================================================
   EA VINTAGE — Kollektionsseiten: Drop, Archiv + Drop-Gate
   Nur Tokens aus tokens.css → Hell/Dunkel läuft automatisch.
   Aufbau (später Shopify-Sections):
     1  Info-Slider            (section: announcement-slider)
     2  Kopfbereich + Umschalter Drop/Archiv (section: collection-header)
     3  Story-Kreise           (section: collection-circles)
     3b Story-Viewer           (snippet: story-viewer, Overlay wie Instagram)
     4  Toolbar + Layout       (section: collection-toolbar)
     5  Filter                 (snippet: facets – Sidebar + Mobile-Overlay)
     6  Aktive Filter, Raster, Leerzustand, Listenende (WhatsApp)
     7  Archiv
     8  Seitenwechsel Drop ↔ Archiv (View Transitions)
     9  Gate (Drop-Countdown / Passwortseite)
   ===================================================================== */

/* ---------- 1 · Info-Slider (vertikal, 4 s) ---------- */
.info-slider {
  --slide-h: 44px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: var(--slide-h);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.info-slider__viewport { flex: 1; max-width: 560px; height: var(--slide-h); overflow: hidden; }
.info-slider__track {
  --i: 0;
  transform: translateY(calc(var(--i) * var(--slide-h) * -1));
  transition: transform .45s var(--ease);
  will-change: transform;
}
.info-slider__track.is-instant { transition: none; }
.info-slider__item { height: var(--slide-h); display: flex; align-items: center; justify-content: center; }
.info-slider__item > * {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 2px; text-align: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; line-height: 1.25;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text);
}
.info-slider__item .i { width: 16px; height: 16px; }
.info-slider__item a, .info-slider__item button { min-height: var(--slide-h); } /* Touch-Fläche = ganze Zeile (44 px) */
.info-slider__item a:hover, .info-slider__item button:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-slider__arrow {
  flex: none; width: 44px; height: var(--slide-h);
  display: grid; place-items: center; color: var(--muted);
  transition: color var(--t-fast) ease;
}
.info-slider__arrow:hover { color: var(--text); }
.info-slider__arrow .i { width: 18px; height: 18px; }
.info-slider__arrow--prev .i { transform: rotate(180deg); }
@media (max-width: 480px) {
  .info-slider__item .i { display: none; }
  .info-slider__item > * { letter-spacing: .03em; }
}

/* ---------- 2 · Kopfbereich + Umschalter "Neuer Drop | Archiv" ---------- */
.coll-head {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 6px 32px;
  padding-block: 6px 6px;
}
.coll-head .seg { margin-bottom: 18px; }
.coll-head__title { font-size: clamp(36px, 11vw, 96px); text-wrap: balance; overflow-wrap: normal; } /* langes Wort passt per JS (fitTitle) */
.coll-head__count {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2);
}
.coll-head__count strong { font-size: 1.25em; color: var(--accent); font-variant-numeric: tabular-nums; }
.coll-head__count .nw { white-space: nowrap; }
@media (min-width: 768px) {
  .coll-head { grid-template-columns: minmax(0, 1fr) auto; padding-block: 10px 18px; }
  .coll-head .seg { grid-column: 1 / -1; margin-bottom: 22px; }
  .coll-head__count { text-align: right; padding-bottom: .55em; }
}

/* Segment-Umschalter: Regler gleitet; zwischen den Seiten per View Transition (Abschnitt 8) */
.seg {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 420px;
  padding: 4px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
}
.seg__opt {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
  color: var(--text-2); -webkit-tap-highlight-color: transparent;
  transition: color .35s var(--ease);
}
.seg__opt small { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0; opacity: .55; font-variant-numeric: tabular-nums; }
.seg__opt[aria-current="page"] { color: var(--bg); }
.seg__opt:not([aria-current]):hover { color: var(--text); }
.seg__thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: var(--radius-pill); background: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  transition: transform .45s var(--ease);
}
body[data-page="archiv"] .seg__thumb { transform: translateX(100%); }
/* ohne View Transitions: Regler gleitet vor dem Seitenwechsel rüber */
body[data-page="drop"] .seg.is-switching .seg__thumb { transform: translateX(100%); }
body[data-page="archiv"] .seg.is-switching .seg__thumb { transform: none; }
.seg.is-switching .seg__opt[aria-current="page"] { color: var(--text-2); }
.seg.is-switching .seg__opt:not([aria-current]) { color: var(--bg); }

/* ---------- 3 · Story-Kreise (Instagram-Ring) ---------- */
.stories {
  --ig: linear-gradient(45deg, #feda75 15%, #fa7e1e 33%, #d62976 52%, #962fbf 70%, #4f5bd5 87%); /* Stopps auf den sichtbaren Kreisrand (14–86 %) gelegt */
  --ring-seen: color-mix(in srgb, var(--muted) 55%, transparent);
  padding-block: 10px 14px;
}
.stories__list {
  display: flex; gap: 14px; max-width: var(--site-max); margin-inline: auto;
  padding: 6px var(--gutter) 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.stories__list::-webkit-scrollbar { display: none; }
.stories__list > li { flex: none; }
.stories__list > li:first-child { margin-left: auto; }
.stories__list > li:last-child { margin-right: auto; }
.story {
  display: grid; justify-items: center; align-content: start; gap: 7px;
  width: 80px; scroll-snap-align: start; -webkit-tap-highlight-color: transparent;
  border-radius: 12px;
}
.story__ring {
  position: relative; width: 76px; height: 76px; padding: 3px; border-radius: 50%;
  transition: transform .35s var(--ease);
}
/* bunter Ring = neue Story, grauer dünner Ring = schon gesehen */
.story__ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--ig);
}
.story.is-seen .story__ring::before { inset: 1.5px; background: var(--ring-seen); }
.story__img {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: 50%; border: 3px solid var(--bg); overflow: hidden; /* Lücke zwischen Ring und Foto = Seitenhintergrund */
  background: var(--img-bg);
}
.story__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform .6s var(--ease); }
.story__label {
  max-width: 100%; font-size: 12.5px; font-weight: 500; line-height: 1.25; text-align: center;
  color: var(--text); text-wrap: balance;
}
.story.is-active .story__label { font-weight: 700; }
/* Antippen: Kreis federt ein (wie Instagram) */
.story:active .story__ring { transform: scale(.92); }
.story.is-tap .story__ring { animation: story-tap .45s var(--ease-out); }
@keyframes story-tap { 40% { transform: scale(.9); } 100% { transform: scale(1); } }
/* Laden: Ring wird gestrichelt und dreht sich, bis das erste Bild da ist */
.story.is-loading .story__ring::before {
  inset: 0; background: var(--ig);
  -webkit-mask: repeating-conic-gradient(#000 0deg 16deg, transparent 16deg 22deg);
  mask: repeating-conic-gradient(#000 0deg 16deg, transparent 16deg 22deg);
  animation: story-spin .9s linear infinite;
}
@keyframes story-spin { to { transform: rotate(360deg); } }
@media (hover: hover) and (pointer: fine) {
  .story:hover .story__ring { transform: scale(1.05); }
  .story:hover .story__img img { transform: scale(1.08); }
}
@media (min-width: 768px) {
  .stories { padding-block: 18px 18px; }
  .stories__list { gap: 24px; }
  .story { width: 92px; }
  .story__ring { width: 86px; height: 86px; }
  .story__label { font-size: 13px; }
}

/* ---------- 3b · Story-Viewer (Overlay wie Instagram) ----------
   Handy: Vollbild. Breite Bildschirme: 9:16-Karte mittig auf dunklem,
   unscharfem Hintergrund mit Pfeilen links/rechts. Über Fotos → feste Weiß-/Schwarz-Werte. */
.sv {
  position: fixed; inset: 0; z-index: 75;
  display: grid; place-items: center; overflow: hidden;
  color: #fff; font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent; overscroll-behavior: contain;
}
.sv:focus { outline: none; }
.sv__bg { position: absolute; inset: 0; background: #000; pointer-events: none; }
.sv__bg img { display: none; }
.sv__frame { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; width: 100%; height: 100%; }
.sv__stage { position: relative; width: 100%; height: 100%; perspective: 1400px; }
.sv__card {
  position: absolute; inset: 0; overflow: hidden;
  background: #0b0b0b; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  cursor: pointer;
}
.sv__card.is-ghost { pointer-events: none; z-index: 1; }

/* Bilder: harter Schnitt wie bei Instagram */
.sv__media { position: absolute; inset: 0; }
.sv__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; pointer-events: none; -webkit-user-drag: none;
}
.sv__img.is-on { opacity: 1; }
.sv__img.is-broken { visibility: hidden; }
/* Lade-Zustand: EA-Logo pulsiert mittig (wie das NSF-Logo beim Seitenwechsel der Referenz) */
.sv__loader { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.sv__loader span {
  width: 84px; aspect-ratio: 1; background: #fff;
  -webkit-mask: url("../logo/favicon.svg") center / contain no-repeat; mask: url("../logo/favicon.svg") center / contain no-repeat;
  animation: sv-pulse 2s ease-in-out infinite;
}
.sv__card.is-loading .sv__loader { opacity: 1; transition-delay: .12s; }
@keyframes sv-pulse { 50% { opacity: .25; } }

.sv__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .18) 90px, rgba(0, 0, 0, 0) 150px),
    linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 230px);
}

/* Kopf: Balken + Avatar + Name + Pause + Schließen */
.sv__top {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3;
  padding: calc(8px + env(safe-area-inset-top)) 8px 0;
  transition: opacity .2s ease;
}
.sv__bars { display: flex; gap: 4px; padding-inline: 2px; }
.sv__bar { position: relative; flex: 1; height: 2.5px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .35); }
.sv__bar i { position: absolute; inset: 0; background: #fff; border-radius: inherit; transform: scaleX(0); transform-origin: 0 50%; }
.sv__head { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 2px 0 0 6px; }
.sv__avatar {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: #0b0b0b; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9);
}
.sv__avatar::after {
  content: ""; position: absolute; inset: 7px; background: #fff;
  -webkit-mask: url("../logo/favicon.svg") center / contain no-repeat; mask: url("../logo/favicon.svg") center / contain no-repeat;
}
.sv__who {
  flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px;
  font-size: 14px; line-height: 1.2; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.sv__who strong { font-weight: 600; }
.sv__who span { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .78); }
.sv__btn {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4));
}
.sv__btn .i { width: 24px; height: 24px; stroke-width: 2; }
.sv__btn:focus-visible, .sv__cta:focus-visible, .sv__sticker:focus-visible, .sv__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Titelbild der Story: Name groß */
.sv__cover {
  position: absolute; left: 20px; right: 20px; bottom: calc(108px + env(safe-area-inset-bottom)); z-index: 2;
  display: grid; gap: 10px; pointer-events: none;
  opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .5s var(--ease);
}
.sv__card.is-cover .sv__cover { opacity: 1; transform: none; }
.sv__cover-title {
  font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 125%; font-variation-settings: "wdth" 125;
  text-transform: uppercase; letter-spacing: -.015em; line-height: .92;
  font-size: clamp(34px, 10.5vw, 52px); text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.sv__cover-sub { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }

/* Produkt-Sticker (wie IG-Shopping-Sticker) */
.sv__sticker {
  position: absolute; left: 20px; right: 20px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 3;
  display: flex; align-items: center; gap: 10px; width: fit-content; max-width: calc(100% - 40px); margin-inline: auto;
  padding: 7px 12px 7px 7px; border-radius: 14px;
  background: #fff; color: #0b0b0b; box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s var(--ease-out);
}
.sv__sticker:active { transform: scale(.97); }
.sv__sticker-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #0b0b0b; color: #fff; }
.sv__sticker-ico .i { width: 18px; height: 18px; }
.sv__sticker-txt { display: grid; min-width: 0; line-height: 1.2; }
.sv__sticker-txt span { overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; font-weight: 600; color: #3b3b38; }
.sv__sticker-txt strong { font-size: 15px; font-weight: 700; }
.sv__sticker > .i { width: 16px; height: 16px; color: #6c6c67; }

/* Fuß: "Jetzt shoppen" */
.sv__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; justify-content: center; padding: 0 16px calc(22px + env(safe-area-inset-bottom));
  transition: opacity .2s ease;
}
.sv__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; min-width: min(240px, 100%); padding: 0 26px; border-radius: var(--radius-pill);
  background: #fff; color: #0b0b0b; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) ease;
}
.sv__cta .i { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease-out); }
.sv__cta:hover { background: #ececea; }
.sv__cta:hover .i { transform: translateX(3px); }
.sv__cta:active { transform: scale(.97); }
/* Pfeil nach unten: die Teile liegen direkt hinter der Story */
.sv__cta--down .i { animation: svNudge 1.6s ease-in-out infinite; }
.sv__cta--down:hover .i { transform: none; }
@keyframes svNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .sv__cta--down .i { animation: none; } }

/* Halten = Pause, Oberfläche blendet aus (wie Instagram) */
.sv.is-holding .sv__top, .sv.is-holding .sv__foot, .sv.is-holding .sv__sticker, .sv.is-holding .sv__cover { opacity: 0; }

/* Pfeile (nur breite Bildschirme) */
.sv__arrow {
  display: none; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: #0b0b0b; box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  opacity: 0; transition: opacity .3s ease, transform var(--t-fast) var(--ease-out), background-color var(--t-fast) ease;
}
.sv__arrow .i { width: 20px; height: 20px; stroke-width: 2.2; }
.sv__arrow--prev .i { transform: rotate(180deg); }
.sv.is-in .sv__arrow { opacity: 1; }
.sv__arrow:hover { background: #fff; transform: scale(1.06); }
.sv__arrow:disabled { opacity: 0 !important; pointer-events: none; }

@media (min-aspect-ratio: 3/4) {
  .sv__bg { background: #0d0d0d; }
  .sv__bg img {
    display: block; position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover;
    filter: blur(50px) saturate(1.25) brightness(.32); opacity: .95;
  }
  .sv__stage {
    width: auto; height: min(calc(100vh - 40px), 920px); height: min(calc(100dvh - 40px), 920px);
    aspect-ratio: 9 / 16; max-width: calc(100vw - 150px);
  }
  .sv__card { border-radius: 14px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
  .sv__arrow { display: grid; }
  .sv__top { padding-top: 10px; }
  .sv__cover { bottom: 104px; }
  .sv__sticker { bottom: 92px; }
  .sv__foot { padding-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv__loader span, .story.is-loading .story__ring::before { animation: none; }
}

/* ---------- 4 · Layout + Toolbar ---------- */
.coll { padding-bottom: var(--section-y); }
.coll__layout { display: block; }
.coll__main { min-width: 0; }

.coll__toolbar {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; align-items: center; gap: 10px;
  margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.tb-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.tb-btn:hover { background: var(--text); color: var(--bg); }
.tb-btn .i { width: 18px; height: 18px; }
.tb-btn__n {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--text); color: var(--bg);
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; letter-spacing: 0;
}
.tb-btn:hover .tb-btn__n { background: var(--bg); color: var(--text); }

.sort { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.sort__label { display: none; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sort__field { position: relative; flex: 1; min-width: 0; max-width: 250px; }
.sort select {
  width: 100%; min-height: 44px; padding: 0 40px 0 18px;
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--bg); color: var(--text);
  font-size: 16px; font-weight: 500; cursor: pointer; text-overflow: ellipsis;
  transition: border-color var(--t-fast) ease;
}
.sort select:hover, .sort select:focus { border-color: var(--line-strong); }
.sort__chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.sort__chev .i { width: 18px; height: 18px; }

.coll__count { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; font-variant-numeric: tabular-nums; }
.coll__count--tb { display: none; margin-left: auto; }
/* Ungefiltert steht die Zahl schon im Kopf ("10 Teile" / "4 verkauft") → nur einmal zeigen */
.coll__count.is-same { display: none !important; }
.coll__count--sub { padding-top: 16px; color: var(--muted); }
.coll__count.is-pop { animation: count-pop .4s var(--ease-out); }
@keyframes count-pop { 40% { transform: translateY(-2px); opacity: .55; } }
@media (min-width: 600px) {
  .coll__count--tb { display: block; }
  .coll__count--sub { display: none; }
}
@media (min-width: 1024px) {
  .coll__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
  .coll__toolbar { margin-inline: 0; padding-inline: 0; }
  .sort__label { display: block; }
  .sort { flex: 0 1 auto; }
  .sort__field { flex: none; width: 230px; }
}

/* ---------- 5 · Filter (Sidebar ab 1024, darunter Vollbild-Overlay) ---------- */
.filters {
  position: fixed; inset: 0; z-index: 62;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  transform: translateY(100%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.filters.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.filters__head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding: 6px 8px 6px var(--gutter);
  border-bottom: 1px solid var(--line-strong);
}
.filters__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -.01em; }
.filters__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; }
.filters__foot {
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--bg);
}
.filters__reset {
  flex: none; display: inline-flex; align-items: center; min-height: 48px; min-width: 44px; padding: 0 10px;
  font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
}
.filters__apply { flex: 1; min-width: 0; padding-inline: 16px; font-size: 13px; letter-spacing: .05em; }
.filters__apply[disabled] { opacity: .5; }

@media (min-width: 1024px) {
  .filters {
    position: sticky; top: calc(var(--header-h) + 22px);
    inset: auto; z-index: auto; display: block;
    max-height: calc(100vh - var(--header-h) - 44px); overflow-y: auto;
    transform: none; visibility: visible; transition: none;
    padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
    background: transparent;
  }
  .filters__head, .filters__foot { display: none; }
  .filters__body { overflow: visible; padding: 0; border-top: 1px solid var(--line-strong); }
}

.fg { border-bottom: 1px solid var(--line); }
.fg__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 58px; text-align: left;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
@media (min-width: 1024px) { .fg__head { min-height: 52px; } }
.fg__title { display: inline-flex; align-items: center; gap: 10px; }
.fg__n {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--text); color: var(--bg);
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; letter-spacing: 0;
}
.fg__sign { position: relative; width: 14px; height: 14px; flex: none; }
.fg__sign::before, .fg__sign::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px;
  background: currentColor; transition: transform .35s var(--ease);
}
.fg__sign::after { transform: rotate(90deg); }
.fg.is-open .fg__sign::after { transform: rotate(0); }
.fg__panel {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .4s var(--ease), visibility 0s .4s;
}
.fg.is-open .fg__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease), visibility 0s; }
.fg__inner { min-height: 0; overflow: hidden; margin-inline: -6px; padding-inline: 6px; }
.fg__content { padding: 4px 0 22px; }
.fg__hint { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Größe */
.fsizes { display: flex; flex-wrap: wrap; gap: 8px; }
.fsize {
  min-width: 54px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-box);
  font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
@media (min-width: 1024px) { .fsize { min-width: 48px; min-height: 40px; } }
.fsize:hover:not(:disabled) { border-color: var(--line-strong); }
.fsize:active:not(:disabled) { transform: scale(.96); }
.fsize[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.fsize:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* Marke / Kategorie (Checkbox + Radio) */
.frow { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (min-width: 1024px) { .frow { min-height: 36px; font-size: 14.5px; } }
.frow input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cb {
  position: relative; flex: none; width: 20px; height: 20px;
  border: 1.5px solid var(--muted); border-radius: 5px; background: var(--bg);
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.cb::after {
  content: ""; position: absolute; left: 5.5px; top: 2px; width: 5px; height: 10px;
  border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  transition: transform .25s var(--ease-out);
}
.cb--radio, .cb--radio::after { border-radius: 50%; }
.cb--radio::after { left: 4px; top: 4px; width: 8px; height: 8px; border: 0; background: var(--bg); transform: scale(0); }
.frow:hover .cb { border-color: var(--text); }
.frow input:checked ~ .cb { background: var(--text); border-color: var(--text); }
.frow input:checked ~ .cb::after { transform: rotate(45deg) scale(1); }
.frow input:checked ~ .cb--radio::after { transform: scale(1); }
.frow input:focus-visible ~ .cb { outline: 2px solid var(--accent); outline-offset: 3px; }
.frow input:disabled { cursor: not-allowed; }
.frow input:disabled ~ * { opacity: .38; }
.frow input:checked ~ .frow__label { font-weight: 600; }
.frow__label { min-width: 0; }
.frow__count { margin-left: auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Preis */
.fprice__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pinput {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-box); background: var(--bg);
  transition: border-color var(--t-fast) ease; cursor: text;
}
.pinput:focus-within { border-color: var(--line-strong); }
.pinput span { font-size: 13px; color: var(--muted); }
.pinput input {
  width: 100%; min-width: 0; align-self: stretch; border: 0; background: transparent; outline: none;
  font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right;
  -moz-appearance: textfield; appearance: textfield;
}
.pinput input::-webkit-outer-spin-button, .pinput input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.range { --a: 0%; --b: 100%; position: relative; height: 44px; margin-top: 8px; }
.range__track { position: absolute; left: 12px; right: 12px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--line); }
.range__fill { position: absolute; top: 0; bottom: 0; left: var(--a); right: calc(100% - var(--b)); border-radius: 2px; background: var(--text); }
.range input {
  position: absolute; left: 0; top: 50%; width: 100%; height: 28px; margin: 0; transform: translateY(-50%);
  background: none; pointer-events: none; outline: none;
  -webkit-appearance: none; appearance: none;
}
.range input::-webkit-slider-runnable-track { background: none; height: 28px; }
.range input::-moz-range-track { background: none; }
.range input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: grab;
  transition: transform var(--t-fast) var(--ease-out);
}
.range input::-moz-range-thumb {
  pointer-events: auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); cursor: grab;
}
.range input:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 3px; }
.range input:focus-visible::-moz-range-thumb { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Zustand */
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
@media (min-width: 1024px) { .fchip { min-height: 38px; padding: 0 14px; font-size: 13.5px; } }
.fchip:hover:not(:disabled) { border-color: var(--line-strong); }
.fchip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.fchip:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- 6 · Aktive Filter, Raster, Leerzustand, Ende ---------- */
.coll__active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; }
.achip {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 10px 0 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
  animation: chip-in .35s var(--ease-out);
}
.achip::before { content: ""; position: absolute; inset: -4px 0; }
.achip .i { width: 14px; height: 14px; color: var(--muted); }
.achip:hover { border-color: var(--line-strong); background: var(--surface-2); }
.achip:hover .i { color: var(--text); }
@keyframes chip-in { from { opacity: 0; transform: scale(.92); } }
.coll__clear { min-height: 44px; padding: 0 8px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--text-2); }
.coll__clear:hover { color: var(--text); }

.coll-grid { padding-top: 22px; }
.coll .coll-grid { scroll-margin-top: calc(var(--header-h) + 80px); }
@media (min-width: 1024px) {
  .coll__main .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .coll-grid { padding-top: 28px; }
}
/* Drop-Raster hat ab 1024 px 3 Spalten → Einblend-Staffel pro Spalte passend dazu (base.css rechnet ab 1100 mit 4) */
@media (min-width: 1100px) {
  .coll__main .grid-products > [data-reveal="slide"]:nth-child(3n+1) { --reveal-delay: 0s; }
  .coll__main .grid-products > [data-reveal="slide"]:nth-child(3n+2) { --reveal-delay: .09s; }
  .coll__main .grid-products > [data-reveal="slide"]:nth-child(3n) { --reveal-delay: .18s; }
}

.coll-empty {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: 56px 12px 8px; margin-top: 22px;
  border: 1.5px dashed var(--line); border-radius: 16px;
}
.coll-empty__ico { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--muted); margin-bottom: 4px; }
.coll-empty__ico .i { width: 28px; height: 28px; }
.coll-empty__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 8px 0 36px; }

/* Listenende: eine Zeile + WhatsApp */
.coll-end {
  display: grid; justify-items: center; gap: 18px; text-align: center;
  margin-top: clamp(44px, 6vw, 72px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line);
}
.coll-end p { max-width: 34ch; font-size: clamp(16px, 1.5vw, 18px); font-weight: 500; line-height: 1.45; color: var(--text); text-wrap: balance; }

/* ---------- 7 · Archiv ---------- */
.arch-toolbar { display: grid; gap: 14px; padding-block: 20px 22px; }
.pills {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter);
  -webkit-overflow-scrolling: touch;
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--bg);
  font-size: 14px; font-weight: 600; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.pill small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.pill:hover { border-color: var(--line-strong); }
.pill[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill[aria-pressed="true"] small { color: inherit; opacity: .7; }
.arch-toolbar__row { display: flex; align-items: center; gap: 12px; }
.arch-toolbar__row .coll__count { margin-left: auto; }
@media (min-width: 900px) {
  .arch-toolbar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding-top: 28px; }
  .pills { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .arch-toolbar__row .sort__field { width: 230px; flex: none; }
  .arch-toolbar__row .sort__label { display: block; }
}
.arch-grid { padding-bottom: var(--section-y); }

/* ---------- 8 · Seitenwechsel Drop ↔ Archiv ----------
   Browser mit View Transitions: Story-Reihe bleibt stehen, der Regler im
   Umschalter gleitet rüber, der Rest blendet weich über. Reine CSS-Lösung. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .stories { view-transition-name: ea-stories; }
  .seg__thumb { view-transition-name: ea-seg-thumb; }
  ::view-transition-group(ea-seg-thumb) { animation-duration: .45s; animation-timing-function: cubic-bezier(.19, 1, .22, 1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
}

/* ---------- 9 · Gate (Drop-Countdown / Passwortseite) ----------
   Bewusst in beiden Modi dunkel (Foto-Seite). Eigene Farb-Variablen,
   damit Kontrast immer stimmt – unabhängig von Hell/Dunkel. */
body[data-page="gate"] { background: #08080a; color: #f4f4f0; }
body[data-page="gate"] .theme-toggle {
  --bg: #0b0b0d; --text: #f4f4f0; --line: rgba(255, 255, 255, .18); --muted: #a9a9a3;
}
.gate {
  --g-text: #f4f4f0; --g-muted: rgba(244, 244, 240, .7); --g-line: rgba(255, 255, 255, .2);
  --g-accent: #8db1ea; --g-glass: rgba(255, 255, 255, .06);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  color: var(--g-text); background: #08080a;
}
.gate :focus-visible { outline-color: var(--g-accent); }
.gate ::selection { background: var(--g-accent); color: #08080a; }

.gate__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.gate__photo {
  position: absolute; inset: -5%;
  background: url("../img/misc/gate-bg.webp") center / cover no-repeat;
  opacity: .5; filter: grayscale(.2) contrast(1.05);
  animation: gate-drift 38s ease-in-out infinite alternate;
}
.gate__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 42%, rgba(8, 8, 10, .25) 0%, rgba(8, 8, 10, .9) 78%),
    linear-gradient(180deg, rgba(8, 8, 10, .82) 0%, rgba(8, 8, 10, .45) 42%, rgba(8, 8, 10, .96) 100%);
}
.gate__glow {
  position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(61, 104, 176, .5), transparent);
}
.gate__glow--a { left: -45vmax; top: -50vmax; animation: gate-float-a 22s ease-in-out infinite alternate; }
.gate__glow--b { right: -50vmax; bottom: -55vmax; opacity: .8; animation: gate-float-b 28s ease-in-out infinite alternate; }
.gate__grain {
  position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes gate-drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@keyframes gate-float-a { to { transform: translate3d(14vmax, 10vmax, 0); } }
@keyframes gate-float-b { to { transform: translate3d(-12vmax, -9vmax, 0); } }

.gate__top { display: flex; justify-content: center; padding: clamp(28px, 6vh, 56px) var(--gutter) 0; }
.gate__logo {
  display: block; height: clamp(64px, 11vh, 104px); aspect-ratio: var(--logo-full-ratio, 1.8);
  background: currentColor; color: var(--g-text);
  -webkit-mask: var(--logo-full-url) center / contain no-repeat;
  mask: var(--logo-full-url) center / contain no-repeat;
}
.gate__center {
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: center; gap: clamp(14px, 2.6vh, 26px);
  padding: clamp(24px, 4vh, 48px) var(--gutter); text-align: center;
}
.gate__eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--g-muted); letter-spacing: .2em; }
.gate__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--g-accent);
  box-shadow: 0 0 0 4px rgba(141, 177, 234, .22); animation: gate-pulse 1.8s ease-in-out infinite;
}
.gate.is-live .gate__dot { background: #3dd17f; box-shadow: 0 0 0 4px rgba(61, 209, 127, .22); }
@keyframes gate-pulse { 50% { box-shadow: 0 0 0 8px rgba(141, 177, 234, 0); } }
.gate__title { font-size: clamp(34px, 7.4vw, 92px); text-wrap: balance; }
.gate__title-wrap { display: grid; }
.gate__title-wrap > * { grid-area: 1 / 1; }

/* Countdown */
.cd {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(6px, 1.5vw, 24px); font-size: clamp(30px, 11vw, 156px); /* 4 Einheiten müssen auch bei 320 px in die Breite passen */
}
.cd__unit { display: grid; justify-items: center; gap: 12px; }
.cd__digits { display: flex; justify-content: center; height: 1em; font-size: 1em; line-height: 1; }
.cd__cell { position: relative; display: block; width: .8em; height: 1em; overflow: hidden; }
.cd__ch {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  letter-spacing: -.02em; line-height: 1;
  background: linear-gradient(180deg, #ffffff 8%, #d5dbe4 50%, #8e99aa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.cd__label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--g-muted); }
.cd__sep { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .13em; height: 1em; width: .16em; }
.cd__sep i { width: .07em; height: .07em; border-radius: 50%; background: var(--g-accent); animation: gate-tick 1s steps(1) infinite; }
@keyframes gate-tick { 0%, 100% { opacity: .9; } 50% { opacity: .25; } }
.gate__date {
  font-family: var(--font-mono); font-size: clamp(13px, 1.6vw, 16px); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.gate__date span { color: var(--g-accent); }

/* Live-Zustand */
.gate__live { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; }
.gate__live-title { font-size: clamp(44px, 12vw, 150px); background: linear-gradient(180deg, #ffffff 8%, #d5dbe4 55%, #8e99aa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.gate__live p { color: var(--g-muted); max-width: 40ch; }
.gate.is-live [data-wait] { display: none !important; }
.gate:not(.is-live) [data-live] { display: none !important; }
.gate.is-live .gate__live { animation: gate-in .9s var(--ease) both; }
@keyframes gate-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* Aktionen */
.gate__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: min(100%, 580px); }
.remind {
  display: flex; align-items: center;
  padding: 4px 4px 4px 22px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--g-line); background: var(--g-glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.remind:focus-within { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.remind input { flex: 1; min-width: 0; height: 46px; border: 0; outline: none; background: transparent; color: var(--g-text); font-size: 16px; }
.remind input::placeholder { color: rgba(244, 244, 240, .6); }
.remind .btn { min-height: 46px; padding-inline: 20px; flex: none; }
@media (max-width: 400px) { .remind { padding-left: 16px; } .remind .btn { padding-inline: 14px; letter-spacing: .05em; } }
.gate__msg { display: flex; align-items: flex-start; justify-content: center; gap: 10px; min-height: 24px; font-size: 14.5px; line-height: 1.5; color: var(--g-text); text-align: left; }
.gate__msg .i { width: 18px; height: 18px; margin-top: 3px; color: #3dd17f; flex: none; }
.gate__msg[hidden] { display: none; }
.gate__wa { width: 100%; }
@media (min-width: 900px) {
  .gate__actions { width: min(100%, 840px); grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .gate__actions .gate__msg { grid-column: 1 / -1; }
  .remind { min-width: 0; }
  .gate__wa { width: auto; }
}

/* Fuß: Social, Passwort, Rechtliches */
.gate__foot { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom)); text-align: center; }
.gate .socials a { border-color: var(--g-line); color: var(--g-text); background: var(--g-glass); }
.gate .socials a:hover { background: var(--g-text); color: #08080a; border-color: var(--g-text); }
.gate__pw-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--g-muted); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(244, 244, 240, .3);
  transition: color var(--t-fast) ease;
}
.gate__pw-toggle:hover { color: var(--g-text); }
.gate__pw-toggle .i { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.gate__pw-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.gate__pw { display: grid; grid-template-rows: 0fr; visibility: hidden; width: min(100%, 420px); transition: grid-template-rows .45s var(--ease), visibility 0s .45s; }
.gate__pw.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--ease), visibility 0s; }
.gate__pw-inner { min-height: 0; overflow: hidden; margin: 0 -6px; padding: 0 6px; }
.gate__pw form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 6px 0 8px; text-align: left; }
.gate__pw label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.gate__pw .preview-note { background: rgba(242, 180, 90, .18); color: #f2b45a; }
.gate__pw-row { display: flex; align-items: center; padding: 4px 4px 4px 18px; border: 1.5px solid var(--g-line); border-radius: var(--radius-pill); background: var(--g-glass); }
.gate__pw-row:focus-within { border-color: rgba(255, 255, 255, .6); }
.gate__pw-row input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; color: var(--g-text); font-size: 16px; }
.gate__pw-row input::placeholder { color: rgba(244, 244, 240, .55); }
.gate__pw-row .btn { min-height: 44px; padding-inline: 18px; }
.gate__pw-hint { font-size: 12.5px; color: var(--g-muted); }
.gate__pw-row.is-shake { animation: gate-shake .45s var(--ease-out); border-color: #ff5d52; }
@keyframes gate-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.gate__legal { display: flex; flex-wrap: wrap; gap: 0 14px; justify-content: center; font-size: 12.5px; color: var(--g-muted); }
.gate__legal a { min-height: 44px; min-width: 44px; padding-inline: 4px; display: inline-flex; align-items: center; justify-content: center; }
.gate__legal a:hover { color: var(--g-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .gate__foot { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
  .gate__photo, .gate__glow { animation: none !important; }
}
