/* 季節特輯（docs/superpowers/specs/2026-11-28-season-pages-design.md 視覺設計）。
   每頁只有一個招牌：跨年＝午夜點燈地圖，聖誕＝燈串縣市篩選；其餘沿用 _event_card。 */

/* ── 跨年：台灣午夜點燈 ── */
body:has(.season-countdown) { background: #101B3D; }
.season-countdown { --sc-bg: #101B3D; --sc-panel: #1C2B5A; --sc-gold: #F2C14E; --sc-pink: #FF5C8A; --sc-ink: #EEF1FF; --sc-dim: #B8C0E0;
  color: var(--sc-ink); }
.sc { max-width: 1080px; margin: 0 auto; padding: 16px 16px 64px; }
.sc-hero a, .sc-tk a, .sc-ai a { color: inherit; }
.sc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sc-hero { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 8px 0 24px; }
.sc-h1 { font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: clamp(2rem, 7vw, 3.4rem); margin: 0; letter-spacing: .02em; }
.sc-over { color: var(--sc-dim); margin: 0; }
.sc-map { width: min(78vw, 360px); height: auto; overflow: visible; }
.sc-county g { fill: var(--sc-panel); stroke: #2E3F78; stroke-width: 2; transition: fill .3s; }
.sc-county.is-lit g { fill: var(--sc-gold); stroke: #FFE3A0; animation: sc-ignite .45s ease-out both; animation-delay: calc(var(--i) * 70ms); }
.sc-county:focus-visible { outline: none; }
.sc-county:focus-visible g, .sc-county:hover g { stroke: var(--sc-ink); stroke-width: 4; }
.sc-sparks { pointer-events: none; }
.sc-spark { fill: var(--sc-pink); filter: drop-shadow(0 0 8px var(--sc-pink)); opacity: 0; animation: sc-spark .6s ease-out forwards;
  animation-delay: calc(var(--i) * 70ms + .45s); }
@keyframes sc-ignite { from { fill: var(--sc-panel); } to { fill: var(--sc-gold); } }
@keyframes sc-spark { 0% { opacity: 0; r: 2; } 60% { opacity: 1; r: 14; } 100% { opacity: .9; r: 9; } }
.sc-clock { margin: 8px 0 0; display: grid; gap: 2px; }
.sc-clock__label { font-size: .95rem; color: var(--sc-dim); }
.sc-clock__num { font-family: 'Big Shoulders Display', 'Noto Sans TC', sans-serif; font-weight: 800; font-size: clamp(2.6rem, 11vw, 4.6rem);
  line-height: 1; font-variant-numeric: tabular-nums; color: var(--sc-ink); }
.sc-clock__num .sc-sec { color: var(--sc-pink); }
.sc-legend { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; color: var(--sc-dim); font-size: .88rem; }
.sc-legend__lit, .sc-legend__fw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--sc-gold); margin-right: -8px; }
.sc-legend__fw { border-radius: 50%; background: var(--sc-pink); box-shadow: 0 0 6px var(--sc-pink); }
.sc-clock__num { white-space: nowrap; }
.season-page .faq { margin-left: 0; padding: 0; }
.sc-group { font-size: 1.05rem; margin: 20px 0 8px; } .sc-group span { color: var(--sc-dim); font-weight: 400; }
.sc-cards, .sx-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.sx-more { margin-top: 12px; }
.sx-more > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px;
  font-weight: 700; list-style: none; }
