/* Academic Presentation Styles - 60FPS Silky Smooth, Premium Aesthetics, Zero Scrollbars */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&family=Fira+Code:wght@400;600&display=swap');

:root {
    --bg-primary: #f1f5f9;
    --navy-header: #081026;
    --navy-card: #0d1b2a;
    --card-bg: #ffffff;
    --card-border: #cbd5e1;
    --text-primary: #0f172a;   /* CRISP DARK NAVY FOR WHITE CARDS */
    --text-body: #1e293b;      /* CHARCOAL SLATE FOR MAXIMUM READABILITY */
    --text-muted: #475569;
    --text-light: #ffffff;
    --accent-blue: #0284c7;
    --accent-dark-blue: #1e3a8a;
    --accent-cyan: #38bdf8;
    --accent-gold: #d97706;
    --accent-gold-bright: #fbbf24;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    
    --font-heading: 'Merriweather', 'Georgia', serif;
    --font-sans: 'Inter', sans-serif;
    --font-badge: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --shadow-card: 0 4px 16px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    --shadow-fig: 0 8px 24px -4px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    background-color: var(--navy-header);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

.app-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden !important;
    background-color: var(--navy-header);
}

/* Top Global Slide Progress Bar - 紧贴屏幕最顶端横贯发光 */
.top-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 9999;
    overflow: hidden;
}

.top-progress-container .progress-bar {
    height: 100%;
    width: 7%;
    background: linear-gradient(to right, #38bdf8, #818cf8, #fbbf24);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Header Bar */
header.top-bar {
    height: 52px;
    flex-shrink: 0;
    background: var(--navy-header);
    border-bottom: 2px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    position: relative;
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.brand-logos img {
    height: 26px;
    object-fit: contain;
}

.logo-divider {
    width: 1px;
    height: 20px;
    background-color: #cbd5e1;
}

.conf-badge {
    background: #1e3a8a;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 16px;
    border-radius: 16px;
    border: 1px solid var(--accent-cyan);
    white-space: nowrap;
}

.top-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-icon:hover {
    background: var(--accent-blue);
    border-color: var(--accent-cyan);
}

/* Viewport & Slide Deck */
main.viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden !important;
}

.slide-deck {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden !important;
}

/* 60 FPS Hardware-Accelerated Smooth Slide Transitions */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(20px, 0, 0);
    will-change: transform, opacity;
    transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
                visibility 0.25s;
    padding: 14px 32px;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
    overflow: hidden !important;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

/* Slide Header */
.slide-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: clamp(6px, 1.2vh, 12px);
    padding-bottom: clamp(2px, 0.5vh, 4px);
    border-bottom: 2px solid #cbd5e1;
    flex-shrink: 0;
}

.slide-category {
    font-family: var(--font-sans);
    font-size: clamp(0.68rem, 0.9vw, 0.78rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.2vh + 0.6vw, 1.8rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
}

.slide-counter {
    background: #1e3a8a;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: clamp(0.72rem, 1vh, 0.85rem);
    font-weight: 700;
    padding: clamp(2px, 0.4vh, 4px) clamp(8px, 1vw, 14px);
    border-radius: 16px;
    white-space: nowrap;
}

/* Dynamic Flexible Layout Grids */
.slide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: calc(100% - 55px);
    overflow: hidden !important;
}

.grid-2-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    flex: 1;
    height: 100%;
    overflow: hidden !important;
}

.grid-3-equal {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    flex: 1;
    height: 100%;
    overflow: hidden !important;
}

.grid-wide-left {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    flex: 1;
    height: 100%;
    overflow: hidden !important;
}

.grid-wide-right {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 14px;
    flex: 1;
    height: 100%;
    overflow: hidden !important;
}

/* Academic Card Styling - ZERO SCROLLBARS */
.card-academic {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 5px solid var(--accent-blue);
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
}

.card-academic.gold-border { border-left-color: var(--accent-gold); }
.card-academic.navy-border { border-left-color: var(--accent-dark-blue); }

.card-academic-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.badge-circle {
    min-width: 38px;
    height: 32px;
    padding: 0 10px;
    border-radius: 16px;
    background: #1e3a8a;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(30, 58, 138, 0.3);
    flex-shrink: 0;
}

.card-academic-title {
    font-family: var(--font-heading);
    font-size: 1.20rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.card-academic-body {
    flex: 1;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-body);
    overflow: hidden !important;
}

.card-academic-body p {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 6px;
    color: var(--text-body);
}

