/* ═════════════════════════ ارائه: احاله درجه دوم — استایل اصلی ═════════════════════════ */
:root {
  --bg-dark: #02060f;
  --bg-navy: #0a192f;
  --card-bg: rgba(13, 25, 48, 0.85);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --accent: #00cdd8;
  --accent-deep: #0090ad;
  --accent-soft: rgba(0, 205, 216, 0.12);
  --gold: #e09600;
  --gold-bright: #ffd25a;
  --danger: #e53935;
  --success: #00d66c;
  --line: rgba(0, 205, 216, 0.25);
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  margin: 0; padding: 0;
  line-height: 1.9;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

#full-capture-wrapper { width: 100%; min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }

/* ─────────── لایه‌های پس‌زمینه ─────────── */
.bg-base-layer { position: fixed; inset: 0; z-index: -4; background: radial-gradient(circle at 50% 42%, #0a192f 0%, #02060f 78%); }
.bg-rhombus-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image: linear-gradient(45deg, rgba(0, 144, 173, 0.11) 1px, transparent 1px), linear-gradient(-45deg, rgba(0, 144, 173, 0.11) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%);
}
#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.bg-glow-orbs i { position: fixed; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: -2; opacity: .4; }
.bg-glow-orbs i:nth-child(1) { width: 420px; height: 420px; background: rgba(0, 144, 173, 0.22); top: -120px; right: -100px; animation: orbFloat 16s ease-in-out infinite; }
.bg-glow-orbs i:nth-child(2) { width: 340px; height: 340px; background: rgba(224, 150, 0, 0.10); bottom: 10%; left: -120px; animation: orbFloat 20s ease-in-out infinite reverse; }
.bg-glow-orbs i:nth-child(3) { width: 300px; height: 300px; background: rgba(56, 189, 248, 0.12); top: 45%; right: -80px; animation: orbFloat 24s ease-in-out infinite; }
@keyframes orbFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-45px, 40px) scale(1.12); } }

/* ─────────── نوار پیشرفت ─────────── */
.progress-bar { position: fixed; top: 0; right: 0; left: 0; height: 3px; background: rgba(255,255,255,0.05); z-index: 9999; }
.progress-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold)); box-shadow: 0 0 10px rgba(0, 205, 216, 0.8); transition: width .15s linear; }

/* ─────────── چیدمان ─────────── */
.container { width: 96%; max-width: 1600px; margin: 0 auto; padding: 1.2rem 1rem; position: relative; z-index: 1; flex: 1; }
.container main, main.container { padding-bottom: 2rem; }

