/* Live Photo Wall (ORDER EVENT-1): the guest page, the hosts' app and the wall. Four looks. Old devices first (as
   board.css): no flex gap, no inset, no aspect-ratio, no clamp, no dvh. */
body.guest { --bg: #fbf7f1; --card: #fff; --ink: #1f1d2b; --mute: #6b6577; --accent: #b4235f; --accent-ink: #fff; background: var(--bg); color: var(--ink); font-size: 16px; }
/* WALL-LOOK: four looks for the wall, the guest page and the signs; fonts self hosted (/ideas/a/fonts) */
@font-face { font-family: "Playfair Display"; src: url("/ideas/a/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/ideas/a/fonts/fredoka-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("/ideas/a/fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("/ideas/a/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
.look-elegant { --bg: #fbf7f0; --accent: #9b6b3f; --accent-ink: #fff; --g1: #fbf6ee; --g2: #ecdcc6; --pi: #2d2420; --disp: "Playfair Display", Georgia, serif; }
.look-festive { --bg: #fff4ec; --accent: #e8456b; --accent-ink: #fff; --g1: #ff5f8f; --g2: #ffb347; --pi: #ffffff; --disp: "Fredoka", "Arial Rounded MT Bold", sans-serif; }
.look-night { --bg: #14131f; --card: #1f1d2e; --ink: #f1eef8; --mute: #a7a1b8; --accent: #b99cff; --accent-ink: #14131f; --g1: #15132b; --g2: #3a1f5c; --pi: #f2efff; --disp: "Josefin Sans", "Futura", sans-serif; }
.look-pastel { --bg: #f3f7f4; --accent: #5f8fae; --accent-ink: #fff; --g1: #dff3ec; --g2: #e9e1f7; --pi: #2f3a40; --disp: "DM Serif Display", Georgia, serif; }
.guest .g-head h1 { font-family: var(--disp, inherit); font-weight: 600; }
.g-wrap { max-width: 640px; margin: 0 auto; padding: 18px 16px 40px; }
.g-head h1 { font-size: 26px; line-height: 1.2; margin: 6px 0 14px; word-wrap: break-word; }
.g-add { display: block; position: relative; overflow: hidden; text-align: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 20px; border-radius: 16px; padding: 20px 16px; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.g-add input, .g-m input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.g-honest { font-size: 13.5px; color: var(--mute); margin: 10px 2px 8px; line-height: 1.45; }
.g-full { font-weight: 700; color: var(--accent); margin: 6px 0; }
.g-full:empty { display: none; }
.g-queue { margin: 6px 0 10px; }
.q-row { display: flex; justify-content: space-between; background: var(--card); border-radius: 10px; padding: 8px 12px; margin-bottom: 6px; font-size: 14px; }
.q-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 10px; color: var(--mute); }
.q-st { font-weight: 700; white-space: nowrap; } .q-shown { color: #2f7d4f; } .q-failed, .q-full { color: #b42318; white-space: normal; text-align: right; }
.g-nick input { width: 100%; min-height: 46px; border: 1.5px solid rgba(0,0,0,.15); border-radius: 12px; padding: 10px 12px; font-size: 16px; background: var(--card); color: var(--ink); }
.guest h2 { font-size: 19px; margin: 22px 0 6px; }
.guest .note { color: var(--mute); font-size: 14px; margin: 0 0 8px; }
.g-ms { display: flex; flex-wrap: wrap; margin-right: -8px; }
.g-m { position: relative; overflow: hidden; display: block; width: calc(50% - 8px); margin: 0 8px 8px 0; background: var(--card); border-radius: 12px; padding: 12px; cursor: pointer; border: 1.5px solid rgba(0,0,0,.08); }
.g-mt { display: block; font-weight: 700; line-height: 1.3; word-wrap: break-word; }
.g-mp { display: block; color: var(--accent); font-weight: 800; font-size: 14px; margin-top: 4px; }
.g-grid { display: flex; flex-wrap: wrap; margin-right: -6px; }
.g-cell { position: relative; width: calc(33.333% - 6px); margin: 0 6px 6px 0; background: var(--card); border-radius: 10px; overflow: hidden; }
.g-cell img { display: block; width: 100%; height: 110px; object-fit: cover; }
.g-by { display: block; font-size: 12px; padding: 4px 6px 0; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-badge { position: absolute; left: 4px; top: 4px; right: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; border-radius: 6px; padding: 2px 5px; }
.g-heart, .g-rm, .g-rp { border: 0; background: transparent; color: var(--ink); font-size: 13px; padding: 6px; font-weight: 700; }
.g-heart.on { color: var(--accent); } .g-rp { color: var(--mute); font-weight: 500; float: right; }
.g-rm { display: block; width: 100%; color: #b42318; }
.g-more { height: 40px; }
.g-keep { margin-top: 24px; text-align: center; }
@media (min-width: 560px) { .g-cell { width: calc(25% - 6px); } .g-m { width: calc(33.333% - 8px); } }

/* the hosts' app (board.css .app styles, plus) */
.host .h-grid { display: flex; flex-wrap: wrap; margin-right: -6px; }
.host .h-cell { width: calc(50% - 6px); margin: 0 6px 8px 0; background: #f6f2ea; border-radius: 10px; overflow: hidden; }
.host .h-cell.off img { opacity: .4; }
.host .h-cell img { display: block; width: 100%; height: 140px; object-fit: cover; }
.host .h-by { display: block; font-size: 12.5px; color: #5f6670; padding: 4px 8px 0; }
.host .h-acts { padding: 4px 6px 6px; }
.host .chip.warn { border-color: #b42318; color: #b42318; }
.host .h-qr { display: block; width: 220px; height: 220px; margin: 4px auto 8px; }
.remote .btn { display: block; width: 100%; margin-bottom: 8px; }

/* the wall (WALL-LOOK): the photo as a print over its own blurred backdrop; transform and opacity only */
body.wall { background: #111; color: #fff; overflow: hidden; }
.wb { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-size: cover; background-position: center; opacity: 0;
  -webkit-filter: blur(4vmin) brightness(.42) saturate(1.25); filter: blur(4vmin) brightness(.42) saturate(1.25);
  -webkit-transform: scale(1.15); transform: scale(1.15); -webkit-transition: opacity .9s; transition: opacity .9s; }
.wb.on { opacity: 1; }
.wb.plain, .noblur .wb { -webkit-filter: none; filter: none; -webkit-transform: none; transform: none; background-size: cover;
  background-image: -webkit-linear-gradient(315deg, var(--g1, #222), var(--g2, #444)) !important; background-image: linear-gradient(135deg, var(--g1, #222), var(--g2, #444)) !important; }
.ws { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.wsl { position: absolute; left: 0; top: 0; right: 0; bottom: 0; opacity: 0; -webkit-transition: opacity .9s; transition: opacity .9s; }
.wsl.on { opacity: 1; } .wsl.out { opacity: 0; }
.wt { position: absolute; left: 3.5vmin; top: 3vmin; right: 3.5vmin; display: flex; justify-content: space-between; align-items: center; z-index: 3; pointer-events: none; }
.wt-name, .wt-count { background: rgba(0,0,0,.32); border-radius: 999px; padding: .6vmin 2vmin; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.wt-name { font-family: var(--disp); font-weight: 600; font-size: 3.6vmin; max-width: 62%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-count { font-size: 2.2vmin; font-weight: 600; opacity: .92; }
.wt-count:empty { display: none; }
.wq { position: absolute; right: 3vmin; bottom: 3vmin; width: 17vmin; background: #fff; color: #111; border-radius: 1.6vmin; padding: 1.1vmin; text-align: center; z-index: 3;
  box-shadow: 0 1.5vmin 4vmin rgba(0,0,0,.35); }
.wq img { display: block; width: 100%; }
.wq b { display: block; font-size: 1.75vmin; margin-top: .5vmin; line-height: 1.2; } .wq span { display: block; font-size: 1.35vmin; opacity: .7; }
.wq .tv-status { position: absolute; right: .7vmin; top: .7vmin; }
/* the print */
.wp { display: inline-block; position: relative; background: #fff; border: .55vmin solid rgba(255,255,255,.95); border-radius: 1.3vmin; overflow: hidden;
  box-shadow: 0 2.4vmin 7vmin rgba(0,0,0,.55), 0 .4vmin 1.2vmin rgba(0,0,0,.3); }
.wp img { display: block; }
.wph { position: absolute; left: 5vw; top: 12vh; bottom: 9vh; right: 35vw; display: flex; align-items: center; justify-content: center; }
.wph .wp img { max-width: 57vw; max-height: 75vh; }
.wp.zoom img { -webkit-animation: wz 12s linear forwards; animation: wz 12s linear forwards; }
@-webkit-keyframes wz { from { -webkit-transform: scale(1); } to { -webkit-transform: scale(1.07); } }
@keyframes wz { from { transform: scale(1); } to { transform: scale(1.07); } }
.wi { position: absolute; right: 4vw; top: 42%; width: 27vw; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.wi-new { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 2.2vmin; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px; padding: .6vmin 1.8vmin; margin-bottom: 1.6vmin; }
.wi-nick { font-family: var(--disp); font-weight: 600; font-size: 6vmin; line-height: 1.08; text-shadow: 0 .3vmin 2vmin rgba(0,0,0,.5); word-wrap: break-word; }
.wi-mission { display: inline-block; margin-top: 1.6vmin; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .7vmin 2vmin;
  font-size: 2.4vmin; font-weight: 600; }
.wi-hearts { margin-top: 1.4vmin; font-size: 3vmin; font-weight: 700; color: #ff9ec0; }
@media (orientation: portrait) {
  .wph { left: 6vw; right: 6vw; top: 11vh; bottom: 31vh; }
  .wph .wp img { max-width: 86vw; max-height: 56vh; }
  .wi { left: 6vw; right: 26vmin; top: auto; bottom: 8vh; width: auto; -webkit-transform: none; transform: none; }
  .wi-nick { font-size: 5.4vmin; }
}
/* collage: tilted prints */
.wsl-collage .tilt { position: absolute; width: 27vw; }
.wsl-collage .tilt img { width: 100%; height: auto; }
.wp-cap { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 1.8vmin; font-weight: 700; padding: .6vmin 1vmin; text-align: left; }
.t0 { left: 5vw; top: 14vh; -webkit-transform: rotate(-6deg); transform: rotate(-6deg); }
.t1 { left: 36vw; top: 9vh; -webkit-transform: rotate(4deg); transform: rotate(4deg); }
.t2 { left: 67vw; top: 15vh; -webkit-transform: rotate(-3deg); transform: rotate(-3deg); width: 25vw; }
.t3 { left: 17vw; top: 50vh; -webkit-transform: rotate(5deg); transform: rotate(5deg); }
.t4 { left: 50vw; top: 52vh; -webkit-transform: rotate(-5deg); transform: rotate(-5deg); }
/* SLICE C: awards and the mosaic */
.wa-k { display: inline-block; background: var(--accent); color: var(--accent-ink); font-size: 1.9vmin; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; padding: .5vmin 1.6vmin; margin-bottom: 1.4vmin; }
.wa-name { font-family: var(--disp); font-weight: 600; font-size: 4.4vmin; line-height: 1.15; margin-bottom: 1.6vmin; text-shadow: 0 .3vmin 2vmin rgba(0,0,0,.5); }
.wa-line { font-size: 3vmin; font-weight: 700; margin-top: 1vmin; text-shadow: 0 .3vmin 2vmin rgba(0,0,0,.5); }
.wsl-mosaic { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: #000; }
.wm-t { position: absolute; overflow: hidden; }
.wm-f { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; -webkit-transition: opacity 1.4s ease; transition: opacity 1.4s ease; }
.wm-f.on { opacity: 1; }
/* DOOR C: the midnight countdown and the new year (transform and opacity only) */
.wsl-cd { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; text-align: center; color: #fff; background: rgba(0,0,0,.34); }
.wcd-k { font-family: var(--disp); font-weight: 600; font-size: 6vmin; margin: 0 0 1vmin; text-shadow: 0 .3vmin 2vmin rgba(0,0,0,.4); }
.wcd-n { font-family: var(--disp); font-weight: 600; font-size: 42vmin; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1vmin 5vmin rgba(0,0,0,.5); }
.wcd-n.p { -webkit-animation: wcdp .5s ease-out; animation: wcdp .5s ease-out; }
.wcd-e { font-size: 3.4vmin; margin: 2vmin 0 0; }
@-webkit-keyframes wcdp { from { -webkit-transform: scale(1.2); opacity: .5; } to { -webkit-transform: scale(1); opacity: 1; } }
@keyframes wcdp { from { transform: scale(1.2); opacity: .5; } to { transform: scale(1); opacity: 1; } }
.wny { position: absolute; left: 0; right: 0; top: 34%; text-align: center; z-index: 3; -webkit-animation: wnyin 1.4s ease-out; animation: wnyin 1.4s ease-out; }
.wny h1 { display: inline-block; margin: 0; font-family: var(--disp); font-weight: 600; font-size: 15vmin; line-height: 1.05; color: #fff; background: rgba(0,0,0,.42); border-radius: 3vmin; padding: 2vmin 5vmin; text-shadow: 0 .6vmin 3vmin rgba(0,0,0,.5); }
@-webkit-keyframes wnyin { from { -webkit-transform: scale(.6); opacity: 0; } to { -webkit-transform: scale(1); opacity: 1; } }
@keyframes wnyin { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wc-title { position: absolute; left: 4vmin; bottom: 4vmin; font-family: var(--disp); font-size: 4vmin; font-weight: 600; text-shadow: 0 .3vmin 2vmin rgba(0,0,0,.5); }
@media (orientation: portrait) {
  .wsl-collage .tilt { width: 44vw; } .t0 { left: 4vw; top: 12vh; } .t1 { left: 50vw; top: 10vh; } .t2 { left: 6vw; top: 42vh; width: 42vw; }
  .t3 { left: 50vw; top: 40vh; } .t4 { left: 26vw; top: 64vh; }
}
/* leaderboard: a podium with coloured initials, then rows */
.wsl-lb { display: flex; flex-direction: column; align-items: center; padding-top: 10vh; color: var(--pi); }
.wsl-lb h1 { font-family: var(--disp); font-weight: 600; font-size: 6.4vmin; margin: 0 0 3vh; }
.wlb-empty { font-size: 3vmin; opacity: .85; }
.wlb-pod { display: flex; align-items: flex-end; justify-content: center; }
.wlb-step { width: 24vmin; margin: 0 1.2vmin; text-align: center; }
.wlb-init { width: 12vmin; height: 12vmin; margin: 0 auto 1vmin; border-radius: 50%; line-height: 12vmin; font-weight: 800; font-size: 4.6vmin; color: #fff;
  box-shadow: 0 1vmin 3vmin rgba(0,0,0,.25); border: .5vmin solid rgba(255,255,255,.9); }
.s1 .wlb-init { background: #d9a520; width: 14vmin; height: 14vmin; line-height: 14vmin; font-size: 5.4vmin; } .s2 .wlb-init { background: #8f9bb3; } .s3 .wlb-init { background: #c07a4a; }
.wlb-nick { font-weight: 800; font-size: 3vmin; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wlb-pts { font-size: 2.2vmin; opacity: .85; margin: .4vmin 0 1vmin; white-space: nowrap; }
.wlb-block { background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.4); border-radius: 1.2vmin 1.2vmin 0 0; font-weight: 800; font-size: 5vmin; color: inherit; padding-top: 1.4vmin; }
.look-elegant .wlb-block, .look-pastel .wlb-block { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.12); }
.s1 .wlb-block { height: 18vmin; } .s2 .wlb-block { height: 13vmin; } .s3 .wlb-block { height: 9vmin; }
.wlb-rows { width: 70vmin; max-width: 86vw; margin-top: 2.4vh; }
.wlb-row { display: flex; align-items: center; font-size: 2.9vmin; padding: 1vmin 1.6vmin; border-bottom: 1px solid rgba(127,127,127,.3); }
.wlb-row b { width: 5vmin; } .wlb-n { -webkit-box-flex: 1; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wlb-p { margin-left: 2.4vmin; } .wlb-h { margin-left: 2.4vmin; color: #e85d8f; }
/* join: the event's name, a large QR, the newest photos around it */
.wsl-join { color: var(--pi); }
.wj-mid { position: absolute; left: 50%; top: 50%; width: 64vmin; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.wj-mid h1 { font-family: var(--disp); font-weight: 600; font-size: 6.4vmin; line-height: 1.1; margin: 0 0 2.4vmin; }
.wj-qr { width: 36vmin; height: 36vmin; background: #fff; padding: 1.6vmin; border-radius: 2vmin; box-shadow: 0 2vmin 6vmin rgba(0,0,0,.3); }
.wj-big { font-size: 4.4vmin; font-weight: 800; margin: 2.4vmin 0 0; } .wj-sub { font-size: 2.8vmin; margin: .8vmin 0 0; opacity: .85; }
.wj-url { font-size: 2.6vmin; font-weight: 700; margin-top: 1.4vmin; }
.around { position: absolute; width: 17vw; opacity: .95; } .around img { width: 100%; height: auto; }
.a0 { left: 4vw; top: 14vh; -webkit-transform: rotate(-8deg); transform: rotate(-8deg); } .a1 { left: 6vw; top: 52vh; -webkit-transform: rotate(6deg); transform: rotate(6deg); }
.a2 { right: 5vw; top: 13vh; -webkit-transform: rotate(7deg); transform: rotate(7deg); } .a3 { right: 4vw; top: 50vh; -webkit-transform: rotate(-5deg); transform: rotate(-5deg); }
.a4 { left: 22vw; top: 72vh; -webkit-transform: rotate(-3deg); transform: rotate(-3deg); width: 13vw; } .a5 { right: 22vw; top: 74vh; -webkit-transform: rotate(4deg); transform: rotate(4deg); width: 13vw; }
@media (orientation: portrait) { .around { width: 26vw; } .a0 { top: 10vh; } .a2 { top: 10vh; } .a1 { top: 74vh; } .a3 { top: 72vh; } .a4, .a5 { display: none; } .wj-mid { width: 80vmin; } }
.wsample { position: absolute; left: 50%; top: 2.4vmin; -webkit-transform: translateX(-50%); transform: translateX(-50%); z-index: 4; background: rgba(0,0,0,.5); color: #fff; font-size: 1.8vmin; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; padding: .5vmin 1.8vmin; }

/* SLICE C: the photo booth, full screen on a tablet or phone */
body.booth { margin: 0; background: #111; color: #fff; overflow: hidden; }
.bo { position: fixed; left: 0; top: 0; right: 0; bottom: 0; }
.bo-msg { margin: 30vh 24px 8px; text-align: center; font-size: 22px; font-weight: 700; }
.bo-sub { text-align: center; color: #bbb; margin: 0 24px; }
.bo-top { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; padding: 14px 18px; background: rgba(0,0,0,.45); }
.bo-name { font-family: var(--disp, inherit); font-weight: 600; font-size: 20px; }
.bo-tag { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ddd; padding-top: 4px; }
.bo-stage { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #000; }
.bo-video { width: 100%; height: 100%; object-fit: cover; -webkit-transform: scaleX(-1); transform: scaleX(-1); }
.bo-count { position: absolute; left: 0; right: 0; top: 30%; z-index: 4; text-align: center; font-size: 34vmin; font-weight: 800; line-height: 1; opacity: 0; text-shadow: 0 1vmin 4vmin rgba(0,0,0,.6); }
.bo-count.on { -webkit-animation: bocount 1s ease-out; animation: bocount 1s ease-out; }
@-webkit-keyframes bocount { from { -webkit-transform: scale(1.3); opacity: 1; } to { -webkit-transform: scale(.9); opacity: 0; } }
@keyframes bocount { from { transform: scale(1.3); opacity: 1; } to { transform: scale(.9); opacity: 0; } }
.bo-flash { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 5; background: #fff; opacity: 0; pointer-events: none; -webkit-transition: opacity .4s ease; transition: opacity .4s ease; }
.bo-flash.on { opacity: 1; -webkit-transition: none; transition: none; }
.bo-btn { position: absolute; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 4; -webkit-transform: translateX(-50%); transform: translateX(-50%); min-width: 240px; min-height: 84px; border: 6px solid rgba(255,255,255,.85); border-radius: 999px; background: var(--accent, #e8456b); color: #fff; font-size: 26px; font-weight: 800; padding: 0 34px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.bo-btn:disabled { opacity: .55; }
.bo-note { position: absolute; left: 16px; right: 16px; bottom: calc(126px + env(safe-area-inset-bottom, 0px)); z-index: 4; text-align: center; font-size: 22px; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,.7); margin: 0; }
