/* OldHouse — shared styles for the landing page and the portal (/join, /konto).
   Theme: OLDHOUSE ATLANTICA – deep ocean, light rays, bubbles, holographic lettering
   (taken from the Atlantica flyer and the "hinter dem Wurmloch" zine). */

:root {
  --abyss: #020814;
  --deep: #04142e;
  --ocean: #072a55;
  --shallow: #0d4d86;
  --panel: rgba(6, 22, 48, .72);
  --panel-solid: #071a38;
  --line: rgba(140, 200, 255, .18);
  --text: #eaf4ff;
  --muted: #a9c2df;
  --aqua: #5fe3ff;
  --aqua-strong: #9af0ff;
  --violet: #b294ff;
  --coral: #ff7fae;
  --gold: #f3cf7a;
  --amber: #ffb24d;        /* the warm windows of the house */
  --danger: #ff8a7a;
  --ok: #7ef0c1;
  --radius: 16px;
  --holo: linear-gradient(100deg, #9af0ff 0%, #c9b6ff 22%, #ffb3d9 40%, #ffe7a3 55%, #a6ffdf 72%, #8fd8ff 88%, #d6c2ff 100%);
  --serif: "Cinzel", "Trajan Pro", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; background: var(--abyss); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 17px/1.65 var(--sans);
  /* Sunlit surface at the top, fading into the abyss. */
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(95, 227, 255, .22), transparent 60%),
    radial-gradient(60% 40% at 85% 30%, rgba(178, 148, 255, .10), transparent 70%),
    radial-gradient(50% 35% at 10% 60%, rgba(255, 127, 174, .07), transparent 70%),
    linear-gradient(180deg, var(--ocean) 0%, var(--deep) 35%, var(--abyss) 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* Light rays from the surface. */
body::before {
  content: "";
  position: fixed; inset: -10% -20% auto -20%; height: 90vh;
  pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(100deg,
    transparent 0 60px, rgba(154, 240, 255, .05) 60px 90px, transparent 90px 170px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  filter: blur(6px);
  animation: rays 18s ease-in-out infinite alternate;
}

/* Rising bubbles. */
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(154,240,255,.12) 45%, transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), rgba(178,148,255,.12) 45%, transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), rgba(154,240,255,.10) 45%, transparent 60%),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), rgba(255,179,217,.12) 45%, transparent 60%);
  background-size: 14px 14px, 9px 9px, 20px 20px, 7px 7px;
  background-repeat: no-repeat;
  background-position: 12% 110%, 78% 120%, 90% 115%, 35% 125%;
  opacity: .8;
  animation: bubbles 16s linear infinite;
}

@keyframes rays { from { transform: translateX(-3%) skewX(-2deg); } to { transform: translateX(3%) skewX(2deg); } }
@keyframes bubbles {
  0%   { background-position: 12% 110%, 78% 120%, 90% 115%, 35% 125%; }
  100% { background-position: 16% -20%, 74% -30%, 86% -10%, 39% -40%; }
}
@keyframes shimmer { to { background-position: 200% 50%; } }

@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .holo { animation: none !important; }
  html { scroll-behavior: auto; }
}

body > * { position: relative; z-index: 1; }

a { color: var(--aqua); text-underline-offset: 3px; }
a:hover { color: var(--aqua-strong); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: .02em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 .7em; text-transform: uppercase; letter-spacing: .08em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; text-transform: uppercase; letter-spacing: .08em; }

/* Holographic lettering, as on the Kunterbunt and Atlantica flyers. */
.holo {
  background: var(--holo);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* No filter/text-shadow here: both break background-clip:text in Chromium. */
  animation: shimmer 9s linear infinite;
}

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(540px, 100% - 2.5rem); margin-inline: auto; }

/* --- header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(180deg, rgba(2, 8, 20, .85), rgba(2, 8, 20, .55));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: .6rem 1.2rem; padding-block: .8rem; flex-wrap: wrap;
}
.brand {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none;
}
.brand span { font-weight: 400; }
.site-nav { display: flex; gap: .3rem 1.1rem; flex-wrap: wrap; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--text); }

/* --- hero ---------------------------------------------------------------------- */
.hero {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1.1fr .9fr;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}
.hero-title { margin: 0 0 1rem; line-height: .95; text-transform: uppercase; }
.hero-title .line1 { display: block; font-size: clamp(2.6rem, 9vw, 5.4rem); letter-spacing: .03em; }
.hero-title .line2 { display: block; font-size: clamp(2.1rem, 7vw, 4rem); letter-spacing: .14em; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; font-weight: 600;
  color: var(--aqua); margin: 0 0 1rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin: 0 0 1.4rem; }
.tagline { font-family: var(--serif); font-size: 1.25rem; color: var(--text); margin: 0 0 1.8rem; }

