/* NoWayOut Vienna · the combined design · room.css
   The room page: The Nun, School of Magic, The Unknown, Da Vinci, Mission Belvedere (tools/make_room.py). Needs base.css and picker.css; uses their parts and adds only what this page has of its own.
   Order on a phone:
     1 the black first sheet: photograph, the room's name set across its lower edge, facts, place
     2 the controls on paper: day and players, the price for them, this room's slots as one row, the one red button, the review line
     3 the full gallery and story   4 the booking step (the lead's picker, inline)      5 the black sheet: the live actor, or the room itself
       (3b the lightbox)               with the review line (C15: it stays with the step)   (a room without an actor: .rin, section 5b)
     5c why this game here, a guest's words (after the step on a phone, beside it on a wide screen; owner's review of 21 Nov 2026, C16)
     6 five questions (base.css)    7 prices                                            8 other rooms · Westfield SCS (base.css)
     9 contact (base.css)
   From 900 px the booking step stands beside the first sheet and the story, and the controls of part 2 give way to it.
   Each block has its own form: a poster, a row of slots, a strip of photographs, a ticket office, a black sheet with two
   large figures, a ledger of answers, a price board, a row of cards. */

/* ---------- 1 the first sheet ---------- */
.rtop{display:flex;flex-direction:column}
.rfirst{order:1;
  /* --rk: the height of everything on the first screen but the photograph and the name. A flag above the slots
     ("Sold out today") takes its row from the photograph. */
  --rk:414px}
.rfirst:has(.rnow__skip:not([hidden])){--rk:446px}
.rhead{position:relative;background:var(--ink);color:var(--white);
  /* the name fills its column: font size = column width / the name's own width in em (--tw, measured in the typeface) */
  --tfs:min(calc((100vw - 2*var(--pad)) / var(--tw) * .995),9.5rem)}
.rhead :focus-visible{outline-color:var(--white)}
/* the photograph takes what the window leaves: 5:4 at most, about 16:9 in a window of 664 px */
.rhead__photo{height:clamp(max(78px,160px - var(--roll-x)),calc(100vh - var(--rk) - var(--tfs) * .37 - var(--roll-x)),calc(312px - var(--roll-x)));height:clamp(max(78px,160px - var(--roll-x)),calc(100svh - var(--rk) - var(--tfs) * .37 - var(--roll-x)),calc(312px - var(--roll-x)));overflow:hidden;background:var(--ink)}
/* (--roll-x is 0 px for everyone but a visitor who asks for less motion: there the still rolling line takes more than one row,
   and the photograph is lower by as much, here and in the rules below. Never under 78 px: under that the name runs into
   the label at the photograph's upper edge) */
/* a first visit: the cookie strip stands at the foot of the window (base.css 15b); the photograph gives up its room */
html.consent-open .rhead__photo{height:clamp(max(78px,96px - var(--roll-x)),calc(100vh - var(--rk) - var(--tfs) * .37 - var(--consent-h) - var(--roll-x)),calc(312px - var(--roll-x)));height:clamp(max(78px,96px - var(--roll-x)),calc(100svh - var(--rk) - var(--tfs) * .37 - var(--consent-h) - var(--roll-x)),calc(312px - var(--roll-x)))}
.rhead__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
/* the kind of room hangs on the photograph as a tab, where the homepage carries its small h1 */
.rhead__kind{position:absolute;left:0;top:0;z-index:2;max-width:100%}
.rhead__lang{position:absolute;right:0;top:27px;z-index:2}
.rhead__lang:active{background:var(--white);color:var(--ink)}
.rhead__name{position:relative;z-index:2;margin:calc(var(--tfs) * -.43) var(--pad) 0;pointer-events:none}
.rhead__name .fit__l{font-size:var(--tfs);line-height:.8}
.rhead__facts{margin:9px var(--pad) 0;flex-wrap:wrap;row-gap:6px;white-space:nowrap}      /* a third fact ("Ab 8 ohne Erwachsene") goes to a second line on a phone, never off the screen */
.rhead__facts li{padding-right:11px;margin-right:11px}
.rhead__where{margin:0 var(--pad);padding:2px 0 6px;font-size:var(--fs-note);line-height:1.2}
.rhead__where .more{min-height:32px;font-weight:600}
.rhead__where .more:active{color:var(--on-ink-3)}
/* the red button of a wide screen (from 900 px), where the booking step stands beside this sheet */
.rhead__go{display:none}
/* School of Magic only: both stickers on the photograph (one size down, as on the tiles of Westfield SCS), and "Vienna's original"
   as a small tab directly above the name, so that the two read as one line of words. The stickers stand under the room's label,
   and under the language line when that is shown. */
