/* High Revs Holiday Scratch Card. Everything is scoped to .hrsc so the theme is not affected. */
.hrsc {
  --hrsc-red: #D22030;
  --hrsc-dark: #111111;
  --hrsc-gray: #6B6B6B;
  --hrsc-line: #D9D9D9;
  --hrsc-soft: #F3F3F3;
  --hrsc-white: #FFFFFF;
  max-width: 720px;
  margin: 0 auto;
  color: var(--hrsc-dark);
  font-size: 16px;
  line-height: 1.5;
}
.hrsc *, .hrsc *::before, .hrsc *::after { box-sizing: border-box; }
.hrsc-shell { display: grid; gap: 18px; }
.hrsc-top { background: var(--hrsc-dark); color: var(--hrsc-white); border-radius: 12px; padding: 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hrsc-logo { width: 190px; max-width: 100%; height: auto; display: block; }
.hrsc-shopname { font-weight: 900; font-size: 22px; }
.hrsc-top-text { flex: 1 1 260px; min-width: 0; }
.hrsc .hrsc-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hrsc-red); }
.hrsc .hrsc-title { margin: 0; font-family: "Arial Black", Impact, Arial, sans-serif; font-weight: 900; font-size: clamp(26px, 5vw, 36px); line-height: 1.05; color: var(--hrsc-white); }
.hrsc .hrsc-lede { margin: 6px 0 0; color: #D6D6D6; }

.hrsc-weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); gap: 8px; }
.hrsc-wk { background: var(--hrsc-white); border: 1px solid var(--hrsc-line); border-radius: 8px; padding: 10px; min-width: 0; display: grid; gap: 2px; margin: 0; }
.hrsc-wk-n { font-weight: 900; }
.hrsc-wk-d { font-size: 13px; color: var(--hrsc-gray); }
.hrsc-chip { justify-self: start; white-space: nowrap; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; margin-top: 4px; background: var(--hrsc-soft); color: var(--hrsc-gray); }
.hrsc-wk[data-s="open"] { border-color: var(--hrsc-red); box-shadow: inset 0 0 0 1px var(--hrsc-red); }
.hrsc-wk[data-s="open"] .hrsc-chip { background: var(--hrsc-red); color: var(--hrsc-white); }
.hrsc-wk[data-s="locked"] { border-style: dashed; background: transparent; }
.hrsc-wk[data-s="closed"] { opacity: .6; }

.hrsc-ticket { background: var(--hrsc-white); border-radius: 12px; overflow: hidden; border: 1px solid var(--hrsc-line); box-shadow: 0 10px 28px -18px rgba(0, 0, 0, .5); }
.hrsc-t-head { background: var(--hrsc-red); color: var(--hrsc-white); padding: 14px 20px 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; position: relative; }
.hrsc-t-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 12px; background: radial-gradient(circle at 6px 6px, var(--hrsc-white) 4px, transparent 4.5px) 0 0 / 14px 12px repeat-x; }
.hrsc-t-week { font-family: "Arial Black", Impact, Arial, sans-serif; font-weight: 900; font-size: 20px; line-height: 1; }
.hrsc-t-dates { font-size: 13px; opacity: .9; }
.hrsc-t-body { padding: 26px 20px 22px; display: grid; gap: 14px; }
.hrsc .hrsc-t-body h3 { margin: 0; font-size: 21px; line-height: 1.25; color: var(--hrsc-dark); }
.hrsc .hrsc-t-body p { margin: 0; }
.hrsc-form { display: grid; gap: 12px; margin: 0; }
.hrsc-muted { color: var(--hrsc-gray); }
.hrsc-small { font-size: 13px; color: var(--hrsc-gray); }
.hrsc-offers { background: var(--hrsc-soft); border-radius: 8px; padding: 12px 14px; }
.hrsc .hrsc-offers-h { margin: 0 0 4px; font-weight: 700; }
.hrsc .hrsc-offers ul { margin: 0; padding-left: 20px; }
.hrsc .hrsc-offers li { margin: 2px 0; }
.hrsc-label { font-weight: 700; font-size: 14px; }
.hrsc .hrsc-input { width: 100%; max-width: 100%; border: 1px solid #BDBDBD; border-radius: 8px; padding: 12px; font-size: 16px; background: var(--hrsc-white); color: var(--hrsc-dark); }
.hrsc .hrsc-input:focus { outline: 3px solid rgba(210, 32, 48, .25); border-color: var(--hrsc-dark); }
.hrsc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.hrsc-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--hrsc-gray); cursor: pointer; }
.hrsc-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--hrsc-red); }
.hrsc .hrsc-err { color: var(--hrsc-red); font-weight: 700; font-size: 14px; min-height: 1.2em; }
.hrsc .hrsc-btn { appearance: none; background: var(--hrsc-dark); color: var(--hrsc-white); border: 0; border-radius: 8px; padding: 13px 20px; font-size: 16px; font-weight: 700; cursor: pointer; justify-self: start; line-height: 1.2; text-transform: none; letter-spacing: 0; }
.hrsc .hrsc-btn:hover { background: var(--hrsc-red); }
.hrsc .hrsc-btn[disabled] { opacity: .6; cursor: wait; }
.hrsc .hrsc-link { appearance: none; background: none; border: 0; padding: 0; color: var(--hrsc-dark); text-decoration: underline; cursor: pointer; font-size: 14px; justify-self: start; text-transform: none; letter-spacing: 0; }
.hrsc .hrsc-btn:focus-visible, .hrsc .hrsc-link:focus-visible { outline: 3px solid var(--hrsc-red); outline-offset: 2px; }
.hrsc-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.hrsc .hrsc-note { background: #FBE9EA; color: #8C1520; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 600; }

.hrsc-scratch { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; width: 100%; max-width: 100%; min-height: 170px; background: var(--hrsc-white); border: 3px solid var(--hrsc-dark); }
.hrsc-prize { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 14px; gap: 6px; }
.hrsc-you { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hrsc-gray); }
.hrsc-what { font-family: "Arial Black", Impact, Arial, sans-serif; font-weight: 900; font-size: clamp(19px, 3.6vw, 27px); line-height: 1.15; color: var(--hrsc-red); }
.hrsc-val { font-size: 14px; color: var(--hrsc-gray); font-weight: 600; }
.hrsc-scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; transition: opacity .35s ease; }
.hrsc-scratch canvas.hrsc-gone { opacity: 0; pointer-events: none; }
.hrsc-code { border: 2px dashed var(--hrsc-dark); border-radius: 8px; padding: 10px 14px; display: grid; gap: 2px; justify-self: start; }
.hrsc-code-l { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--hrsc-gray); }
.hrsc-code-c { font-family: Consolas, Menlo, monospace; font-weight: 700; font-size: 22px; letter-spacing: .08em; }

@media (max-width: 480px) {
  .hrsc-top { padding: 16px; }
  .hrsc-t-body { padding: 22px 16px 18px; }
  .hrsc-logo { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .hrsc-scratch canvas { transition: none; }
}
.hrsc .hrsc-done { background: #E8F3EC; color: #1F5B3A; border-radius: 8px; padding: 10px 12px; font-weight: 600; }