.poster {
  margin: 0; justify-self: center; width: min(420px, 100%);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(154, 240, 255, .25), 0 20px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(95, 227, 255, .25);
  transform: rotate(1.5deg);
}
.poster img { display: block; width: 100%; height: auto; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .poster { transform: none; width: min(360px, 100%); }
}

/* Divider: line – trident – line (the ornament under "ATLANTICA"). */
.ornament {
  display: flex; align-items: center; gap: .8rem; color: var(--gold);
  margin: 0 0 1.6rem; max-width: 22rem;
}
.ornament::before, .ornament::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament svg { width: 22px; height: 22px; flex: none; }
.hero .ornament { margin-inline: 0; }
@media (max-width: 820px) { .hero .ornament { margin-inline: auto; } }
.section-head { text-align: center; }
.section-head .ornament { margin-inline: auto; }

/* --- sections ------------------------------------------------------------------ */
section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .day { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua); margin: 0 0 .3rem; }
.card .icon { font-size: 1.8rem; line-height: 1; margin-bottom: .6rem; display: block; }
.card.highlight {
  border-color: transparent;
  background:
    linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box,
    var(--holo) border-box;
  box-shadow: 0 0 40px rgba(178, 148, 255, .25);
}
.card ul { padding-left: 1.1rem; margin: .6rem 0 0; }
.card li { margin-bottom: .3rem; }
.time { font-family: var(--mono); color: var(--gold); font-size: .9em; white-space: nowrap; }

.split { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.placeholder { color: var(--muted); font-style: italic; }

/* Archive timeline of past journeys. */
.journey { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(4, 1fr); } }
.journey .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.journey img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.journey .card-body { padding: 1rem 1.2rem 1.2rem; }
.journey .card-body p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
.journey .now { box-shadow: 0 0 0 2px var(--aqua), 0 0 40px rgba(95, 227, 255, .3); }