.card-academic-body strong {
    color: var(--text-primary);
    font-weight: 700;
}

.card-academic-body ul {
    list-style: none;
    padding-left: 0;
}

.card-academic-body li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-body);
}

.card-academic-body li::before {
    content: "•";
    position: absolute;
    left: 2px;
    top: -1px;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Premium Figure Card & Image Frame Styling */
.figure-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    position: relative;
}

.figure-wrapper img {
    max-width: 98%;
    max-height: 84%;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
    padding: 6px;
    border: 1px solid #cbd5e1;
    box-shadow: var(--shadow-fig);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
    cursor: zoom-in;
}

.figure-wrapper img:hover {
    transform: scale(1.025);
    box-shadow: 0 12px 32px -6px rgba(2, 132, 199, 0.25);
}

.figure-caption {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-dark-blue);
    margin-top: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 14px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
}

/* Theorem & Lemma Box Highlight Styling */
.theorem-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 5px solid var(--accent-blue);
    border-radius: 6px;
    padding: 10px 14px;
    margin: 6px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.theorem-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-dark-blue);
    margin-bottom: 4px;
}

.theorem-body {
    font-size: 0.96rem;
    color: #0f172a;
    line-height: 1.5;
}

/* High-Contrast Vector Math Block Styling - 统一放大且规范化公式字号 */
.math-block {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 12px;
    margin: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden !important;
    color: #0f172a !important;
    font-size: 1.08rem;
    max-width: 100%;
    box-sizing: border-box;
}

.math-block.compact {
    font-size: 0.98rem;
    padding: 4px 10px;
}

.math-block.large {
    font-size: 1.18rem;
    padding: 8px 16px;
    font-weight: bold;
}

.math-block .katex-display {
    margin: 2px 0 !important;
    max-width: 100%;
    overflow: hidden !important;
}

.math-block .katex {
    color: #0f172a !important;
}

/* 行内公式字号统一匹配 */
p .katex, li .katex, .theorem-body .katex {
    font-size: 1.05em;
    color: inherit;
}

/* Agenda / Table of Contents Slide (Slide 02) */
.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.agenda-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 6px solid var(--accent-blue);
    border-radius: 6px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card);
}

.agenda-item.navy {
    border-left-color: var(--accent-dark-blue);
}

.agenda-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-blue);
    min-width: 32px;
}

.agenda-divider {
    width: 1px;
    height: 24px;
    background-color: #cbd5e1;
}

.agenda-content {
    display: flex;
    flex-direction: column;
}

.agenda-text {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
}

.agenda-sub {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* Title Cover Slide - 经典极简高贵学术排版 (纯粹、舒展、大气) */
.slide-title-bg {
    background: linear-gradient(135deg, #050d1a 0%, #0a1730 100%) !important;
    color: #ffffff !important;
    padding: 36px 64px !important;
}

.title-slide-pure {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 20px 20px 50px 20px;
}

.title-main-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-paper-title {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.24;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
}

.sub-paper-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-style: italic;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-top: 4px;
}

.title-divider-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #38bdf8 0%, rgba(56, 189, 248, 0.4) 60%, transparent 100%);
    margin-top: 10px;
    border-radius: 2px;
}

.title-author-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.author-names {
    font-size: 1.32rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.author-corres {
    color: var(--accent-cyan);
    font-weight: 800;
}

.author-affiliations {
    font-size: 0.98rem;
    color: #94a3b8;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-affiliations p {
    margin: 0;
}

.affil-num {
    color: var(--accent-cyan);
    font-weight: 700;
    margin-right: 6px;
}

.affil-corres {
    color: var(--accent-gold);
    font-size: 0.92rem;
    margin-top: 4px;
}

.affil-corres span {
    color: #f8fafc;
    font-weight: 600;
}

.grant-footer {
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 20px;
    background: rgba(4, 9, 20, 0.85);
    padding: 8px 24px;
    font-size: 0.88rem;
    color: var(--accent-gold-bright);
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Dark Conclusion Slide Matched EXACTLY to fav_slide_14.png */
.slide-conclusion {
    background: var(--navy-header) !important;
    color: #ffffff !important;
    padding: 24px 44px !important;
}

.conclusion-header {
    margin-bottom: 16px;
}

.conclusion-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    border-bottom: 3px solid var(--accent-cyan);
    padding-bottom: 6px;
    display: inline-block;
}

.conclusion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.card-dark-outline {
    background: var(--navy-card);
    border: 1px solid var(--accent-blue);
    border-radius: 6px;
    padding: 18px;
}

.card-dark-gold {
    background: var(--navy-card);
    border: 1px solid var(--accent-gold-bright);
    border-radius: 6px;
    padding: 18px;
}

.dark-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.dark-card-title.cyan { color: var(--accent-cyan); }
.dark-card-title.gold { color: var(--accent-gold-bright); }

.contribution-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.badge-num-small {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.contribution-text {
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.45;
}

.conclusion-footer {
    border-top: 2px dashed rgba(56, 189, 248, 0.4);
    padding-top: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.thanks-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 4px;
}

.qa-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold-bright);
}

