/* ============================================================================
   christmas-day-parks.css, card 1206. Theme parks open on Christmas Day 2026.
   Sits on the homepage daylight theme (hours-light.css, loaded after this file),
   so it uses the --hl tokens: sky ground, navy ink, white cards, coral accent,
   Fraunces display. Each park carries its own color in --pc for stripes and bars.
   ========================================================================== */

.xd { --pc: var(--hl-coral); color: var(--hl-ink); font-family: var(--hl-ui); overflow-x: clip; }
.xd *, .xd *::before, .xd *::after { box-sizing: border-box; }
.xd-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.xd a { color: var(--hl-blue); text-underline-offset: 2px; }
.xd a:hover { color: var(--hl-coral-deep); }
.xd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.xd ol, .xd ul { list-style: none; margin: 0; padding: 0; }

/* ---------------------------------------------------------------- hero */
.xd-hero {
  position: relative; padding: 18px 0 26px;
}
.xd-hero .xd-wrap { position: relative; }
.xd-photo {
  position: absolute; right: 20px; top: 0; width: 230px; margin: 0; z-index: 0;
  transform: rotate(2.5deg); background: #fff; padding: 8px 8px 0; border-radius: 6px; box-shadow: var(--hl-shadow);
}
.xd-photo img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: 50% 30%; border-radius: 3px; }
.xd-photo figcaption { padding: 6px 2px 8px; font-size: 11px; line-height: 1.35; color: var(--hl-ink-3); }
.xd-photo figcaption a { color: var(--hl-ink-2); }
.xd-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--hl-ink-3); margin-bottom: 14px; }
.xd-crumbs a { color: var(--hl-ink-2); text-decoration: none; }
.xd-crumbs a:hover { color: var(--hl-coral-deep); text-decoration: underline; }
.xd-kick {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #b92e13;
}
.xd-kick::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.xd-h1 {
  margin: 0; font-family: var(--hl-display); font-weight: 900; letter-spacing: -0.03em;
  font-size: clamp(31px, 6.2vw, 64px); line-height: 1.02; max-width: 19ch; text-wrap: balance;
}
.xd-h1-n {
  display: inline-block; padding: 0 0.18em; margin-right: 0.04em; border-radius: 0.18em;
  background: var(--hl-coral); color: #fff; box-shadow: 0 10px 22px -10px rgb(210 56 26 / 0.7);
}
.xd-dek { margin: 12px 0 0; font-size: 16px; color: var(--hl-ink-2); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.xd-stamp {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px;
  background: var(--hl-card); font-size: 13px; font-weight: 700; color: var(--hl-ink);
  box-shadow: inset 0 0 0 1px var(--hl-line-2);
}
.xd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hl-ok); box-shadow: 0 0 0 3px rgb(13 134 112 / 0.2); }

