/* 教師 AI Agent 實戰營 — iPad／投影友好深色主題（fork 自舊站，只加唔減） */
:root {
  --bg: #14141F;
  --bg-card: #1E1E2E;
  --bg-card-2: #252538;
  --fg: #F4F4F8;
  --fg-muted: #B6B6C8;
  --fg-dim: #8C8CA0;
  --accent: #3EE8C5;
  --accent-dim: #2BB89A;
  --warn: #FFC94D;
  --warn-bg: #3A2D14;
  --danger: #FF6B6B;
  --danger-bg: #3A1E1E;
  --rule: #34344A;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --radius: 14px;
  --gap: 16px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro TC",
               "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: var(--bg-card-2); padding: 1px 6px; border-radius: 4px; font-size: .95em; }
button { font: inherit; cursor: pointer; }

main.page { max-width: 1100px; margin: 0 auto; padding: 24px 20px 80px; }

/* === nav === */
.page-nav {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; max-width: 1100px; margin: 0 auto;
  position: sticky; top: 0; z-index: 10;
  background: rgba(20,20,31,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--bg-card); color: var(--fg);
  border: 1px solid var(--rule); font-weight: 600;
}
.nav-btn:hover { background: var(--bg-card-2); text-decoration: none; }
.nav-btn.home { margin-left: auto; }
.nav-btn.next { margin-left: auto; }

/* === head === */
.site-head { padding: 32px 0 24px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
.site-eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 1px; font-size: 14px; }
.site-title { font-size: 38px; margin: 8px 0 14px; line-height: 1.15; }
.site-lead { color: var(--fg-muted); margin: 6px 0; font-size: 17px; }

.session-head { padding: 24px 0 18px; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.crumb { color: var(--fg-dim); font-size: 14px; margin-bottom: 6px; }
.session-title { font-size: 30px; margin: 4px 0 14px; line-height: 1.2; }
.session-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-card-2); color: var(--fg-muted); font-size: 14px; font-weight: 600;
}
.tag-section { background: rgba(62,232,197,.14); color: var(--accent); }
.tag-lock { background: rgba(255,201,77,.14); color: var(--warn); }
.tag-lock.is-unlocked { background: rgba(62,232,197,.14); color: var(--accent); }

.goals { margin-top: 14px; background: var(--bg-card); padding: 12px 16px; border-radius: var(--radius); }
.goals summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 4px; }
.goals ul { margin: 10px 0 4px; padding-left: 22px; color: var(--fg-muted); }

/* === card === */
.card {
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 22px 22px 20px;
  margin-bottom: 22px; box-shadow: var(--shadow);
}
.card-title { font-size: 20px; margin: 0 0 14px; }

/* === session grid === */
.session-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.session-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 18px;
  min-height: 200px; color: var(--fg); text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.session-card:hover { transform: translateY(-2px); border-color: var(--accent); text-decoration: none; }
.session-card-top { display: flex; justify-content: space-between; align-items: center; }
.session-card-num { color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: 2px; }
.session-card-title { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 4px 0; }
.session-card-goal { color: var(--fg-muted); font-size: 14px; flex: 1; }
.session-card-foot { display: flex; justify-content: space-between; align-items: center; color: var(--fg-muted); font-size: 14px; margin-top: 8px; }
.session-cta { color: var(--accent); font-weight: 700; }

/* === tools === */
.tools-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.tool-card {
  background: var(--bg-card-2); border: 1px solid var(--rule);
  border-radius: 12px; padding: 14px 16px;
}
.tool-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.tool-quota { color: var(--warn); font-size: 13px; margin-bottom: 6px; }
.tool-use { color: var(--fg-muted); font-size: 14px; margin-bottom: 10px; }
.tool-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; line-height: 1.2;
  padding: 0 16px; border-radius: 999px;
  background: var(--accent); color: #0a1a17; font-weight: 700;
}
.tool-link:hover { background: var(--accent-dim); text-decoration: none; }

/* === tools table === */
.tools-table-wrap { overflow-x: auto; }
.tools-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tools-table th, .tools-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.tools-table th { color: var(--fg-muted); font-weight: 700; white-space: nowrap; }
.tools-table td.cell-link { word-break: break-all; max-width: 320px; }
.tools-note { color: var(--fg-dim); font-size: 13px; margin-top: 10px; }

.prep-list { margin: 0 0 6px; padding-left: 22px; color: var(--fg-muted); }
.prep-list li { margin: 6px 0; }
.prep-note { color: var(--fg-dim); font-size: 13px; margin-top: 10px; }

