/* New ticket: white card, details on the left, QR stub with the red corner on the right */
.rtk{--rb:#f8f8f9;--red:#d90f1f;--ink:#1f2430;--mut:#6b7385;--ln:#e6e8ee;position:relative;display:grid;grid-template-columns:minmax(0,1fr) 236px;background:#fff;border-radius:18px;box-shadow:0 10px 30px rgba(31,36,48,.12),0 0 0 1px #eceef3;color:var(--ink);text-align:left;font-family:inherit;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.rtk:before,.rtk:after{content:"";position:absolute;right:226px;width:20px;height:20px;border-radius:50%;background:var(--rb);box-shadow:inset 0 0 0 1px #eceef3;z-index:2}
.rtk:before{top:-10px}.rtk:after{bottom:-10px}
.rtk-main{padding:20px 24px 18px;min-width:0}
.rtk-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.rtk-logo{height:42px;width:auto;display:block}
.rtk-tag{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--mut)}
.rtk-body{display:flex;gap:18px;align-items:flex-start}
.rtk-po{flex:none;width:132px}
.rtk-po .poster{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:10px;background:#fde7ea}
.rtk-po .noposter{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:3/4;border-radius:10px;font-size:44px;font-weight:700;color:#fff;background:linear-gradient(160deg,#e30713,#a8000d)}
.rtk-in{min-width:0;flex:1}
.rtk-in h2{margin:0 0 8px;font-size:clamp(20px,2.6vw,27px);font-weight:700;line-height:1.2;letter-spacing:-.3px;color:var(--ink);overflow-wrap:anywhere}
.rtk-chips{margin:0 0 12px}.rtk-chips span{display:inline-block;padding:3px 10px;border:1px solid #f0b8bf;border-radius:6px;font-size:12px;font-weight:600;color:var(--red);background:#fff5f6}
.rtk-r{display:flex;gap:10px;align-items:flex-start;margin:0 0 11px}
.rtk-r>svg{flex:none;color:var(--ink);margin-top:2px;width:18px;height:18px}
.rtk-r b{display:block;font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.35}
.rtk-r b a{color:var(--ink);text-decoration:none}
.rtk-r small{display:block;margin-top:1px;font-size:12px;color:var(--mut);line-height:1.4}
/* SCREEN | ROW | SEATS | CLASS */
.rtk-grid{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;margin-top:16px;border-top:1px solid var(--ln);border-bottom:1px solid var(--ln)}
.rtk-grid .rtk-c{padding:14px 14px;border-left:1px solid var(--ln)}.rtk-grid .rtk-c:first-child{border-left:0;padding-left:2px}
.rtk-c{display:flex;gap:10px;align-items:flex-start;min-width:0}
.rtk-c>i{flex:none;color:#6b7385;margin-top:1px;display:flex}
.rtk-c small{display:block;font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--mut)}
.rtk-c b{display:block;margin-top:4px;font-size:16px;font-weight:700;line-height:1.4;color:var(--ink);overflow-wrap:anywhere}
.rtk-grid .rtk-c:not(.rtk-seats) b{white-space:nowrap}
.rtk-c.rtk-seats b{font-size:15px;line-height:1.5;letter-spacing:.2px}
.rtk-c .rtk-cx{margin-top:4px;text-transform:none;letter-spacing:0;color:#c4121f;font-weight:500;font-size:11.5px}
.rtk-bot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 0;padding-top:14px}
.rtk-bot .rtk-c{flex:1 1 200px;padding-right:12px}.rtk-bot .rtk-c+.rtk-c{border-left:1px solid var(--ln);padding-left:18px}
.rtk-bot .rtk-c b{font-size:14px}
.rtk-lk{flex:1 0 100%;font-size:12.5px;font-weight:600;color:var(--red);text-decoration:underline;cursor:pointer}
/* stub */
.rtk-stub{position:relative;display:flex;flex-direction:column;border-left:2px dashed #f0b8bf;border-radius:0 18px 18px 0;background:#fff}
.rtk-scan{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px 18px 12px;text-align:center;gap:12px}
.rtk-scan>small{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);line-height:1.5}
.rtk-qr{width:100%;max-width:164px;padding:8px;border:2px solid var(--red);border-radius:14px;background:#fff}
.rtk-qr img.qr{display:block;width:100%;height:auto}
.rtk-void{font-size:22px;font-weight:800;letter-spacing:.2em;color:#b00020;border:3px solid #b00020;border-radius:10px;padding:26px 14px;transform:rotate(-8deg)}
.rtk-pnr{width:100%;padding:7px 8px;border-radius:7px;background:#eef0f4;font-size:12px;font-weight:600;color:#444b5c;letter-spacing:.04em;overflow-wrap:anywhere}
.rtk-corner{position:relative;height:118px;background:linear-gradient(135deg,#e5172a,#b10917);border-top-left-radius:150px 80px;border-bottom-right-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 12px 14px;color:#fff;text-align:center}
.rtk-corner img{height:46px;width:auto;margin-bottom:5px}
.rtk-corner small{font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;opacity:.92}
.rtk.void .rtk-main{opacity:.72}
/* phones: stub goes below the details */

@media print{
  .rtk{box-shadow:none;border:1px solid #bbb}.rtk:before,.rtk:after{display:none}
}

/* ===== BookMyShow-style wide ticket (desktop): page is wide enough for the landscape ticket ===== */
body.tkpg main,body.site.tkpg main{max-width:980px;width:100%;margin:0 auto;padding:10px 24px 40px}
body.tkpg .tkp>:not(.tkp-hd):not(.rtk){max-width:620px;margin-left:auto;margin-right:auto}
body.tkpg .tkp-2b,body.tkpg .tkp-ac,body.tkpg .tkp-tot,body.tkpg .tkp-pr,body.tkpg .tkp-ok,body.tkpg .tkp-gst,body.tkpg .tkp-note{max-width:620px;margin-left:auto;margin-right:auto}
.tkp .rtk{margin:0 auto 18px}
/* landscape ticket on every screen */

  .rtk{grid-template-columns:minmax(0,1fr) 270px;border-radius:22px}
  .rtk:before,.rtk:after{right:260px}
  .rtk-main{padding:26px 32px 22px}
  .rtk-top{margin-bottom:18px}
  .rtk-logo{height:48px}
  .rtk-body{gap:26px}
  .rtk-po{width:170px}
  .rtk-in h2{font-size:clamp(26px,3.2vw,34px);margin-bottom:10px}
  .rtk-chips span{font-size:13px;padding:4px 12px}
  .rtk-r{margin-bottom:14px}
  .rtk-r b{font-size:16px}.rtk-r small{font-size:13.5px}
  .rtk-grid{margin-top:22px;grid-template-columns:auto auto minmax(0,1.6fr) auto}
  .rtk-grid .rtk-c{padding:16px 22px}
  .rtk-grid .rtk-c:first-child{padding-left:2px}
  .rtk-c.rtk-seats b{font-size:16px}
  .rtk-bot{padding-top:18px}
  .rtk-bot .rtk-c b{font-size:15px}
  .rtk-scan{padding:28px 22px 14px;gap:14px}
  .rtk-scan>small{font-size:12px}
  .rtk-qr{max-width:190px}
  .rtk-corner{height:150px;border-top-left-radius:190px 100px}
  .rtk-corner img{height:56px}
  .rtk-corner small{font-size:10.5px}

/* the Class cell must never push past the card */
.rtk-grid .rtk-c{min-width:0}
.rtk-grid .rtk-c.rtk-cls{flex:none}
.rtk-grid .rtk-c.rtk-cls b{white-space:nowrap;overflow-wrap:normal;word-break:keep-all}
@media all{.rtk-grid{grid-template-columns:auto auto minmax(0,1fr) max-content}.rtk-grid .rtk-c.rtk-cls{min-width:max-content}}

/* no icon on the Class cell; grid rows are flex on desktop so Seats wraps instead of pushing Class out */
.rtk-c>i:empty{display:none}
@media all{
  .rtk-grid{display:flex}
  .rtk-grid .rtk-c{flex:none}
  .rtk-grid .rtk-c.rtk-seats{flex:1 1 0;min-width:0}
  .rtk-grid .rtk-c.rtk-cls{min-width:0}
  .rtk-grid .rtk-c.rtk-cls b{white-space:nowrap}
}

/* ===== PRINT: A4 portrait, clean aligned ticket ===== */
@page{size:A4 portrait;margin:0}
@media print{
  html,body.tkpg{background:#fff!important}
  body.tkpg{min-height:0!important;height:auto!important;padding:12mm 12mm 0!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.tkpg main,body.site.tkpg main{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
  body.tkpg .tkp-hd{padding:0 0 8mm}
  body.tkpg .tkp-hd h1{color:#1f2430!important;font-size:26pt;margin:4mm 0 2mm}
  body.tkpg .tkp-hd p{display:block!important;color:#6b7385!important;font-size:10pt}
  body.tkpg .tkp-ck{border-color:#e30713;color:#e30713;box-shadow:none;width:14mm;height:14mm}
  body.tkpg .tkp .rtk{display:grid!important;grid-template-columns:minmax(0,1fr) 62mm!important;width:100%;max-width:none;margin:0 0 8mm;border:1px solid #d9dce3;border-radius:5mm;box-shadow:none;break-inside:avoid;page-break-inside:avoid}
  body.tkpg .rtk:before,body.tkpg .rtk:after,body.tkpg .rtk-stub:before,body.tkpg .rtk-stub:after{display:none!important}
  body.tkpg .rtk-main{padding:8mm 8mm 6mm}
  body.tkpg .rtk-top{margin-bottom:6mm}.rtk-logo{height:13mm}
  body.tkpg .rtk-body{gap:7mm}
  body.tkpg .rtk-po{width:36mm}
  body.tkpg .rtk-in h2{font-size:19pt;margin-bottom:3mm}
  body.tkpg .rtk-r b{font-size:11pt}body.tkpg .rtk-r small{font-size:9pt}
  body.tkpg .rtk-grid{display:flex!important;margin-top:7mm}
  body.tkpg .rtk-grid .rtk-c{flex:none!important;padding:4mm 5mm!important;border-left:1px solid #e6e8ee!important;border-top:0!important;grid-column:auto!important}
  body.tkpg .rtk-grid .rtk-c:first-child{border-left:0!important;padding-left:0!important}
  body.tkpg .rtk-grid .rtk-c.rtk-seats{flex:1 1 0!important;min-width:0}
  body.tkpg .rtk-c small{font-size:7.5pt}body.tkpg .rtk-c b{font-size:11pt;margin-top:1mm}
  body.tkpg .rtk-grid .rtk-c.rtk-cls b{white-space:nowrap}
  body.tkpg .rtk-bot{flex-wrap:nowrap;padding-top:5mm}
  body.tkpg .rtk-bot .rtk-c{flex:1 1 0!important;padding:0 5mm 0 0}
  body.tkpg .rtk-bot .rtk-c+.rtk-c{padding-left:5mm;border-left:1px solid #e6e8ee}
  body.tkpg .rtk-bot .rtk-c b{font-size:11pt;white-space:normal}
  body.tkpg .rtk-lk{display:none}
  body.tkpg .rtk-stub{display:flex!important;flex-direction:column!important;border-left:2px dashed #f0b8bf!important;border-top:0!important;border-radius:0 5mm 5mm 0!important}
  body.tkpg .rtk-scan{padding:8mm 5mm 4mm;gap:4mm}
  body.tkpg .rtk-scan>small{font-size:8pt}
  body.tkpg .rtk-qr{max-width:44mm}
  body.tkpg .rtk-pnr{font-size:8pt}
  body.tkpg .rtk-corner{width:auto!important;height:36mm!important;border-top-left-radius:55mm 30mm!important;border-bottom-right-radius:5mm!important}
  body.tkpg .rtk-corner img{height:13mm}body.tkpg .rtk-corner small{font-size:6.5pt}
  body.tkpg .tkp-tot{display:flex!important;max-width:none!important;background:#fff!important;border:1px solid #d9dce3!important;color:#1f2430!important;padding:4mm 5mm;margin:0}
  body.tkpg .tkp-tot span,body.tkpg .tkp-tot b{color:#1f2430!important}
  body.tkpg .tkp-tot b{font-size:15pt}
  body.tkpg .tkp-gst{max-width:none;color:#444}
  body.tkpg .tkp-ft{display:flex!important;color:#999;margin:6mm 0 0}
}

/* ===== customer seat map: zoom in / out is available on every screen size =====
   100% = the whole hall (every row, W ... VVIP) fits the screen. Zooming in scrolls inside the map box; the top rows stay in view. */
@media(min-width:861px){body.seatpg .zbar{display:flex!important}}

/* ===== v2: fixed horizontal ticket that scales to any phone ===== */
.rtkw{width:100%;position:relative;overflow:hidden;margin:0 0 18px;padding:12px 0}
.rtkw .rtk{margin:0 auto}
.rtkw{overflow:visible}
@media(max-width:700px){
  body.tkpg main,body.site.tkpg main{padding-left:10px;padding-right:10px}
  .rtkw{padding:10px 0;overflow:hidden}
  .rtkw .rtk{margin:0;box-shadow:0 4px 14px rgba(31,36,48,.14),0 0 0 1px #ece}
}

/* ===== v3: wide, really horizontal ticket (laptop + phone). Title always on ONE line ===== */
body.tkpg main,body.site.tkpg main{max-width:1180px}
.rtkw .rtk,.tkp .rtkw .rtk{max-width:1060px;margin-left:auto;margin-right:auto}
.rtk{grid-template-columns:minmax(0,1fr) 240px!important;border-radius:20px}
.rtk:before,.rtk:after{right:230px!important}
.rtk-main{padding:22px 30px 18px!important}
.rtk-top{margin-bottom:14px!important}
.rtk-logo{height:44px!important}
.rtk-body{gap:24px!important;align-items:center!important}
.rtk-po{width:150px!important}
.rtk-in h2{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;font-size:28px!important;margin:0 0 8px!important;line-height:1.15}
.rtk-in{overflow:hidden}
.rtk-r{margin-bottom:8px!important}.rtk-r b{font-size:15px!important}.rtk-r small{font-size:13px!important}
.rtk-grid{margin-top:14px!important;grid-template-columns:auto auto minmax(0,1fr) max-content!important}
.rtk-grid .rtk-c{padding:12px 20px!important}
.rtk-bot{flex-wrap:nowrap!important;padding-top:12px!important;gap:0!important;align-items:center}
.rtk-bot .rtk-c{flex:0 1 auto!important;padding:0 22px 0 0!important}
.rtk-bot .rtk-c+.rtk-c{padding-left:22px!important;border-left:1px solid var(--ln)}
.rtk-bot .rtk-c b{font-size:15px!important;white-space:nowrap!important}
.rtk-lk{display:block!important;flex:0 0 auto!important;margin-left:auto;white-space:nowrap;font-size:13px}
body.tkpg .rtk-lk{display:block!important}
body.tkpg .rtk-bot{flex-wrap:nowrap!important}
body.tkpg .rtk-bot .rtk-c{flex:0 1 auto!important;padding:0 22px 0 0!important}
body.tkpg .rtk-bot .rtk-c+.rtk-c{padding-left:22px!important}
/* QR stub */
.rtk-scan{padding:20px 20px 10px!important;gap:12px!important}
.rtk-qr{max-width:150px!important}
body.tkpg .rtk-qr{max-width:150px!important}
/* red corner: logo + LIVE · EXPERIENCE · REMEMBER always fully visible */
.rtk-corner,body.tkpg .rtk-corner{width:auto!important;height:124px!important;min-height:124px;box-sizing:border-box;padding:0 8px 12px;justify-content:flex-end!important;overflow:visible!important;border-top-left-radius:150px 80px!important;border-bottom-right-radius:20px!important}
.rtk-corner img,body.tkpg .rtk-corner img{height:46px!important;margin-bottom:6px}
.rtk-corner small,body.tkpg .rtk-corner small{display:block!important;white-space:nowrap;font-size:8.5px!important;letter-spacing:.08em;line-height:1.2;opacity:1;color:#fff}

/* cancelled booking: red CANCELLED stamp over the ticket, seats and amount blurred */
.rtk-stamp{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:5;pointer-events:none}
.rtk-stamp span{transform:rotate(-14deg);font-size:clamp(26px,5vw,46px);font-weight:800;letter-spacing:.14em;color:#d90f1f;border:4px solid #d90f1f;border-radius:10px;padding:6px 22px;background:rgba(255,255,255,.55);text-shadow:0 0 1px #fff}
.rtk.void .rtk-seats b,.rtk.void .rtk-amt b{filter:blur(6px);-webkit-user-select:none;user-select:none}
.rtk.void .rtk-seats b .rtk-cx{filter:none}
.rtk.void .rtk-cx{display:none}
.rtk.void .rtk-lk{display:none!important}

.bkx-ac+.rtkw,.tkp .rtkw+.rtkw{margin-top:18px}
