/* Guest Book Pro - the pages a guest sees: the cover, the page they write on,
   the thank you, the camera and recorder, and the live wall.
   Colors and typefaces come from the cover (covers.js sets the --cv-* values),
   so one stylesheet dresses every guest book. Corners stay tight: 4 to 6px. */

:root {
  --cv-bg: #17122B; --cv-ink: #fff; --cv-soft: #C9BFF2; --cv-accent: #7C3AED;
  --cv-paper: #fff; --cv-pink: #17122B; --cv-on-accent: #fff;
  --cv-head: 'Archivo', system-ui, sans-serif; --cv-body: 'Inter', system-ui, sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --line: color-mix(in srgb, var(--cv-pink) 16%, transparent);
  --field: color-mix(in srgb, var(--cv-pink) 5%, var(--cv-paper));
  --muted: color-mix(in srgb, var(--cv-pink) 62%, var(--cv-paper));
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body.gb {
  margin: 0; font: 400 16px/1.5 var(--ui); color: var(--cv-pink); background: var(--cv-paper);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior: none;
}

/* --------------------------------------------------------------- buttons */

.gb-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 5px;
  background: var(--cv-accent); color: var(--cv-on-accent);
  font: 700 16px/1.1 var(--ui); text-decoration: none; cursor: pointer;
  box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--cv-accent) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.gb-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.gb-btn:active { transform: translateY(1px); }
.gb-btn:focus-visible, .gb-chip:focus-visible, .gb-back:focus-visible, .gb-rec-x:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--cv-accent) 60%, #fff); outline-offset: 2px;
}
.gb-btn[disabled] { opacity: .6; cursor: default; transform: none; }
.gb-btn-xl { min-height: 60px; padding: 16px 30px; font-size: 19px; border-radius: 6px; }
.gb-btn-ghost { background: transparent; color: var(--cv-pink); border-color: var(--line); box-shadow: none; }
.gb-btn-ghost:hover { background: var(--field); filter: none; }
.gb-btn-rec { background: #E5484D; color: #fff; box-shadow: 0 14px 30px -14px #E5484D; }

/* The glint: one diagonal highlight that crosses the button on hover. */
.gb-btn:not(.gb-btn-ghost)::after {
  content: ''; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%);
  translate: -120% 0;
}
.gb-btn:not(.gb-btn-ghost):hover::after { animation: gb-glint .65s ease-out 1; }
@keyframes gb-glint { to { translate: 120% 0; } }

/* ------------------------------------------------------------- the cover */

.gb-cover { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--cv-bg); z-index: 5; transform-origin: 0 50%; }
.gb-cover .cv { flex: 1 1 auto; min-height: 0; width: 100%; }
.gb-cover-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 20px calc(26px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .28));
}
.gb-cover-foot .gb-btn { width: min(100%, 420px); animation: gb-up .8s var(--ease) 1.05s backwards; }
.gb-count { margin: 0; font: 600 13px/1.3 var(--ui); color: #fff; opacity: .92; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); animation: gb-up .8s var(--ease) 1.2s backwards; }
.gb-closed { margin: 0; max-width: 420px; text-align: center; padding: 14px 18px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-weight: 600; }
.gb-demo-tag { position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 50%; translate: -50% 0; z-index: 3; margin: 0; padding: 7px 12px; border-radius: 4px; background: rgba(0, 0, 0, .6); color: #fff; font: 600 12.5px/1.2 var(--ui); white-space: nowrap; }
@keyframes gb-up { from { opacity: 0; translate: 0 16px; } }

/* A soft pulse behind the button, so a tablet at the door invites a tap. */
.is-kiosk .gb-cover-foot .gb-btn { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cv-accent) 70%, transparent), 0 14px 30px -14px var(--cv-accent); animation: gb-up .8s var(--ease) 1.05s backwards, gb-beckon 2.6s ease-out 2.2s infinite; }
@keyframes gb-beckon { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cv-accent) 75%, transparent), 0 14px 30px -14px var(--cv-accent); } 70%, 100% { box-shadow: 0 0 0 22px transparent, 0 14px 30px -14px var(--cv-accent); } }

/* The cover opens like a book: it swings away on its left edge. */
.gb-cover.is-opening { animation: gb-open .75s cubic-bezier(.6, .05, .3, 1) forwards; pointer-events: none; }
@keyframes gb-open {
  0% { transform: perspective(1600px) rotateY(0); opacity: 1; }
  100% { transform: perspective(1600px) rotateY(-96deg); opacity: 0; }
}
.gb-cover.is-closing { animation: gb-close .6s var(--ease) both; }
@keyframes gb-close { from { transform: perspective(1600px) rotateY(-96deg); opacity: 0; } }