/* === block === */
.card-block .block-explain { color: var(--fg-muted); margin: 0 0 12px; }
.block-steps { margin: 0 0 16px; padding-left: 22px; }
.block-steps li { margin: 4px 0; }
.block-steps li::marker { color: var(--accent); font-weight: 700; }

/* === prompt === */
.prompt-card {
  background: #18182A; border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 14px 16px; margin: 14px 0;
}
.prompt-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.prompt-title { font-weight: 700; flex: 1 1 auto; min-width: 0; }
.prompt-platform {
  background: rgba(62,232,197,.12); color: var(--accent);
  padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.copy-btn {
  min-height: 44px; min-width: 88px; padding: 0 18px;
  border-radius: 999px; border: none;
  background: var(--accent); color: #0a1a17;
  font-weight: 700; font-size: 15px;
  transition: background .15s ease, transform .1s ease;
}
.copy-btn:hover { background: var(--accent-dim); }
.copy-btn:active { transform: scale(.97); }
.copy-btn.is-done { background: var(--warn); color: #1a1407; }
.copy-btn-inline { min-height: 44px; min-width: 80px; padding: 0 14px; font-size: 14px; margin-top: 8px; }

.prompt-body {
  background: #0F0F1B; color: #E8E8F4;
  padding: 14px 16px; border-radius: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px; line-height: 1.6;
  overflow-x: auto; white-space: pre-wrap; word-break: break-word;
  margin: 0;
}

/* === prompt section：三段式（提示詞 / 點樣用 / 結果會係咁） === */
.prompt-section {
  margin-top: 14px;
  border-top: 1px dashed var(--rule);
  padding-top: 12px;
}
.prompt-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.prompt-section-head {
  font-weight: 700; font-size: 15px; margin: 0 0 8px;
  color: var(--accent);
  letter-spacing: .02em;
}
.prompt-section-howto .prompt-section-head { color: #ffc94d; }
.prompt-section-result .prompt-section-head { color: #8ab4ff; }
.prompt-howto-steps {
  margin: 0 0 8px; padding-left: 22px;
  color: var(--fg);
}
.prompt-howto-steps li { margin: 6px 0; line-height: 1.65; }
.prompt-howto-steps li::marker { color: #ffc94d; font-weight: 700; }
.prompt-howto-next {
  background: rgba(255,201,77,.10);
  border: 1px solid rgba(255,201,77,.30);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--fg);
  font-size: 14px;
  margin-top: 6px;
}
.prompt-result-demo {
  background: #0F0F1B;
  border-left: 3px solid #8ab4ff;
  color: var(--fg);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  line-height: 1.7;
}
.prompt-result-imgwrap {
  margin: 6px 0 10px;
  text-align: center;
}
.prompt-result-imgwrap .sample-img {
  max-height: 360px;
  border-radius: 8px;
}
.prompt-result-imgcap {
  color: var(--fg-muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.prompt-result-imgcap code {
  background: #0F0F1B;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* === HOWTO section === */
.card-howto {
  border-left: 4px solid #ffc94d;
  background: rgba(255,201,77,.04);
}
.howto-list {
  margin: 0 0 10px;
  padding-left: 22px;
  color: var(--fg);
}
.howto-list li { margin: 6px 0; line-height: 1.65; }
.howto-list li::marker { color: #ffc94d; font-weight: 700; }
.howto-note {
  color: var(--fg-muted);
  font-size: 14px;
  margin: 8px 0 0;
  padding: 8px 12px;
  background: #0F0F1B;
  border-radius: 8px;
}

/* === sample === */
.sample-card {
  background: var(--bg-card-2); border: 1px solid var(--rule);
  border-radius: 12px; padding: 14px 16px; margin: 14px 0;
}
.sample-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.sample-title { font-weight: 700; }
.sample-kind { color: var(--fg-dim); font-size: 13px; }
.sample-row { margin: 8px 0; }
.sample-label {
  display: inline-block; background: rgba(255,201,77,.14); color: var(--warn);
  padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  margin-bottom: 6px;
}
.sample-text { color: var(--fg-muted); margin-bottom: 8px; }
.sample-output { margin: 0; white-space: pre-wrap; word-break: break-word; overflow-x: auto; font-size: 15px; line-height: 1.7; }

/* === image card === */
.image-card {
  background: var(--bg-card-2); border: 1px solid var(--rule);
  border-radius: 12px; padding: 14px 16px; margin: 14px 0;
}
.image-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.image-id { color: var(--fg-dim); font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.image-grid { margin: 8px 0; }
.sample-img {
  width: 100%; max-height: 460px; object-fit: contain;
  background: #0a0a14; border-radius: 10px;
}
.sample-img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 220px; color: var(--fg-dim); gap: 8px;
  border: 2px dashed var(--rule);
}
.placeholder-text { font-size: 18px; font-weight: 700; color: var(--warn); }
.placeholder-id { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.image-purpose { color: var(--fg-muted); margin: 8px 0; font-size: 15px; }
.image-prompt-details summary { color: var(--accent); cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 4px; }
.image-prompt-wrap { position: relative; margin-top: 8px; }
.image-prompt-wrap .copy-btn-inline { position: absolute; top: 8px; right: 8px; }

/* === pitfalls === */
.card-pitfalls { border-left: 4px solid var(--warn); }
.card-pitfalls .pitfall-list { margin: 0; padding-left: 22px; color: var(--fg-muted); }
.card-pitfalls .pitfall-list li { margin: 6px 0; }
.card-pitfalls .pitfall-list li::marker { color: var(--warn); }

/* === homework === */
.card-homework { border-left: 4px solid var(--accent); }
.card-homework .hw-list { margin: 0; padding-left: 22px; color: var(--fg-muted); }
.card-homework .hw-list li { margin: 6px 0; }

/* === unlock gate === */
.unlock-gate {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.unlock-card {
  background: var(--bg-card); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 28px;
  max-width: 460px; width: 100%; text-align: center;
  box-shadow: var(--shadow);
}
.unlock-card h3 { margin: 0 0 8px; font-size: 22px; }
.unlock-card p { color: var(--fg-muted); margin: 0 0 16px; }
.unlock-form { display: flex; gap: 10px; flex-wrap: wrap; }
.unlock-input {
  flex: 1 1 200px; min-height: 48px;
  background: #0F0F1B; color: var(--fg);
  border: 1px solid var(--rule); border-radius: 999px;
  padding: 0 18px; font-size: 16px;
}
.unlock-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.unlock-btn {
  min-height: 48px; padding: 0 24px; border: none; border-radius: 999px;
  background: var(--accent); color: #0a1a17; font-weight: 700; font-size: 16px;
}
.unlock-btn:hover { background: var(--accent-dim); }
.unlock-msg { min-height: 22px; margin-top: 12px; font-size: 14px; }
.unlock-msg.is-error { color: var(--danger); }
.unlock-msg.is-ok { color: var(--accent); }

/* === footer === */
.site-foot { padding: 30px 0 10px; color: var(--fg-dim); font-size: 14px; text-align: center; border-top: 1px solid var(--rule); margin-top: 30px; }
.site-foot-note { margin-top: 6px; }

/* === responsive (iPad portrait / 手機) === */
@media (max-width: 720px) {
  body { font-size: 16px; }
  main.page { padding: 16px 14px 60px; }
  .site-title { font-size: 30px; }
  .session-title { font-size: 24px; }
  .copy-btn { min-height: 48px; }
  .prompt-head { gap: 6px; }
  .zone-title { font-size: 22px; }
  .overview-table { font-size: 13px; }
}

/* === session takeaway === */
.session-takeaway {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(62,232,197,.10);
  border: 1px solid rgba(62,232,197,.28);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 16px;
}

/* === zone: 堂上 / 課後 === */
.zone {
  margin: 28px 0 36px;
  padding: 8px 0 4px;
}
.zone-inclass {
  border-top: 2px solid rgba(62,232,197,.45);
  padding-top: 8px;
}
.zone-afterclass {
  border-top: 2px solid rgba(138,180,255,.45);
  margin-top: 40px;
  padding-top: 8px;
}
.zone-head {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
}
.zone-head-inclass {
  background: linear-gradient(135deg, rgba(62,232,197,.14), rgba(62,232,197,.04));
  border: 1px solid rgba(62,232,197,.30);
}
.zone-head-afterclass {
  background: linear-gradient(135deg, rgba(138,180,255,.14), rgba(138,180,255,.04));
  border: 1px solid rgba(138,180,255,.30);
}
.zone-title {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.25;
}
.zone-lead {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
}
.zone-empty { color: var(--fg-dim); padding: 8px 4px; }

/* === index: review / overview / truth === */
.card-review { border-left: 4px solid var(--accent); }
.review-summary { color: var(--fg-muted); margin: 0 0 12px; }
.review-keywords { display: flex; flex-wrap: wrap; gap: 8px; }

.overview-table-wrap { overflow-x: auto; margin-bottom: 4px; }
.overview-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
}
.overview-table th, .overview-table td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--rule); vertical-align: top;
}
.overview-table th {
  color: var(--fg-muted); font-weight: 700; white-space: nowrap;
}
.overview-table td a { color: var(--fg); font-weight: 600; }
.overview-table td a:hover { color: var(--accent); }

.card-truth { border-left: 4px solid #8ab4ff; }
.truth-list {
  margin: 0 0 8px; padding-left: 22px; color: var(--fg-muted);
}
.truth-list li { margin: 10px 0; line-height: 1.65; }
.truth-list li::marker { color: #8ab4ff; font-weight: 700; }

.page-nav-bottom {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
  border-bottom: none;
  position: static;
  background: transparent;
  backdrop-filter: none;
  max-width: none;
  padding: 20px 0 0;
}
.nav-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

/* === index: slides 導論卡 === */
.card-slides-intro {
  border-left: 4px solid var(--accent);
  display: block;
  color: var(--fg);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
a.card-slides-intro:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  text-decoration: none;
}
.slides-intro-lead {
  color: var(--fg-muted);
  margin: 0 0 12px;
  font-size: 16px;
}
.slides-intro-cta {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}

/* === slides.html：投影友好全屏 deck === */
body.slides-page {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}
body.slides-page main.page {
  max-width: none;
  margin: 0;
  padding: 0;
  height: 100vh;
  height: 100dvh;
}
.slides-deck {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.slides-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 20px;
  pointer-events: none;
}
.slides-topbar a {
  pointer-events: auto;
}
.slides-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--fg);
  border: 1px solid var(--rule);
  font-weight: 600;
  font-size: 15px;
}
.slides-back:hover {
  background: var(--bg-card-2);
  text-decoration: none;
}
.slides-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 80px 88px;
  min-height: 0;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.slide {
  display: none;
  width: 100%;
  max-width: 1100px;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}
.slide.is-active {
  display: flex;
}
.slide-title {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.slide-body {
  color: var(--fg-muted);
  font-size: 28px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.slide-body p {
  margin: 0;
}
.slide-body b, .slide-body strong {
  color: var(--fg);
  font-weight: 700;
}
.slide-body .slide-quote {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1.4;
}
.slides-hit {
  position: absolute;
  top: 0; bottom: 0;
  width: 42%;
  z-index: 5;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}
.slides-hit-prev { left: 0; }
.slides-hit-next { right: 0; }
.slides-dots {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 15;
  flex-wrap: wrap;
  padding: 0 20px;
}
.slides-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--fg-dim);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.slides-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}
.slides-dot:hover {
  border-color: var(--accent);
}
.slides-counter {
  position: absolute;
  bottom: 28px;
  right: 24px;
  z-index: 15;
  color: var(--fg-dim);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .slides-stage { padding: 64px 36px 80px; }
  .slide-title { font-size: 36px; }
  .slide-body { font-size: 22px; gap: 12px; }
}
@media (max-width: 720px) {
  .slides-stage { padding: 60px 22px 76px; }
  .slide-title { font-size: 28px; }
  .slide-body { font-size: 18px; }
  .slides-dots { bottom: 20px; gap: 8px; }
  .slides-dot { width: 10px; height: 10px; }
  .slides-counter { bottom: 20px; right: 14px; font-size: 12px; }
}

/* === slides V2：圖文視覺主體（只加唔減） === */
.slide {
  gap: 18px;
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  overflow: hidden;
}
.slide-body {
  font-size: 24px;
  gap: 10px;
  flex-shrink: 0;
}
.slide-visual {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: min(960px, 100%);
  max-height: min(52vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  pointer-events: none; /* 唔擋左右半屏點擊 */
}
.slide-visual > * {
  max-width: 100%;
  max-height: 100%;
}

/* mock phone / messenger shell */
.sv-phone {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  max-height: 100%;
}
.sv-phone-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-card-2);
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}
.sv-phone-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fg-dim);
}
.sv-phone-dot:first-child { background: var(--danger); }
.sv-phone-dot:nth-child(2) { background: var(--warn); }
.sv-phone-dot:nth-child(3) { background: var(--accent); }
.sv-phone-title {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
}
.sv-phone-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  min-height: 0;
}

/* avatars + bubbles */
.sv-avatar {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sv-avatar-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card-2);
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}
.sv-avatar-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-dim);
}
.sv-bubble {
  max-width: 92%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sv-bubble-who {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-dim);
  padding: 0 4px;
}
.sv-bubble-text {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-line;
  word-break: break-word;
}
.sv-bubble-out {
  align-self: flex-end;
  align-items: flex-end;
}
.sv-bubble-out .sv-bubble-text {
  background: rgba(62,232,197,.18);
  color: var(--fg);
  border-bottom-right-radius: 4px;
}
.sv-bubble-in {
  align-self: flex-start;
  align-items: flex-start;
}
.sv-bubble-in .sv-bubble-text {
  background: var(--bg-card-2);
  color: var(--fg-muted);
  border: 1px solid var(--rule);
  border-bottom-left-radius: 4px;
}
.sv-status {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--warn);
  padding: 6px 8px;
  background: var(--warn-bg);
  border-radius: 999px;
  margin-top: 4px;
}

