/* Christmas Days Left — shared styles.
   Layout: lights + cranberry-red hero band, candy-cane divider, alternating evergreen bands, cream cards, mega footer.
   Single festive look by choice. */
:root {
  --red: #b51f2b;
  --red-deep: #7c111b;
  --green: #11563c;
  --green-deep: #0b3a29;
  --green-bright: #1b7a52;
  --gold: #f5c451;
  --gold-soft: #fde4a0;
  --cream: #fdf5e6;
  --cream-2: #f6e6c8;
  --ink: #2a1214;
  --snow: #ffffff;
  --mist: rgba(255, 244, 228, 0.8);
  --line: rgba(253, 228, 160, 0.28);
  --display: "Gloock", "Georgia", "Times New Roman", serif;
  --body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--green-deep); }
body {
  margin: 0;
  background: var(--green-deep);
  color: var(--snow);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }
.wrap {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap.head { z-index: 40; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ===== Hero band ===== */
.hero-band {
  position: relative;
  background:
    radial-gradient(700px 420px at 78% 40%, rgba(245, 196, 81, 0.22), transparent 65%),
    radial-gradient(900px 500px at 10% 0%, rgba(255, 255, 255, 0.07), transparent 60%),
    linear-gradient(170deg, var(--red) 0%, var(--red-deep) 100%);
}
.lights {
  position: relative; height: 44px; overflow: hidden;
  display: grid; grid-template-columns: repeat(60, 64px); justify-content: start;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='30'%3E%3Cpath d='M0 3 Q32 22 64 3' fill='none' stroke='%231c1a12' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-size: 64px 30px;
}
.bulb { position: relative; justify-self: center; margin-top: 11px; width: 13px; height: 20px; }
.bulb::before { content: ""; position: absolute; left: 3px; top: 0; width: 7px; height: 6px; border-radius: 2px; background: #3a3424; }
.bulb::after {
  content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 17px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--c); box-shadow: 0 0 14px 3px var(--c);
  animation: twinkle 2.4s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; box-shadow: 0 0 4px 1px var(--c); } }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 14px 8px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.4rem; color: var(--snow); text-decoration: none; }
.brand:hover { color: var(--snow); }
.brand svg { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(245,196,81,.7)); }
.toggles { display: flex; gap: 8px; flex-wrap: wrap; }
.tgl {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.15); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mist); cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.tgl:hover { border-color: var(--gold); color: var(--snow); }
.tgl[aria-pressed="true"] { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.tgl .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }

/* Nav */
.nav { position: relative; display: flex; flex-wrap: wrap; gap: 2px 4px; padding-block: 6px 10px; border-top: 1px solid var(--line); }
.nav > a { padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; color: var(--snow); text-decoration: none; }
.nav > a:hover { background: rgba(0,0,0,.2); }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; color: var(--snow); user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: "\25BE"; margin-left: 6px; font-size: .75em; opacity: .75; }
.menu[open] > summary, .menu > summary:hover { background: rgba(0,0,0,.22); }
.menu-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 250px;
  background: var(--cream); color: var(--ink); border-radius: 12px; padding: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.4); display: grid; gap: 2px;
  border-top: 5px solid var(--gold);
}
.menu-panel a { color: var(--ink); text-decoration: none; padding: 7px 10px; border-radius: 8px; display: block; font-size: .95rem; }
.menu-panel a:hover { background: var(--cream-2); color: var(--red-deep); }
.menu-panel a[aria-current="page"] { color: var(--red); font-weight: 600; }
.menu-panel .all { border-top: 1px solid rgba(42,18,20,.12); margin-top: 4px; padding-top: 9px; font-weight: 600; color: var(--green); }