/* -------------------------------------------------------------- the page */

.gb-page { min-height: 100%; display: flex; flex-direction: column; background: var(--cv-paper); }
.gb-head {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: var(--cv-bg); color: var(--cv-ink);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.gb-back { all: unset; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 5px; color: var(--cv-ink); background: rgba(255, 255, 255, .14); flex: none; }
.gb-head-text { display: flex; flex-direction: column; min-width: 0; }
.gb-head-kicker { font: 600 11px/1.2 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--cv-soft); }
.gb-head-text strong { font: 700 19px/1.2 var(--cv-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.gb-form { width: min(100%, 620px); margin: 0 auto; padding: 22px 18px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1 0 auto; }
.gb-form > * { animation: gb-up .55s var(--ease) backwards; }
.gb-form > :nth-child(1) { animation-delay: .32s; } .gb-form > :nth-child(2) { animation-delay: .38s; }
.gb-form > :nth-child(3) { animation-delay: .44s; } .gb-form > :nth-child(4) { animation-delay: .5s; }
.gb-form > :nth-child(5) { animation-delay: .56s; } .gb-form > :nth-child(6) { animation-delay: .62s; }
.gb-form > :nth-child(n+7) { animation-delay: .68s; }

.gb-note { margin: 0; padding: 14px 16px; border-left: 3px solid var(--cv-accent); border-radius: 0 5px 5px 0; background: var(--field); font: 500 17px/1.5 var(--cv-body); }
.gb-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.gb-row:not(:has(.gb-field:not([hidden]))) { display: none; }
.gb-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gb-field label { font: 700 14px/1.3 var(--ui); }
.gb-field label small { font-weight: 500; color: var(--muted); }
.gb-field input[type="text"], .gb-field input[type="email"], .gb-field input[type="tel"], .gb-field textarea, .gb-field select {
  width: 100%; min-height: 52px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 5px;
  background: var(--field); color: var(--cv-pink); font: 500 18px/1.35 var(--ui);
  transition: border-color .15s, box-shadow .15s, background .15s; appearance: none;
}
.gb-field textarea { resize: vertical; min-height: 120px; font-family: var(--cv-body); font-size: 19px; }
.gb-field input:focus, .gb-field textarea:focus, .gb-field select:focus {
  outline: none; border-color: var(--cv-accent); background: var(--cv-paper);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cv-accent) 22%, transparent);
}
.gb-field.has-err input, .gb-field.has-err textarea { border-color: #D93025; }
.gb-err { margin: 0; color: #D93025; font: 600 13.5px/1.3 var(--ui); }
.cv-dark-page .gb-err, .cv-dark-page .gb-formerr { color: #FF8A80; }
.gb-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-choice label { display: inline-flex; align-items: center; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 5px; font: 600 15px/1.2 var(--ui); cursor: pointer; background: var(--field); }
.gb-choice input { position: absolute; opacity: 0; pointer-events: none; }
.gb-choice label:has(input:checked) { background: var(--cv-accent); color: var(--cv-on-accent); border-color: transparent; }
.gb-choice label:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--cv-accent) 60%, #fff); outline-offset: 2px; }
.gb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gb-media { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1.5px dashed var(--line); border-radius: 6px; }
.gb-media-title { margin: 0; font: 700 14px/1.3 var(--ui); }
.gb-media-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.gb-chip {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 5px; background: var(--field);
  font: 700 15px/1.2 var(--ui); color: var(--cv-pink); text-align: center;
  transition: transform .15s var(--ease), border-color .15s, box-shadow .2s;
}
.gb-chip svg { color: var(--cv-accent); flex: none; }
.gb-chip:hover { border-color: var(--cv-accent); transform: translateY(-2px); box-shadow: 0 12px 22px -16px var(--cv-accent); }
.gb-chip.is-done { border-style: solid; border-color: var(--cv-accent); background: color-mix(in srgb, var(--cv-accent) 12%, var(--cv-paper)); }
.gb-attached { display: flex; flex-wrap: wrap; gap: 10px; }
.gb-attached:empty { display: none; }
.gb-att { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 40px 8px 8px; border-radius: 5px; background: var(--field); border: 1px solid var(--line); font: 600 14px/1.3 var(--ui); animation: gb-pop .35s var(--ease) backwards; max-width: 100%; }
.gb-att img, .gb-att video { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; background: #000; flex: none; }
.gb-att .gb-att-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 4px; background: var(--cv-accent); color: var(--cv-on-accent); flex: none; }
.gb-att button { all: unset; cursor: pointer; position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 4px; color: var(--muted); }
.gb-att button:hover { background: var(--line); color: var(--cv-pink); }
@keyframes gb-pop { from { opacity: 0; scale: .9; } }

.gb-consent { display: flex; gap: 12px; align-items: flex-start; font: 500 15px/1.45 var(--ui); cursor: pointer; }
.gb-consent input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--cv-accent); }
.gb-formerr { margin: 0; padding: 12px 14px; border-radius: 5px; background: color-mix(in srgb, #D93025 12%, var(--cv-paper)); color: #B3261E; font: 600 14.5px/1.4 var(--ui); }
.gb-submit { width: 100%; margin-top: 4px; }
.gb-progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.gb-progress i { display: block; height: 100%; width: 0; background: var(--cv-accent); transition: width .2s linear; }
.gb-foot { padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); text-align: center; }
.gb-foot a { font: 500 12.5px/1 var(--ui); color: var(--muted); text-decoration: none; }
.gb-foot b { color: var(--cv-pink); }

/* ------------------------------------------------------------- thank you */

.gb-thanks, .gb-gone { position: fixed; inset: 0; z-index: 6; display: grid; place-items: center; padding: 24px; background: var(--cv-bg); color: var(--cv-ink); overflow: auto; }
.gb-thanks-card { width: min(100%, 520px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.gb-thanks h1, .gb-gone h1 { margin: 6px 0 0; font: 700 clamp(34px, 8vw, 56px)/1.05 var(--cv-head); text-wrap: balance; animation: gb-up .7s var(--ease) .5s backwards; }
.gb-thanks-msg { margin: 0; font: 500 clamp(18px, 3.6vw, 22px)/1.45 var(--cv-body); color: var(--cv-soft); text-wrap: balance; animation: gb-up .7s var(--ease) .62s backwards; }
.gb-thanks-count { margin: 0; font: 600 14px/1.3 var(--ui); color: var(--cv-soft); animation: gb-up .7s var(--ease) .72s backwards; }
.gb-thanks-acts { display: flex; flex-direction: column; gap: 10px; width: min(100%, 360px); margin-top: 8px; animation: gb-up .7s var(--ease) .82s backwards; }
.gb-thanks .gb-btn-ghost, .gb-gone .gb-btn-ghost { color: var(--cv-ink); border-color: color-mix(in srgb, var(--cv-ink) 40%, transparent); }
.gb-thanks .gb-btn-ghost:hover, .gb-gone .gb-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.gb-reset { margin: 4px 0 0; font: 600 13px/1.3 var(--ui); color: var(--cv-soft); }
.gb-check { width: 96px; height: 96px; fill: none; stroke: var(--cv-accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--cv-accent) 70%, transparent)); }
.gb-check circle { stroke-dasharray: 1; animation: gb-stroke .7s var(--ease) .05s backwards; }
.gb-check path { stroke-dasharray: 1; stroke: var(--cv-ink); animation: gb-stroke .45s var(--ease) .55s backwards; }
@keyframes gb-stroke { from { stroke-dashoffset: 1; } }

/* ------------------------------------------------- camera and recorder */

.gb-rec { width: min(100vw, 560px); max-width: 100vw; max-height: 100dvh; padding: 0; border: 0; border-radius: 6px; background: #0E0C16; color: #fff; overflow: hidden; }
.gb-rec::backdrop { background: rgba(8, 6, 14, .78); backdrop-filter: blur(4px); }
.gb-rec[open] { animation: gb-pop .28s var(--ease); }
.gb-rec-inner { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.gb-rec-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gb-rec-top h2 { margin: 0; font: 700 18px/1.2 var(--ui); }
.gb-rec-x { all: unset; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.gb-rec-stage { position: relative; aspect-ratio: 4 / 3; max-height: 58dvh; background: #000; border-radius: 5px; overflow: hidden; display: grid; place-items: center; }
.gb-rec-stage video, .gb-rec-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
#recLive.is-mirror { transform: scaleX(-1); }
#recPlay { object-fit: contain; }
.gb-rec-audio { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 20px; background: radial-gradient(80% 80% at 50% 40%, color-mix(in srgb, var(--cv-accent) 45%, #0E0C16), #0E0C16); }
.gb-rec-audio audio { width: min(100%, 360px); }
.gb-bars { display: flex; align-items: center; gap: 5px; height: 110px; }
.gb-bars i { width: 7px; height: 8px; border-radius: 3px; background: #fff; transition: height .08s linear; }
.gb-rec-count { position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(90px, 30vw, 170px)/1 var(--ui); color: #fff; text-shadow: 0 6px 40px rgba(0, 0, 0, .7); background: rgba(0, 0, 0, .25); }
.gb-rec-count.tick { animation: gb-tick .9s var(--ease); }
@keyframes gb-tick { from { scale: 1.5; opacity: 0; } 30% { opacity: 1; } to { scale: .9; opacity: .2; } }
.gb-rec-ring { position: absolute; right: 12px; top: 12px; width: 62px; height: 62px; display: grid; place-items: center; }
.gb-rec-ring svg { position: absolute; inset: 0; rotate: -90deg; }
.gb-rec-ring circle { fill: rgba(0, 0, 0, .5); stroke-width: 5; }
.gb-rec-ring .t { stroke: rgba(255, 255, 255, .25); }
.gb-rec-ring .p { fill: none; stroke: #FF5A5F; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.gb-rec-ring span { position: relative; font: 800 18px/1 var(--ui); font-variant-numeric: tabular-nums; }
.gb-rec-live { position: absolute; left: 12px; top: 12px; margin: 0; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 4px; background: rgba(0, 0, 0, .6); font: 700 12.5px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; }
.gb-rec-live i { width: 10px; height: 10px; border-radius: 50%; background: #FF5A5F; animation: gb-blink 1s steps(2) infinite; }
@keyframes gb-blink { 50% { opacity: .2; } }
.gb-rec-msg { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 26px; text-align: center; font: 600 16px/1.5 var(--ui); background: #15121F; }
.gb-rec-hint { margin: 0; min-height: 20px; font: 500 14px/1.4 var(--ui); color: rgba(255, 255, 255, .72); text-align: center; }
.gb-rec-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gb-rec-acts .gb-btn { flex: 1 1 150px; }
.gb-rec .gb-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.gb-rec .gb-btn-ghost:hover { background: rgba(255, 255, 255, .1); }

.gb-full { all: unset; cursor: pointer; position: fixed; right: 10px; top: calc(10px + env(safe-area-inset-top)); z-index: 9; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 5px; background: rgba(0, 0, 0, .35); color: #fff; opacity: .55; }
.gb-full:hover { opacity: 1; }
.gb-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 20; pointer-events: none; }

/* A tablet at the door: bigger targets, and nothing that leads out of the page. */
.is-kiosk .gb-form { width: min(100%, 760px); padding-top: 30px; gap: 20px; }
.is-kiosk .gb-field input, .is-kiosk .gb-field textarea { min-height: 62px; font-size: 21px; }
.is-kiosk .gb-foot { display: none; }
.is-kiosk { user-select: none; -webkit-user-select: none; }
.is-kiosk input, .is-kiosk textarea { user-select: text; -webkit-user-select: text; }

/* ------------------------------------------------------------ live wall */

body.wall { background: var(--cv-bg); color: var(--cv-ink); overflow: hidden; }
.wall-bg { position: fixed; inset: 0; opacity: .5; }
.wall-bg .cv-text { display: none; }
.wall-shade { position: fixed; inset: 0; background: radial-gradient(90% 80% at 50% 45%, transparent, rgba(0, 0, 0, .5)); }
.wall-top { position: fixed; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 3vh 4vw; }
.wall-title { display: flex; flex-direction: column; gap: .6vh; min-width: 0; }
.wall-title span { font: 600 clamp(11px, 1.3vw, 18px)/1 var(--ui); letter-spacing: .3em; text-transform: uppercase; color: var(--cv-soft); }
.wall-title strong { font: 700 clamp(22px, 3.4vw, 54px)/1.05 var(--cv-head); }
.wall-count { display: flex; align-items: baseline; gap: .6vw; font: 600 clamp(12px, 1.4vw, 20px)/1 var(--ui); color: var(--cv-soft); white-space: nowrap; }
.wall-count b { font: 800 clamp(26px, 4vw, 64px)/1 var(--ui); color: var(--cv-ink); font-variant-numeric: tabular-nums; }
.wall-stage { position: fixed; inset: 16vh 4vw 15vh; z-index: 2; display: grid; place-items: center; }
.wall-card {
  grid-area: 1 / 1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4vw;
  max-width: 100%; max-height: 100%; opacity: 0; pointer-events: none;
}
.wall-card.no-media { grid-template-columns: minmax(0, 1fr); text-align: center; }
.wall-card.is-on { animation: wall-in 1s var(--ease) forwards; }
.wall-card.is-off { animation: wall-out .7s ease-in forwards; }
@keyframes wall-in { from { opacity: 0; translate: 0 5vh; scale: .96; } to { opacity: 1; } }
@keyframes wall-out { from { opacity: 1; } to { opacity: 0; translate: 0 -4vh; } }
.wall-media { height: min(56vh, 42vw); aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: #000; rotate: -2deg; box-shadow: 0 3vh 8vh -3vh rgba(0, 0, 0, .7), 0 0 0 .7vh var(--cv-ink); }
.wall-media img, .wall-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wall-audio { height: 100%; display: grid; place-items: center; background: var(--cv-accent); color: var(--cv-on-accent); }
.wall-audio svg { width: 40%; height: auto; }
.wall-words { display: flex; flex-direction: column; gap: 2.4vh; min-width: 0; }
.wall-msg { margin: 0; font: 500 clamp(22px, 3.6vw, 62px)/1.22 var(--cv-body); text-wrap: balance; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.wall-msg.is-short { font-size: clamp(30px, 5.4vw, 96px); font-family: var(--cv-head); }
.wall-name { font: 700 clamp(16px, 2vw, 34px)/1.2 var(--ui); color: var(--cv-accent); }
.wall-name::before { content: ''; display: inline-block; width: 2.4vw; height: .3vh; min-height: 2px; margin-right: 1vw; vertical-align: middle; background: currentColor; }
.no-media .wall-name::before { display: none; }
.wall-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 3vh 4vw; }
.wall-join { display: flex; align-items: center; gap: 1.6vw; }
.wall-join img { width: clamp(72px, 10vh, 150px); height: auto; border-radius: 5px; background: #fff; display: block; }
.wall-join p { margin: 0; font: 600 clamp(13px, 1.5vw, 24px)/1.3 var(--ui); max-width: 22ch; }
.wall-join small { display: block; font-weight: 500; color: var(--cv-soft); }
.wall-made { font: 500 clamp(10px, 1vw, 15px)/1 var(--ui); color: var(--cv-soft); }
.wall-empty { text-align: center; display: flex; flex-direction: column; gap: 2vh; align-items: center; }
.wall-empty h1 { margin: 0; font: 700 clamp(30px, 5vw, 80px)/1.05 var(--cv-head); text-wrap: balance; }
.wall-empty p { margin: 0; font: 500 clamp(16px, 2vw, 30px)/1.4 var(--cv-body); color: var(--cv-soft); }
.wall-new { position: fixed; left: 50%; top: 3vh; translate: -50% 0; z-index: 4; padding: 1.2vh 1.6vw; border-radius: 5px; background: var(--cv-accent); color: var(--cv-on-accent); font: 700 clamp(13px, 1.4vw, 22px)/1 var(--ui); animation: wall-new 4s var(--ease) forwards; }
@keyframes wall-new { 0% { opacity: 0; translate: -50% -3vh; } 12%, 80% { opacity: 1; translate: -50% 0; } 100% { opacity: 0; translate: -50% -2vh; } }
@media (max-width: 720px) {
  .wall-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 3vh; }
  .wall-media { height: 34vh; }
  .wall-name::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gb-form > *, .gb-cover-foot .gb-btn, .gb-count, .gb-thanks h1, .gb-thanks-msg, .gb-thanks-count, .gb-thanks-acts,
  .gb-check circle, .gb-check path, .gb-att, .gb-rec[open], .gb-rec-count.tick, .wall-new { animation: none !important; }
  .gb-btn::after { display: none; }
  .gb-cover.is-opening { animation: gb-fadeout .2s linear forwards; }
  .gb-cover.is-closing { animation: none; }
  .wall-card.is-on { animation: none; opacity: 1; }
  .wall-card.is-off { animation: none; opacity: 0; }
  .is-kiosk .gb-cover-foot .gb-btn { animation: none; }
}
@keyframes gb-fadeout { to { opacity: 0; } }