.sx-more > summary::-webkit-details-marker { display: none; }
.sx-more[open] > summary { margin-bottom: 12px; }
.season-countdown .sx-more > summary { border: 1.5px solid #3B4E8C; color: var(--sc-ink); }
.season-christmas .sx-more > summary { border: 1.5px solid var(--sx-pine); color: var(--sx-pine); background: #fff; }
@media (min-width: 600px) { .sc-cards, .sx-cards { grid-template-columns: repeat(2, 1fr); } }
.sc-empty { color: var(--sc-dim); }
.season-countdown .faq__item { border-bottom-color: #2E3F78; } .season-countdown .faq__item p { color: var(--sc-dim); }
@media (min-width: 900px) {
  .sc-hero { grid-template-columns: 1fr 400px; grid-template-rows: 1fr auto auto auto auto auto 1fr;
    grid-template-areas: ". map" "title map" "share map" "clock map" "stats map" "legend map" ". map";
    text-align: left; justify-items: start; column-gap: 48px; row-gap: 16px; }
  .sc-h1 { grid-area: title; align-self: end; }
  .season-countdown .season-share { grid-area: share; justify-content: flex-start; align-items: flex-start; }
  .sc-over { grid-area: share; }
  .sc-mapbox { grid-area: map; width: 100%; }
  .sc-stats { grid-area: stats; justify-content: flex-start; }
  .sc-clock { grid-area: clock; }
  .sc-legend { grid-area: legend; justify-content: flex-start; align-self: start; }
  .sc-clock__num { font-size: 5.6rem; }
  .sc-cards, .sx-cards { grid-template-columns: repeat(3, 1fr); }
}

/* 頁首數字、地圖上的煙火綻放（canvas，只在頁面打開時放幾秒） */
.sc-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; color: var(--sc-dim); font-size: .92rem; }
.sc-stats b { color: var(--sc-gold); font-size: 1.35rem; font-weight: 800; margin-right: 2px; }
.sc-mapbox { position: relative; width: min(78vw, 360px); }
.sc-mapbox .sc-map { width: 100%; }
.sc-burst { position: absolute; inset: -12%; width: 124%; height: 124%; pointer-events: none; }
.sc-lead { color: var(--sc-dim); font-size: .9rem; margin: -6px 0 14px; }
.sc-tl h2, .sc-parties h2, .sc-artists h2, .sc-events h2 { font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 1.5rem; margin: 36px 0 12px; }

/* 全台跨年 Lineup：音樂祭海報式——左邊直排金色縣市、右邊卡司以 ✦ 隔開、白／淡金交錯；所有藝人同一級字，
   壓軸只加小標（只有官方寫明的縣市才有，放大會失衡）。標題背後墊一個很淡的大「2027」。 */
.sc-lineup__head { position: relative; text-align: center; padding: clamp(44px, 11vw, 64px) 0 8px; margin-top: 12px; }
.sc-lineup__year { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); z-index: 0; pointer-events: none;
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: clamp(5.5rem, 27vw, 10rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(242, 193, 78, .22); letter-spacing: .02em; }
.sc-lineup__head h2 { position: relative; z-index: 1; margin: 0 !important; font-family: 'Big Shoulders Display', 'Noto Sans TC', sans-serif;
  font-weight: 800; font-size: clamp(2.6rem, 11vw, 4rem); letter-spacing: .14em; line-height: 1; color: #fff; }
.sc-lineup__sub { position: relative; z-index: 1; margin: 8px 0 0; color: var(--sc-gold); font-size: .88rem; letter-spacing: .12em; }
.sc-lineup__poster { list-style: none; margin: 16px 0 0; padding: 6px 0; display: grid; gap: 0; border-radius: 20px;
  background: radial-gradient(120% 60% at 50% 0%, #23356F 0%, #152150 55%, #0E1638 100%); border: 1px solid #34467F; overflow: hidden; }
.sc-lineup__city { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 14px; padding: 16px 18px 16px 10px; }
.sc-lineup__city + .sc-lineup__city { border-top: 1px dashed #2E3F78; }
.sc-lineup__name { justify-self: center; writing-mode: vertical-rl; text-orientation: upright; padding: 6px 10px 6px 0;
  border-right: 2px solid var(--sc-gold); font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 1.35rem; letter-spacing: .12em;
  color: var(--sc-gold) !important; text-decoration: none; }
.sc-lineup__name:hover, .sc-lineup__name:focus-visible { color: #FFE3A0 !important; }
.sc-lineup__acts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; }
.sc-lineup__acts li { font-weight: 900; font-size: clamp(1.1rem, 4.6vw, 1.45rem); line-height: 1.35; color: #fff; letter-spacing: .02em; }
.sc-lineup__acts li:nth-child(even) { color: #FFE3A0; }
.sc-lineup__acts li:not(:last-child)::after { content: "✦"; margin: 0 .45em; color: var(--sc-pink); font-size: .55em; vertical-align: .25em; font-weight: 400; }
.sc-lineup__tag { margin-left: 4px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--sc-gold); color: var(--sc-gold);
  font-style: normal; font-size: .58em; font-weight: 700; vertical-align: .3em; letter-spacing: .05em; }
.sc-lineup__pending { margin: 12px 0 0; text-align: center; color: var(--sc-dim); font-size: .85rem; line-height: 1.6; }
.sc-lineup__actions { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.sc-lineup__btn { min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid var(--sc-gold);
  background: transparent; color: var(--sc-gold) !important; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.sc-lineup__btn[data-lineup-share] { background: var(--sc-gold); color: #231B05 !important; }
.sc-lineup__btn[hidden] { display: none; }
.sc-lineup__btn:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 2px; }
@media (min-width: 760px) {
  .sc-lineup__poster { grid-template-columns: 1fr 1fr; padding: 10px 14px; }
  .sc-lineup__city { padding: 20px 18px 20px 6px; }
  .sc-lineup__city:nth-child(2) { border-top: 0; }
  .sc-lineup__city:nth-child(odd):not(:last-child) { border-right: 1px dashed #2E3F78; }
  .sc-lineup__city:nth-child(odd):last-child { grid-column: 1 / -1; }
}

/* 跨年夜時間軸：「從黃昏到午夜的天空」——軸線是天色漸層（17:00 黃昏橘 → 紫 → 深夜藍 → 午夜粉紅）。
   不依真實時間比例排（晚會集中在傍晚，比例排會左擠右空）：每個時間點一格，兩點之間標「N 小時 M 分後」，00:00 是壓軸。
   手機直式；寬螢幕橫排等寬欄位（00:00 稍寬），間隔標在軸上。只有新聞來源的時間加「預計」小標。 */
.sc-tl { --sky: linear-gradient(#F59E0B, #E2557A 22%, #7C3AED 50%, #22307A 80%, #FF5C8A); }
.sc-tl__points { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.sc-tl__points::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: 30px; width: 4px; border-radius: 2px; background: var(--sky); }
.sc-tl__pt { position: relative; }
.sc-tl__gap { display: block; padding: 8px 0 8px 4px; color: var(--sc-dim); font-size: .8rem; letter-spacing: .06em; }
.sc-tl__gap::before { content: "⋯ "; color: #4A5C99; }
.sc-tl__card { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 12px 14px; border-radius: 14px;
  background: #1A2856; border: 1px solid #2E3F78; }
.sc-tl__card::before { content: ""; position: absolute; left: -27px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--sc-gold); box-shadow: 0 0 0 3px var(--sc-bg); }
.sc-tl__pt time { font-family: 'Big Shoulders Display', 'Noto Sans TC', sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 1; color: var(--sc-gold); }
.sc-tl__label { font-weight: 800; font-size: 1rem; }
.sc-tl__tbc { margin-left: 6px; padding: 1px 6px; border-radius: 6px; border: 1px dashed var(--sc-dim); color: var(--sc-dim);
  font-style: normal; font-size: .72rem; font-weight: 700; vertical-align: .15em; cursor: help; }
.sc-tl__new { display: none; }
.sc-tl__pt.is-fw .sc-tl__card { background: linear-gradient(90deg, #3A2452, #1A2856 70%); border-color: rgba(255, 92, 138, .45); }
.sc-tl__pt.is-fw .sc-tl__card::before { background: var(--sc-pink); box-shadow: 0 0 0 3px var(--sc-bg), 0 0 12px 3px rgba(255, 92, 138, .6); }
.sc-tl__pt.is-fw time { color: var(--sc-pink); }
.sc-tl__pt.is-midnight .sc-tl__card { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 18px 20px; border-color: rgba(255, 92, 138, .7);
  background: radial-gradient(120% 140% at 0% 0%, #5A2A55, #2A2A5A 45%, #1A2856 75%); }
.sc-tl__pt.is-midnight time { font-size: 3rem; }
.sc-tl__pt.is-midnight .sc-tl__new { display: block; font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 1.35rem; color: var(--sc-gold); letter-spacing: .06em; }
.sc-tl__pt.is-midnight .sc-tl__card::before { width: 16px; height: 16px; margin-top: -8px; left: -29px; }
@media (min-width: 760px) {
  /* 橫排：卡片一排等寬，下面一條天色漸層軸，每格中央一個點；間隔文字放在兩點之間的軸上方 */
  .sc-tl__points { display: flex; align-items: stretch; gap: 14px; padding: 0 0 46px; }
  .sc-tl__points::before { left: 0; right: 0; top: auto; bottom: 18px; width: auto; height: 4px;
    background: linear-gradient(90deg, #F59E0B, #E2557A 22%, #7C3AED 50%, #22307A 80%, #FF5C8A); }
  .sc-tl__pt { flex: 1 1 0; min-width: 0; display: flex; }
  .sc-tl__pt.is-midnight { flex-grow: 1.5; }
  .sc-tl__card { flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px 10px; text-align: center; }
  .sc-tl__card::before { left: 50%; top: auto; bottom: -40px; margin: 0 0 0 -6px; }
  .sc-tl__pt.is-midnight .sc-tl__card::before { bottom: -42px; margin-left: -8px; left: 50%; }
  .sc-tl__card::after { content: ""; position: absolute; left: 50%; bottom: -29px; width: 1px; height: 28px; background: #3B4E8C; }
  .sc-tl__gap { position: absolute; left: -7px; bottom: -40px; transform: translateX(-50%); z-index: 1; padding: 2px 8px; border-radius: 999px;
    background: var(--sc-bg); border: 1px solid #2E3F78; font-size: .72rem; white-space: nowrap; }
  .sc-tl__gap::before { content: none; }
  .sc-tl__pt time { font-size: 2rem; }
  .sc-tl__label { font-size: .9rem; line-height: 1.4; }
  .sc-tl__tbc { display: table; margin: 4px auto 0; }
  .sc-tl__pt.is-midnight .sc-tl__card { align-items: center; padding: 16px 12px; }
  .sc-tl__pt.is-midnight time { font-size: 2.8rem; }
  .sc-tl__pt.is-midnight .sc-tl__new { font-size: 1.1rem; }
}

/* 頁首：文字疊在煙火 canvas 上面（煙火不蓋字）；手機標題與分享同一行、全部靠左 */
.sc-hero > *:not(.sc-mapbox) { position: relative; z-index: 1; }
.sc-mapbox { z-index: 0; }
@media (max-width: 899px) {
  .sc-hero { grid-template-columns: 1fr auto; justify-items: start; text-align: left; column-gap: 12px; }
  .sc-hero > * { grid-column: 1 / -1; }
  .sc-hero > .sc-h1 { grid-column: 1; grid-row: 1; align-self: center; }
  .season-countdown .sc-hero > .season-share { grid-column: 2; grid-row: 1; width: auto; align-self: center; }
  .sc-hero .sc-stats, .sc-hero .sc-legend { justify-content: flex-start; }
  .sc-hero .sc-mapbox { justify-self: center; }
}
/* 手機晚會卡先列 4 張，其餘「看全部」（篩選或跳到某縣市時全部顯示） */
@media (max-width: 759px) { .sc-tickets.is-clipped > .sc-tk:nth-child(n+5) { display: none; } }
.sc-more { display: block; width: 100%; min-height: 44px; margin-top: 12px; border-radius: 12px; border: 1.5px solid #3B4E8C;
  background: transparent; color: var(--sc-ink); font: inherit; font-weight: 800; cursor: pointer; }
.sc-more[hidden] { display: none; }
.sc-more:focus-visible { outline: 2px solid var(--sc-gold); outline-offset: 2px; }

/* 篩選＋晚會票根 */
.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.sc-chip { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid #34467F; background: transparent; color: var(--sc-ink);
  font: inherit; font-size: .9rem; cursor: pointer; transition: background .15s, border-color .15s; }
.sc-chip span { color: var(--sc-dim); margin-left: 2px; }
.sc-chip:hover { border-color: var(--sc-gold); }
.sc-chip.is-on { background: var(--sc-gold); border-color: var(--sc-gold); color: #231B05; font-weight: 800; }
.sc-chip.is-on span { color: #4A3B10; }
.sc-chip:focus-visible { outline: 2px solid var(--sc-gold); outline-offset: 2px; }
.sc-tickets { display: grid; gap: 12px; }
.sc-tk { display: grid; grid-template-columns: 92px 1fr; background: var(--sc-panel); border-radius: 16px; overflow: hidden; scroll-margin-top: 80px; }
.sc-tk[hidden] { display: none; }
.sc-tk:target { animation: sc-flash 1.6s ease-out; }
@keyframes sc-flash { 0%, 40% { box-shadow: 0 0 0 3px var(--sc-gold); } 100% { box-shadow: 0 0 0 0 transparent; } }
.sc-tk__stub { position: relative; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 14px 6px; text-align: center;
  background: #23336A; border-right: 2px dashed var(--sc-bg); }
/* 票根打孔 */
.sc-tk__stub::before, .sc-tk__stub::after { content: ""; position: absolute; right: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--sc-bg); }
.sc-tk__stub::before { top: -8px; } .sc-tk__stub::after { bottom: -8px; }
.sc-tk__city { margin: 0; font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 1.4rem; }
.sc-tk__time { margin: 0; display: grid; font-family: 'Big Shoulders Display', 'Noto Sans TC', sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 1; color: var(--sc-gold); }
.sc-tk__time small { font-family: 'Noto Sans TC', sans-serif; font-weight: 500; font-size: .72rem; color: var(--sc-dim); margin-top: 3px; }
.sc-tk__tbd { margin: 0; font-size: .78rem; color: var(--sc-dim); line-height: 1.3; }
.sc-tk__body { padding: 14px 16px 12px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.sc-tk__body p { margin: 0; }
.sc-tk__name { font-weight: 800; font-size: 1.02rem; line-height: 1.4; }
.sc-tk__name a { text-decoration: underline; text-decoration-color: #4A5C99; text-underline-offset: 4px; }
.sc-tk__venue { color: var(--sc-dim); font-size: .88rem; }
.sc-tk__fw { justify-self: start; padding: 3px 10px; border-radius: 8px; background: rgba(255, 92, 138, .14); color: #FFA3BC; font-weight: 800; font-size: .88rem; }
.sc-tk__cast { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.sc-tk__cast li { font-weight: 900; font-size: 1rem; }
.sc-tk__cast li:not(:last-child)::after { content: "・"; color: var(--sc-dim); font-weight: 400; }
.sc-tk__nocast { color: var(--sc-dim); font-size: .88rem; }
.sc-tk__more summary { cursor: pointer; color: var(--sc-dim); font-size: .85rem; min-height: 32px; display: flex; align-items: center; gap: 4px; list-style: none; }
.sc-tk__more summary::-webkit-details-marker { display: none; }
.sc-tk__more summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); margin-left: 4px; transition: transform .15s; }
.sc-tk__more[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.sc-tk__more summary:hover { color: var(--sc-ink); }
.sc-tk__more p { color: var(--sc-dim); font-size: .88rem; line-height: 1.6; }
.sc-tk__src { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; margin-top: 2px !important; border-top: 1px solid #2E3F78; font-size: .8rem; color: var(--sc-dim); }
.sc-tk__src a { text-decoration: underline; text-underline-offset: 3px; }
.sc-nomatch { color: var(--sc-dim); }
.sc-pending { margin-top: 12px; padding: 12px 16px; border: 1.5px dashed #34467F; border-radius: 14px; }
.sc-pending h3 { margin: 0; font-size: 1rem; } .sc-pending p { margin: 4px 0 0; color: var(--sc-dim); font-size: .92rem; }

/* 卡司公布通知按鈕（push.js 判斷支援後才顯示） */
.sc-push { display: grid; gap: 8px; margin: 0 0 14px; }
.sc-push__btn { justify-self: start; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--sc-gold);
  background: transparent; color: var(--sc-gold); font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; transition: background .15s, color .15s; }
.sc-push__btn::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.sc-push__btn--all { background: var(--sc-gold); color: #231B05; }
.sc-push__btn.is-on { background: transparent; color: var(--sc-dim); border-color: #34467F; }
.sc-push__btn[hidden] { display: none; }
.sc-push__btn:disabled { opacity: .6; cursor: progress; }
.sc-push__btn:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 2px; }
.sc-push__note { margin: 0; padding: 10px 12px; border-radius: 10px; background: #1C2B5A; color: var(--sc-dim); font-size: .88rem; line-height: 1.6; }
.sc-push__note[hidden] { display: none; }

/* 藝人在哪跨年 */
.sc-ai { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sc-ai li { display: contents; }
.sc-ai a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 10px;
  background: var(--sc-panel); text-decoration: none; transition: background .15s; }
.sc-ai a:hover { background: #26387A; }
.sc-ai a:focus-visible { outline: 2px solid var(--sc-gold); outline-offset: 2px; }
.sc-ai strong { font-size: .95rem; }
.sc-ai span { color: var(--sc-gold); font-size: .82rem; white-space: nowrap; }
@media (min-width: 760px) { .sc-tickets { grid-template-columns: 1fr 1fr; align-items: start; } }

.season-share { display: flex; justify-content: flex-end; width: 100%; }
.season-countdown .share-btn { background: transparent; color: var(--sc-ink); border-color: #3B4E8C; }

/* ── 聖誕：夜空下的燈串（縣市）＋耶誕城清單＋聖誕月曆（日期） ── */
body:has(.season-christmas) { background: #F3F6F4; }
.season-christmas { --sx-night: #0E241D; --sx-pine: #1F4D3A; --sx-amber: #F5A524; --sx-berry: #C2283F; --sx-ink: #16302A;
  --sx-dim: #4A6158; --sx-line: #DCE6E0; --sx-cream: #F6EFD9; color: var(--sx-ink); }
.sx { max-width: 1080px; margin: 0 auto; padding: 0 16px 48px; }
.sx-hero { position: relative; overflow: hidden; color: var(--sx-cream);
  background: radial-gradient(120% 90% at 85% 0%, #22503F 0%, var(--sx-night) 62%); }
/* 幾顆星：純裝飾 */
.sx-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image: radial-gradient(1.5px 1.5px at 12% 28%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 38% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 68% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 88% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 58%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 56% 8%, #fff 50%, transparent 51%); }
/* 很淡的飄雪（純裝飾，減少動態時不動） */
.sx-hero::after { content: ""; position: absolute; inset: -40px 0 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 90px 80px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 150px 20px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 60px 130px, #fff 50%, transparent 51%);
  background-size: 180px 160px; animation: sx-snow 18s linear infinite; }
@keyframes sx-snow { to { background-position: 30px 160px; } }
.sx-hero__in { position: relative; max-width: 1080px; margin: 0 auto; padding: 20px 16px 6px; display: grid;
  grid-template-columns: 1fr auto; column-gap: 12px; align-items: start; }
.sx-hero__in > * { grid-column: 1 / -1; }
.sx-hero__in > .sx-days { grid-column: 1; grid-row: 1; }
.sx-days { justify-self: start; margin: 0 0 8px; font-size: .85rem; color: var(--sx-amber); border: 1px solid rgba(245, 165, 36, .45);
  border-radius: 999px; padding: 3px 12px; }
.sx-h1 { font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: clamp(2rem, 7vw, 3.2rem); margin: 0 0 6px;
  letter-spacing: .02em; color: var(--sx-cream); }
.sx-hero .season-share { grid-column: 2; grid-row: 1; align-self: start; }
.sx-hero .share-btn { background: transparent; color: var(--sx-cream); border-color: rgba(246, 239, 217, .35); }
.sx-sub { color: #C9D8CF; margin: 0 0 6px; font-size: .95rem; }
/* 燈串：電線是一段段垂下的弧，弧頂對準每顆燈泡中心（燈泡寬 62＋間距 4＝66） */
.sx-lights { display: flex; gap: 4px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px; scroll-snap-type: x proximity; scrollbar-width: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='66' height='24'%3E%3Cpath d='M0 4Q33 24 66 4' fill='none' stroke='%233E5F52' stroke-width='2'/%3E%3C/svg%3E") 35px 0 / 66px 24px repeat-x local; }
.sx-lights::-webkit-scrollbar { display: none; }
/* 燈串還能左右滑時，邊緣淡出提示（season.js 依捲動位置切換） */
.sx-lights.has-right { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.sx-lights.has-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%); }
.sx-lights.has-left.has-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.sx-bulb { --c: var(--sx-amber); flex: 0 0 62px; display: grid; justify-items: center; gap: 1px; text-decoration: none;
  color: #E3ECE6; scroll-snap-align: center; padding-bottom: 2px; }
.sx-bulb:nth-child(4n+2) { --c: #EF5B72; }
.sx-bulb:nth-child(4n+3) { --c: #7FD1A8; }
.sx-bulb:nth-child(4n) { --c: #FFF4D6; }
.sx-bulb__glass { position: relative; width: 16px; height: 22px; margin: 8px 0 6px; border-radius: 50% 50% 45% 45%; background: var(--c);
  opacity: .42; transition: opacity .2s, box-shadow .2s; }
.sx-bulb__glass::before { content: ""; position: absolute; top: -6px; left: 4px; width: 8px; height: 7px; border-radius: 2px; background: #5D6F66; }
.sx-bulb.is-on .sx-bulb__glass::after { content: ""; position: absolute; inset: -26px -30px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); }
.sx-bulb.is-on .sx-bulb__glass { opacity: 1; box-shadow: 0 0 14px 5px color-mix(in srgb, var(--c) 70%, transparent); animation: sx-twinkle 2.6s ease-in-out infinite; }
.sx-bulb__name { font-size: .9rem; font-weight: 700; }
.sx-bulb__n { font-size: .78rem; color: #9FB5A9; }
.sx-bulb.is-on, .sx-bulb.is-on:hover { color: #fff; }
.sx-bulb:hover, .sx-bulb:visited { color: #E3ECE6; }
.sx-bulb:hover .sx-bulb__glass { opacity: .8; }
.sx-bulb:focus-visible { outline: 2px solid var(--sx-amber); outline-offset: 2px; border-radius: 8px; }
@keyframes sx-twinkle { 50% { box-shadow: 0 0 20px 8px color-mix(in srgb, var(--c) 55%, transparent); } }

.sx-two { display: grid; gap: 8px; }
.sx-h2 { font-family: 'Noto Serif TC', serif; font-weight: 900; font-size: 1.35rem; color: var(--sx-pine); margin: 26px 0 2px; }
.sx-lead { color: var(--sx-dim); font-size: .9rem; margin: 0 0 12px; }
.sx-towns { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sx-town { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; min-height: 64px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--sx-line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .15s; }
.sx-town:hover { border-color: var(--sx-pine); }
.sx-town:focus-visible { outline: 2px solid var(--sx-pine); outline-offset: 2px; }
.sx-town__city { font-family: 'Noto Serif TC', serif; font-weight: 900; color: var(--sx-pine); text-align: center;
  border-right: 2px dotted #C9D8CF; padding-right: 8px; }
.sx-town__body strong { display: block; font-size: .97rem; line-height: 1.35; }
.sx-town__body span { display: block; margin-top: 2px; font-size: .82rem; color: var(--sx-dim); }
.sx-town__body em { font-style: normal; font-weight: 700; color: #B4471C; }

.sx-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.sx-cal__wd { text-align: center; font-size: .75rem; color: var(--sx-dim); }
.sx-day { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 1px; border-radius: 10px; background: #fff;
  border: 1px solid var(--sx-line); color: var(--sx-ink); text-decoration: none; transition: background .15s, border-color .15s; }
.sx-day b { font-size: 1rem; line-height: 1.1; }
.sx-day small { font-size: .68rem; color: var(--sx-dim); white-space: nowrap; }
a.sx-day:hover { border-color: var(--sx-pine); }
.sx-day.is-weekend { background: #FDF0F2; border-color: #F2C5CC; }
.sx-day.is-weekend b { color: var(--sx-berry); }
.sx-day.is-special { background: var(--sx-berry); border-color: var(--sx-berry); }
.sx-day.is-special b, .sx-day.is-special small { color: #fff; }
.sx-day.is-past { opacity: .45; }
.sx-day.is-today { box-shadow: 0 0 0 2px var(--sx-amber); }
.sx-day.is-on { background: var(--sx-pine); border-color: var(--sx-pine); box-shadow: 0 0 0 3px var(--sx-amber); opacity: 1; }
.sx-day.is-on b, .sx-day.is-on small { color: #fff; }
.sx-day.is-empty { background: transparent; border-style: dashed; }
.sx-day:focus-visible { outline: 2px solid var(--sx-pine); outline-offset: 2px; }
/* 降臨曆：開了的門換成門後推薦的圖（壓暗才看得清數字），關著的門有門把；今天的門第一次看到時打開 */
.sx-day { position: relative; overflow: hidden; perspective: 400px; }
.sx-day.is-open[style] { background: linear-gradient(rgba(14, 36, 29, .5), rgba(14, 36, 29, .78)), var(--door-img) center / cover; border-color: var(--sx-pine); }
.sx-day.is-open[style] b, .sx-day.is-open[style] small { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.sx-day.is-open.is-past { opacity: .8; }
.sx-day.is-closed::after { content: ""; position: absolute; right: 6px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--sx-amber); }
.sx-day.is-closed.is-empty::after { display: none; }
.sx-day.is-today.is-open { box-shadow: 0 0 0 2px var(--sx-amber), 0 0 14px rgba(245, 165, 36, .55); }
.sx-day.is-opening::before { content: ""; position: absolute; inset: 0; z-index: 2; transform-origin: left center; border-radius: inherit;
  background: #FFF8E7 linear-gradient(90deg, transparent 46%, var(--sx-berry) 46%, var(--sx-berry) 54%, transparent 54%);
  animation: sx-door 1.1s .4s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes sx-door { to { transform: rotateY(-105deg); opacity: 0; } }
.sx-door { margin-top: 24px; }
.sx-door .sx-h2 { margin-top: 0; }
.sx-door__card { max-width: 380px; }
.sx-key--open { background: linear-gradient(#2d5a48, #0e241d); }

.sx-legend { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--sx-dim); margin: 8px 0 0; }
.sx-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sx-key--weekend { background: #FDF0F2; border: 1px solid #F2C5CC; }
.sx-key--special { background: var(--sx-berry); margin-left: 6px; }
.sx-status { margin: 24px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--sx-line); font-weight: 700; }
.sx-status a { color: var(--sx-pine); font-weight: 500; }
.sx-towns-more { width: 100%; min-height: 44px; margin-top: 8px; border-radius: 12px; border: 1.5px solid var(--sx-pine); background: #fff;
  color: var(--sx-pine); font: inherit; font-weight: 700; cursor: pointer; }
.sx-towns-more:focus-visible { outline: 2px solid var(--sx-pine); outline-offset: 2px; }
@media (max-width: 899px) { .sx-towns.is-clipped > li:nth-child(n+5) { display: none; } }
@media (min-width: 900px) { .sx-towns-more { display: none; } }
@media (min-width: 600px) { .sx-towns { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .sx-two { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
  .sx-two > :only-child { grid-column: 1 / -1; max-width: 520px; }
}

.sx-section { margin-top: 28px; }
.sx-tag { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; color: var(--sx-pine); margin: 0 0 10px; }
.sx-tag span:last-child { color: var(--sx-dim); font-weight: 400; font-size: .95rem; }
.sx-ornament { width: 14px; height: 14px; border-radius: 50%; background: var(--sx-berry); box-shadow: inset -3px -3px 0 rgba(0,0,0,.18); }
.sx-empty { color: var(--sx-dim); margin-top: 24px; }
#sx-live { transition: opacity .15s ease; }
#sx-live[aria-busy="true"] { opacity: .45; }

@media (prefers-reduced-motion: reduce) {
  .sc-county.is-lit g, .sc-spark, .sc-tk:target { animation: none; }
  .sc-spark { opacity: .9; }
  .sx-bulb__glass, .sx-day { transition: none; }
  .sx-bulb.is-on .sx-bulb__glass { animation: none; }
  .sx-day.is-opening::before { display: none; }
  .sx-hero::after { animation: none; }
}
