/* /activities/ 全年活動表與 /activities/<slug>/ 每場活動的說明頁（2026-11-13）。頁面由 scripts/activities.mjs 從 data/activities.js 產生。
   疊在 /assets/style.css 與 /assets/brand.css（.ci、.ci-table、.ci-lockup、.ci-foot、.jx-svg）上面；頁首、頁尾、版心照 /privacy、/events。
   只有白天。顏色只用 --ci-*、--surface 與 .ci 接過去的 --sub，深淺用 color-mix() 從色票調；字級只用 tokens.json 的 7 級；
   圓角只用 999px（膠囊）與方角（DESIGN.md「全年活動表」）。
   全年總覽照 115/11/12 會議資料頁的「全年總覽」：橫向是月份、直向是類型、每場一顆寫著日期的膠囊。
   960px 以下改成直向：一個月一列，膠囊照日期排。
   手機（640px 以下）另外排（2026-11-13，檔尾「手機」一段）：全年總覽收起來，場次一覽每一列前面放那一場的日期膠囊；
   篩選是貼在畫面上緣的兩排按鈕，可橫向滑動；說明頁的報名狀態與日期、時段、地點合成一張卡，報名按鈕固定在畫面下緣。 */

html:has(> body.ci) { background: var(--ci-paper); }   /* 頁面比視窗短、或往下拉過頭時露出來的底 */

.ac { padding-block: clamp(1.5rem, 5vw, 3rem) clamp(3rem, 8vw, 5rem); }
.ac a:focus-visible, .ac button:focus-visible { outline: 3px solid var(--ci-sea); outline-offset: 2px; border-radius: 0; }
.ac-year h1 { font-size: clamp(2.6rem, 9vw, 3.6rem); font-weight: 900; line-height: 1.23; }
.ac-meta { margin-top: .75rem; font-size: .92rem; font-weight: 500; color: var(--sub); }
.ac-lead { margin-top: 1.5rem; max-width: 40rem; font-size: 1.18rem; line-height: 1.85; color: var(--sub); text-wrap: pretty; }

/* 段落標題：上面一條深藍粗線（同 /privacy、報名頁） */
.ac-sec { margin-top: clamp(2.5rem, 7vw, 3.5rem); }
.ac-sec > h2 { padding-top: 1.25rem; border-top: 2px solid var(--ci-navy); font-size: clamp(1.45rem, 5.6vw, 1.9rem); font-weight: 900; line-height: 1.4; }

/* ---------- 類型與主題 ----------
   類型的顏色同會議資料頁：培力課程是參與方式色往深藍混 40%（配米白 5.27:1），主題式服務原色（4.86:1），
   特別場是海藍往深藍混 30%（約 5.5:1），一起小聚白底深藍框。主題用一塊小方磚（食農稻黃、慢食紅、城市森林薄荷） */