.footer-email {
    font-size: 0.92rem;
    color: var(--accent-cyan);
    text-align: right;
    margin-bottom: 2px;
}

.footer-conf {
    font-size: 0.82rem;
    color: #94a3b8;
    text-align: right;
}

/* Data Table Styling */
table.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
    font-size: 0.88rem;
}

table.custom-table th {
    background: var(--navy-header);
    color: #ffffff;
    padding: 7px 10px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-cyan);
}

table.custom-table td {
    padding: 7px 10px;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}

table.custom-table tr:nth-child(even) td {
    background: #f8fafc;
}

table.custom-table tr.highlight td {
    background: #e0f2fe;
    color: var(--accent-dark-blue);
    font-weight: 600;
}

/* Bottom Bar */
footer.bottom-bar {
    height: 48px;
    flex-shrink: 0;
    background: var(--navy-header);
    border-top: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    position: relative;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-nav:hover {
    background: var(--accent-blue);
    border-color: var(--accent-cyan);
}

.progress-container {
    flex: 0.6;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 7%;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
    transition: width 0.25s ease;
}

/* Thumbnail Drawer */
.drawer {
    position: fixed;
    bottom: 48px;
    left: 0;
    width: 100%;
    height: 160px;
    background: var(--navy-header);
    border-top: 2px solid var(--accent-cyan);
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    overflow-x: auto;
    transform: translateY(100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer.open {
    transform: translateY(0);
}

.thumb-card {
    min-width: 180px;
    height: 110px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumb-card:hover, .thumb-card.active {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
}

.thumb-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold-bright);
}

.thumb-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

/* ==========================================================================
   SLIDE 15: "FOR ACADEMIC EQUALITY" & STACKED MODEL LOGOS
   ========================================================================== */

.slide-15-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 12px;
}

.equality-slogan-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.equality-slogan-en {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff 0%, #38bdf8 50%, #fde047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.equality-slogan-zh {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-top: 2px;
}

/* ==========================================================================
   OFFICIAL-STYLE SCALE-IN POPPING ENTRANCE WITH 3D TILT
   ========================================================================== */

@keyframes popScaleLeft {
    0% {
        opacity: 0;
        transform: translateX(18px) scale(0.2) rotate(-3deg);
    }
    75% {
        opacity: 1;
        transform: translateX(18px) scale(1.02) rotate(-3deg);
    }
    100% {
        opacity: 1;
        transform: translateX(18px) scale(0.95) rotate(-3deg);
    }
}

@keyframes popScaleCenter {
    0% {
        opacity: 0;
        transform: translateY(-4px) scale(0.2);
    }
    75% {
        opacity: 1;
        transform: translateY(-4px) scale(1.18);
    }
    100% {
        opacity: 1;
        transform: translateY(-4px) scale(1.12);
    }
}

@keyframes popScaleRight {
    0% {
        opacity: 0;
        transform: translateX(-18px) scale(0.2) rotate(3deg);
    }
    75% {
        opacity: 1;
        transform: translateX(-18px) scale(1.02) rotate(3deg);
    }
    100% {
        opacity: 1;
        transform: translateX(-18px) scale(0.95) rotate(3deg);
    }
}

/* 3D Overlapping Model Logos Stack with 3D Tilt */
.model-stack-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0 12px;
    position: relative;
}

.model-card-stacked {
    width: 155px;
    height: 145px;
    border-radius: 16px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, z-index 0.25s ease;
}

/* 左侧卡片：QWEN3-ASR (左倾斜 -3deg 叠压后方) */
.model-card-stacked:first-child {
    transform: translateX(18px) scale(0.95) rotate(-3deg);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(56, 189, 248, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(56, 189, 248, 0.22);
    z-index: 1;
    animation: popScaleLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.model-card-stacked:first-child .model-logo-img {
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45));
}