/* generic split / arrow */
.sv-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  max-height: 100%;
}
.sv-col { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
.sv-arrow {
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.sv-col-bots { max-width: 280px; }
.sv-bots-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
  width: 100%;
}
.sv-bots-head {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--accent);
}
.sv-bot-row {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-bottom: 12px;
}
.sv-bots-note {
  text-align: center;
  font-size: 12px;
  color: var(--fg-dim);
  font-weight: 600;
}

/* chat-loop mini cycle */
.sv-split-chat-loop { gap: 24px; }
.sv-mini-cycle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 14px;
  max-width: 200px;
}
.sv-mini-node {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-card-2);
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--fg);
}
.sv-mini-arr { color: var(--accent); font-weight: 800; font-size: 16px; }

/* agent loop SVG */
.sv-agent-loop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 560px;
}
.sv-loop-svg {
  width: 100%;
  max-height: 200px;
  height: auto;
}
.sv-loop-cite { text-align: center; }
.sv-loop-cite .slide-quote {
  font-size: 15px;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.35;
}
.sv-loop-src {
  margin-top: 4px;
  font-size: 12px;
  color: var(--fg-dim);
  font-weight: 600;
}

/* three icon cards */
.sv-three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 720px;
}
.sv-icon-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.sv-icon-big { font-size: 36px; line-height: 1; margin-bottom: 8px; }
.sv-icon-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 6px;
}
.sv-icon-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* compare panels (same-prompt / role-shift) */
.sv-split-compare {
  align-items: stretch;
  gap: 14px;
  width: 100%;
  max-width: 820px;
}
.sv-panel {
  flex: 1 1 0;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
}
.sv-panel-agent { border-color: rgba(62,232,197,.35); }
.sv-panel-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sv-panel-chat .sv-panel-label { color: var(--warn); }
.sv-text-wall {
  background: var(--bg-card-2);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--fg-muted);
  max-height: 72px;
  overflow: hidden;
}
.sv-wall-line { margin-bottom: 2px; }
.sv-wall-dim { opacity: .55; }
.sv-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sv-check-list li {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 6px 10px;
  background: var(--bg-card-2);
  border-radius: 8px;
}
.sv-check-list li.is-done {
  color: var(--accent);
}
.sv-check-list li.is-done::before {
  content: "✓ ";
}
.sv-file-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 10px 12px;
  background: rgba(62,232,197,.1);
  border: 1px solid rgba(62,232,197,.3);
  border-radius: 12px;
}
.sv-file-icon { font-size: 28px; line-height: 1; }
.sv-file-name { font-size: 14px; font-weight: 800; color: var(--fg); }
.sv-file-meta { font-size: 12px; color: var(--fg-dim); }

