/* ============================================================
   活動詳情 — 頁面專屬樣式
   依賴 style.css（代幣）與 club.css（俱樂部子頁共用層）
   ============================================================ */

/* ============ 1. 頭圖 ============ */
.evhero {
  position: relative;
  padding: calc(var(--pad-lg) + 56px) var(--pad) clamp(34px, 4vw, 56px);
  overflow: hidden;
  border-bottom: 1px dashed var(--line-on-dark);
}
.evhero__art {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, #141010 32%, #241A14 62%, #3A2614 100%);
  pointer-events: none;
}
.evhero__art svg {
  position: absolute;
  right: -6%; top: 50%;
  transform: translateY(-50%);
  width: min(58%, 760px);
  height: auto;
  opacity: .55;
}
.evhero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 16, 16, .94) 22%, rgba(20, 16, 16, .55) 54%, transparent 86%);
  pointer-events: none;
}
.evhero > *:not(.evhero__art) { position: relative; z-index: 2; }
@media (max-width: 820px) {
  .evhero::after { background: linear-gradient(185deg, rgba(20, 16, 16, .88) 42%, rgba(20, 16, 16, .6) 72%, transparent); }
  .evhero__art svg { right: -22%; opacity: .4; }
}

.evhero__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.evhero__title {
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 300;
  line-height: 1.14;
  max-width: 880px;
}
.evhero__meta {
  margin-top: 22px;
  display: flex; flex-wrap: wrap;
  gap: 10px 30px;
}
.evhero__meta div { display: flex; flex-direction: column; gap: 4px; }
.evhero__meta dt { font-size: 11px; opacity: .45; }
.evhero__meta dd { font-size: 14.5px; font-weight: 500; }
.evhero__meta dd small { font-weight: 300; opacity: .6; margin-left: 6px; font-size: 12.5px; }

/* ============ 2. 內文區塊 ============ */
.evbody__lead {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 300;
  line-height: 1.9;
  opacity: .78;
}
.evbody__p { margin-top: 16px; font-size: 14.5px; font-weight: 300; line-height: 1.9; opacity: .66; }
.evbody__points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px dashed var(--line-on-dark);
}
@media (max-width: 760px) { .evbody__points { grid-template-columns: 1fr; } }
.evbody__points li {
  padding: 18px 18px;
  border-right: 1px dashed var(--line-on-dark);
  display: flex; flex-direction: column; gap: 7px;
}
.evbody__points li:last-child { border-right: none; }
@media (max-width: 760px) {
  .evbody__points li { border-right: none; border-bottom: 1px dashed var(--line-on-dark); }
  .evbody__points li:last-child { border-bottom: none; }
}
.evbody__points b { color: var(--c-accent); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.evbody__points span { font-size: 13.5px; font-weight: 300; opacity: .68; line-height: 1.7; }

/* ============ 3. 議程 ============ */
.agenda { display: flex; flex-direction: column; }
.agenda__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line-on-dark);
}
.agenda__row:last-child { border-bottom: none; }
.agenda__row.is-break { opacity: .55; }
.agenda__time { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--c-accent); padding-top: 2px; }
.agenda__row.is-break .agenda__time { color: rgba(247, 247, 247, .5); }
.agenda__body { display: flex; flex-direction: column; gap: 6px; }
.agenda__title { font-size: 15px; font-weight: 500; }
.agenda__who { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; opacity: .5; }
.agenda__desc { font-size: 13.5px; font-weight: 300; opacity: .6; line-height: 1.7; }
@media (max-width: 560px) {
  .agenda__row { grid-template-columns: 1fr; gap: 6px; }
}

/* ============ 4. 嘉賓 ============ */
.guests {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 760px) { .guests { grid-template-columns: 1fr; } }
.guest {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 18px;
  border: 1px dashed var(--line-on-dark);
  background: rgba(247, 247, 247, .02);
  transition: border-color .35s;
}
.guest:hover { border-color: rgba(210, 160, 110, .45); }
.guest__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-accent);
  border: 1px solid rgba(210, 160, 110, .6);
  background: linear-gradient(150deg, rgba(210, 160, 110, .22), rgba(210, 160, 110, .05));
  box-shadow: 0 0 0 4px rgba(210, 160, 110, .06);
}
.guest__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.guest__name { font-size: 16px; font-weight: 500; }
.guest__role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--c-accent); opacity: .85; }
.guest__bio { margin-top: 3px; font-size: 13px; font-weight: 300; opacity: .62; line-height: 1.75; }

