.cinema-draw {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  width: 100%;
  min-height: 62px;
  padding: 0;
  color: #292415;
  background: linear-gradient(124deg, #f7e8b7, #d5b36b 55%, #efd89d);
  border: 1px solid #f7e4ac;
  border-radius: 4px;
  box-shadow: 0 6px 18px #050d09a0, inset 0 1px #fff5cf;
  text-align: left;
  cursor: pointer;
  transition: transform 140ms ease, filter 140ms ease;
}

.cinema-draw::before {
  position: absolute;
  inset: 3px;
  border: 1px solid #5b431f55;
  border-radius: 2px;
  content: "";
  pointer-events: none;
}

.cinema-draw__body {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 10px 13px;
}

.cinema-draw__kicker {
  font: 600 8px/1.2 "Avenir Next", system-ui, sans-serif;
  letter-spacing: .13em;
}

.cinema-draw__label {
  font: 700 16px/1.22 system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.cinema-draw__stub {
  position: relative;
  display: grid;
  place-items: center;
  border-inline-start: 1px dashed #69522f;
  font: 22px/1 Georgia, serif;
}

.cinema-draw__stub::before,
.cinema-draw__stub::after {
  position: absolute;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1c2b21;
  content: "";
}
.cinema-draw__stub::before { top: -5px; }
.cinema-draw__stub::after { bottom: -5px; }
.cinema-draw:not(:disabled):hover { filter: brightness(1.07); transform: translateY(-1px); }
.cinema-draw:not(:disabled):active { transform: translateY(1px); }
.cinema-draw:focus-visible { outline: 2px solid #fff0bc; outline-offset: 4px; }
.cinema-draw:disabled { opacity: .56; cursor: default; }

@media (max-width: 700px) {
  .cinema-intro { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cinema-draw { transition: none; }
  .cinema-draw:not(:disabled):is(:hover, :active) { transform: none; }
}

/* Ticket stubs: separate play and save targets preserve keyboard and touch use. */
.cinema-tile-frame {
  position: relative;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.cinema-stub-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 16px;
  background: #efd698;
  color: #2c2518;
  clip-path: polygon(0 0,100% 0,100% 32%,90% 50%,100% 68%,100% 100%,0 100%,0 68%,10% 50%,0 32%);
  font: 11px/1 Georgia,serif;
}

.cinema-stub-icon::after { content: "✦"; }
[aria-pressed="true"] > .cinema-stub-icon::after { content: "✓"; }
.cinema-stubs-toggle[aria-pressed="true"] > .cinema-stub-icon { background: #2c2518; color: #f7e6ac; }

.cinema-tile-stub {
  position: absolute;
  z-index: 3;
  inset: 6px auto auto 6px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #f3d990b0;
  border-radius: 4px;
  background: #132019ed;
  box-shadow: 0 2px 9px #0b140c88;
  cursor: pointer;
}

.cinema-tile-stub:hover, .cinema-tile-stub[aria-pressed="true"],
.cinema-dialog-actions .cinema-dialog-stub[aria-pressed="true"] {
  background: linear-gradient(128deg,#fff1c0,#cfa85c);
  color: #211f15;
}

.cinema-tile-stub:is(:hover,[aria-pressed="true"]) .cinema-stub-icon,
.cinema-dialog-actions .cinema-dialog-stub[aria-pressed="true"] .cinema-stub-icon {
  background: #2c2518;
  color: #fff0b8;
}

.cinema-dialog-actions .cinema-dialog-stub { gap: 7px; }
.cinema-stubs-note { margin: 0; padding: 0 16px 12px; color: var(--brass); font-size: .83rem; line-height: 1.45; }
.cinema-stubs-toggle span[data-cinema-i18n] { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .cinema-controls input[type="search"] { grid-column: 1 / -1; max-width: none; }
  .cinema-controls .cinema-stubs-toggle .cinema-stub-icon { width: 18px; height: 14px; }
}