/* create bot */
.sv-create-wrap { width: 100%; display: flex; justify-content: center; }
.sv-create-wrap .sv-phone { max-width: 400px; }
.sv-create-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sv-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 6px 0 10px;
}
.sv-input-text {
  flex: 1;
  font-size: 13px;
  color: var(--fg);
  line-height: 1.35;
}
.sv-input-send {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.sv-bot-card-pop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(62,232,197,.1);
  border: 1px solid rgba(62,232,197,.35);
  border-radius: 14px;
}
.sv-bot-card-name { font-size: 16px; font-weight: 800; color: var(--fg); }
.sv-bot-card-role { font-size: 12px; color: var(--fg-muted); }
.sv-bot-card-badge {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* role shift */
.sv-command-you, .sv-command-bot {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.sv-command-arrows { display: flex; flex-direction: column; gap: 4px; }
.sv-cmd-line {
  font-size: 13px;
  font-weight: 600;
  color: var(--warn);
  background: var(--warn-bg);
  padding: 6px 10px;
  border-radius: 8px;
  text-align: center;
}
.sv-flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.sv-flow-step {
  background: var(--bg-card-2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  min-width: 72px;
}
.sv-flow-accept {
  border-color: var(--danger);
  background: var(--danger-bg);
  color: var(--fg);
}
.sv-flow-arr { color: var(--accent); font-weight: 800; font-size: 18px; }
.sv-accept-note {
  text-align: center;
  font-size: 12px;
  color: var(--fg-dim);
  font-weight: 600;
}

/* time cost bars */
.sv-timelines {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sv-timeline { display: flex; flex-direction: column; gap: 6px; }
.sv-tl-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
}
.sv-tl-track {
  display: flex;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card-2);
  border: 1px solid var(--rule);
}
.sv-tl-fill {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 4px;
}
.sv-tl-you { background: rgba(255,201,77,.35); color: var(--warn); }
.sv-tl-bot { background: rgba(62,232,197,.28); color: var(--accent); }
.sv-tl-legend {
  font-size: 12px;
  color: var(--fg-dim);
  font-weight: 600;
  text-align: center;
}
.sv-tl-swatch {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  vertical-align: -2px;
  margin-right: 4px;
}

/* always-on */
.sv-always-on {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}
.sv-cloud-card, .sv-sleep-card, .sv-notif-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 140px;
}
.sv-cloud-icon, .sv-sleep-icon { font-size: 36px; line-height: 1; }
.sv-cloud-title, .sv-sleep-you { font-weight: 800; font-size: 15px; margin-top: 6px; }
.sv-cloud-bot { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.sv-cloud-meta { font-size: 12px; color: var(--accent); font-weight: 700; margin-top: 4px; }
.sv-notif-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  border-color: rgba(62,232,197,.35);
  max-width: 260px;
}
.sv-notif-icon { font-size: 28px; }
.sv-notif-title { font-weight: 800; font-size: 14px; color: var(--accent); }
.sv-notif-msg { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }
.sv-notif-time { font-size: 11px; color: var(--fg-dim); margin-top: 4px; }

/* routine */
.sv-routine-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
}
.sv-routine-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  min-width: 200px;
}
.sv-routine-head {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.sv-routine-when {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 6px;
}
.sv-routine-action {
  font-size: 13px;
  color: var(--fg-muted);
}
.sv-routine-out {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 300px;
}

/* group chat — 重點頁 */
.sv-group-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  max-height: 100%;
}
.sv-group-wrap .sv-phone {
  max-width: 420px;
  width: 100%;
}
.sv-group-wrap .sv-phone-body {
  gap: 6px;
  padding: 10px;
}
.sv-group-wrap .sv-bubble-text { font-size: 12.5px; padding: 8px 12px; }
.sv-group-wrap .sv-bubble-who { font-size: 10px; }
.sv-group-head {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.sv-group-head .sv-avatar-circle {
  width: 28px; height: 28px;
  font-size: 14px;
}
.sv-group-title {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-dim);
}

