/* Scoped access page: preserves the existing site, tickets and checkout. */
.scratch-page--access, .scratch-entry-home, .scratch-entry-link { --scratch-berry: #aa1642; --scratch-berry-dark: #811233; --scratch-ink: #371b2b; --scratch-cream: #fff9ef; --scratch-gold: #ffda70; --scratch-line: #ecd7d6; --scratch-muted: #725c66; }
.scratch-page--access { color: var(--scratch-ink); font-family: 'Poppins', sans-serif; }
.scratch-page--access * { box-sizing: border-box; }
.scratch-page--access [hidden] { display: none !important; }
.scratch-page--access { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 64px; }
.scratch-page--access :is(h1,h2,h3,p) { margin:0; }
.scratch-page--access h1 { font-family: 'Lobster Two', Georgia, serif; font-weight: 700; line-height: 1.1; text-wrap: balance; }
.scratch-page--access h1 { font-size: clamp(2.25rem, 5.5vw, 3.6rem); }
.scratch-page--access h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 750; line-height: 1.2; text-wrap: balance; }
.scratch-page--access h3 { font-size: 1.05rem; font-weight: 750; line-height: 1.35; }
.scratch-page--access p { line-height: 1.65; }
.scratch-page--access .scratch-back { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; margin-bottom: 16px; color: var(--scratch-berry); font-size: .85rem; font-weight: 650; text-decoration: none; }
.scratch-page--access .scratch-back:hover { text-decoration: underline; }
.scratch-page--access .scratch-eyebrow { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; line-height: 1.6; color: var(--scratch-berry); }
.scratch-page--access .scratch-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 2px solid var(--scratch-berry); border-radius: 14px; padding: 11px 18px; background: var(--scratch-berry); color: #fff; font: 700 .88rem/1.4 'Poppins', sans-serif; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; overflow-wrap: anywhere; }
.scratch-page--access .scratch-button:hover { color: #fff; background: var(--scratch-berry-dark); border-color: var(--scratch-berry-dark); box-shadow: 0 3px 0 #640d27; }
.scratch-page--access .scratch-button--secondary { background: transparent; color: var(--scratch-berry); border-color: #d8adb9; }
.scratch-page--access .scratch-button--secondary:hover { color: var(--scratch-berry-dark); background: #fff0f4; border-color: var(--scratch-berry); box-shadow: none; }
.scratch-page--access .scratch-button--full { width: 100%; }
.scratch-page--access .scratch-button:disabled { opacity: .65; cursor: wait; box-shadow: none; }
.scratch-page--access :is(a, button):focus-visible { outline:3px solid #9331a6; outline-offset:4px; }

/* Find an existing paper card. Theme tokens keep this page in either birthday palette. */
.scratch-page--access { max-width: 640px; }
.scratch-page--access .scratch-access-heading { margin: 0 0 25px; text-align: center; }
.scratch-page--access .scratch-access-emblem { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 14px; border: 1px solid var(--scratch-line); border-radius: 18px; background: var(--scratch-cream); color: var(--scratch-berry); transform: rotate(-5deg); }
.scratch-page--access .scratch-access-emblem .scratch-gift-icon { width: 38px; height: 38px; }
.scratch-page--access .scratch-access-heading .scratch-eyebrow { font-size: .62rem; letter-spacing: .1em; }
.scratch-page--access .scratch-access-heading h1 { margin: 9px 0 12px; color: var(--scratch-berry); font-size: clamp(2.15rem, 6vw, 3rem); }
.scratch-page--access .scratch-access-heading > p:last-child { max-width: 37ch; margin: 0 auto; color: var(--scratch-muted); font-size: .88rem; line-height: 1.6; }
.scratch-page--access .scratch-access-panel { padding: 27px; border: 1px solid var(--scratch-line); border-top: 3px solid var(--scratch-gold); border-radius: 24px; background: #fff; box-shadow: 0 8px 28px #251c1708; }
.scratch-page--access .scratch-access-camera { display: grid; gap: 12px; }
.scratch-page--access #scratch-access-start { margin-bottom: 20px; }
.scratch-page--access #scratch-access-start svg { width: 23px; height: 23px; flex: none; }
.scratch-page--access #scratch-access-video { display: block; width: 100%; max-height: 46dvh; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--scratch-line); border-radius: 15px; background: var(--scratch-ink); }
.scratch-page--access #scratch-access-stop { margin-bottom: 20px; }
.scratch-page--access .scratch-access-label { display: block; color: var(--scratch-ink); font-size: .9rem; line-height: 1.5; font-weight: 750; }
.scratch-page--access .scratch-access-hint { margin: 6px 0 13px; color: var(--scratch-muted); font-size: .76rem; line-height: 1.6; }
.scratch-page--access #scratch-access-value { display: block; width: 100%; min-width: 0; min-height: 52px; padding: 13px 14px; border: 1px solid var(--scratch-line); border-radius: 12px; background: var(--scratch-cream); color: var(--scratch-ink); font: 600 1rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.scratch-page--access #scratch-access-value::placeholder { color: var(--scratch-muted); opacity: .8; font-weight: 400; }
.scratch-page--access #scratch-access-value:focus-visible { outline: 3px solid var(--scratch-berry); outline-offset: 3px; }
.scratch-page--access #scratch-access-value[aria-invalid="true"] { border-color: var(--scratch-berry); }
.scratch-page--access #scratch-access-form > .scratch-button { margin-top: 14px; }
.scratch-page--access .scratch-access-error { margin-top: 12px; color: var(--scratch-berry-dark); font-size: .8rem; line-height: 1.6; overflow-wrap: anywhere; }
.scratch-page--access .scratch-access-message:empty { display: none; }
.scratch-page--access .scratch-access-message:not(:empty) { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--scratch-berry); border-radius: 0 10px 10px 0; background: var(--scratch-cream); color: var(--scratch-ink); font-size: .8rem; line-height: 1.6; overflow-wrap: anywhere; }
.scratch-page--access .scratch-access-reassurance { margin-top: 16px; color: var(--scratch-muted); font-size: .71rem; text-align: center; line-height: 1.6; }
.scratch-page--access .scratch-access-account { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 4px; border-bottom: 1px solid var(--scratch-line); }
.scratch-page--access .scratch-access-account > div { min-width: 0; }
.scratch-page--access .scratch-access-account h2 { font-family: 'Poppins', sans-serif; font-size: .82rem; font-weight: 750; line-height: 1.5; text-wrap: wrap; }
.scratch-page--access .scratch-access-account p { margin-top: 4px; color: var(--scratch-muted); font-size: .75rem; line-height: 1.6; }
.scratch-page--access .scratch-access-account .scratch-entry-link { flex-shrink: 0; margin-top: 0; font-size: .77rem; }
.scratch-page--access .scratch-access-help { margin-top: 9px; color: var(--scratch-muted); }
.scratch-page--access .scratch-access-help summary { min-height: 48px; padding: 14px 4px; color: var(--scratch-berry); font-size: .81rem; font-weight: 700; cursor: pointer; list-style-position: inside; }
.scratch-page--access .scratch-access-help summary:focus-visible { outline: 3px solid var(--scratch-berry); outline-offset: 2px; border-radius: 6px; }
.scratch-page--access .scratch-access-help > div { padding: 0 4px 10px; font-size: .77rem; line-height: 1.65; }
.scratch-page--access .scratch-access-help ul { margin: 11px 0 0; padding-left: 18px; list-style: disc; }
.scratch-page--access .scratch-access-help li + li { margin-top: 8px; }
.scratch-page--access .scratch-access-help strong { color: var(--scratch-ink); font-weight: 700; }

/* Entry links fit under the hero actions without taking space from the menu. */
.scratch-entry-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; color: var(--scratch-berry); font: 650 .8rem/1.5 'Poppins', sans-serif; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.scratch-entry-link:hover { text-decoration-thickness: 2px; }
.scratch-entry-link:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.scratch-entry-link > svg { flex: none; width: 20px; height: 20px; }
.theme-birthday .birthday-copy .scratch-entry-link { color: #fff; text-decoration-color: var(--birthday-yellow); }
.theme-birthday-red-gold .birthday-copy .scratch-entry-link { color: var(--brand-600); text-decoration-color: var(--birthday-yellow); }
.scratch-entry-home { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1184px, calc(100% - 32px)); margin: 18px auto; padding: 16px 20px; border: 1px solid var(--scratch-line); border-radius: 18px; background: var(--scratch-cream); color: var(--scratch-ink); }
.scratch-entry-home p { margin: 0; font: 500 .82rem/1.6 'Poppins', sans-serif; }
.scratch-entry-home .scratch-entry-link { margin-top: 0; flex-shrink: 0; }

@media (max-width: 540px) {
    .scratch-page--access .scratch-access-heading { margin-bottom: 21px; }
    .scratch-page--access .scratch-access-panel { padding: 20px; border-radius: 20px; }
    .scratch-page--access .scratch-access-account { display: block; padding: 19px 2px 13px; }
    .scratch-page--access .scratch-access-account .scratch-entry-link { margin-top: 4px; }
    .scratch-entry-home { display: block; padding: 16px 18px 12px; }
    .scratch-entry-home .scratch-entry-link { margin-top: 3px; }
}
@media (max-width: 360px) {
    .scratch-page--access .scratch-access-panel { padding: 18px; }
    .scratch-page--access .scratch-access-heading .scratch-eyebrow { font-size: .58rem; letter-spacing: .07em; }
    .scratch-page--access #scratch-access-value { padding-inline: 10px; }
}
