/* /landing/cart's tickets (components/landing/cart/TicketPicture.js): the site's HTML ticket on test2's scanned art,
   cut (no editor outline), with a two-part shadow. The engine's pictures are off (lib/landing/ticketPictures.js
   CART_PICTURES); the rules for them (.lc-pic, .lc-tk-ink) stay for when they come back. */
/* the page goes full bleed out of Layout's column, and the tickets' pictures run past it: never let that scroll sideways
   (<body> too, as landing-test2.css) */
html:has(.lc-tk), html:has([data-landing-cart]), body:has(.lc-tk), body:has([data-landing-cart]) { overflow-x: clip; }
/* the site's main column stretches to the screen's height, so a short cart (an empty one) left the old patterned page
   showing between it and the footer's fade: white under the cart instead (owner, 2026-11-11) */
body:has([data-landing-cart]) { background: #fff; }
.lc-tk { position: relative; width: 100%; aspect-ratio: 528 / 188; }
/* the print as the regular /cart draws it (styles/ticket.css #ticket: the browser's bold, nothing over the text), laid
   out at its size with zoom (owner, 2026-10-29: a transform's scale, eight text shadows and the grain made it thick) */
.lc-tk-in { position: absolute; left: 0; top: 0; width: 528px; height: 188px; zoom: var(--k, .6);
  text-align: left; line-height: normal; white-space: normal; letter-spacing: 0; }
.lc-tk::before { content: ""; position: absolute; inset: 5% 1.5% 3%; box-shadow: 0 3px 4px rgba(0,0,0,.2), 0 14px 26px rgba(0,25,60,.2); }
.lc-tk .sf .ticket { margin: 0; outline: none; font-weight: 700; -webkit-text-stroke-width: 0; }
.lc-tk .sf .ticket .sf-ink { text-shadow: none; }
/* the picture over it, and the flat ticket hidden once it's in (kept underneath, so a picture that fails leaves it);
   the print on top: the ticket's art hidden (.ticket > .relative, as ticket-gl.js leaves it out of the print) */
.lc-pic { position: absolute; left: -8%; top: -12%; width: 113%; height: 157%; max-width: none; pointer-events: none; z-index: 1; }
.lc-has-pic .lc-tk-in:not(.lc-tk-ink), .lc-has-pic::before { opacity: 0; }
.lc-tk-ink { z-index: 2; pointer-events: none; }
.lc-tk-ink .ticket > .relative { visibility: hidden; }
.lc-tk-ink::after { display: none; }
/* the ticket's look, swapped in one frame (TicketPicture). With 3D paper, nothing shows until the picture is in (the
   space is kept): no flat ticket first; flat after 1.5 s (.lc-waited), or 2.5 s by this rule alone if the script fails */
.lc-layer { position: absolute; inset: 0; isolation: isolate; }
[data-paper="3d"] .lc-tk:not(.lc-has-pic):not(.lc-waited) > .lc-layer, [data-paper="3d"] .lc-tk:not(.lc-has-pic):not(.lc-waited)::before {
  visibility: hidden; animation: lc-show 0s 2.5s forwards; }
@keyframes lc-show { to { visibility: visible; } }
/* "Loading..." in the kept space when the picture is slow: from 0.5 s (a stored one takes a few ms, drawing one about
   0.4 s) until it's in, or the flat ticket shows (1.5 s; 2.5 s by CSS alone) */
.lc-loading { display: none; }
[data-paper="3d"] .lc-tk:not(.lc-has-pic):not(.lc-waited) > .lc-loading { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center;
  font: 600 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif; color: #5a7088; letter-spacing: .02em;
  visibility: hidden; animation: lc-show 0s .5s forwards, lc-hide 0s 2.5s forwards; }
.lc-loading i { font-style: normal; opacity: 0; animation: lc-dot 1.2s infinite; }
.lc-loading i:nth-child(2) { animation-delay: .2s; }
.lc-loading i:nth-child(3) { animation-delay: .4s; }
@keyframes lc-hide { to { visibility: hidden; } }
@keyframes lc-dot { 30%, 70% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lc-loading i { animation: none; opacity: 1; } }

/* Edit in the cart (components/landing/cart/TicketEditor.js): the ticket live in the engine; phones type in test2's
   panel under it (landing-test2.css's .edit-sheet, as a block here rather than over the page) */
.lc-ed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; scroll-margin-top: 12px; }
.lc-ed-stage { position: relative; padding: 4% 4% 6%; overflow-x: clip; } /* the live canvas has room past the ticket for the tilt;
   the side room keeps the hover lift (it grows the ticket a little) inside the column (owner, 2026-10-29: cut off in narrow windows) */