.rhead__stks{right:8px;top:32px}
.rhead__stks .stk{width:72px;height:72px;font-size:var(--fs-lab);padding:5px}
.rhead__stks .stk+.stk{margin-left:-12px;margin-top:20px}
.rhead__lang:not([hidden])~.rhead__stks{top:58px}
.rhead__orig{position:relative;z-index:2;display:table;margin:calc(var(--tfs) * -.43 - 27px) var(--pad) 0}
.rhead__orig+.rhead__name{margin-top:2px}

/* ---------- 2 the controls: the same parts as on the homepage's first screen, for one room ---------- */
.rnow{background:var(--paper);padding:8px var(--pad) 0}
.rnow__pair{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:6px}
/* the label and the price: the price stands as a tag (.pricetag, base.css), its unit under the figure, so that a label of two lines costs no height */
.rnow__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:0 12px;min-height:46px;margin-top:5px;padding-bottom:6px;border-bottom:var(--rule) solid var(--ink)}
.rnow__skip{flex:0 0 100%;padding:4px 0 5px}
.rnow__skip .flag{font-size:var(--fs-text)}
.rnow__lab{flex:1 1 0;min-width:0;color:var(--ink)}
.rnow[aria-busy] .rnow__price b{display:inline-block;min-width:88px;background:var(--paper-2);color:transparent}
/* this room's slots: one row, cut by the screen edge. One row only, so the figures may be larger than on the board of five rooms */
.rnow__slots{align-items:center;min-height:60px;padding-block:7px;margin-block:0}
.rnow__slots .chip{min-width:74px;min-height:46px;padding-top:3px;font-size:var(--fs-btn)}
.rnow__slots .chip small{font-size:var(--fs-lab)}
.rnow__slots .chip--count,.rnow__slots .chip--next{padding-inline:12px}
.rnow__fail{margin:8px 0 2px}
/* the slots did not load: nothing to choose and nothing to book. The note offers "Try again" and the phone number. */
.rnow.is-failed .rnow__slots,.rnow.is-failed .rnow__head,.rnow.is-failed .rnow__go{display:none}
.rnow.is-failed{padding-bottom:10px}
/* without script no slot can be shown and nothing can be put into the booking step: a note says how to book (tools/pages_lib.py nojs_note) */
html.no-js .rnow__slots,html.no-js .rnow__head,html.no-js .rnow__go,html.no-js .rbook{display:none}
html.no-js .rnow{padding-bottom:10px}
/* the one red button: in the flow of the page where the window is tall enough, at the foot of the window where it is not */
.rnow__go{position:sticky;bottom:var(--consent-h);z-index:6;margin:0 calc(-1*var(--pad));padding:0 var(--pad) calc(8px + env(safe-area-inset-bottom));background:var(--paper)}
.rnow__go::before{content:"";display:block;border-top:var(--rule) solid var(--ink);margin-bottom:8px}
.rside,.rside__in{display:contents}
.rproof{order:3;background:var(--paper);padding:3px var(--pad) 16px;font-size:var(--fs-note);line-height:1.35;color:var(--ink-2);text-wrap:pretty}
.rproof b{font-weight:700;white-space:nowrap}
.rproof b{color:var(--ink)}

/* ---------- 3 photographs and story ---------- */
.rstory{order:4;background:var(--paper);padding:6px 0 24px}
/* the room's photographs in one strip that scrolls sideways (owner's review of 21 Nov 2026, C16: the full gallery). Each photograph is a
   button: a tap opens it large (the lightbox, 3b). The rows of a wide screen (.rgal__row) are no boxes on a phone. */
