/* Not My Event: "A Lakeside Love Story" (public/templates/a-lakeside-love-story.html). The world is one WebGL canvas that fills the screen; everything on top of it
   is plain HTML that only fades and slides (opacity and transform, never filters, sizes or positions in motion). */
:root {
  --ink: #4A3236; --ink2: #6E5052; --gold: #B88A45; --gold-hi: #F1D49A; --gold-lo: #8A5F26; --blush: #F4D7DA; --cream: #FFF8F3;
  --serif: 'Cormorant Garamond', Georgia, serif; --script: 'Pinyon Script', 'Great Vibes', cursive; --caps: 'Cinzel', 'Cormorant Garamond', serif; --ui: Inter, system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  /* the album at the bottom: as wide as the screen allows, never taller than about a third of it */
  --abw: min(98vw, 640px, 54vh); --abh: calc(var(--abw) * 1024 / 1536); --abb: calc(var(--safe-b) + 30px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { background: #E9C3C8; color: var(--ink); font-family: var(--serif); overflow: hidden; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 8px; top: -60px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.linkish { background: none; border: 0; padding: 6px 2px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* the world */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#still { position: fixed; inset: 0; display: none; background: linear-gradient(180deg, #9C98C6 0%, #CDA9D2 18%, #F0B9C6 30%, #FBD3B6 38%, #FFE3B9 40.5%, #5D5A78 40.6%, #6D6C93 41.5%, #A99AB8 52%, #8E86A8 70%, #6E6A90 100%); }
#still img { position: absolute; left: 50%; top: 40%; width: min(64vw, 560px); transform: translate(-50%, -56%); }
body.nogl #gl { display: none; }
body.nogl #still { display: block; }
#scrim { position: fixed; left: 0; right: 0; bottom: 0; height: 46vh; background: linear-gradient(180deg, rgba(40,22,34,0), rgba(40,22,34,.42)); opacity: 0; pointer-events: none; }

/* the film's words */
.line { position: fixed; left: 0; right: 0; bottom: calc(var(--safe-b) + 15vh); margin: 0; padding: 0 22px; text-align: center; opacity: 0; pointer-events: none; will-change: opacity, transform; }
/* (each line on a soft dark plate, so it reads over the bright sky, the petals and the water alike: the owner, 2026-11-21, "It kind of blends in") */
.line span { display: inline-block; max-width: 30ch; padding: .3em .95em .36em; border-radius: 22px; background: rgba(58,28,44,.46); box-shadow: 0 0 28px 6px rgba(58,28,44,.26); font: italic 600 clamp(24px, 3.8vh, 38px)/1.25 var(--serif); color: #FFF9F2; text-shadow: 0 1px 2px rgba(40,18,30,.6); }

/* the opening: the couple's names big in the sky, in gold on a soft light glow, and Touch to begin as a button under them (the owner, 2026-11-21: "the font here
   is just can hardly see it, especially for the entry of Sophia and Daniel. That should be up in the sky"); the scene itself is what is touched (#hit) */
#hit { position: fixed; inset: 0; z-index: 20; width: 100%; height: 100%; background: transparent; border: 0; padding: 0; cursor: pointer; }
/* (centred, and as large as the screen's width allows, so the names stay on one line in the middle: when they were too big for a phone they broke onto two lines
   that sat to the left; the owner, 2026-11-22, "Why did we move the name Sophia and Daniel off to the left?") */
#intro { position: fixed; inset: 0; z-index: 21; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: calc(var(--safe-t) + 11vh) 14px 0; text-align: center; pointer-events: none; transition: opacity .6s ease; }
#intro::before { content: ''; position: absolute; left: 50%; top: calc(var(--safe-t) + 3vh); width: min(118vw, 900px); height: 36vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,247,240,.7), rgba(255,247,240,.38) 55%, rgba(255,247,240,0)); }
.i-names { position: relative; max-width: 100%; margin: 0; padding: 0 .14em .1em; text-align: center; text-wrap: balance; font: 400 clamp(40px, min(10vh, 12.5vw), 112px)/1.12 var(--script); color: #7E5220; text-shadow: 0 1px 0 rgba(255,250,242,.95), 0 0 12px rgba(255,246,236,.95), 0 0 26px rgba(255,240,228,.7); }
.i-tap { position: relative; display: inline-flex; align-items: center; min-height: 46px; margin: 1.4vh 0 0; padding: 0 26px; border-radius: 999px; border: 1.5px solid #E3C27C; background: linear-gradient(180deg, rgba(126,88,56,.95), rgba(82,54,34,.95)); color: #FFF2DA; font: 600 clamp(14px, 2vh, 17px)/1 var(--caps); letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(40,22,18,.3), inset 0 1px 0 rgba(255,230,180,.45); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
/* (in the same column, just under Touch to begin, however the names fall; the only thing in the opening that takes a touch of its own) */
#b-quiet { position: relative; z-index: 22; margin: 14px 0 0; pointer-events: auto; padding: 8px 16px; border-radius: 999px; background: rgba(255,248,243,.86); box-shadow: 0 3px 10px rgba(60,30,40,.14); font: 600 15px/1 var(--serif); color: #5B3A2E; transition: opacity .6s ease; }
body:not([data-s="intro"]) #intro, body:not([data-s="intro"]) #b-quiet { opacity: 0; pointer-events: none; }
body:not([data-s="intro"]) #hit { display: none; }

/* the title in the sky */
#title { position: fixed; z-index: 6; left: 0; right: 0; top: calc(var(--safe-t) + 2.6vh); margin: 0 auto; max-width: 900px; padding: 0 16px; text-align: center; pointer-events: none; }
#title > * { opacity: 0; will-change: opacity, transform; }
#title::before { content: ''; position: absolute; left: 50%; top: -6vh; width: min(120vw, 900px); height: 38vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,242,234,.62), rgba(255,242,234,.3) 60%, rgba(255,242,234,0)); z-index: -1; pointer-events: none; }
/* in the barn the title sits on a light card, so it reads over the wood (it fades with the title) */
#t-card { position: absolute; left: 0; right: 0; top: -3vh; bottom: -2.4vh; margin: 0 auto; max-width: 680px; z-index: -1; background: radial-gradient(closest-side, rgba(255,247,240,.94), rgba(255,247,240,.8) 58%, rgba(255,247,240,0)); pointer-events: none; }
/* (2026-11-21, the owner: "Everything at the top, like the date and time, is so small you can hardly see it. We need to make it pop": darker, larger, a light halo,
   and the date and place on a cream ribbon of their own) */
.lead { margin: 0; font: 700 clamp(15px, 2.4vh, 24px)/1.2 var(--caps); letter-spacing: .06em; color: #45281C; text-shadow: 0 1px 0 rgba(255,248,240,.9), 0 0 12px rgba(255,244,236,.9); }
#t-head { margin: -.05em 0 0; font: 400 clamp(58px, 9.8vh, 112px)/1 var(--script); color: #A87A35; background: linear-gradient(180deg, #E9C77E 0%, #C49448 42%, #8E6123 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: 0 .12em .06em; }
.flour { display: block; width: clamp(150px, 26vh, 240px); height: auto; margin: -.2vh auto 0; }
.names { margin: .3vh 0 0; font: 400 clamp(32px, 5vh, 54px)/1.15 var(--script); color: #57321A; text-shadow: 0 1px 0 rgba(255,248,240,.95), 0 0 14px rgba(255,244,236,.9); }
.when:empty { display: none; }
.when { display: table; margin: .8vh auto 0; padding: .42em 1.1em .38em; border-radius: 999px; border: 1px solid rgba(184,138,69,.6); background: rgba(255,249,243,.9); box-shadow: 0 4px 14px rgba(60,30,40,.18); font: 700 clamp(13px, 2.05vh, 19px)/1.35 var(--caps); letter-spacing: .1em; text-transform: uppercase; color: #45281C; }

/* the album on the dock; its photos sit behind the page, in its three see-through frames */
#album { position: fixed; z-index: 7; left: 50%; bottom: var(--abb); width: var(--abw); height: var(--abh); margin-left: calc(var(--abw) / -2); opacity: 0; pointer-events: none; will-change: opacity, transform; }
#ab-box { position: relative; width: 100%; height: 100%; cursor: pointer; outline-offset: 4px; }
/* brought up: the same album, bigger, in the middle of the dimmed scene (lakeside.js places it: both pages on a wide screen, one page at a time on a tall phone) */
#album.big { z-index: 72; left: var(--bl); top: var(--bt); bottom: auto; width: var(--bw); height: var(--bh); margin-left: 0; touch-action: none; }
body.album-open #acts, body.album-open #b-explore { pointer-events: none; }
.ab-in { position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; transform-origin: 0 0; }
.ab-in .ph { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; background: #F7EEE8; }
.ab-in .ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.ab-in .ph::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 18px rgba(80,44,30,.28); pointer-events: none; }
.ab-in .fill { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; background: radial-gradient(120% 120% at 30% 20%, #FFF7F2, #F3DAD6); color: #9A6A3A; font: 400 52px/1.05 var(--script); padding: 12px; }
.ab-in .fill small { display: block; font: 600 22px/1.3 var(--caps); letter-spacing: .14em; color: #8A6440; }
.ab-in .pg { position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; max-width: none; pointer-events: none; user-select: none; }
/* a page turning is the album's own page: its front is the right page (x 762 to 1472 of the picture), its back the left page (x 52 to 762), each cut to the
   paper's outline; it swings about the spine (x 762). The outlines were measured from the paper's edges. */
.ab-in .turn { position: absolute; left: 762px; top: 440px; width: 710px; height: 510px; transform-origin: 0 50%; transform-style: preserve-3d; opacity: 0; pointer-events: none; will-change: transform; }
.ab-in .face { position: absolute; left: 0; top: 0; width: 710px; height: 510px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.ab-in .face.fr { clip-path: polygon(0 132px, 28px 116px, 148px 58px, 548px 12px, 696px 422px, 178px 428px, 28px 478px, 0 490px); }
.ab-in .face.bk { transform: rotateY(180deg); clip-path: polygon(138px 34px, 348px 57px, 588px 92px, 648px 135px, 710px 160px, 710px 490px, 648px 472px, 348px 449px, 108px 429px, 3px 465px); }
.ab-in .shade { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.ab-in .fr .shade { background: linear-gradient(90deg, rgba(70,40,30,.6), rgba(70,40,30,.12) 40%, rgba(70,40,30,0)); }
.ab-in .bk .shade { background: linear-gradient(270deg, rgba(70,40,30,.6), rgba(70,40,30,.12) 40%, rgba(70,40,30,0)); }
#ab-note { position: fixed; z-index: 8; left: 50%; bottom: calc(var(--abb) + var(--abh) * .03); transform: translateX(-50%); margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(255,248,243,.86); font: 600 11px/1.3 var(--ui); color: #6E5052; white-space: nowrap; pointer-events: none; }

/* the gold buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #E3C27C; background: linear-gradient(180deg, rgba(126,88,56,.94), rgba(82,54,34,.94)); color: #FFF2DA; font: 600 clamp(16px, 2.2vh, 19px)/1 var(--serif); letter-spacing: .02em; cursor: pointer; box-shadow: 0 6px 16px rgba(40,22,18,.28), inset 0 1px 0 rgba(255,230,180,.45); white-space: nowrap; }
.pill:hover { background: linear-gradient(180deg, rgba(140,98,62,.96), rgba(92,62,40,.96)); }
.pill svg { width: 21px; height: 21px; flex: none; color: #F2D08E; }
.pill b { font-weight: 600; color: #F2D08E; }
.pill.sm { min-height: 42px; min-width: 46px; padding: 0 14px; font-size: 24px; }
#acts { position: fixed; z-index: 9; left: 50%; bottom: calc(var(--safe-b) + 12px); width: min(96vw, 560px); margin-left: calc(min(96vw, 560px) / -2); display: flex; gap: 8px; opacity: 0; pointer-events: none; will-change: opacity, transform; }
#acts .pill { flex: 1 1 0; min-width: 0; padding: 0 10px; }
#b-explore { position: fixed; z-index: 9; right: max(10px, calc(50vw - var(--abw) / 2)); bottom: calc(var(--abb) + var(--abh) + 6px); min-height: 42px; padding: 0 14px; font-size: clamp(15px, 2vh, 17px); opacity: 0; pointer-events: none; will-change: opacity, transform; }
/* at the boat the film waits: To the Reception, on the left above the album, takes the camera on to the barn */
#b-go { position: fixed; z-index: 9; left: max(10px, calc(50vw - var(--abw) / 2)); bottom: calc(var(--abb) + var(--abh) + 6px); min-height: 42px; padding: 0 16px; font-size: clamp(15px, 2vh, 17px); opacity: 0; pointer-events: none; will-change: opacity, transform; transition: opacity .6s ease, transform .6s ease; }
@media (max-width: 389px) { .go-long { display: none; } }
/* while the barn's pictures are still on their way: "One moment…" (the camera goes on as soon as they are in) */
.go-wait { display: none; }
#b-go.wait > span:first-child, #b-go.wait > b { display: none; }
#b-go.wait > .go-wait { display: inline; }
/* in the barn the album stays behind on the dock: Explore Our Photos stands in the middle, just above the buttons */
body.inbarn #b-explore { left: 0; right: 0; margin: 0 auto; width: max-content; bottom: calc(var(--safe-b) + 68px); }
/* in the barn, at the end, RSVP glows softly gold (only its glow's opacity moves), so the reply is the next thing a guest sees to do (the owner, 2026-11-22) */
#b-rsvp { position: relative; }
body.inbarn[data-s="final"] #b-rsvp::after { content: ''; position: absolute; inset: -5px; border-radius: 999px; box-shadow: 0 0 0 2px rgba(241,212,154,.95), 0 0 20px 5px rgba(241,212,154,.6); pointer-events: none; animation: rsvpGlow 2.4s ease-in-out infinite; }
@keyframes rsvpGlow { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
body.inbarn #ab-note { opacity: 0; }
body[data-s="boat"] #acts, body[data-s="boat"] #b-explore, body[data-s="boat"] #album, body[data-s="boat"] #b-go,
body[data-s="final"] #acts, body[data-s="final"] #b-explore, body[data-s="final"]:not(.inbarn) #album, #album.big { pointer-events: auto; }
body.album-open #b-go { pointer-events: none; }

/* Skip during the film, Replay after it */
#b-skip { position: fixed; z-index: 30; left: 12px; top: calc(var(--safe-t) + 12px); min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,240,220,.7); background: rgba(70,40,48,.38); color: #FFF5EA; font: 600 13px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: opacity .4s ease; }
body[data-s="intro"] #b-skip { opacity: 0; pointer-events: none; }
#snd-hint { position: fixed; z-index: 30; right: 62px; top: calc(var(--safe-t) + 22px); margin: 0; font: 600 11px/1 var(--ui); color: #FFF5EA; text-shadow: 0 1px 3px rgba(50,24,36,.6); transition: opacity .5s ease; pointer-events: none; }
#snd-hint.gone, body[data-s="intro"] #snd-hint { opacity: 0; }

/* sheets: the reply, the details, the registry */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(46,26,36,.38); }
.sheet[hidden] { display: none; }
.sh-in { position: relative; width: min(100%, 580px); max-height: min(90vh, 900px); overflow: auto; -webkit-overflow-scrolling: touch; background: linear-gradient(180deg, #FFF9F5, #FBEFEA); border-radius: 22px 22px 0 0; padding: 26px 22px calc(var(--safe-b) + 26px); box-shadow: 0 -10px 40px rgba(40,20,30,.25); animation: rise .38s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) { .sheet { align-items: center; } .sh-in { border-radius: 22px; } }
.sh-x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(110,80,82,.1); font: 400 28px/1 var(--ui); color: var(--ink2); cursor: pointer; }
.sh-in h2 { margin: 2px 40px 4px 0; font: 400 40px/1.1 var(--script); color: #8E6123; }
.sh-in h3 { margin: 0 0 8px; font: 600 14px/1.3 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: #8A5F3A; }
.caps { margin: 0; font: 600 12px/1.3 var(--caps); letter-spacing: .18em; text-transform: uppercase; color: #8A6A5A; }
.lead2 { margin: 0 0 12px; font: 400 19px/1.45 var(--serif); color: var(--ink); }
.blk { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(184,138,69,.35); }
.rows { display: grid; gap: 8px; margin: 0; }
.rows > div { display: grid; grid-template-columns: 7.2em 1fr; gap: 10px; font: 400 18px/1.4 var(--serif); }
.rows dt, .rows .k { font: 600 15px/1.45 var(--serif); color: #8A6A5A; margin: 0; }
.rows dd { margin: 0; }
.qa { margin-top: 10px; font: 400 17px/1.4 var(--serif); }
.qa b { display: block; font-weight: 600; }
.acts2 { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: linear-gradient(180deg, #A27342, #7E5428); color: #FFF4E2; font: 600 18px/1 var(--serif); cursor: pointer; }
.btn.ghost { background: transparent; border: 1.5px solid #B88A45; color: #7E5428; min-height: 44px; font-size: 17px; }
.btn[disabled] { opacity: .6; }
.links { display: grid; gap: 8px; }
.links a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1.5px solid rgba(184,138,69,.55); color: #6E4426; text-decoration: none; font: 600 19px/1.2 var(--serif); background: rgba(255,255,255,.5); }
.sh-foot { margin: 22px 0 0; text-align: center; font: 500 17px/1 var(--serif); color: var(--ink2); }
/* the reply form */
form .f { display: grid; gap: 6px; margin: 0 0 14px; font: 600 16px/1.3 var(--serif); color: var(--ink2); }
form input[type="text"], form textarea, form select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid rgba(138,95,58,.4); background: #fff; font: 400 18px/1.3 var(--serif); color: var(--ink); }
form textarea { min-height: 70px; resize: vertical; }
.ans { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.ans label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgba(138,95,58,.35); background: rgba(255,255,255,.6); font: 600 18px/1.2 var(--serif); cursor: pointer; }
.ans input { width: 20px; height: 20px; accent-color: #9A6A34; }
.step { display: flex; align-items: center; gap: 12px; }
.step button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(138,95,58,.5); background: #fff; font: 600 22px/1 var(--ui); color: #7E5428; cursor: pointer; }
.step output { min-width: 2ch; text-align: center; font: 600 22px/1 var(--serif); }
#err { min-height: 1.2em; margin: 0 0 10px; font: 500 16px/1.3 var(--serif); color: #6E5052; }
#err.err { color: #A3313B; }
.going { margin: 0 0 12px; font: 500 17px/1.3 var(--serif); color: var(--ink2); }
#done h3 { margin: 6px 0; font: 400 36px/1.1 var(--script); color: #8E6123; letter-spacing: 0; text-transform: none; }
#done p { font: 400 19px/1.45 var(--serif); }

/* the album, opened */
/* behind the album brought up: the scene dimmed, the captions of the page and the page turns at the bottom, Close at the top right */
#viewer { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 12px calc(var(--safe-b) + 16px); background: radial-gradient(120% 90% at 50% 40%, rgba(70,40,54,.6), rgba(30,16,26,.86)); }
#viewer[hidden] { display: none; }
#vw-cap { position: relative; z-index: 73; min-height: 1.4em; margin: 0; padding: 0 16px; text-align: center; font: italic 500 clamp(18px, 2.6vh, 24px)/1.35 var(--serif); color: #FFF4EA; }
.vw-nav { display: flex; align-items: center; gap: 16px; font: 600 15px/1 var(--serif); letter-spacing: .04em; color: #FFF4EA; }
.vw-nav .pill[disabled] { opacity: .4; cursor: default; }
#vw-close { position: fixed; right: 12px; top: calc(var(--safe-t) + 66px); background: rgba(255,248,243,.92); }

/* a photo from the barn's board, brought up: the photo on its white polaroid card; the photos on the board show they can be tapped */
#gl.pick { cursor: pointer; }
#lb { position: fixed; inset: 0; z-index: 74; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: calc(var(--safe-t) + 20px) 12px calc(var(--safe-b) + 16px); background: radial-gradient(120% 90% at 50% 40%, rgba(70,40,54,.62), rgba(30,16,26,.88)); }
#lb[hidden] { display: none; }
#lb-fig { margin: 0; padding: 12px 12px 0; max-width: 94vw; background: #FBF8F2; border-radius: 3px; box-shadow: 0 18px 50px rgba(20,10,16,.5); animation: rise .38s cubic-bezier(.2,.8,.2,1); }
#lb-img { display: block; max-width: calc(94vw - 24px); max-height: calc(100vh - 230px); width: auto; height: auto; cursor: pointer; }
#lb-cap { min-height: 1.4em; padding: 10px 6px 14px; text-align: center; font: italic 500 clamp(17px, 2.4vh, 22px)/1.3 var(--serif); color: #5B3A2E; }
#lb-close { position: fixed; right: 12px; top: calc(var(--safe-t) + 66px); background: rgba(255,248,243,.92); }

/* a sideways phone: everything a little smaller so the boat keeps its band in the middle */
@media (orientation: landscape) and (max-height: 520px) {
  #title { top: calc(var(--safe-t) + 6px); }
  .lead { font-size: 12px; }
  #t-head { font-size: 44px; }
  .flour { width: 120px; }
  .names { font-size: 24px; }
  .when { font-size: 11px; }
  .i-names { font-size: 44px; }
  :root { --abw: min(60vw, 44vh * 1.5); --abb: calc(var(--safe-b) + 54px); }
  #acts { width: min(70vw, 460px); margin-left: calc(min(70vw, 460px) / -2); bottom: calc(var(--safe-b) + 6px); }
  #acts .pill, #b-explore, #b-go { min-height: 40px; }
  body.inbarn #b-explore { bottom: calc(var(--safe-b) + 54px); }
  .line { bottom: 22vh; }
}
body.rm *, body.rm *::before, body.rm *::after { animation: none !important; transition: none !important; }