.crumbs { font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; color: var(--mist); padding-top: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--gold-soft); text-decoration: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: center; padding-block: 28px 56px; }
.hero.solo { grid-template-columns: minmax(0, 1fr); padding-block: 20px 48px; }
.hero-main { display: grid; gap: 22px; min-width: 0; }
.eyebrow { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.who, .page-h1 { font-family: var(--display); font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.1; text-wrap: balance; margin: 6px 0 0; font-weight: 400; }
.who em, .page-h1 em { font-style: normal; color: var(--gold); }
.answer { font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 60ch; margin: 0; color: var(--snow); }
.answer strong { color: var(--gold); font-weight: 600; }
.big { display: flex; align-items: baseline; gap: clamp(12px, 3vw, 28px); flex-wrap: wrap; }
.big-num {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(6rem, 24vw, 16rem); line-height: 0.82; letter-spacing: -0.03em;
  color: var(--gold);
  text-shadow: 0 4px 0 #8a5a12, 0 0 50px rgba(245, 196, 81, 0.45);
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.big-num.long { font-size: clamp(3.4rem, 12vw, 8rem); }
.big-unit { font-family: var(--display); font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1; }
.big-unit small { display: block; font-family: var(--body); font-size: 1rem; color: var(--mist); margin-top: 10px; font-weight: 300; }
.formats { display: flex; gap: 6px; flex-wrap: wrap; }
.fmt { background: rgba(0,0,0,0.15); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; cursor: pointer; font-size: 0.92rem; color: var(--mist); text-decoration: none; }
.fmt:hover { border-color: var(--gold); color: var(--snow); }
.fmt[aria-pressed="true"], .fmt[aria-current="page"] { border-color: var(--gold); color: var(--ink); background: var(--gold); font-weight: 500; }

.ticker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 600px; }
.tick { background: var(--cream); color: var(--red-deep); border-radius: 12px; padding: 12px 14px; box-shadow: 0 6px 0 rgba(0,0,0,0.18); }
.tick b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tick > span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }

.journey { max-width: 600px; }
.journey-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.74rem; color: var(--mist); letter-spacing: 0.06em; margin-bottom: 8px; gap: 8px; }
.track { position: relative; height: 10px; border-radius: 999px; background: rgba(0,0,0,0.25); }
.fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: repeating-linear-gradient(-45deg, var(--snow) 0 8px, #e33b46 8px 16px); }
.sleigh { position: absolute; top: 50%; width: 18px; height: 18px; margin-left: -9px; margin-top: -9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); border: 2px solid var(--snow); }

.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; color: var(--snow); text-decoration: none; width: fit-content; }
.pill b { color: var(--gold); font-family: var(--display); font-weight: 400; font-size: 1.15rem; }

.name-row { display: flex; gap: 8px; flex-wrap: wrap; max-width: 600px; }
.name-row label { flex-basis: 100%; font-size: 0.9rem; color: var(--mist); }
.field, .name-row input {
  flex: 1 1 200px; min-width: 0; color: var(--ink);
  background: var(--cream); border: 2px solid transparent; border-radius: 10px; padding: 10px 14px;
}
.field:focus, .name-row input:focus { border-color: var(--gold); outline: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--green); color: var(--snow); border: 0; border-radius: 10px; padding: 11px 18px; cursor: pointer; font-weight: 500; text-decoration: none; }
.btn:hover { filter: brightness(1.15); color: var(--snow); }
.btn.red { background: var(--red); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.status { font-size: 0.88rem; color: var(--gold-soft); min-height: 1.3em; flex-basis: 100%; }

.tree { width: 100%; max-width: 300px; justify-self: center; }
.tree .orn { animation: glow 2.8s ease-in-out infinite; }
.tree .orn:nth-of-type(3n) { animation-delay: .9s; }
.tree .orn:nth-of-type(3n+1) { animation-delay: 1.8s; }
.tree .star { transform-origin: 150px 32px; animation: starpulse 3s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes starpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.cane { height: 14px; background: repeating-linear-gradient(-45deg, var(--snow) 0 14px, var(--red) 14px 28px); }

/* ===== Bands ===== */
section.band { padding-block: 56px; }
section.band.alt { background: var(--green); }
section.band.deep { background: var(--green-deep); }
.band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.12; margin: 0 0 8px; text-wrap: balance; }
.band .lede { color: var(--mist); margin: 0 0 26px; max-width: 62ch; }

.units { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.unit { display: block; text-decoration: none; background: var(--cream); color: var(--ink); border-radius: 14px; padding: 18px 20px; min-width: 0; border-top: 6px solid var(--red); transition: transform .2s; }
a.unit:hover { transform: translateY(-3px); color: var(--ink); }
.unit:nth-child(3n+2) { border-top-color: var(--green); }
.unit:nth-child(3n) { border-top-color: var(--gold); }
.unit b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--red-deep); }
.unit > span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.unit.hl { background: var(--gold); border-top-color: var(--red); }
.unit.hl b { color: var(--ink); }

