/* A separate birthday palette. Layout and accessible interactions come from birthday.css. */
body.theme-birthday-red-gold {
    --brand: #c52618;
    --brand-600: #9e1b10;
    --ink: #32231b;
    --cream: #fffdf8;
    --birthday-cream: #fff;
    --birthday-ink: #32231b;
    --birthday-pink: #fff;
    --birthday-yellow: #c59b43;
    --party-red: #c52618;
    --party-red-deep: #911b10;
    --party-gold: #b88a32;
    --party-gold-line: #deca9d;
    --party-gold-light: #fff7e3;
    --party-muted: #756657;
    --scratch-berry: var(--party-red);
    --scratch-berry-dark: var(--party-red-deep);
    --scratch-ink: var(--ink);
    --scratch-cream: #fffdf8;
    --scratch-gold: #f1d58e;
    --scratch-line: var(--party-gold-line);
    --scratch-muted: var(--party-muted);
    background: #fff;
}

/* White navigation with a fine gold edge; the shared 64 px height stays intact. */
.theme-birthday-red-gold > #site-header {
    background: #fffffff5;
    border-bottom: 3px solid var(--party-gold-line);
}
.theme-birthday-red-gold #site-header .site-brand span { color: var(--party-red); }
.theme-birthday-red-gold #open-cart { box-shadow: 0 3px 9px #911b1014; }
.theme-birthday-red-gold #open-cart #cart-count { background: #fff8e7; }