.rgal{--gh:min(51vw,216px);display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-left:var(--pad);scrollbar-width:none;padding:0 var(--pad)}
.rgal::-webkit-scrollbar{display:none}
.rgal:focus-visible{outline-offset:-3px}
.rgal__row{display:contents}
.rgal__f{flex:none;display:block;width:calc(var(--gh) * 1.25);height:var(--gh);margin:0;padding:0;border:0;border-radius:0;background:var(--ink);overflow:hidden;scroll-snap-align:start;cursor:zoom-in;-webkit-tap-highlight-color:transparent}
.rgal__f img{display:block;width:100%;height:100%;object-fit:cover}
.rgal__f:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.rgal__f:active img{opacity:.85}
.rgal__f--s{width:calc(var(--gh) * .8)}
.rgal__f--s img{object-position:var(--op,84% 50%)}      /* the part of the picture a narrow box shows (the strip of before, without a gallery listing) */
/* a photograph that the first screen of a wide window shows itself is replaced in the strip there (the strip of before) */
.rgal__f--wide{display:none}
.rstory__text{padding:24px var(--pad) 0}
.rstory__text p{max-width:34em;margin-top:10px;color:var(--ink-2)}
/* the tale stands first, the gallery right after it, then today's words */
.rstory__tale{padding-top:20px}
.rstory__tale+.rgal{margin-top:24px}
.rgal+.rstory__text{padding-top:0}
/* the tale: several paragraphs, all of them visible (owner, 21 Nov 2026: "People actually read the story"); its first paragraph larger */
.rtale p{max-width:40rem;margin-top:12px;font-size:var(--fs-text);line-height:1.55}
.rtale p.rtale__lead{margin-top:14px;font-size:1.25rem;line-height:1.45;color:var(--ink)}
/* today's words, open (the fold keeps its element and its label for the record; the label is not shown): the story under today's
   heading, then the goal and the page's other kept line under theirs */
.rfold>summary{list-style:none;cursor:pointer;display:inline-flex;margin-top:4px}
.rfold>summary::-webkit-details-marker{display:none}
.rfold>summary .more::after{position:relative;top:-.16em;transform:rotate(135deg)}      /* this chevron unfolds: it points down */
.rfold[open]>summary{display:none}
.rfold>summary:focus-visible{outline-offset:0}
.rstory__kept{margin-top:26px;border-top:var(--rule) solid var(--ink)}
.rstory__goal{margin-top:18px}
.rstory__goal h2{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-btn);line-height:1;letter-spacing:.012em;text-transform:uppercase}
.rstory__goal p{font-size:var(--fs-text);line-height:1.5}
/* the difficulty: today's word with its label ("Difficulty: medium"), once, after the goal of the game */
.rstory__diff{margin-top:14px;color:var(--ink)}

/* ---------- 3b the lightbox: one photograph as large as the window allows, never larger than its file; arrows, the count, a swipe,
   the keys (room.js). A black page over the page, nothing else on it. ---------- */
.rlb{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:var(--ink);color:var(--white);overflow:hidden;overscroll-behavior:contain}
.rlb::backdrop{background:var(--ink)}
.rlb[open]{display:block}
html.lb-open{overflow:hidden}
.rlb__stage{position:absolute;inset:56px 0 64px;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom}
.rlb__stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;-webkit-user-select:none;user-select:none}
.rlb__n{position:absolute;left:var(--pad);top:16px;margin:0;font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-chip);letter-spacing:.04em;font-variant-numeric:tabular-nums}
.rlb__b{position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--white);cursor:pointer}
.rlb__b:focus-visible{outline:3px solid var(--white);outline-offset:-3px}
.rlb__b:active{color:var(--on-ink-3)}
.rlb__x{right:4px;top:4px}
.rlb__prev,.rlb__next{bottom:8px}
.rlb__prev{left:4px}
.rlb__next{right:4px}
.rlb--one .rlb__prev,.rlb--one .rlb__next{display:none}

/* ---------- 4 the booking step ---------- */
.rbook{order:5;background:var(--paper);padding:0 var(--pad);border-top:var(--rule) solid var(--ink)}
.rbook__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:15px 0 9px;border-bottom:var(--rule) solid var(--ink)}
.rbook__h{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-name);line-height:.92;letter-spacing:-.005em;text-transform:uppercase}
html[lang=de] .rbook__h{line-height:1}
.rbook__room{order:2;color:var(--ink)}
/* a tap on a slot brings the step into the window together with its heading */
.rbook .pk--inline{scroll-margin-top:68px}
/* a first visit on a phone: the cookie strip takes 56 px at the foot of the window and the step's foot stands above it. In a window
   under 692 px high, on a day with more than two rows of slots (a ninth slot), the step is brought in with its day ribbon at the top
   of the window (its small heading above the edge), so that the live actor's row, its price and its switch, stands above the step's
   foot (three rows of slots at 390 x 664 and 360 x 640: the row ends at 402 px, the foot begins at 460 and 422 to 436 px).
   With one or two rows of slots the step keeps its heading. Measured by tools/first-visit.js, part 4. */