/* answer box */
.xd-answer {
  position: relative; z-index: 1; margin-top: 20px; display: grid; gap: 18px; align-items: stretch;
  grid-template-columns: 190px 1fr; grid-template-areas: "big p" "big stats";
  background: var(--hl-card); border-radius: 22px; padding: 18px; box-shadow: var(--hl-shadow);
}
.xd-big {
  grid-area: big; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 18px 20px; border-radius: 16px; color: #fff3df;
  background: radial-gradient(14rem 10rem at 100% 0, rgb(244 80 47 / 0.35), transparent 70%), linear-gradient(160deg, #1d3d6b, #10294a 60%, #0a1c35);
}
.xd-big-n { font-family: var(--hl-display); font-weight: 900; font-size: 96px; line-height: 0.9; color: #ffd27a; letter-spacing: -0.04em; }
.xd-big-l { margin-top: 8px; font-size: 14px; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.08em; color: #e5dccb; }
.xd-answer-p { grid-area: p; margin: 2px 0 0; font-size: 17px; line-height: 1.55; color: var(--hl-ink); }
.xd-answer-p b { color: var(--hl-coral-deep); }
.xd-stats { grid-area: stats; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.xd-stats div { --pc: var(--hl-ink-3); padding: 10px 12px; border-radius: 12px; background: var(--hl-sky-2); border-top: 4px solid var(--pc); min-width: 0; }
.xd-stats dt { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-ink-3); }
.xd-stats dd { margin: 2px 0 0; display: flex; flex-direction: column; min-width: 0; }
.xd-stats dd b { font-family: var(--hl-display); font-weight: 900; font-size: 24px; line-height: 1.1; }
.xd-stats dd span { font-size: 13px; color: var(--hl-ink-2); line-height: 1.3; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- sections */
.xd-body { padding-bottom: 40px; }
.xd-sec { margin-top: 44px; scroll-margin-top: 90px; }
.xd-h2 {
  margin: 0 0 8px; font-family: var(--hl-display); font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(24px, 3.4vw, 36px); line-height: 1.12; text-wrap: balance; max-width: 30ch;
}
.xd-lede { margin: 0 0 16px; color: var(--hl-ink-2); font-size: 16px; line-height: 1.55; max-width: 70ch; }
.xd-note { margin: 12px 0 0; font-size: 14px; color: var(--hl-ink-3); }
.xd-num {
  flex: none; display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px;
  border-radius: 999px; background: var(--hl-ink); color: #fff; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums;
}
.xd-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.xd-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.xd-badge.is-open { background: var(--hl-ok-bg); color: #0a6b59; }
.xd-badge.is-closed { background: #fde4dd; color: #a82a10; }

/* table */
.xd-table { background: var(--hl-card); border-radius: 18px; box-shadow: var(--hl-shadow-sm), inset 0 0 0 1px var(--hl-line); overflow: hidden; }
.xd-tr {
  display: grid; grid-template-columns: 52px minmax(0, 1.5fr) minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-top: 1px solid var(--hl-line);
  box-shadow: inset 4px 0 0 var(--pc);
}
.xd-th { border-top: 0; box-shadow: none; background: var(--hl-sky-2); padding-top: 10px; padding-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hl-ink-3); }
.xd-tr.is-closed { background: #fbf7f4; }
.xd-tr .c-p { display: flex; flex-direction: column; min-width: 0; }
.xd-tr .c-p a { font-weight: 800; color: var(--hl-ink); text-decoration: none; font-size: 16px; }
.xd-tr .c-p a:hover { color: var(--hl-coral-deep); text-decoration: underline; }
.xd-tr .c-p small { font-size: 13px; color: var(--hl-ink-3); }
.xd-tr .c-d { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.xd-tr .c-d b { font-size: 16px; font-variant-numeric: tabular-nums; }
.xd-tr .c-d .xd-reopen { font-size: 14px; font-weight: 700; color: var(--hl-ink-2); }
.xd-tr .c-e { font-size: 15px; color: var(--hl-ink-2); }
.xd-eve-l { display: none; }
.xd-th .c-e { font-size: inherit; color: inherit; }

/* chart */
.xd-chart { margin: 0 0 22px; padding: 18px 20px 14px; background: var(--hl-card); border-radius: 18px; box-shadow: var(--hl-shadow-sm), inset 0 0 0 1px var(--hl-line); }
.xd-axis, .xd-bars li { --name: 200px; }
.xd-axis { position: relative; height: 18px; margin-left: calc(var(--name) + 38px); font-size: 12px; font-weight: 700; color: var(--hl-ink-3); }
.xd-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.xd-axis span:first-child { transform: none; }
.xd-axis span:last-child { transform: translateX(-100%); }
.xd-bars li { display: grid; grid-template-columns: 28px var(--name) minmax(0, 1fr); align-items: center; gap: 10px; padding: 5px 0; }
.xd-bar-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pc); color: #fff; font-size: 13px; font-weight: 800; }
.xd-bar-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xd-bar-track {
  position: relative; height: 26px; border-radius: 8px;
  background: repeating-linear-gradient(90deg, var(--hl-sky-2) 0 calc(100% / 6 - 1px), var(--hl-line) calc(100% / 6 - 1px) calc(100% / 6));
}
.xd-bar { position: absolute; top: 0; bottom: 0; border-radius: 8px; background: var(--pc); display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; box-shadow: 0 6px 14px -8px var(--pc); }
.xd-bar-ee { position: absolute; top: 4px; bottom: 4px; border-radius: 6px 0 0 6px; background: color-mix(in oklab, var(--pc) 35%, white); }
.xd-bar-t { color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; text-shadow: 0 1px 1px rgb(0 0 0 / 0.25); }
.xd-chart figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: 13px; color: var(--hl-ink-2); }
.xd-key { display: inline-block; width: 18px; height: 10px; border-radius: 3px; background: var(--hl-ink); }
.xd-key.is-ee { background: #9fb0c6; margin-left: 8px; }

/* ranked cards */
.xd-rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.xd-card {
  position: relative; display: flex; gap: 14px; padding: 16px 18px 16px 16px; border-radius: 18px;
  background: var(--hl-card); box-shadow: var(--hl-shadow-sm), inset 0 0 0 1px var(--hl-line); overflow: hidden; min-width: 0;
}
.xd-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--pc); }
.xd-card-n {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--pc); color: #fff; font-family: var(--hl-display); font-weight: 900; font-size: 24px; margin-left: 4px;
}
.xd-card-main { min-width: 0; }
.xd-card-close { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hl-ink-3); }
.xd-card-close b { font-family: var(--hl-display); font-size: 22px; letter-spacing: -0.01em; text-transform: none; color: var(--hl-ink); margin-left: 4px; }
.xd-card h3 { margin: 2px 0 2px; font-size: 19px; font-weight: 800; line-height: 1.2; }
.xd-card h3 a { color: var(--hl-ink); text-decoration: none; }
.xd-card h3 a:hover { color: var(--hl-coral-deep); text-decoration: underline; }
.xd-card-meta { margin: 0; font-size: 14px; color: var(--hl-ink-3); }
.xd-card-why { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--hl-ink-2); }
.xd-card.is-closed .xd-card-n { background: #6b7789; }

/* compact numbered lists */
.xd-mini { columns: 2; column-gap: 14px; }
.xd-mini li { break-inside: avoid; margin-bottom: 8px; }
.xd-mini li, .xd-crowd li {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; min-width: 0;
  background: var(--hl-card); box-shadow: inset 0 0 0 1px var(--hl-line), inset 4px 0 0 var(--pc);
}
.xd-mini li > a, .xd-crowd li > a { flex: 1; min-width: 0; font-weight: 800; color: var(--hl-ink); text-decoration: none; }
.xd-mini li > a:hover, .xd-crowd li > a:hover { color: var(--hl-coral-deep); text-decoration: underline; }
.xd-mini-t { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.xd-mini-t b { font-size: 16px; white-space: nowrap; }
.xd-mini-t small { font-size: 12px; color: var(--hl-ink-3); }

.xd-closed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#others .xd-closed { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* regions */
.xd-regions { display: grid; grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(0, 1fr)); gap: 14px; }
.xd-region:first-child .xd-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xd-region { padding: 16px; border-radius: 18px; background: var(--hl-card); box-shadow: var(--hl-shadow-sm), inset 0 0 0 1px var(--hl-line); min-width: 0; }
.xd-region h3 { display: inline; margin: 0 0 0 8px; font-family: var(--hl-display); font-weight: 900; font-size: 20px; }
.xd-region-count { margin: 10px 0 8px; font-size: 14px; color: var(--hl-ink-2); }
.xd-region-count b { font-family: var(--hl-display); font-size: 26px; color: var(--hl-ink); margin-right: 2px; }
.xd-chips { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.xd-chips li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; padding: 5px 8px 5px 10px; border-radius: 8px; background: var(--hl-sky-2); box-shadow: inset 3px 0 0 var(--pc); }
.xd-chips li span { font-weight: 600; color: var(--hl-ink-3); white-space: nowrap; }
.xd-chips li.is-closed span { color: #a82a10; }
.xd-region-p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hl-ink-2); }

/* facts, faq */
.xd-facts, .xd-faq { display: grid; gap: 10px; }
.xd-facts li, .xd-faq li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--hl-card); box-shadow: inset 0 0 0 1px var(--hl-line); }
.xd-facts p { margin: 3px 0 0; font-size: 16px; line-height: 1.55; }
.xd-faq h3 { margin: 2px 0 6px; font-size: 18px; font-weight: 800; line-height: 1.3; }
.xd-faq p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--hl-ink-2); }