/* one in four out */
.sv-one-four {
  max-width: 780px;
  width: 100%;
}
.sv-one-in { max-width: 240px; }
.sv-four-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}
.sv-out-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
}
.sv-out-icon { font-size: 28px; line-height: 1; }
.sv-out-label { font-size: 14px; font-weight: 800; color: var(--fg); }

/* IBM honest page */
.sv-ibm-card {
  background: #0a0a0f;
  border: 2px solid var(--fg-dim);
  border-radius: 4px;
  padding: 28px 32px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}
.sv-ibm-year {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  font-weight: 700;
  margin-bottom: 16px;
}
.sv-ibm-quote {
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.35;
  letter-spacing: 0.04em;
}
.sv-ibm-zh {
  margin-top: 10px;
  font-size: 14px;
  color: var(--fg-muted);
  font-family: inherit;
}
.sv-ibm-rule {
  height: 1px;
  background: var(--rule);
  margin: 18px auto;
  max-width: 200px;
}
.sv-ibm-note {
  font-size: 14px;
  color: var(--warn);
  font-weight: 700;
  line-height: 1.5;
  font-family: inherit;
}

/* roadmap */
.sv-roadmap {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.sv-road-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}
.sv-road-stop {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  min-width: 110px;
  flex: 1 1 100px;
  box-shadow: var(--shadow);
}
.sv-road-icon { font-size: 28px; line-height: 1; margin-bottom: 6px; }
.sv-road-lab {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
}
.sv-road-desc {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
  font-weight: 600;
}
.sv-road-arr {
  display: flex;
  align-items: center;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}