@media (max-width:899px) and (max-height:691px){html.consent-open .rbook .pk--inline:has(.pk__times>:nth-child(9)){scroll-margin-top:0}}

/* ---------- 5 the live actor: a black sheet. The photograph, the line that follows the switch of the booking step,
   what guests say, how scary, and last the price ---------- */
.ractor{padding-top:0}
.ractor__photo{aspect-ratio:16/9;background:var(--ink);overflow:hidden}
.ractor__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 33%}
.ractor__in{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;padding-top:22px}
.ractor__flip{margin-top:10px}
.ractor__flip .fit__l{line-height:.88}
.ractor__flip:not(.is-on) .x__s{display:none}
.ractor__flip .x--draw .x__s{animation-delay:.05s}
.ractor__lead{margin-top:14px;max-width:34em;font-size:var(--fs-note);line-height:1.4;color:var(--on-ink-2)}
.ractor__counts{border-top:var(--rule) solid var(--white);padding-top:11px}
.ractor__figs{display:grid;grid-template-columns:1fr 1fr}
.ractor__figs>div+div{border-left:2px solid var(--white);padding-left:14px}
.ractor__figs dt{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-fig);line-height:.8;letter-spacing:.02em}      /* at this size the feet of the ones joined and 2, 4 and 7 ran together */
.ractor__figs dd{margin-top:9px;padding-right:10px;font-size:var(--fs-note);line-height:1.25;font-weight:600;color:var(--on-ink-2)}
.ractor__small{margin-top:12px;color:var(--on-ink-3)!important}
.ractor__how .lab{margin-bottom:8px;color:var(--white)}
.ractor__rules{border-top-color:var(--white)}
.ractor__rules li{padding:11px 0 12px;line-height:1.4;color:var(--on-ink-2)}
.ractor__rules li:last-child{border-bottom:var(--rule) solid var(--white)}
/* one count instead of two (The Unknown): the figure, and its sentence beside it on the figure's foot */
.ractor__figs--1{grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:end}
.ractor__figs--1>div{display:contents}
.ractor__figs--1 dd{margin-top:0;padding:0 0 2px;max-width:11em}

/* ---------- 5b the room itself: the black sheet of a room without a live actor (.ractor.rin). The same sheet with the same parts:
   the photograph, whole; today's sentence about the room, its first sentence in the poster voice; one large figure; three rows ---------- */
.rin__say{margin-top:10px;max-width:18em;font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-h3);line-height:.94;letter-spacing:-.005em;text-transform:uppercase;text-wrap:balance}
.rin__over,.rin__under{display:block;font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-name);line-height:1;letter-spacing:-.005em;text-transform:uppercase}
.rin__fig .fit{margin:4px 0 0}
.rin__fig .fit__l{line-height:.84}
.rin__under{margin-top:5px}

/* ---------- 5c why this game here, and a guest's words about it (owner's review of 21 Nov 2026, C16: "LIST ALL THE ARGUMENTS"):
   on a phone after the booking step; on a wide screen in the column of the story, beside the step that stays in the window.
   A numbered ledger in the poster type (no icons, no cards), then the guest's words large on black. ---------- */
