/* ========================================================================
   STARTEK 明星相談室 · Deck Styles v1.0
   每集訪談 deck 共用樣式。卡片正方形（aspect-ratio: 1/1），可獨立成 IG 圖卡。
   依 brand-tokens.css 提供的變數運作。
   ======================================================================== */

body {
  padding: 40px 20px;
}

.deck {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* ───── 01 封面 ───── */
.card.cover {
  background: var(--talkroom-cover-bg);
  color: #fff;
}
.cover .show-name {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 32px;
}
.cover .episode-title {
  font-family: var(--font-tc);
  font-size: 64px;
  font-weight: 200;
  line-height: 1.3;
  letter-spacing: 4px;
}
.cover .episode-title strong {
  font-weight: 700;
  letter-spacing: 2px;
}
.cover .episode-sub {
  font-size: 15px;
  font-weight: 300;
  margin-top: 32px;
  opacity: 0.85;
  line-height: 2;
  letter-spacing: 1px;
}
.cover .meta-row {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 2px;
}
.cover .startek-mark {
  position: absolute;
  top: 44px;
  right: 56px;
  height: 28px;
}
.cover .startek-mark img {
  height: 100%;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* ───── 02 給來賓團隊的信 / 對談背景 ───── */
.card.intent { background: #fff; }
.intent .small-tag {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--startek-blue);
  letter-spacing: 2.5px;
  font-weight: 600;
  margin-bottom: 22px;
}
.intent h1 {
  font-family: var(--font-tc);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1.5;
  margin-bottom: 28px;
  letter-spacing: 1.5px;
}
.intent p {
  font-size: 14px;
  color: var(--text-grey);
  line-height: 2;
  letter-spacing: 0.3px;
  font-weight: 400;
}
.intent p + p { margin-top: 10px; }
.intent .signature {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-grey-light);
  letter-spacing: 2px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--warm-grey);
}

/* ───── 03 概覽 ───── */
.card.overview { background: #fff; }
.overview .small-tag {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--startek-blue);
  letter-spacing: 2.5px;
  font-weight: 600;
  margin-bottom: 18px;
}
.overview h1 {
  font-family: var(--font-tc);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 36px;
  line-height: 1.5;
  letter-spacing: 1.5px;
}
.overview h1 .light {
  font-weight: 300;
  color: var(--text-grey);
  letter-spacing: 1px;
}
.overview .toc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.overview .toc-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--warm-grey);
}
.overview .toc-row:last-child { border-bottom: none; }
.overview .toc-part {
  color: var(--startek-blue);
  font-weight: 700;
  font-family: var(--font-en);
  min-width: 64px;
  font-size: 11px;
  letter-spacing: 2px;
}
.overview .toc-name {
  flex: 1;
  color: var(--text-black);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.overview .toc-q {
  color: var(--text-grey-light);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-en);
  letter-spacing: 1px;
}

/* ───── 題目卡：金句版 ───── */
.card.q-card { background: #fff; }
.q-card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.q-card .part-tag {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--startek-blue);
  background: var(--startek-blue-pale);
  padding: 7px 14px;
  border-radius: 100px;
}
.q-card .q-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-grey-light);
  letter-spacing: 2px;
}
.q-card .keyword {
  font-family: var(--font-tc);
  font-size: 96px;
  font-weight: 700;
  color: var(--startek-blue);
  line-height: 1.05;
  letter-spacing: 2px;
  margin-top: 12px;
}
.q-card .keyword.tight { letter-spacing: 1px; }
.q-card .keyword.solo {
  font-size: 140px;
  letter-spacing: 0;
  line-height: 1;
}
.q-card .keyword.smaller {
  font-size: 72px;
  letter-spacing: 2px;
}
.q-card .question {
  font-size: 16px;
  line-height: 2;
  color: var(--text-black);
  margin-top: 28px;
  letter-spacing: 0.3px;
  font-weight: 400;
}
.q-card .question .highlight {
  color: var(--startek-blue);
  font-weight: 700;
}
.q-card .quote {
  font-family: var(--font-tc);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-black);
  line-height: 1.9;
  border-left: 3px solid var(--startek-blue);
  padding-left: 18px;
  margin-top: 24px;
  letter-spacing: 0.5px;
}
.q-card .footer {
  border-top: 1px solid var(--warm-grey);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-grey-light);
  font-weight: 500;
}

/* ───── Briefing 點擊展開 ───── */
details.briefing { margin-top: 18px; }
details.briefing summary {
  cursor: pointer;
  color: var(--startek-blue);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 600;
  padding: 4px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
details.briefing summary::-webkit-details-marker { display: none; }
details.briefing summary::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--startek-blue);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}
details.briefing[open] summary::before { content: '−'; }
details.briefing .briefing-body {
  margin-top: 12px;
  padding: 16px 18px;
  background: var(--startek-blue-pale);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.95;
  color: var(--text-black);
  letter-spacing: 0.3px;
  font-weight: 400;
}
details.briefing .briefing-body strong {
  color: var(--startek-blue);
  font-weight: 600;
}
details.briefing .briefing-body p + p { margin-top: 8px; }