/* 中间卡片：HY-MT2 (前景主焦 · 突前放大) */
.model-card-stacked.center-focus {
    transform: scale(1.12) translateY(-4px);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.75);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 26px rgba(245, 158, 11, 0.35);
    z-index: 3;
    animation: popScaleCenter 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s forwards;
}

.model-card-stacked.center-focus .model-logo-img {
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

/* 右侧卡片：QWEN3-TTS (右倾斜 3deg 叠压后方) */
.model-card-stacked:last-child {
    transform: translateX(-18px) scale(0.95) rotate(3deg);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(192, 132, 252, 0.45);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(168, 85, 247, 0.22);
    z-index: 1;
    animation: popScaleRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.model-card-stacked:last-child .model-logo-img {
    filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.45));
}

/* 鼠标悬停上浮与回正动效 */
.model-card-stacked:hover {
    transform: scale(1.18) translateY(-8px) rotate(0deg) !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.55) !important;
    z-index: 10 !important;
}

.model-logo-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.model-card-stacked:hover .model-logo-img {
    transform: scale(1.08);
}

.model-name-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: #f8fafc;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.model-corner-badge {
    position: absolute;
    bottom: -6px;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 5;
}

/* 左侧卡片角标放左下角，彻底避免被中间叠压卡片遮挡 */
.model-card-stacked:first-child .model-corner-badge {
    left: -6px;
    right: auto;
}

/* 中间卡片角标 */
.model-card-stacked.center-focus .model-corner-badge {
    right: -6px;
    bottom: -8px;
    z-index: 6;
}

/* 右侧卡片角标放右下角 */
.model-card-stacked:last-child .model-corner-badge {
    right: -6px;
    left: auto;
}

.badge-asr {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
}

.badge-tts {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
}

.badge-mt {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
}

/* Feature Pills Row */
.feature-pills-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.feature-pill-item {
    flex: 1;
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    padding: 6px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.feature-pill-item:hover {
    background: rgba(51, 65, 85, 0.85);
    border-color: var(--accent-cyan);
}

.pill-title-zh {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.pill-title-en {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Compact GitHub Repository Box (Left Bottom) */
.github-repo-compact-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-left: 3.5px solid var(--accent-cyan);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.github-repo-compact-box:hover {
    border-color: var(--accent-cyan-bright);
    transform: translateY(-2px);
}

.repo-qr-wrapper {
    background: #ffffff;
    padding: 3px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.repo-qr-img {
    width: 68px;
    height: 68px;
    display: block;
    border-radius: 4px;
}

.repo-meta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.repo-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.repo-name {
    font-family: var(--font-mono);
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.repo-desc {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.repo-tags-row {
    display: flex;
    gap: 6px;
    margin-top: 2px;
}

.repo-tag {
    font-size: 0.64rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.repo-tag.gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold-bright);
    border-color: rgba(245, 158, 11, 0.35);
}

/* -------------------------------------------------------------
   Slide 15 Right Card: Live Q&A Translation Panel (Audience En -> Zh)
   ------------------------------------------------------------- */
.qa-live-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.qa-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qa-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 4px 10px;
    border-radius: 20px;
    font-family: var(--font-badge);
    font-size: 0.72rem;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #34d399; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.qa-stream-box {
    background: rgba(10, 15, 29, 0.75);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qa-stream-box.en-box {
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-left: 3px solid var(--accent-cyan);
}

.qa-stream-box.zh-box {
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    border-left: 3.5px solid var(--accent-gold);
    background: linear-gradient(145deg, rgba(20, 30, 55, 0.9) 0%, rgba(10, 16, 32, 0.95) 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(245, 158, 11, 0.08);
}

.qa-box-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    color: #94a3b8;
}

.qa-lang-tag {
    font-family: var(--font-badge);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.qa-lang-tag.en {
    background: rgba(56, 189, 248, 0.2);
    color: var(--accent-cyan);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.qa-lang-tag.zh {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-gold-bright);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.qa-text-display {
    line-height: 1.45;
}

.qa-text-display.en {
    font-size: 0.86rem;
    color: #e2e8f0;
    font-style: italic;
}

.qa-text-display.zh {
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
.qa-placeholder {
    color: #64748b;
    font-style: italic;
    font-size: 0.86rem;
}

.qa-placeholder.zh {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    font-style: normal;
}

.qa-footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    color: #94a3b8;
}

.qa-footer-info span {
    color: #cbd5e1;
    font-weight: 500;
}