.rsell{order:6;background:var(--paper);padding:34px 0 0}
.rwhy{padding:0 var(--pad) 36px}
.rwhy__list{margin:20px 0 0;padding:0;list-style:none;border-top:var(--rule) solid var(--ink)}
.rwhy__list li{display:grid;grid-template-columns:3.1rem minmax(0,1fr);align-content:start;column-gap:12px;padding:15px 0 17px;border-bottom:1px solid var(--hair)}
.rwhy__n{grid-row:1/3;font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:2.625rem;line-height:.78;letter-spacing:-.01em;color:var(--ink);font-variant-numeric:lining-nums}
.rwhy__t{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-btn);line-height:1;letter-spacing:.005em;text-transform:uppercase;text-wrap:balance}
html[lang=de] .rwhy__t{line-height:1.05}
.rwhy__list p{margin-top:7px;max-width:34em;font-size:var(--fs-text);line-height:1.45;color:var(--ink-2)}
.rsay{margin:0;padding:30px 0 0;background:var(--ink);color:var(--white)}
.rsay__words{padding:0 var(--pad) 18px}
.rsay__h{color:var(--on-ink-3)}
.rsay__q{margin:0}
.rsay__q p{margin-top:14px;font-family:var(--ff-poster);font-weight:700;font-stretch:87%;font-size:clamp(1.625rem,7vw,2.75rem);line-height:1.08;letter-spacing:-.005em;text-wrap:pretty}
.rsay--long .rsay__q p{font-size:clamp(1.375rem,5.6vw,2.125rem);line-height:1.12}
/* the caption is the shared one (.say__by of blocks.css, which comes later): the rules here are stronger */
.rsay .say__by{margin:0;padding:0 var(--pad) 36px;font-size:var(--fs-note);line-height:1.35;color:var(--on-ink-2)}
.rsay .say__by a{color:var(--white);font-weight:700}
.rsay__tr{white-space:nowrap}
/* the photograph beside the guest's words: players in this room (the gallery listing's "say"); across the band's top on a phone */
.rsay__pic{margin:-30px 0 24px;aspect-ratio:16/9;overflow:hidden;background:var(--ink)}
.rsay__pic img{display:block;width:100%;height:100%;object-fit:cover}
/* the review line in the foot bar (C15): the bar stands when no other red button is on screen; the line stays out while the review
   line under the first screen is in view (room.js), so that it never stands twice on a screen */
.dock__proof{margin:0 0 7px;font-size:var(--fs-lab);line-height:1.3;color:var(--ink-2);text-wrap:balance}
.dock__proof b{color:var(--ink);font-weight:700;white-space:nowrap}
.dock.is-quiet .dock__proof{display:none}

/* ---------- 6 five questions: the open ledger, the same block as on the homepage (.qa, blocks.css) ---------- */

/* ---------- 7 prices: the one "from" price of the page with its basis, then every price per person.
   The row of the chosen group and the column of the chosen day meet in an inked cell: that is the price the first screen shows. ---------- */
.rprice__top{display:grid;gap:16px}
.rprice__from{display:grid;gap:3px;line-height:1.3}
.rprice__from b{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-price);line-height:1;letter-spacing:-.005em;text-transform:uppercase}
.rprice__from span{font-weight:600}
.rprice__from small{color:var(--ink-2)}
/* on a wide screen no bar with the red button follows the reader, so the price board carries it (a phone has the bar at its foot) */
.rprice__go{display:none}
.rprice__t{width:100%;margin-top:20px;border-collapse:collapse;border-top:var(--rule) solid var(--ink);font-variant-numeric:tabular-nums lining-nums}
.rprice__t th,.rprice__t td{padding:0;text-align:right}
.rprice__t thead th{vertical-align:bottom;padding:9px 8px 7px 0;font-size:var(--fs-lab);line-height:1.25;font-weight:700;font-stretch:87%;letter-spacing:.075em;text-transform:uppercase;color:var(--ink-3);border-bottom:1px solid var(--ink)}
.rprice__col{display:inline-flex;flex-direction:column;align-items:flex-end;gap:5px}
.rprice__t thead th.is-col{color:var(--ink)}
.rprice__t tbody th{text-align:left;font-size:var(--fs-note);font-weight:600;color:var(--ink-2);white-space:nowrap}
.rprice__t tbody tr{border-bottom:1px solid var(--hair)}
.rprice__t tbody td{height:42px;padding:3px 8px 0 4px;font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-chip);line-height:1;white-space:nowrap}
.rprice__t tbody tr.is-row th{color:var(--ink);font-weight:700}
.rprice__t tbody td.is-on{background:var(--ink);color:var(--white)}
.rprice__notes{margin-top:12px;display:grid;gap:4px;max-width:36em}

/* ---------- 8 other rooms: one row that scrolls sideways. Each room is the homepage's card at small size (.room.room--s, blocks.css):
   the name on a plate cut into the photograph, the label line, today's sentence, and under the rule its next available slot.
   Then the five at Westfield SCS (.scs, blocks.css) and the contact block (.find, blocks.css). ---------- */
.rother{padding-bottom:36px}
.rother__row{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-left:var(--pad);scrollbar-width:none;padding:30px var(--pad) 4px}      /* room above the cards for the two stickers */
.rother__row::-webkit-scrollbar{display:none}
.rother .rother__row .room{flex:none;width:min(72vw,300px);scroll-snap-align:start;display:flex;flex-direction:column}      /* a column, so that the next slots of all cards stand on one line */
.rother .rother__row .room__teaser{margin-bottom:12px}
.rother .rother__row .room__book{margin-top:auto;min-height:59px}
.rother .rother__row .room__stks{right:-4px;top:-26px}