.lc-ed-sheet { padding: .7rem .75rem .75rem; border-radius: 14px; background: #fff; color: #0c1f33; text-align: left; box-shadow: 0 10px 28px rgba(0, 30, 70, .22); border: 1px solid #d6e4f1; }
.lc-ed-sheet[hidden] { display: none; }
.lc-es-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 .4rem; font-size: .8rem; }
.lc-es-head b { text-transform: capitalize; font-weight: 700; }
.lc-es-head span { color: #6b7d90; font-variant-numeric: tabular-nums; }
.lc-es-head span.full { color: #d7262c; }
.lc-es-field .tfx-input { position: static; display: block; width: 100% !important; box-sizing: border-box; padding: .6rem .7rem; border: 2px solid #0a7fd4; border-radius: 10px;
  outline: none; background: #f4f9ff; color: #111; -webkit-text-fill-color: #111; caret-color: #0a7fd4;
  font: 700 1.15rem/1.2 "composite", ui-monospace, monospace; letter-spacing: .04em; white-space: nowrap; }
.lc-es-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; margin-top: .55rem; }
.lc-es-nav button { min-height: 44px; border: 1.5px solid #c9dcee; border-radius: 999px; background: #fff; color: #0c1f33; font-weight: 600; font-size: .95rem; cursor: pointer; }
.lc-es-nav button.done { background: #0a7fd4; border-color: #0a7fd4; color: #fff; }
.lc-ed .tfx[data-edit-sheet] .tfx-editing.tfx-live .tfx-ghost { color: inherit !important; -webkit-text-fill-color: currentColor; }
.lc-ed .tfx[data-edit-sheet] .tfx-editing { outline: 1.5px solid #d7262c; outline-offset: 1px; background: rgba(215, 38, 44, .1); border-radius: 1px; }
.lc-ed-hint { margin: 0; text-align: center; font-size: .86rem; color: #3c5268; }
.lc-ed-act { display: flex; gap: 10px; justify-content: center; }
.lc-ed-err { margin: 0; text-align: center; font-size: .86rem; color: #a3242a; font-weight: 600; }
.lc-ed-note { margin: 0 auto; max-width: 480px; text-align: center; font-size: .82rem; color: #3c5268; }

/* sample text flagged: the red outlines are on the print's slots, so they show on the picture's print copy too */
/* ?paper=css (development: compare; lib/landing/ticketPictures.js CART_PAPER): the 3D still's paper in CSS, nothing over
   the print. Light across the sheet and a little grain go under the print (inside the art, .ticket > .relative, below
   the print's z-10); torn tufts past each end (15 per end, as the engine's "torn" tabs); a lifted sheet's shadow. */
[data-paper="css"] .lc-tk::before { inset: 4% 1% 2%; box-shadow: 0 1px 1px rgba(0,0,0,.16), 0 4px 6px -1px rgba(0,25,60,.16), 0 16px 28px -4px rgba(0,25,60,.24); }
[data-paper="css"] .lc-tk::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -5%; height: 14%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,25,60,.16), rgba(0,25,60,0)); z-index: -1; }
[data-paper="css"] .ticket > .relative::before { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; mix-blend-mode: multiply; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px; }
[data-paper="css"] .ticket > .relative::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(104deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,0) 38%, rgba(0,0,0,0) 62%, rgba(10,30,50,.08) 100%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 40%, rgba(10,30,50,.05)); }
[data-paper="css"] .lc-tk-in::before, [data-paper="css"] .lc-tk-in::after { content: ""; position: absolute; top: 0; width: 5px; height: 188px; pointer-events: none; }
[data-paper="css"] .lc-tk-in::before { left: -5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='188' viewBox='0 0 5 188'%3E%3Cpath d='M5.00 4.44 L5.00 4.44 L3.49 5.32 L2.92 6.19 L3.26 6.92 L3.51 7.51 L5.00 8.09 L5.00 8.09Z M5.00 16.90 L5.00 16.90 L3.37 17.26 L3.29 17.63 L3.19 18.39 L3.51 19.55 L5.00 20.70 L5.00 20.70Z M5.00 29.33 L5.00 29.33 L2.95 30.59 L2.67 31.85 L2.86 32.65 L3.59 32.99 L5.00 33.34 L5.00 33.34Z M5.00 41.70 L5.00 41.70 L3.58 42.64 L2.67 43.59 L3.22 44.46 L3.82 45.25 L5.00 46.04 L5.00 46.04Z M5.00 54.32 L5.00 54.32 L3.27 54.98 L2.61 55.63 L1.96 56.46 L3.05 57.47 L5.00 58.48 L5.00 58.48Z M5.00 66.93 L5.00 66.93 L3.33 68.09 L1.52 69.25 L2.73 70.05 L3.21 70.49 L5.00 70.94 L5.00 70.94Z M5.00 79.76 L5.00 79.76 L2.93 80.00 L2.15 80.24 L1.74 80.92 L3.34 82.05 L5.00 83.17 L5.00 83.17Z M5.00 91.98 L5.00 91.98 L2.65 92.75 L2.15 93.51 L1.88 94.32 L3.50 95.17 L5.00 96.02 L5.00 96.02Z M5.00 104.48 L5.00 104.48 L2.79 105.61 L1.18 106.74 L2.32 107.56 L2.70 108.07 L5.00 108.59 L5.00 108.59Z M5.00 117.38 L5.00 117.38 L3.78 118.31 L3.03 119.25 L2.53 119.92 L3.90 120.33 L5.00 120.75 L5.00 120.75Z M5.00 129.62 L5.00 129.62 L3.01 130.72 L1.79 131.82 L1.88 132.61 L2.33 133.10 L5.00 133.58 L5.00 133.58Z M5.00 142.43 L5.00 142.43 L3.50 142.85 L2.63 143.28 L3.00 143.96 L3.86 144.90 L5.00 145.84 L5.00 145.84Z M5.00 154.81 L5.00 154.81 L3.07 155.99 L1.96 157.16 L1.88 157.91 L3.52 158.22 L5.00 158.53 L5.00 158.53Z M5.00 167.05 L5.00 167.05 L2.89 168.20 L2.32 169.34 L1.44 170.20 L3.26 170.77 L5.00 171.35 L5.00 171.35Z M5.00 179.99 L5.00 179.99 L3.88 180.53 L3.15 181.08 L3.20 181.78 L3.60 182.63 L5.00 183.48 L5.00 183.48Z' fill='%23e4e1d8'/%3E%3C/svg%3E"); }
[data-paper="css"] .lc-tk-in::after { right: -5px; left: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='188' viewBox='0 0 5 188'%3E%3Cpath d='M0.00 4.05 L0.00 4.05 L1.81 4.60 L2.74 5.15 L2.39 6.03 L2.30 7.26 L0.00 8.48 L0.00 8.48Z M0.00 16.87 L0.00 16.87 L1.68 17.25 L2.42 17.62 L3.19 18.39 L1.52 19.56 L0.00 20.73 L0.00 20.73Z M0.00 29.07 L0.00 29.07 L1.43 29.63 L2.85 30.20 L3.48 31.11 L2.21 32.35 L0.00 33.60 L0.00 33.60Z M0.00 42.08 L0.00 42.08 L1.73 42.48 L2.92 42.87 L2.34 43.58 L1.47 44.62 L0.00 45.65 L0.00 45.65Z M0.00 54.11 L0.00 54.11 L2.47 55.32 L2.85 56.53 L3.34 57.45 L2.05 58.07 L0.00 58.69 L0.00 58.69Z M0.00 67.31 L0.00 67.31 L1.99 67.73 L2.36 68.15 L2.96 68.79 L2.01 69.67 L0.00 70.55 L0.00 70.55Z M0.00 79.61 L0.00 79.61 L1.33 80.09 L2.48 80.57 L2.80 81.31 L1.82 82.32 L0.00 83.32 L0.00 83.32Z M0.00 91.94 L0.00 91.94 L2.59 92.37 L3.68 92.79 L3.63 93.61 L2.13 94.84 L0.00 96.06 L0.00 96.06Z M0.00 104.38 L0.00 104.38 L1.58 105.53 L2.38 106.68 L3.07 107.54 L1.86 108.11 L0.00 108.69 L0.00 108.69Z M0.00 117.38 L0.00 117.38 L1.22 118.44 L2.59 119.51 L2.76 120.18 L1.60 120.47 L0.00 120.76 L0.00 120.76Z M0.00 129.62 L0.00 129.62 L1.57 129.94 L2.23 130.27 L2.67 131.06 L1.42 132.32 L0.00 133.58 L0.00 133.58Z M0.00 141.96 L0.00 141.96 L1.35 142.59 L2.42 143.22 L2.04 144.09 L1.48 145.20 L0.00 146.31 L0.00 146.31Z M0.00 154.43 L0.00 154.43 L2.04 155.28 L2.44 156.14 L3.07 157.03 L1.69 157.97 L0.00 158.90 L0.00 158.90Z M0.00 167.23 L0.00 167.23 L1.02 167.96 L2.33 168.69 L1.69 169.48 L1.33 170.32 L0.00 171.17 L0.00 171.17Z M0.00 179.74 L0.00 179.74 L1.90 180.56 L2.01 181.37 L2.57 182.17 L1.46 182.94 L0.00 183.72 L0.00 183.72Z' fill='%23e4e1d8'/%3E%3C/svg%3E"); }
[data-paper="css"] .lc-tk { isolation: isolate; }
/* Site (2026-11-17): session replays (PostHog) redraw the page without its scripts and can't load the 3D picture (it's
   kept in the visitor's browser), so there the flat ticket shows in its place. A visitor's page always runs scripts. */
@media (scripting: none) {
  .lc-has-pic .lc-tk-in:not(.lc-tk-ink), .lc-has-pic::before { opacity: 1; }
  .lc-has-pic .lc-pic, .lc-has-pic .lc-tk-ink { display: none; }
}