.sv-road-next {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  background: rgba(62,232,197,.12);
  border: 1px solid rgba(62,232,197,.3);
  border-radius: 999px;
  padding: 10px 20px;
}

/* V2 responsive：iPad / 窄投影 */
@media (max-width: 900px) {
  .slide-body { font-size: 18px; }
  .slide-visual { max-height: min(48vh, 400px); }
  .sv-three-cards { gap: 10px; }
  .sv-icon-title { font-size: 15px; }
  .sv-icon-desc { font-size: 11px; }
  .sv-ibm-quote { font-size: 18px; }
  .sv-split-compare { flex-direction: column; }
  .sv-panel { max-height: none; }
}
@media (max-width: 720px) {
  .slide-title { font-size: 24px; }
  .slide-body { font-size: 15px; }
  .slide-visual { max-height: min(50vh, 360px); }
  .sv-arrow { font-size: 20px; }
  .sv-three-cards { grid-template-columns: 1fr; max-height: 100%; overflow: auto; }
  .sv-icon-card { padding: 10px 12px; display: flex; align-items: center; gap: 10px; text-align: left; }
  .sv-icon-big { margin: 0; font-size: 28px; }
  .sv-bot-row .sv-avatar-circle { width: 36px; height: 36px; font-size: 18px; }
  .sv-phone { max-width: 100%; }
  .sv-bubble-text { font-size: 12px; }
  .sv-road-stop { min-width: 80px; padding: 10px; }
  .sv-road-arr { display: none; }
  .sv-always-on { gap: 8px; }
  .sv-cloud-card, .sv-sleep-card { min-width: 110px; padding: 12px; }
  .sv-ibm-card { padding: 18px 16px; }
  .sv-ibm-quote { font-size: 15px; }
  .sv-split-chat-loop { flex-direction: column; }
  .sv-one-four { flex-direction: column; }
  .sv-four-out { width: 100%; }
}