/* ============ 5. 往期回顧 ============ */
.recap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
@media (max-width: 760px) { .recap { grid-template-columns: 1fr; } }
.recap__item {
  position: relative;
  border: 1px dashed var(--line-on-dark);
  overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease-power4);
}
.recap__item:hover { border-color: rgba(210, 160, 110, .5); transform: translateY(-3px); }
.recap__shot {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  overflow: hidden;
}
.recap__shot--a { background: linear-gradient(150deg, #241A14, #3A2614); }
.recap__shot--b { background: linear-gradient(150deg, #1B1514, #2A2320); }
.recap__shot--c { background: linear-gradient(150deg, #1E1A17, #332519); }
.recap__shot svg { width: 68%; height: auto; opacity: .75; }
.recap__play {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(210, 160, 110, .92);
  color: #16120F;
  transition: transform .35s var(--ease-power4);
}
.recap__play svg { width: 24px; height: 24px; opacity: 1; }
.recap__item:hover .recap__play { transform: scale(1.12); }
.recap__kind {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 9px;
  border-radius: 3px;
  background: rgba(20, 16, 16, .82);
  color: #F0D49A;
  font-size: 9.5px;
}
.recap__cap { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 5px; }
.recap__cap b { font-size: 13.5px; font-weight: 500; }
.recap__cap span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; opacity: .45; }

/* ============ 6. 報名表單與成功狀態 ============ */
.signup__cond { display: none; }
.signup__cond.is-open { display: grid; }

.done { display: flex; flex-direction: column; gap: 20px; }
.done__top { display: flex; align-items: center; gap: 14px; }
.done__check {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-accent);
  color: #16120F;
  flex: none;
}
.done__check svg { width: 19px; height: 19px; }
.done__title { font-size: 19px; font-weight: 500; }
.done__sub { font-size: 12.5px; opacity: .5; margin-top: 2px; }
.done__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}
@media (max-width: 620px) { .done__grid { grid-template-columns: 1fr; } }
.done__rows { display: flex; flex-direction: column; }
.done__rows div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-on-dark);
  font-size: 13.5px;
}
.done__rows div:last-child { border-bottom: none; }
.done__rows dt { opacity: .5; }
.done__rows dd { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-align: right; }
.done__rows dd b { color: var(--c-accent); }

.qr {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 14px;
  border: 1px dashed var(--line-on-dark);
  background: rgba(247, 247, 247, .03);
}
.qr canvas { width: 124px; height: 124px; image-rendering: pixelated; background: #F7F7F7; border-radius: 3px; }
.qr figcaption { font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; opacity: .5; text-align: center; line-height: 1.6; }

.done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.done__note {
  padding: 13px 15px;
  border-left: 1px dashed rgba(210, 160, 110, .5);
  background: rgba(210, 160, 110, .05);
  font-size: 13px;
  font-weight: 300;
  opacity: .72;
  line-height: 1.75;
}
.linkbtn {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(247, 247, 247, .55);
  transition: color .25s;
}
.linkbtn:hover { color: var(--c-accent); }

/* ============ 7. 側欄報名卡 ============ */
.joincard {
  position: relative;
  padding: 24px 22px;
  border: 1px solid rgba(210, 160, 110, .4);
  background: linear-gradient(165deg, #16120F 45%, #2E1F12 150%);
  box-shadow: inset 0 0 44px rgba(224, 179, 132, .16);
  display: flex; flex-direction: column; gap: 16px;
}
.joincard__seats { display: flex; flex-direction: column; gap: 9px; }
.joincard__seats-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.joincard__seats-label { font-size: 12.5px; opacity: .55; }
.joincard__seats-num { font-family: var(--mono); font-size: 12.5px; opacity: .55; }
.joincard__seats-num b { font-size: 20px; font-weight: 700; color: #E6A07A; opacity: 1; }

.count { display: flex; flex-direction: column; gap: 9px; }
.count__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .5; }
.count__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.count__slot {
  padding: 9px 4px 7px;
  border: 1px dashed var(--line-on-dark);
  border-radius: 4px;
  text-align: center;
  background: rgba(247, 247, 247, .03);
}
.count__num {
  display: block;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1.2;
}
.count__unit { display: block; margin-top: 2px; font-size: 9.5px; opacity: .45; }
.count.is-over .count__num { color: rgba(247, 247, 247, .4); }

.joincard__info { display: flex; flex-direction: column; padding-top: 2px; }
.joincard__info div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-on-dark);
  font-size: 12.5px;
}
.joincard__info div:last-child { border-bottom: none; }
.joincard__info dt { opacity: .5; }
.joincard__info dd { text-align: right; font-weight: 500; }
.joincard__note { font-size: 11px; opacity: .42; text-align: center; }
.joincard__states {
  display: flex; flex-direction: column; gap: 7px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-on-dark);
  font-size: 11.5px;
  opacity: .5;
  line-height: 1.6;
}
.joincard__states b { color: var(--c-accent); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .recap__item, .recap__play, .guest { transition: none; }
}