/* ───── 內容卡：書目時間軸 ───── */
.card.book-line { background: #fff; }
.book-line .small-tag {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--startek-blue);
  letter-spacing: 2.5px;
  font-weight: 600;
  margin-bottom: 16px;
}
.book-line h1 {
  font-family: var(--font-tc);
  font-size: 88px;
  font-weight: 700;
  color: var(--startek-blue);
  line-height: 1.1;
  letter-spacing: 6px;
  margin-bottom: 16px;
}
.book-line .subtitle {
  font-size: 14px;
  color: var(--text-grey);
  margin-bottom: 32px;
  letter-spacing: 1px;
  line-height: 1.8;
}
.book-line .timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.book-line .book-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--warm-grey);
}
.book-line .book-row:last-child { border-bottom: none; }
.book-line .year {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--startek-blue);
  min-width: 50px;
  letter-spacing: 1px;
}
.book-line .book-title {
  font-family: var(--font-tc);
  font-size: 14px;
  color: var(--text-black);
  line-height: 1.6;
  flex: 1;
}
.book-line .closing {
  font-family: var(--font-tc);
  font-size: 15px;
  color: var(--text-grey);
  margin-top: 28px;
  line-height: 1.9;
  text-align: center;
  letter-spacing: 1px;
}

/* ───── 內容卡：主視覺數字概念（582 等） ───── */
.card.concept-num {
  background: var(--startek-blue);
  color: #fff;
}
.concept-num .small-tag {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 16px;
}
.concept-num .big-num {
  font-family: var(--font-en);
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.concept-num .subtitle {
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 4px;
  margin-bottom: 36px;
}
.concept-num .breakdown {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.concept-num .row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.concept-num .row:last-child { border-bottom: none; }
.concept-num .digit {
  font-family: var(--font-tc);
  font-size: 38px;
  font-weight: 500;
  min-width: 40px;
  line-height: 1;
}
.concept-num .desc-block .desc-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.concept-num .desc-block .desc-text {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.7;
}
.concept-num .closing {
  font-family: var(--font-tc);
  font-size: 14px;
  text-align: center;
  margin-top: 24px;
  letter-spacing: 1px;
  opacity: 0.95;
}

/* 兼容舊 class 名 .five82 → 等同 .concept-num，未來移除 */
.card.five82 { background: var(--startek-blue); color: #fff; }
.five82 .small-tag,
.five82 .big-num,
.five82 .subtitle,
.five82 .breakdown,
.five82 .row,
.five82 .digit,
.five82 .desc-block .desc-title,
.five82 .desc-block .desc-text,
.five82 .closing {
  /* fallback empty — actual rules inherited via .concept-num utility classes */
}

/* ───── CTA 卡 ───── */
.card.cta-card {
  background: var(--startek-blue);
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.cta-card .small-tag {
  font-family: var(--font-en);
  font-size: 11px;
  color: #fff;
  opacity: 0.85;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 28px;
}
.cta-card h1 {
  font-family: var(--font-tc);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2px;
  margin-bottom: 40px;
  color: #fff;
}
.cta-card .channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
}
.cta-card .channel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-align: left;
}
.cta-card .channel-icon {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--startek-blue);
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 1px;
}
.cta-card .channel-text {
  font-size: 13px;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.3px;
  font-weight: 400;
}
.cta-card .channel-text strong {
  color: #fff;
  font-weight: 700;
}

/* ───── 結尾卡 ───── */
.card.outro {
  background: var(--startek-blue);
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.outro .outro-mark {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.outro .outro-logo {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}
.outro .outro-slogan {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 3px;
  color: #fff;
  opacity: 0.85;
  font-weight: 500;
}
.outro h1 {
  font-family: var(--font-tc);
  font-size: 38px;
  font-weight: 200;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 40px;
  letter-spacing: 2px;
}
.outro h1 .brand {
  font-weight: 700;
  letter-spacing: 1px;
}
.outro h1 em {
  color: #fff;
  font-style: normal;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}
.outro .credit {
  font-size: 12px;
  color: #fff;
  opacity: 0.8;
  letter-spacing: 1.5px;
  line-height: 2;
  font-weight: 400;
}

/* ───── RWD ───── */
@media (max-width: 540px) {
  body { padding: 16px 12px; }
  .deck { gap: 16px; }
  .card { padding: 32px 28px; border-radius: var(--radius-card-mobile); }
  .cover .episode-title { font-size: 38px; letter-spacing: 2px; }
  .cover .episode-sub { font-size: 13px; }
  .q-card .keyword { font-size: 56px; letter-spacing: 1px; }
  .q-card .keyword.smaller { font-size: 42px; letter-spacing: 1px; }
  .q-card .keyword.solo { font-size: 88px; }
  .q-card .question { font-size: 14px; line-height: 1.9; }
  .q-card .quote { font-size: 14px; }
  .overview h1, .intent h1 { font-size: 24px; }
  .intent p { font-size: 13px; }
  .book-line h1 { font-size: 56px; }
  .book-line .book-title { font-size: 13px; }
  .concept-num .big-num { font-size: 96px; }
  .concept-num .digit { font-size: 32px; min-width: 36px; }
  .concept-num .desc-block .desc-title { font-size: 13px; }
  .concept-num .desc-block .desc-text { font-size: 12px; }
  .cta-card h1 { font-size: 28px; }
  .cta-card .channel-text { font-size: 12px; }
  .outro h1 { font-size: 24px; }
  .cover .startek-mark { top: 28px; right: 32px; font-size: 12px; }
}

/* ───── Print：每張一頁 ───── */
@media print {
  body { background: #fff; padding: 0; }
  .deck { gap: 0; max-width: 100%; }
  .card { page-break-after: always; box-shadow: none; border-radius: 0; }
}