/* ─────────── هدر ─────────── */
.presentation-info {
  width: 100%;
  background: linear-gradient(135deg, rgba(13, 25, 48, 0.92) 0%, rgba(0, 144, 173, 0.08) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem 1.4rem;
  margin: 1.2rem auto 1.5rem auto;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45), inset 0 0 25px rgba(0, 205, 216, 0.03);
  display: grid; grid-template-columns: 1.35fr 0.85fr 1.4fr; align-items: center; gap: 1rem;
  position: relative; overflow: hidden;
}
.presentation-info::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .75; }
.header-brand { display: flex; align-items: center; gap: .85rem; border-left: 1px dashed rgba(0, 205, 216, 0.22); padding-left: .85rem; min-width: 0; }
.brand-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(0, 205, 216, 0.08); border: 1px solid rgba(0, 205, 216, 0.3); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--accent); box-shadow: 0 0 18px rgba(0, 205, 216, 0.15); flex-shrink: 0; animation: brandPulse 3.2s ease-in-out infinite; }
@keyframes brandPulse { 0%, 100% { box-shadow: 0 0 14px rgba(0, 205, 216, 0.12); } 50% { box-shadow: 0 0 26px rgba(0, 205, 216, 0.38); } }
.brand-text { min-width: 0; flex: 1; }
.brand-text h3 { color: var(--accent); margin: 0 0 .2rem 0; font-size: 1.02rem; font-weight: 800; text-shadow: 0 0 10px rgba(0, 205, 216, 0.25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text p { margin: 0; color: var(--text-muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text .highlight { color: var(--text-main); font-weight: bold; font-size: .94rem; border-bottom: 1px dashed var(--accent); padding-bottom: 2px; }
.header-meta { display: flex; justify-content: center; min-width: 0; }
.meta-box { width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: .7rem .9rem; display: flex; align-items: center; gap: .75rem; transition: all .3s ease; }
.meta-box:hover { border-color: rgba(0, 205, 216, 0.35); background: rgba(0, 205, 216, 0.05); }
.meta-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(0, 205, 216, 0.1); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.meta-content { display: flex; flex-direction: column; text-align: right; min-width: 0; }
.meta-label { font-size: .72rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.meta-value { font-size: .84rem; color: var(--text-main); font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-dot { width: 8px; height: 8px; background-color: var(--success); border-radius: 50%; box-shadow: 0 0 8px var(--success); display: inline-block; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .5; } }

/* استودیوی ثبت عکس */
.header-capture-studio { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-right: 1px dashed rgba(0, 205, 216, 0.22); padding-right: .85rem; min-width: 0; width: 100%; overflow: hidden; }
.capture-controls { display: flex; flex-direction: column; gap: .4rem; flex-shrink: 0; }
.capture-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, rgba(0, 205, 216, 0.15), rgba(0, 144, 173, 0.08)); color: var(--accent); border: 1px solid var(--accent); padding: 9px 14px; border-radius: 12px; font-family: inherit; font-weight: bold; font-size: .82rem; cursor: pointer; transition: all .3s ease; box-shadow: 0 0 12px rgba(0, 205, 216, 0.12); white-space: nowrap; min-width: 175px; text-decoration: none; }
.capture-btn:hover:not(:disabled) { background: var(--accent); color: #02060f; box-shadow: 0 0 18px rgba(0, 205, 216, 0.4); transform: translateY(-2px); }
.capture-btn:disabled { opacity: .85; cursor: wait; border-color: var(--gold); color: var(--gold); }
.capture-btn.pdf-btn { border-color: var(--gold); color: var(--gold-bright); background: linear-gradient(135deg, rgba(224, 150, 0, 0.16), rgba(224, 150, 0, 0.05)); }
.capture-btn.pdf-btn:hover { background: var(--gold); color: #02060f; box-shadow: 0 0 18px rgba(224, 150, 0, 0.45); }
.capture-count-badge { font-size: .72rem; color: var(--text-muted); text-align: center; background: rgba(0, 0, 0, 0.35); padding: 2px 8px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.06); }
.snapshots-slider-wrapper { flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px; background: rgba(2, 6, 15, 0.7); border: 1px solid rgba(0, 205, 216, 0.2); border-radius: 14px; padding: 5px 6px; height: 78px; position: relative; overflow: hidden; }
.slider-arrow-btn { width: 26px; height: 62px; border-radius: 8px; background: rgba(0, 205, 216, 0.08); border: 1px solid rgba(0, 205, 216, 0.22); color: var(--accent); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: .2s; font-size: .75rem; }
.slider-arrow-btn:hover { background: var(--accent); color: #02060f; }
.snapshots-tray { flex: 1; min-width: 0; height: 66px; display: flex; align-items: center; gap: 8px; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 4px; cursor: grab; }
.snapshots-tray:active { cursor: grabbing; }
.snapshots-tray::-webkit-scrollbar { display: none; }
.empty-tray-text { width: 100%; text-align: center; font-size: .76rem; color: rgba(148, 163, 184, 0.55); display: flex; align-items: center; justify-content: center; gap: 6px; user-select: none; white-space: nowrap; }
.snap-item { position: relative; width: 96px; height: 60px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(0, 205, 216, 0.45); flex: 0 0 96px; scroll-snap-align: start; cursor: pointer; background: #000; transition: transform .2s ease, border-color .2s ease; animation: popIn .3s ease; user-select: none; }
@keyframes popIn { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.snap-item:hover { transform: scale(1.04); border-color: var(--accent); box-shadow: 0 0 10px rgba(0, 205, 216, 0.3); }
.snap-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.snap-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.1) 65%, transparent 100%); display: flex; align-items: flex-end; justify-content: space-between; padding: 3px 6px; font-size: .66rem; color: #fff; }
.snap-dl-btn { color: var(--accent); background: rgba(0,0,0,0.65); border-radius: 4px; padding: 1px 4px; text-decoration: none; font-size: .68rem; }
#shutter-flash { position: fixed; inset: 0; background: #ffffff; z-index: 99999; opacity: 0; pointer-events: none; transition: opacity .2s ease-out; }

/* ─────────── کارت‌های اصلی ─────────── */
.neon-card { width: 100%; background: rgb(0 18 39 / 20%); border: 1px solid rgb(0 144 173 / 20%); border-radius: 20px; padding: 1.8rem 2rem; margin-bottom: 1.5rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); }
.seminar-top-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px dashed rgba(0, 144, 173, 0.25); }
.topic-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 205, 216, 0.1); color: var(--accent); border: 1px solid rgba(0, 205, 216, 0.3); padding: 4px 14px; border-radius: 30px; font-size: .85rem; font-weight: bold; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: .76rem; padding: 4px 13px; border-radius: 20px; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(0, 205, 216, 0.25); color: var(--text-soft); }
.chip-gold { border-color: rgba(224, 150, 0, 0.5); color: var(--gold-bright); background: rgba(224, 150, 0, 0.1); }

/* بنر هیرو */
.sem-banner { position: relative; width: 100%; height: 480px; background: #040914; border-radius: 14px; overflow: hidden; margin-bottom: 1.4rem; border: 1px solid rgba(255, 255, 255, 0.1); }
.sem-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; display: block; filter: brightness(.88) contrast(1.05); transition: transform 8s ease; }
.sem-banner:hover img { transform: scale(1.07); }
.sem-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,6,15,0.96) 0%, rgba(2,6,15,0.42) 32%, rgba(2,6,15,0.05) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem 1.6rem; }
.sem-banner-badge { background: rgba(224, 150, 0, 0.25); color: var(--gold-bright); border: 1px solid var(--gold-bright); padding: 4px 12px; border-radius: 20px; font-size: .78rem; width: fit-content; margin-bottom: 10px; font-weight: bold; backdrop-filter: blur(4px); }
.sem-main-title { font-size: 1.6rem; color: #fff; margin: 0 0 .35rem 0; text-shadow: 0 2px 12px rgba(0,0,0,0.9); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sem-main-title i { color: var(--accent); filter: drop-shadow(0 0 8px rgba(0, 205, 216, 0.5)); }
.sem-subtitle { margin: 0; color: var(--text-soft); font-size: .98rem; text-shadow: 0 2px 8px rgba(0,0,0,0.9); }

/* جعبه توضیح */
.sem-desc-box { background: rgba(255, 255, 255, 0.03); border-right: 4px solid var(--accent); border-radius: 12px 0 0 12px; padding: 1.2rem 1.4rem; color: var(--text-soft); text-align: justify; line-height: 2.05; font-size: .97rem; margin-bottom: 1.3rem; }
.sem-desc-box strong { color: var(--accent); display: block; margin-bottom: 6px; font-size: 1.04rem; }

/* آمار */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(0, 205, 216, 0.2); border-radius: 16px; padding: .9rem .6rem; text-align: center; transition: all .3s ease; position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; top: 0; right: 20%; left: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .5; }
.stat:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 26px rgba(0, 205, 216, 0.15); }
.stat b { display: block; font-size: 1.9rem; font-weight: 900; color: var(--accent); text-shadow: 0 0 16px rgba(0, 205, 216, 0.45); line-height: 1.3; }
.stat span { font-size: .8rem; color: var(--text-muted); }

