/* NoWayOut Vienna · the combined design · checkout.css
   The screen after "Reserve". Needs base.css and picker.css (the ticket, the switch and the mask are the booking step's own).
   One phone screen, top to bottom:
     the black bar      logo, and the lock's timer where other pages have their menu
     the booking        the ticket of the booking step, now with the room's name; the live actor as its own line; code and "Change";
                        with the birthday choice on, its line stands first, in the same form
     three fields       one printed form: three boxes that share their edges, the label inside each box
     how to pay         the ways to pay online as one row of tiles, the note of the draw, then "pay at the venue" as a row of its own
     the red button     two lines: what it does, what it costs
     law                one sentence, then the phone number and the imprint
   No menu, no rolling line, no footer links, no chat. Red is the button only; an error is said in ink. */

.p-checkout{min-height:100vh;min-height:100svh;background:var(--paper)}
html:has(.p-checkout){scroll-padding-top:120px}

/* ---------- the bar: the logo and the lock ---------- */
.ctop{position:sticky;top:0}
.ctop .top__in{justify-content:space-between;gap:12px}
.ctop__lock{display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:5px;row-gap:1px;text-align:right;line-height:1}
.ctop__lab{grid-column:1/-1}
.ctop__time{justify-self:end;font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-btn);line-height:1;letter-spacing:.01em;color:var(--white)}
.ctop__unit{font-size:var(--fs-lab);font-weight:700;font-stretch:87%;letter-spacing:.04em;text-transform:uppercase;color:var(--on-ink-3)}
/* two minutes before the end a strip of white paper comes out under the bar: one line and the button "More time".
   It is part of the bar and stays with it. At the top of the page it pushes the page down, so that it covers nothing of the booking;
   further down, checkout.js moves the scroll position by the strip's height in the same instant, so that nothing the visitor is
   typing in or about to tap moves. */
