/* ==========================================================
   Christmasly design system
   Light: bright, spacious storefront. Dark: charcoal, premium.
   All colours come from the variables below.
   ========================================================== */
:root {
    --bg: #FFF9F0;
    --surface: #FFFFFF;
    --surface-2: #E5F1E9;
    --text: #222222;
    --muted: #5F5F5F;
    --border: #E6DDCF;
    --red: #C83D3D;
    --red-deep: #8E2626;
    --red-text: #B03030;
    --green: #174C3A;
    --gold: #C8A45D;
    --shadow: 0 1px 2px rgba(34, 24, 12, .06), 0 8px 24px rgba(34, 24, 12, .06);
    --focus: #174C3A;
    --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
    --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 6px;
    --radius-lg: 14px;
}
[data-theme="dark"] {
    --bg: #111412;
    --surface: #202722;
    --surface-2: #191E1B;
    --text: #F7F5EF;
    --muted: #B8BDB8;
    --border: #323B35;
    --red: #E34B4B;
    --red-deep: #6E1F1F;
    --red-text: #F26B6B;
    --green: #28664B;
    --gold: #D7B56D;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
    --focus: #D7B56D;
}

/* Bootstrap variable bridge */
body {
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-border-color: var(--border);
    --bs-body-font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
}
a { color: var(--red-text); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--text); color: var(--bg); padding: .6rem 1rem; z-index: 2000; }
.skip-link:focus { left: 0; }
.text-muted-x { color: var(--muted); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .6rem; }
.section-lead { color: var(--muted); max-width: 40rem; }