/* === slides V3：90 分鐘成堂 + 實操頁 + agenda / desc / plugin（只加唔減） === */

/* L2 頁頂 slides 細 link */
.session-slides-link {
  margin: 8px 0 0;
  font-size: 14px;
}
.session-slides-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.session-slides-link a:hover {
  text-decoration: underline;
}

/* 邊沿轉頁：中間可撳實操大掣 */
body.slides-page .slides-hit {
  width: min(110px, 12%);
}

/* 實操 visual 要接收 pointer（父級預設 none） */
.slide-visual[data-visual^="practice"] {
  pointer-events: auto;
  max-height: min(56vh, 520px);
}
.sv-practice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  padding: 20px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(62,232,197,.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.sv-practice-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.sv-practice-badge {
  font-size: 16px;
  font-weight: 800;
  color: var(--bg);
  background: var(--accent);
  border-radius: 999px;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}
.sv-practice-time {
  font-size: 15px;
  font-weight: 700;
  color: var(--warn);
  background: var(--warn-bg);
  border-radius: 999px;
  padding: 8px 14px;
}
.sv-practice-task {
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.35;
}
.sv-practice-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 28px;
  font-size: 22px;
  font-weight: 800;
  color: var(--bg);
  background: var(--accent);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(62,232,197,.25);
  transition: transform .12s ease, filter .12s ease;
  pointer-events: auto;
  position: relative;
  z-index: 20;
}
.sv-practice-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.sv-practice-hint {
  font-size: 13px;
  color: var(--fg-dim);
  font-weight: 600;
  line-height: 1.4;
}