/* White space, red lettering, and metallic accents distinguish this hero. */
.theme-birthday-red-gold .birthday-hero {
    color: var(--ink);
    background: radial-gradient(ellipse at 90% 45%, #fff7e3 0, #fff 67%);
    border-bottom: 1px solid var(--party-gold-line);
}
.theme-birthday-red-gold .birthday-hero::before {
    width: min(54vw, 680px);
    top: -33%;
    right: -7%;
    border-color: #c59b433b;
    box-shadow: 0 0 0 18px #c59b4308, 0 0 0 70px #c59b4305;
}
.theme-birthday-red-gold .birthday-hero::after {
    height: 3px;
    background: linear-gradient(90deg, #9e7426, #f4dfaa 32%, #b88a32 68%, #f4dfaa);
    opacity: 1;
}
.theme-birthday-red-gold .birthday-confetti span { background: var(--party-gold); opacity: .7; }
.theme-birthday-red-gold .birthday-confetti span:nth-child(even) { background: var(--party-red); }
.theme-birthday-red-gold .birthday-confetti span:nth-child(5),
.theme-birthday-red-gold .birthday-confetti span:nth-child(7) { background: #aa7b28; }
.theme-birthday-red-gold .birthday-copy .birthday-eyebrow {
    color: #79531c;
    background: #fff;
    border-color: var(--party-gold-line);
    border-radius: 7px;
    letter-spacing: .1em;
}
.theme-birthday-red-gold .birthday-eyebrow > span { color: var(--party-red); }
.theme-birthday-red-gold .birthday-copy h1 { color: var(--party-red); }
.theme-birthday-red-gold .birthday-copy h1 span { color: var(--party-red-deep); }
.theme-birthday-red-gold .birthday-copy > p:not(.birthday-eyebrow) { color: #685649; }
.theme-birthday-red-gold .birthday-menu-link {
    color: #fff;
    background: var(--party-red);
    border-color: var(--party-red);
    box-shadow: 0 3px 0 #951b10;
}
.theme-birthday-red-gold .birthday-menu-link:hover {
    background: var(--party-red-deep);
    border-color: var(--party-red-deep);
    box-shadow: 0 3px 0 #6f130b;
}
.theme-birthday-red-gold .birthday-game-link {
    color: #6f4917;
    border-color: #c39b50;
    background: linear-gradient(120deg, #fff, #fff8e6);
}
.theme-birthday-red-gold .birthday-game-link:hover { background: #fff0cb; }
.theme-birthday-red-gold .birthday-menu-link:focus-visible,
.theme-birthday-red-gold .birthday-game-link:focus-visible { outline-color: #805b1e; }
.theme-birthday-red-gold .birthday-picture {
    padding: 6px;
    border-color: #c7a564;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 30px #74532117;
}
.theme-birthday-red-gold .birthday-picture::before {
    border-color: #c7a56480;
    border-radius: 29px;
    transform: rotate(2deg);
}
.theme-birthday-red-gold .birthday-picture img { border-radius: 18px; }
.theme-birthday-red-gold .birthday-picture-stamp {
    color: #fff;
    border-color: #f2db9d;
    background: var(--party-red);
    box-shadow: 0 0 0 2px #b78c39, 0 4px 10px #6d400c24;
    transform: rotate(7deg);
}
.theme-birthday-red-gold .birthday-star { color: #ad7c29; }

/* A restrained gold outline keeps the food and prices prominent. */
.theme-birthday-red-gold .menu-heading {
    background: #fff;
    border-color: var(--party-gold-line);
    border-top-color: var(--party-gold);
    box-shadow: none;
}
.theme-birthday-red-gold .menu-heading h2 { color: var(--party-red); }
.theme-birthday-red-gold .menu-heading p { color: var(--party-muted); }
.theme-birthday-red-gold #tabs-rail button:not(.text-white) { color: #6b4b24; background: #fff7e4; }
.theme-birthday-red-gold #tabs-rail button:not(.text-white):hover { background: #f6e8c7; }
.theme-birthday-red-gold #tabs-rail button.text-white { box-shadow: 0 3px 0 #911b1024; }
.theme-birthday-red-gold #product-grid article.card { border-color: #e0cda8; background: #fff; box-shadow: 0 4px 15px #70501e09; }
.theme-birthday-red-gold #product-grid article.card:hover { border-color: var(--party-gold); box-shadow: 0 7px 20px #70501e16; }
.theme-birthday-red-gold #product-grid .product-card-name { color: #34271e; }
.theme-birthday-red-gold #product-grid article.card:hover .product-card-name { color: var(--party-red); }
.theme-birthday-red-gold #product-grid .product-card-description { color: #776b60; }
.theme-birthday-red-gold #product-grid .product-card-actions { border-color: #ede2cd; }
.theme-birthday-red-gold #product-grid .product-card-action-label,
.theme-birthday-red-gold #product-grid article.card:hover .product-card-action-label { color: var(--party-red-deep); }
.theme-birthday-red-gold #product-grid .product-card-actions > div { color: var(--party-red); background: #fff6df; }
.theme-birthday-red-gold #product-grid article.card:hover .product-card-actions > div { color: #fff; background: var(--party-red); }
.theme-birthday-red-gold > footer { border-top-color: var(--party-gold); background: #651a12; }

/* The campaign banner and popup use the same white, red, and gold identity. */
.theme-birthday-red-gold .scratch-banner { background: linear-gradient(115deg, #fff, #fffbf0); border-color: var(--party-gold-line); box-shadow: 0 4px 16px #70501e08; }
.theme-birthday-red-gold .scratch-banner-symbol { color: var(--party-red); background: #fff2cc; border-color: #d9bd7d; }
.theme-birthday-red-gold .scratch-banner-tag { color: #74501a; background: #faedc9; }
.theme-birthday-red-gold .scratch-modal { background: #fff; border-color: #d8b777; box-shadow: 0 20px 80px #35201355; }
.theme-birthday-red-gold .scratch-modal::backdrop { background: #24180fc2; }
.theme-birthday-red-gold .scratch-modal-topbar { color: #fff; background: var(--party-red-deep); }
.theme-birthday-red-gold .scratch-modal-art { color: #fff; background: radial-gradient(ellipse at 80% 100%, #da3d1f, transparent 75%), var(--party-red-deep); }
.theme-birthday-red-gold .scratch-modal-art img { border-color: #eed59a; }
.theme-birthday-red-gold .scratch-modal-close button { color: var(--party-red-deep); border-color: #ead09b; background: #fff; }
.theme-birthday-red-gold .scratch-modal-close button:hover { background: #fff3d5; }
.theme-birthday-red-gold .scratch-modal-tag { color: #664213; border-color: #e0be72; background: linear-gradient(120deg, #f1d692, #fff0c9 50%, #e9c779); }
.theme-birthday-red-gold .scratch-button:hover { box-shadow: 0 3px 0 #75170d; }
.theme-birthday-red-gold .scratch-button--secondary { color: var(--party-red-deep); border-color: #d0b478; background: #fff; }
.theme-birthday-red-gold .scratch-button--secondary:hover { color: var(--party-red-deep); border-color: #b18a3d; background: #fff6e1; box-shadow: none; }
.theme-birthday-red-gold .scratch-page :is(a, button):focus-visible,
.theme-birthday-red-gold .scratch-banner a:focus-visible,
.theme-birthday-red-gold .scratch-modal :is(a, button):focus-visible,
.theme-birthday-red-gold .scratch-notice :is(a, button):focus-visible { outline-color: #87601d; }
.theme-birthday-red-gold .scratch-modal-close button:focus-visible { outline-color: #f1d58e; }

/* Ticket pages retain their states and stable scratch area, with no pink surfaces. */
.theme-birthday-red-gold .scratch-intro { background: radial-gradient(circle at 90% 20%, #fff2cc, transparent 45%), #fff; }
.theme-birthday-red-gold .scratch-mini-ticket { border-color: #c39a4c; box-shadow: 8px 9px 0 #f0e3c6; }
.theme-birthday-red-gold .scratch-mini-cover { color: #6b491b; background: repeating-linear-gradient(135deg, #ead08e, #ead08e 14px, #f8e9be 14px, #f8e9be 16px); }
.theme-birthday-red-gold .scratch-prize-image,
.theme-birthday-red-gold .scratch-step-number,
.theme-birthday-red-gold .scratch-use-icon { background: #fff1cc; }
.theme-birthday-red-gold .scratch-rules { border-color: #e8dcc3; background: #fcfaf5; }
.theme-birthday-red-gold .scratch-ticket { border-color: #c49a4d; background: #fff; box-shadow: 0 6px 0 #f2e9d7; }
.theme-birthday-red-gold .scratch-ticket-heading { background: linear-gradient(115deg, #a41c11, #cc2c1b); }
.theme-birthday-red-gold .scratch-ticket-caption { color: #f8e0a1; }
.theme-birthday-red-gold .scratch-ticket-footer { border-color: #dcc697; }
.theme-birthday-red-gold .scratch-unopened { background: #fff6e0; }
.theme-birthday-red-gold .scratch-notice { background: #fffbf1; border-color: #e4cca0; }
.theme-birthday-red-gold .scratch-error { color: #a31f13; }
.theme-birthday-red-gold .scratch-badge { color: #6b6054; background: #f1eee7; }
.theme-birthday-red-gold .scratch-badge--ready,
.theme-birthday-red-gold .scratch-badge--available { color: #1f6241; background: #e0f1e6; }
.theme-birthday-red-gold .scratch-badge--pending,
.theme-birthday-red-gold .scratch-badge--scheduled,
.theme-birthday-red-gold .scratch-badge--reserved { color: #79501a; background: #fff0cc; }
.theme-birthday-red-gold .scratch-badge--expired,
.theme-birthday-red-gold .scratch-badge--unavailable,
.theme-birthday-red-gold .scratch-badge--out_of_stock,
.theme-birthday-red-gold .scratch-badge--voided { color: #9e2615; background: #fff0dd; }
.theme-birthday-red-gold .scratch-outcome-core { color: #49331e; border-color: #d3b16d; background: radial-gradient(ellipse at 50% 32%, #fff, #fffdf6 50%, #fcf0d2); }
.theme-birthday-red-gold .scratch-outcome-badge { color: #775016; border-color: #caa75c; background: #fff4d6; }
.theme-birthday-red-gold .scratch-outcome-art { color: #a77a26; }
.theme-birthday-red-gold .scratch-outcome-signature { color: #7a6956; }
.theme-birthday-red-gold .scratch-result .scratch-outcome-core h2 { color: var(--party-red); }
.theme-birthday-red-gold .scratch-result .scratch-outcome-core .scratch-result-prize { color: #49331e; }
.theme-birthday-red-gold .scratch-result .scratch-code-block { border-color: #bb9347; background: linear-gradient(135deg, #fff, #fff5da); }
.theme-birthday-red-gold .scratch-result .scratch-code-row strong { color: var(--party-red-deep); }
.theme-birthday-red-gold .scratch-result .scratch-code-row .scratch-copy { color: var(--party-red-deep); border-color: #dbc599; }
.theme-birthday-red-gold .scratch-result .scratch-stock-notice { background: #faf4e7; }
.theme-birthday-red-gold :where(#scratch-result, [data-demo-result])[data-outcome="lost"] .scratch-outcome-core { border-color: #e0cfac; background: radial-gradient(ellipse at 50% 32%, #fff, #faf7ef 70%, #f2ead9); }
.theme-birthday-red-gold :where(#scratch-result, [data-demo-result])[data-outcome="lost"] .scratch-outcome-badge { color: #735326; border-color: #d6c398; background: #fff9ed; }
.theme-birthday-red-gold :where(#scratch-result, [data-demo-result])[data-outcome="lost"] .scratch-outcome-art { color: #a17b37; }
.theme-birthday-red-gold :where(#scratch-result, [data-demo-result])[data-outcome="lost"] .scratch-outcome-core::before,
.theme-birthday-red-gold :where(#scratch-result, [data-demo-result])[data-outcome="lost"] .scratch-outcome-core::after { border-color: #bd964650; box-shadow: 0 0 0 12px #caa65e0c, 0 0 0 24px #caa65e08; }
.theme-birthday-red-gold .scratch-result[data-outcome="lost"] .scratch-result-prize { color: #74604c; }
.theme-birthday-red-gold .scratch-sensory [data-scratch-progress] { color: var(--party-muted); }
.theme-birthday-red-gold [data-scratch-sound] { color: #75501e; background: #fffbf0; border-color: #d3bc87; }
.theme-birthday-red-gold [data-scratch-sound][aria-pressed="true"] { color: #634113; background: #f3e1b3; border-color: #a67b29; }
.theme-birthday-red-gold [data-scratch-sound]:focus-visible { outline-color: #87601d; }

@media (max-width: 767px) {
    .theme-birthday-red-gold .birthday-hero::before { width: 320px; top: 28%; right: -110px; }
    .theme-birthday-red-gold .birthday-picture { padding: 5px; border-radius: 20px; box-shadow: 0 6px 18px #74532114; }
    .theme-birthday-red-gold .birthday-picture::before { border-radius: 25px; }
    .theme-birthday-red-gold .birthday-picture img { border-radius: 15px; }
    .theme-birthday-red-gold .birthday-picture-stamp { box-shadow: 0 0 0 1px #b78c39, 0 3px 8px #6d400c1c; }
}

/* Keep the short shared entrance animations, and preserve reduced-motion support. */
@media (prefers-reduced-motion: reduce) {
    .theme-birthday-red-gold .birthday-confetti span,
    .theme-birthday-red-gold .birthday-picture,
    .theme-birthday-red-gold .birthday-star { animation: none; }
}