.week { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.wd { display: block; text-decoration: none; background: var(--cream); color: var(--green-deep); border-radius: 12px; padding: 14px 6px; text-align: center; transition: transform .2s; }
a.wd:hover { transform: translateY(-3px); color: var(--green-deep); }
.wd b { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.wd > span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.wd.we { background: var(--red); color: var(--snow); }
a.wd.we:hover { color: var(--snow); }
.wd.we > span { color: var(--gold-soft); }

/* Advent */
.advent { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px; }
.door {
  position: relative; aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden;
  border: 0; border-radius: 8px; cursor: pointer; color: var(--snow);
  background: var(--red);
  display: flex; flex-direction: column; justify-content: space-between; padding: 8px 10px; text-align: left;
  box-shadow: 0 6px 0 rgba(0,0,0,0.25); transition: transform .2s;
}
.door:nth-child(3n+2) { background: var(--green-bright); }
.door:nth-child(3n) { background: var(--cream); color: var(--red-deep); }
.door::before, .door::after { content: ""; position: absolute; background: var(--gold); z-index: 0; }
.door::before { left: 50%; top: 0; bottom: 0; width: 10px; margin-left: -5px; }
.door::after { top: 50%; left: 0; right: 0; height: 10px; margin-top: -5px; }
.door:nth-child(3n)::before, .door:nth-child(3n)::after { background: var(--red); }
.door > * { position: relative; z-index: 1; }
.door .d { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.door .s { align-self: flex-end; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(0,0,0,0.35); color: var(--snow); padding: 2px 5px; border-radius: 4px; }
.door:hover { transform: translateY(-3px) rotate(-1.5deg); }
.door.open { background: var(--gold) !important; color: var(--ink) !important; }
.door.open::before, .door.open::after { background: var(--red); opacity: .35; }
.door.today { outline: 3px solid var(--snow); outline-offset: 3px; }
.door.big25 { grid-column: span 2; aspect-ratio: auto; background: var(--red-deep) !important; color: var(--gold) !important; }
.fact { margin-top: 22px; padding: 18px 22px; background: var(--cream); color: var(--ink); border-radius: 12px; max-width: 70ch; border-left: 8px solid var(--red); }
.fact .fl { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.fact p { margin: 6px 0 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--cream); color: var(--ink); border-radius: 14px; padding: 18px 20px; border-top: 6px solid var(--red); transition: transform .2s; min-width: 0; }
.card:nth-child(3n+2) { border-top-color: var(--green-bright); }
.card:nth-child(3n) { border-top-color: var(--gold); }
a.card:hover { transform: translateY(-3px); color: var(--ink); }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; margin: 0; color: var(--red-deep); }
.card p { margin: 0; font-size: .94rem; color: #5a4446; }
.card .meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.card .num { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }

/* Prose */
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--mist); }
.prose p { margin: 0 0 14px; }
.prose strong { color: var(--snow); font-weight: 600; }
.prose h2 { margin-top: 8px; }
.prose h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--gold-soft); margin: 26px 0 6px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.note { font-size: .88rem; color: var(--mist); border-left: 3px solid var(--gold); padding-left: 12px; margin: 16px 0 0; }