.t-learn { --c: color-mix(in srgb, var(--ci-learn) 60%, var(--ci-navy)); }
.t-serve { --c: var(--ci-serve); }
.t-special { --c: color-mix(in srgb, var(--ci-sea) 70%, var(--ci-navy)); }
.t-gather { --c: var(--ci-navy); }
.k-farm { background: var(--ci-farm); }
.k-slow { background: var(--ci-slow); }
.k-tree { background: var(--ci-mint); }
.ac-tag { display: inline-block; padding: 0 .65rem; border: 1px solid var(--c); border-radius: 999px; background: var(--c); color: var(--ci-paper); font-size: .8rem; font-weight: 700; line-height: 1.75; white-space: nowrap; }
.ac-tag.t-gather { background: var(--surface); color: var(--ci-navy); }
.ac-theme { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.ac-theme i { width: .8em; height: .8em; }
.ac-key { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: 1.25rem; }

/* ---------- 篩選 ---------- */
.ac-filter { display: grid; gap: .6rem; margin-top: 1.25rem; }
.ac-fg { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.ac-fk { min-width: 2.5rem; font-size: .8rem; font-weight: 700; color: var(--sub); }
.ac-filter button { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: 0 .9rem; border: 1px solid var(--ci-navy); border-radius: 999px; background: var(--surface); color: var(--ci-navy); font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; }
.ac-filter button[aria-pressed="true"] { background: var(--ci-navy); color: var(--ci-paper); }
.ac-filter button span { font-weight: 400; font-variant-numeric: tabular-nums; }
.ac-filter i { flex: none; width: .8rem; height: .8rem; }
.ac-filter .sw { border: 1px solid var(--c); border-radius: 50%; background: var(--c); }
.ac-filter .sw.t-gather { background: var(--surface); }
.ac-filter button[aria-pressed="true"] i { outline: 1px solid var(--ci-paper); }
.ac-fcount { min-height: 1.5em; font-size: .8rem; color: var(--sub); }

/* ---------- 全年總覽：一顆日期膠囊 ---------- */
.ac-pill { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 2.5rem; min-height: 2.5rem; padding: 0 .6rem; border: 1px solid var(--c); border-radius: 999px; background: var(--c); color: var(--ci-paper); font-family: var(--en); font-size: .92rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity .2s; }
.ac-pill.t-gather { background: var(--surface); color: var(--ci-navy); }
.ac-pill i { flex: none; width: .55rem; height: .55rem; outline: 1px solid var(--ci-paper); }
.ac-pill.t-gather i { outline-color: var(--ci-navy); }
.ac-pill:hover { outline: 2px solid var(--ci-navy); outline-offset: 2px; }
.ac-pill.is-dim { opacity: .18; }
/* 預計（data/activities.js 的 tentative）：虛線框、淡色底、深藍字；實心＝日期已確定。一起小聚本來就是白底，只換成虛線框 */
.ac-pill.is-tbd { border: 1.5px dashed var(--c); background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: var(--ci-navy); }
.ac-pill.is-tbd.t-gather { background: var(--surface); }
.ac-pill.is-tbd i { outline-color: var(--ci-navy); }

/* 手機與平板（960px 以下）：一個月一列，月份在左，膠囊照日期排（.dNN 是日期，用 order 排，不照類型） */
.ac-cal { margin-top: 1.25rem; }
.ac-sea, .ac-rh { display: none; }
.ac-ms { display: grid; padding: 0; list-style: none; border-top: 2px solid var(--ci-navy); }
.ac-m { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; min-height: 3.75rem; padding: .6rem 0 .6rem 5rem; border-bottom: 1px solid var(--ci-line); }
.ac-m-h { position: absolute; left: 0; top: .6rem; display: flex; flex-direction: column; justify-content: center; min-height: 2.5rem; font-size: 1.18rem; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ac-m-h small { font-size: .8rem; font-weight: 700; color: var(--sub); }
.ac-cell { display: contents; }
.d01 { order: 1; } .d02 { order: 2; } .d03 { order: 3; } .d04 { order: 4; } .d05 { order: 5; } .d06 { order: 6; } .d07 { order: 7; } .d08 { order: 8; }
.d09 { order: 9; } .d10 { order: 10; } .d11 { order: 11; } .d12 { order: 12; } .d13 { order: 13; } .d14 { order: 14; } .d15 { order: 15; } .d16 { order: 16; }
.d17 { order: 17; } .d18 { order: 18; } .d19 { order: 19; } .d20 { order: 20; } .d21 { order: 21; } .d22 { order: 22; } .d23 { order: 23; } .d24 { order: 24; }
.d25 { order: 25; } .d26 { order: 26; } .d27 { order: 27; } .d28 { order: 28; } .d29 { order: 29; } .d30 { order: 30; } .d31 { order: 31; }

/* 桌機（960px 以上）：橫向 12 個月 × 直向 4 種類型，上排是四季（同會議資料頁） */
@media (min-width: 960px) {
  .ac-cal { display: grid; grid-template-columns: 8rem repeat(12, minmax(0, 1fr)); }
  .ac-cal::before { content: ""; grid-row: 2; grid-column: 1; border-bottom: 2px solid var(--ci-navy); }
  .ac-sea, .ac-rh, .ac-ms, .ac-m { display: contents; }
  .ac-sea li { grid-row: 1; padding: .35rem .6rem; font-size: .92rem; font-weight: 900; }
  .ac-sea small { margin-left: .5rem; font-size: .8rem; font-weight: 400; color: var(--sub); }
  .ac-sea .is-w { grid-column: 2 / span 3; background: color-mix(in srgb, var(--ci-sea) 16%, var(--surface)); }
  .ac-sea .is-sp { grid-column: 5 / span 3; background: color-mix(in srgb, var(--ci-mint) 35%, var(--surface)); }
  .ac-sea .is-su { grid-column: 8 / span 3; background: color-mix(in srgb, var(--ci-sand) 55%, var(--surface)); }
  .ac-sea .is-au { grid-column: 11 / span 3; background: color-mix(in srgb, var(--ci-clay) 30%, var(--surface)); }
  .ac-m-h { position: static; grid-row: 2; justify-content: flex-end; min-height: 3.25rem; padding: .4rem .5rem; border-bottom: 2px solid var(--ci-navy); font-size: .92rem; font-weight: 700; }
  .ac-rh li { grid-column: 1; display: flex; align-items: center; padding: .4rem .5rem .4rem 0; border-bottom: 1px solid var(--ci-line); }
  .ac-rh .r-learn, .ac-cell[data-row="learn"] { grid-row: 3; }
  .ac-rh .r-serve, .ac-cell[data-row="serve"] { grid-row: 4; }
  .ac-rh .r-special, .ac-cell[data-row="special"] { grid-row: 5; }
  .ac-rh .r-gather, .ac-cell[data-row="gather"] { grid-row: 6; }
  .ac-cell { display: flex; flex-wrap: wrap; align-content: center; align-items: center; gap: .25rem; min-height: 3.5rem; padding: .4rem .25rem; border-bottom: 1px solid var(--ci-line); border-left: 1px solid color-mix(in srgb, var(--ci-line) 50%, transparent); }
  .ac-pill { min-width: 2.25rem; min-height: 2rem; padding: 0 .45rem; }
  .c1 > * { grid-column: 2; } .c2 > * { grid-column: 3; } .c3 > * { grid-column: 4; } .c4 > * { grid-column: 5; }
  .c5 > * { grid-column: 6; } .c6 > * { grid-column: 7; } .c7 > * { grid-column: 8; } .c8 > * { grid-column: 9; }
  .c9 > * { grid-column: 10; } .c10 > * { grid-column: 11; } .c11 > * { grid-column: 12; } .c12 > * { grid-column: 13; }
}

/* ---------- 場次一覽（逐月清單，同會議資料頁） ---------- */
.ac-mon { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 0 1.5rem; margin-top: 1.5rem; }
.ac-mon-h { padding-top: .75rem; border-top: 2px solid var(--ci-navy); font-size: clamp(1.45rem, 5.6vw, 1.9rem); font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ac-mon-h small { display: block; font-size: .8rem; font-weight: 700; color: var(--sub); }
.ac-rows { display: grid; padding: 0; list-style: none; border-top: 2px solid var(--ci-navy); }
.ac-row { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .25rem 1.25rem; padding: .85rem .5rem; border-bottom: 1px solid var(--ci-line); transition: background .2s; }
.ac-row:hover { background: var(--surface); }
.ac-row-day { display: none; }   /* 列首的日期膠囊：手機才有（檔尾） */
.ac-row-d { display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-start; }
.ac-row-d b { font-family: var(--en); font-size: 1.18rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ac-row-w { flex-basis: 100%; font-size: .8rem; color: var(--sub); }
/* 日期後面的「（預計）」：中文小字，不拆行 */
.ac-row-d small, .ac-ss-d b small { display: inline-block; font-family: var(--sans); font-size: .8rem; font-weight: 700; color: var(--sub); white-space: nowrap; }
/* 已結束的場次（activities.js 照當天日期加 .is-past）：預設收起來，展開後標題用次要色 */
.ac-past { margin-top: 1.25rem; }
.ac-past button { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 .9rem; border: 1px solid var(--ci-navy); border-radius: 999px; background: var(--surface); color: var(--ci-navy); font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; }
.ac-rows > .is-past .ac-row-t { color: var(--sub); }
.ac-row-k { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; }
.ac-row-t { margin-top: .3rem; font-weight: 700; line-height: 1.6; }
.ac-row-p { margin-top: .15rem; font-size: .92rem; color: var(--sub); }
.ac-none { margin-top: 1.5rem; color: var(--sub); }

/* ---------- 說明頁 ---------- */
.ac-item { max-width: 860px; }
.ac-item > *, .ac-item .ac-sec > * { max-width: 46rem; }
.ac-crumb a { display: inline-flex; align-items: center; min-height: 2.5rem; font-size: .92rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ac-kinds { margin-top: .5rem; }
.ac-title { margin-top: .5rem; font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 900; line-height: 1.3; text-wrap: balance; overflow-wrap: anywhere; }
/* 報名狀態：字一律深藍，前面一塊小方磚（同報名頁的 .ev-state） */
.ac-state { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; margin-top: 1rem; font-weight: 700; }
.ac-state::before { content: ""; flex: none; width: .75rem; height: .75rem; background: var(--ci-line); }
.ac-state.is-open::before { background: var(--ci-serve); }
.ac-state small { font-size: .92rem; font-weight: 400; color: var(--sub); }
.ac-facts { margin-top: 1.25rem; font-size: 1rem; }
.ac-facts td small { display: block; font-size: .92rem; color: var(--sub); }
.ac-p { margin-top: 1rem; line-height: 1.9; text-wrap: pretty; }
.ac-note { margin-top: .75rem; font-size: .92rem; line-height: 1.8; color: var(--sub); }
.ac-empty { margin-top: 1rem; padding: 1rem 1.25rem; border: 1.5px dashed var(--ci-line); color: var(--sub); }
.ac-h3 { margin-top: 1.5rem; font-size: 1.18rem; font-weight: 700; }

/* 活動內容：時間在左、項目與說明在右 */
.ac-prog { display: grid; margin-top: 1rem; padding: 0; list-style: none; border-top: 1px solid var(--ci-line); }
.ac-prog li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .15rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--ci-line); }
.ac-prog li.no-t { grid-template-columns: minmax(0, 1fr); }
.ac-prog-t { grid-row: span 2; font-family: var(--en); font-weight: 700; font-variant-numeric: tabular-nums; }
.ac-prog b { font-weight: 700; }
.ac-prog-n { font-size: .92rem; line-height: 1.7; color: var(--sub); }

/* 報名資訊 */
.ac-dl-info { display: grid; margin-top: 1rem; border-top: 1px solid var(--ci-line); }
.ac-dl-info > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .25rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--ci-line); }
.ac-dl-info dt { font-size: .92rem; font-weight: 700; color: var(--sub); }
.ac-dl-info dd { margin: 0; line-height: 1.8; overflow-wrap: anywhere; }
.ac-dl-info a { text-decoration: underline; text-underline-offset: 3px; }
.ac-go { margin-top: 1.5rem; }
/* 按鈕：方角，深藍框＝次要、深藍實心＝主要（同 /project 的 .pj-btn） */
.ac-btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0 1.25rem; font-weight: 700; color: var(--ci-navy); background: var(--ci-paper); border: 2px solid var(--ci-navy); transition: background .2s, color .2s; }
.ac-btn:hover, .ac-btn.is-navy { background: var(--ci-navy); color: var(--ci-paper); }

/* 注意事項：編號清單 */
.ac-notes { display: grid; gap: .5rem; margin-top: 1rem; padding-left: 1.5rem; list-style: decimal; }
.ac-notes li { padding-left: .25rem; line-height: 1.8; overflow-wrap: anywhere; }
.ac-notes li::marker { font-family: var(--en); font-weight: 700; color: var(--ci-navy); }

/* 活動照片、資料下載、相關場次 */
.ac-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .75rem; margin-top: 1rem; }
.ac-photos figure { margin: 0; }
.ac-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.ac-dl { display: grid; justify-items: start; gap: .75rem; margin-top: 1rem; padding: 0; list-style: none; }
.ac-cards { display: grid; gap: 1rem; margin-top: 1rem; padding: 0; list-style: none; }
.ac-card { display: block; height: 100%; padding: 1.25rem; background: var(--surface); border: 1px solid var(--ci-line); transition: border-color .2s; }
.ac-card:hover { border-color: var(--ci-navy); }
.ac-card-t { margin-top: .4rem; font-size: 1.18rem; font-weight: 700; line-height: 1.5; }
.ac-card-m { margin-top: .25rem; font-size: .92rem; color: var(--sub); }
@media (min-width: 640px) { .ac-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 一起小聚的場次：一場一列，主段形式用膠囊（上課沙色、交流薄荷、一起工作白底深藍框，字一律深藍，同會議資料頁） */
.ac-ss { display: grid; margin-top: 1rem; padding: 0; list-style: none; border-top: 2px solid var(--ci-navy); }
.ac-ss li { display: grid; grid-template-columns: 4.5rem 8rem minmax(0, 1fr); gap: .25rem 1rem; align-items: baseline; padding: .85rem .5rem; border-bottom: 1px solid var(--ci-line); scroll-margin-top: 1rem; }
.ac-ss li:target { background: color-mix(in srgb, var(--ci-sand) 40%, var(--ci-paper)); }
.ac-ss-no { font-size: .8rem; font-weight: 700; color: var(--sub); }
.ac-ss-d b { display: block; font-family: var(--en); font-size: 1.18rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ac-ss-d span { display: block; font-size: .8rem; color: var(--sub); }
.ac-ss-b { line-height: 1.7; }
.ac-ss-b .ac-theme { margin-left: .6rem; vertical-align: .05em; }
.ac-form { display: inline-block; margin-right: .6rem; padding: 0 .65rem; border: 1px solid var(--c); border-radius: 999px; background: var(--c); color: var(--ci-navy); font-size: .8rem; font-weight: 700; line-height: 1.75; white-space: nowrap; vertical-align: .1em; }
.f-c { --c: var(--ci-sand); }
.f-t { --c: var(--ci-mint); }
.f-w { --c: var(--ci-navy); background: var(--surface); }

/* ==================== 手機（640px 以下） ====================
   先看到的是「接下來哪幾場、哪一天」：全年總覽與場次一覽內容相同，手機只留場次一覽，
   每一列前面放總覽用的那顆日期膠囊（類型色、預計是虛線框），所以月份格線不用再出現一次。 */
@media (max-width: 639.98px) {
  .ac-lead { margin-top: 1rem; font-size: 1rem; line-height: 1.9; }

  /* 全年總覽那一段攤平：標題、月份格線、虛線框說明不顯示，篩選直接放在 main 底下，往下捲時貼在畫面上緣 */
  .ac-sec-cal { display: contents; }
  .ac-sec-cal > h2, .ac-sec-cal > .ac-cal, .ac-sec-cal > .ac-note { display: none; }
  .ac-filter { position: sticky; top: 0; z-index: 5; gap: 0; margin: 1.5rem calc(var(--pad) * -1) 0; padding-block: .3rem; background: var(--ci-paper); border-block: 1px solid var(--ci-line); }
  /* 一排可橫向滑動；上下留 .3rem 給焦點框 */
  .ac-fg { flex-wrap: nowrap; gap: .4rem; padding: .3rem var(--pad); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
  .ac-fg::-webkit-scrollbar { display: none; }
  .ac-fg > * { flex: none; }
  .ac-fk { min-width: 0; margin-right: .2rem; }
  .ac-fcount { min-height: 0; padding-inline: var(--pad); }
  .ac-fcount:not(:empty) { padding-block: .1rem .3rem; }
  .ac-key { margin-top: 1.5rem; }

  /* 場次一覽：標題只留給報讀軟體，月份當小標 */
  .ac-sec-list { margin-top: 0; }
  .ac-sec-list > h2 { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ac-mon { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 1.75rem; }
  .ac-mon-h { display: flex; align-items: baseline; gap: .5rem; padding: 0 0 .5rem; border-top: 0; }
  .ac-mon-h small { order: 1; }
  /* 一列：左邊日期膠囊，右邊依序是星期與時段、類型與主題、名稱、地點 */
  .ac-row { grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 .75rem; padding: .9rem 0; }
  .ac-row-day { display: inline-flex; grid-row: 1 / span 2; align-self: start; padding: 0; }
  .ac-row-day:hover { outline: 0; }
  .ac-row-d, .ac-row-b { grid-column: 2; }
  .ac-row-d { gap: 0 .25rem; }
  .ac-row-d b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* 日期已在膠囊與月份小標，這裡只留給報讀軟體 */
  .ac-row-d small { order: 1; }
  .ac-row-w { flex-basis: auto; font-size: .92rem; font-weight: 500; }
  .ac-row-b { margin-top: .35rem; }
  .ac-rows > .is-past .ac-row-day { border: 1px solid var(--ci-line); background: transparent; color: var(--sub); }

  /* ---- 說明頁：報名狀態接在日期、時段、地點上面，合成一張白底卡 ---- */
  .ac-state { margin-top: 1rem; padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--ci-line); border-bottom: 0; }
  .ac-state.is-open { background: color-mix(in srgb, var(--ci-serve) 12%, var(--surface)); }
  .ac-facts { margin-top: 0; background: var(--surface); border: 1px solid var(--ci-line); }
  .ac-facts th { width: 6.25rem; padding-left: 1rem; font-size: .92rem; }
  .ac-facts td { padding-right: 1rem; }

  /* 活動內容：時間在上、項目在下，左邊一條線串起來 */
  .ac-prog { border-top: 0; }
  .ac-prog li { position: relative; grid-template-columns: minmax(0, 1fr); gap: .1rem; padding: 0 0 1.1rem 1.1rem; border-bottom: 0; border-left: 2px solid var(--ci-line); }
  .ac-prog li:last-child { padding-bottom: 0; }
  .ac-prog li::before { content: ""; position: absolute; left: -5px; top: .55rem; width: 8px; height: 8px; background: var(--ci-navy); }
  .ac-prog-t { grid-row: auto; font-size: .92rem; }

  /* 報名資訊：欄名在左（最多四個字） */
  .ac-dl-info > div { grid-template-columns: 4.25rem minmax(0, 1fr); gap: .75rem; align-items: baseline; }
  /* 前往報名：固定在畫面下緣；頁尾多留一段，捲到底不會被蓋住 */
  .ac-item .ac-go { position: fixed; inset: auto 0 0; z-index: 10; max-width: none; margin: 0; padding: .6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom)); background: var(--ci-paper); border-top: 1px solid var(--ci-line); }
  .ac-go .ac-btn { display: flex; justify-content: center; }
  body:has(.ac-go) .ci-foot { padding-bottom: 5.5rem; }
  .ac-card { padding: 1rem; }

  /* 一起小聚的場次：第一行日期、星期與時段，場次編號靠右；第二行形式與主題 */
  .ac-ss li { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .75rem; padding: .9rem 0; }
  .ac-ss-d { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5rem; }
  .ac-ss-d span { font-size: .92rem; }
  .ac-ss-no { grid-area: 1 / 2; }
  .ac-ss-b { grid-column: 1 / -1; }
}

/* 手機與平板：文字裡的電話連結也留 40px 高 */
@media (max-width: 959.98px) {
  .ac-dl-info a { padding-block: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ac-pill, .ac-row, .ac-btn, .ac-card { transition: none; }
}
