/* Venue wall (templates/wall.html): a fixed 1280x720 TV layout, deliberately not
 * responsive; it only scales its furniture down below 900px so it stays legible
 * on a laptop. It sits on the photos, so its band and badge use the fixed scrim
 * tokens; the brand shows only in the logo fallback. */

.wall {
  margin: 0;
  width: 100vw; height: 100svh;
  position: relative;
  overflow: hidden;
  background: var(--viewer-bg);
  color: var(--viewer-ink);
}
.wall__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}
.wall__slide.is-current { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .wall__slide { transition: none; } }

.wall__band {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  background: var(--scrim-strong);
}
.wall__brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.wall__logo {
  width: 52px; height: 52px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: var(--r-control);
  background: var(--logo-plate);
  object-fit: contain;
  font: 700 15px/1 var(--display);
  color: var(--brand);
}
/* A light logo (site.hero.logo_light) on the dark plate. */
.wall__logo.is-light { background: var(--logo-plate-dark); }
.wall__name { font: 600 20px/1.2 var(--display); }
.wall__sub { font-size: 14px; color: var(--on-scrim-soft); }
.wall__cta { display: flex; align-items: center; gap: 16px; }
.wall__address { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* The live counter, between the brand and the call to action. Numbers keep
   their width while they count up (tabular figures). */
.wall__counter {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
  font: 500 18px/1.2 var(--sans);
  color: var(--on-scrim-soft);
}
.wall__count b { font: 700 24px/1 var(--display); color: var(--viewer-ink); font-variant-numeric: tabular-nums; }
.wall__count-sep { opacity: 0.6; }

/* The most viewed photo so far: one slide every so often, with its label. */
.wall__slide--top { display: flex; align-items: flex-start; justify-content: flex-start; padding: 24px 40px; }
.wall__top-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--scrim-strong);
  color: var(--viewer-ink);
  font: 600 18px/1.2 var(--display);
}
.wall__top-views { color: var(--on-scrim-soft); font: 500 15px/1.2 var(--sans); }
.wall__top-views b { font-variant-numeric: tabular-nums; }
.wall__cta-text { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.wall__cta-title { font: 600 16px/1.3 var(--display); }
.wall__qr {
  width: 64px; height: 64px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: var(--r-thumb);
  background: var(--logo-plate);
}
.wall__qr svg, .wall__qr img { width: 100%; height: 100%; display: block; }
/* The current slide's moment, top left. */
.wall__moment {
  position: absolute;
  top: 24px; left: 40px;
  max-width: calc(100% - 320px);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--scrim-strong);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wall__moment[hidden] { display: none; }
.wall__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--on-scrim-soft);
  font-size: 20px;
}

/* The partners strip, beside the call to action: the sponsors' logos on the logo plate,
   underlined in the event's brand colour, the evening sponsor and gold ones larger. When
   they don't fit, wall.js shows them a page at a time (the rest [hidden]). */
.wall__brand, .wall__cta { flex: none; }
.wall__brand { flex: 0 1 auto; }
.wall__partners {
  flex: 0 0 auto;
  max-width: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.wall__partners[hidden] { display: none; }
.wall__partners-label {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-scrim-soft);
}
.wall__partners-plate {
  list-style: none;
  margin: 0;
  box-sizing: border-box;
  height: 58px;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 6px 16px 3px;
  overflow: hidden;
  border-radius: var(--r-thumb);
  border-bottom: 3px solid var(--brand);
  background: var(--logo-plate);
  transition: opacity 400ms ease-in-out;
}
.wall__partners-plate.is-turning { opacity: 0; }
.wall__partner { flex: none; display: flex; align-items: center; }
.wall__partner[hidden] { display: none; }
/* A light logo (siteconfig.Sponsor.logo_light) on its own dark chip within the light plate. */
.wall__partner.is-light { padding: 4px 8px; border-radius: var(--r-thumb); background: var(--logo-plate-dark); }
.wall__partner img { display: block; height: 26px; width: auto; max-width: 140px; object-fit: contain; }
.wall__partner--gold img, .wall__partner--evening img { height: 40px; max-width: 200px; }
@media (prefers-reduced-motion: reduce) { .wall__partners-plate { transition: none; } }
/* With partners on a 720p screen, the counter's two numbers stack to leave them room. */
@media (max-width: 1599px) {
  .wall--partners .wall__counter { flex-direction: column; align-items: center; gap: 2px; }
  .wall--partners .wall__count-sep { display: none; }
}

/* A 720p TV is the design target; scale the furniture down on smaller screens. */
@media (max-width: 900px) {
  .wall__band { height: 76px; padding: 0 20px; gap: 12px; }
  .wall__logo { width: 42px; height: 42px; }
  .wall__name { font-size: 16px; }
  .wall__sub, .wall__cta-title { font-size: 12px; }
  .wall__qr { width: 52px; height: 52px; }
  .wall__counter { font-size: 14px; gap: 6px; }
  .wall__count b { font-size: 18px; }
  .wall__slide--top { padding: 16px 20px; }
  .wall__top-label { font-size: 14px; padding: 8px 14px; }
  .wall__partners-plate { height: 46px; gap: 14px; padding: 4px 10px 2px; }
  .wall__partner img { height: 20px; max-width: 100px; }
  .wall__partner--gold img, .wall__partner--evening img { height: 30px; max-width: 140px; }
}
@media (max-width: 700px) {
  .wall__counter { display: none; }
  .wall__partners-label { display: none; }
}

/* Beside a guest's photo: a code to report it from a phone (wall.js shows it while one is on screen). */
.wall__report {
  position: absolute;
  top: 24px; left: 40px;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  background: var(--scrim-strong);
  color: var(--on-scrim);
  font-size: 13px;
  font-weight: 600;
  z-index: 2;
}
.wall__report[hidden] { display: none; }
.wall__report-qr { width: 96px; height: 96px; border-radius: 6px; background: #fff; }
@media (max-width: 700px) {
  .wall__report { top: 16px; left: 20px; }
  .wall__report-qr { width: 64px; height: 64px; }
}
