/* PlayNewApps unified coupon theme — linked from every *-coupons page.
   Standard (repo AGENTS.md): Show Code = purple, Get Deal = blue.
   This file only sets theme variables + fallback classes; Tailwind pages get their
   utility classes swapped by normalize-theme.py, shared-CSS pages get pna-* classes. */
:root {
  --primary-color: #9333EA;
  --primary-hover: #7E22CE;
}
.pna-show-code {
  background-color: #9333EA !important;
  color: #fff !important;
}
.pna-show-code:hover {
  background-color: #7E22CE !important;
}
.pna-get-deal {
  background-color: #2563EB !important;
  color: #fff !important;
}
.pna-get-deal:hover {
  background-color: #1D4ED8 !important;
}

/* Standard reveal modal (coupon-reveal.js) — one look on every coupon page. */
#pna-reveal-modal.pna-modal-hidden { display: none; }
#pna-reveal-modal .pna-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 23, 42, 0.6);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
#pna-reveal-modal .pna-modal-card {
  position: relative; background: #fff; border-radius: 16px;
  max-width: 420px; width: 100%; padding: 28px 24px 24px;
  text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
#pna-reveal-modal .pna-modal-close {
  position: absolute; top: 8px; right: 12px; border: none; background: none;
  font-size: 26px; line-height: 1; color: #64748b; cursor: pointer;
}
#pna-reveal-modal .pna-modal-title { font-size: 18px; font-weight: 800; color: #0f172a; margin-bottom: 14px; }
#pna-reveal-modal .pna-modal-code {
  font-family: ui-monospace, monospace; font-size: 22px; font-weight: 800; letter-spacing: 2px;
  color: #0f172a; background: #f8fafc; border: 2px dashed #9333ea;
  border-radius: 12px; padding: 14px 10px; word-break: break-all; user-select: all;
}
#pna-reveal-modal .pna-modal-note { font-size: 13px; color: #059669; font-weight: 700; margin: 12px 0 16px; }
#pna-reveal-modal .pna-modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
#pna-reveal-modal #pna-modal-continue {
  background: #9333ea; color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 10px; text-decoration: none; display: inline-block;
}
#pna-reveal-modal #pna-modal-continue:hover { background: #7e22ce; }
#pna-reveal-modal #pna-modal-copy {
  background: #fff; color: #0f172a; font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 10px; border: 2px solid #e2e8f0; cursor: pointer;
}

/* 2026-11-03: Show Code action row must never wrap — Filmora/AliExpress
   screenshots showed mask dots and button text wrapping onto two lines. */
span[class*="border-dashed"] { white-space: nowrap !important; flex-shrink: 0; }
.pna-show-code, .show-code-btn, .btn-text { white-space: nowrap !important; flex-shrink: 0; }
