/* Coffee & Chat：與全站同一套版面，焦糖色只用在內容區的按鈕、數字與重點 */
.page-cc .num, .page-cc .steps__n { color: var(--caramel); }
.page-cc .steps__n { background: var(--caramel); color: #fff; }
.page-cc .col { border-top-color: var(--cocoa); }
.page-cc .h1, .page-cc .h2, .page-cc .h3 { color: var(--cocoa); }
.page-cc .sec--navy .h2 { color: var(--paper); }
.page-cc .hl { background: linear-gradient(transparent 60%, var(--oat-2) 60%, var(--oat-2) 94%, transparent 94%); }

.cc-hero .h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); max-width: 11em; }
.cc-logo { width: 148px; height: auto; margin-bottom: 28px; }
.cc-facts { margin-top: 20px; font-weight: 700; color: var(--walnut); }
.cc-hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.cc-caption { margin-top: 10px; font-size: 13px; color: var(--ink-2); }

/* 下一場 */
.next-session { margin-top: 36px; padding: 24px 0 0; border-top: 2px solid var(--cocoa); display: flex; flex-direction: column; gap: 6px; }
.next-session__label { font-size: 14px; font-weight: 700; color: var(--caramel); }
.next-session__title { font-family: var(--font-title); font-weight: 700; font-size: 1.375rem; color: var(--cocoa); }
.next-session__meta { color: var(--walnut); }
.next-session .actions { margin-top: 12px; }
.next-session .status { align-self: flex-start; }

.is-isnot { margin-bottom: 72px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--walnut); }
.ticks li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.ticks--yes li::before { content: "○"; color: #4E745D; }
.ticks--no li::before { content: "×"; color: var(--caramel); }
.formats .door h3 { font-size: 1.75rem; color: var(--cocoa); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 1px; background: rgba(56, 28, 14, 0.24); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.steps__n { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-title); font-weight: 700; margin-bottom: 8px; }
.steps .muted { color: var(--walnut); font-size: 15px; }

/* 場次卡（由 coffee-chat.js 產生） */
.session-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.session-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(56, 28, 14, 0.12); }
.session-card__cover { position: relative; aspect-ratio: 3 / 2; background: var(--oat-2); }
.session-card__cover > img { width: 100%; height: 100%; object-fit: cover; }
.session-cover-brand { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--caramel); font-weight: 700; font-size: 14px; }
.session-cover-brand img { width: 120px; }
.session-card__cover .status { position: absolute; left: 14px; top: 14px; }
.session-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.session-card__eyebrow { font-size: 14px; font-weight: 700; color: var(--caramel); }
.session-card__title { font-size: 1.25rem; color: var(--cocoa); }
.session-meta { list-style: none; display: grid; gap: 4px; font-size: 15px; color: var(--walnut); }
.session-meta li { display: flex; gap: 8px; align-items: flex-start; }
.session-meta svg { flex-shrink: 0; margin-top: 5px; }
.session-card__summary { font-size: 15px; color: var(--walnut); }
.slot-list { list-style: none; display: grid; gap: 6px; }
.slot { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--oat); font-size: 14px; color: var(--cocoa); }
.slot span { margin-left: auto; font-size: 13px; color: var(--walnut); }
.slot.is-full { opacity: 0.6; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; color: var(--walnut); }
.chip + .chip::before { content: "‧ "; }
.session-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.session-card__actions .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.session-card.is-ended .session-card__cover > img { filter: grayscale(0.4); }

.status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff; color: var(--cocoa); }
.status--open { background: #4E745D; color: #fff; }
.status--full { background: var(--oat-2); }
.status--ended { background: var(--cocoa); color: #fff; }
.status--prep { background: #fff; box-shadow: inset 0 0 0 1px rgba(56, 28, 14, 0.24); }

/* 場次細節彈窗 */
#sessionModal .modal__panel { background: var(--oat); }
.detail-list { display: grid; margin: 20px 0; border-bottom: 1px solid rgba(56, 28, 14, 0.14); }
.detail-list > div { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(56, 28, 14, 0.14); }
.detail-list dt { font-weight: 700; color: var(--cocoa); }
.detail-desc { color: var(--walnut); }

/* 過去的場次 */
.photo-wall { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: 12px; }
.photo-wall figure { position: relative; overflow: hidden; border-radius: 4px; }
.photo-wall__big { grid-row: span 2; }
.photo-wall img { width: 100%; height: 100%; object-fit: cover; }
.photo-wall figcaption { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 13px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }

@media (max-width: 960px) {
  .session-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .photo-wall { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}
@media (max-width: 720px) {
  .session-grid, .steps { grid-template-columns: 1fr; }
  .photo-wall__big { grid-column: span 2; grid-row: span 1; }
}

/* 場次狀態：從卡片左邊界延伸出來的小標籤，不浮在照片上 */
.session-card__body { position: relative; }
.session-card__status {
  align-self: flex-start; margin: -2px 0 2px -24px; padding: 4px 14px 4px 24px;
  border-radius: 0 999px 999px 0; font-size: 13px; font-weight: 700; line-height: 1.5;
  background: var(--oat-2); color: var(--cocoa);
}
.session-card__status.status--open { background: #4E745D; color: #fff; }
.session-card__status.status--ended { background: var(--cocoa); color: #fff; }
.session-card__status.status--full { background: var(--oat-2); color: var(--walnut); }
.next-session .status { height: auto; padding: 0; background: none; box-shadow: none; font-size: 14px; color: var(--walnut); }