/* agenda 90 分鐘 timeline */
.sv-agenda {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sv-ag-bar {
  display: flex;
  width: 100%;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}
.sv-ag-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  border-right: 1px solid rgba(0,0,0,.15);
  padding: 4px 2px;
}
.sv-ag-seg:last-child { border-right: none; }
.sv-ag-talk { background: rgba(62,232,197,.22); color: var(--accent); }
.sv-ag-practice { background: rgba(255,176,32,.22); color: var(--warn); }
.sv-ag-close { background: rgba(160,160,200,.18); color: var(--fg-muted); }
.sv-ag-mins {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}
.sv-ag-short {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.sv-ag-labs {
  display: flex;
  width: 100%;
  gap: 0;
}
.sv-ag-lab {
  min-width: 0;
  text-align: center;
  padding: 0 2px;
}
.sv-ag-lab-tip {
  font-size: 11px;
  color: var(--fg-dim);
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sv-ag-legend {
  text-align: center;
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 600;
  margin-top: 4px;
}
.sv-ag-swatch {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  vertical-align: -1px;
  margin-right: 2px;
}
.sv-ag-swatch.sv-ag-talk { background: rgba(62,232,197,.5); }
.sv-ag-swatch.sv-ag-practice { background: rgba(255,176,32,.55); }
.sv-ag-swatch.sv-ag-close { background: rgba(160,160,200,.45); }

/* description 四要素 */
.sv-desc-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 820px;
}
.sv-desc-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.sv-desc-icon { font-size: 28px; line-height: 1; margin-bottom: 8px; }
.sv-desc-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 4px;
}
.sv-desc-ex {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.35;
}
.sv-desc-sample {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  padding: 10px 12px;
  background: rgba(62,232,197,.1);
  border: 1px solid rgba(62,232,197,.28);
  border-radius: 12px;
}

/* plugin 共享 */
.sv-plugin-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 860px;
}
.sv-plugin-rack {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  min-width: 200px;
  max-width: 280px;
}
.sv-plugin-rack-head {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}
.sv-plugin-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.sv-plugin-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-card-2);
  border: 1px solid var(--rule);
  color: var(--fg-muted);
}
.sv-plugin-rack-note {
  font-size: 11px;
  color: var(--fg-dim);
  font-weight: 600;
}
.sv-plugin-bots {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 360px;
}
.sv-plugin-bot {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(62,232,197,.3);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.sv-plugin-bot-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
}
.sv-plugin-bot-desc {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.35;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .sv-desc-four { grid-template-columns: repeat(2, 1fr); }
  .sv-practice-task { font-size: 18px; }
  .sv-practice-cta { font-size: 18px; padding: 14px 22px; }
  .sv-ag-short { font-size: 10px; }
  .sv-ag-lab-tip { font-size: 10px; }
}
@media (max-width: 720px) {
  .sv-desc-four { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sv-plugin-share { flex-direction: column; }
  .sv-plugin-rack { max-width: 100%; }
  .sv-plugin-bots { max-width: 100%; }
  .sv-ag-bar { height: 52px; }
  .sv-ag-lab-tip { display: none; }
  .sv-practice-task { font-size: 16px; }
  .sv-practice-cta { font-size: 16px; min-width: 0; width: 100%; }
}

/* === slides V4：能力預告五格卡 + Hermes teaser（只加唔減） === */

/* p19：Agent 仲可以幫你做啲乜 */
.sv-more-can-do {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 920px;
}
.sv-cap-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 10px 14px;
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 0;
}
.sv-cap-icon {
  font-size: 28px;
  line-height: 1;
}
.sv-cap-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.3;
}
.sv-cap-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--bg);
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
  letter-spacing: 0.02em;
}
.sv-cap-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
  padding: 10px 12px;
  background: rgba(62,232,197,.08);
  border: 1px solid rgba(62,232,197,.22);
  border-radius: 12px;
}

/* p22：進階預告 Hermes Agent */
.sv-hermes-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 720px;
}
.sv-hermes-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  width: 100%;
}
.sv-hermes-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
  text-align: center;
}
.sv-hermes-local {
  border-color: rgba(62,232,197,.4);
}
.sv-hermes-cloud {
  border-color: rgba(160,160,200,.35);
}
.sv-hermes-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}
.sv-hermes-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 6px;
}
.sv-hermes-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  line-height: 1.35;
}
.sv-hermes-vs {
  align-self: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--fg-dim);
  padding: 0 4px;
}
.sv-hermes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.sv-hermes-chip {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-card-2);
  border: 1px solid var(--rule);
  color: var(--fg-muted);
}
.sv-hermes-cta {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  padding: 12px 18px;
  background: rgba(62,232,197,.12);
  border: 1px solid rgba(62,232,197,.35);
  border-radius: 14px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .sv-more-can-do { grid-template-columns: repeat(3, 1fr); }
  .sv-cap-title { font-size: 13px; }
  .sv-hermes-cta { font-size: 18px; }
}
@media (max-width: 720px) {
  .sv-more-can-do { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sv-hermes-row { flex-direction: column; align-items: center; }
  .sv-hermes-card { max-width: 100%; width: 100%; }
  .sv-hermes-vs { padding: 4px 0; }
  .sv-hermes-cta { font-size: 16px; width: 100%; }
}
