/* ============ LOVE COUPONS ============
   Eight printed tickets لولو can cash in. Every ticket is two masked pieces
   of paper (the body and a tear-off stub) so the perforation notches are real
   holes and the shadow follows the cut silhouette. Cashing one in tears the
   stub off and stamps the body; سوسو's controls sit under the ticket and only
   show in his mode. Logic in coupons.js. */

.coupons { padding: 5rem 1.2rem 7rem; }
.cp { max-width: 560px; margin: 0 auto; }
.coupons .section-head { margin-bottom: 2.4rem; }

/* ---- Counter under the title ---- */
.cp-count {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.cp-count strong { font-weight: 700; color: var(--rose); }
.cp-count.is-loading {
  position: relative;
  width: 9.5rem;
  height: 1rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  color: transparent;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(217, 108, 138, 0.1) 25%, rgba(217, 108, 138, 0.22) 50%, rgba(217, 108, 138, 0.1) 75%);
  background-size: 200% 100%;
  animation: cp-shimmer 1.4s linear infinite;
}
@keyframes cp-shimmer { to { background-position: -200% 0; } }

/* ---- The book of tickets ---- */
.cp-book {
  display: grid;
  gap: 1.15rem;
  perspective: 1400px;
}
.cp-slot {
  --tilt: 0deg;
  --d: 0ms;
  position: relative;
  transform: translate3d(0, 0, 0) rotateX(0deg) scale(1) rotate(var(--tilt));
  transform-origin: 50% 100%;
}
/* entrance: each ticket lays down on the table, staggered per batch (--d from JS) */
.cp-anim .cp-slot {
  opacity: 0;
  transform: translate3d(0, 56px, 0) rotateX(9deg) scale(0.965) rotate(var(--tilt));
}
.cp-anim .cp-slot.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg) scale(1) rotate(var(--tilt));
  transition: transform 0.95s var(--ease-out-strong) var(--d), opacity 0.5s ease var(--d);
}

/* ---- Ticket = body + stub. The button is the whole ticket. ---- */
.cp-ticket {
  --stub: 5.6rem;
  --notch: 9px;
  --edge: 0.95rem;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  width: 100%;
  min-height: 7.9rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  perspective: 700px;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 14px 18px rgba(150, 60, 90, 0.16));
  transition: transform 0.35s var(--ease-spring), filter 0.4s ease;
}
.cp-ticket:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; border-radius: var(--edge); }
.cp-slot:not([data-state="available"]) .cp-ticket { cursor: default; }
.cp-slot[data-state="available"] .cp-ticket:active { transform: scale(0.985); transition-duration: 0.12s; }

/* paper: body */
.cp-body {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0.9rem 0.8rem 1.05rem;
  border-radius: var(--edge) 0 0 var(--edge);
  border-right: 1.5px dashed rgba(110, 36, 54, 0.32);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Cg fill='none' stroke='%23D96C8A' stroke-opacity='.15' stroke-width='.8'%3E%3Cpath d='M0 8C8 0 16 0 24 8s16 8 24 0'/%3E%3Cpath d='M0 8c8 8 16 8 24 0s16-8 24 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 48px 16px repeat,
    radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #FFFBF9 0%, #FBEFEA 100%);
  -webkit-mask:
    radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
}
/* printed inner frame (open toward the perforation) */
.cp-body::before {
  content: '';
  position: absolute;
  inset: 6px 0 6px 6px;
  border: 1px solid rgba(110, 36, 54, 0.16);
  border-right: 0;
  border-radius: calc(var(--edge) - 5px) 0 0 calc(var(--edge) - 5px);
  pointer-events: none;
}
/* paper tooth */
.cp-body::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* one sheen as the ticket lands */
.cp-sheen {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 34%;
  z-index: 1;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-130%) skewX(-14deg);
  pointer-events: none;
}
.cp-anim .cp-slot.is-in .cp-sheen {
  transform: translateX(420%) skewX(-14deg);
  transition: transform 1.1s var(--ease-out-strong) calc(var(--d) + 0.4s);
}