/* Tables */
.tbl { overflow-x: auto; border-radius: 12px; max-width: 100%; }
.tbl table { width: 100%; border-collapse: collapse; background: var(--cream); color: var(--ink); min-width: 480px; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid rgba(42,18,20,.1); vertical-align: top; }
.tbl th { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--snow); background: var(--red-deep); }
.tbl td { font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl a { color: var(--red); }
.tbl caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: .85rem; color: #6a5557; background: var(--cream); }

/* Lists of dates */
.datelist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.datelist li { background: var(--cream); color: var(--ink); border-radius: 10px; padding: 10px 12px; font-variant-numeric: tabular-nums; border-left: 5px solid var(--red); }
.datelist li:nth-child(2n) { border-left-color: var(--green-bright); }
.datelist li small { display: block; font-family: var(--mono); font-size: .68rem; color: var(--green); letter-spacing: .06em; text-transform: uppercase; }

/* FAQ & reveals */
.faqs { display: grid; gap: 10px; max-width: 820px; }
details.qa { background: var(--cream); color: var(--ink); border-radius: 12px; padding: 0; border-left: 6px solid var(--red); }
details.qa:nth-child(2n) { border-left-color: var(--green-bright); }
details.qa > summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--red); }
details.qa[open] > summary::after { content: "\2212"; }
details.qa > div { padding: 0 18px 16px; color: #4a3436; }
details.qa > div a { color: var(--red); }
details.qa .tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); font-weight: 500; margin-right: 8px; }