/* --- buttons ----------------------------------------------------------------------- */
.button, button {
  display: inline-block; cursor: pointer;
  background: linear-gradient(135deg, var(--aqua), #7cc4ff 50%, var(--violet));
  color: #031025;
  border: 0; border-radius: 999px;
  padding: .75rem 1.4rem; font: 700 1rem var(--sans); text-decoration: none;
  box-shadow: 0 6px 24px rgba(95, 227, 255, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover, button:hover { color: #031025; transform: translateY(-1px); box-shadow: 0 8px 30px rgba(95, 227, 255, .4); }
.button.secondary, button.secondary {
  background: rgba(6, 22, 48, .6); color: var(--text);
  border: 1px solid rgba(154, 240, 255, .35); box-shadow: none;
}
.button.secondary:hover, button.secondary:hover { border-color: var(--aqua); color: var(--text); }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.site-nav button.secondary { padding: .25rem .8rem; font-size: .9rem; }

/* --- forms (portal) ------------------------------------------------------------ */
.page { padding-block: 3rem 4rem; }
.page > h1 { text-transform: uppercase; letter-spacing: .06em; }
form { display: grid; gap: 1.1rem; }
label { display: grid; gap: .35rem; font-weight: 600; }
label small, .hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
input {
  width: 100%; padding: .75rem .9rem;
  background: rgba(2, 8, 20, .7); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; font: 1rem var(--sans);
}
input:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: transparent; }
.address-input { display: flex; align-items: stretch; }
.address-input input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.address-input span {
  display: flex; align-items: center; padding-inline: .8rem;
  border: 1px solid var(--line); border-left: 0; border-radius: 0 10px 10px 0;
  color: var(--muted); background: var(--panel-solid); white-space: nowrap;
}
.page form, .page dl.settings {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.site-nav form { display: inline; background: none; border: 0; padding: 0; backdrop-filter: none; }

.notice {
  border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: 1.4rem;
  border: 1px solid var(--line); background: var(--panel);
}
.notice.error { border-color: var(--danger); }
.notice.error strong { color: var(--danger); }
.notice.ok { border-color: var(--ok); }
.notice ul { margin: .4rem 0 0; padding-left: 1.2rem; }

dl.settings { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
dl.settings dt { color: var(--muted); }
dl.settings dd { margin: 0; font-family: var(--mono); font-size: .92rem; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.settings { grid-template-columns: 1fr; } dl.settings dd { margin-bottom: .5rem; } }

.muted { color: var(--muted); }

footer {
  border-top: 1px solid var(--line); padding-block: 2rem 2.5rem; color: var(--muted); font-size: .9rem;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 20, .8));
}
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer .motto { font-family: var(--serif); color: var(--text); letter-spacing: .04em; }
.journey img.contain { object-fit: contain; background: #050505; }
.journey h3 { font-size: 1rem; letter-spacing: .05em; overflow-wrap: anywhere; hyphens: auto; }
section[id] { scroll-margin-top: 4.5rem; }
.address-input input { min-width: 0; flex: 1; }
@media (max-width: 420px) { .address-input span { font-size: .85rem; padding-inline: .5rem; } }

/* --- donations: "Füll die Muschel" ------------------------------------------------ */
.donate { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); }
.donate h2 { margin-bottom: .5em; }
@media (max-width: 620px) { .donate { grid-template-columns: 1fr; text-align: center; } .donate .clam { margin-inline: auto; } .donate .actions { justify-content: center; } }
.button.disabled { opacity: .55; cursor: default; pointer-events: none; }

/* Floating shell button (bottom right), hidden while the donation section is visible. */
.shell-fab {
  position: fixed; right: clamp(.8rem, 2.5vw, 1.6rem); bottom: clamp(.8rem, 2.5vw, 1.6rem); z-index: 20;
  display: flex; align-items: center; gap: .6rem; flex-direction: row-reverse;
  text-decoration: none; color: var(--text);
  transition: opacity .3s ease, transform .3s ease;
}
.shell-fab.is-hidden { opacity: 0; transform: translateY(1rem) scale(.9); pointer-events: none; }
.shell-fab-bubble {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(154, 240, 255, .35), transparent 55%),
    rgba(7, 26, 56, .75);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45), 0 0 26px rgba(255, 179, 217, .35), inset 0 0 18px rgba(154, 240, 255, .25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: bob 4s ease-in-out infinite;
}
.shell-fab-label {
  font-family: var(--serif); font-weight: 600; font-size: .95rem; letter-spacing: .04em; white-space: nowrap;
  padding: .45rem .9rem; border-radius: 999px;
  background: rgba(7, 26, 56, .85); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.shell-fab:hover .shell-fab-bubble, .shell-fab:focus-visible .shell-fab-bubble { box-shadow: 0 8px 28px rgba(0, 0, 0, .45), 0 0 40px rgba(255, 179, 217, .6), inset 0 0 18px rgba(154, 240, 255, .35); }
.shell-fab:focus-visible { outline: none; }
.shell-fab:focus-visible .shell-fab-bubble { outline: 2px solid var(--aqua); outline-offset: 3px; }
@media (max-width: 620px) {
  .shell-fab-label { display: none; }
  .shell-fab-bubble { width: 54px; height: 54px; }
  .shell-fab .clam { --size: 38px; }
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .shell-fab-bubble { animation: none; } }
/* Keep the page end reachable without the button covering the footer text. */
footer { padding-bottom: 6rem; }

/* --- the clam: opens now and then, pearl glows, bubbles burst out ------------------ */
.clam {
  --size: 46px;
  --cycle: 7s;
  --start: 1s;   /* delay before the cycle begins */
  position: relative; display: inline-block; flex: none;
  width: var(--size); height: var(--size);
  perspective: calc(var(--size) * 3.5);
}
.clam-big { --size: clamp(110px, 16vw, 170px); --cycle: 6s; --start: -2.6s; /* first opening ~1s after it scrolls into view */ filter: drop-shadow(0 0 28px rgba(255, 179, 217, .35)); }
.clam > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* Closed lid (front view of the top shell). */
.clam-lid {
  transform-origin: 50% 55%;
  transition: transform .35s ease-in, opacity .2s .15s ease;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}
/* Open lid: the upright fan, growing from the hinge behind the pearl. */
.clam-fan {
  transform-origin: 50% 53%;
  opacity: 0; transform: scaleY(.15);
  transition: transform .6s .2s cubic-bezier(.34, 1.56, .64, 1), opacity .2s .2s ease;
  filter: drop-shadow(0 0 calc(var(--size) * .08) rgba(255, 208, 232, .45));
}
.clam-pearl {
  position: absolute; left: 50%; top: 57%; width: 24%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 16%, #ffe6f3 34%, #d9c8ff 66%, #9fe9ff 100%);
  opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: transform .5s .15s ease, opacity .4s .1s ease;
}
.clam-bubbles { position: absolute; left: 50%; top: 52%; }
.clam-bubbles i {
  position: absolute; left: 0; top: 0; opacity: 0;
  width: calc(var(--size) * .09); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .75);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .8), rgba(154, 240, 255, .15) 60%);
}
.clam-bubbles i:nth-child(1) { --x: calc(var(--size) * -.14); --d: 0s; }
.clam-bubbles i:nth-child(2) { --x: calc(var(--size) * .04); --d: .15s; width: calc(var(--size) * .06); }
.clam-bubbles i:nth-child(3) { --x: calc(var(--size) * .16); --d: .3s; width: calc(var(--size) * .11); }
.clam-bubbles i:nth-child(4) { --x: calc(var(--size) * -.05); --d: .45s; width: calc(var(--size) * .07); }
.clam-bubbles i:nth-child(5) { --x: calc(var(--size) * .1); --d: .6s; width: calc(var(--size) * .05); }
.clam-bubbles i:nth-child(6) { --x: calc(var(--size) * -.18); --d: .75s; width: calc(var(--size) * .08); }