.cmore{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:5px var(--edge);background:var(--white);color:var(--ink);border-bottom:var(--rule) solid var(--ink)}
.cmore p{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-chip);line-height:1.05;letter-spacing:.012em;text-transform:uppercase;padding-top:2px}
.cmore[data-kind=paying] p{font-family:var(--ff);font-weight:600;font-stretch:100%;font-size:var(--fs-note);line-height:1.25;letter-spacing:0;text-transform:none}
.cmore .btn{flex:none}
.cmore :focus-visible{outline-color:var(--ink)}
@media (hover:hover){.cmore .btn:hover{background:var(--ink-2)}}
.cmore .btn:active{background:var(--red);color:#fff}
@media (prefers-reduced-motion:no-preference){
  .cmore.is-in:not([hidden]){animation:cmore-in .28s var(--ease)}
  .cmore.is-out{animation:cmore-out .22s var(--ease) forwards}
  @keyframes cmore-in{from{margin-top:-54px}}
  @keyframes cmore-out{to{margin-top:-54px}}
}
.ctop{isolation:isolate}
.ctop .top__in{position:relative;z-index:2;background:var(--ink)}
.cmore{z-index:1}

/* ---------- the page ---------- */
.ch1{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* the booking: the ticket lies on the darker paper, as it did at the foot of the booking step */
.cbook{background:var(--paper-2);padding:8px var(--pad) 0;border-bottom:var(--rule) solid var(--ink)}
.ctk{min-height:92px}
.ctk .ticket__main{gap:3px;padding:10px 8px 9px 12px}
.ctk__room{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-time);line-height:.96;letter-spacing:-.005em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-bottom:2px}
/* "4 players | €33.50 per person" has to stand beside the stub in one line at 390 px with room to spare, whatever the figures:
   the narrower cut of the letters that the German line has anyway */
.ctk .ticket__l--b{font-stretch:87%}
.ctk .ticket__stub{min-width:112px;gap:1px}
.ctk .ticket__stub b{min-width:4.2ch;text-align:right}      /* the total has its room before it is filled in: nothing moves */
.ctk .ticket__stub small+small{color:var(--ink-3);letter-spacing:.04em}
.ctk .x--quiet{color:var(--ink-3)}
/* the live actor: its own line with its price and the switch (the same row as in the booking step) */
.cactor{min-height:54px;border-top:0}
.cactor .pk__mask,.cbday .pk__cake{margin-left:3px;margin-right:5px}
/* the birthday choice, when the booking carries it: the same row, first under the ticket; the live actor's row then keeps its
   hairline. With both rows each is 46 px high, so that the booking takes 38 px more than with one row, not 54 */
.cbday{min-height:54px;border-top:0}
.cbday:not([hidden])~.cactor{border-top:1px solid var(--hair)}
.cbook--two .cbday,.cbook--two .cactor{min-height:46px}
/* a code, and the way back to the booking step */
/* one line: the question on the left, "Change" on the right. The question opens downwards; "Change" stays where it is. */
.cutil{display:grid;grid-template-columns:minmax(0,1fr) auto;border-top:1px solid var(--hair)}
.cutil .more{min-height:40px;font-size:var(--fs-note);font-weight:600}
.ccode{grid-column:1/-1;grid-row:1;min-width:0}
.ccode>summary{list-style:none;cursor:pointer;display:inline-flex;max-width:calc(100% - 96px)}
.ccode>summary::-webkit-details-marker{display:none}
.ccode>summary .more::after{position:relative;top:-.16em;transform:rotate(135deg)}
.ccode[open]>summary .more::after{top:.08em;transform:rotate(-45deg)}
.ccode__in{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:0 0 10px}
.ccode__in .input{min-height:var(--tap);padding:8px 12px;text-transform:uppercase;letter-spacing:.04em}
.ccode__in .input::placeholder{text-transform:none;letter-spacing:0}
.ccode__in .cerr{grid-column:1/-1;margin-top:-6px}
.cutil__change{grid-column:2;grid-row:1;align-self:start;position:relative}

/* ---------- three fields: one printed form. The field itself is the system's (.cf, base.css). ---------- */
.cfields{padding:9px var(--pad) 0}

/* ---------- how to pay ---------- */
.cpay{padding:9px var(--pad) 0}
.cpay__online{display:flex}
.cpm{position:relative;display:block;flex:1 1 0;min-width:0;cursor:pointer;-webkit-user-select:none;user-select:none}
.cpm:not([hidden])~.cpm:not([hidden]){margin-left:calc(-1*var(--edge-w))}      /* neighbours share one edge, also when a way to pay between them is not offered */
.cpm input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cpm>span{display:flex;align-items:center;justify-content:center;min-height:48px;padding:3px 6px 0;background:var(--white);box-shadow:inset 0 0 0 var(--edge-w) var(--ink);font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-chip);line-height:1;letter-spacing:.012em;text-transform:uppercase;white-space:nowrap;transition:background-color .1s,color .1s}
.cpm input:checked+span{position:relative;background:var(--ink);color:var(--white)}
.cpm:active>span{background:var(--red);color:#fff;box-shadow:inset 0 0 0 var(--edge-w) var(--red)}
@media (hover:hover){.cpm:hover input:not(:checked)+span{background:var(--paper-2)}}
.cpm input:focus-visible+span{position:relative;z-index:1;outline:3px solid var(--ink);outline-offset:3px}
/* the note of the draw belongs to "pay online": the site's own small picture, the words, the date as a flag.
   It stands close under the online tiles and a step away from "pay at the venue", so that it is read with the right row. */
.cpay__draw{display:grid;grid-template-columns:auto minmax(0,auto) auto;justify-content:start;align-items:center;column-gap:8px;min-height:36px;margin-bottom:6px;padding:1px 0 0;font-size:var(--fs-note);line-height:1.2;font-weight:600;font-stretch:87%;color:var(--ink)}
.cpay__draw>span:first-of-type{display:block;text-wrap:balance}
.cpay__draw img{width:36px;height:26px;object-fit:contain}
.cpay__draw .flag{font-size:var(--fs-lab)}
/* "pay at the venue": a choice like the others, said as a sentence */
.cpm--venue>span{display:grid;justify-content:start;justify-items:start;align-content:center;gap:1px;min-height:52px;padding:7px 12px 6px;font-family:var(--ff);font-stretch:100%;letter-spacing:0;text-transform:none;text-align:left;white-space:normal}
.cpm--venue b{font-size:var(--fs-text);line-height:1.15;font-weight:700}
.cpm--venue small{font-size:var(--fs-note);line-height:1.15;font-weight:600;color:var(--ink-2)}
.cpm--venue input:checked+span small{color:var(--on-ink-2)}
.cpm--venue:active small{color:#fff}

/* ---------- the red button: what it does, what it costs ---------- */
.cfoot{position:sticky;bottom:var(--consent-h);z-index:5;display:grid;gap:8px;margin-top:12px;padding:8px var(--pad) calc(8px + env(safe-area-inset-bottom));background:var(--paper-2);border-top:var(--rule) solid var(--ink)}
.cgo{min-height:66px;padding-block:9px 8px}
.cgo__t{display:grid;gap:3px;min-width:0;font-size:var(--fs-chip);line-height:1.05}
.cgo__t span{display:block}
.cnote{padding:10px 12px 11px}
/* the cancel rule: one line close to the button, above the legal sentence (owner, 17 Nov 2026) */
.ccancel{padding:10px var(--pad) 0;font-size:var(--fs-note);line-height:1.3;font-weight:600;color:var(--ink);text-wrap:balance}
.ccancel+.clegal{padding-top:5px}
.clegal{padding:10px var(--pad) 0;text-wrap:pretty}
.clegal a{color:var(--ink);font-weight:600}
.clegal a:active{color:var(--red-deep)}

/* ---------- the slot is no longer held: a black note with what happened and the one way on ---------- */
.cstate{margin:10px var(--pad) 0;gap:6px;padding:12px 12px 12px}
.cstate__h{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-time);line-height:1;letter-spacing:.005em;text-transform:uppercase;text-wrap:balance}
html[lang=de] .cstate__h{line-height:1.06}
.cstate p{font-weight:600;line-height:1.3}
.cstate .btn{margin-top:6px}
.cstate__near{margin:4px 0 0;padding-right:0;align-items:center;gap:8px}
.cstate .more{color:var(--white);min-height:40px}
.cstate .more:active{color:var(--on-ink-3)}
body[data-state^=ranout] .cfields,body[data-state^=released] .cfields,body[data-state^=taken] .cfields{padding-bottom:16px}

/* ---------- the end of the page: help and law ---------- */
.cend{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:0 16px;margin:12px var(--pad) 0;padding:2px 0 20px;border-top:1px solid var(--hair);font-size:var(--fs-note);line-height:1.3}
.cend__help{display:flex;align-items:center;min-height:var(--tap);color:var(--ink-2)}
.cend__help a{display:flex;align-items:center;align-self:stretch;margin-left:.3em;color:var(--ink);font-weight:700;text-decoration:none;white-space:nowrap}      /* the whole 44 px row is the finger's target */
.cend__help a:active{color:var(--red-deep)}
.cimp>summary{list-style:none;cursor:pointer;display:inline-flex}
.cend__win{flex-basis:100%;margin:0}                       /* the giveaway's terms: its own quiet row under the help line and the imprint */
.cend__win .more{color:var(--ink-2);font-weight:600}
.cimp>summary::-webkit-details-marker{display:none}
.cimp>summary .more{font-size:var(--fs-note);font-weight:600}
.cimp>summary .more::after{position:relative;top:-.16em;transform:rotate(135deg)}
.cimp[open]>summary .more::after{top:.08em;transform:rotate(-45deg)}
.cimp[open]{flex-basis:100%}
.cimp p{padding-bottom:6px;color:var(--ink-2)}

/* ---------- narrow phones ---------- */
@media (max-width:379px){
  .ctk .ticket__l i{padding:0 7px}
  .ctk .ticket__l>span{margin-left:-9px}
}
@media (max-width:374px){
  .cpm>span{font-size:1.125rem}
  .cgo__t{font-size:1.125rem}
  .ctk .ticket__stub{min-width:0;padding-inline:10px}
  .ctk .ticket__stub b{font-size:var(--fs-btn)}
}
@media (max-width:339px){
  .ctk .ticket__l--a{font-size:1.125rem}
  html[lang=de] .ctk .ticket__l--a{font-size:1.0625rem}
  .cgo{padding-inline:14px;gap:8px}
  .cgo__t{font-size:1.0625rem;letter-spacing:0}
  .cpm>span{font-size:1.0625rem;letter-spacing:0}
}

/* ---------- from 600 px: one column of a hand's width in the middle of the page ---------- */
@media (min-width:600px){
  .cmain{max-width:560px;margin:0 auto;padding-bottom:40px}
  .cbook{margin-top:28px;border:var(--rule) solid var(--ink);padding:14px 14px 0}
  .cfields,.cpay,.clegal,.ccancel{padding-inline:0}
  .cfoot{position:static;margin-top:16px;padding:0;border:0;background:transparent}
  .cstate{margin-inline:0}
  .cend{margin-inline:0}
}
/* ---------- from 900 px: the form on the left, the booking on the right, where it stays ---------- */
@media (min-width:900px){
  .cmain{max-width:1000px;padding:44px var(--pad) 64px}
  .ch1{position:static;width:auto;height:auto;margin:0 0 22px;overflow:visible;clip-path:none;white-space:normal;font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:clamp(3rem,6vw,5rem);line-height:.92;letter-spacing:-.01em;text-transform:uppercase}
  html[lang=de] .ch1{line-height:1}
  .cform{display:grid;grid-template-columns:minmax(0,1fr) 400px;column-gap:var(--gap);align-items:start}
  .cside{grid-column:1;grid-row:1}
  .cbook{grid-column:2;grid-row:1;position:sticky;top:calc(var(--bar-h) + 16px);margin-top:0}
  .p-checkout:has(.cmore:not([hidden])) .cbook{top:calc(var(--bar-h) + 70px)}
  .cfields{padding-top:0}
  .cstate{margin-top:0;margin-bottom:12px}
  .cf input{height:60px;padding-top:26px}
  .cpm>span{min-height:54px}
}

/* ---------- the purchase of a bundle (tools/make_bundlebuy.py, 20 Nov 2026): the payment page's parts; the saving under the ticket
   as the system's red flag, then one quiet line on what follows the purchase ---------- */
.cbundle__save{margin:10px 0 0}
.cbundle__then{margin:8px 0 0;max-width:46ch}
/* the bundle's line on the ticket ("All five rooms in one bundle") may take two lines: it was cut at the stub (owner's review of
   21 Nov 2026, C21: "ALL FIVE ROOMS IN ONE BUNDL") */
.p-bundle .ctk .cbundle__tail>span{margin-left:0;white-space:normal;text-wrap:balance}
.p-bundle .ctk .cbundle__tail i{display:inline;padding:0;margin:0;border-left:0;white-space:normal}
/* the rooms of the bundle as pictures with their names (owner, same review: "Always add images to bundles"): one row, as many columns
   as rooms, the pictures square and never wider than their own pixels allow (66 px at twice the density) */
.cbr{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,66px);justify-content:start;gap:8px;margin:12px 0 0}
.cbr__r{display:grid;gap:5px;align-content:start;min-width:0}
.cbr__r img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;background:var(--ink)}
.cbr__r span{font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:var(--fs-lab);line-height:1.05;letter-spacing:.02em;text-transform:uppercase;color:var(--ink);overflow-wrap:anywhere;hyphens:auto}
/* the booking system does not sell this bundle (bundlebuy.js): the fields and the ways to pay go, one line says how to get it */
.p-bundle [data-bform].is-soon .cfields,.p-bundle [data-bform].is-soon .cpay,.p-bundle [data-bform].is-soon .clegal{display:none}
.p-bundle .ctk__room{text-transform:uppercase;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal}  /* a bundle's name may need two lines ("Familien-Kombipaket" on a phone: page check of 20 Nov 2026); it wraps after its hyphen */