/* Buttons */
.btn-xmas { background: #C83D3D; border: 2px solid #C83D3D; color: #fff; font-weight: 700; padding: .7rem 1.4rem; border-radius: var(--radius); }
.btn-xmas:hover, .btn-xmas:focus-visible { background: #A92F2F; border-color: #A92F2F; color: #fff; }
.btn-ghost { background: transparent; border: 2px solid currentColor; color: var(--text); font-weight: 700; padding: .7rem 1.4rem; border-radius: var(--radius); }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-xmas[disabled], .btn-xmas.disabled { opacity: .6; cursor: not-allowed; }

/* Announcement + header */
.announce { background: var(--red); color: #fff; text-align: center; font-size: .9rem; font-weight: 500; padding: .45rem 0; }
[data-theme="dark"] .announce { background: var(--red-deep); }
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--surface); border-bottom: 1px solid var(--border); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--red-text); }
.brand__mark { width: 26px; height: 26px; color: var(--gold); }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; color: var(--text); }
.nav-links { list-style: none; margin: 0; padding: 0; gap: 1.6rem; }
.nav-link-x { text-decoration: none; color: var(--text); font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav-link-x:hover { color: var(--red-text); }
.nav-link-x.is-active { border-bottom-color: var(--red); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: .25rem; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--text); font-size: 1.25rem; border-radius: 50%; }
.icon-btn:hover { background: var(--surface-2); }
#searchPanel { border-top: 1px solid var(--border); background: var(--surface); }
.search-form { display: flex; gap: .6rem; max-width: 40rem; }
.offcanvas { background: var(--surface); color: var(--text); }
.mobile-links { list-style: none; padding: 0; margin: 0; }
.mobile-links a { display: block; padding: 1rem .25rem; font-size: 1.25rem; font-family: var(--font-display); font-weight: 700; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-links a[aria-current] { color: var(--red-text); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); letter-spacing: -.035em; margin-bottom: 1.2rem; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 32rem; margin-bottom: 1.8rem; }
.hero__art { width: 100%; max-height: 520px; }
.hero__count { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: 1.2rem; color: var(--green); }
[data-theme="dark"] .hero__count { color: var(--gold); }
[data-theme="dark"] .hero { background: var(--bg); }
.art-ribbon { stroke: var(--red); }
.art-ground { fill: var(--surface-2); }
.art-box { fill: #F3E7D2; }
.art-box-shade { fill: #E4D3B5; }
.art-tree { fill: var(--green); }
[data-theme="dark"] .art-tree { fill: #2E7656; }

/* Recipient band (inspired by the premium reference) */
.band { background: var(--red-deep); color: #fff; }
.band__list { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: .9rem 0; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.band__list a { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: .6rem; }
.band__list a:hover { text-decoration: underline; color: #fff; }
.band__list i { color: var(--gold); font-size: .8rem; }

/* Category tiles */
.cat-card { display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: 1.4rem; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color .15s, transform .15s; }
.cat-card:hover { border-color: var(--red); color: var(--text); transform: translateY(-2px); }
.cat-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; font-size: 1.5rem; background: var(--surface-2); color: var(--green); }
[data-theme="dark"] .cat-card__icon { color: var(--gold); }
.cat-card h3 { font-size: 1.25rem; margin: 0; }
.cat-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Covers (CSS-built until real images exist) */
.cover { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; padding: 1rem; background: var(--tone); }
.cover::before, .cover::after { content: ""; position: absolute; background: var(--ribbon); }
.cover::before { left: 50%; top: 0; bottom: 0; width: 12%; transform: translateX(-50%); }
.cover::after { top: 62%; left: 0; right: 0; height: 9%; }
.cover__label { position: relative; z-index: 1; background: #FFF9F0; color: #222; text-align: center; padding: .8rem .9rem; border-radius: 4px; width: 82%; display: grid; gap: .35rem; justify-items: center; font-family: var(--font-display); font-weight: 800; line-height: 1.12; font-size: 1.05rem; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.cover__label i { font-size: 1.3rem; color: var(--tone); }
.cover__flag { position: absolute; z-index: 2; left: .5rem; top: .5rem; background: #222; color: #fff; font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: 3px; }
.cover--red { --tone: #C83D3D; --ribbon: #F3E7D2; }
.cover--green { --tone: #174C3A; --ribbon: #C8A45D; }
.cover--gold { --tone: #B8913F; --ribbon: #8E2626; }
.cover--mint { --tone: #5E9C7D; --ribbon: #FFF9F0; }
.cover--charcoal { --tone: #2B322D; --ribbon: #C83D3D; }
.cover--lg { max-width: 460px; }
.cover--lg .cover__label { font-size: 1.5rem; padding: 1.2rem; }

/* Product cards */
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.product-card__media { display: block; padding: .9rem .9rem 0; text-decoration: none; }
.product-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { margin: 0 0 .25rem; font-size: .85rem; color: var(--muted); }
.product-card__title { font-size: 1.2rem; margin: 0 0 .4rem; }
.product-card__title a { color: var(--text); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }
.product-card__title a:hover { color: var(--red-text); }
.product-card__desc { color: var(--muted); font-size: .96rem; margin-bottom: .8rem; }
.product-card__price { margin: auto 0 0; font-weight: 700; }

/* Message studio section */
.studio { background: var(--green); color: #fff; }
[data-theme="dark"] .studio { background: var(--surface-2); border-block: 1px solid var(--border); }
.studio h2, .studio .section-lead { color: #fff; }
.studio .section-lead { opacity: .9; }
.studio .btn-xmas { background: #FFF9F0; color: #174C3A; border-color: #FFF9F0; }
.studio .btn-xmas:hover { background: #fff; color: #174C3A; }
.sample-msg { background: #FFF9F0; color: #222; border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); position: relative; }
[data-theme="dark"] .sample-msg { background: var(--surface); color: var(--text); }
.sample-msg blockquote { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.35; margin: 0 0 1rem; }
.sample-msg small { color: #5F5F5F; }
[data-theme="dark"] .sample-msg small { color: var(--muted); }

/* Fun + tools cards */
.feature-card { height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.feature-card h3 { font-size: 1.2rem; margin: 0; }
.feature-card p { color: var(--muted); margin: 0; font-size: .96rem; }
.feature-card i.lead-icon { font-size: 1.6rem; color: var(--red-text); }
.status { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: .15rem .6rem; border-radius: 99px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }
.status--live { background: var(--green); border-color: var(--green); color: #fff; }
.mint-band { background: var(--surface-2); }

/* Countdown board */
.count-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; max-width: 30rem; }
.count-board div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem .5rem; text-align: center; }
.count-board [data-unit] { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.count-board span.lbl { font-size: .85rem; color: var(--muted); }
.count-message { font-weight: 700; margin-top: 1rem; min-height: 1.6rem; color: var(--red-text); }

/* Newsletter */
.newsletter { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.6rem); }
.newsletter .form-control { background: var(--bg); color: var(--text); border-color: var(--border); }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Inner pages */
.page-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: .6rem; }
.crumbs { margin-bottom: 1rem; font-size: .92rem; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); --bs-breadcrumb-item-active-color: var(--muted); }
.filters { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .filters { grid-template-columns: 2fr 2fr 1.4fr auto; align-items: end; } }
.form-control, .form-select { background-color: var(--surface); color: var(--text); border-color: var(--border); }
.form-label { font-weight: 700; font-size: .92rem; }
.empty { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 2.2rem 1.5rem; text-align: center; color: var(--muted); }
.notice { border-left: 4px solid var(--gold); background: var(--surface); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.spec { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; margin: 1.2rem 0; }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; color: var(--muted); }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .6rem; }
.pagination .page-link { color: var(--text); background: var(--surface); border-color: var(--border); }
.pagination .active .page-link { background: var(--red); border-color: var(--red); color: #fff; }

/* Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; margin-top: 2rem; }
.footer-text { color: var(--muted); max-width: 26rem; }
.footer-h { font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; margin-bottom: .8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--red-text); text-decoration: underline; }
.footer-copy { margin: 2.5rem 0 0; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--border); padding-top: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Phase 4: Message Studio, trivia, tools ---------- */
.chip { display: inline-block; padding: .4rem .9rem; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.chip:hover { border-color: var(--red); color: var(--text); }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.studio-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; }
.msg-out { white-space: pre-line; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--red); border-radius: var(--radius-lg); padding: 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.45; min-height: 9rem; }
.msg-out.is-empty { font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--muted); }
.msg-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.msg-actions[hidden], [hidden] { display: none !important; }
.msg-status { min-height: 1.5rem; margin: .8rem 0 .2rem; font-weight: 700; }
.msg-status.is-ok { color: var(--green); } [data-theme="dark"] .msg-status.is-ok { color: #7FD1A6; }
.msg-status.is-bad { color: var(--red-text); }
.btn-sm.btn-ghost { padding: .45rem .9rem; }

.trivia { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.2rem, 4vw, 2.2rem); max-width: 46rem; }
.trivia-top { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: .5rem; }
.progress { background: var(--surface-2); height: .6rem; border: 1px solid var(--border); }
.progress-bar { background: var(--red); }
.trivia-q { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 1rem 0; outline: none; }
.trivia-opts { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.trivia-opt { width: 100%; display: flex; align-items: center; gap: .8rem; text-align: left; background: var(--bg); color: var(--text); border: 2px solid var(--border); border-radius: var(--radius); padding: .8rem 1rem; font: inherit; min-height: 52px; }
.trivia-opt:hover:not(:disabled) { border-color: var(--red); }
.trivia-opt:disabled { cursor: default; opacity: 1; }
.trivia-key { flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-weight: 700; font-size: .9rem; }
.trivia-opt span:nth-child(2) { flex: 1; }
.trivia-mark { font-size: 1.3rem; }
.trivia-opt.is-correct { border-color: var(--green); background: var(--surface-2); }
.trivia-opt.is-correct .trivia-mark { color: var(--green); } [data-theme="dark"] .trivia-opt.is-correct .trivia-mark { color: #7FD1A6; }
.trivia-opt.is-wrong { border-color: var(--red); }
.trivia-opt.is-wrong .trivia-mark { color: var(--red-text); }
.trivia-fb { min-height: 1.6rem; font-weight: 500; }
#triviaEndHeading { outline: none; }

.tool-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.1rem, 3vw, 1.8rem); max-width: 52rem; }
.tool-total { max-width: 18rem; }
.tool-add { display: grid; gap: .8rem; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 768px) { .tool-add { grid-template-columns: 2fr 1.2fr auto; } .tool-add--gift { grid-template-columns: 1.2fr 1.6fr 1.2fr auto; } }
.tool-error { color: var(--red-text); font-weight: 700; min-height: 1.5rem; margin: .6rem 0 0; }
.tool-list { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.tool-row { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.tool-row__main { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tool-row__amt { font-weight: 700; white-space: nowrap; }
.tool-row.is-done .tool-row__main { text-decoration: line-through; color: var(--muted); }
.tool-row .form-check-input { flex: none; width: 1.3rem; height: 1.3rem; margin: 0; }
.btn-ghost-sm { border: 1px solid var(--border); background: transparent; color: var(--text); }
.btn-ghost-sm:hover { border-color: var(--red); color: var(--text); }
.tool-empty { color: var(--muted); padding: .8rem 0; }
.tool-summary { border-top: 2px solid var(--border); padding-top: .8rem; margin-bottom: 1rem; }
.tool-summary p { margin: 0 0 .3rem; }
.tool-balance { font-weight: 700; }
.tool-balance.is-ok { color: var(--green); } [data-theme="dark"] .tool-balance.is-ok { color: #7FD1A6; }
.tool-balance.is-over { color: var(--red-text); }
.check-group { border: 0; padding: 0; margin: 0 0 1.2rem; }
.check-group legend { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: .4rem; }
.check-group .form-check { padding: .35rem 0 .35rem 1.9rem; }
.check-group .form-check-input { width: 1.25rem; height: 1.25rem; margin-left: -1.9rem; }

/* Uploaded cover images */
.cover--img { padding: 0; background: var(--surface-2); display: block; }
.cover--img::before, .cover--img::after { display: none; }
.cover--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.price-was { color: var(--muted); text-decoration: line-through; font-weight: 400; margin-left: .5rem; font-size: .9em; }

/* ---------- Games: bingo, charades, scavenger hunts ---------- */
.bingo-card { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; max-width: 34rem; }
.bingo-cell { aspect-ratio: 1 / 1; display: grid; place-items: center; text-align: center; padding: .2rem; background: var(--surface); color: var(--text); border: 2px solid var(--border); border-radius: var(--radius); font: 600 clamp(.62rem, 2.4vw, .92rem)/1.15 var(--font-body); overflow-wrap: anywhere; hyphens: auto; }
.bingo-cell:hover:not(:disabled) { border-color: var(--red); }
.bingo-cell.is-marked { background: var(--green); border-color: var(--green); color: #fff; }
.bingo-cell.is-marked::after { content: "\2713"; font-size: .8em; }
.bingo-cell.is-free { background: var(--gold); border-color: var(--gold); color: #222; }
.bingo-cell.is-line { outline: 3px solid var(--red); outline-offset: 1px; }
.bingo-msg { min-height: 2rem; margin: .8rem 0; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--red-text); }
.bingo-current { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.2; min-height: 3.6rem; }
.bingo-called { max-height: 12rem; overflow-y: auto; padding-left: 1.4rem; margin: 0; color: var(--muted); }
.bingo-print { display: none; }

.ch-clock { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 12vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.ch-sec { font-size: .4em; margin-left: .1em; color: var(--muted); }
.ch-prompt { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.15; min-height: 4rem; margin: 1rem 0; }

.hunt-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.hunt-list .form-check { padding: .5rem .5rem .5rem 2.4rem; border-bottom: 1px solid var(--border); }
.hunt-list .form-check-input { width: 1.3rem; height: 1.3rem; margin-left: -1.9rem; margin-top: .15rem; }
.print-only { display: none; }

@media print {
    body.printing-bingo .announce, body.printing-bingo .site-header, body.printing-bingo .site-footer, body.printing-bingo .game-intro,
    body.printing-bingo .game-section:not(#bingo), body.printing-bingo .bingo-screen, body.printing-bingo .offcanvas,
    body.printing-hunt .announce, body.printing-hunt .site-header, body.printing-hunt .site-footer, body.printing-hunt .game-intro,
    body.printing-hunt .game-section:not(#scavenger), body.printing-hunt .no-print { display: none !important; }
    body.printing-bingo, body.printing-hunt { background: #fff !important; color: #000 !important; }
    body.printing-bingo #bingo { background: #fff !important; padding: 0 !important; }
    body.printing-bingo .bingo-print { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .print-card { break-inside: avoid; border: 2px solid #000; padding: .5rem; }
    .print-card h3 { text-align: center; font-size: 1.1rem; margin: 0 0 .4rem; color: #000; }
    .print-card table { width: 100%; border-collapse: collapse; table-layout: fixed; }
    .print-card td { border: 1px solid #000; height: 3.2rem; text-align: center; vertical-align: middle; font-size: .7rem; padding: .15rem; color: #000; }
    .print-card td.free { font-weight: 700; background: #ddd; }
    body.printing-hunt #scavenger { background: #fff !important; padding: 0 !important; }
    body.printing-hunt .print-only { display: block !important; }
    body.printing-hunt .tool-card { border: 0; padding: 0; }
    body.printing-hunt .hunt-list .form-check-input { border: 2px solid #000; }
}

/* Articles */
.article-body { font-size: 1.1rem; line-height: 1.75; }
.article-body h2 { margin-top: 2.2rem; }
.article-body ul { padding-left: 1.3rem; }
.article-body li { margin-bottom: .4rem; }

/* ---------- Christmasly Memories (account, editor, plans) ---------- */
.usage { margin-bottom: .9rem; } .usage .progress { height: .55rem; margin-top: .25rem; }
.upgrade-card { background: var(--surface); border: 2px solid var(--gold); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; margin: 1rem 0; }
.album-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.album-card__cover { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; font-size: 2.4rem; color: var(--muted); }
.album-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-card__body { padding: 1rem 1.1rem 1.2rem; }
.plan-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; }
.plan-card.is-featured { border: 2px solid var(--red); }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; margin: .2rem 0 .6rem; }
.plan-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; flex: 1; font-size: .96rem; }
.plan-list li { padding-left: 1.5rem; position: relative; }
.plan-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
[data-theme="dark"] .plan-list li::before { color: #7FD1A6; }
.theme-card { display: block; position: relative; cursor: pointer; background: var(--tb); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; color: var(--ti); height: 100%; }
.theme-card input { position: absolute; opacity: 0; }
.theme-card:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 3px var(--red); }
.theme-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.theme-card.is-locked { opacity: .65; cursor: not-allowed; }
.theme-card__swatch { display: flex; gap: .3rem; margin-bottom: .6rem; } .theme-card__swatch i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ta); border: 2px solid var(--tp); }
.theme-card__swatch i:nth-child(2) { background: var(--tc); } .theme-card__swatch i:nth-child(3) { background: var(--tp); border-color: var(--ti); }
.theme-card__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.15; }
.theme-card__tag { display: block; font-size: .85rem; opacity: .85; margin-top: .2rem; }
.theme-card__lock { display: block; margin-top: .5rem; font-size: .82rem; font-weight: 700; }

.dropzone { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 1.6rem 1rem; text-align: center; cursor: pointer; background: var(--bg); color: var(--text); }
.dropzone i { font-size: 2rem; color: var(--red-text); } .dropzone:hover, .dropzone.is-over { border-color: var(--red); }
.upload-queue { margin: .8rem 0; display: grid; gap: .4rem; }
.upload-row { display: grid; grid-template-columns: minmax(0, 1fr) 6rem minmax(0, 1fr); gap: .6rem; align-items: center; font-size: .85rem; }
.upload-row__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-row__bar { background: var(--surface-2); border-radius: 99px; height: .45rem; overflow: hidden; } .upload-row__bar i { display: block; height: 100%; width: 0; background: var(--green); }
.upload-row.is-bad .upload-row__status { color: var(--red-text); font-weight: 700; } .upload-row.is-done .upload-row__status { color: var(--muted); }
.editor-msg { min-height: 1.4rem; font-weight: 700; font-size: .92rem; } .editor-msg.is-bad { color: var(--red-text); }
.photo-list, .section-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.photo-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .8rem; padding: .7rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.photo-item.is-dragging { opacity: .5; }
.photo-item__img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.photo-item__body { display: grid; gap: .4rem; min-width: 0; }
.photo-item__tools { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; }
.section-list { margin-top: 0; margin-bottom: 1rem; } .section-row { display: flex; gap: .5rem; }
.mem-mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow); max-width: 24rem; margin-inline: auto; transform: rotate(-2deg); }
.mem-mock__cover { aspect-ratio: 4 / 3; border-radius: 8px; background: var(--green); color: #fff; display: grid; place-content: center; text-align: center; gap: .2rem; font-family: var(--font-display); }
.mem-mock__cover strong { font-size: 1.8rem; } .mem-mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .6rem; }
.mem-mock__row i { aspect-ratio: 1; border-radius: 6px; background: var(--surface-2); } .mem-mock__row i:nth-child(2) { background: var(--gold); opacity: .6; } .mem-mock__row i:nth-child(3) { background: var(--red); opacity: .5; }