/* Related links */
.linkgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.linkgrid a { background: rgba(0,0,0,.18); border: 1px solid var(--line); color: var(--snow); text-decoration: none; padding: 9px 14px; border-radius: 999px; font-size: .93rem; }
.linkgrid a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Tools */
.panel { background: var(--cream); color: var(--ink); border-radius: 14px; padding: 20px; }
.panel label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 4px; color: var(--green-deep); }
.panel .field { border-color: rgba(42,18,20,.15); background: #fff; width: 100%; }
.panel .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 14px; }
.budget-table input { width: 100%; min-width: 0; border: 1px solid rgba(42,18,20,.15); border-radius: 8px; padding: 7px 9px; background: #fff; color: var(--ink); }
.budget-table td { padding: 6px 8px; }
.budget-table .x { background: transparent; border: 0; color: var(--red); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.totals div { background: var(--green); color: var(--snow); border-radius: 12px; padding: 14px; }
.totals div:nth-child(2) { background: var(--red); }
.totals div:nth-child(3) { background: var(--gold); color: var(--ink); }
.totals b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.totals span { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.imgout { width: 100%; max-width: 540px; aspect-ratio: 1 / 1; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.35); display: block; background: var(--red-deep); }

.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check label { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); color: var(--ink); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 2px; flex: none; }
.check input:checked + span { text-decoration: line-through; opacity: .55; }

/* Calendar */
.cals { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.cal { background: var(--cream); color: var(--ink); border-radius: 14px; padding: 16px; }
.cal h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; margin: 0 0 10px; color: var(--red-deep); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-grid .h { font-family: var(--mono); font-size: .66rem; color: var(--green); padding-bottom: 4px; }
.cal-grid .c { padding: 7px 0; border-radius: 8px; font-variant-numeric: tabular-nums; font-size: .92rem; }
.cal-grid .c.ev { background: var(--gold); font-weight: 600; cursor: help; }
.cal-grid .c.xm { background: var(--red); color: var(--snow); font-weight: 700; }
.cal-grid .c.today { outline: 2px solid var(--green); outline-offset: -2px; }
.cal-grid .c.past { opacity: .4; }
.cal ul { margin: 12px 0 0; padding-left: 1.1em; font-size: .85rem; color: #5a4446; }

/* Info + footer */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.info h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; margin: 0 0 8px; color: var(--gold-soft); }
.info p { margin: 0; color: var(--mist); }
.info strong { color: var(--snow); font-weight: 600; }

.foot-band { background: var(--red-deep); }
.mega { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding-block: 44px 24px; }
.mega h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; font-weight: 500; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.mega a { color: var(--mist); text-decoration: none; font-size: .9rem; }
.mega a:hover { color: var(--snow); text-decoration: underline; }
footer.bottom { border-top: 1px solid var(--line); padding-block: 20px 36px; color: var(--mist); font-size: 0.86rem; display: flex; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
footer.bottom a { color: var(--mist); }

.merry .big-num { color: var(--snow); }

@media (max-width: 960px) { .mega { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .menu { position: static; }
  .menu-panel { left: 0; right: 0; min-width: 0; }
  .units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .info { grid-template-columns: 1fr; gap: 24px; }
  .door.big25 { grid-column: span 1; aspect-ratio: 1 / 1; }
  .tree { display: none; }
  .totals { grid-template-columns: 1fr; }
  .mega { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .ticker { gap: 6px; }
  .tick { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .bulb::after, .tree .orn, .tree .star { animation: none; }
  .door, .card, .unit, .wd { transition: none; }
}
.two .tbl table { min-width: 0; }

/* ===== Share bar ===== */
.sharebar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sharebar .sb { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; color: #fff; }
.sharebar .sb:hover { filter: brightness(1.1); color: #fff; }
.sb.wa { background: #1f9d55; } .sb.fb { background: #2d5fc4; } .sb.xx { background: #1b1b1b; } .sb.tg { background: #2a8ec4; }
.sb.em { background: var(--green-bright); } .sb.cp { background: var(--gold); color: var(--ink) !important; } .sb.nt { background: var(--red); }
.sb svg { width: 16px; height: 16px; flex: none; }
.share-band .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.share-band h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.share-msg { flex-basis: 100%; min-height: 1.2em; margin: 0; color: var(--gold-soft); font-size: .9rem; }

/* ===== Wish editor ===== */
.wish-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.wish-form { display: grid; gap: 14px; }
.wish-form label { display: block; font-size: .9rem; font-weight: 500; color: var(--gold-soft); margin-bottom: 5px; }
.wish-form .field, .wish-form textarea { width: 100%; }
.wish-form textarea { min-height: 92px; resize: vertical; color: var(--ink); background: var(--cream); border: 2px solid transparent; border-radius: 10px; padding: 10px 14px; font: inherit; }
.wish-form textarea:focus { border-color: var(--gold); outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: rgba(0,0,0,.2); border: 1px solid var(--line); color: var(--snow); border-radius: 999px; padding: 7px 12px; font-size: .86rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { border-color: var(--snow); box-shadow: 0 0 0 3px var(--gold); }
.linkbox { display: flex; gap: 8px; flex-wrap: wrap; }
.linkbox input { flex: 1 1 220px; min-width: 0; font-family: var(--mono); font-size: .8rem; color: var(--ink); background: var(--cream); border: 0; border-radius: 10px; padding: 10px 12px; }
.count-note { font-size: .85rem; color: var(--mist); margin: 0; }

/* ===== The card ===== */
.wcard {
  --cbg1: #c4202d; --cbg2: #7c111b; --cfg: #ffffff; --cacc: #f5c451; --csub: rgba(255,244,228,.85);
  position: relative; overflow: hidden; border-radius: 22px; padding: 30px 24px 26px; text-align: center;
  background: radial-gradient(420px 300px at 50% 30%, rgba(255,255,255,.14), transparent 70%), linear-gradient(170deg, var(--cbg1), var(--cbg2));
  color: var(--cfg); box-shadow: 0 24px 60px rgba(0,0,0,.4); max-width: 460px; width: 100%; margin: 0 auto;
}
.wcard.th-green { --cbg1: #1b7a52; --cbg2: #0b3a29; }
.wcard.th-gold { --cbg1: #fbe7b3; --cbg2: #f1c862; --cfg: #3a1416; --cacc: #b51f2b; --csub: rgba(58,20,22,.8); }
.wcard.th-night { --cbg1: #22325c; --cbg2: #0b1226; }
.wc-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,.5) 1.2px, transparent 1.6px); background-size: 34px 34px; opacity: .35; }
.wc-eyebrow { position: relative; font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cacc); margin: 0 0 6px; }
.wc-wreath { position: relative; width: min(300px, 78%); aspect-ratio: 1 / 1; margin: 0 auto; display: grid; place-items: center; }
.wc-wreath svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wc-name { position: relative; font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; color: var(--cacc); max-width: 62%; overflow-wrap: anywhere; text-shadow: 0 2px 0 rgba(0,0,0,.18); }
.wc-merry { position: relative; font-family: var(--display); font-size: clamp(1.5rem, 4vw, 1.9rem); margin: 4px 0 8px; }
.wc-msg { position: relative; margin: 0 auto 12px; max-width: 34ch; color: var(--csub); font-size: 1rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.wc-from { position: relative; font-style: italic; margin: 0 0 14px; font-size: 1.05rem; }
.wc-count { position: relative; display: inline-flex; gap: 8px; align-items: baseline; background: rgba(0,0,0,.18); border-radius: 999px; padding: 6px 16px; font-size: .9rem; }
.th-gold .wc-count { background: rgba(255,255,255,.45); }
.wc-count b { font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--cacc); }

/* ===== Receiving view ===== */
.receive { display: grid; gap: 22px; justify-items: center; text-align: center; padding-block: 18px 40px; }
.receive h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.08; margin: 0; text-wrap: balance; }
.receive h1 em { font-style: normal; color: var(--gold); }
.receive .lede2 { color: var(--mist); margin: 0; font-size: 1.1rem; }
.gift { position: relative; width: 200px; height: 190px; background: none; border: 0; cursor: pointer; padding: 0; }
.gift .box { position: absolute; left: 10px; right: 10px; bottom: 0; height: 130px; background: var(--green-bright); border-radius: 8px; box-shadow: 0 16px 30px rgba(0,0,0,.35); }
.gift .lid { position: absolute; left: 0; right: 0; top: 34px; height: 38px; background: #1f8a5d; border-radius: 8px; box-shadow: 0 6px 12px rgba(0,0,0,.25); transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .7s; }
.gift .rib-v { position: absolute; left: 50%; width: 26px; margin-left: -13px; top: 34px; bottom: 0; background: var(--gold); }
.gift .bow { position: absolute; left: 50%; top: 4px; width: 90px; height: 40px; margin-left: -45px; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .7s; }
.gift .bow::before, .gift .bow::after { content: ""; position: absolute; top: 4px; width: 40px; height: 30px; border: 9px solid var(--gold); border-radius: 50% 50% 50% 50%; }
.gift .bow::before { left: 2px; transform: rotate(-20deg); } .gift .bow::after { right: 2px; transform: rotate(20deg); }
.gift:hover .box { animation: wobble .6s ease-in-out; }
@keyframes wobble { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
.gift.opened .lid, .gift.opened .bow { transform: translateY(-140px) rotate(-18deg); opacity: 0; }
.gift.opened { pointer-events: none; }
.reveal { animation: pop .8s cubic-bezier(.2,.9,.25,1.2) both; width: 100%; }
@keyframes pop { from { transform: scale(.6) translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }
.wish-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Wish lists */
.wishlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.wishlist li { background: var(--cream); color: var(--ink); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; justify-content: space-between; border-left: 6px solid var(--red); }
.wishlist li:nth-child(2n) { border-left-color: var(--green-bright); }
.wishlist p { margin: 0; line-height: 1.55; }
.wishlist button { align-self: flex-start; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.wishlist button:hover { background: var(--red); }
.imgsave { display: grid; gap: 10px; justify-items: center; margin-top: 18px; }
.imgsave img { width: 100%; max-width: 360px; border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.imgsave p { margin: 0; font-size: .85rem; color: var(--mist); text-align: center; }
.nav > a.hot { background: var(--gold); color: var(--ink); }
.nav > a.hot:hover { background: var(--gold-soft); }
@media (max-width: 860px) { .wish-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .reveal, .gift:hover .box { animation: none; } .gift .lid, .gift .bow { transition: none; } }

.brand b { font-weight: 400; color: var(--gold); }