/* ---------- narrow phones ---------- */
@media (max-width:374px){
  .rhead__facts{font-size:1.125rem}
  .rhead__facts li{padding-right:9px;margin-right:9px}
  .rnow__slots .chip{min-width:68px}
}
@media (max-width:345px){
  /* "4 players" has to stand whole in its field (base.css sets the words of a field one size down at this width) */
  .rnow__pair{grid-template-columns:minmax(0,7fr) minmax(0,6fr)}
}
@media (max-width:339px){
  .rhead__facts{font-size:1.0625rem}
  .rhead__facts li{padding-right:7px;margin-right:7px}
}
/* ---------- a short window (an iPhone SE shows about 550 px of the page in its browser): the place gives way (it stands in the
   menu and at the end of the page) and the photograph may be lower, so that the slots and the button still stand in the window ---------- */
@media (max-height:630px) and (max-width:599px){
  .rfirst{--rk:384px}
  .rfirst:has(.rnow__skip:not([hidden])){--rk:416px}
  .rhead__where{display:none}
  .rhead__stks{top:28px}
  .rhead__stks .stk+.stk{margin-top:6px}      /* the photograph is low here: the second sticker stands beside the first, clear of the name */
  .rhead__facts{padding-bottom:12px}
  .rhead__photo{height:clamp(max(78px,118px - var(--roll-x)),calc(100vh - var(--rk) - var(--tfs) * .37 - var(--roll-x)),calc(312px - var(--roll-x)));height:clamp(max(78px,118px - var(--roll-x)),calc(100svh - var(--rk) - var(--tfs) * .37 - var(--roll-x)),calc(312px - var(--roll-x)))}
  html.consent-open .rhead__photo{height:clamp(max(78px,84px - var(--roll-x)),calc(100vh - var(--rk) - var(--tfs) * .37 - var(--consent-h) - var(--roll-x)),calc(312px - var(--roll-x)));height:clamp(max(78px,84px - var(--roll-x)),calc(100svh - var(--rk) - var(--tfs) * .37 - var(--consent-h) - var(--roll-x)),calc(312px - var(--roll-x)))}
}

/* a first visit: the cookie strip takes 56 px of the window, so a window under 616 px high is a short window for this screen
   too. The same rules as above: the place gives way and the photograph may be lower. From 616 px high nothing changes: there the
   screen fits as it is, the photograph lower by the strip's height (at 390 x 664: 144.5 px for 200.5; at 360 x 640: 124.6).
   Less motion asked for: the still rolling line takes up to 59 px more, so the same holds up to 675 px high for that visitor. */
@media (max-height:615px) and (max-width:599px), (prefers-reduced-motion:reduce) and (max-height:675px) and (max-width:599px){
  html.consent-open .rfirst{--rk:384px}
  html.consent-open .rfirst:has(.rnow__skip:not([hidden])){--rk:416px}
  html.consent-open .rhead__where{display:none}
  html.consent-open .rhead__stks{top:28px}
  html.consent-open .rhead__stks .stk+.stk{margin-top:6px}
  html.consent-open .rhead__facts{padding-bottom:12px}
  html.consent-open .rhead__photo{height:clamp(max(78px,84px - var(--roll-x)),calc(100vh - var(--rk) - var(--tfs) * .37 - var(--consent-h) - var(--roll-x)),calc(312px - var(--roll-x)));height:clamp(max(78px,84px - var(--roll-x)),calc(100svh - var(--rk) - var(--tfs) * .37 - var(--consent-h) - var(--roll-x)),calc(312px - var(--roll-x)))}
}

