/* 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}
/* the review e-mail and the offers, said once under the e-mail field: quiet, a field label's size and the third ink (owner, 27 Nov 2026) */
.cmailnote{margin:6px 0 2px;font-size:var(--fs-lab);line-height:1.35;color:var(--ink-3);text-wrap:pretty}

/* ---------- 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}
/* A way to pay is a choice, not a button (owner, 23 Nov 2026, live: "I was pressing on card and on pay at the venue. And nothing has
   happened ... I did not know that you need to press red button"): a round mark in front of each, the chosen one with a filled mark and
   a thicker edge. No black fill and no red flash on the press: both read as the booking button. The one action stays the red button. */
.cpm>span{justify-content:flex-start;gap:10px;padding:3px 12px 0;font-family:var(--ff);font-weight:700;font-stretch:100%;font-size:var(--fs-text);letter-spacing:0;text-transform:none}
.cpm>span::before{content:"";flex:0 0 auto;box-sizing:border-box;width:20px;height:20px;border:2px solid var(--ink);border-radius:50%;background:var(--white)}
.cpm input:checked+span{background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 3px var(--ink)}
.cpm input:checked+span::before{background:radial-gradient(circle at center,var(--ink) 0 5px,var(--white) 5.5px)}
.cpm:active>span{background:var(--paper-2);color:var(--ink);box-shadow:inset 0 0 0 var(--edge-w) var(--ink)}
.cpm--venue>span{grid-template-columns:auto 1fr;column-gap:10px;row-gap:1px;justify-items:stretch;padding:7px 12px 6px}
.cpm--venue>span::before{grid-row:1/span 2;align-self:center}
.cpm--venue input:checked+span small,.cpm--venue:active small{color:var(--ink-2)}
/* the next step after choosing how to pay is the red button: it rings twice (checkout.js nudge) */
@keyframes cgo-ring{from{box-shadow:0 0 0 0 rgba(229,0,18,.6)}to{box-shadow:0 0 0 14px rgba(229,0,18,0)}}
.cgo.is-nudge{animation:cgo-ring .8s ease-out 2}
@media (prefers-reduced-motion:reduce){.cgo.is-nudge{animation:none}}

/* ---------- 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}
/* the card rescue (owner's go, 30 Nov 2026): the same ink box, the checkout's own red button, a white line button for the card */
.crescue{position:relative;margin:10px var(--pad) 0;gap:8px;padding:14px 12px 12px}
/* a failed payment must look like one (owner, 30 Nov 2026: "Looks like all is booked if you do not read the text"): the cookie card's
   red stamp on the box's edge, and a rubber stamp "Not paid" over the ticket's stub */
.crescue--fail{margin-top:24px;padding-top:24px}
.crescue__stamp{position:absolute;top:-15px;left:14px;padding:5px 12px 3px;background:var(--red);color:var(--white);font-family:var(--ff-poster);font-weight:800;
  font-stretch:75%;font-size:1.0625rem;line-height:1;letter-spacing:.08em;text-transform:uppercase;transform:rotate(-3deg)}
.ctk{position:relative}
.ctk__stamp{position:absolute;right:10px;top:50%;z-index:2;padding:5px 9px 3px;border:3px solid var(--red);color:var(--red);background:rgba(255,255,255,.86);
  font-family:var(--ff-poster);font-weight:800;font-stretch:75%;font-size:1.375rem;line-height:1;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;
  transform:translateY(-50%) rotate(-9deg);pointer-events:none}                /* across the stub, as the owner saw it ("good, make life"); on the edge it was cut by the bar */
.crescue p{margin:0}
.crescue .btn{margin-top:4px}
.crescue .btn--line{color:var(--white);box-shadow:inset 0 0 0 var(--edge-w) var(--white)}
@media (hover:hover){.crescue .btn--line:hover{background:var(--white);color:var(--ink)}}
.crescue .btn--line:active{background:var(--white);color:var(--ink)}
.crescue__s{font-size:var(--fs-note);line-height:1.3;font-weight:600}
.crescue__l{font-size:var(--fs-note);line-height:1.35;font-weight:500;color:var(--on-ink-3);text-wrap:pretty}
.crescue__l a{color:var(--white);font-weight:600}
.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}
  .crescue{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}
  .crescue{margin-top:0;margin-bottom:12px}
  .crescue--fail{margin-top:16px}
  .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}
/* a bundle as a gift (make_bundlebuy.py, 26 Nov 2026; as the gift-card shop): "For me" (chosen) or "As a gift", which opens the
   recipient's name and e-mail, the message and the day (at once, or a chosen day at 08:00 Vienna) */
.cwho{margin:0 0 12px;border:0;min-width:0}
.crec{margin-top:6px}
.crec[hidden],.cday[hidden]{display:none}
.crec__msg .input{display:block;min-height:76px;margin-top:calc(-1*var(--edge-w));resize:vertical;font-family:inherit;line-height:1.35}
.cwhen{margin:6px 0 0;padding:0;border:0;min-width:0}
.cday{margin-top:calc(-1*var(--edge-w))}
.crec__note{margin:6px 0 0;font-size:var(--fs-note);line-height:1.3;color:var(--ink-2)}
.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 */

/* a likely typo in the e-mail's domain: one quiet line under the field, the corrected address underlined inside the sentence (24 Nov 2026) */
.chint{margin:6px 0 0;font-size:var(--fs-note);line-height:1.35}
.chint button{font:inherit;font-weight:700;color:inherit;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