/* crowd */
.xd-crowd { columns: 2; column-gap: 14px; }
.xd-crowd li { break-inside: avoid; margin-bottom: 8px; }
.xd-meter { flex: 0 0 90px; height: 8px; border-radius: 99px; background: var(--hl-sky-2); box-shadow: inset 0 0 0 1px var(--hl-line); overflow: hidden; }
.xd-meter span { display: block; height: 100%; background: var(--pc); border-radius: 99px; }
.xd-score { font-family: var(--hl-display); font-size: 20px; min-width: 48px; text-align: right; }
.xd-score small { font-family: var(--hl-ui); font-size: 12px; color: var(--hl-ink-3); }

/* more */
.xd-links { display: flex; flex-wrap: wrap; gap: 8px; }
.xd-links a { display: inline-block; padding: 9px 14px; border-radius: 999px; background: var(--hl-card); color: var(--hl-ink); font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--hl-line-2); }
.xd-links a:hover { color: var(--hl-coral-deep); box-shadow: inset 0 0 0 2px var(--hl-coral-deep); }
.xd-by { margin: 16px 0 0; font-size: 14px; color: var(--hl-ink-3); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) { .xd-photo { display: none; } }
@media (max-width: 980px) {
  .xd-regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xd-region:first-child { grid-column: 1 / -1; }
  .xd-region:first-child .xd-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .xd-wrap { padding: 0 14px; }
  .xd-hero { padding: 6px 0 4px; background: none; }
  .xd-crumbs { display: none; }
  .xd-kick { margin-bottom: 4px; font-size: 11px; }
  .xd-h1 { font-size: clamp(26px, 7.6vw, 34px); }
  .xd-dek { margin-top: 6px; font-size: 13px; }
  .xd-dek-n { display: none; }
  .xd-stamp { font-size: 12px; padding: 2px 9px; }
  .xd-answer { margin-top: 10px; grid-template-columns: 62px 1fr; grid-template-areas: "big p"; gap: 10px; padding: 10px; border-radius: 16px; }
  .xd-big { padding: 8px 4px; align-items: center; justify-content: flex-start; text-align: center; border-radius: 12px; }
  .xd-big-n { font-size: 40px; }
  .xd-big-l { font-size: 9px; margin-top: 4px; letter-spacing: 0.04em; }
  .xd-answer-p { font-size: 13.5px; line-height: 1.42; margin: 0; }
  .xd-stats { display: none; }
  .xd-sec { margin-top: 34px; }
  #open { margin-top: 16px; }
  #open .xd-h2 { font-size: 21px; margin-bottom: 8px; }
  #open .xd-lede { display: none; }
  .xd-lede { font-size: 15px; margin-bottom: 12px; }
  .xd-th { display: none; }
  .xd-tr { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "n p d" "n e d"; gap: 0 10px; padding: 9px 12px 9px 10px; }
  .xd-tr .c-n { grid-area: n; align-self: start; padding-top: 2px; }
  .xd-tr .c-p { grid-area: p; }
  .xd-tr .c-d { grid-area: d; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
  .xd-tr .c-e { grid-area: e; font-size: 12.5px; color: var(--hl-ink-3); }
  .xd-eve-l { display: inline; font-weight: 700; }
  .xd-tr .c-p a { font-size: 15px; line-height: 1.25; }
  .xd-tr .c-p small { display: none; }
  .xd-tr .c-d b { font-size: 14px; white-space: nowrap; }
  .xd-tr .c-d .xd-reopen { font-size: 12.5px; }
  .xd-num { min-width: 24px; height: 24px; font-size: 12.5px; }
  .xd-badge { font-size: 10.5px; padding: 1px 7px; }
  .xd-chart { padding: 14px 12px 12px; }
  .xd-axis, .xd-bars li { --name: 0px; }
  .xd-axis { margin-left: 0; }
  .xd-bars li { grid-template-columns: 26px minmax(0, 1fr); grid-template-areas: "n name" "n track"; gap: 2px 8px; padding: 6px 0; }
  .xd-bar-n { grid-area: n; align-self: center; }
  .xd-bar-name { grid-area: name; font-size: 13px; }
  .xd-bar-track { grid-area: track; height: 22px; }
  .xd-bar-t { font-size: 11px; }
  .xd-rank, .xd-closed, #others .xd-closed, .xd-regions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .xd-mini, .xd-crowd { columns: 1; }
  .xd-region:first-child .xd-chips { grid-template-columns: minmax(0, 1fr); }
  .xd-card { padding: 12px 12px 12px 10px; gap: 10px; border-radius: 16px; }
  .xd-card-n { width: 36px; height: 36px; font-size: 19px; border-radius: 11px; }
  .xd-card-close { font-size: 11.5px; }
  .xd-card-close b { font-size: 19px; }
  .xd-card h3 { font-size: 16.5px; }
  .xd-card-meta { font-size: 13px; }
  .xd-card-why { font-size: 14px; margin-top: 4px; line-height: 1.45; }
  .xd-faq h3 { font-size: 16.5px; }
  .xd-faq p, .xd-facts p { font-size: 15px; }
  .xd-meter { flex-basis: 64px; }
}
@media (max-width: 360px) {
  .xd-kick { display: none; }
  #open .xd-h2 { font-size: 19px; }
  .xd-answer { grid-template-columns: 54px 1fr; }
  .xd-big-n { font-size: 34px; }
  .xd-answer-p { font-size: 13px; }
}