/* ---------- from 600 px: the same order, more air ---------- */
@media (min-width:600px){
  .rhead{--tfs:min(calc((100vw - 2*var(--pad)) / var(--tw) * .995),11rem)}
  .rhead__photo{height:clamp(max(200px,280px - var(--roll-x)),calc(46vh - var(--roll-x)),calc(470px - var(--roll-x)))}
  /* a first visit: the photograph gives way so that the red button ends above the cookie strip (507 px: what stands between the
     photograph's lower edge and the button's, with a margin of 8 px; the same from 600 to 899 px, English and German) */
  html.consent-open .rhead__photo{height:clamp(200px,calc(min(46vh,100vh - 507px - var(--consent-h)) - var(--roll-x)),calc(470px - var(--roll-x)));height:clamp(200px,calc(min(46vh,100svh - 507px - var(--consent-h)) - var(--roll-x)),calc(470px - var(--roll-x)))}
  .rhead__facts{margin-top:12px;font-size:var(--fs-btn)}
  .rhead__where{padding:4px 0 12px;font-size:var(--fs-text)}
  .rnow{padding-top:16px}
  .rnow__pair{grid-template-columns:minmax(0,260px) minmax(0,200px)}
  .rnow__go{position:static;margin:0;padding:0 0 4px;background:none}
  .rnow__go .btn{display:inline-flex;width:auto;min-width:320px}
  .rproof{padding:8px var(--pad) 24px;font-size:var(--fs-text)}
  .rgal{--gh:min(34vw,300px)}
  .ractor__photo{aspect-ratio:auto;height:min(52vw,480px)}
  .rother .rother__row .room{width:300px}
}

/* ---------- from 900 px: the black sheet on the left, the booking step on the right, both in the first screen.
   The step is the control of this screen, so the fields, the row of slots and the red button of part 2 are not printed.
   The step stays in the window while the story is read. ---------- */