.cp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cp-serial {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--maroon-soft);
  font-variant-numeric: tabular-nums;
}
.cp-tag {
  padding: 0.14rem 0.4rem 0.12rem;
  border: 1px solid rgba(217, 108, 138, 0.6);
  border-radius: 0.3rem;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  white-space: nowrap;
  transition: opacity 0.5s ease;
}
.cp-title {
  margin-top: 0.34rem;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
  transition: color 0.5s ease;
}
.cp-sub {
  margin-top: 0.2rem;
  padding-right: 3.4rem; /* phones: keeps the stamp zone (right of the sub) clear in every state */
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}
.cp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.6rem;
}
.cp-foot-t {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--rose);
  transition: color 0.4s ease;
}
.cp-foot-ico {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cp-slot:not([data-state="available"]) .cp-foot-ico { display: none; }
.cp-slot[data-state="requested"] .cp-foot-t { color: var(--maroon-soft); }
.cp-slot[data-state="delivered"] .cp-foot-t { color: var(--ink-soft); }
.coupons.is-live .cp-slot[data-state="available"] .cp-foot-ico { animation: cp-nudge 3.4s var(--ease-fluid) infinite; }
@keyframes cp-nudge {
  0%, 30%, 100% { transform: translateX(0); }
  10% { transform: translateX(3px); }
  20% { transform: translateX(0); }
}
.cp-slot:not([data-state="available"]) .cp-fine { display: none; } /* the stamp covers it anyway */
.cp-fine {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(110, 36, 54, 0.42);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cp-ghost {
  position: absolute;
  right: 0.35rem;
  bottom: -0.7rem;
  z-index: -1;
  font-size: 4.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(110, 36, 54, 0.055);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

/* paper: stub */
.cp-stub {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  padding-bottom: 0.6rem;
  border-radius: 0 var(--edge) var(--edge) 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Cg fill='none' stroke='%23D96C8A' stroke-opacity='.15' stroke-width='.8'%3E%3Cpath d='M0 8C8 0 16 0 24 8s16 8 24 0'/%3E%3Cpath d='M0 8c8 8 16 8 24 0s16-8 24 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 48px 16px repeat,
    linear-gradient(180deg, #FCEBEF 0%, #F6DBE2 100%);
  transform-origin: 0 0;
  backface-visibility: hidden;
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
}
.cp-stub::before {
  content: '';
  position: absolute;
  inset: 6px 6px 6px 0;
  border: 1px solid rgba(110, 36, 54, 0.16);
  border-left: 0;
  border-radius: 0 calc(var(--edge) - 5px) calc(var(--edge) - 5px) 0;
  pointer-events: none;
}
.cp-stub-inf {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cp-stub-for {
  margin-top: 0.15rem;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cp-stub-name {
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--maroon);
}
.cp-stub-serial {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  text-align: center;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(110, 36, 54, 0.45);
  font-variant-numeric: tabular-nums;
}
.cp-slot:not([data-state="available"]) .cp-stub { opacity: 0; visibility: hidden; }

/* ---- Stamps (on the paper, overhanging the torn edge so the perforation clips them) ---- */
.cp-stamp {
  --r: -8deg;
  position: absolute;
  right: -0.45rem;
  bottom: 2.1rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.26rem 0.52rem 0.28rem;
  border: 2px solid currentColor;
  border-radius: 0.5rem;
  color: #C4506F;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.05;
  white-space: nowrap;
  transform: rotate(var(--r));
  mix-blend-mode: multiply;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E") 0 0 / 90px 90px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E") 0 0 / 90px 90px;
}
.cp-stamp::before {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid currentColor;
  border-radius: 0.32rem;
}
.cp-stamp b { font-size: 0.6rem; font-weight: 900; }
.cp-stamp small {
  margin-top: 0.12rem;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-variant-numeric: tabular-nums;
}
.cp-stamp.is-on { opacity: 0.94; visibility: visible; }
.cp-stamp-done {
  --r: 6deg;
  right: 1.2rem;
  bottom: 2.6rem;
  z-index: 4;
  color: var(--maroon);
}
.cp-slot[data-state="delivered"] .cp-stamp-req.is-on { opacity: 0.38; }
/* the ink that bleeds out under a fresh stamp (made in JS) */
.cp-ink {
  position: absolute;
  z-index: 2;
  width: 9rem;
  height: 5.5rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, currentColor, transparent 72%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* delivered: the paper has done its job (greyer print, no filter so the maroon stamp stays maroon) */
.cp-slot[data-state="delivered"] .cp-body {
  border-right-color: rgba(61, 44, 51, 0.24);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Cg fill='none' stroke='%237A6169' stroke-opacity='.13' stroke-width='.8'%3E%3Cpath d='M0 8C8 0 16 0 24 8s16 8 24 0'/%3E%3Cpath d='M0 8c8 8 16 8 24 0s16-8 24 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 48px 16px repeat,
    linear-gradient(180deg, #FDFBFA 0%, #F4EFED 100%);
}
.cp-slot[data-state="delivered"] .cp-body::before { border-color: rgba(61, 44, 51, 0.12); }
.cp-slot[data-state="delivered"] .cp-title { color: var(--ink-soft); }
.cp-slot[data-state="delivered"] .cp-serial { color: var(--ink-soft); }
.cp-slot[data-state="delivered"] .cp-tag { color: var(--ink-soft); border-color: rgba(122, 97, 105, 0.4); opacity: 0.6; }
.cp-slot[data-state="delivered"] .cp-ghost { color: rgba(61, 44, 51, 0.05); }
.cp-slot[data-state="delivered"] .cp-ticket { filter: drop-shadow(0 10px 14px rgba(61, 44, 51, 0.09)); }

/* ---- سوسو's controls (his mode only) ---- */
.cp-admin {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
  padding: 0 0.2rem;
}
html.is-soso .cp-slot:not([data-state="available"]) .cp-admin { display: flex; }
.cp-slot[data-state="delivered"] .cp-admin-btn[data-act="done"] { display: none; }
.cp-admin-note {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: auto;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon-soft);
}
.cp-admin-note svg {
  width: 0.8rem;
  height: 0.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cp-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  color: var(--cream);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(82, 26, 40, 0.7);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s var(--ease-out-strong), opacity 0.2s ease;
}
.cp-admin-btn.is-ghost {
  background: transparent;
  color: var(--maroon);
  box-shadow: inset 0 0 0 1px rgba(110, 36, 54, 0.38);
}
.cp-admin-btn:active { transform: scale(0.96); }
.cp-admin-btn.is-busy { opacity: 0.55; pointer-events: none; }
.cp-admin-btn svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 479px) {
  .cp-admin-note { flex: 1 1 100%; margin-right: 0; }
}

/* ---- Confirm sheet ---- */
.cp-sheet {
  position: relative;
  padding: 1.55rem 1.4rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  text-align: left;
}
.cp-sheet-x { position: absolute; top: 1rem; right: 1rem; }
.cp-sheet-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  font-variant-numeric: tabular-nums;
}
.cp-sheet-kicker svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cp-sheet-title {
  margin-top: 0.75rem;
  padding-right: 2.2rem;
  font-size: clamp(1.35rem, 5.4vw, 1.6rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.cp-sheet-title em { font-style: normal; color: var(--rose); }
.cp-sheet-sub {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.cp-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.35rem;
}
.cp-btn-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--rose), var(--rose-soft));
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(217, 108, 138, 0.6);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-fluid), opacity 0.2s ease;
}
.cp-btn-yes:active { transform: scale(0.97); }
.cp-btn-yes svg { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }
.cp-btn-yes.is-busy { pointer-events: none; opacity: 0.85; }
.cp-btn-yes .cp-spin { display: none; }
.cp-btn-yes.is-busy .cp-spin { display: block; }
.cp-btn-yes.is-busy .cp-btn-ico { display: none; }
.cp-spin {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: cp-spin 0.8s linear infinite;
}
@keyframes cp-spin { to { transform: rotate(360deg); } }
.cp-btn-no {
  min-height: 2.9rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(217, 108, 138, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s var(--ease-fluid), transform 0.35s var(--ease-spring);
}
.cp-btn-no:active { transform: scale(0.97); }
.cp-btn-yes:focus-visible,
.cp-btn-no:focus-visible,
.cp-sheet-x:focus-visible,
.cp-admin-btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* ---- Toast ---- */
.cp-toast {
  position: fixed;
  left: 50%;
  bottom: calc(max(env(safe-area-inset-bottom, 0px), 0.9rem) + 0.6rem);
  z-index: 95;
  width: max-content; /* otherwise left:50% caps the box at half the viewport */
  max-width: min(88vw, 400px);
  padding: 0.8rem 1.3rem;
  border-radius: 1.25rem;
  background: rgba(61, 44, 51, 0.94);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 16px 40px -14px rgba(61, 44, 51, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: translate3d(-50%, 18px, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.5s var(--ease-spring);
}
.cp-toast.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); }
.cp-toast .ar { color: var(--rose-soft); font-weight: 700; }

/* ---- Hover (pointer devices only) ---- */
@media (hover: hover) and (pointer: fine) {
  .cp-slot[data-state="available"] .cp-ticket:hover {
    transform: translate3d(0, -3px, 0);
    filter: drop-shadow(0 20px 22px rgba(150, 60, 90, 0.2));
  }
  .cp-btn-yes:hover { transform: translateY(-2px); }
  .cp-btn-no:hover { background: var(--rose-mist); }
  .cp-admin-btn:hover { transform: translateY(-1px); }
  .cp-admin-btn.is-ghost:hover { background: rgba(110, 36, 54, 0.06); }
}

/* ---- Desktop ---- */
@media (min-width: 768px) {
  .coupons { padding-top: 8rem; padding-bottom: 10rem; }
  .cp { max-width: 940px; }
  .cp-book { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.35rem; }
  .cp-ticket { --stub: 6.4rem; min-height: 8.7rem; }
  .cp-body { padding: 1rem 1.05rem 0.95rem 1.2rem; }
  .cp-title { font-size: 1.12rem; }
  .cp-sub { font-size: 0.84rem; padding-right: 0; }
  .cp-stamp { right: -0.9rem; bottom: 0.75rem; padding: 0.3rem 0.62rem 0.32rem; }
  .cp-stamp b { font-size: 0.68rem; }
  .cp-stamp small { font-size: 0.5rem; }
  .cp-stamp-done { right: 1.2rem; bottom: 1.35rem; }
  .cp-sheet { padding: 1.8rem 1.7rem 1.7rem; }
  .cp-sheet-actions { flex-direction: row-reverse; justify-content: flex-start; }
  .cp-btn-yes { width: auto; min-height: 3rem; padding: 0.6rem 1.6rem; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .cp-anim .cp-slot { opacity: 1; transform: rotate(var(--tilt)); }
  .cp-sheen { display: none; }
  .cp-foot-ico { animation: none !important; }
  .cp-count.is-loading { animation: none; }
  .cp-spin { animation: none; opacity: 0.7; }
}