/* Cycle: closed most of the time, opens fully for a moment, bubbles burst out, closes. */
.clam.is-cycling .clam-lid { animation: lid-cycle var(--cycle) ease-in-out var(--start) infinite; }
.clam.is-cycling .clam-fan { animation: fan-cycle var(--cycle) ease-in-out var(--start) infinite; }
.clam.is-cycling .clam-pearl { animation: pearl-cycle var(--cycle) ease-in-out var(--start) infinite; }
.clam.is-cycling .clam-bubbles i { animation: bubble-burst var(--cycle) ease-out calc(var(--start) + var(--d)) infinite; }

/* Hover / keyboard focus: open and stay open while pointed at. */
.donate:hover .clam-lid,
.shell-fab:hover .clam-lid,
.shell-fab:focus-visible .clam-lid { animation: none; transform: rotateX(80deg); opacity: 0; }
.donate:hover .clam-fan,
.shell-fab:hover .clam-fan,
.shell-fab:focus-visible .clam-fan { animation: none; transform: none; opacity: 1; }
.donate:hover .clam-pearl,
.shell-fab:hover .clam-pearl,
.shell-fab:focus-visible .clam-pearl {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
  animation: pearl-glow 2.4s ease-in-out .7s infinite;
}
.donate:hover .clam-bubbles i,
.shell-fab:hover .clam-bubbles i { animation: clam-bubble 2.6s ease-in calc(var(--d) * 3) infinite; }

/* Open phase: 62%–86% of the cycle. */
@keyframes lid-cycle {
  0%, 58%, 92%, 100% { transform: none; opacity: 1; }
  64%, 86% { transform: rotateX(80deg); opacity: 0; }
}
@keyframes fan-cycle {
  0%, 60%, 90%, 100% { transform: scaleY(.15); opacity: 0; }
  66% { transform: scaleY(1.06); opacity: 1; }
  70%, 84% { transform: none; opacity: 1; }
}
@keyframes pearl-cycle {
  0%, 62%, 90%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.6); box-shadow: none; }
  68%, 84% { opacity: 1; transform: translate(-50%, -50%) scale(1);
             box-shadow: 0 0 calc(var(--size) * .3) rgba(255, 240, 250, 1), 0 0 calc(var(--size) * .6) rgba(178, 148, 255, .5); }
}
@keyframes bubble-burst {
  0%, 66% { opacity: 0; transform: translate(0, 0) scale(.4); }
  69% { opacity: 1; transform: translate(calc(var(--x) * .4), calc(var(--size) * -.1)) scale(.8); }
  90% { opacity: 0; transform: translate(calc(var(--x) * 2), calc(var(--size) * -1.3)) scale(1.2); }
  100% { opacity: 0; transform: translate(calc(var(--x) * 2), calc(var(--size) * -1.3)) scale(1.2); }
}
@keyframes pearl-glow {
  0%, 100% { box-shadow: 0 0 calc(var(--size) * .18) rgba(255, 230, 245, .8), 0 0 calc(var(--size) * .4) rgba(154, 240, 255, .35); }
  50% { box-shadow: 0 0 calc(var(--size) * .3) rgba(255, 240, 250, 1), 0 0 calc(var(--size) * .7) rgba(178, 148, 255, .55); }
}
@keyframes clam-bubble {
  0% { opacity: 0; transform: translate(var(--x), 0) scale(.5); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--x) * 1.8), calc(var(--size) * -1.1)) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .clam-lid, .clam-fan, .clam-pearl { transition: none; }
  .clam-lid, .clam-fan, .clam-pearl, .clam-bubbles i { animation: none !important; }
}

/* --- payment (Bitcoin) ---------------------------------------------------------- */
.pay { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-top: 1.2rem; }
.pay-qr {
  width: 152px; height: 152px; flex: none; border-radius: 12px; background: #fff; padding: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 0 30px rgba(154, 240, 255, .25);
}
.pay-info { flex: 1 1 240px; min-width: 0; }
.pay-label { margin: 0 0 .3rem; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.pay-address {
  display: block; font-family: var(--mono); font-size: .9rem; overflow-wrap: anywhere;
  padding: .55rem .7rem; margin-bottom: .8rem; border-radius: 8px;
  background: rgba(2, 8, 20, .7); border: 1px solid var(--line); user-select: all;
}
.pay .hint { margin: .7rem 0 0; }
@media (max-width: 620px) { .pay { justify-content: center; text-align: left; } .pay-qr { width: 180px; height: 180px; } }
.pay-option { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pay-option .pay-address { max-width: 32rem; }
.pay-label { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; }
.pay-label img { width: 22px; height: 22px; flex: none; }