@media (min-width:900px){
  .rtop{--side:clamp(400px,35vw,500px);display:grid;grid-template-columns:minmax(0,1fr) var(--side);grid-template-rows:auto auto 1fr;align-items:start;background:var(--paper)}
  .rfirst{display:contents}
  .rnow{display:none}
  .rhead{grid-column:1;grid-row:1;--tfs:min(calc((100vw - var(--side) - var(--edge) - var(--gap)) / var(--tw) * .995),12.5rem);padding-left:var(--edge)}
  .rhead__photo,html.consent-open .rhead__photo{height:clamp(240px,calc(100vh - 430px - var(--consent-h)),520px);margin-left:calc(-1*var(--edge))}
  .rhead__photo img{object-position:50% 44%}
  .rhead__name{margin:calc(var(--tfs) * -.4) 0 0}
  .rhead__facts{margin:8px 0 0}
  .rhead__where{margin:0;padding:4px 0 16px}
  .rhead__orig{margin:calc(var(--tfs) * -.4 - 27px) 0 0}
  .rhead__stks{right:var(--gap);top:40px}
  /* the one red button of the wide first screen: it puts the next available slot into the step beside it. Once a slot is
     chosen there, the step's own "Reserve" is the red button and this one steps back (its room stays, so that nothing jumps). */
  .rhead__go{display:block;padding:0 0 20px}
  .rhead__go .btn{min-width:300px}
  .rhead__go.is-off{visibility:hidden}
  .rstory{grid-column:1;grid-row:2;padding:28px 0 40px var(--edge)}
  .rgal{display:grid;grid-template-columns:5fr 5fr 3.2fr;gap:8px;overflow:visible;padding:0 var(--gap) 0 0}
  .rgal__f{width:auto;height:auto;aspect-ratio:5/4}
  .rgal__f--s{width:auto;aspect-ratio:auto}
  .rgal--2{grid-template-columns:1fr 1fr}
  .rgal__f--phone{display:none}
  .rgal__f--wide{display:block}
  /* the full gallery: rows that fill the column (tools/make_room.py ROWS: two large, then rows of three), every photograph 5:4 */
  .rgal--full{grid-template-columns:minmax(0,1fr)}
  .rgal--full .rgal__row{display:grid;grid-template-columns:repeat(var(--k),minmax(0,1fr));gap:8px}
  .rgal--full .rgal__f{width:auto;height:auto;aspect-ratio:5/4}
  @media (hover:hover){
    .rgal__f img{transition:transform .4s var(--ease),opacity .2s}
    .rgal__f:hover img{transform:scale(1.035)}
  }
  /* the tale in one column of reading width; today's words under it in two columns: the story, then the goal */
  .rstory__text{display:block;padding:36px var(--gap) 0 0}
  .rstory__tale{padding-top:8px}
  .rstory__tale+.rgal{margin-top:34px}
  .rtale__h{max-width:16em}
  .rtale p{max-width:44rem;font-size:1.125rem}
  .rtale p.rtale__lead{font-size:1.375rem;line-height:1.42}
  .rstory__kept{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);column-gap:calc(var(--gap) * 2);max-width:72rem;margin-top:34px}
  .rstory__goal p{font-size:var(--fs-text);line-height:1.5}
  /* up to 1179 px the column beside the step is narrow: the goal stands under the story */
  @media (max-width:1179px){
    .rstory__kept{grid-template-columns:minmax(0,1fr)}
  }
  /* why this game here, and the guest's words: in the column of the story, beside the step that stays in the window */
  .rsell{grid-column:1;grid-row:3;padding:12px var(--gap) 64px var(--edge)}
  .rwhy{max-width:72rem;padding:0 0 40px}
  .rwhy__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:calc(var(--gap) * 2)}
  .rwhy__list li{padding:18px 0 20px}
  .rsay{padding:40px 0 0}
  .rsay__words{padding:0 44px 18px}
  .rsay .say__by{padding:0 44px 44px}
  .rsay--pic{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);grid-template-rows:1fr auto;align-items:stretch;padding:0}
  .rsay--pic .rsay__pic{grid-row:1/3;margin:0;aspect-ratio:auto;min-height:300px}
  .rsay--pic .rsay__words{grid-column:2;align-self:end;padding:40px 44px 18px}
  .rsay--pic .say__by{grid-column:2}
  .rsay__q p{font-size:clamp(1.75rem,2.6vw,2.625rem)}
  .rsay--long .rsay__q p{font-size:clamp(1.5rem,2vw,2.125rem)}
  .rside{display:block;grid-column:2;grid-row:1/4;align-self:stretch;padding:0 var(--edge) 0 var(--gap);border-left:var(--rule) solid var(--ink);background:var(--paper)}
  /* the step stays in the window, and with it the review line (owner's review of 21 Nov 2026, C15: "keep it together with the
     booking info always") */
  .rside__in{display:block;padding-bottom:12px;background:var(--paper)}
  .rbook{border-top:0;padding:0}
  .rbook__head{padding:18px 0 10px}
  .rbook__room{display:none}                 /* the room's name stands on the same screen, on the black sheet */
  .rbook .pk__times{grid-template-columns:repeat(4,minmax(0,1fr))}
  .rbook .pk__foot{margin-top:4px}
  .rproof{padding:12px 0 6px;font-size:var(--fs-note)}
  /* the live actor: the photograph, whole, on the left half of the sheet; the words on the right */
  .ractor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;padding-bottom:0}
  .ractor__photo{height:100%;min-height:620px}
  .ractor__photo img{object-position:50% 40%}
  /* a photograph with fewer pixels than the panel is high stands at its own height, in the middle of the black panel: never enlarged */
  .ractor__photo[style]{display:flex;align-items:center}
  .ractor__photo[style] img{height:min(100%,var(--ph))}
  .ractor__in{align-content:center;gap:32px;max-width:none;padding:56px var(--edge) 60px var(--gap)}
  .ractor__flip .fit__l{font-size:min(calc(100cqi / var(--w) * .995),6.5rem)}
  .ractor__lead{font-size:var(--fs-text)}
  .rin__fig .fit__l{font-size:min(calc(100cqi / var(--w) * .995),9.5rem)}
  .rprice__in{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:var(--gap);align-items:start}
  .rprice__t{margin-top:0}
  .rprice__go{display:block;margin-top:10px}
  .rprice__go .btn{min-width:300px}
  .rprice__t tbody td{height:48px;font-size:var(--fs-btn)}
  .rother__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);overflow:visible;padding:34px var(--edge) 0}
  .rother .rother__row .room{width:auto}
}
@media (min-width:1200px){
  .rhead__go{position:absolute;right:var(--gap);bottom:22px;padding:0}
  .rwhy__list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* the foot bar of a wide screen: the review line on its left, the red button on its right */
@media (min-width:900px){
  .dock{align-items:center;gap:24px}
  .dock__proof{margin:0 auto 0 0;font-size:var(--fs-note)}
}
/* the lightbox of a wide screen: the arrows at the middle of its sides, the photograph between them */
@media (min-width:900px){
  .rlb__stage{inset:64px 72px}
  .rlb__prev,.rlb__next{top:50%;bottom:auto;transform:translateY(-50%);width:64px;height:64px}
  .rlb__prev{left:8px}
  .rlb__next{right:8px}
  .rlb__x{right:12px;top:12px}
  .rlb__n{left:24px;top:22px}
}
@media (min-width:900px) and (min-height:700px){
  .rside__in{position:sticky;top:var(--stick,0px);z-index:1}
}