/* ─────────── نویسندگان ─────────── */
.team-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(0, 205, 216, 0.22); padding-bottom: .6rem; }
.team-header h2 { margin: 0; border: none; padding: 0; }
.team-subtitle { color: var(--text-muted); font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; }
.team-subtitle i { color: var(--gold); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; align-items: stretch; perspective: 1000px; }
.member-card { background: linear-gradient(160deg, rgba(13, 28, 54, 0.55) 0%, rgba(4, 12, 26, 0.75) 100%); border: 1px solid rgba(0, 205, 216, 0.26); border-radius: 20px; padding: 1.5rem .85rem 1.2rem .85rem; text-align: center; position: relative; transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 0 18px rgba(0, 205, 216, 0.05); }
.member-card::before { content: ''; position: absolute; top: -60%; left: -60%; width: 220%; height: 220%; background: radial-gradient(circle, rgba(0, 205, 216, 0.14) 0%, transparent 60%); opacity: 0; transform: scale(.6); transition: opacity .45s ease, transform .45s ease; pointer-events: none; z-index: 0; }
.member-card::after { content: ''; position: absolute; bottom: 0; right: 15%; left: 15%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .45; transition: all .4s ease; }
.member-card:hover { transform: translateY(-9px) scale(1.02); border-color: var(--accent); box-shadow: 0 16px 32px rgba(0, 205, 216, 0.22), inset 0 0 25px rgba(0, 205, 216, 0.12); }
.member-card:hover::before { opacity: 1; transform: scale(1); }
.member-card:hover::after { right: 5%; left: 5%; height: 3px; opacity: 1; box-shadow: 0 0 12px var(--accent); }
.member-card.source-card { background: linear-gradient(165deg, rgba(224, 150, 0, 0.16) 0%, rgba(13, 25, 48, 0.92) 70%); border: 2px solid var(--gold); box-shadow: 0 10px 28px rgba(224, 150, 0, 0.22), inset 0 0 22px rgba(224, 150, 0, 0.08); overflow: visible; }
.member-card.source-card::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .85; }
.member-card.source-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 18px 36px rgba(224, 150, 0, 0.38), inset 0 0 28px rgba(224, 150, 0, 0.16); }
.source-badge { position: absolute; top: -13px; background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold)); background-size: 200% auto; animation: shineBadge 3s linear infinite; color: #02060f; font-weight: 800; font-size: .72rem; padding: 3px 13px; border-radius: 20px; box-shadow: 0 4px 14px rgba(224, 150, 0, 0.55); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; z-index: 4; }
@keyframes shineBadge { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.member-avatar-wrap { width: 92px; height: 92px; border-radius: 50%; padding: 4px; margin-bottom: .9rem; position: relative; flex-shrink: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.member-avatar-wrap::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), transparent 35%, #38bdf8 70%, var(--accent)); animation: spinAvatarHalo 4.5s linear infinite; z-index: -2; box-shadow: 0 0 18px rgba(0, 205, 216, 0.35); }
.member-avatar-wrap::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px dashed rgba(0, 205, 216, 0.45); animation: spinAvatarHaloReverse 9s linear infinite; pointer-events: none; z-index: -1; }
@keyframes spinAvatarHalo { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spinAvatarHaloReverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
.avatar-initials { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #12305c 0%, #050d1d 80%); border: 3px solid #040d1d; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.35rem; color: var(--accent); text-shadow: 0 0 12px rgba(0, 205, 216, 0.55); transition: all .4s ease; }
.member-card:hover .avatar-initials { transform: scale(1.08); color: #fff; box-shadow: 0 0 22px rgba(0, 205, 216, 0.55); }
.member-card.source-card .member-avatar-wrap::before { background: conic-gradient(from 0deg, var(--gold), #fff3b0, var(--accent), var(--gold)); box-shadow: 0 0 24px rgba(224, 150, 0, 0.55); }
.member-card.source-card .member-avatar-wrap::after { border-color: rgba(224, 150, 0, 0.65); }
.source-avatar { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #3a2c10 0%, #170e02 80%); border: 3px solid #170e02; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: var(--gold-bright); text-shadow: 0 0 12px rgba(224, 150, 0, 0.6); }
.member-name { font-weight: 800; font-size: .96rem; color: var(--text-main); margin: .2rem 0; position: relative; z-index: 2; transition: color .3s ease; }
.member-card:hover .member-name { color: var(--accent); text-shadow: 0 0 8px rgba(0, 205, 216, 0.35); }
.member-card.source-card .member-name { color: var(--gold-bright); font-size: .95rem; }
.member-card.source-card:hover .member-name { color: #ffd25a; text-shadow: 0 0 10px rgba(224, 150, 0, 0.45); }
.member-role { font-size: .78rem; color: var(--text-muted); background: rgba(2, 8, 20, 0.65); padding: 3px 11px; border-radius: 12px; margin-top: 5px; border: 1px solid rgba(0, 205, 216, 0.16); position: relative; z-index: 2; transition: all .3s ease; display: inline-flex; align-items: center; gap: 6px; }
.member-card:hover .member-role { border-color: rgba(0, 205, 216, 0.45); color: #e2e8f0; background: rgba(0, 205, 216, 0.12); }
.member-card.source-card .member-role { color: var(--text-main); background: rgba(224, 150, 0, 0.22); border: 1px solid rgba(224, 150, 0, 0.5); font-weight: bold; }
.citation-strip { margin-top: 1.4rem; background: rgba(2, 8, 20, 0.6); border: 1px dashed rgba(0, 205, 216, 0.3); border-radius: 14px; padding: .9rem 1.2rem; font-size: .84rem; color: var(--text-soft); line-height: 2; display: flex; gap: 10px; align-items: flex-start; text-align: right; }
.citation-strip i { color: var(--gold); margin-top: 6px; flex-shrink: 0; }

/* ─────────── فهرست عناوین ─────────── */
.titles-card { padding: 1.3rem 1.5rem; }
.slide-titles-label { font-size: .84rem; color: var(--gold-bright); font-weight: bold; margin-bottom: .7rem; display: flex; align-items: center; gap: 6px; }
.topic-tags-slider-box { display: flex; align-items: center; gap: 8px; background: rgba(2, 6, 15, 0.55); border: 1px solid rgba(0, 205, 216, 0.2); border-radius: 16px; padding: 6px 8px; position: relative; overflow: hidden; }
.topic-slider-btn { width: 32px; height: 38px; border-radius: 10px; background: rgba(0, 205, 216, 0.1); border: 1px solid rgba(0, 205, 216, 0.28); color: var(--accent); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all .2s ease; font-size: .8rem; z-index: 2; }
.topic-slider-btn:hover { background: var(--accent); color: #02060f; box-shadow: 0 0 10px rgba(0, 205, 216, 0.35); }
.topic-tags { flex: 1; min-width: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: none; padding: 4px 2px; cursor: grab; }
.topic-tags:active { cursor: grabbing; }
.topic-tags::-webkit-scrollbar { display: none; }
.topic-tag { flex: 0 0 auto; white-space: nowrap; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(0, 205, 216, 0.22); color: var(--text-main); padding: 5px 14px; border-radius: 20px; font-size: .8rem; cursor: pointer; transition: all .25s ease; display: inline-flex; align-items: center; gap: 7px; font-family: inherit; }
.topic-tag:hover, .topic-tag.active-slide-title { background: rgba(0, 205, 216, 0.15); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 10px rgba(0, 205, 216, 0.2); transform: translateY(-2px); }
.topic-tag .slide-num-pill { background: var(--accent); color: #02060f; font-weight: bold; font-size: .72rem; padding: 1px 7px; border-radius: 12px; }

/* ─────────── پنل اسلایدها ─────────── */
h1 { text-align: center; font-size: 1.8rem; color: #f1f5f9; text-shadow: 0 0 16px rgba(0, 205, 216, 0.45); margin: 1.6rem 0 .2rem 0; }
h2 { color: var(--accent); margin-bottom: 1rem; border-bottom: 1px solid rgba(0, 205, 216, 0.25); padding-bottom: .5rem; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.subtitle { text-align: center; color: var(--text-muted); margin-bottom: 1.2rem; font-size: .98rem; }
.slides-card { padding: 1.6rem; }
.slide-head-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 1.3rem; padding-bottom: .9rem; border-bottom: 1px dashed rgba(0, 144, 173, 0.25); }
.slide-hint { font-size: .76rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px; }
#dynamic-slide-viewport { min-height: 320px; position: relative; }
.slide-anim-in { animation: slideIn .5s cubic-bezier(.22, .9, .3, 1) both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(20px) scale(.988); } to { opacity: 1; transform: none; } }

.slide-head { margin-bottom: 1.15rem; }
.slide-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(224, 150, 0, 0.16); color: var(--gold-bright); border: 1px solid rgba(224, 150, 0, 0.55); padding: 3px 14px; border-radius: 20px; font-size: .78rem; font-weight: bold; margin-bottom: .55rem; }
.slide-title { font-size: 1.42rem; color: #fff; margin: 0 0 .35rem 0; display: flex; align-items: center; gap: 11px; flex-wrap: wrap; text-shadow: 0 0 14px rgba(0, 205, 216, 0.2); }
.slide-title i { color: var(--accent); filter: drop-shadow(0 0 7px rgba(0, 205, 216, 0.5)); }
.slide-kicker { color: var(--accent); font-size: .92rem; font-weight: bold; margin: 0; }
.slide-kicker::before { content: '«'; color: var(--gold); }
.slide-kicker::after { content: '»'; color: var(--gold); }

.slide-highlight { background: rgba(0, 0, 0, 0.45); border-right: 4px solid var(--gold); border-radius: 12px; padding: 1.1rem 1.4rem; margin-bottom: 1.2rem; font-size: .96rem; line-height: 2; color: #f3dca2; text-align: justify; }
.slide-highlight strong { color: var(--gold-bright); }
.slide-highlight .hl-cyan { color: var(--accent); font-weight: bold; }

.slide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.slide-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.slide-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.slide-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
.slide-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 1.1rem; transition: all .35s ease; position: relative; overflow: hidden; }
.slide-box::before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 2px; background: linear-gradient(to bottom, transparent, var(--accent), transparent); opacity: 0; transition: opacity .35s; }
.slide-box:hover { border-color: rgba(0, 205, 216, 0.4); background: rgba(0, 205, 216, 0.05); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.slide-box:hover::before { opacity: 1; }
.slide-box h4 { margin: 0 0 .6rem 0; color: var(--accent); font-size: .98rem; display: flex; align-items: center; gap: 8px; }
.slide-box h4 .num-tag { background: rgba(0, 205, 216, 0.15); border: 1px solid rgba(0, 205, 216, 0.4); color: var(--accent); font-size: .72rem; min-width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.slide-box h4 .num-tag.gold { background: rgba(224, 150, 0, 0.18); border-color: rgba(224, 150, 0, 0.55); color: var(--gold-bright); }
.slide-box p { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.95; text-align: justify; }
.slide-box p + p { margin-top: .5rem; }
.slide-box .mini-example { display: inline-flex; align-items: center; gap: 8px; margin-top: .7rem; background: rgba(2, 8, 20, 0.7); border: 1px dashed rgba(0, 205, 216, 0.35); color: var(--accent); border-radius: 10px; padding: 4px 12px; font-size: .84rem; font-weight: bold; white-space: nowrap; }
.slide-box .mini-example i { color: var(--gold); font-size: .78rem; }

.note-strip { margin-top: 1.2rem; background: linear-gradient(135deg, rgba(0, 144, 173, 0.12), rgba(2, 8, 20, 0.5)); border: 1px solid rgba(0, 205, 216, 0.3); border-radius: 12px; padding: .9rem 1.2rem; font-size: .92rem; color: var(--text-main); line-height: 1.95; text-align: justify; display: flex; gap: 10px; align-items: flex-start; }
.note-strip i { color: var(--accent); margin-top: 7px; flex-shrink: 0; }
.note-strip strong { color: var(--accent); }
.note-strip.gold-note { background: linear-gradient(135deg, rgba(224, 150, 0, 0.14), rgba(20, 12, 2, 0.5)); border-color: rgba(224, 150, 0, 0.45); }
.note-strip.gold-note i { color: var(--gold-bright); }
.note-strip.gold-note strong { color: var(--gold-bright); }

/* چیپ‌های پرونده فرضی */
.case-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1.2rem; }
.case-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(0, 205, 216, 0.3); border-radius: 30px; padding: 6px 16px; font-size: .84rem; font-weight: bold; color: var(--text-main); }
.case-chip i { color: var(--gold); }
.case-chip:nth-child(2) i { color: var(--accent); }
.case-chip:nth-child(3) i { color: #38bdf8; }

/* نمودار مسیر (اسلاید ۳) */
.flow-diagram { display: flex; align-items: stretch; gap: 0; margin-bottom: 1.2rem; }
.flow-node { flex: 1; background: linear-gradient(160deg, rgba(13, 28, 54, 0.75) 0%, rgba(4, 12, 26, 0.9) 100%); border: 1px solid rgba(0, 205, 216, 0.35); border-radius: 16px; padding: 1.1rem .8rem; text-align: center; position: relative; z-index: 1; }
.flow-node .fn-flag { width: 54px; height: 54px; margin: 0 auto .6rem auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: radial-gradient(circle at 30% 25%, #12305c, #050d1d); border: 2px solid rgba(0, 205, 216, 0.4); color: var(--accent); }
.flow-node .fn-title { font-weight: 900; font-size: 1.05rem; color: #fff; margin-bottom: .3rem; }
.flow-node .fn-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.8; }
.flow-node .fn-desc b { color: var(--accent); }
.flow-node.third .fn-flag { border-color: rgba(224, 150, 0, 0.6); color: var(--gold-bright); }
.flow-node.third { border-color: rgba(224, 150, 0, 0.5); background: linear-gradient(160deg, rgba(48, 33, 8, 0.55) 0%, rgba(20, 12, 2, 0.85) 100%); }
.flow-node.node-step-1 { animation: nodeGlow1 5.4s ease-in-out infinite; }
.flow-node.node-step-2 { animation: nodeGlow2 5.4s ease-in-out infinite; }
.flow-node.node-step-3 { animation: nodeGlow3 5.4s ease-in-out infinite; }
@keyframes nodeGlow1 { 0%, 8% { box-shadow: 0 0 0 rgba(0, 205, 216, 0); } 12%, 30% { box-shadow: 0 0 26px rgba(0, 205, 216, 0.5), inset 0 0 20px rgba(0, 205, 216, 0.14); border-color: var(--accent); } 36%, 100% { box-shadow: 0 0 0 rgba(0, 205, 216, 0); } }
@keyframes nodeGlow2 { 0%, 36% { box-shadow: 0 0 0 rgba(0, 205, 216, 0); } 40%, 58% { box-shadow: 0 0 26px rgba(0, 205, 216, 0.5), inset 0 0 20px rgba(0, 205, 216, 0.14); border-color: var(--accent); } 64%, 100% { box-shadow: 0 0 0 rgba(0, 205, 216, 0); } }
@keyframes nodeGlow3 { 0%, 64% { box-shadow: 0 0 0 rgba(224, 150, 0, 0); } 68%, 88% { box-shadow: 0 0 28px rgba(224, 150, 0, 0.5), inset 0 0 20px rgba(224, 150, 0, 0.16); border-color: var(--gold); } 94%, 100% { box-shadow: 0 0 0 rgba(224, 150, 0, 0); } }
.flow-connector { width: 86px; flex: 0 0 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 0; position: relative; }
.fc-label { font-size: .72rem; font-weight: 900; color: var(--gold-bright); background: rgba(224, 150, 0, 0.14); border: 1px solid rgba(224, 150, 0, 0.5); padding: 2px 10px; border-radius: 20px; white-space: nowrap; margin-bottom: 8px; animation: connectorPulse 5.4s ease-in-out infinite; }
@keyframes connectorPulse { 0%, 35% { opacity: .55; } 40%, 58% { opacity: 1; box-shadow: 0 0 12px rgba(224, 150, 0, 0.4); } 64%, 100% { opacity: .55; } }
.fc-line { width: 100%; height: 3px; position: relative; background: rgba(0, 205, 216, 0.18); border-radius: 3px; overflow: visible; }
.fc-line::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 26px); background-size: 26px 3px; animation: dashMove 1.1s linear infinite; border-radius: 3px; opacity: .9; }
@keyframes dashMove { from { background-position: 0 0; } to { background-position: -26px 0; } }
.fc-line::after { content: ''; position: absolute; left: -4px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-right: 11px solid var(--accent); filter: drop-shadow(-2px 0 4px rgba(0, 205, 216, 0.6)); }
.fc-sub { font-size: .68rem; color: var(--text-muted); margin-top: 8px; white-space: nowrap; }

/* بنر داخل اسلاید */
.slide-banner { height: 250px; margin-bottom: 1.2rem; }
@media (max-width: 768px) { .slide-banner { height: 190px; } }

/* نقل قانون (اسلاید ۷) */
.law-quote { position: relative; background: linear-gradient(135deg, rgba(224, 150, 0, 0.1), rgba(2, 8, 20, 0.6)); border: 1px solid rgba(224, 150, 0, 0.4); border-radius: 16px; padding: 1.5rem 4.2rem 1.4rem 1.5rem; margin-bottom: 1.2rem; text-align: justify; color: #fde9c8; font-size: 1.02rem; line-height: 2.15; overflow: hidden; }
.law-quote::before { content: '\f10e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 6px; right: 14px; font-size: 2.6rem; color: rgba(224, 150, 0, 0.35); }
.law-quote .law-tag { position: absolute; bottom: 10px; left: 14px; font-size: .72rem; color: var(--gold-bright); background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(224, 150, 0, 0.4); padding: 2px 10px; border-radius: 20px; }
.law-quote b { color: var(--gold-bright); }

/* هرم (اسلاید ۱۲) */
.pyramid-wrap { display: flex; gap: 1.4rem; align-items: center; margin-bottom: 1.2rem; flex-wrap: wrap; }
.pyramid { flex: 1; min-width: 280px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: .6rem 0; }
.pyr-row { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4)); transition: all .3s ease; }
.pyr-row b { font-size: 1.08rem; font-weight: 900; }
.pyr-row span { font-size: .78rem; opacity: .92; }
.pyr-top { width: 46%; min-height: 62px; background: linear-gradient(180deg, rgba(224, 150, 0, 0.85), rgba(224, 150, 0, 0.45)); clip-path: polygon(50% 0, 78% 100%, 22% 100%); padding-top: 34px; }
.pyr-mid { width: 68%; min-height: 62px; background: linear-gradient(180deg, rgba(0, 144, 173, 0.8), rgba(0, 144, 173, 0.4)); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.pyr-base { width: 92%; min-height: 66px; background: linear-gradient(180deg, rgba(0, 214, 108, 0.75), rgba(0, 214, 108, 0.35)); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); position: relative; }
.pyr-base::after { content: ''; position: absolute; inset: 0; clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.25); animation: basePulse 2.6s ease-in-out infinite; }
@keyframes basePulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.pyr-row:hover { transform: scale(1.03); filter: drop-shadow(0 0 16px rgba(0, 205, 216, 0.45)); }
.pyramid-note { flex: 1; min-width: 250px; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(0, 205, 216, 0.3); border-radius: 14px; padding: 1rem 1.2rem; font-size: .9rem; color: var(--text-soft); line-height: 2; text-align: justify; }
.pyramid-note .pn-arrow { display: flex; align-items: center; gap: 8px; color: var(--gold-bright); font-weight: 900; font-size: .92rem; margin-bottom: .4rem; }
.pyramid-note .pn-arrow i { animation: bounceDown 1.6s ease-in-out infinite; }
@keyframes bounceDown { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* جعبه ارجاع (اسلاید ۱۴) */
.citation-box { margin-top: 1.2rem; background: rgba(2, 8, 20, 0.65); border: 1px dashed rgba(0, 205, 216, 0.35); border-radius: 14px; padding: 1rem 1.3rem; font-size: .88rem; color: var(--text-soft); line-height: 2.05; text-align: justify; }
.citation-box b { color: var(--accent); }
.thanks-strip { margin-top: 1.2rem; text-align: center; padding: 1.1rem; border-radius: 16px; background: linear-gradient(135deg, rgba(0, 144, 173, 0.16), rgba(224, 150, 0, 0.12)); border: 1px solid rgba(0, 205, 216, 0.35); font-size: 1.25rem; font-weight: 900; color: #fff; text-shadow: 0 0 14px rgba(0, 205, 216, 0.4); animation: thanksGlow 2.8s ease-in-out infinite; }
.thanks-strip i { color: var(--gold-bright); margin-left: 10px; }
@keyframes thanksGlow { 0%, 100% { box-shadow: 0 0 0 rgba(0, 205, 216, 0); } 50% { box-shadow: 0 0 34px rgba(0, 205, 216, 0.3), inset 0 0 22px rgba(0, 205, 216, 0.08); } }

/* کنترل‌های اسلاید */
.slide-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px dashed rgba(0, 144, 173, 0.2); flex-wrap: wrap; gap: 1rem; }
.nav-btn { background: rgba(0, 205, 216, 0.08); border: 1px solid var(--accent); color: var(--text-main); padding: 8px 24px; border-radius: 30px; cursor: pointer; font-family: inherit; font-size: .92rem; font-weight: bold; display: inline-flex; align-items: center; gap: 8px; transition: .3s; }
.nav-btn:hover:not(:disabled) { background: var(--accent); color: #02060f; box-shadow: 0 0 12px rgba(0, 205, 216, 0.35); }
.nav-btn:disabled { opacity: .4; cursor: not-allowed; border-color: var(--text-muted); }
.slide-counter-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.slide-counter { color: var(--accent); font-weight: bold; font-size: .98rem; }
.slide-quick-dots { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.slide-dot-btn { width: 30px; height: 30px; border-radius: 9px; border: 1px solid rgba(0, 205, 216, 0.25); background: rgba(0, 0, 0, 0.4); color: var(--text-muted); font-family: inherit; font-size: .78rem; font-weight: bold; cursor: pointer; transition: .2s; display: flex; align-items: center; justify-content: center; }
.slide-dot-btn.active, .slide-dot-btn:hover { background: var(--accent); color: #02060f; border-color: var(--accent); box-shadow: 0 0 8px rgba(0, 205, 216, 0.35); }

/* ─────────── فوتر ─────────── */
.bottom-dock-wrapper { width: 100%; margin-top: auto; background: rgba(5, 11, 22, 0.96); border-top: 1px solid rgba(148, 163, 184, 0.14); backdrop-filter: blur(12px); padding: .55rem 1.2rem .8rem 1.2rem; position: relative; z-index: 10; }
.bottom-dock-inner { max-width: 1600px; margin: 0 auto; display: flex; flex-direction: column; gap: .35rem; }
.minimal-consult-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 8px; padding: .4rem .85rem; overflow: hidden; }
.minimal-consult-title { color: var(--accent); font-weight: bold; font-size: .76rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding-left: .65rem; border-left: 1px dashed rgba(0, 205, 216, 0.28); }
.consult-ticker-viewport { flex: 1; min-width: 0; overflow: hidden; position: relative; white-space: nowrap; direction: rtl; display: flex; align-items: center; }
.consult-ticker-track { display: inline-flex; align-items: center; white-space: nowrap; width: max-content; animation: seamlessTicker 30s linear infinite; }
.consult-ticker-viewport:hover .consult-ticker-track { animation-play-state: paused; }
.minimal-consult-text { margin: 0; color: var(--text-soft); font-size: .75rem; line-height: 1.55; white-space: nowrap; display: inline-block; padding-left: 2.2rem; }
@keyframes seamlessTicker { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }
.minimal-footer-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem; padding: 0 .2rem; font-size: .71rem; color: #64748b; }
.minimal-footer-bar p { margin: 0; color: #94a3b8; display: inline-flex; align-items: center; gap: 6px; }
.minimal-footer-bar i { margin-left: 2px; color: var(--accent); }
.footer-actions { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mini-link-btn { background: rgba(0, 205, 216, 0.08); color: var(--text-main); border: 1px solid rgba(0, 205, 216, 0.3); border-radius: 20px; padding: 3px 12px; font-size: .72rem; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: .25s; }
.mini-link-btn:hover { background: var(--accent); color: #02060f; }
.legal-notice { font-size: .7rem; color: #94a3b8; font-weight: normal; }

/* ─────────── مودال و توست ─────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(2, 6, 15, 0.95); backdrop-filter: blur(15px); z-index: 10000; display: none; justify-content: center; align-items: center; padding: 1rem; flex-direction: column; text-align: center; }
.modal-overlay.active { display: flex; }
.preview-modal-card { background: var(--card-bg); border: 1px solid var(--accent); border-radius: 18px; padding: 1.2rem; max-width: 90vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; box-shadow: 0 0 35px rgba(0, 205, 216, 0.2); animation: popIn .3s ease; }
.preview-modal-card img { max-width: 100%; max-height: 68vh; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.15); object-fit: contain; }
.preview-modal-head { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px; }
.preview-title { color: var(--accent); font-weight: bold; font-size: .95rem; display: inline-flex; gap: 8px; align-items: center; }
.preview-close-btn { background: none; border: none; color: var(--danger); font-size: 1.3rem; cursor: pointer; transition: transform .2s; }
.preview-close-btn:hover { transform: rotate(90deg); }
.preview-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
#toast-notification { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: rgba(13, 25, 48, 0.98); border: 1px solid var(--accent); color: var(--text-main); padding: 10px 22px; border-radius: 30px; font-size: .9rem; font-weight: bold; box-shadow: 0 10px 30px rgba(0, 205, 216, 0.18); z-index: 10001; transition: bottom .5s; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
#toast-notification.show { bottom: 25px; }
#toast-notification i { color: var(--success); }

/* ─────────── ظهور تدریجی ─────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, .9, .3, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ─────────── حالت اسکرین‌شات ─────────── */
.snapshot-fast-mode, .snapshot-fast-mode * { animation: none !important; transition: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.snapshot-fast-mode { background: radial-gradient(circle at 50% 30%, #0d2240 0%, #040b18 100%) !important; }
.snapshot-fast-mode .neon-card, .snapshot-fast-mode .presentation-info { background: rgba(13, 28, 54, 0.96) !important; border-color: rgba(0, 205, 216, 0.42) !important; }
.snapshot-fast-mode .member-card:not(.source-card), .snapshot-fast-mode .slide-box, .snapshot-fast-mode .sem-desc-box, .snapshot-fast-mode .meta-box, .snapshot-fast-mode .stat { background: rgba(18, 38, 72, 0.96) !important; }
.snapshot-fast-mode .member-card.source-card { background: linear-gradient(165deg, rgba(64, 44, 12, 0.96), rgba(13, 25, 48, 0.98)) !important; }
.snapshot-fast-mode .member-avatar-wrap { background: linear-gradient(135deg, #00cdd8, #0a192f) !important; }
.snapshot-fast-mode .member-card.source-card .member-avatar-wrap { background: linear-gradient(135deg, #e09600, #00cdd8) !important; }
.snapshot-fast-mode .member-avatar-wrap::before, .snapshot-fast-mode .member-avatar-wrap::after { display: none !important; }
.snapshot-fast-mode .bg-glow-orbs, .snapshot-fast-mode .progress-bar { display: none !important; }
.snapshot-fast-mode .consult-ticker-track { transform: none !important; width: 100% !important; }
.snapshot-fast-mode .consult-ticker-track [aria-hidden="true"] { display: none !important; }
.snapshot-fast-mode .minimal-consult-text { white-space: normal !important; padding-left: 0 !important; }
.snapshot-fast-mode .reveal { opacity: 1 !important; transform: none !important; }

/* ─────────── واکنش‌پذیری ─────────── */
@media (max-width: 1250px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .presentation-info { grid-template-columns: 1fr; text-align: center; padding: 1.2rem; }
  .header-brand { border-left: none; padding-left: 0; border-bottom: 1px dashed rgba(0, 205, 216, 0.2); padding-bottom: .8rem; justify-content: center; }
  .brand-text h3 { white-space: normal; }
  .brand-text p { white-space: normal; }
  .header-capture-studio { border-right: none; padding-right: 0; border-top: 1px dashed rgba(0, 205, 216, 0.2); padding-top: .8rem; flex-direction: column; align-items: stretch; }
  .snapshots-slider-wrapper { width: 100%; }
  .capture-controls { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .slide-grid.cols-4, .slide-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
  .flow-diagram { flex-direction: column; gap: 0; }
  .flow-connector { width: 64px; flex: 0 0 auto; flex-direction: column; padding: 12px 0; margin: 0 auto; }
  .fc-label { margin-bottom: 0; }
  .fc-line { width: 3px; height: auto; flex: 1; min-height: 36px; }
  .fc-line::before { background: repeating-linear-gradient(180deg, var(--accent) 0 14px, transparent 14px 26px); background-size: 3px 26px; animation: dashMoveV 1.1s linear infinite; }
  .fc-line::after { left: 50%; bottom: -5px; top: auto; transform: translateX(-50%) rotate(-90deg); }
  .fc-sub { writing-mode: horizontal-tb; margin-top: 8px; margin-bottom: 0; }
  .flow-node { max-width: 460px; width: 100%; margin: 0 auto; }
}
@keyframes dashMoveV { from { background-position: 0 0; } to { background-position: 0 26px; } }
@media (max-width: 850px) {
  .minimal-footer-bar { flex-direction: column; text-align: center; justify-content: center; }
}
@media (max-width: 768px) {
  .bg-glow-orbs { display: none; }
  .container { width: 98%; padding: .8rem .5rem; }
  .neon-card { padding: 1.3rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .topic-title, .slide-title { font-size: 1.2rem; }
  .sem-banner { height: 330px; }
  .slide-grid { grid-template-columns: 1fr; }
  .slide-grid.cols-4, .slide-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.45rem; }
  .sem-main-title { font-size: 1.15rem; }
  .law-quote { padding: 1.3rem 1.2rem 2.4rem 1.2rem; }
  .law-quote .law-tag { left: 12px; bottom: 8px; }
  .slide-hint { display: none; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .slide-grid.cols-4, .slide-grid.cols-6 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .pyr-top { min-height: 54px; padding-top: 28px; }
  .pyr-row b { font-size: .95rem; }
  .pyr-row span { font-size: .7rem; }
}

/* کاهش حرکت برای کاربران حساس */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
