


@font-face {
  font-family: 'CharisIPA';
  src: url('/fonts/CharisSIL-IPA-Latin.woff2?v=2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  
  unicode-range: U+0020-007E, U+0080-024F, U+0250-02AF, U+02B0-02FF, U+0300-036F, U+1E00-1EFF;
}


.global-isolated-component,
.global-isolated-component *:where(:not(.artx, .artx *)) {
  
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  text-shadow: none !important;
  pointer-events: auto !important;
  
}


.global-isolated-component {
  
  
}


html body .v253-jingting-popup.global-isolated-component .wp-en,
html body .v253-jingting-popup.global-isolated-component .word-pair .wp-en {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
  background-image: none !important;
  background-color: transparent !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
html body .v253-jingting-popup.global-isolated-component .wp-cn,
html body .v253-jingting-popup.global-isolated-component .word-pair .wp-cn {
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
  text-shadow: none !important;
  background-image: none !important;
  background-color: transparent !important;
  opacity: 0.9 !important;
}
html body .v253-jingting-popup.global-isolated-component .wp-grammar,
html body .v253-jingting-popup.global-isolated-component .wp-en-kept {
  color: #fbbf24 !important;
  -webkit-text-fill-color: #fbbf24 !important;
  text-shadow: none !important;
}


html body .v253-jingting-popup.global-isolated-component .v253-jingting-seg {
  border-color: rgba(167, 139, 250, 0.5) !important;
  color: #ddd6fe !important;
  -webkit-text-fill-color: #ddd6fe !important;
  background: rgba(167, 139, 250, 0.10) !important;
  text-shadow: none !important;
}
html body .v253-jingting-popup.global-isolated-component .v253-jingting-seg:hover {
  background: rgba(167, 139, 250, 0.22) !important;
  border-color: #a78bfa !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body .v253-jingting-popup.global-isolated-component .v253-jingting-seg.v253-cinema-seg-active {
  background: rgba(167, 139, 250, 0.35) !important;
  border-color: #c4b5fd !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.4) !important;
}
html body .v253-jingting-popup.global-isolated-component .v253-jingting-seg-dur {
  color: rgba(221, 214, 254, 0.7) !important;
  -webkit-text-fill-color: rgba(221, 214, 254, 0.7) !important;
  font-size: 0.85em !important;
  margin-left: 4px !important;
}



html body .v253-jingting-popup.global-isolated-component .v253-jingting-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  opacity: 1 !important;
}
html body .v253-jingting-popup.global-isolated-component .v253-jingting-header,
html body .v253-jingting-popup.global-isolated-component .v253-jingting-header * {
  opacity: 1 !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jingting-spiral {
  color: #e9d5ff !important;
  -webkit-text-fill-color: #e9d5ff !important;
  border-color: rgba(167, 139, 250, 0.5) !important;
  background: rgba(167, 139, 250, 0.12) !important;
}
html body .v253-jingting-popup.global-isolated-component .v253-jingting-spiral.active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(167, 139, 250, 0.32) !important;
  border-color: #c4b5fd !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jingting-blind {
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
  border-color: rgba(252, 211, 77, 0.5) !important;
  background: rgba(252, 211, 77, 0.10) !important;
}
html body .v253-jingting-popup.global-isolated-component .v253-jingting-blind.active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.78), rgba(139, 92, 246, 0.78)) !important;
  border-color: #c4b5fd !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jingting-close {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 0.9 !important;
}
html body .v253-jingting-popup.global-isolated-component .v253-jingting-close:hover {
  opacity: 1 !important;
}



html body .v253-jingting-popup.global-isolated-component .v253-jt-trans-wrapper {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px dashed rgba(167, 139, 250, 0.32) !important;
  background: transparent !important;
  filter: none !important;
  opacity: 1 !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jt-trans-row,
html body .v253-jingting-popup.global-isolated-component .v253-jt-trans-row * {
  color: #f5f3ff !important;
  -webkit-text-fill-color: #f5f3ff !important;
  text-shadow: none !important;
  background-image: none !important;
  filter: none !important;
  opacity: 1 !important;
  font-size: 14.5px !important;
  line-height: 1.78 !important;
  font-weight: 500 !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jt-trans-label {
  display: inline-block !important;
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
  background: rgba(253, 230, 138, 0.14) !important;
  border: 1px solid rgba(253, 230, 138, 0.3) !important;
  border-radius: 4px !important;
  padding: 1px 7px !important;
  margin-right: 8px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  vertical-align: 2px !important;
}


html body .v253-jingting-popup.global-isolated-component .v253-jingting-section-title {
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.4px !important;
  margin-bottom: 12px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid rgba(253, 230, 138, 0.18) !important;
}


html body .v253-jingting-popup.global-isolated-component .v253-jingting-phonetic-body,
html body .v253-jingting-popup.global-isolated-component .v253-jingting-phonetic-body * {
  color: #f3f4f6 !important;
  -webkit-text-fill-color: #f3f4f6 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jt-row {
  margin-bottom: 12px !important;
  padding: 10px 12px !important;
  background: rgba(167, 139, 250, 0.08) !important;
  border-left: 3px solid rgba(167, 139, 250, 0.5) !important;
  border-radius: 6px !important;
}
html body .v253-jingting-popup.global-isolated-component .v253-jt-row-label {
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
  letter-spacing: 0.05em !important;
}
html body .v253-jingting-popup.global-isolated-component .v253-jt-marked,
html body .v253-jingting-popup.global-isolated-component .v253-jt-ipa,
html body .v253-jingting-popup.global-isolated-component .v253-jt-annot {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #f3f4f6 !important;
  -webkit-text-fill-color: #f3f4f6 !important;
  
  font-family: 'Charis SIL', 'Doulos SIL', 'Noto Sans', 'Lucida Sans Unicode',
               'Segoe UI', -apple-system, 'Helvetica Neue', 'PingFang SC',
               'Microsoft YaHei', 'Source Han Sans CN', sans-serif !important;
  text-rendering: optimizeLegibility !important;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1 !important;
  -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1 !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jt-ipa {
  font-family: 'Charis SIL', 'Doulos SIL', 'Noto Sans Mono', 'Cambria',
               'Lucida Sans Unicode', 'Segoe UI', -apple-system,
               'Times New Roman', serif !important;
  text-rendering: optimizeLegibility !important;
  color: #fef3c7 !important;
  -webkit-text-fill-color: #fef3c7 !important;
  letter-spacing: 0.02em !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jt-marked {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 500 !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jt-annot {
  color: #e0e7ff !important;
  -webkit-text-fill-color: #e0e7ff !important;
  line-height: 1.7 !important;
}

html body .v253-jingting-popup.global-isolated-component .v253-jt-cache-hint {
  color: rgba(196, 181, 253, 0.7) !important;
  -webkit-text-fill-color: rgba(196, 181, 253, 0.7) !important;
  font-size: 11px !important;
  margin-top: 4px !important;
  text-align: right !important;
}






body.decode-l1 .srt-block .wp-en:not(.wp-punct) {
    visibility: hidden !important;
}
body.decode-l1 .srt-block .word-pair.revealed .wp-en:not(.wp-punct),
body.decode-l1 .srt-block .row-interlinear.revealed .wp-en:not(.wp-punct) {
    visibility: visible !important;
}


body.decode-l1 .srt-block .row-interlinear.revealed {
    background: rgba(99, 102, 241, 0.06);
    border-radius: 4px;
    transition: background 0.2s;
}


body.cinema-flow-v3-review .srt-block .wp-en:not(.wp-punct) {
    visibility: hidden !important;
}
body.cinema-flow-v3-review .srt-block .word-pair.revealed .wp-en:not(.wp-punct),
body.cinema-flow-v3-review .srt-block .row-interlinear.revealed .wp-en:not(.wp-punct) {
    visibility: visible !important;
}

body.cinema-flow-v3-review .srt-block .row-interlinear.revealed {
    background: rgba(99, 102, 241, 0.06);
    border-radius: 4px;
    transition: background 0.2s;
}


body.decode-l1 .wp-grammar { display: none !important; }

.srt-block .word-pair .wp-en-kept,
.srt-block .word-pair .wp-cn.wp-en-kept,
.row-interlinear .wp-en-kept {
    font-size: 0.65em !important;  
    line-height: 1.45 !important;
    display: block !important;
    opacity: 0.55 !important;
    font-style: italic !important;
    vertical-align: baseline !important;
}
body.decode-l1 .wp-en-kept { opacity: 0.5 !important; }
body.decode-l2 .wp-en-kept { opacity: 0.6 !important; }
body.decode-l3 .wp-en-kept { opacity: 0.7 !important; }
body.decode-l1 .phrase-en { opacity: 0.45 !important; font-size: 0.85em !important; }


body.decode-l2 .wp-grammar { opacity: 0.5 !important; font-size: 0.75em !important; }
body.decode-l2 .wp-en-kept { opacity: 0.6 !important; }

body.decode-l1 .wp-cn-abbr,
body.decode-l2 .wp-cn-abbr { opacity: 0.42 !important; font-size: 0.72em !important; color: var(--color-gray-300) !important; margin-left: 1px; }
body.decode-l3 .wp-cn-abbr { opacity: 0.55 !important; font-size: 0.78em !important; color: #94a3b8 !important; margin-left: 1px; }



.cinema-subtitle-area body.decode-l1 .wp-en:not(.wp-punct),
body.decode-l1 .cinema-subtitle-area .wp-en:not(.wp-punct) { opacity: 0.4 !important; font-size: 0.85em !important; font-style: italic !important; }
body.decode-l1 .cinema-subtitle-area .wp-grammar { display: none !important; }
body.decode-l1 .cinema-subtitle-area .wp-en-kept { opacity: 0.3 !important; font-style: italic !important; font-size: 0.8em !important; }



:root {
    
    --color-primary-50:  #EEF2FF;   
    --color-primary-100: #E0E7FF;   
    --color-primary-200: #C7D2FE;   
    --color-primary-300: #A5B4FC;
    --color-primary-400: #818CF8;   
    --color-primary-500: #6366F1;
    --color-primary-600: #4F46E5;   
    --color-primary-700: #4338CA;   
    --color-primary-800: #3730A3;
    --color-primary-900: #312E81;   

    
    --color-success:    #22C55E;
    --color-success-bg: #DCFCE7;
    --color-warning:    #F59E0B;
    --color-warning-bg: #FEF3C7;
    --color-danger:     #EF4444;
    --color-danger-bg:  #FEE2E2;
    --color-info:       #06B6D4;
    --color-info-bg:    #CFFAFE;

    
    --color-gray-50:  #F8FAFC;
    --color-gray-100: #F1F5F9;
    --color-gray-200: #E2E8F0;
    --color-gray-300: #CBD5E1;
    --color-gray-400: #94A3B8;
    --color-gray-500: #64748B;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1E293B;
    --color-gray-900: #0F172A;

    
    --font-xs:   11px;
    --font-sm:   12px;
    --font-base: 14px;
    --font-md:   15px;
    --font-lg:   17px;
    --font-xl:   20px;
    --font-2xl:  24px;
    --font-3xl:  32px;

    
    --leading-tight: 1.2;
    --leading-base:  1.5;
    --leading-loose: 1.8;
    --font-normal:   400;
    --font-medium:   500;
    --font-semibold: 600;
    --font-bold:     700;

    
    --space-1: 2px;
    --space-2: 4px;
    --space-3: 6px;
    --space-4: 8px;
    --space-5: 12px;
    --space-6: 16px;
    --space-7: 24px;
    --space-8: 32px;

    
    --radius-xs:   4px;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-full: 999px;

    
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
    --shadow-md: 0 4px 14px rgba(79,70,229,0.12);
    --shadow-lg: 0 8px 32px rgba(79,70,229,0.18);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.30);

    
    --z-base:       1;
    --z-dropdown:   50;
    --z-sticky:     100;
    --z-nav:        500;
    --z-sidebar:    2000;
    --z-modal:      5000;
    --z-overlay:    8000;
    --z-popover:    9000;
    --z-toast:      10000;
    --z-onboarding: 100000;
    --z-dict:       200000;
    --z-top:        200002;

    
    --motion-fast:    0.15s ease;
    --motion-base:    0.25s ease;
    --motion-slow:    0.4s  ease;
    --motion-slowest: 0.6s  cubic-bezier(0.4,0,0.2,1);

    
    --primary:           var(--color-primary-600);
    --accent:            var(--color-primary-400);
    --bg:                var(--color-primary-50);
    --paper:             #ffffff;
    --border:            var(--color-primary-100);
    --gold:              var(--color-warning);
    --dark:              #1E1B4B;
    --text-main:         var(--color-primary-900);
    --text-sub:          var(--color-gray-400);
    --danger:            var(--color-danger);
    --success:           var(--color-success);
    --mapping-highlight: #00cec9;
    --blur-amount:       8px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text-main); margin: 0; display: flex; height: 100vh; height: 100dvh; overflow: hidden; }

@supports (height: 100dvh) {
    .cinema-embed.v96-fullscreen { height: 100dvh !important; max-height: 100dvh !important; }
    #radio-interface { height: 100dvh !important; }
    
}

.mobile-header { display: none !important; visibility: hidden; width: 0; height: 0; overflow: hidden; font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }


.row-en { font-size: 1.5em; font-weight: 600; margin-bottom: 12px; line-height: 1.6; color: #2d3436; font-family: "Segoe UI", sans-serif; text-align: left; display: flex; flex-wrap: wrap; position: relative; }
.word-span { border-radius: 4px; padding: 1px 3px; margin: 0 1px; transition: all 0.15s ease; cursor: pointer; border-bottom: 2px solid transparent; display: inline-block; pointer-events: auto !important; }
.word-span:hover, .word-span.active-word { background: #ffeaa7; color: #d35400; border-bottom-color: #d35400; transform: scale(1.05); }
.row-decode { background: #ecf0f1; border-left: 4px solid #d35400; padding: 8px 12px; font-size: 1.1em; color: #2c3e50; font-weight: 700; margin-bottom: 6px; border-radius: 4px; line-height: 1.5; text-align: left; }
.row-full { font-size: 0.9em; color: #95a5a6; font-weight: 400; padding-left: 12px; line-height: 1.4; text-align: left; }



@media (max-width: 768px) {
    .mobile-header { display: flex !important; visibility: visible; width: 100%; height: 50px; background: linear-gradient(135deg, #4F46E5, #6366F1); padding: 0 16px; border-bottom: none; align-items: center; justify-content: space-between; z-index: 700; position: fixed; top: 0; box-shadow: 0 2px 12px rgba(79, 70, 229, 0.25); color: white; }
    .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 85%; transform: translateX(-100%); z-index: 2000 !important; transition: transform 0.3s ease; box-shadow: 2px 0 15px rgba(0,0,0,0.2); height: 100vh; }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1900 !important; backdrop-filter: blur(2px); }
    .sidebar-overlay.visible { display: block !important; }
    .sidebar-close-btn { display: flex; } 
    
    .main-content { padding-top: 50px; scroll-padding-top: 60px; }
    .content-wrapper { padding: 0 10px !important; padding-top: 30px !important; padding-bottom: 160px; width: 100%; max-width: 100vw; margin: 0; overflow-x: hidden; }
    .srt-block { padding: 0; margin-bottom: 0 !important; border-radius: 0 !important; box-shadow: none !important; border: none !important; border-bottom: 1px solid #eee !important; width: 100%; }
    .block-header { padding: 5px 12px; font-size: 0.85em; height: 32px; background: #fdfdfd; }
    .block-content { padding: 12px 5px 20px 5px; width: 100%; }
    .row-en { font-size: 18px !important; }
    .word-span { padding: 0 !important; margin: 0 1px !important; border-bottom: none !important; }
    .row-audio { margin-bottom: 12px; gap: 8px; height: 32px; width: 100%; }

    #radio-interface { position: fixed; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; background: #000 !important; color: #f0f0f0 !important; z-index: 5000 !important; }
    .dj-navbar { display: flex !important; justify-content: space-between !important; padding: 10px 15px; width: 100%; background: #111; flex: 0 0 auto; min-height: 50px; padding-top: max(15px, env(safe-area-inset-top)); border-bottom: 1px solid #333; position: sticky; top: 0; z-index: 6000; }
    .mode-switch-btn, .exit-btn { position: static !important; font-size: 14px !important; padding: 8px 16px !important; border-radius: 20px; background: rgba(255,255,255,0.15) !important; color: white !important; border: 1px solid #555 !important; display: inline-block !important; visibility: visible !important; }
    
    .dj-center-stage { margin: 0; width: 100%; max-width: 100%; height: 100%; display: flex; flex-direction: column; }
    .dj-fixed-top { 
        position: fixed;
        top: 100px; 
        bottom: 0;
        left: 0;
        width: 100%;
        overflow-y: auto; 
        padding-top: 0; 
        padding-bottom: 80px; 
        display: block;
        background: #000;
    }
    
    .teleprompter { width: 100% !important; padding: 20px 15px; background: #000 !important; border: none !important; text-align: left !important; }
    .tp-en { 
        font-size: 20px !important; 
        font-weight: 500 !important; 
        color: #f1c40f !important; 
        margin-bottom: 15px; 
        text-align: left !important; 
        width: auto !important; 
        margin-left: 10px;
        margin-right: 10px;
        pointer-events: auto; 
        white-space: normal !important; 
        word-wrap: break-word !important; 
        overflow-wrap: break-word !important;
        line-height: 1.6;
        padding: 0;
        display: block !important;
    }
    
    
    .mobile-dj-actions {
        position: fixed;
        top: 50px; 
        left: 0; 
        width: 100%; 
        height: 50px;
        background: #111; 
        border-bottom: 1px solid #333;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        z-index: 6000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    .pc-dj-actions { display: none !important; }
    .action-pill {
        background: rgba(255,255,255,0.1);
        border: 1px solid #555;
        color: #eee;
        padding: 6px 20px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: 0.2s;
    }
    .action-pill:active { transform: scale(0.95); background: rgba(255,255,255,0.2); }
    .action-pill.btn-rev { border-color: #3498db; color: #3498db; }
    .action-pill.btn-fav { border-color: #f1c40f; color: #f1c40f; }

    .teleprompter.mode-blind .tp-en { filter: blur(5px); opacity: 0.3; transition: 0.2s; }
    .teleprompter.mode-blind .dj-info-pod { visibility: hidden; opacity: 0; }
    .teleprompter.mode-blind:active .tp-en, .teleprompter.mode-blind:hover .tp-en { filter: blur(0); opacity: 1; }
    .teleprompter.mode-blind:active .dj-info-pod, .teleprompter.mode-blind:hover .dj-info-pod { visibility: visible; opacity: 1; }

    .dj-info-pod { width: 100%; background: transparent !important; padding: 0; text-align: left; }
    .tp-decode { font-size: 16px; color: #3498db !important; margin-bottom: 5px; }
    .tp-cn { font-size: 15px; color: #7f8c8d !important; } 
    .teleprompter.mode-mapping .tp-en { filter: blur(4px); opacity: 0.5; }
    .teleprompter.mode-mapping .tp-en:hover { filter: blur(0); opacity: 1; }
    .teleprompter.mode-full .tp-en, .teleprompter.mode-full .dj-info-pod { filter: none; opacity: 1; visibility: visible; }

    .dj-tab-header { 
        order: unset;
        display: flex; 
        background: #111 !important; 
        border-bottom: 1px solid #333 !important; 
        padding: 0; 
        position: sticky; 
        top: 0; 
        z-index: 5500; 
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    .dj-tab-btn { flex: 1; padding: 12px; border: none; background: transparent; font-weight: bold; color: #666 !important; font-size: 15px; cursor: pointer; border-bottom: 3px solid transparent; transition: 0.2s; }
    .dj-tab-btn.active { color: #f1c40f !important; border-bottom-color: #f1c40f !important; background: #222 !important; }
    .clear-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: transparent; color: #e74c3c; border: 1px solid #e74c3c; padding: 4px 10px; border-radius: 12px; font-size: 12px; display: none; }
    .mixer-container { order: 3; padding-bottom: 60vh !important; width: 100%; } 
    .panel-box { width: 100%; border: none; background: transparent; padding: 0 !important; }
    .list-item { padding: 12px 15px; border-bottom: 1px solid #222; background: #000 !important; color: #aaa !important; }
    .list-item.playing { background: #111 !important; color: #f1c40f !important; font-weight: bold; border-left: 4px solid #f1c40f; }
    
    .control-deck { position: fixed; bottom: 15px; left: 50%; transform: translateX(-50%); width: auto; max-width: 90%; background: transparent !important ; backdrop-filter: none ; border-radius: 40px; border: none !important ; padding: 8px 20px; z-index: 6000; display: flex; justify-content: center; align-items: center; box-shadow: none ; }
    .ctrl-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; }
    .ctrl-btn, .mode-btn, .speed-select { width: 40px !important; height: 40px !important; border-radius: 50%; background: transparent !important; border: 1px solid #444 !important; color: #eee; display: flex; align-items: center; justify-content: center; font-size: 12px; padding: 0; flex-shrink: 0; }
    .play-btn { width: 50px !important; height: 50px !important; background: #f1c40f !important; color: #000 !important; border: none !important; box-shadow: 0 0 15px rgba(241, 196, 15, 0.4); }
    .progress-container { display: none; } 
    
    #nav-widget { position: fixed !important; bottom: 80px !important; right: 20px !important; z-index: 7000 !important; display: none; flex-direction: column; gap: 10px; }
    .nav-btn { width: 40px; height: 40px; background: rgba(44, 62, 80, 0.9); color: white; border-radius: 50%; border: none; box-shadow: 0 4px 10px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
    .nav-btn:hover { background: var(--accent); transform: translateY(-2px); }
    .add-anki-btn span { display: none; }
    
    
    #week-chart-container { 
        padding: 12px !important; 
        margin-bottom: 15px !important; 
    }
    #week-chart-container h3 { 
        font-size: 0.95em !important; 
        margin: 0 0 10px 0 !important; 
    }
    #week-chart { 
        width: 100% !important; 
        max-width: 320px !important; 
        height: 120px !important; 
        margin: 0 auto !important;
        display: block !important;
    }
    
    
    .hist-meaning { font-size: 0.82em !important; line-height: 1.3 !important; }
    .hist-word { font-size: 1em !important; }
    .hist-row { min-height: 50px !important; }
    .hist-left, .hist-right { padding: 8px 12px !important; }
    
    
    .card-word { font-size: 2.2em !important; word-break: break-word; line-height: 1.2; } 
    .dict-word-header { font-size: 1.8em !important; padding-top: 10px !important; }
    
    
    .card-sent-front { 
        font-size: 0.95em !important; 
        line-height: 1.4 !important; 
        padding: 12px !important; 
        text-align: left !important; 
    }
    .sent-card-back-container { 
        padding: 10px !important; 
        text-align: left !important; 
    }
    .sent-card-back-container .row-en { 
        font-size: 0.95em !important; 
        margin-bottom: 10px !important; 
        text-align: left !important; 
    }
    .sent-card-back-container .row-decode { 
        font-size: 0.88em !important; 
        padding: 6px 8px !important; 
        margin-bottom: 8px !important; 
        line-height: 1.3 !important; 
    }
    .sent-card-back-container .row-full { 
        font-size: 0.82em !important; 
        padding-left: 8px !important; 
        line-height: 1.3 !important; 
    }
    .sent-audio-btn { 
        font-size: 0.85em !important; 
        padding: 6px 14px !important; 
        margin-top: 12px !important; 
    }
    
    
    .flashcard-container {
        justify-content: flex-start !important; 
        padding-top: 0 !important;
    }
    
    
    .card-meaning { font-size: 1.1em !important; line-height: 1.5 !important; }
    .tl-en { font-size: 0.95em !important; }
    .tl-cn { font-size: 0.9em !important; }
    
    
    .tab-focused .dict-word-header { display: block !important; }
    .tab-focused .dict-phonetic { margin-bottom: 5px; }
    
    
    .tab-focused .dict-tab-content, 
    .tab-focused .card-tab-content { 
        height: auto; 
        flex: 1; 
    }
    
    
    .dict-content {
        height: 70vh !important;
        max-height: 70vh !important;
        width: 80% !important;
        max-width: none !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .dict-tab-content {
        flex: 1;
        overflow-y: auto !important; 
        -webkit-overflow-scrolling: touch;
        min-height: 0; 
        padding-bottom: 20px; 
    }
    
    
    
    
    #review-view {
        padding-top: 60px !important;
    }
    .review-dashboard {
        padding-top: 10px !important;
    }
    
    
    .main-content {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    
    .view-container.active,
    #study-plan-view.active,
    #review-view.active,
    #fav-view.active,
    #history-view.active {
        display: block !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    
    #review-card-container {
        display: none !important;
    }
    
    #review-card-container[style*="flex"] {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 70px !important;
        min-height: 100vh !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    
    #unit-review-container {
        display: none !important;
    }
    
    #unit-review-container[style*="block"] {
        display: block !important;
        position: relative !important;
        z-index: 100 !important;
        min-height: 100vh !important;
        padding-top: 60px !important;
    }
    
    
    .flashcard-container {
        justify-content: flex-start !important;
        margin-top: 0 !important;
    }
    
    
    .view-container.active {
        display: block !important;
    }
    
    
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
}


.sidebar { width: 260px; background: #F8FAFF; border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; z-index: 600; transition: transform 0.3s; box-shadow: 2px 0 12px rgba(79, 70, 229, 0.06); }
.session-link { padding: 12px 20px; border-bottom: 1px solid #EEF2FF; cursor: pointer; transition: all 0.2s ease; display: flex; justify-content: space-between; align-items: center; color: var(--text-sub); font-size: 0.92em; border-radius: 0; margin: 0 8px; border-bottom: 1px solid transparent; border-bottom-color: #EEF2FF; }
.session-link:hover { background: #EEF2FF; color: var(--primary); padding-left: 24px; border-radius: 10px; }
.session-link.active { background: linear-gradient(135deg, #4F46E5, #6366F1); color: white; border-left: none; font-weight: 600; padding-left: 20px; border-radius: 10px; box-shadow: 0 3px 12px rgba(79, 70, 229, 0.3); }
.session-link.current-unit { background: #FEF3C7; color: #92400E; border-right: 4px solid #F59E0B; font-weight: 600; border-radius: 10px; }
.session-link.current-unit::after { content: '📍'; margin-left: 8px; }
.book-cover-header { padding: 28px 20px 24px; background: linear-gradient(135deg, #4F46E5, #7C3AED, #6366F1); color: white; text-align: center; position: relative; }
.book-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.85em; font-weight: 700; letter-spacing: 0.5px; opacity: 0.9; margin-bottom: 10px; }
.book-brand svg { opacity: 0.85; }
.book-id-tag { font-size: 0.8em; background: rgba(0,0,0,0.2); padding: 4px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; font-weight: bold; }
.book-title-text { font-size: 1.15em; font-weight: 800; line-height: 1.4; text-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.nav-header { padding: 18px 20px 8px; font-size: 0.7em; color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; opacity: 0.7; }
.special-link { background: #EEF2FF; color: var(--text-main) !important; border-bottom: 1px solid var(--border); border-radius: 10px !important; margin: 2px 8px !important; }
.special-link.active { background: linear-gradient(135deg, #4F46E5, #6366F1) !important; color: white !important; border-left: none; box-shadow: 0 3px 12px rgba(79, 70, 229, 0.3); }
.player-link { background: #1E1B4B; color: rgba(255,255,255,0.8) !important; border-radius: 10px !important; margin: 2px 8px !important; }
.player-link.active { background: #312E81; color: #F59E0B !important; border-left: none; box-shadow: 0 3px 12px rgba(30, 27, 75, 0.3); }
.main-content { flex: 1; overflow-y: auto; position: relative; scroll-behavior: smooth; background: #f4f7f6; }
.content-wrapper { padding: 40px; padding-top: 30px; max-width: 850px; margin: 0 auto; padding-bottom: 150px; }
.srt-block { background: var(--paper); border: 1px solid #e1e4e8; border-radius: 12px; padding: 0; margin-bottom: 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.03); transition: all 0.3s ease; position: relative; }
.srt-block:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.06); transform: translateY(-2px); border-color: #d1d5db; }
.block-header { background: #fdfdfd; padding: 12px 25px; border-bottom: 1px solid #eee; border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; align-items: center; }
.index-badge { background: #ebedef; color: #636e72; padding: 4px 10px; border-radius: 6px; font-family: monospace; font-weight: bold; font-size: 0.9em; }
.block-content { padding: 30px 40px; }
.row-audio { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.row-audio audio { flex: 1; height: 36px; border-radius: 18px; background: #f1f3f4; outline: none; }
.mic-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ddd; background: white; color: #555; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.mic-btn:hover { background: #f0f0f0; transform: scale(1.1); }

.trans-wrapper.blurred { filter: none; opacity: 0.7; user-select: text; }
.trans-wrapper.blurred:hover, .trans-wrapper.blurred:active { filter: none; opacity: 1; user-select: text; }
.trans-wrapper .row-full { font-size: 12px !important; line-height: 1.55; }

.trans-wrapper .row-full-label { font-size: 12px !important; }
.btn-group { display: flex; gap: 15px; align-items: center; }
.fav-star { font-size: 1.6em; cursor: pointer; color: #ddd; transition: 0.2s; line-height: 1; }
.fav-star:hover { color: #ffeaa7; transform: scale(1.2); }
.fav-star.active { color: var(--gold); }
.add-anki-btn { background: white; border: 1px solid var(--accent); color: var(--accent); padding: 6px 16px; border-radius: 20px; font-size: 0.85em; font-weight: bold; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 6px; }
.add-anki-btn:hover { background: var(--accent); color: white; }
.add-anki-btn.added { background: var(--success); border-color: var(--success); color: white; }
.action-area { display: flex; gap: 15px; }
.big-btn { padding: 10px 25px; border-radius: 50px; border: none; font-weight: bold; cursor: pointer; color: white; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95em; transition: 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.big-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }
.rec-import-btn { background: linear-gradient(135deg, #4F46E5, #818CF8); }
.anki-export-btn { background: #34495e; }
.unit-review-card { background: linear-gradient(135deg, #2c3e50, #4ca1af); color: white; border-radius: 15px; padding: 30px; text-align: center; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.review-title { font-size: 1.8em; font-weight: bold; margin-bottom: 10px; }
.review-desc { opacity: 0.9; margin-bottom: 20px; }
.go-dj-btn { background: white; color: #2c3e50; border: none; padding: 12px 30px; border-radius: 30px; font-weight: bold; cursor: pointer; font-size: 1em; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.2s; }
.go-dj-btn:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.exit-btn { background: rgba(255,255,255,0.1); border: 1px solid #555; color: #ccc; padding: 8px 16px; border-radius: 20px; cursor: pointer; font-size: 0.9em; transition: 0.2s; margin-left: 10px; }
.exit-btn:hover { background: #e74c3c; color: white; border-color: #e74c3c; }
    .mode-switch-btn { position: static !important; background: rgba(255,255,255,0.1); border: 1px solid #555; color: #aaa; cursor: pointer; padding: 6px 15px; border-radius: 30px; font-size: 0.85em; transition: 0.2s; }
    .mode-switch-btn:hover { background: #333; color: white; border-color: white; }

    .dict-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 200000 !important; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.dict-content { background: white; width: 90%; max-width: 500px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); text-align: center; position: relative; animation: popIn 0.3s; overflow: hidden; display: flex; flex-direction: column; max-height: 85vh; }
@keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

#dict-content-body { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.dict-tabs { display: flex; border-bottom: 1px solid #eee; background: #f8f9fa; flex-shrink: 0; }
.dict-tab { flex: 1; padding: 8px 2px; text-align: center; cursor: pointer; color: #7f8c8d; font-weight: bold; font-size: 0.85em; transition: 0.2s; border-bottom: 3px solid transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 480px) {
    .dict-tabbar-row .dict-tab { font-size: 0.76em; padding-left: 0; padding-right: 0; letter-spacing: -0.3px; }
}
.dict-tab.active { color: var(--accent); border-bottom-color: var(--accent); background: white; }

.dict-tab .dict-hist-n { display: inline-block; min-width: 14px; margin-left: 3px; padding: 0 4px; border-radius: 8px; font-size: 0.85em; line-height: 1.45; font-weight: 600; background: var(--color-gray-200); color: var(--color-gray-700); }
.dict-tab .dict-hist-plus { display: inline-block; margin-left: 2px; padding: 0 4px; border-radius: 8px; font-size: 0.85em; line-height: 1.45; font-weight: 700; background: var(--color-warning); color: var(--color-gray-900); animation: dictHistPlus 1s ease-in-out 3; }
.dict-tabs .dict-tab[data-i="2"] { flex: 1.7 1 0; text-overflow: clip; }   
@keyframes dictHistPlus { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } } 
@media (prefers-reduced-motion: reduce) { .dict-tab .dict-hist-plus { animation: none; } }


.dict-tabbar-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    flex-shrink: 0;            
}
.dict-tabbar-row .dict-tabs {
    flex: 1;
    border-bottom: none;       
    background: transparent;
    min-width: 0;              
}

.dict-tabbar-row .dict-close {
    position: static;
    top: auto; right: auto;
    flex-shrink: 0;
    width: 38px;
    height: auto;
    align-self: stretch;
    border-radius: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 1.15em;
}
.dict-tabbar-row .dict-close:hover { background: #eef0f2; color: #475569; transform: none; }

.dict-tabbar-row .dict-back {
    position: static;
    top: auto; left: auto;
    flex-shrink: 0;
    width: 36px;
    height: auto;
    align-self: stretch;
    border-radius: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 1.05em;
    border: none;
    cursor: pointer;
}
.dict-tabbar-row .dict-back:hover { background: #eef0f2; color: #475569; transform: none; }
.dict-tab-content { display: none; padding: 20px; text-align: left; animation: fadeIn 0.2s; flex: 1; overflow-y: auto; min-height: 0; }
.dict-tab-content.active { display: block !important; }

.dict-word-header { font-size: 2em; font-weight: 800; color: #2c3e50; margin-bottom: 10px; text-align: center; padding-top: 15px; flex-shrink: 0;
    
    max-width: 100%; box-sizing: border-box; padding-left: 12px; padding-right: 12px;
    overflow-wrap: anywhere; word-break: break-word; line-height: 1.2; }

.dict-phonetic {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;                    
    gap: 6px;
    padding: 0 2px;
}

.dict-phonics-teach {
    cursor: pointer;
    margin: 2px 2px 10px;
    padding: 7px 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.92em;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    box-shadow: 0 2px 6px rgba(99,102,241,0.28);
    user-select: none;
    transition: opacity .15s;
}
.dict-phonics-teach.loading { opacity: .7; }
.dict-phonics-teach.disabled {
    cursor: default;
    color: #94a3b8;
    background: #f1f5f9;
    box-shadow: none;
}

.dict-phonics-layer:empty { display: none; }
.dict-phonics-layer { margin: 0 2px 10px; }
.ph-layer-inner {
    background: #faf8ff;
    border: 1px solid #ede9fe;
    border-radius: 12px;
    padding: 12px 12px 10px;
}
.ph-head { text-align: right; margin-bottom: 6px; }
.ph-dict-toggle, .ph-reveal-btn {
    display: inline-block; cursor: pointer; user-select: none;
    font-size: 0.76em; padding: 3px 10px; border-radius: 999px; margin-left: 6px;
}
.ph-dict-toggle { color: #6b7280; background: #f1f5f9; }
.ph-dict-toggle.on { color: #fff; background: linear-gradient(135deg,#7c3aed,#6366f1); }
.ph-reveal-btn { color: #fff; background: linear-gradient(135deg,#f59e0b,#d97706); }

.ph-dictation:not(.ph-revealed) .ph-row-syl,
.ph-dictation:not(.ph-revealed) .ph-row-letters {
    filter: blur(7px); transition: filter .25s; user-select: none;
}
.ph-row { text-align: center; line-height: 1.9; }
.ph-row-syl { font-size: 1.02em; margin-bottom: 8px; }
.ph-syl { display: inline-block; margin: 0 1px; }
.ph-syl b { color: #4c1d95; }
.ph-syl i { color: #7c3aed; font-style: normal; font-size: 0.82em; margin-left: 3px; }
.ph-plus, .ph-eq { color: #a78bfa; margin: 0 5px; font-weight: 700; }
.ph-syl-whole b { color: #6d28d9; }

.ph-syl.ph-syl-active { background: #ede9fe; border-radius: 7px; }
.ph-syl.ph-syl-active b { color: #6d28d9; }
.ph-row-letters { font-size: 1.5em; letter-spacing: 2px; margin-bottom: 6px; font-weight: 700; }
.ph-ch { display: inline-block; border-radius: 5px; padding: 0 2px; }
.ph-r-king    { color: #b91c1c; background: #fee2e2; }      
.ph-r-soldier { color: #1e3a8a; background: #dbeafe; }      
.ph-r-silent  { color: #94a3b8; background: #f1f5f9; }      
.ph-r-conductor { color: #92400e; background: #fef3c7; }    
.ph-legend { text-align: center; margin: 4px 0 8px; }
.ph-lg {
    display: inline-block; font-size: 0.74em; margin: 2px 4px;
    padding: 2px 8px; border-radius: 999px;
}
.ph-tips { border-top: 1px dashed #ede9fe; padding-top: 8px; }
.ph-tip {
    font-size: 0.82em; color: #6b7280; line-height: 1.7;
    text-align: left; padding: 1px 2px;
}
.ph-tip b { color: #7c3aed; }

.ph-inline-layer { margin: 6px 2px 4px; text-align: left; }

.ph-in-g { border-radius: 5px 5px 2px 2px; }
.ph-g-digraph { box-shadow: inset 0 -4px 0 rgba(59,130,246,0.55); }   
.ph-g-team    { box-shadow: inset 0 -4px 0 rgba(245,158,11,0.60); }   
.ph-g-rctrl   { box-shadow: inset 0 -4px 0 rgba(146,90,32,0.55); }    
.ph-g-double  { box-shadow: inset 0 -4px 0 rgba(124,58,237,0.45); }   
.ph-soft { text-decoration: underline dotted currentColor; text-underline-offset: 3px; } 

.ph-explain:empty { display: none; }
.ph-exp-btn { display: inline-block; cursor: pointer; user-select: none; font-size: 0.76em; padding: 3px 10px; border-radius: 999px; margin-left: 6px; color: rgba(109,40,217,1); background: rgba(237,233,254,0.9); }

.ph-replay-btn { display: inline-block; cursor: pointer; user-select: none; font-size: 0.82em;
    padding: 4px 14px; border-radius: 999px; margin-left: 6px; font-weight: 700;
    color: rgba(255,255,255,1); background: rgba(79,70,229,.92);
    border: 1px solid rgba(79,70,229,1); box-shadow: 0 2px 8px rgba(79,70,229,.25); }
.ph-layer-inner:has(.ph-teach-cur) .ph-replay-btn { animation: phReplayPulse 1.1s ease-in-out infinite; }
@keyframes phReplayPulse { 50% { box-shadow: 0 0 0 7px rgba(79,70,229,.15); } }
.ph-exp-btn.disabled { opacity: 0.45; cursor: default; }
.ph-exp-inner { margin-top: 8px; padding: 9px 11px; border-radius: 10px; background: rgba(250,245,255,0.92); font-size: 0.86em; line-height: 1.8; color: rgba(76,29,149,0.95); text-align: left; }
.ph-dictation:not(.ph-revealed) .ph-explain { filter: blur(7px); user-select: none; } 
.ph-lg-g-digraph { color: rgba(30,64,175,1); background: rgba(219,234,254,0.9); }
.ph-lg-g-rctrl   { color: rgba(120,72,26,1); background: rgba(231,213,192,0.75); }
.ph-lg-g-double  { color: rgba(91,33,182,1); background: rgba(237,233,254,0.95); }
.ph-lg-soft      { color: rgba(21,94,117,1); background: rgba(207,250,254,0.9); }
.dict-speaker {
    cursor: pointer;
    flex: 1 1 140px;                    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    padding: 5px 8px;
    font-weight: 500;
    transition: all 0.18s ease;
    user-select: none;
    min-width: 0;
}
.dict-speaker:hover { transform: translateY(-1px); }
.dict-speaker:active { transform: translateY(0); }
.dict-speaker-label {
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}
.dict-speaker-ipa {
    font-family: "Charis SIL", "Doulos SIL", "Gentium Plus", Georgia, serif;
    font-size: 13.5px;
    letter-spacing: 0.2px;
    white-space: normal;                
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;            
    min-width: 0;
}
.dict-speaker-icon { font-size: 13px; opacity: 0.65; flex-shrink: 0; }
.dict-speaker-us {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    color: #1e40af;
}
.dict-speaker-us .dict-speaker-label { background: #3b82f6; color: #fff; }
.dict-speaker-us:hover { box-shadow: 0 2px 6px rgba(59, 130, 246, 0.18); border-color: #60a5fa; }
.dict-speaker-uk {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    color: #991b1b;
}
.dict-speaker-uk .dict-speaker-label { background: #ef4444; color: #fff; }
.dict-speaker-uk:hover { box-shadow: 0 2px 6px rgba(239, 68, 68, 0.18); border-color: #f87171; }

@media (max-width: 414px) {
    .dict-phonetic { gap: 5px; margin-bottom: 8px; }
    .dict-speaker { padding: 4px 6px; gap: 4px; }
    .dict-speaker-label { font-size: 10px; padding: 1px 4px; }
    .dict-speaker-ipa { font-size: 12.5px; }
    .dict-speaker-icon { font-size: 12px; }
}
.dict-def-text { line-height: 1.6; color: #34495e; font-size: 1.1em; text-align: left; }

.dict-extra-section { margin-top:16px; padding-top:12px; border-top:1px dashed #eee; text-align:left; }
.dict-extra-label { font-size:0.8em; font-weight:600; color:var(--accent); margin-bottom:4px; }
.dict-extra-text { font-size:0.9em; color:#555; line-height:1.5; }
.dict-phrase-item { display:flex; gap:8px; margin-bottom:6px; font-size:0.9em; }
.dict-phrase-en { color:#2c3e50; font-weight:500; flex-shrink:0; }
.dict-phrase-cn { color:#7f8c8d; }
.dict-close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; background: #eee; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #888; font-weight: bold; z-index: 10; transition: 0.2s; }
.dict-close:hover { background: #ddd; transform: scale(1.1); }

.dict-back { 
    position: absolute; 
    top: 10px; 
    left: 10px;
    width: 30px;
    height: 30px;
    background: #eee; 
    color: #888; 
    border-radius: 50%;
    cursor: pointer; 
    font-weight: bold; 
    font-size: 1.2em; 
    z-index: 10; 
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dict-back:hover { 
    background: #ddd;
    transform: scale(1.1); 
}
.dict-back:active {
    transform: scale(0.95);
}

.dict-footer { padding: 14px 16px; border-top: 1px solid #f1f5f9; background: #fafafa; display: flex; gap: 10px; justify-content: center; align-items: center; flex-shrink: 0; margin-top: auto; }
.save-word-btn {
    padding: 10px 22px;
    border-radius: 22px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.save-word-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35); }
.save-word-btn:active { transform: translateY(0); }
.btn-auto { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.web-search-link {
    padding: 10px 18px;
    border-radius: 22px;
    background: #fff;
    color: #6366f1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s;
    border: 1.5px solid #c7d2fe;
    display: flex;
    align-items: center;
    gap: 5px;
}
.web-search-link:hover {
    transform: translateY(-1px);
    background: #eef2ff;
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}
.fav-ctrl-row { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; padding: 0 5px; flex-wrap: wrap; }
.fav-btn { padding: 6px 12px; border-radius: 15px; border: none; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 5px; font-size: 0.85em; transition: 0.2s; white-space: nowrap; }

.btn-back { background: #fff; color: #475569; border: 1.5px solid #cbd5e1; }
.btn-back:hover, .btn-back:active { background: #f1f5f9; border-color: #94a3b8; transform: translateX(-2px); }
.btn-play-all { background: var(--gold); color: black; }
.btn-play-sel { background: var(--primary); color: white; }
.btn-clear-all { background: #fee; color: var(--danger); border: 1px solid #fcc; margin-left: auto; }
.fav-check-input { width: 18px; height: 18px; margin-right: 10px; cursor: pointer; accent-color: var(--accent); }
.sidebar-close-btn { position: absolute; top: 15px; right: 15px; width: 30px; height: 30px; background: #f1f2f6; border-radius: 50%; color: #555; display: none; align-items: center; justify-content: center; cursor: pointer; font-weight: bold; transition: 0.2s; z-index: 20; }
.sidebar-close-btn:hover { background: var(--danger); color: white; }
.review-dashboard { padding: 20px; }
.review-header-box { text-align: center; margin-bottom: 24px; color: #1e293b; }
.review-header-box h2 { font-size: 1.5em; font-weight: 800; color: #6366f1; background: linear-gradient(135deg, #6366f1, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stats-container { display: flex; gap: 12px; margin-bottom: 24px; overflow-x: visible; padding-bottom: 10px; flex-wrap: wrap; justify-content: center; }
.stat-card { flex: 1 1 70px; min-width: 70px; background: #ffffff; padding: 16px 8px; border-radius: 20px; box-shadow: 0 4px 6px rgba(79, 70, 229, 0.06), 0 10px 20px rgba(79, 70, 229, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8); text-align: center; display: flex; flex-direction: column; align-items: center; border: 2px solid #E0E7FF; transition: all 0.2s ease; }
.stat-card:active { transform: scale(0.97); }
.stat-card.inbox { border-color: #BFDBFE; background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.stat-card.words { border-color: #C7D2FE; background: linear-gradient(135deg, #EEF2FF, #E0E7FF); }
.stat-card.sents { border-color: #DDD6FE; background: linear-gradient(135deg, #F5F3FF, #EDE9FE); }
.stat-card.today { border-color: #BBF7D0; background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }
.stat-icon { font-size: 1.6em; margin-bottom: 6px; }
.stat-value { font-size: 1.6em; font-weight: 800; color: #1e293b; }
.stat-card span:last-child { font-size: 0.75em; color: #64748b; font-weight: 600; margin-top: 2px; }
.review-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 24px; }
.mode-card { display: flex; align-items: center; padding: 18px; border-radius: 20px; background: white; border: 2px solid transparent; box-shadow: 0 4px 6px rgba(79, 70, 229, 0.06), 0 10px 20px rgba(79, 70, 229, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8); cursor: pointer; transition: all 0.2s ease; text-align: left; }
.mode-card:hover { box-shadow: 0 8px 16px rgba(79, 70, 229, 0.12), 0 16px 32px rgba(79, 70, 229, 0.08); border-color: rgba(99, 102, 241, 0.3); }
.mode-card:active { transform: scale(0.98); }
.history-mode { background: linear-gradient(135deg, #60a5fa, #3b82f6); color: white; border-color: transparent; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.history-mode:hover { box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4); border-color: transparent; }
.mode-card[onclick*="'manual', 'word'"] { background: linear-gradient(135deg, #a78bfa, #7c3aed); color: white; border-color: transparent; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.mode-card[onclick*="'manual', 'word'"]:hover { box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4); border-color: transparent; }
.mode-card[onclick*="'manual', 'word'"] .mode-title,
.mode-card[onclick*="'manual', 'word'"] .mode-desc { color: white; }
.mode-card[onclick*="'manual', 'sentence'"] { background: linear-gradient(135deg, #f472b6, #ec4899); color: white; border-color: transparent; box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.mode-card[onclick*="'manual', 'sentence'"]:hover { box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4); border-color: transparent; }
.mode-card[onclick*="'manual', 'sentence'"] .mode-title,
.mode-card[onclick*="'manual', 'sentence'"] .mode-desc { color: white; }
.history-mode .mode-title,
.history-mode .mode-desc { color: white !important; }
.mode-icon-box { font-size: 2.2em; margin-right: 16px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.2); border-radius: 16px; flex-shrink: 0; }
.mode-title { font-size: 1.1em; font-weight: 800; color: #1e293b; margin-bottom: 4px; }
.mode-desc { font-size: 0.85em; opacity: 0.85; color: #64748b; }
.danger-zone { text-align: center; margin-top: 50px; color: #e74c3c; font-size: 0.8em; opacity: 0.5; cursor: pointer; }
#review-card-container { display: none; flex-direction: column; min-height: 100%; height: auto; justify-content: flex-start; align-items: center; padding: 20px; padding-bottom: 120px; }
.flashcard-container { width: 100%; max-width: 600px; background: #ffffff; border-radius: 24px; box-shadow: 0 4px 6px rgba(79, 70, 229, 0.06), 0 10px 20px rgba(79, 70, 229, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8); padding: 36px; text-align: center; min-height: 300px; max-height: 65vh; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; margin-bottom: 30px; position: relative; border: 2px solid #E0E7FF; transition: all 0.2s ease; }
.card-word { font-size: 3em; font-weight: 800; color: #1e293b; margin-bottom: 20px; word-wrap: break-word; word-break: break-word; hyphens: auto; line-height: 1.2; }
.card-meaning { font-size: 1.5em; color: #475569; line-height: 1.6; }
.card-sent-en { font-size: 1.4em; color: #2980b9; margin-bottom: 15px; font-weight: 600; }
.card-ctx { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #ddd; text-align: left; background: #f9f9f9; padding: 15px; border-radius: 10px; }
.ctx-en { font-size: 1.1em; color: #333; margin-bottom: 8px; }
.ctx-cn { color: #7f8c8d; }
.review-controls-area { display: flex; gap: 20px; width: 100%; max-width: 600px; justify-content: center; flex-wrap: wrap; }
.ctrl-group { display: flex; gap: 15px; width: 100%; justify-content: center; }
.review-btn { flex: 1; padding: 15px; border: none; border-radius: 16px; font-weight: 800; font-size: 1.1em; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6); display: flex; align-items: center; justify-content: center; gap: 8px; }
.review-btn:active { transform: scale(0.97); }
.btn-trash { background: linear-gradient(135deg, #FEE2E2, #FECACA); color: #DC2626; border: 2px solid #FECACA; }
.btn-star { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #D97706; border: 2px solid #FDE68A; }
.btn-forgot { background: linear-gradient(135deg, #FCA5A5, #F87171); color: white; border: 2px solid transparent; }
.btn-remember { background: linear-gradient(135deg, #39FF8C, #34D399); color: white; border: 2px solid transparent; }
.exit-review-btn { margin-top: 30px; background: transparent; border: none; color: #999; cursor: pointer; text-decoration: underline; }
#login-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30,27,75,0.6); z-index: 200000; display: none; justify-content: center; align-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.login-box { background: white; padding: 40px; border-radius: 20px; width: 360px; max-width: 90vw; box-shadow: 0 20px 50px rgba(79,70,229,0.15); animation: loginModalIn 0.3s ease; position: relative; }
@keyframes loginModalIn { from { transform: scale(0.9) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.login-close-btn { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: #EEF2FF; border: none; display: flex; align-items: center; justify-content: center; color: #6B7280; cursor: pointer; transition: all 0.2s; }
.login-close-btn:hover { background: #E0E7FF; color: #1E1B4B; }
.login-title { font-size: 1.5em; font-weight: 700; color: #1E1B4B; margin-bottom: 8px; text-align: center; }
.login-desc { font-size: 0.9em; color: #6B7280; text-align: center; margin-bottom: 24px; }
.auth-view { }
.login-form-group { margin-bottom: 16px; text-align: left; }
.login-form-label { display: block; font-size: 0.85em; font-weight: 600; color: #1E1B4B; margin-bottom: 6px; }
.login-footer { text-align: center; margin-top: 16px; font-size: 0.85em; color: #6B7280; }
.login-footer-link { color: #4F46E5; font-weight: 600; cursor: pointer; }
.login-footer-link:hover { text-decoration: underline; }
.guest-link { text-align: center; margin-top: 16px; font-size: 0.9em; color: #6B7280; cursor: pointer; transition: color 0.2s; }
.guest-link:hover { color: #4F46E5; }
.login-input { width: 100%; padding: 12px 16px; margin: 10px 0; border: 1px solid #E0E7FF; border-radius: 12px; font-size: 1em; background: #F8FAFF; font-family: inherit; color: #1E1B4B; transition: all 0.2s; outline: none; box-sizing: border-box; }
.login-input:focus { border-color: #4F46E5; background: white; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.login-btn { width: 100%; padding: 12px; background: #4F46E5; color: white; border: none; border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 1em; margin-top: 10px; transition: all 0.2s; font-family: inherit; }
.login-btn:hover { background: #3730A3; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,70,229,0.3); }
.login-btn.btn-register { background: #22C55E; }
.login-btn.btn-register:hover { background: #16A34A; box-shadow: 0 4px 12px rgba(34,197,94,0.3); }
.secondary-actions { display: flex; justify-content: space-between; margin-top: 15px; }
.sec-btn { background: none; border: none; color: #888; font-size: 0.9em; cursor: pointer; text-decoration: underline; padding: 5px; }
.sec-btn:hover { color: var(--accent); }


.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 10000; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-box { background: white; padding: 30px; border-radius: 12px; max-width: 500px; width: 90%; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.device-list-container { max-height: 300px; overflow-y: auto; }
.device-item { background: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.device-name { font-weight: bold; font-size: 15px; color: #2d3436; }
.device-time { font-size: 12px; color: #999; margin-top: 5px; }
.kick-btn { padding: 8px 16px; background: #e74c3c; color: white; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; transition: 0.2s; }
.kick-btn:hover { background: #c0392b; }

    
    #toast { 
        visibility: hidden; 
        min-width: 200px; 
        background-color: rgba(45, 52, 54, 0.95); 
        color: #fff; 
        text-align: center; 
        border-radius: 50px; 
        padding: 12px 24px; 
        position: fixed; 
        z-index: 200010 !important; 
        left: 50%; 
        bottom: 100px; 
        transform: translateX(-50%); 
        font-size: 15px; 
        opacity: 0; 
        transition: all 0.3s; 
        scale: 0.9; 
        box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
    }
#toast.show { visibility: visible; opacity: 1; bottom: 120px; scale: 1; } .view-container { display: none; } .view-container.active { display: block; animation: fadeIn 0.4s; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .fav-header-box { padding: 30px; background: #fff8e1; border-bottom: 2px solid #ffeaa7; display: flex; justify-content: space-between; align-items: center; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(255, 234, 167, 0.3); } .import-dj-btn { background: #2d3436; color: #f1c40f; border: none; padding: 10px 20px; border-radius: 30px; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: 0.3s; }


#radio-interface { display: none; }


@media (min-width: 769px) {
    #radio-interface { display: none; background: #121212; color: #f0f0f0; height: 100vh; padding: 0; box-sizing: border-box; position: fixed; top: 0; left: 260px; width: calc(100% - 260px); z-index: 500; overflow-y: auto; }
    
    
    .dj-center-stage { 
        max-width: 900px; 
        margin: 0 auto; 
        display: flex; 
        flex-direction: column; 
        min-height: 100%; 
        position: relative; 
        padding-bottom: 120px; 
    }
    
    
    .dj-navbar { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 0 40px; 
        height: 60px;
        position: fixed !important; 
        top: 0; 
        left: 260px;
        right: 0;
        z-index: 2000; 
        background: #121212; 
        border-bottom: 1px solid #333;
    }
    
    
    .pc-dj-actions { 
        display: flex !important; 
        justify-content: center; 
        align-items: center;
        gap: 20px; 
        padding: 10px 0;
        height: 60px;
        position: fixed !important;
        top: 60px; 
        left: 260px;
        right: 0;
        z-index: 1900;
        background: #121212;
        margin-bottom: 0;
        border-bottom: 1px solid #222;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5); 
    }
    .mobile-dj-actions { display: none !important; }
    
    
    .dj-fixed-top { 
        display: block !important; 
        width: 100%;
        height: auto !important;
        overflow: visible !important; 
        padding-top: 140px !important; 
        padding-left: 20px;
        padding-right: 20px;
    }
    
    
    .teleprompter { 
        background: linear-gradient(180deg, #141414 0%, #000000 100%); 
        border: 1px solid #333; 
        border-bottom: none; 
        border-radius: 20px 20px 0 0; 
        padding: 60px 40px; 
        text-align: left;
        min-height: 350px; 
        display: block !important; 
        position: relative; 
        box-shadow: inset 0 0 60px rgba(0,0,0,0.9); 
        width: 100%;
        margin-bottom: 0;
    }
    
    
    .dj-tab-header { 
        display: flex; 
        background: #1f1f1f; 
        border-bottom: 1px solid #333; 
        padding: 0; 
        align-items: center; 
        position: sticky; 
        top: 120px; 
        z-index: 800; 
    }
    
    .mixer-container { 
        display: flex; 
        gap: 30px; 
        min-height: 400px; 
        height: auto; 
        align-items: stretch; 
        background: #1a1a1a; 
        border: 1px solid #333;
        border-top: none;
        border-radius: 0 0 15px 15px;
        padding: 20px;
    }

    .tp-en { 
        font-size: 2.2em; 
        font-weight: 800; 
        color: #f1c40f; 
        margin-bottom: 25px; 
        line-height: 1.5; 
        transition: 0.3s; 
        cursor: pointer; 
        text-align: left !important; 
        white-space: pre-wrap !important; 
        word-wrap: break-word !important; 
        overflow-wrap: break-word !important; 
        width: 100%; 
        display: block;
        padding-left: 20px;
        text-shadow: 0 4px 15px rgba(0,0,0,0.7); 
    }
    
    .trash-btn:hover { background: rgba(231, 76, 60, 0.2) !important; }
    .tp-en:hover { text-shadow: 0 0 20px rgba(241, 196, 15, 0.4); transform: scale(1.01); }
    
    .dj-info-pod { width: 100%; background: rgba(255,255,255,0.04); border: 1px dashed #444; border-radius: 12px; padding: 20px; text-align: left; transition: all 0.3s ease; margin-bottom: 20px; backdrop-filter: blur(5px); }
    
    .tp-decode { font-size: 1.1em; color: #74b9ff; margin-bottom: 12px; line-height: 1.5; }
    .tp-cn { font-size: 1em; color: #999; line-height: 1.5; border-top: 1px solid #333; padding-top: 10px; } 
    .teleprompter.mode-blind .tp-en { filter: blur(var(--blur-amount)); opacity: 0.6; }
    .teleprompter.mode-blind .dj-info-pod { visibility: hidden; opacity: 0; }
    .teleprompter.mode-blind:hover .tp-en, .teleprompter.mode-blind:hover .dj-info-pod { filter: blur(0); opacity: 1; visibility: visible; }
    .teleprompter.mode-full .tp-en, .teleprompter.mode-full .dj-info-pod { filter: blur(0); opacity: 1; }
    .teleprompter.mode-mapping .tp-en { filter: blur(var(--blur-amount)); opacity: 0.5; }
    .teleprompter.mode-mapping .tp-en:hover { filter: blur(0); opacity: 1; }
    .teleprompter.mode-mapping .dj-info-pod { filter: blur(0); opacity: 1; background: rgba(0, 206, 201, 0.1); border-color: var(--mapping-highlight); transform: scale(1.02); }
    .teleprompter.mode-mapping .tp-decode { color: var(--mapping-highlight); }
    
    .dj-tab-btn { flex: 1; padding: 15px; border: none; background: transparent; font-weight: bold; color: #888; font-size: 16px; cursor: pointer; border-bottom: 3px solid transparent; transition: 0.2s; max-width: 200px; }
    .dj-tab-btn.active { color: #f1c40f; border-bottom-color: #f1c40f; background: #333; }
    .clear-area { margin-left: auto; padding-right: 20px; }
    .clear-btn { background: transparent; color: #e74c3c; border: 1px solid #e74c3c; padding: 5px 15px; border-radius: 20px; font-size: 13px; font-weight: bold; cursor: pointer; transition: 0.2s; display: none; }
    .clear-btn:hover { background: #e74c3c; color: white; }
    
    .panel-box { flex: 1; background: transparent; border: none; padding: 0; display: flex; flex-direction: column; transition: 0.2s; }
    .scroll-list { overflow-y: visible; flex: 1; padding-right: 5px; } 
    .list-item { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-bottom: 1px solid #2a2a2a; cursor: pointer; font-size: 0.95em; color: #bbb; transition: 0.2s; }
    .list-item:hover { background: #333; color: white; padding-left: 18px; }
    .list-item.playing { background: #f1c40f; color: #000; border-left: 5px solid #fff; font-weight: bold; border-radius: 4px; }
    
    
    .control-deck { position: fixed; bottom: 30px; left: 50%; transform: translateX(-20%); width: auto; min-width: 450px; height: auto; background: transparent !important ; backdrop-filter: none ; -webkit-backdrop-filter: none ; padding: 15px 40px; margin: 0; border: none ; border-radius: 60px; box-shadow: none ; z-index: 1000; }
    .ctrl-row { pointer-events: auto; display: flex; justify-content: space-between; align-items: center; margin: 0; gap: 25px; }
    .ctrl-btn, .mode-btn { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1) !important; border: 1px solid rgba(255,255,255,0.2) !important; color: #eee; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: 0.2s; cursor: pointer; }
    .ctrl-btn svg { width: 24px; height: 24px; }
    .ctrl-btn:hover, .mode-btn:hover { transform: translateY(-3px); background: rgba(255,255,255,0.2) !important; color: #f1c40f; }
    
    .play-btn { width: 64px; height: 64px; background: #f1c40f !important; color: #000 !important; border: none !important; box-shadow: 0 0 25px rgba(241, 196, 15, 0.4) !important; display: flex; justify-content: center; align-items: center; padding: 0; padding-left: 4px;  }
    .play-btn svg { display: block; margin: auto; }
    
    .play-btn:hover { transform: scale(1.1); box-shadow: 0 0 35px rgba(241, 196, 15, 0.6) !important; }
    .speed-select { appearance: none; background: transparent; border: none; font-weight: bold; color: #aaa; cursor: pointer; font-size: 14px; }
    .progress-container { margin-top: 15px; padding: 0 10px; pointer-events: auto; }
    .prog-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.2); cursor: pointer; }
    .prog-bar::-webkit-slider-thumb { background: #f1c40f; box-shadow: 0 0 10px rgba(241, 196, 15, 0.8); }
    
    #nav-widget { display: flex !important; position: fixed; bottom: 80px; right: 30px; z-index: 3000; flex-direction: column; gap: 10px; }
    .nav-btn { width: 45px; height: 45px; background: rgba(44, 62, 80, 0.9); color: white; border-radius: 50%; border: none; box-shadow: 0 4px 10px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; font-size: 18px; }
    .nav-btn:hover { background: var(--accent); transform: translateY(-2px); }
    .nav-btn-integrated, .nav-divider { display: none; }
}

.dj-tab-bar { display: none; }
.badge-dot { position: absolute; top: 10px; right: 20%; background: #e74c3c; color: white; border-radius: 10px; padding: 2px 6px; font-size: 0.7em; opacity: 0; transition: 0.2s; }
.badge-dot.show { opacity: 1; }



.card-tab-content { display: none; animation: fadeIn 0.2s; }
.card-tab-content.active { display: block !important; }





.timeline-container { 
    height: 100%; 
    overflow-y: auto; 
    text-align: left; 
}

.timeline-card {
    background: #fafbfc;
    border-left: 3px solid #e5e7eb;
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.timeline-card:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
}
.timeline-card.latest {
    border-left-color: var(--accent);
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.tl-header {
    font-size: 0.8em;
    color: #999;
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
}
.tl-header .tl-hdr-row1 {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tl-header .tl-hdr-spacer { flex: 1 1 auto; min-width: 8px; }

.timeline-card .tl-header .tl-hdr-row1 .tl-time-badge {
    position: static;
    top: auto;
    right: auto;
    flex-shrink: 0;
}
.tl-header .tl-hdr-src { display: flex; }
.tl-header .tl-hdr-src .tl-source {
    font-size: 12px;
    color: #64748b;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 6px;
    padding: 2px 8px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
}
.tl-badge { 
    background: #e74c3c; 
    color: white; 
    padding: 1px 4px; 
    border-radius: 3px; 
    font-size: 0.8em; 
    font-weight: bold; 
}
.tl-en { 
    color: #2c3e50; 
    font-size: 1em; 
    line-height: 1.4; 
    margin-bottom: 8px; 
    text-align: left;
    cursor: default;
    user-select: text;
}

.tl-en .word-span {
    cursor: pointer !important;
    pointer-events: auto !important;
}





.timeline-card .wp-en,
.timeline-card .wp-cn {
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    filter: none !important;
    display: block !important;
}

.timeline-card .wp-en {
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.15px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif !important;
}
.timeline-card .wp-cn {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.1px !important;
}
.timeline-card .wp-en.wp-punct,
.timeline-card .wp-cn.wp-punct-cn {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
    font-weight: 500 !important;
}


.timeline-card .row-interlinear {
    gap: 8px 14px !important;
    padding: 4px 0 !important;
    flex-wrap: wrap !important;
}
.timeline-card .word-pair {
    padding: 2px 5px !important;
    gap: 4px !important;
    flex-direction: column !important;
}

.timeline-card .cinema-cn-label {
    display: none !important;
}


.timeline-card .tl-full-cn {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    font-size: 13.5px;
    line-height: 1.55;
    color: #475569;
    letter-spacing: 0.2px;
}
.timeline-card .tl-cn-label {
    display: inline-block;
    font-size: 11px;
    background: #e0e7ff;
    color: #4338ca;
    padding: 2px 7px;
    border-radius: 5px;
    margin-right: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    vertical-align: 1px;
}


.tl-summary .tl-mode-toggle {
    margin-left: auto;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    letter-spacing: 0.3px;
    
    display: inline-block;
    box-sizing: border-box;
    min-width: 108px;
    text-align: center;
    white-space: nowrap;
}
.tl-summary .tl-mode-toggle:hover {
    background: #c7d2fe;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.2);
}



.timeline-card .tl-listen-btn {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
    margin-right: 6px;
    transition: all 0.15s;
}
.timeline-card .tl-listen-btn:hover {
    background: #a7f3d0;
    transform: scale(1.05);
}


.s3v3-hist-guide {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 9px 14px;
    background: rgba(252, 211, 77, 0.14);
    color: #92400E;
    border: 1px solid rgba(252, 211, 77, 0.55);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}
.s3v3-hist-guide:hover { background: rgba(252, 211, 77, 0.26); }


.timeline-card[data-display-mode="cn"] .wp-en { visibility: hidden !important; }
.timeline-card[data-display-mode="cn"] .word-pair .wp-cn.wp-en-kept { color: #64748b !important; -webkit-text-fill-color: #64748b !important; font-style: italic; } 


.timeline-card[data-display-mode="en"] .wp-cn:not(.wp-en-kept) { visibility: hidden !important; }
.timeline-card[data-display-mode="en"] .tl-full-cn { visibility: hidden !important; }






.cinema-embed .wp-cn.verb-l1 { color: #5eead4 !important; -webkit-text-fill-color: #5eead4 !important; } 
.cinema-embed .wp-cn.verb-l2 { color: #fcd34d !important; -webkit-text-fill-color: #fcd34d !important; } 
.cinema-embed .wp-cn.verb-l3 { color: #fda4af !important; -webkit-text-fill-color: #fda4af !important; } 


.cinema-embed .phrase-pair {
    border-radius: 4px;
    padding: 0 2px;
    background: rgba(186, 104, 200, 0.12);
}
.cinema-embed .phrase-pair .wp-en { color: #ce93d8 !important; -webkit-text-fill-color: #ce93d8 !important; }
.cinema-embed .phrase-pair .wp-phrase-cn {
    color: #e1bee7 !important;
    -webkit-text-fill-color: #e1bee7 !important;
    font-weight: 600;
}


.cinema-embed .portal-pair {
    position: relative;
    padding-left: 4px;
    border-left: 2px solid;
    margin-left: 2px;
}
.cinema-embed .portal-attributive { border-left-color: #60a5fa; }   
.cinema-embed .portal-object      { border-left-color: #fbbf24; }   
.cinema-embed .portal-subject     { border-left-color: #f87171; }   
.cinema-embed .portal-adverbial   { border-left-color: #a78bfa; }   
.cinema-embed .portal-predicative { border-left-color: #34d399; }   
.cinema-embed .portal-appositive  { border-left-color: #fb7185; }   
.cinema-embed .wp-portal {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}
.cinema-embed .wp-portal-cn {
    color: #c4b5fd !important;
    -webkit-text-fill-color: #c4b5fd !important;
    font-weight: 600;
}


.cinema-embed .to-to-infinitive { border-bottom: 2px dashed #fcd34d; padding-bottom: 1px; }
.cinema-embed .to-direction     { border-bottom: 2px dashed #60a5fa; padding-bottom: 1px; }
.cinema-embed .to-for           { border-bottom: 2px dashed #a78bfa; padding-bottom: 1px; }


.cinema-embed .mood-badge {
    display: inline-block;
    width: 4px;
    margin-right: 4px;
    border-radius: 2px;
    vertical-align: middle;
    cursor: pointer;
}
.cinema-embed .mood-interrogative { background: #60a5fa; height: 1em; }
.cinema-embed .mood-imperative    { background: #fbbf24; height: 1em; }
.cinema-embed .mood-subjunctive   { background: #c084fc; height: 1em; }


.timeline-card .tl-merge-badge {
    display: inline-block;
    font-size: 11px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 700;
    margin-left: 4px;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 3px rgba(99, 102, 241, 0.25);
}


.timeline-card .tl-time-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 11px;
    color: #94a3b8;
    background: rgba(241, 245, 249, 0.8);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
}


@media (max-width: 768px) {
    .timeline-card {
        padding: 10px 12px !important;
        margin-bottom: 8px !important;
        border-radius: 8px !important;
    }
    .timeline-card .wp-en {
        font-size: 14px !important;
        line-height: 1.35 !important;
        letter-spacing: 0.1px !important;
    }
    .timeline-card .wp-cn {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
    }
    .timeline-card .row-interlinear {
        gap: 4px 10px !important;
        padding: 2px 0 !important;
    }
    .timeline-card .word-pair {
        padding: 1px 3px !important;
        gap: 2px !important;
    }
    .timeline-card .tl-full-cn {
        margin-top: 8px !important;
        padding-top: 8px !important;
        font-size: 12.5px !important;
        line-height: 1.5 !important;
    }
    .timeline-card .tl-cn-label {
        font-size: 10px !important;
        padding: 1px 6px !important;
        margin-right: 6px !important;
    }
    .timeline-card .tl-time-badge {
        top: 6px !important;
        right: 8px !important;
        font-size: 10px !important;
        padding: 1px 6px !important;
    }
    .timeline-card .tl-header {
        padding-right: 72px;  
    }
}
@media (max-width: 414px) {
    .timeline-card .wp-en { font-size: 13px !important; }
    .timeline-card .wp-cn { font-size: 11px !important; }
    .timeline-card .row-interlinear { gap: 3px 8px !important; }
    .timeline-card .tl-full-cn { font-size: 12px !important; }
}

.tl-hl {
    color: #d35400; 
    font-weight: bold; 
    background: rgba(241, 196, 15, 0.2); 
    padding: 0 2px; 
    border-radius: 2px; 
}
.tl-toggle-btn { 
    background: transparent; 
    border: none; 
    color: var(--accent); 
    cursor: pointer; 
    font-size: 0.85em; 
    padding: 0; 
    text-decoration: underline; 
}
.tl-hidden-area { 
    margin-top: 8px; 
    padding-top: 8px; 
    border-top: 1px dashed #e0e0e0; 
    text-align: left;
}
.tl-decode { font-size: 0.95em; color: #d35400; font-weight: bold; margin-bottom: 4px; text-align: left; }
.tl-cn { font-size: 0.9em !important; color: #7f8c8d; text-align: left; }


.tl-group { margin-bottom: 20px; }
.tl-date-label { 
    font-size: 0.85em; 
    color: #95a5a6; 
    font-weight: bold; 
    margin-bottom: 8px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.tl-date-label::after { content: ''; flex: 1; height: 1px; background: #eee; }
.tl-sub-items { display: none; padding-left: 10px; border-left: 2px dashed #eee; margin-top: 10px; }
.tl-expand-btn { 
    background: #f8f9fa; 
    border: 1px solid #eee; 
    width: 100%; 
    padding: 8px; 
    color: var(--accent); 
    font-size: 0.85em; 
    cursor: pointer; 
    border-radius: 4px; 
    margin-top: 5px; 
}
.tl-expand-btn:hover { background: #fff; border-color: var(--accent); }


.tl-summary { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:10px 12px; background:linear-gradient(135deg,#f0f8ff,#f5f0ff); border-radius:8px; margin-bottom:12px; font-size:0.85em; }
.tl-summary-count { font-weight:bold; color:#2c3e50; font-size:1.1em; }
.tl-summary-types { color:#7f8c8d; }
.tl-summary-stage { color:var(--accent); font-size:0.9em; }

.tl-type-tag { display:inline-block; padding:1px 6px; border-radius:10px; font-size:0.75em; font-weight:500; }
.tl-type-lookup { background:#e8f4fd; color:#2980b9; }
.tl-type-oral { background:#fde8ef; color:#e74c3c; }
.tl-type-listening { background:#e8fdf0; color:#27ae60; }
.tl-type-review { background:#fdf8e8; color:#f39c12; }
.tl-type-cleanup { background:#f0e8fd; color:#8e44ad; }
.tl-type-favorite { background:#fdf5e8; color:#e67e22; }
.tl-type-import { background:#e8e8fd; color:#3498db; }

.tl-stage-tag { display:inline-block; padding:1px 5px; border-radius:8px; font-size:0.7em; font-weight:bold; background:#2c3e50; color:white; }
.tl-rating-tag { font-size:0.8em; }
.tl-source { color:#bbb; font-size:0.85em; margin-left:auto; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:120px; }




.hist-header-stats { display: flex; justify-content: space-around; margin-bottom: 20px; background: white; padding: 15px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.hist-stat-item { text-align: center; font-size: 0.9em; color: #7f8c8d; }
.hist-stat-item b { display: block; font-size: 1.4em; color: #2c3e50; margin-bottom: 4px; }

.hist-ctrl-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; }
.hist-filter-btn { 
    background: white; 
    border: 1px solid #ddd; 
    padding: 8px 16px; 
    border-radius: 20px; 
    font-size: 0.9em; 
    color: #555; 
    cursor: pointer; 
    transition: 0.2s; 
    font-weight: bold;
}
.hist-filter-btn.active { background: #2c3e50; color: white; border-color: #2c3e50; }
.hist-filter-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }


.hist-ghost-bar { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 10px; 
    margin-bottom: 15px; 
}
.ghost-filter-btn { 
    border-color: #8e44ad !important; 
    color: #8e44ad !important; 
}
.ghost-filter-btn.active { 
    background: #8e44ad !important; 
    color: white !important; 
}
.hist-import-btn {
    background: linear-gradient(135deg, #4F46E5, #818CF8);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.3);
}
.hist-import-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
}


.tl-en { 
    white-space: normal !important; 
    word-wrap: break-word !important; 
    overflow-wrap: break-word !important; 
    max-width: 100%;
}


.hist-list-container { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.hist-row { display: flex; align-items: stretch; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.03); transition: transform 0.2s; border: 1px solid #eee; min-height: 60px; }
.hist-row:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }


.hist-row.heat-fresh { border-left: 5px solid #2ecc71; }
.hist-row.heat-day { border-left: 5px solid #3498db; }
.hist-row.heat-week { border-left: 5px solid #f1c40f; }
.hist-row.heat-old { border-left: 5px solid #95a5a6; }


.hist-left { 
    flex: 0 0 40%; 
    padding: 12px 15px; 
    cursor: pointer; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    background: rgba(249, 250, 251, 0.5);
    border-right: 1px dashed #eee;
    transition: background 0.2s;
}
.hist-left:hover { background: #f0f8ff; }
.hist-left:active { background: #e0f0ff; }

.hist-word { font-weight: 800; color: #2c3e50; font-size: 1.1em; word-break: break-word; }


.hist-right { 
    flex: 1; 
    padding: 12px 15px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    position: relative;
}
.hist-meaning { color: #555; font-size: 0.95em; line-height: 1.4; }


.hist-tag { font-size: 0.7em; background: #eee; padding: 2px 6px; border-radius: 4px; color: #777; display: inline-block; margin-top: 4px; align-self: flex-start; }
.ghost-icon { font-size: 1.2em; }


.hist-mask-toggle { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; }
.mask-opt { cursor: pointer; color: #999; font-size: 0.9em; padding: 5px 12px; border-radius: 20px; border: 1px solid transparent; }
.mask-opt.active { background: #2c3e50; color: white; font-weight: bold; }


.mask-right .hist-meaning { filter: blur(8px); opacity: 0.4; user-select: none; transition: 0.2s; }
.mask-right .hist-row:hover .hist-meaning { filter: blur(0); opacity: 1; }

.mask-left .hist-word { filter: blur(6px); opacity: 0.4; user-select: none; transition: 0.2s; }
.mask-left .hist-row:hover .hist-word { filter: blur(0); opacity: 1; }



.dict-content {
    height: auto !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
}
.dict-tab-content { flex: 1; overflow-y: auto; padding-bottom: 40px; }

.dict-modal .dict-tab-content { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

body.v100-dict-active #v116-cruise-bar,
body:has(#dict-modal[style*="flex"]) #v116-cruise-bar { display: none !important; }


.dj-fixed-top { background: transparent !important; } 
.teleprompter { border-radius: 20px !important; margin-bottom: 20px !important; }



@media (min-width: 769px) {
    #review-card-container { 
        padding-bottom: 150px !important; 
        min-height: 100vh; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
}
.flashcard-container { margin-bottom: 40px; flex: 0 0 auto; }



.review-dashboard {
    position: relative;
    z-index: 500;
    pointer-events: auto;
}

.hist-list-container {
    position: relative;
    z-index: 500;
    pointer-events: auto;
}

.review-modes {
    position: relative;
    z-index: 500;
    pointer-events: auto;
}

.mode-card {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.hist-row {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.hist-left {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}


#review-card-container {
    pointer-events: auto !important;
    position: relative;
    z-index: 100;
}


.review-btn,
.exit-review-btn,
.ctrl-group,
.review-controls-area,
.flashcard-container {
    position: relative;
    z-index: 1000 !important;
    pointer-events: auto !important;
}


.review-btn * {
    pointer-events: auto !important;
}


.full-audio-player {
    transition: all 0.25s ease;
}
.full-audio-player.sticky-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0 0 12px 12px !important;
    padding: 8px 16px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #eef2ff, #e0e7ff) !important;
    border-color: var(--primary) !important;
    border-top: none !important;
}
.full-audio-player.sticky-bar > span:first-child,
.full-audio-player.sticky-bar .full-audio-label {
    display: none !important;
}
.full-audio-player.sticky-bar > div {
    gap: 0 !important;
}
.full-audio-player.sticky-bar audio {
    height: 32px !important;
}

@media (max-width: 768px) {
    .full-audio-player.sticky-bar {
        position: fixed !important;
        top: 50px;
        left: 0;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        z-index: 600;
    }
    
    .dj-active .mobile-header {
        display: none !important;
    }
}


@media (orientation: landscape) and (max-height: 500px) {
    
    .mobile-header {
        display: flex !important;
        visibility: visible !important;
        width: 100% !important;
        height: 36px !important;
        background: linear-gradient(135deg, #4F46E5, #6366F1) !important;
        padding: 0 12px !important;
        border-bottom: none !important;
        align-items: center !important;
        justify-content: space-between !important;
        z-index: 700 !important;
        position: fixed !important;
        top: 0 !important;
        box-shadow: 0 2px 12px rgba(79, 70, 229, 0.25) !important;
        color: white !important;
        overflow: visible !important;
    }

    
    .mobile-header .menu-btn,
    .mobile-header button:first-child {
        visibility: hidden !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    
    .sidebar {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 200px !important;
        max-width: 200px !important;
        transform: translateX(0) !important;
        z-index: 600 !important;
        transition: none !important;
        box-shadow: 2px 0 8px rgba(0,0,0,0.08) !important;
        height: 100vh !important;
        overflow-y: auto !important;
    }
    .sidebar.open { transform: translateX(0) !important; }
    .sidebar-overlay { display: none !important; }
    .sidebar-overlay.visible { display: none !important; }
    .sidebar-close-btn { display: none !important; }

    
    .book-cover-header {
        padding: 12px 10px 10px !important;
    }
    .book-title-text {
        font-size: 0.85em !important;
    }
    .book-brand {
        font-size: 0.7em !important;
        margin-bottom: 4px !important;
    }
    .book-id-tag {
        font-size: 0.65em !important;
        padding: 2px 6px !important;
        margin-bottom: 4px !important;
    }
    .nav-header {
        padding: 8px 12px 4px !important;
        font-size: 0.6em !important;
    }
    .session-link {
        padding: 8px 12px !important;
        font-size: 0.8em !important;
    }
    .special-link {
        font-size: 0.8em !important;
    }

    
    .main-content {
        width: calc(100% - 200px) !important;
        margin-left: 200px !important;
        padding-left: 0 !important;
        padding-top: 36px !important;
    }

    .content-wrapper {
        padding: 0 15px !important;
        padding-top: 15px !important;
        padding-bottom: 100px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    
    .srt-block {
        margin-bottom: 15px !important;
    }

    .block-content {
        padding: 15px 20px !important;
    }

    .row-en {
        font-size: 1.1em !important;
    }

    
    #radio-interface {
        left: 200px !important;
        width: calc(100% - 200px) !important;
    }

    .dj-navbar {
        left: 200px !important;
        padding: 0 15px !important;
        height: 36px !important;
    }

    .pc-dj-actions {
        left: 200px !important;
        top: 36px !important;
        height: 36px !important;
    }

    .dj-fixed-top {
        padding-top: 0 !important;
    }

    .dj-tab-header {
        top: 72px !important;
    }

    
    .dict-content {
        height: 85vh !important;
        max-height: 85vh !important;
        width: 60% !important;
    }

    
    .dj-active .mobile-header,
    body.dj-active .mobile-header {
        display: none !important;
    }

    
    .view-container.active,
    #study-plan-view.active,
    #review-view.active,
    #fav-view.active,
    #history-view.active {
        padding-top: 0px !important;
        overflow-y: auto !important;
    }

    
    #review-card-container[style*="flex"] {
        padding-top: 10px !important;
    }

    
    #unit-review-container {
        padding-top: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    
    .content-wrapper {
        padding-top: 8px !important;
        padding-bottom: 80px !important;
        max-width: 100% !important;
    }

    
    .review-header-box {
        margin-bottom: 8px !important;
    }
    .review-header-box h2 {
        font-size: 1.1em !important;
    }

    
    .study-plan-intro {
        padding: 6px 12px !important;
        margin-bottom: 6px !important;
        font-size: 0.85em !important;
    }

    
    .study-plan-steps {
        margin-bottom: 10px !important;
    }
    .study-plan-steps > div {
        padding: 10px 12px !important;
        margin-bottom: 8px !important;
    }
    .study-plan-steps h3 {
        font-size: 1em !important;
        margin-bottom: 2px !important;
    }
    .study-plan-steps p {
        font-size: 0.82em !important;
        margin-bottom: 4px !important;
    }
    .study-plan-steps button {
        padding: 6px 16px !important;
        font-size: 0.85em !important;
    }

    
    .study-plan-footer {
        padding-top: 10px !important;
        margin-top: 5px !important;
    }

    
    #review-view .review-dashboard {
        padding: 10px !important;
        padding-top: 0 !important;
    }
    .stats-container {
        margin-bottom: 12px !important;
        gap: 6px !important;
    }
    .stat-card {
        padding: 8px 4px !important;
    }
    .stat-icon {
        font-size: 1.2em !important;
        margin-bottom: 2px !important;
    }
    .stat-value {
        font-size: 1.2em !important;
    }
    .review-modes {
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    .mode-card {
        padding: 10px !important;
    }
    .mode-icon-box {
        font-size: 1.6em !important;
        width: 36px !important;
        height: 36px !important;
        margin-right: 10px !important;
    }

    
    .flashcard-container {
        max-height: 50vh !important;
        padding: 15px !important;
    }

    .card-word {
        font-size: 2em !important;
    }

    
    .srt-block {
        margin-bottom: 10px !important;
        border-radius: 8px !important;
    }
    .block-header {
        padding: 4px 12px !important;
        height: 28px !important;
    }
    .block-content {
        padding: 8px 12px !important;
    }
    .row-en {
        font-size: 1em !important;
        margin-bottom: 6px !important;
    }
    .row-decode {
        font-size: 0.9em !important;
        padding: 4px 8px !important;
        margin-bottom: 4px !important;
    }
    .row-full {
        font-size: 0.8em !important;
    }
    .row-audio {
        margin-bottom: 8px !important;
        height: 28px !important;
    }
}




.mic-btn.mic-recording {
    background: #EF4444 !important;
    color: white !important;
    border-color: #EF4444 !important;
    animation: micPulse 1s ease-in-out infinite;
}
@keyframes micPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}


.score-bubble {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0;
    transform: scale(0.5);
    vertical-align: middle;
    margin-left: 6px;
}
.score-bubble.score-bubble-show {
    opacity: 1;
    transform: scale(1);
}
.score-bubble:hover {
    transform: scale(1.1);
}
.score-bubble .score-num {
    font-size: 1.1em;
}
.score-bubble .score-label {
    font-size: 0.75em;
    opacity: 0.8;
}


.score-good { background: #DCFCE7; color: #16A34A; border: 1px solid #BBF7D0; }
.score-ok { background: #FEF9C3; color: #CA8A04; border: 1px solid #FDE68A; }
.score-bad { background: #FEE2E2; color: #DC2626; border: 1px solid #FECACA; }


.score-detail {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px 15px;
    margin-top: 8px;
    animation: fadeIn 0.2s;
}
.score-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.score-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.score-bar-label {
    font-size: 0.8em;
    color: #64748B;
    width: 50px;
    flex-shrink: 0;
    font-weight: 600;
}
.score-bar-track {
    flex: 1;
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
}
.score-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}
.score-bar-fill.score-good { background: #22C55E; }
.score-bar-fill.score-ok { background: #EAB308; }
.score-bar-fill.score-bad { background: #EF4444; }
.score-bar-val {
    font-size: 0.8em;
    font-weight: 800;
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}
.score-recognized {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #E2E8F0;
    font-size: 0.85em;
}
.score-rec-label {
    color: #94A3B8;
    margin-right: 4px;
}
.score-rec-text {
    color: #475569;
    font-style: italic;
}


.word-correct {
    color: #16A34A !important;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 3px;
    padding: 0 2px;
    transition: 0.2s;
}
.word-wrong {
    color: #DC2626 !important;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 3px;
    padding: 0 2px;
    text-decoration: underline wavy #EF4444;
    text-underline-offset: 3px;
    transition: 0.2s;
}


.mic-score-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 0.6em;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 8px;
    line-height: 1.2;
    pointer-events: none;
}


.unit-score-summary {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.unit-score-stat {
    text-align: center;
}
.unit-score-num {
    font-size: 1.6em;
    font-weight: 800;
}
.unit-score-desc {
    font-size: 0.75em;
    color: #94A3B8;
    margin-top: 2px;
}
.unit-score-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.unit-score-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
}
.unit-score-idx {
    color: #94A3B8;
    width: 30px;
    font-weight: 600;
}
.unit-score-bar-track {
    flex: 1;
    height: 6px;
    background: #F1F5F9;
    border-radius: 3px;
    overflow: hidden;
}
.unit-score-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s;
}
.unit-score-bar-fill.score-good { background: #22C55E; }
.unit-score-bar-fill.score-ok { background: #EAB308; }
.unit-score-bar-fill.score-bad { background: #EF4444; }
.unit-score-val {
    width: 28px;
    text-align: right;
    font-weight: 800;
    font-size: 0.9em;
}
.unit-score-empty {
    text-align: center;
    color: #94A3B8;
    padding: 20px;
    font-size: 0.9em;
}


.pronunciation-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30, 27, 75, 0.9);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9em;
    z-index: 100001;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    white-space: nowrap;
}
.pronunciation-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


@media (max-width: 768px) {
    .score-bubble {
        font-size: 0.78em;
        padding: 2px 8px;
    }
    .score-detail {
        padding: 8px 10px;
    }
    .score-bar-label {
        width: 42px;
        font-size: 0.75em;
    }
}




.full-audio-player {
    position: relative;
    z-index: 500;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 12px 20px !important;
    margin: 0 -40px 25px -40px !important;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.35);
    transition: all 0.3s ease;
}


.full-audio-player.sticky-bar {
    position: sticky;
    top: 0;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.45);
}

.full-audio-player span:first-child {
    font-size: 1.3em !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.full-audio-player .full-audio-label {
    font-size: 0.8em !important;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

.full-audio-player audio {
    border-radius: 20px !important;
    height: 34px !important;
    filter: brightness(1.1);
}


@media (max-width: 768px) {
    .full-audio-player {
        position: relative !important;
        top: auto !important;
        margin: 0 -10px 20px -10px !important;
        padding: 10px 14px !important;
        border-radius: 12px !important;
        gap: 10px;
        box-shadow: 0 2px 12px rgba(79, 70, 229, 0.25);
    }

    
    .full-audio-player.sticky-bar {
        position: fixed !important;
        top: 50px !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        border-radius: 0 0 12px 12px !important;
        z-index: 9998;
        box-shadow: 0 4px 20px rgba(79, 70, 229, 0.45);
    }

    .full-audio-player span:first-child {
        font-size: 1.1em !important;
    }

    .full-audio-player .full-audio-label {
        font-size: 0.72em !important;
    }

    .full-audio-player audio {
        height: 30px !important;
    }
}




.session-container > h2 {
    color: #7C3AED; 
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6em !important;
    font-weight: 800 !important;
    padding-bottom: 14px !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    letter-spacing: -0.3px;
}


.session-container .srt-block {
    background: #ffffff !important;
    border: 2px solid #E0E7FF !important;
    border-radius: 20px !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    box-shadow:
        0 4px 6px rgba(79, 70, 229, 0.06),
        0 10px 20px rgba(79, 70, 229, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.25s ease !important;
    overflow: hidden;
}

.session-container .srt-block:hover {
    border-color: #818CF8 !important;
    box-shadow:
        0 8px 16px rgba(79, 70, 229, 0.1),
        0 16px 32px rgba(79, 70, 229, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-3px) !important;
}


.session-container .block-header {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%) !important;
    padding: 10px 20px !important;
    border-bottom: 1px solid #E0E7FF !important;
    border-radius: 20px 20px 0 0 !important;
}

.session-container .index-badge {
    background: linear-gradient(135deg, #4F46E5, #818CF8) !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 10px !important;
    font-size: 0.82em !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}


.session-container .fav-star {
    font-size: 1.4em !important;
    transition: all 0.2s ease !important;
}

.session-container .fav-star:hover {
    transform: scale(1.25) rotate(15deg) !important;
    color: #F59E0B !important;
}


.session-container .add-anki-btn {
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF) !important;
    border: 1.5px solid #818CF8 !important;
    color: #4F46E5 !important;
    padding: 5px 14px !important;
    border-radius: 14px !important;
    font-size: 0.8em !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.session-container .add-anki-btn:hover {
    background: linear-gradient(135deg, #4F46E5, #818CF8) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3);
}

.session-container .add-anki-btn.added {
    background: linear-gradient(135deg, #22C55E, #16A34A) !important;
    border-color: #22C55E !important;
    color: white !important;
}


.session-container .block-content {
    padding: 20px 24px 24px !important;
}


.session-container .row-audio {
    margin-bottom: 18px !important;
    gap: 12px !important;
}

.session-container .row-audio audio {
    border-radius: 20px !important;
    height: 38px !important;
    background: #f0f2f5 !important;
}


.sr-widget {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sr-rec-btn, .sr-stop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border: 2px solid rgba(99,102,241,0.3);
    border-radius: 12px;
    background: rgba(99,102,241,0.1);
    color: #6366f1;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.sr-rec-btn:hover { background: rgba(99,102,241,0.2); }

.sr-stop-btn {
    background: #EF4444 !important;
    color: white !important;
    border-color: #EF4444 !important;
    animation: micPulse 1s ease-in-out infinite;
}

.sr-state-recording {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.sr-timer {
    font-size: 16px;
    font-weight: 700;
    color: #EF4444;
    font-variant-numeric: tabular-nums;
}

.sr-state-done {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.sr-playback {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(99,102,241,0.08);
    border-radius: 12px;
    border: 1px solid rgba(99,102,241,0.15);
}
.sr-playback-label {
    font-size: 13px;
    color: #6366f1;
    font-weight: 600;
    white-space: nowrap;
}
.sr-playback audio {
    flex: 1;
    height: 36px;
}

.sr-redo-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #9ca3af;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s;
}
.sr-redo-btn:hover { color: #6366f1; }

.stage8-record-area .sr-widget { margin: 6px 0 2px; }
.stage8-record-area .sr-rec-btn {
    color: #a78bfa;
    border-color: rgba(167,139,250,0.3);
    background: rgba(167,139,250,0.1);
}
.stage8-record-area .sr-rec-btn:hover { background: rgba(167,139,250,0.2); }
.stage8-record-area .sr-playback {
    background: rgba(167,139,250,0.1);
    border-color: rgba(167,139,250,0.2);
}
.stage8-record-area .sr-playback-label { color: #a78bfa; }
.stage8-record-area .sr-redo-btn { color: rgba(167,139,250,0.5); }
.stage8-record-area .sr-redo-btn:hover { color: #a78bfa; }


.cinema-mic-btn {
    font-size: 16px !important;
    min-width: 36px !important;
}
.cinema-mic-btn.mic-recording {
    background: #EF4444 !important;
    border-color: #EF4444 !important;
    animation: micPulse 1s ease-in-out infinite;
}

@media (max-width: 768px) {
  .cinema-ctrl-row-main .cinema-mic-btn {
    flex: 0 0 44px !important;
    min-width: 44px !important;
    margin: 0 4px !important;
  }
  
  .cinema-controls {
    padding-bottom: 56px !important;
  }
}


.stage-5-recite .mic-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: white !important;
    border-color: #6366f1 !important;
    animation: stage5MicGlow 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}
.stage-5-recite .mic-btn:hover {
    animation: none;
    transform: scale(1.12) !important;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
}
@keyframes stage5MicGlow {
    0%, 100% { box-shadow: 0 0 4px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 16px rgba(99, 102, 241, 0.6); }
}

.stage-5-recite .mic-btn:has(+ .score-bubble) {
    animation: none;
    background: #EEF2FF !important;
    color: #4F46E5 !important;
    border-color: #E0E7FF !important;
    box-shadow: none;
}


.session-container .mic-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    border: 1.5px solid #E0E7FF !important;
    background: #EEF2FF !important;
    color: #4F46E5 !important;
    transition: all 0.2s ease !important;
}

.session-container .mic-btn:hover {
    background: #4F46E5 !important;
    color: white !important;
    border-color: #4F46E5 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3);
}


.session-container .row-en {
    font-size: 1.35em !important;
    font-weight: 600 !important;
    color: #1E1B4B !important;
    line-height: 1.7 !important;
    margin-bottom: 14px !important;
}


.session-container .word-span {
    border-radius: 6px !important;
    padding: 1px 4px !important;
    transition: all 0.15s ease !important;
    border-bottom: 2px solid transparent !important;
}

.session-container .word-span:hover,
.session-container .word-span.active-word {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A) !important;
    color: #92400E !important;
    border-bottom-color: #F59E0B !important;
    transform: scale(1.04) !important;
}


.session-container .trans-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

.session-container .row-decode {
    background: linear-gradient(135deg, #FFF7ED, #FFEDD5) !important;
    border-left: 4px solid #F59E0B !important;
    padding: 10px 14px !important;
    font-size: 1.05em !important;
    color: #92400E !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    border-radius: 0 8px 8px 0 !important;
    line-height: 1.5 !important;
}

.session-container .row-full {
    font-size: 0.86em !important;
    color: #6B7280 !important;
    padding-left: 14px !important;
    line-height: 1.42 !important;
    margin-top: 2px !important;
}


@media (max-width: 768px) {
    .session-container > h2 {
        font-size: 1.3em !important;
        padding: 0 5px 10px !important;
    }

    .session-container .srt-block {
        border-radius: 14px !important;
        margin-bottom: 14px !important;
        border-width: 1.5px !important;
    }

    .session-container .block-header {
        padding: 8px 14px !important;
    }

    .session-container .block-content {
        padding: 14px 14px 18px !important;
    }

    .session-container .row-en {
        font-size: 1.15em !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
    }

    .session-container .row-decode {
        font-size: 0.95em !important;
        padding: 8px 12px !important;
    }

    .session-container .row-full {
        font-size: 0.82em !important;
    }

    .session-container .row-audio audio {
        height: 34px !important;
    }
}



.stage-1-blind .row-decode,
.stage-1-blind .row-full {
    display: none !important;
}

.stage-1-blind .trans-wrapper {
    pointer-events: none;
    opacity: 0.5; 
}


.stage-2-lookup .trans-wrapper {
    filter: none !important;
    opacity: 1 !important;
    user-select: text !important;
    pointer-events: auto !important;
}

.stage-2-lookup .row-decode,
.stage-2-lookup .row-full {
    display: block !important;
    opacity: 1 !important;
}


.stage-2-lookup .trans-wrapper.blurred {
    filter: blur(8px) !important;
    opacity: 0.5 !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stage-2-lookup .trans-wrapper.blurred:hover {
    filter: none !important;
    opacity: 1 !important;
}


.stage-2-lookup .trans-wrapper.blurred.revealed {
    filter: none !important;
    opacity: 1 !important;
}


.stage-4-recite .row-en {
    opacity: 0 !important; 
    transition: opacity 0.3s ease;
    
    visibility: visible; 
}

.stage-4-recite .row-en:hover {
    opacity: 1 !important; 
    cursor: pointer;
}


.stage-4-recite .row-decode,
.stage-4-recite .row-full {
    display: block !important;
    opacity: 1 !important;
    color: var(--text-main);
    font-weight: 500; 
}


.stage-4-recite .trans-wrapper {
    filter: none !important;
    opacity: 1 !important;
    user-select: text !important;
    pointer-events: auto !important;
}


#stage-controller {
    position: fixed;
    top: 100px; 
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 12px 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    transition: all 0.3s ease;
    width: 56px;
}

#stage-controller:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


.stage-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-sub);
    color: var(--text-sub);
    border: 1px solid var(--border);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stage-close-btn:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.stage-indicator {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.stage-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-sub);
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", sans-serif;
}

.stage-btn:hover {
    background: var(--bg);
    color: var(--primary);
    border-color: var(--accent);
    transform: scale(1.1);
}

.stage-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(41, 128, 185, 0.4);
}


.stage-btn[data-stage="1"].active { background: #34495e; border-color: #34495e; } 
.stage-btn[data-stage="2"].active { background: #e67e22; border-color: #e67e22; } 
.stage-btn[data-stage="3"].active { background: #27ae60; border-color: #27ae60; } 
.stage-btn[data-stage="4"].active { background: #8e44ad; border-color: #8e44ad; } 
.stage-btn[data-stage="5"].active { background: #16a085; border-color: #16a085; } 
.stage-btn[data-stage="6"].active { background: #c0392b; border-color: #c0392b; } 
.stage-btn[data-stage="7"].active { background: #2ecc71; border-color: #2ecc71; } 
.stage-btn[data-stage="8"].active { background: #f1c40f; border-color: #f1c40f; color: #1a1a1a; } 


.help-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-sub);
    color: var(--text-sub);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 4px; 
    transition: all 0.2s ease;
}

.help-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(1.1);
}



.stage-collapsed-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent, #2980b9);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Segoe UI", sans-serif;
    position: relative;
}

.stage-collapsed-summary:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(41, 128, 185, 0.5);
}

.stage-collapsed-num {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.stage-collapsed-total {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.8;
    line-height: 1;
}


#stage-controller .stage-close-btn,
#stage-controller .stage-indicator,
#stage-controller .stage-btn,
#stage-controller .help-btn {
    display: none;
}

#stage-controller .stage-collapsed-summary {
    display: flex;
}


#stage-controller {
    padding: 6px;
    width: auto;
    min-width: 0;
}


#stage-controller.expanded {
    padding: 12px 8px;
    width: 56px;
}

#stage-controller.expanded .stage-close-btn,
#stage-controller.expanded .stage-indicator,
#stage-controller.expanded .stage-btn,
#stage-controller.expanded .help-btn {
    display: flex;
}

#stage-controller.expanded .stage-collapsed-summary {
    display: none;
}



body.v96-cinema-fullscreen #stage-controller {
    z-index: 10001;
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

body.v96-cinema-fullscreen #stage-controller:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

body.v96-cinema-fullscreen .stage-collapsed-summary {
    background: rgba(41, 128, 185, 0.9);
}

body.v96-cinema-fullscreen .stage-btn {
    background: rgba(50, 50, 50, 0.9);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

body.v96-cinema-fullscreen .stage-btn:hover {
    background: rgba(70, 70, 70, 0.9);
    color: white;
    border-color: var(--accent);
}

body.v96-cinema-fullscreen .stage-btn.active {
    color: white;
}

body.v96-cinema-fullscreen .stage-indicator {
    color: rgba(255, 255, 255, 0.6);
}

body.v96-cinema-fullscreen .stage-close-btn {
    background: rgba(50, 50, 50, 0.9);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

body.v96-cinema-fullscreen .stage-close-btn:hover {
    background: #e74c3c;
    color: white;
}

body.v96-cinema-fullscreen .help-btn {
    background: rgba(50, 50, 50, 0.9);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

body.v96-cinema-fullscreen .help-btn:hover {
    background: var(--accent);
    color: white;
}




body.v96-cinema-mode:not(.v96-cinema-fullscreen) .study-header {
    display: none !important;
}

body.v96-cinema-mode:not(.v96-cinema-fullscreen) .study-progress {
    display: none !important;
}

body.v96-cinema-mode:not(.v96-cinema-fullscreen) .study-sidebar {
    display: none !important;
}

body.v96-cinema-mode:not(.v96-cinema-fullscreen) .sidebar-toggle {
    display: none !important;
}


body.v96-cinema-mode:not(.v96-cinema-fullscreen) .cinema-video-wrap video {
    max-height: 30vh !important;
    position: relative;
    z-index: 100 !important;
}


body.v96-cinema-mode:not(.v96-cinema-fullscreen) .cinema-subtitle-area {
    position: relative;
    z-index: 200 !important;
}



.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-sub);
    color: var(--text-sub);
    border: 1px solid var(--border);
    font-size: 24px;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.close-btn:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
    transform: scale(1.1);
}


@media (max-width: 768px) {
    #stage-controller {
        top: 90px; 
        right: 15px;
        transform: scale(0.9);
        transform-origin: top right;
    }
}




.stage-3-decode .row-en {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
    visibility: visible;
}

.stage-3-decode .row-en:hover {
    opacity: 1 !important;
    cursor: pointer;
}

.stage-3-decode .row-decode {
    display: block !important;
    opacity: 1 !important;
    color: var(--text-main);
    font-weight: 500;
}

.stage-3-decode .row-full {
    display: block !important;
    opacity: 0.7 !important;
    color: var(--text-sub);
}

.stage-3-decode .trans-wrapper {
    filter: none !important;
    opacity: 1 !important;
    user-select: text !important;
    pointer-events: auto !important;
}


#unit-review-container {
    padding: 20px;
    padding-left: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.unit-review-panel {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.unit-review-panel .review-header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.unit-review-panel .review-header-box h2 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.5em;
}

.mode-toggle-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.mode-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}


.today-plan-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.today-plan-section h3 {
    margin: 0 0 20px 0;
    color: var(--text-main);
    font-size: 1.2em;
}

.plan-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plan-group {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.group-label {
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.hot-group .group-label {
    color: #e74c3c;
}

.cold-group .group-label {
    color: #3498db;
}


.units-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.unit-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.unit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.unit-card.hot-card {
    border-left: 4px solid #e74c3c;
}

.unit-card.cold-card {
    border-left: 4px solid #3498db;
}

.unit-card.completed-card {
    background: #f8f9fa;
    cursor: default;
    opacity: 0.8;
}

.unit-card.completed-card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.unit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.unit-title {
    font-weight: bold;
    color: var(--text-main);
    font-size: 1.1em;
}

.unit-count {
    background: var(--bg-sub);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    color: var(--text-sub);
    font-weight: bold;
}

.completed-badge {
    background: #27ae60;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}


.progress-bar-visual {
    height: 8px;
    background: var(--bg-sub);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.unit-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.last-read {
    font-size: 0.85em;
    color: var(--text-sub);
}

.quick-complete-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 15px;
    font-size: 0.8em;
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-complete-btn:hover {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}


.completed-info {
    font-size: 0.85em;
    color: var(--text-sub);
    margin-bottom: 12px;
    line-height: 1.6;
}

.restore-btn {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 10px;
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.2s ease;
}

.restore-btn:hover {
    background: var(--bg-sub);
    border-style: solid;
    color: var(--text-main);
}


.completed-zone {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed var(--border);
}

.completed-zone h3 {
    color: var(--text-sub);
    margin-bottom: 20px;
}


.all-units-section {
    margin-bottom: 30px;
}

.all-units-section h3 {
    margin-bottom: 20px;
    color: var(--text-main);
}


.export-section {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    margin-top: 30px;
}

.export-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}


.unit-reader-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding-left: 280px; 
    box-sizing: border-box;
}


.reader-header {
    display: flex;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reader-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.reader-header h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.1em;
    font-weight: 600;
}


.reader-progress-bar {
    height: 28px;
    background: #f0f0f0;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.reader-progress-bar:active {
    background: #e0e0e0;
}

.progress-fill-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: width 0.1s ease;
    z-index: 1;
}

.reader-progress-bar.completed .progress-fill-bar {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.progress-text {
    position: relative;
    z-index: 2;
    font-size: 0.8em;
    font-weight: bold;
    color: #666;
    text-shadow: 0 0 3px white, 0 0 3px white;
}

.reader-progress-bar.completed .progress-text {
    color: #27ae60;
}

.reader-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stage-selector {
    padding: 8px 15px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: white;
    font-size: 0.9em;
    cursor: pointer;
    outline: none;
}

.stage-selector:focus {
    border-color: var(--accent);
}

.close-reader-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-sub);
    color: var(--text-sub);
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-reader-btn:hover {
    background: #e74c3c;
    color: white;
}


.stage-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-selector {
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: white;
    font-size: 0.9em;
    cursor: pointer;
    outline: none;
    min-width: 200px;
}

.stage-selector:focus {
    border-color: var(--accent);
}

.stage-help-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-sub);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-help-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.reader-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg);
}

.reader-sentence-block {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sentence-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.sentence-index {
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.85em;
    font-weight: bold;
}

.sentence-header audio {
    flex: 1;
    height: 36px;
}

.sentence-content {
    line-height: 1.8;
}

.sentence-content .row-en {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 10px;
}

.sentence-content .row-decode {
    color: #27ae60;
    font-size: 1em;
}

.sentence-content .row-full {
    color: var(--text-sub);
    font-size: 0.95em;
}


.reader-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reader-menu-overlay.visible {
    opacity: 1;
}

.reader-menu {
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.reader-menu-overlay.visible .reader-menu {
    transform: translateY(0);
}

.menu-title {
    text-align: center;
    font-size: 0.9em;
    color: #999;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.menu-item {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-item.primary {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.menu-item.primary:active {
    transform: scale(0.98);
}

.menu-item.secondary {
    background: #f8f9fa;
    color: #999;
    font-weight: normal;
    font-size: 0.9em;
}

.menu-item.secondary:active {
    background: #eee;
}

.menu-item.cancel {
    background: transparent;
    color: #666;
    margin-bottom: 0;
}

.menu-item.cancel:active {
    background: #f0f0f0;
}


.reader-content {
    padding-bottom: 80px !important;
}

.complete-review-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.complete-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.mark-done-btn {
    padding: 15px 30px;
    background: transparent;
    color: var(--text-sub);
    border: 2px solid var(--border);
    border-radius: 30px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mark-done-btn:hover {
    background: #8e44ad;
    color: white;
    border-color: #8e44ad;
}


.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11000;
    backdrop-filter: blur(4px);
}

.confirm-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.confirm-content h3 {
    margin: 0 0 15px 0;
    color: var(--text-main);
    text-align: center;
}

.confirm-content p {
    color: var(--text-sub);
    text-align: center;
    margin-bottom: 20px;
}

.confirm-content textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    resize: none;
    font-family: inherit;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.confirm-content textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cancel {
    padding: 12px 25px;
    background: var(--bg-sub);
    color: var(--text-sub);
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: var(--border);
}

.btn-confirm {
    padding: 12px 25px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}


.mode-switch-content {
    max-width: 500px;
}

.mode-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.mode-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mode-option:hover {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mode-icon {
    font-size: 2em;
}

.mode-name {
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 5px;
}

.mode-desc {
    font-size: 0.85em;
    color: var(--text-sub);
}


@media (max-width: 768px) {
    #unit-review-container {
        padding: 15px;
    }

    .unit-review-panel .review-header-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .units-grid {
        grid-template-columns: 1fr;
    }

}





.cinema-toggle-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 1.1em;
    cursor: pointer;
    margin-left: 12px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}
.cinema-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102,126,234,0.5);
}


.cinema-embed {
    background: linear-gradient(180deg, #0a0a1a, #1a1a2e);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
}
.cinema-embed:fullscreen {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #000;
    z-index: 500;
}


.cinema-video-wrap {
    text-align: center;
    margin-bottom: 0;
    flex-shrink: 0;
}
.cinema-video-wrap video {
    border-radius: 8px;
    max-width: 100%;
    max-height: 35vh;
    background: #000;
}
.cinema-embed:fullscreen .cinema-video-wrap video {
    max-height: 55vh;
}


.cinema-subtitle-area {
    text-align: center;
    padding: 8px 12px 4px;
    min-height: 60px;
    max-height: 40vh;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; 
    flex-shrink: 1;
    font-size: 18px; 
    
    position: relative;
}
.cinema-sub-block {
    width: 100%;
    max-width: 100%; 
}
.cinema-sub-empty {
    min-height: 80px;
}


.cinema-row-en {
    margin-bottom: 8px;
}



.cinema-embed .row-interlinear {
    justify-content: center;
    opacity: 1 !important;
}
.cinema-embed .word-pair {
    margin: 2px 3px;
    opacity: 1 !important;
}
.cinema-embed .wp-en {
    color: #e8e8e8 !important;
    font-size: 1.4em !important; 
    font-weight: 600;
    cursor: pointer;
    padding: 2px 1px;
    border-radius: 3px;
    transition: background 0.2s;
    opacity: 1 !important;
}
.cinema-embed .wp-en:hover {
    background: rgba(255,255,255,0.15);
}
.cinema-embed .wp-cn {
    color: #90caf9 !important;
    font-size: 0.9em !important; 
    opacity: 1 !important;
}
.cinema-embed .wp-en-kept {
    color: #78909c !important;
    opacity: 1 !important;
}
.cinema-embed .wp-grammar {
    color: #78909c !important;
    opacity: 1 !important;
}
.cinema-embed .wp-punct-cn,
.cinema-embed .wp-punct-placeholder {
    color: transparent !important;
}
.cinema-embed .phrase-pair .wp-en {
    color: #ce93d8 !important;
}
.cinema-embed .wp-phrase-cn {
    color: #b39ddb !important;
}


.cinema-trans-wrapper {
    padding: 8px 0;
    transition: filter 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    border-radius: 6px;
}
.cinema-trans-wrapper.cinema-blurred {
    filter: blur(5px);
    opacity: 0.4;
    user-select: none;
}
.cinema-trans-wrapper.cinema-blurred:hover {
    filter: blur(0);
    opacity: 1;
    user-select: text;
}
.cinema-row-cn {
    font-size: 1em;
    color: #a5d6a7;
    line-height: 1.5;
}
.cinema-cn-label {
    display: inline-block;
    background: rgba(165,214,167,0.2);
    color: #a5d6a7;
    font-size: 0.75em;
    padding: 1px 6px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}


.cinema-mode-1 .cinema-row-decode { display: none; }


.cinema-mode-3 .cinema-trans-wrapper { filter: none !important; }
.cinema-mode-3 .cinema-trans-wrapper.cinema-blurred { filter: none !important; }

.cinema-mode-4 .cinema-trans-wrapper { filter: none !important; }
.cinema-mode-4 .cinema-trans-wrapper.cinema-blurred { filter: none !important; }



.cinema-tap-hint {
    display: none;
    text-align: center;
    padding: 6px 12px;
    font-size: 0.8em;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    user-select: none;
    -webkit-user-select: none;
}




.cinema-mode-1 .cinema-row-en {
    visibility: hidden;
}
.cinema-mode-1 .cinema-trans-wrapper {
    visibility: hidden;
}
.cinema-mode-1 .cinema-mobile-trans-toggle {
    display: none !important;
}
.cinema-mode-1 .cinema-tap-hint {
    display: none !important;
}


.cinema-mode-2 .cinema-row-en .wp-en {
    visibility: visible;
}
.cinema-mode-2 .cinema-row-en .wp-cn,
.cinema-mode-2 .cinema-row-en .wp-grammar,
.cinema-mode-2 .cinema-row-en .wp-en-kept,
.cinema-mode-2 .cinema-row-en .wp-phrase-cn {
    visibility: hidden;
}


.cinema-mode-2 .cinema-row-en:hover .wp-cn,
.cinema-mode-2 .cinema-row-en:hover .wp-grammar,
.cinema-mode-2 .cinema-row-en:hover .wp-en-kept,
.cinema-mode-2 .cinema-row-en:hover .wp-phrase-cn {
    visibility: visible;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.cinema-mode-2 .cinema-row-en:hover ~ .cinema-trans-wrapper,
.cinema-mode-2 .cinema-row-en:hover ~ .cinema-trans-wrapper.cinema-blurred {
    filter: none !important;
    opacity: 1 !important;
    visibility: visible;
}

.cinema-mode-2 .cinema-trans-wrapper {
    visibility: hidden;
}


.cinema-mode-2 .cinema-row-en {
    cursor: pointer;
}


.cinema-mode-2 .cinema-sub-block.cinema-active .cinema-row-en .wp-cn,
.cinema-mode-2 .cinema-sub-block.cinema-active .cinema-row-en .wp-grammar,
.cinema-mode-2 .cinema-sub-block.cinema-active .cinema-row-en .wp-en-kept,
.cinema-mode-2 .cinema-sub-block.cinema-active .cinema-row-en .wp-phrase-cn {
    visibility: visible;
}
.cinema-mode-2 .cinema-sub-block.cinema-active .cinema-trans-wrapper,
.cinema-mode-2 .cinema-sub-block.cinema-active .cinema-trans-wrapper.cinema-blurred {
    filter: none !important;
    opacity: 1 !important;
    visibility: visible;
}


.cinema-mode-3 .cinema-row-en .wp-en {
    visibility: visible;
}
.cinema-mode-3 .cinema-row-en .wp-cn,
.cinema-mode-3 .cinema-row-en .wp-grammar,
.cinema-mode-3 .cinema-row-en .wp-en-kept,
.cinema-mode-3 .cinema-row-en .wp-phrase-cn {
    visibility: visible;
}


.cinema-mode-3 .cinema-row-en {
    cursor: default !important;
}
.cinema-mode-3 .cinema-row-en:hover .wp-cn,
.cinema-mode-3 .cinema-row-en:hover .wp-grammar,
.cinema-mode-3 .cinema-row-en:hover .wp-en-kept,
.cinema-mode-3 .cinema-row-en:hover .wp-phrase-cn {
    
    visibility: visible;
}

.cinema-mode-3 .cinema-trans-wrapper {
    visibility: visible;
    filter: none !important;
    opacity: 1 !important;
    cursor: default !important;
}
.cinema-mode-3 .cinema-trans-wrapper.cinema-blurred {
    filter: none !important;
    opacity: 1 !important;
}
.cinema-mode-3 .cinema-mobile-trans-toggle {
    display: none !important;
}
.cinema-mode-3 .cinema-tap-hint {
    display: none !important;
}


.cinema-mode-4 .cinema-row-en .wp-en {
    opacity: 0;
    transition: opacity 0.15s;
}
.cinema-mode-4 .cinema-row-en .wp-cn,
.cinema-mode-4 .cinema-row-en .wp-grammar,
.cinema-mode-4 .cinema-row-en .wp-en-kept,
.cinema-mode-4 .cinema-row-en .wp-phrase-cn {
    visibility: visible;
}
.cinema-mode-4 .cinema-row-en .wp-punct-cn,
.cinema-mode-4 .cinema-row-en .wp-punct-placeholder {
    color: transparent !important;
}

.cinema-mode-4 .cinema-row-en:hover .wp-en {
    opacity: 1;
}
.cinema-mode-4 .cinema-row-en {
    cursor: pointer;
}
.cinema-mode-4 .cinema-trans-wrapper {
    visibility: visible;
    filter: none !important;
    opacity: 1 !important;
}
.cinema-mode-4 .cinema-trans-wrapper.cinema-blurred {
    filter: none !important;
    opacity: 1 !important;
}
.cinema-mode-4 .cinema-mobile-trans-toggle {
    display: none !important;
}


.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    opacity: 1;
}

.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    color: #90caf9 !important;
}
.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-grammar {
    color: #78909c !important;
}
.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en-kept {
    color: #78909c !important;
}
.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-phrase-cn {
    color: #b39ddb !important;
}






@media (max-width: 768px) {
    .cinema-subtitle-area { min-height: 100px; padding: 12px 8px; }
    .cinema-embed .wp-en { font-size: 1.1em !important; }
    .cinema-btn { padding: 6px 10px; font-size: 1em; }
    .cinema-play-btn { padding: 6px 16px; font-size: 1.2em; }
    .cinema-progress { max-width: 200px; }
    .cinema-toggle-btn { padding: 4px 10px; font-size: 1em; }

    
    .cinema-mode-2 .cinema-tap-hint,
    .cinema-mode-4 .cinema-tap-hint {
        display: block;
    }

    
    .cinema-mode-2 .cinema-mobile-trans-toggle {
        display: block;
    }

    
    .cinema-mode-2 .cinema-trans-wrapper.cinema-blurred:hover {
        filter: blur(5px);
        opacity: 0.4;
    }

    
    .cinema-mode-2 .cinema-row-en .word-pair.revealed .wp-cn,
    .cinema-mode-2 .cinema-row-en .word-pair.revealed .wp-grammar,
    .cinema-mode-2 .cinema-row-en .word-pair.revealed .wp-en-kept {
        visibility: visible;
    }

    
    .cinema-mode-2 .cinema-row-en:hover .wp-cn,
    .cinema-mode-2 .cinema-row-en:hover .wp-grammar,
    .cinema-mode-2 .cinema-row-en:hover .wp-en-kept,
    .cinema-mode-2 .cinema-row-en:hover .wp-phrase-cn {
        visibility: hidden;
    }
    .cinema-mode-2 .cinema-row-en:hover ~ .cinema-trans-wrapper,
    .cinema-mode-2 .cinema-row-en:hover ~ .cinema-trans-wrapper.cinema-blurred {
        filter: blur(5px);
        opacity: 0.4;
    }
    .cinema-mode-4 .cinema-row-en:hover .wp-en {
        visibility: hidden;
    }

    
    .cinema-mute-btn { font-size: 1em; }

    
    .cinema-speed { display: none; }
}

@media (hover: none) {
    
    .cinema-mode-2 .cinema-tap-hint,
    .cinema-mode-4 .cinema-tap-hint {
        display: block;
    }

    
    .cinema-mode-2 .cinema-row-en:hover .wp-cn,
    .cinema-mode-2 .cinema-row-en:hover .wp-grammar,
    .cinema-mode-2 .cinema-row-en:hover .wp-en-kept,
    .cinema-mode-2 .cinema-row-en:hover .wp-phrase-cn {
        visibility: hidden;
    }
    .cinema-mode-2 .cinema-row-en:hover ~ .cinema-trans-wrapper {
        filter: blur(5px);
        opacity: 0.4;
    }
    .cinema-mode-4 .cinema-row-en:hover .wp-en {
        visibility: hidden;
    }

    
    .cinema-mode-2 .cinema-mobile-trans-toggle {
        display: block;
    }
}



.flow-guide-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(79, 70, 229, 0.4);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.flow-guide-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.flow-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flow-step {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9em;
    white-space: nowrap;
    border: none;
}


button.flow-step.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

button.flow-step.clickable:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.flow-step.active {
    background: white;
    color: #4F46E5;
    font-weight: bold;
}

button.flow-step.active:hover {
    background: #f0f0f0;
}

.flow-step.done {
    background: rgba(39, 174, 96, 0.8);
    color: white;
}

button.flow-step.done:hover {
    background: rgba(39, 174, 96, 1);
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

.flow-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.flow-next-btn {
    background: white;
    color: #4F46E5;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.flow-next-btn:hover {
    background: #f8f9fa;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flow-exit-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.flow-exit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}


@media (max-width: 768px) {
    .flow-guide-bar {
        padding: 8px 10px;
    }
    
    .flow-guide-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .flow-progress {
        justify-content: center;
    }
    
    .flow-step {
        padding: 3px 8px;
        font-size: 0.75em;
    }
    
    .flow-arrow {
        font-size: 0.7em;
    }
    
    .flow-actions {
        width: auto;
        justify-content: center;
        gap: 8px;
    }
    
    .flow-next-btn {
        flex: none;
        padding: 8px 16px;
        font-size: 0.8em;
    }
    
    .flow-exit-btn {
        padding: 8px 12px;
        font-size: 0.8em;
    }
}


#flow-complete-modal .confirm-content {
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}




#nav-widget {
    display: none !important;
}


#nav-widget.visible {
    display: flex !important;
}


body.study-plan-active #nav-widget.visible {
    display: none !important;
}


@media (max-width: 768px) {
    #nav-widget {
        bottom: 100px !important;
        right: 15px !important;
    }
    
    #nav-widget .nav-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}


.sidebar {
    z-index: 99999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important; 
}


.sidebar-overlay {
    z-index: 99998 !important;
}


@media (min-width: 769px) and (pointer: coarse) {
    
    .mobile-header {
        display: flex !important; visibility: visible !important;
        width: 100% !important; height: 50px !important;
        background: linear-gradient(135deg, #4F46E5, #6366F1) !important;
        padding: 0 16px !important; align-items: center !important;
        justify-content: space-between !important;
        z-index: 700 !important; position: fixed !important; top: 0 !important;
        box-shadow: 0 2px 12px rgba(79,70,229,0.25) !important; color: #fff !important;
        overflow: visible !important;
    }
    
    .sidebar {
        position: fixed !important; left: 0 !important; top: 0 !important; bottom: 0 !important;
        width: 320px !important; max-width: 85% !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        z-index: 99999 !important; height: 100vh !important;
        box-shadow: 2px 0 15px rgba(0,0,0,0.2) !important;
    }
    .sidebar.open { transform: translateX(0) !important; }
    .sidebar-overlay {
        display: none; position: fixed; inset: 0;
        background: rgba(0,0,0,0.5); z-index: 99998; backdrop-filter: blur(2px);
    }
    .sidebar-overlay.visible { display: block !important; }
    .sidebar-close-btn { display: flex !important; }
    
    .main-content {
        width: 100% !important; margin-left: 0 !important;
        padding-left: 0 !important; padding-top: 50px !important;
    }
    
    .content-wrapper {
        max-width: 100% !important; width: 100% !important; margin: 0 !important;
        padding-left: 16px !important; padding-right: 16px !important;
    }
}



body.profile-chapter-book.cb-flow .sidebar {
    position: fixed !important; left: 0 !important; top: 0 !important; bottom: 0 !important;
    width: 300px !important; max-width: 85% !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 99999 !important; height: 100vh !important;
    box-shadow: 2px 0 15px rgba(0,0,0,0.25) !important;
}
body.profile-chapter-book.cb-flow .sidebar.open { transform: translateX(0) !important; }
body.profile-chapter-book.cb-flow .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99998; backdrop-filter: blur(2px); }
body.profile-chapter-book.cb-flow .sidebar-overlay.visible { display: block !important; }
body.profile-chapter-book.cb-flow .sidebar-close-btn { display: flex !important; }

body.profile-chapter-book.cb-flow .mobile-header {
    display: flex !important; visibility: visible !important;
    width: 100% !important; height: 50px !important;
    background: linear-gradient(135deg, #4F46E5, #6366F1) !important;
    padding: 0 16px !important; align-items: center !important; justify-content: space-between !important;
    z-index: 700 !important; position: fixed !important; top: 0 !important; color: #fff !important;
    box-shadow: 0 2px 12px rgba(79,70,229,0.25) !important; overflow: visible !important;
}

body.profile-chapter-book.cb-flow .main-content {
    width: 100% !important; margin-left: 0 !important; padding-left: 0 !important; padding-top: 50px !important;
}
body.profile-chapter-book.cb-flow .content-wrapper {
    max-width: 820px !important; margin: 0 auto !important;
    padding-left: 16px !important; padding-right: 16px !important;
}

body.profile-chapter-book.cb-flow .srt-block:not(.cb-reading-active) { opacity: 0.4; transition: opacity 0.3s ease; }
body.profile-chapter-book.cb-flow .srt-block.cb-reading-active { opacity: 1; }






.study-plan-link {
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%) !important;
    color: #3730A3 !important;
}

.study-plan-link:hover {
    background: linear-gradient(135deg, #C7D2FE 0%, #A5B4FC 100%) !important;
}


.special-link[onclick*="showRadio"] {
    background: #3d3d3d !important;
    color: white !important;
}

.special-link[onclick*="showRadio"]:hover {
    background: #4a4a4a !important;
}


.special-link[onclick*="openWebReviewCenter"] {
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8b0 100%) !important;
    color: #2d5a3d !important;
}

.special-link[onclick*="openWebReviewCenter"]:hover {
    background: linear-gradient(135deg, #95dfc0 0%, #7bcfa3 100%) !important;
}


.special-link[onclick*="showFav"] {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%) !important;
    color: #8b6914 !important;
}

.special-link[onclick*="showFav"]:hover {
    background: linear-gradient(135deg, #ffe082 0%, #ffc107 100%) !important;
}


.special-link[onclick*="showHistory"] {
    background: linear-gradient(135deg, #dfe6e9 0%, #b2bec3 100%) !important;
    color: #555 !important;
}

.special-link[onclick*="showHistory"]:hover {
    background: linear-gradient(135deg, #c8d6db 0%, #a0aeb3 100%) !important;
}


.session-link.active,
.special-link.active {
    background: linear-gradient(135deg, #4F46E5, #6366F1) !important;
    color: white !important;
    box-shadow: 0 3px 12px rgba(79, 70, 229, 0.5) !important;
    border-left: 4px solid #fff !important;
}

.session-link.active span,
.session-link.active div,
.special-link.active span,
.special-link.active div {
    color: white !important;
}



body.study-plan-active #stage-mini-controls,
body.study-plan-active #stage-controller,
body.study-plan-active #stage-selector-expanded {
    display: none !important;
}


body.dj-active #stage-mini-controls,
body.dj-active #stage-controller,
body.dj-active #stage-selector-expanded {
    display: none !important;
}




.view-container {
    padding-bottom: 120px !important;
}


.content-wrapper {
    padding-bottom: 120px !important;
}


#fav-view {
    padding-bottom: 120px !important;
}

#fav-content-list {
    padding-bottom: 80px !important;
}


.fav-section-title {
    position: sticky;
    top: 0;
    padding: 12px 15px 6px;
    font-weight: bold;
    font-size: 14px;
    background: var(--bg-primary, #f8f9fa);
    z-index: 2;
}

.fav-card .trans-wrapper {
    filter: none !important;
    opacity: 1 !important;
    user-select: text !important;
}
.fav-card .row-decode,
.fav-card .row-full {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
}

.fav-card .row-en { display: block !important; cursor: pointer; }
.fav-card .row-en .word-pair { opacity: 1 !important; }
.fav-card .row-en .wp-cn {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.fav-card .row-en .wp-en {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: blur(6px);
    -webkit-filter: blur(6px);
    color: rgba(150,150,150,0.25);
    -webkit-text-fill-color: rgba(150,150,150,0.25);
    order: -1;
    text-align: center;
    transition: filter 0.3s, color 0.3s, -webkit-text-fill-color 0.3s;
}

.fav-card .row-en.fav-en-revealed .wp-en {
    filter: none;
    -webkit-filter: none;
    color: #1e293b;
    -webkit-text-fill-color: #1e293b;
}

.fav-card .row-en.fav-en-revealed .wp-en:not(.wp-punct) {
    visibility: visible !important;
}

.fav-card-oral { border-left: 3px solid #a78bfa; }
.fav-oral-question {
    color: #f59e0b;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.6;
}

.fav-card .fav-en-blur {
    filter: blur(6px);
    color: rgba(150,150,150,0.25);
    -webkit-text-fill-color: rgba(150,150,150,0.25);
    cursor: pointer;
    transition: filter 0.3s, color 0.3s, -webkit-text-fill-color 0.3s;
}
.fav-card .fav-en-blur.fav-en-revealed {
    filter: none;
    color: #2c3e50;
    -webkit-text-fill-color: #2c3e50;
}


.bilingual-card { margin: 8px 0; }
.bilingual-card .row-decode { display: block !important; visibility: visible !important; opacity: 1 !important; filter: none !important; }
.bilingual-card .row-full { display: block !important; visibility: visible !important; opacity: 1 !important; filter: none !important; }


.bilingual-comprehension .bilingual-en-area { display: block !important; }
.bilingual-comprehension .bilingual-en-area .wp-en { display: block !important; opacity: 1 !important; filter: none !important; color: #1e293b !important; -webkit-text-fill-color: #1e293b !important; }
.bilingual-comprehension .bilingual-en-area .wp-cn { display: flex !important; opacity: 1 !important; }
.bilingual-comprehension .bilingual-decode-blur {
    filter: blur(6px);
    color: rgba(150,150,150,0.25);
    -webkit-text-fill-color: rgba(150,150,150,0.25);
    cursor: pointer;
    transition: filter 0.3s, color 0.3s, -webkit-text-fill-color 0.3s;
    position: relative;
}
.bilingual-comprehension .bilingual-decode-blur .row-decode,
.bilingual-comprehension .bilingual-decode-blur .row-full {
    filter: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}
.bilingual-comprehension .bilingual-decode-blur.bilingual-revealed {
    filter: none;
    color: inherit;
    -webkit-text-fill-color: inherit;
}
.bilingual-comprehension .bilingual-decode-blur.bilingual-revealed .row-decode { color: #2c3e50 !important; -webkit-text-fill-color: #2c3e50 !important; }
.bilingual-comprehension .bilingual-decode-blur.bilingual-revealed .row-full { color: #6b7280 !important; -webkit-text-fill-color: #6b7280 !important; }


.bilingual-speaking .bilingual-wp-area { display: block !important; cursor: pointer; }
.bilingual-speaking .bilingual-wp-area .wp-cn { display: flex !important; opacity: 1 !important; visibility: visible !important; color: #4F46E5; font-weight: 600; }
.bilingual-speaking .bilingual-wp-area .wp-en {
    display: block !important; opacity: 1 !important; visibility: visible !important;
    filter: blur(6px); -webkit-filter: blur(6px);
    color: rgba(150,150,150,0.25); -webkit-text-fill-color: rgba(150,150,150,0.25);
    order: -1; text-align: center;
    transition: filter 0.3s, color 0.3s, -webkit-text-fill-color 0.3s;
}
.bilingual-speaking .bilingual-wp-area .word-pair { opacity: 1 !important; }
.bilingual-speaking .bilingual-wp-area.bilingual-revealed .wp-en {
    filter: none !important; -webkit-filter: none !important;
    color: #1e293b !important; -webkit-text-fill-color: #1e293b !important;
}

.bilingual-speaking .bilingual-en-blur {
    filter: blur(6px); color: rgba(150,150,150,0.25); -webkit-text-fill-color: rgba(150,150,150,0.25);
    cursor: pointer; transition: filter 0.3s, color 0.3s, -webkit-text-fill-color 0.3s;
    position: relative;
}
.bilingual-speaking .bilingual-en-blur.bilingual-revealed {
    filter: none; color: #1e293b; -webkit-text-fill-color: #1e293b;
}

.bilingual-hint {
    display: inline-block; font-size: 10px; color: rgba(124,58,237,0.4); margin-left: 8px; font-style: italic;
}
.bilingual-revealed .bilingual-hint { display: none; }


.stage8-modal .bilingual-speaking .bilingual-wp-area .wp-en {
    color: rgba(200,200,200,0.3) !important;
    -webkit-text-fill-color: rgba(200,200,200,0.3) !important;
}

.stage8-modal .bilingual-speaking .bilingual-wp-area.bilingual-revealed .wp-en {
    filter: none !important;
    -webkit-filter: none !important;
    color: #f0f0f0 !important;
    -webkit-text-fill-color: #f0f0f0 !important;
}
.stage8-modal .bilingual-speaking .bilingual-en-blur.bilingual-revealed {
    filter: none !important;
    -webkit-filter: none !important;
    color: #f0f0f0 !important;
    -webkit-text-fill-color: #f0f0f0 !important;
}

.stage8-modal .bilingual-speaking .bilingual-wp-area .wp-cn {
    color: #c4b5fd !important;
    -webkit-text-fill-color: #c4b5fd !important;
}

.stage8-modal .bilingual-speaking .bilingual-wp-area .wp-grammar {
    color: #fbbf24 !important;
    -webkit-text-fill-color: #fbbf24 !important;
}

.stage8-modal .bilingual-speaking .bilingual-wp-area .wp-en-kept {
    color: #9ca3af !important;
    -webkit-text-fill-color: #9ca3af !important;
}

.stage8-modal .bilingual-speaking .wp-punct {
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
}

.stage8-modal .row-full {
    color: #9ca3af !important;
    -webkit-text-fill-color: #9ca3af !important;
}
.stage8-modal .row-full-label {
    color: #6b7280 !important;
}

.stage8-modal .bilingual-decode-blur.bilingual-revealed .row-decode {
    color: #d1d5db !important;
    -webkit-text-fill-color: #d1d5db !important;
}

.stage8-modal .bilingual-hint {
    color: rgba(167,139,250,0.5) !important;
}

.stage8-modal .sr-tap-hint {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    color: rgba(167,139,250,0.5);
    margin-left: 8px;
    font-style: italic;
    transition: opacity 0.3s;
}
.stage8-modal .bilingual-revealed .sr-tap-hint {
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 769px) {
    .stage8-modal .bilingual-speaking .bilingual-wp-area:hover .wp-en {
        filter: none !important;
        -webkit-filter: none !important;
        color: rgba(240,240,240,0.7) !important;
        -webkit-text-fill-color: rgba(240,240,240,0.7) !important;
    }
}

.stage8-modal .bilingual-speaking .bilingual-wp-area.bilingual-revealed .wp-en {
    filter: none !important;
    -webkit-filter: none !important;
    color: #f0f0f0 !important;
    -webkit-text-fill-color: #f0f0f0 !important;
}

.stage8-modal .bilingual-revealed .wp-en:not(.wp-punct) {
    cursor: pointer !important;
}
.stage8-modal .bilingual-revealed .wp-en:not(.wp-punct):hover {
    text-decoration: underline !important;
    text-decoration-color: rgba(240,240,240,0.4) !important;
}


#history-view {
    padding-bottom: 120px !important;
}

#history-content-list {
    padding-bottom: 80px !important;
}


#review-view .review-dashboard {
    padding-bottom: 120px !important;
}

#review-view .review-modes {
    margin-bottom: 30px !important;
}


#unit-review-container {
    padding-bottom: 120px !important;
}

.unit-review-panel {
    padding-bottom: 80px !important;
}




.start-review-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.start-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.start-review-btn .sub-text {
    font-size: 0.7em;
    font-weight: normal;
    opacity: 0.9;
    display: block;
    margin-top: 5px;
}


.status-pending {
    color: #e67e22;
    font-size: 0.85em;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.status-done {
    color: #27ae60;
    font-size: 0.85em;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}


.unit-card.reviewed-today {
    opacity: 0.7;
    background: #f8f9fa;
}

.unit-card.reviewed-today:hover {
    opacity: 0.9;
}


.mark-mastered-link {
    color: #999;
    font-size: 0.8em;
    cursor: pointer;
    transition: color 0.2s;
}

.mark-mastered-link:hover {
    color: #666;
    text-decoration: underline;
}


.completed-zone {
    margin-top: 20px;
    border-top: 1px dashed #e0e0e0;
    padding-top: 15px;
}

.collapsible-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    user-select: none;
}

.collapsible-header:hover {
    color: #4F46E5;
}

.collapse-icon {
    font-size: 0.8em;
    color: #999;
    transition: transform 0.3s ease;
}

.completed-zone:not(.collapsed) .collapse-icon {
    transform: rotate(180deg);
}


.unit-review-flow-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 15px 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.unit-review-flow-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.flow-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.flow-progress-text {
    font-size: 0.85em;
    opacity: 0.9;
}

.flow-unit-name {
    font-weight: bold;
    font-size: 1.1em;
}

.unit-review-flow-bar .flow-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.flow-complete-btn {
    background: white;
    color: #4F46E5;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.flow-complete-btn:hover {
    background: #f0f0f0;
    transform: scale(1.02);
}

.unit-review-flow-bar .flow-exit-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.unit-review-flow-bar .flow-exit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}


.flow-skip-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.9em;
}

.flow-skip-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #fff;
    border-color: rgba(231, 76, 60, 0.5);
}


.main-flow-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.main-flow-progress .flow-step {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 0.85em;
    white-space: nowrap;
}

.main-flow-progress .flow-step.done {
    background: rgba(39, 174, 96, 0.8);
}

.main-flow-progress .flow-step.active {
    background: white;
    color: #4F46E5;
    font-weight: bold;
}

.main-flow-progress .flow-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8em;
}

.current-unit-info {
    display: flex;
    align-items: center;
    gap: 8px;
}


@media (max-width: 768px) {
    .start-review-btn {
        padding: 15px;
        font-size: 1em;
    }
    
    .unit-review-flow-bar {
        padding: 12px 15px;
    }
    
    .unit-review-flow-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .flow-info {
        text-align: center;
    }
    
    .unit-review-flow-bar .flow-actions {
        width: 100%;
        justify-content: center;
    }
    
    .flow-complete-btn {
        flex: 1;
        padding: 10px 15px;
    }
    
    .unit-review-flow-bar .flow-exit-btn {
        padding: 10px 12px;
    }
}


.study-plan-dashboard {
    padding-bottom: 120px !important;
}


@media (max-width: 768px) {
    .view-container,
    .content-wrapper,
    #fav-view,
    #history-view,
    #unit-review-container,
    .study-plan-dashboard {
        padding-bottom: 140px !important;
    }
}


.confirm-modal {
    align-items: flex-start !important;
    padding-top: 10px !important;
    overflow-y: auto !important;
}

.confirm-content {
    max-height: 90vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-top: 10px !important;
}

@media (max-width: 768px) {
    .confirm-modal {
        align-items: flex-start !important;
        padding-top: 10px !important;
    }
    
    .confirm-content {
        max-height: 85vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        padding: 15px !important;
        margin: 10px !important;
    }
    
    .confirm-content h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .confirm-content p,
    .confirm-content li {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    
    .confirm-content ul {
        padding-left: 15px !important;
        margin: 8px 0 !important;
    }
}




@media (max-width: 768px) {
    .study-plan-dashboard {
        padding-bottom: 100px !important;
    }
}


.study-plan-footer {
    text-align: center !important;
    padding: 30px 20px !important;
    margin-top: 20px !important;
}


.start-all-btn {
    background: linear-gradient(135deg, #6c5ce7, #a78bfa) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35) !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
}


.study-plan-footer .start-all-btn {
    padding: 15px 40px !important;
    font-size: 16px !important;
    border-radius: 30px !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4) !important;
}


@media (max-width: 768px) {
    .study-plan-footer {
        position: fixed !important;
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 100 !important;
        width: auto !important;
        padding: 0 20px !important;
        margin-top: 0 !important;
    }
    
    .study-plan-footer .start-all-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}




#stage-mini-controls {
    display: none;
}

@media (max-width: 768px) {
    
    #stage-controller {
        display: none !important;
    }
    
    
    #stage-mini-controls {
        display: flex !important;
        position: fixed;
        top: 70px;
        right: 15px;
        flex-direction: column;
        gap: 8px;
        z-index: 8000;
    }
    
    
    .stage-current-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
        color: white;
        border: none;
        font-size: 18px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
        transition: all 0.2s ease;
    }
    
    .stage-current-btn:active {
        transform: scale(0.95);
    }
    
    
    .stage-help-mini-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: white;
        color: #4F46E5;
        border: 2px solid #4F46E5;
        font-size: 18px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }
    
    .stage-help-mini-btn:active {
        transform: scale(0.95);
        background: #4F46E5;
        color: white;
    }
    
    
    #stage-selector-expanded {
        display: none;
        position: fixed;
        top: 70px;
        right: 15px;
        flex-direction: column;
        gap: 6px;
        background: white;
        padding: 10px;
        border-radius: 25px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        z-index: 8001;
        animation: slideDown 0.2s ease;
    }
    
    #stage-selector-expanded.visible {
        display: flex !important;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    
    .stage-select-btn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #f8f9fa;
        color: #333;
        border: 2px solid transparent;
        font-size: 16px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .stage-select-btn:hover {
        background: #e8e9ea;
    }
    
    .stage-select-btn.active {
        background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
        color: white;
        border-color: transparent;
    }
    
    
    .stage-select-help {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #f0f0f0;
        color: #4F46E5;
        border: none;
        font-size: 16px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .stage-select-help:hover {
        background: #4F46E5;
        color: white;
    }
    
    
    .stage-select-close {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #f8f9fa;
        color: #999;
        border: none;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .stage-select-close:hover {
        background: #e74c3c;
        color: white;
    }
    
    
    #stage-mini-controls.hidden {
        display: none !important;
    }
}


@media (min-width: 769px) {
    #stage-mini-controls {
        display: none !important;
    }
    
    #stage-selector-expanded {
        display: none !important;
    }
    
    #stage-controller {
        display: flex !important;
    }
    
    .stage-close-btn {
        display: none !important;
    }

    
    #stage-controller.expanded .stage-close-btn {
        display: flex !important;
    }
}



.study-step {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.study-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.step-number {
    font-size: 2.5em;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.step-header h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.3em;
}

.step-badge {
    background: var(--bg-sub);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

.step-desc {
    color: var(--text-sub);
    margin: 10px 0 15px 0;
    line-height: 1.6;
}

.step-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.step-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}


@media (max-width: 768px) {
    .study-plan-dashboard {
        padding: 15px 12px !important;
        padding-bottom: 80px !important;
    }
    
    .study-plan-intro {
        padding: 12px 15px !important;
        margin-bottom: 15px !important;
    }
    
    .study-plan-intro p {
        font-size: 0.9em !important;
    }
    
    .study-plan-steps {
        gap: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .study-step {
        padding: 12px 15px !important;
        gap: 12px !important;
    }
    
    .step-number {
        font-size: 1.5em !important;
    }
    
    .step-header h3 {
        font-size: 1em !important;
    }
    
    .step-badge {
        font-size: 0.75em !important;
        padding: 3px 10px !important;
    }
    
    .step-desc {
        font-size: 0.85em !important;
        margin: 6px 0 10px 0 !important;
        line-height: 1.4 !important;
    }
    
    .step-btn {
        padding: 8px 16px !important;
        font-size: 0.85em !important;
    }
}


body.history-active #stage-mini-controls,
body.history-active #stage-controller,
body.history-active #stage-selector-expanded,
body.study-plan-active #stage-mini-controls,
body.study-plan-active #stage-controller,
body.study-plan-active #stage-selector-expanded,
body.unit-review-active #stage-mini-controls,
body.unit-review-active #stage-controller,
body.unit-review-active #stage-selector-expanded {
    display: none !important;
}


@media (max-width: 768px) {
    .sidebar {
        padding-bottom: 100px !important;
    }
    
    .sidebar .sidebar-content,
    .sidebar .session-list {
        padding-bottom: 100px !important;
    }
}


@media (max-width: 768px) {
    
    #study-plan-view.active {
        padding-top: 60px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .study-plan-dashboard {
        padding-top: 10px !important;
    }
    
    
    #unit-review-container {
        padding-top: 60px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    
    #review-view.active {
        padding-top: 60px !important;
    }
    
    .review-dashboard {
        padding-top: 10px !important;
    }
    
    
    #review-card-container {
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 70px !important;
    }
    
    .flashcard-container {
        justify-content: flex-start !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        max-height: none !important;
        height: auto !important;
    }
    
    
    #fav-view.active {
        padding-top: 60px !important;
    }
    
    
    #history-view.active {
        padding-top: 60px !important;
    }
    
    
    .main-content {
        width: 100% !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    
    .content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
    
    
    [id^="session-"].active {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


@media (max-width: 768px) {
    
    .review-dashboard:not([style*="none"]) {
        display: block !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
    }
    
    
    .review-dashboard[style*="none"] {
        display: none !important;
    }
    
    
    .review-modes {
        justify-content: flex-start !important;
        align-content: flex-start !important;
    }
    
    
    .stats-container {
        justify-content: flex-start !important;
        align-content: flex-start !important;
    }
    
    
    .unit-review-panel {
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
    }
    
    
    .unit-reader-modal {
        padding-left: 0 !important;
        width: 100% !important;
    }
    
    
    #unit-review-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
    }
    
    
    .units-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    
    .plan-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .plan-group {
        width: 100% !important;
    }
    
    
    .unit-card {
        width: 100% !important;
        margin-bottom: 0 !important;
        border-radius: 12px !important;
    }
    
    
    #review-card-container[style*="flex"] {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        min-height: auto !important;
    }
    
    
    .flashcard-container {
        justify-content: flex-start !important;
        margin-top: 0 !important;
    }
    
    
    .unit-review-panel .review-header-box {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
        padding: 15px !important;
    }
    
    .unit-review-panel .review-header-box h2 {
        font-size: 1.2em !important;
        margin-bottom: 5px !important;
    }
    
    .unit-review-panel .review-header-box > div {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .mode-toggle-btn {
        padding: 8px 15px !important;
        font-size: 0.85em !important;
    }
    
    .close-panel-btn {
        width: 32px !important;
        height: 32px !important;
    }
    
    
    .mobile-header {
        z-index: 9999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    
    #review-card-container {
        margin-top: 0 !important;
        padding-top: 70px !important;
    }
    
    
    #unit-review-container {
        padding-top: 60px !important;
    }
    
    
    .back-to-review-btn {
        position: fixed !important;
        top: 60px !important;
        left: 15px !important;
        z-index: 9000 !important;
        background: white !important;
        border: 1px solid #ddd !important;
        border-radius: 20px !important;
        padding: 8px 15px !important;
        font-size: 0.85em !important;
        color: #666 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        cursor: pointer !important;
    }
    
    .back-to-review-btn:active {
        background: #f0f0f0 !important;
    }
}


@media (prefers-color-scheme: dark) {
    
    .unit-review-panel {
        color: #e0e0e0;
    }
    
    .unit-review-panel .review-header-box h2 {
        color: #f0f0f0;
    }
    
    
    .today-plan-section {
        background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    }
    
    .today-plan-section h3 {
        color: #f0f0f0;
    }
    
    
    .unit-card {
        background: #2d3436;
        color: #e0e0e0;
        border-color: #444;
    }
    
    .unit-card:hover {
        border-color: var(--accent);
    }
    
    .unit-title {
        color: #f0f0f0;
    }
    
    .unit-count {
        background: #444;
        color: #ccc;
    }
    
    .last-read {
        color: #999;
    }
    
    
    .plan-group {
        background: #1e272e;
    }
    
    .group-label {
        color: #ccc;
        border-bottom-color: #444;
    }
    
    
    .unit-reader-modal {
        background: rgba(30, 30, 30, 0.98);
    }
    
    .reader-header {
        background: #1e272e;
        border-bottom-color: #444;
    }
    
    .reader-header h3 {
        color: #f0f0f0;
    }
    
    .reader-content {
        background: #121212;
    }
    
    .reader-sentence-block {
        background: #1e272e;
    }
    
    .sentence-content .row-en {
        color: #f0f0f0;
    }
    
    .reader-footer {
        background: #1e272e;
        border-top-color: #444;
    }
    
    
    .unit-review-intro {
        background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%) !important;
        color: #ccc !important;
    }
    
    .unit-review-intro div[style*="color: #2c3e50"] {
        color: #f0f0f0 !important;
    }
}




.flow-guide-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(79, 70, 229, 0.4);
    animation: slideUp 0.3s ease;
    transition: all 0.3s ease;
}


.flow-guide-bar.collapsed {
    padding: 8px 15px;
}

.flow-guide-bar.collapsed .flow-expanded-content {
    display: none;
}


.flow-guide-bar.expanded {
    padding: 10px 15px 15px;
}

.flow-guide-bar.expanded .flow-expand-btn {
    transform: rotate(180deg);
}


.flow-collapsed-row {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}


.flow-step-label {
    font-size: 0.85em;
    font-weight: bold;
    white-space: nowrap;
    min-width: 80px;
}


.flow-progress-track {
    flex: 1;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    min-width: 100px;
}


.flow-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 10px;
    transition: width 0.15s ease-out;
}

.flow-progress-fill.fav-color {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.flow-progress-fill.unit-color {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.flow-progress-fill.new-color {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}


.flow-progress-percent {
    font-size: 0.8em;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
}


.flow-next-btn-small {
    background: white;
    color: #4F46E5;
    border: none;
    padding: 6px 14px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.flow-next-btn-small:hover {
    background: #f0f0f0;
    transform: scale(1.02);
}

.flow-next-btn-small:active {
    transform: scale(0.98);
}


.flow-expand-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-expand-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}


.flow-expanded-content {
    max-width: 900px;
    margin: 10px auto 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


.flow-steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}


.flow-step-tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.2);
}

.flow-step-tag.done {
    background: rgba(39, 174, 96, 0.8);
}

.flow-step-tag.active {
    background: white;
    color: #4F46E5;
    font-weight: bold;
}

.flow-step-tag.pending {
    opacity: 0.5;
}


.flow-actions-row {
    display: flex;
    justify-content: center;
    gap: 12px;
}


.flow-next-btn-large {
    background: white;
    color: #4F46E5;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flow-next-btn-large:hover {
    background: #f0f0f0;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.flow-exit-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flow-exit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}


.flow-skip-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flow-skip-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    color: white;
    border-color: rgba(231, 76, 60, 0.5);
}


.flow-unit-title {
    text-align: center;
    font-size: 0.85em;
    opacity: 0.9;
    margin-bottom: 10px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}


.flow-expanded-content {
    max-width: 900px;
    margin: 10px auto 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}


.unit-flow-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: bold;
    margin-right: 8px;
    vertical-align: middle;
}


@media (max-width: 768px) {
    
    .flow-guide-bar.collapsed {
        padding: 6px 10px;
    }
    
    .flow-collapsed-row {
        gap: 6px;
    }
    
    .flow-step-label {
        font-size: 0.75em;
        min-width: 60px;
    }
    
    .flow-progress-track {
        height: 16px;
        min-width: 80px;
    }
    
    .flow-progress-percent {
        font-size: 0.7em;
        min-width: 32px;
    }
    
    .flow-next-btn-small {
        padding: 5px 10px;
        font-size: 0.75em;
    }
    
    .flow-expand-btn {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    
    .flow-guide-bar.expanded {
        padding: 8px 10px 12px;
    }
    
    .flow-expanded-content {
        margin-top: 8px;
        padding-top: 8px;
    }
    
    .flow-steps-row {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .flow-step-tag {
        padding: 3px 8px;
        font-size: 0.7em;
    }
    
    .flow-actions-row {
        gap: 8px;
    }
    
    .flow-next-btn-large {
        padding: 8px 16px;
        font-size: 0.8em;
    }
    
    .flow-exit-btn,
    .flow-skip-btn {
        padding: 8px 12px;
        font-size: 0.75em;
    }
    
    .flow-unit-title {
        font-size: 0.75em;
        margin-bottom: 8px;
        padding: 3px 10px;
    }
    
    
    .unit-flow-badge {
        padding: 2px 8px;
        font-size: 0.7em;
        margin-right: 6px;
    }
}


.mark-done-btn {
    padding: 10px 20px;
    background: transparent;
    color: #999;
    border: 1px dashed #ccc;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.mark-done-btn:hover {
    opacity: 1;
    background: rgba(142, 68, 173, 0.1);
    color: #8e44ad;
    border-color: #8e44ad;
    border-style: solid;
}


@media (max-width: 768px) {
    .mark-done-btn {
        padding: 8px 15px;
        font-size: 0.8em;
        opacity: 0.5;
    }
    
    .reader-footer {
        gap: 15px !important;
    }
    
    
    .complete-review-btn {
        padding: 14px !important;
        font-size: 1em !important;
    }
}

body.dj-active .mobile-header {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}





.confirm-modal,
.unit-reader-modal,
#recitation-guide-modal,
#login-modal,
#dict-modal {
    pointer-events: auto !important; 
}


.confirm-content,
.reader-content,
.login-box,
.dict-content {
    pointer-events: auto !important;
}



@media (max-width: 768px) {
    
    #fav-view,
    #history-view {
        padding-top: 60px !important; 
    }

    
    #fav-content-list,
    #history-content-list {
        padding-top: 10px;
    }

    
    .fav-header-box {
        margin-top: 10px;
    }
    
    
    .confirm-modal {
        padding-top: 60px !important; 
    }
}




@media (min-width: 769px) {
    .tap-reveal-overlay {
        display: none !important;
    }
}


@media (max-width: 768px) {
    
    .stage-4-recite .row-en,
    .unit-reader-modal.stage-4-recite .row-en {
        position: relative !important;
    }
    
    
    .stage-4-recite .row-en:not(.revealed),
    .unit-reader-modal.stage-4-recite .row-en:not(.revealed) {
        opacity: 1 !important; 
    }
    
    
    .tap-reveal-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        display: none !important; 
        align-items: center;
        justify-content: center;
        color: #666 !important;
        font-size: 0.9em !important;
        border-radius: 8px;
        z-index: 100 !important;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: all 0.3s ease;
    }
    
    
    .stage-4-recite .row-en:not(.revealed) .tap-reveal-overlay,
    .unit-reader-modal.stage-4-recite .row-en:not(.revealed) .tap-reveal-overlay {
        display: flex !important; 
    }
    
    
    .tap-reveal-overlay:active {
        background: rgba(255, 255, 255, 0.9) !important;
    }
    
    
    .row-en.revealed .tap-reveal-overlay {
        display: none !important;
    }
    
    
    .stage-4-recite .row-en.revealed,
    .unit-reader-modal.stage-4-recite .row-en.revealed {
        opacity: 1 !important;
    }
}


@media (orientation: landscape) and (max-height: 500px) {

    
    #stage-controller {
        display: none !important;
    }

    #stage-mini-controls {
        display: flex !important;
        position: fixed;
        top: 42px;
        right: 8px;
        flex-direction: column;
        gap: 4px;
        z-index: 8000;
    }

    .stage-current-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }

    .stage-help-mini-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }

    #stage-selector-expanded {
        display: none;
        position: fixed;
        top: 42px;
        right: 8px;
        flex-direction: column;
        gap: 4px;
        background: white;
        padding: 8px;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        z-index: 8001;
        animation: slideDown 0.2s ease;
    }

    #stage-selector-expanded.visible {
        display: flex !important;
    }

    .stage-select-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }

    .stage-select-help,
    .stage-select-close {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    #stage-mini-controls.hidden {
        display: none !important;
    }

    
    .full-audio-player {
        position: relative !important;
        top: auto !important;
        margin: 0 -10px 15px -10px !important;
        padding: 8px 12px !important;
        border-radius: 12px !important;
        gap: 8px;
    }

    .full-audio-player.sticky-bar {
        position: fixed !important;
        top: 36px !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        border-radius: 0 0 12px 12px !important;
        z-index: 9998;
    }

    .full-audio-player span:first-child {
        font-size: 1em !important;
    }

    .full-audio-player .full-audio-label {
        font-size: 0.7em !important;
    }

    .full-audio-player audio {
        height: 28px !important;
    }

    
    .unit-reader-modal {
        padding-left: 0 !important;
        padding-top: 0 !important;
    }

    .reader-header-top {
        padding: 8px 12px;
    }

    .reader-header h3 {
        font-size: 0.9em;
    }

    .reader-progress-bar {
        height: 22px;
    }

    .reader-content {
        padding: 10px 12px;
        padding-bottom: 70px !important;
    }

    .reader-sentence-block {
        padding: 12px;
        margin-bottom: 10px;
    }

    
    .flow-guide-bar.collapsed {
        padding: 5px 10px;
    }

    .flow-guide-bar.expanded {
        padding: 6px 10px 10px;
    }

    .flow-collapsed-row {
        gap: 6px;
    }

    .flow-step-label {
        font-size: 0.72em;
        min-width: 55px;
    }

    .flow-progress-track {
        height: 14px;
    }

    .flow-progress-percent {
        font-size: 0.68em;
    }

    .flow-next-btn-small {
        padding: 4px 10px;
        font-size: 0.72em;
    }

    .flow-expand-btn {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }

    .flow-step-tag {
        padding: 2px 7px;
        font-size: 0.68em;
    }

    .flow-next-btn-large {
        padding: 6px 14px;
        font-size: 0.78em;
    }

    .flow-exit-btn,
    .flow-skip-btn {
        padding: 6px 10px;
        font-size: 0.72em;
    }

    
    .unit-review-flow-bar {
        padding: 8px 12px;
    }

    .unit-review-flow-content {
        flex-direction: row;
        gap: 10px;
    }

    .flow-info {
        gap: 2px;
    }

    .flow-progress-text {
        font-size: 0.75em;
    }

    .flow-unit-name {
        font-size: 0.9em;
    }

    .flow-complete-btn {
        padding: 8px 14px;
        font-size: 0.85em;
    }

    .unit-review-flow-bar .flow-exit-btn {
        padding: 8px 10px;
        font-size: 0.8em;
    }

    
    #unit-review-container {
        padding: 10px 15px !important;
        padding-left: 15px !important;
        padding-top: 50px !important;
        max-width: 100% !important;
    }

    .unit-review-panel {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    
    .session-container .srt-block {
        border-radius: 14px !important;
        margin-bottom: 12px !important;
    }

    .session-container .block-header {
        padding: 8px 14px !important;
    }

    .session-container .block-content {
        padding: 12px 14px 16px !important;
    }

    .session-container .row-en {
        font-size: 1.1em !important;
        margin-bottom: 10px !important;
    }

    .session-container .row-decode {
        font-size: 0.92em !important;
        padding: 7px 10px !important;
    }

    
    .view-container,
    .content-wrapper,
    #fav-view,
    #history-view,
    #unit-review-container,
    .study-plan-dashboard {
        padding-bottom: 80px !important;
    }

    .unit-review-panel {
        padding-bottom: 60px !important;
    }

    
    #nav-widget {
        bottom: 70px !important;
        right: 10px !important;
    }

    #nav-widget .nav-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    
    .sidebar {
        padding-bottom: 60px !important;
    }

    
    #study-plan-view.active,
    #review-view.active,
    #fav-view.active,
    #history-view.active {
        padding-top: 50px !important;
    }

    #review-card-container {
        padding-top: 55px !important;
    }

    
    .study-plan-dashboard {
        padding: 10px 12px !important;
        padding-top: 5px !important;
    }

    .study-plan-intro {
        padding: 10px 14px !important;
        margin-bottom: 12px !important;
    }

    .study-plan-intro p {
        font-size: 0.85em !important;
    }

    .study-step {
        padding: 10px 14px !important;
        gap: 10px !important;
    }

    .step-number {
        font-size: 1.4em !important;
    }

    .step-header h3 {
        font-size: 0.95em !important;
    }

    .step-desc {
        font-size: 0.82em !important;
        margin: 5px 0 8px 0 !important;
    }

    .step-btn {
        padding: 7px 14px !important;
        font-size: 0.82em !important;
    }

    
    .confirm-content {
        max-height: 80vh !important;
        font-size: 12px !important;
        padding: 12px !important;
    }

    
    .flashcard-container {
        padding-top: 10px !important;
        margin-top: 0 !important;
    }

    
    .mobile-header {
        height: 36px !important;
    }

    
    body.history-active #stage-mini-controls,
    body.history-active #stage-selector-expanded,
    body.study-plan-active #stage-mini-controls,
    body.study-plan-active #stage-selector-expanded,
    body.unit-review-active #stage-mini-controls,
    body.unit-review-active #stage-selector-expanded,
    body.dj-active #stage-mini-controls,
    body.dj-active #stage-selector-expanded {
        display: none !important;
    }

    
    .study-plan-footer {
        position: fixed !important;
        bottom: 10px !important;
        left: calc(200px + 50%) !important;
        transform: translateX(-50%) !important;
        z-index: 100 !important;
        width: auto !important;
        padding: 0 15px !important;
        margin-top: 0 !important;
    }

    .study-plan-footer .start-all-btn {
        padding: 8px 18px !important;
        font-size: 12px !important;
        border-radius: 25px !important;
    }

    
    

    .stage-current-btn {
        background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
        color: white !important;
        box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4) !important;
        border: none !important;
    }

    .stage-help-mini-btn {
        background: white !important;
        color: #4F46E5 !important;
        border: 2px solid #4F46E5 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .stage-help-mini-btn:active {
        transform: scale(0.95) !important;
        background: #4F46E5 !important;
        color: white !important;
    }

    #stage-selector-expanded {
        background: white !important;
        padding: 8px !important;
        border-radius: 20px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    }

    .stage-select-btn {
        background: #f8f9fa !important;
        color: #333 !important;
        border: 2px solid transparent !important;
    }

    .stage-select-btn:hover {
        background: #e8e9ea !important;
    }

    .stage-select-btn.active {
        background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
        color: white !important;
        border-color: transparent !important;
    }

    .stage-select-help {
        background: #f0f0f0 !important;
        color: #4F46E5 !important;
    }

    .stage-select-help:hover {
        background: #4F46E5 !important;
        color: white !important;
    }

    .stage-select-close {
        background: #f8f9fa !important;
        color: #999 !important;
    }

    .stage-select-close:hover {
        background: #e74c3c !important;
        color: white !important;
    }

    
    .flow-guide-bar {
        left: 200px !important;
        right: 0 !important;
        width: auto !important;
        border-left: 3px solid rgba(255, 255, 255, 0.3) !important;
        padding-left: 14px !important;
    }

    
    .unit-review-flow-bar {
        left: 200px !important;
        right: 0 !important;
        width: auto !important;
        border-left: 3px solid rgba(255, 255, 255, 0.3) !important;
        padding-left: 14px !important;
    }

    
    .full-audio-player.sticky-bar {
        left: 200px !important;
        right: 0 !important;
        width: auto !important;
    }

    
    #nav-widget {
        right: 50px !important;
        bottom: 50px !important;
    }

    #nav-widget .nav-btn {
        width: 26px !important;
        height: 26px !important;
        font-size: 10px !important;
    }

    
    #stage-mini-controls {
        top: 42px !important;
        right: 8px !important;
    }

    #stage-selector-expanded {
        top: 42px !important;
        right: 8px !important;
    }
}







.row-interlinear {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 2px 4px;
    line-height: 1;
    margin-bottom: 14px;
    cursor: pointer; 
}


.word-pair {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 3px 4px;
    border-radius: 7px;
    transition: background 0.15s ease;
}


.wp-en {
    pointer-events: auto;
    font-size: 1em;
    font-weight: 600;
    color: #1E1B4B;
    line-height: 1.45;
    white-space: nowrap;
}


.wp-cn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35em;
    font-size: 0.68em;
    color: #4F46E5;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    transition: opacity 0.25s ease;
    letter-spacing: 0.02em;
}


.wp-cn:empty::before {
    content: "\00a0";
    visibility: hidden;
}


.wp-grammar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35em;
    font-size: 0.65em;
    color: #B45309;          
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    transition: opacity 0.25s ease;
    letter-spacing: 0.01em;
    background: #FEF3C7;     
    border-radius: 3px;
    padding: 0 2px;
}


.wp-en-kept {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35em;
    font-size: 0.68em;
    color: #6B7280;          
    font-weight: 400;
    font-style: italic;
    line-height: 1.35;
    white-space: nowrap;
    transition: opacity 0.25s ease;
    letter-spacing: 0.02em;
}


.wp-punct {
    font-size: 1em;
    font-weight: 600;
    color: #6B7280;
    line-height: 1.45;
    white-space: nowrap;
}


.wp-punct-pair {
    padding: 2px 1px;
    gap: 1px;
}


.wp-punct-placeholder {
    display: block;
    height: 1.35em;
    font-size: 0.68em;
    line-height: 1.35;
}


.row-full-label {
    display: inline-block;
    font-size: 0.72em;
    font-weight: 600;
    color: #9CA3AF;
    background: #F3F4F6;
    border-radius: 4px;
    padding: 1px 5px;
    margin-right: 5px;
    vertical-align: middle;
    letter-spacing: 0.04em;
}


.phrase-pair {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1.5px solid #8b5cf6;
    border-radius: 18px;
    padding: 3px 11px 2px;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.10);
    transition: background 0.15s ease, border-color 0.15s ease;
    gap: 2px;
}


.phrase-pair:hover {
    background: #fef3c7;
    border-color: #d97706;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.12);
}


.phrase-en {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    justify-content: center;
}


.phrase-pair .wp-en {
    color: #6d28d9;
    font-weight: 700;
}


.phrase-pair:hover .wp-en {
    color: #92400e;
}


.wp-phrase-cn {
    color: #7c3aed !important;
    font-weight: 600 !important;
    text-align: center;
}


.phrase-pair:hover .wp-phrase-cn {
    color: #b45309 !important;
}


.stage-1-blind .wp-phrase-cn {
    opacity: 0 !important;
    pointer-events: none;
}


.stage-3-decode .phrase-pair .wp-en {
    opacity: 0 !important;
}
.stage-3-decode .row-interlinear:hover .phrase-pair .wp-en {
    opacity: 1 !important;
}
.stage-3-decode .row-interlinear.revealed .phrase-pair .wp-en {
    opacity: 1 !important;
}

.stage-4-recite .phrase-pair .wp-en {
    opacity: 0 !important;
    
}



.stage-4-recite .row-interlinear.revealed .phrase-pair .wp-en {
    opacity: 1 !important;
}


@media (max-width: 768px) {
    .phrase-pair {
        padding: 2px 4px 2px 5px;
    }
    .phrase-en {
        gap: 3px;
    }
}




body.profile-chapter-book .phrase-pair {
    background: var(--cb-bgC);
    border: none;
    box-shadow: inset 0 0 0 1.5px var(--cb-acC), inset 0 1px 0 rgba(255,255,255,0.45), 0 2px 6px rgba(0,0,0,0.10);
}
body.profile-chapter-book .phrase-pair .wp-en { color: var(--cb-fgC) !important; -webkit-text-fill-color: var(--cb-fgC) !important; }
body.profile-chapter-book .wp-phrase-cn { color: var(--cb-fgC) !important; -webkit-text-fill-color: var(--cb-fgC) !important; }

body.profile-chapter-book.cb-night-mode .srt-block .row-interlinear .phrase-pair .wp-en:not(.wp-punct) { color: var(--cb-fgC) !important; -webkit-text-fill-color: var(--cb-fgC) !important; }


body.profile-chapter-book .srt-block .phrase-pair .wp-en.word-current {
    background: linear-gradient(180deg, transparent 42%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 255, 255, 0.92) 88%, transparent 88%) !important;
    color: var(--cb-fgC) !important;
    -webkit-text-fill-color: var(--cb-fgC) !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6) !important;
}

body.profile-chapter-book.cb-night-mode .srt-block .phrase-pair .wp-en.word-current {
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.45) 88%, transparent 88%) !important;
    color: var(--cb-fgC) !important;
    -webkit-text-fill-color: var(--cb-fgC) !important;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.5) !important;
}


body.profile-chapter-book .cb-reveal-anim .phrase-pair {
    position: relative;
    overflow: hidden;
}
body.profile-chapter-book .cb-reveal-anim .phrase-pair::after {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: skewX(-18deg);
    animation: cbChunkShine 0.7s ease-out 1;   
    pointer-events: none;
}
@keyframes cbChunkShine {
    from { left: -60%; }
    to   { left: 130%; }
}



body.profile-chapter-book {
    --cb-bgN:#D6E2CF; --cb-fgN:#42603e; --cb-acN:#6f9059;
    --cb-bgV:#F1D6BD; --cb-fgV:#945528; --cb-acV:#c5803a;
    --cb-bgE:#EDCFC5; --cb-fgE:#9c5346; --cb-acE:#bd6c5c;
    --cb-ink:#4a3b2a; --cb-bgC:#E7DDF0; --cb-fgC:#5d4a72; --cb-acC:#8f74ad;
}
body.profile-chapter-book.cb-pal-morandi { --cb-bgN:#C2D0D2;--cb-fgN:#39504f;--cb-acN:#5f8186; --cb-bgV:#E0C8BA;--cb-fgV:#73503e;--cb-acV:#a87856; --cb-bgE:#D7C2CD;--cb-fgE:#674553;--cb-acE:#946b7e; --cb-ink:#36403f; --cb-bgC:#D6CFDD;--cb-fgC:#4a4152;--cb-acC:#7d6f8a; }
body.profile-chapter-book.cb-pal-cream   { --cb-bgN:#D6E2CF;--cb-fgN:#42603e;--cb-acN:#6f9059; --cb-bgV:#F1D6BD;--cb-fgV:#945528;--cb-acV:#c5803a; --cb-bgE:#EDCFC5;--cb-fgE:#9c5346;--cb-acE:#bd6c5c; --cb-ink:#4a3b2a; --cb-bgC:#E7DDF0;--cb-fgC:#5d4a72;--cb-acC:#8f74ad; }
body.profile-chapter-book.cb-pal-macaron { --cb-bgN:#DBEAFE;--cb-fgN:#1e40af;--cb-acN:#3b82f6; --cb-bgV:#FFEAD2;--cb-fgV:#c2410c;--cb-acV:#f97316; --cb-bgE:#FCE0EE;--cb-fgE:#be185d;--cb-acE:#ec4899; --cb-ink:#1E1B4B; --cb-bgC:#E9D8FD;--cb-fgC:#6d28d9;--cb-acC:#8b5cf6; }
body.profile-chapter-book.cb-pal-jelly   { --cb-bgN:#BAE6FD;--cb-fgN:#0369a1;--cb-acN:#0ea5e9; --cb-bgV:#FED7AA;--cb-fgV:#ea580c;--cb-acV:#f97316; --cb-bgE:#FBCFE8;--cb-fgE:#db2777;--cb-acE:#ec4899; --cb-ink:#0c2a4d; --cb-bgC:#E9D5FF;--cb-fgC:#7c3aed;--cb-acC:#a855f7; }

body.profile-chapter-book.cb-night-mode  { --cb-bgN:#2b3f48;--cb-fgN:#a9c6cc;--cb-acN:#6f9499; --cb-bgV:#4a3527;--cb-fgV:#e3c2a6;--cb-acV:#bb8a64; --cb-bgE:#3f2c37;--cb-fgE:#dcbacb;--cb-acE:#b07e96; --cb-ink:#e8eef2; --cb-bgC:#352c44;--cb-fgC:#cbb8e8;--cb-acC:#9a7bc4; }


body.profile-chapter-book .row-interlinear .wp-cn.cb-sem-n,
body.profile-chapter-book .row-interlinear .wp-cn.cb-sem-v,
body.profile-chapter-book .row-interlinear .wp-cn.cb-sem-e { border-radius: 6px; }


body.profile-chapter-book .row-interlinear .wp-cn.cb-sem-n { background:var(--cb-bgN); color:var(--cb-fgN)!important; -webkit-text-fill-color:var(--cb-fgN)!important; padding:0 5px; }
body.profile-chapter-book .row-interlinear .wp-cn.cb-sem-v { background:var(--cb-bgV); color:var(--cb-fgV)!important; -webkit-text-fill-color:var(--cb-fgV)!important; padding:0 5px; }
body.profile-chapter-book .row-interlinear .wp-cn.cb-sem-e { background:var(--cb-bgE); color:var(--cb-fgE)!important; -webkit-text-fill-color:var(--cb-fgE)!important; padding:0 5px; }



body.profile-chapter-book.cb-tech-card { --cb-card-bg:#fff; --cb-card-bd:#eef0f4; --cb-card-sh:rgba(0,0,0,.10); }
body.profile-chapter-book.cb-tech-card.cb-night-mode { --cb-card-bg:#243042; --cb-card-bd:#334155; --cb-card-sh:rgba(0,0,0,.30); }
body.profile-chapter-book.cb-tech-card .row-interlinear .wp-cn.cb-sem-n,
body.profile-chapter-book.cb-tech-card .row-interlinear .wp-cn.cb-sem-v,
body.profile-chapter-book.cb-tech-card .row-interlinear .wp-cn.cb-sem-e { background:var(--cb-card-bg); border:none; padding:0 5px; }
body.profile-chapter-book.cb-tech-card .row-interlinear .wp-cn.cb-sem-n { box-shadow:0 1px 3px var(--cb-card-sh), inset 0 0 0 1px var(--cb-card-bd), inset 0 -3px 0 0 var(--cb-acN); }
body.profile-chapter-book.cb-tech-card .row-interlinear .wp-cn.cb-sem-v { box-shadow:0 1px 3px var(--cb-card-sh), inset 0 0 0 1px var(--cb-card-bd), inset 0 -3px 0 0 var(--cb-acV); }
body.profile-chapter-book.cb-tech-card .row-interlinear .wp-cn.cb-sem-e { box-shadow:0 1px 3px var(--cb-card-sh), inset 0 0 0 1px var(--cb-card-bd), inset 0 -3px 0 0 var(--cb-acE); }


body.profile-chapter-book.cb-tech-ink { --cb-ink-line:#1f2937; --cb-ink-sh:rgba(31,41,55,.75); }
body.profile-chapter-book.cb-tech-ink.cb-night-mode { --cb-ink-line:#cbd5e1; --cb-ink-sh:rgba(203,213,225,.4); }
body.profile-chapter-book.cb-tech-ink .row-interlinear .wp-cn.cb-sem-n,
body.profile-chapter-book.cb-tech-ink .row-interlinear .wp-cn.cb-sem-v,
body.profile-chapter-book.cb-tech-ink .row-interlinear .wp-cn.cb-sem-e { border:none; padding:0 5px; box-shadow:2px 2px 0 var(--cb-ink-sh), inset 0 0 0 1.5px var(--cb-ink-line); }


body.profile-chapter-book.cb-tech-hl .row-interlinear .wp-cn.cb-sem-n,
body.profile-chapter-book.cb-tech-hl .row-interlinear .wp-cn.cb-sem-v,
body.profile-chapter-book.cb-tech-hl .row-interlinear .wp-cn.cb-sem-e { border-radius:2px; padding:0 4px; box-shadow:none; border:none; }
body.profile-chapter-book.cb-tech-hl .row-interlinear .wp-cn.cb-sem-n { background:linear-gradient(transparent 52%, var(--cb-bgN) 52%); }
body.profile-chapter-book.cb-tech-hl .row-interlinear .wp-cn.cb-sem-v { background:linear-gradient(transparent 52%, var(--cb-bgV) 52%); }
body.profile-chapter-book.cb-tech-hl .row-interlinear .wp-cn.cb-sem-e { background:linear-gradient(transparent 52%, var(--cb-bgE) 52%); }


body.profile-chapter-book.cb-tech-underline .row-interlinear .wp-cn.cb-sem-n,
body.profile-chapter-book.cb-tech-underline .row-interlinear .wp-cn.cb-sem-v,
body.profile-chapter-book.cb-tech-underline .row-interlinear .wp-cn.cb-sem-e { background:none; border-radius:0; border:none; padding:0 3px; }
body.profile-chapter-book.cb-tech-underline .row-interlinear .wp-cn.cb-sem-n { box-shadow:inset 0 -2.5px 0 0 var(--cb-acN); }
body.profile-chapter-book.cb-tech-underline .row-interlinear .wp-cn.cb-sem-v { box-shadow:inset 0 -2.5px 0 0 var(--cb-acV); }
body.profile-chapter-book.cb-tech-underline .row-interlinear .wp-cn.cb-sem-e { box-shadow:inset 0 -2.5px 0 0 var(--cb-acE); }


body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn { padding-top:9px; }
body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn.cb-sem-n,
body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn.cb-sem-v,
body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn.cb-sem-e { background:none; box-shadow:none; border:none; position:relative; padding:9px 2px 0; }
body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn.cb-sem-n::before,
body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn.cb-sem-v::before,
body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn.cb-sem-e::before { content:""; position:absolute; top:1px; left:50%; transform:translateX(-50%); width:6px; height:6px; border-radius:50%; }
body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn.cb-sem-n::before { background:var(--cb-acN); }
body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn.cb-sem-v::before { background:var(--cb-acV); }
body.profile-chapter-book.cb-tech-dot .row-interlinear .wp-cn.cb-sem-e::before { background:var(--cb-acE); }


body.profile-chapter-book.cb-font-round .view-container[id^="session-"] .srt-block .row-interlinear .wp-en,
body.profile-chapter-book.cb-font-round .view-container[id^="session-"] .srt-block .row-interlinear .wp-cn { font-family:"Yuanti SC","Arial Rounded MT Bold","PingFang SC",sans-serif; }
body.profile-chapter-book.cb-font-serif .view-container[id^="session-"] .srt-block .row-interlinear .wp-en { font-family:Georgia,"Times New Roman",serif; }
body.profile-chapter-book.cb-font-serif .view-container[id^="session-"] .srt-block .row-interlinear .wp-cn,
body.profile-chapter-book.cb-font-serif .view-container[id^="session-"] .srt-block .row-interlinear .wp-phrase-cn { font-family:"Songti SC","SimSun",serif; }
body.profile-chapter-book.cb-font-round .view-container[id^="session-"] .srt-block .row-interlinear .wp-phrase-cn { font-family:"Yuanti SC","Arial Rounded MT Bold","PingFang SC",sans-serif; }


body.profile-chapter-book .view-container[id^="session-"] .srt-block .row-interlinear .wp-en:not(.wp-punct) {
    color: var(--cb-ink); -webkit-text-fill-color: var(--cb-ink);
}


.row-en:has(.row-interlinear) ~ .trans-wrapper .row-decode {
    display: none !important;
}


.stage-1-blind .row-interlinear {
    opacity: 1 !important;
}

.stage-1-blind .wp-cn,
.stage-1-blind .wp-grammar,
.stage-1-blind .wp-en-kept,
.stage-1-blind .wp-punct-placeholder {
    opacity: 0 !important;
    pointer-events: none;
}


.stage-2-lookup .row-interlinear {
    opacity: 1 !important;
}

.stage-2-lookup .wp-cn,
.stage-2-lookup .wp-grammar,
.stage-2-lookup .wp-en-kept {
    opacity: 1 !important;
}


.stage-2-lookup .trans-wrapper.blurred .row-interlinear {
    filter: none;
    opacity: 1 !important;
}


.stage-2-lookup .row-en:has(.row-interlinear) ~ .trans-wrapper.blurred {
    filter: none !important;
    opacity: 1 !important;
}


.stage-2-lookup .row-full-label {
    opacity: 1;
}


.stage-3-decode .row-interlinear {
    opacity: 1 !important;
}


.stage-3-decode .row-interlinear .wp-en {
    opacity: 0 !important;
    transition: opacity 0.25s ease;
}


.stage-3-decode .row-interlinear:hover .wp-en {
    opacity: 1 !important;
}

.stage-3-decode .wp-cn {
    opacity: 1 !important;
    color: #27ae60;
    font-weight: 600;
    font-size: 0.75em;
}

.stage-3-decode .wp-grammar {
    opacity: 1 !important;
    color: #9CA3AF;
    font-size: 0.72em;
}

.stage-3-decode .wp-en-kept {
    opacity: 1 !important;
    color: #9CA3AF;
    font-size: 0.68em;
}




.stage-4-recite .row-en:has(.row-interlinear) {
    opacity: 1 !important;
    visibility: visible !important;
}

.stage-4-recite .row-interlinear {
    opacity: 1 !important;
    
    border-radius: 10px;
    padding: 6px 8px;
    margin: -6px -8px 8px -8px;
    background: rgba(124, 58, 237, 0.04);
    transition: background 0.2s ease;
    align-items: flex-start;
}

.stage-4-recite .row-interlinear:hover {
    background: rgba(124, 58, 237, 0.09);
}


.stage-4-recite .row-interlinear .wp-en {
    opacity: 0;
    max-height: 0 !important;
    overflow: hidden !important;
    
    transition: max-height 0.25s ease, opacity 0.2s ease;
}





@media (min-width: 769px) {
    .stage-4-recite .row-interlinear:hover .wp-en {
        opacity: 1 !important;
        max-height: 2em !important;
    }
}


.stage-4-recite .row-interlinear.revealed .wp-en {
    opacity: 1 !important;
    max-height: 2em !important;
}


.stage-4-recite .wp-cn {
    opacity: 1 !important;
    color: #4F46E5;      
    font-weight: 700;
    font-size: 0.9em;    
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.stage-4-recite .wp-grammar {
    opacity: 1 !important;
    color: #B45309;      
    font-weight: 600;
    font-size: 0.8em;
    line-height: 1.25;
    background: #FEF3C7;
    border-radius: 3px;
    padding: 0 2px;
}

.stage-4-recite .wp-en-kept {
    opacity: 1 !important;
    color: #6B7280;
    font-weight: 400;
    font-style: italic;
    font-size: 0.78em;
    line-height: 1.25;
}


@media (max-width: 768px) {
    
    .stage-4-recite .row-interlinear:active {
        background: rgba(124, 58, 237, 0.15) !important;
    }

    
    .stage-4-recite .row-en:has(.row-interlinear) {
        position: static !important;
    }

    .stage-4-recite .row-en:has(.row-interlinear) .tap-reveal-overlay {
        display: none !important;
    }
}


@media (max-width: 768px) {
    .row-interlinear {
        gap: 1px 3px;
        margin-bottom: 12px;
    }

    .word-pair {
        padding: 2px 3px;
        border-radius: 6px;
    }

    .wp-en {
        font-size: 0.95em;
    }

    .wp-cn,
    .wp-grammar {
        font-size: 0.62em;
    }

    .wp-punct {
        font-size: 0.95em;
    }
}


@media (orientation: landscape) and (max-height: 500px) {
    .row-interlinear {
        gap: 1px 3px;
    }

    .wp-cn,
    .wp-grammar {
        font-size: 0.6em;
    }
}


.dark .wp-en,
[data-theme="dark"] .wp-en {
    color: #E0E7FF;
}

.dark .wp-cn,
[data-theme="dark"] .wp-cn {
    color: #818CF8;
}

.dark .wp-grammar,
[data-theme="dark"] .wp-grammar {
    color: #6B7280;
}

.dark .wp-en-kept,
[data-theme="dark"] .wp-en-kept {
    color: #9CA3AF;
}

.dark .wp-punct,
[data-theme="dark"] .wp-punct {
    color: #9CA3AF;
}




.tl-interlinear-wrap {
    margin: 8px 0 4px;
    font-size: 0.92em;
}


.tl-interlinear-wrap .row-interlinear {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 2px 6px !important;
    background: none !important;
    padding: 2px 0 !important;
    margin: 0 0 6px !important;
}

.tl-interlinear-wrap .word-pair {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1px !important;
    padding: 2px 3px !important;
}

.tl-interlinear-wrap .wp-en,
.tl-interlinear-wrap .row-interlinear .wp-en {
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: auto;
    font-size: 1em;
    font-weight: 600;
    color: #1E1B4B;
    line-height: 1.4;
    white-space: nowrap;
    transition: none !important;
}

.tl-interlinear-wrap .row-interlinear .word-pair {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.tl-interlinear-wrap .wp-cn,
.tl-interlinear-wrap .wp-grammar,
.tl-interlinear-wrap .wp-en-kept {
    opacity: 1 !important;
}

.tl-interlinear-wrap .wp-punct-pair {
    align-self: flex-end;
}


.tl-full-cn {
    margin-top: 8px;
    font-size: 0.88em;
    color: #4B5563;
    line-height: 1.5;
    border-top: 1px solid #E5E7EB;
    padding-top: 6px;
}
.tl-cn-label {
    display: inline-block;
    background: #F3F4F6;
    color: #6B7280;
    font-size: 0.78em;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes tl-target-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(83, 82, 237, 0.8); transform: scale(1); }
    40%  { box-shadow: 0 0 0 8px rgba(83, 82, 237, 0.35); transform: scale(1.1); }
    70%  { box-shadow: 0 0 0 12px rgba(83, 82, 237, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(83, 82, 237, 0); transform: scale(1); }
}
.tl-target-word {
    background: #5352ED !important;
    border-radius: 7px !important;
    padding: 3px 6px !important;
    
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.tl-target-word .wp-en,
.tl-target-word .phrase-en,
.tl-target-word .phrase-en .wp-en {
    
    font-weight: 700 !important;
    font-size: 1em !important;
    background: transparent !important;
}
.tl-target-word .wp-cn,
.tl-target-word .wp-grammar,
.tl-target-word .wp-en-kept,
.tl-target-word .phrase-cn {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.82em !important;
    
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.tl-target-word.tl-pulse {
    animation: tl-target-pulse 0.7s ease-out 0.05s forwards;
}

.grammar-help-btn { background: #6366f1 !important; color: white !important; font-weight: bold; font-size: 16px; }
#grammar-guide-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100000; display: none; }
.grammar-guide-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); }
.grammar-guide-panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; border-radius: 14px; width: 82%; max-width: 400px; max-height: 68vh; display: flex; flex-direction: column; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.grammar-guide-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #e5e7eb; font-weight: bold; font-size: 0.95em; color: #1f2937; flex-shrink: 0; }
.grammar-guide-close { background: none; border: none; font-size: 28px; cursor: pointer; color: #6b7280; padding: 4px 8px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.grammar-guide-close:active { background: #f3f4f6; }
.grammar-guide-body { overflow-y: auto; padding: 12px 14px; -webkit-overflow-scrolling: touch; font-size: 0.88em; }
.gg-section { margin-bottom: 14px; }
.gg-section h4 { margin: 0 0 6px 0; font-size: 0.9em; color: #4338ca; }
.gg-table { width: 100%; border-collapse: collapse; font-size: 0.82em; }
.gg-table tr { border-bottom: 1px solid #f3f4f6; }
.gg-table td { padding: 4px 6px; vertical-align: top; }
.gg-mark { font-family: 'Courier New', monospace; color: #dc2626; font-weight: bold; white-space: nowrap; min-width: 75px; }
.gg-ex { color: #6b7280; font-size: 0.88em; }
@media (max-width: 768px) {
    .grammar-guide-panel { width: 88%; max-width: 360px; max-height: 65vh; }
    .gg-table { font-size: 0.78em; }
    .gg-mark { min-width: 60px; }
    .gg-table td { padding: 3px 4px; }
}
@media (orientation: landscape) and (max-height: 500px) {
    .grammar-guide-panel { max-height: 85vh; max-width: 420px; }
}


.sidebar {
    overflow-x: hidden !important;
}
.session-link {
    overflow: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.session-link > span,
.session-link > div {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}

.session-link.current-unit {
    overflow: hidden !important;
}
.session-link.current-unit::after {
    flex-shrink: 0 !important;
    margin-left: 4px !important;
}






.sidebar {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
}

.book-cover-header,
.home-link,
.nav-header,
.session-link,
.player-link,
.special-link {
    flex: 0 0 auto !important;
}

.main-content {
    min-width: 0 !important;
}


.session-link {
    gap: 10px !important;
    align-items: center !important;
}

.session-link > span:first-child,
.session-link > div:first-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.session-link > span:last-child,
.session-link > div:last-child {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}


@media (min-width: 769px) {
    .session-link {
        padding: 12px 18px !important;
        font-size: 0.92em !important;
        margin: 0 8px !important;
    }

    .nav-header {
        padding: 16px 18px 8px !important;
        font-size: 0.7em !important;
    }
}


@media (max-width: 768px) {
    .sidebar {
        height: 100vh !important;
        max-height: 100vh !important;
        padding-bottom: 72px !important;
    }

    .session-link {
        padding: 10px 14px !important;
    }

    .nav-header {
        padding: 12px 14px 6px !important;
    }
}


@media (orientation: landscape) and (max-height: 500px) {
    .sidebar {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
    }

    .session-link {
        gap: 8px !important;
    }
}


.row-interlinear {
    align-items: flex-end !important;
    gap: 2px 4px !important;
}

.word-pair {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
    padding: 3px 4px !important;
}

.wp-en {
    font-size: 1em !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
}

.wp-cn {
    font-size: 0.68em !important;
    line-height: 1.35 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
}

.wp-grammar {
    line-height: 1.35 !important;
    letter-spacing: 0.01em !important;
}

.wp-en-kept {
    font-size: 0.68em !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .row-interlinear {
        gap: 1px 3px !important;
    }

    .word-pair {
        padding: 2px 3px !important;
    }

    .wp-en {
        font-size: 0.95em !important;
    }

    .wp-cn,
    .wp-grammar {
        font-size: 0.62em !important;
    }
}



.wp-apostrophe-suffix {
    margin-left: -0.38em !important;
}
.wp-apostrophe-suffix .wp-en {
    margin-left: 0 !important;
}
.wp-apostrophe-suffix .wp-cn {
    margin-top: 0.04em;
}


.stage-4-recite .row-en::after,
.unit-reader-modal.stage-4-recite .row-en::after {
    content: none !important;
}

.stage-4-recite .row-interlinear::after,
.unit-reader-modal.stage-4-recite .row-interlinear::after {
    content: "悬停显示";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    color: rgba(107, 114, 128, 0.82);
    background: rgba(107, 114, 128, 0.06);
    border: 1px solid rgba(107, 114, 128, 0.16);
    vertical-align: middle;
    white-space: nowrap;
    pointer-events: none;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .stage-4-recite .row-interlinear::after,
    .unit-reader-modal.stage-4-recite .row-interlinear::after {
        content: "点按查看";
    }
}




.cinema-controls {
    padding: 8px 0;
    flex-shrink: 0;
}
.cinema-ctrl-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0;
    flex-wrap: wrap;
}
.cinema-btn {
    background: rgba(255,255,255,0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.2s;
}
.cinema-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}
.cinema-play-btn {
    font-size: 1.4em;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
}
.cinema-play-btn:hover {
    background: linear-gradient(135deg, #7b8ff0, #8b5fb8);
}

.cinema-playmode-btn {
    font-size: 0.85em;
    padding: 6px 10px;
    background: rgba(102,126,234,0.2);
    border-color: rgba(102,126,234,0.4);
    min-width: 100px;
    text-align: center;
}
.cinema-playmode-btn:hover {
    background: rgba(102,126,234,0.4);
}


.cinema-flow-btn,
.cinema-spiral-btn,
.cinema-link-btn,
.cinema-loop-btn {
    font-size: 0.85em;
    padding: 5px 8px;
    text-align: center;
}

.cinema-spiral-btn {
    min-width: 62px;
    text-align: center;
}

.cinema-controls .cinema-ctrl-row-buttons .cinema-flow-btn.active,
.cinema-controls .cinema-ctrl-row-buttons .cinema-spiral-btn.active,
.cinema-controls .cinema-ctrl-row-buttons .cinema-link-btn.active,
.cinema-controls .cinema-ctrl-row-buttons .cinema-loop-btn.active {
    background: rgba(99,102,241,0.4) !important;
    border-color: rgba(99,102,241,0.6) !important;
}



.cinema-mode-btn {
    font-size: 0.85em;
    padding: 6px 12px;
    background: rgba(118,75,162,0.35);
    border: 1px solid rgba(167,139,250,0.6);
    min-width: 80px;
    text-align: center;
    font-weight: 600;
    order: -1;
}
.cinema-mode-btn:hover {
    background: rgba(118,75,162,0.5);
}

.cinema-ctrl-divider-mode {
    color: rgba(255,255,255,0.15) !important;
    font-size: 14px !important;
    margin: 0 2px !important;
    user-select: none;
}

.cinema-speed-indicator {
    display: none;
    color: #ffd54f;
    font-size: 0.8em;
    font-weight: bold;
    padding: 2px 8px;
    background: rgba(255,213,79,0.15);
    border-radius: 4px;
    animation: cinema-speed-pulse 0.6s ease-in-out infinite alternate;
}
@keyframes cinema-speed-pulse {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

.cinema-progress {
    flex: 1;
    max-width: 300px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}
.cinema-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
}
.cinema-time-current, .cinema-time-total {
    color: #aaa;
    font-size: 0.85em;
    font-family: monospace;
    min-width: 36px;
}

.cinema-actions { gap: 6px; }

.cinema-speed {
    background: rgba(255,255,255,0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.85em;
    cursor: pointer;
}
.cinema-fullscreen-btn { font-size: 1.2em; }

.cinema-sent-info { text-align: center; margin-top: 4px; }
.cinema-sent-counter { color: #888; font-size: 0.85em; }


.cinema-gesture-hint {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1em;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s;
    z-index: 100;
}
.cinema-gesture-left { left: 10%; }
.cinema-gesture-center { left: 50%; transform: translate(-50%, -50%); }
.cinema-gesture-right { right: 10%; }
.cinema-gesture-fade { opacity: 0; }




@media (max-width: 768px) {
    .cinema-subtitle-area { min-height: 100px; padding: 12px 8px; }
    .cinema-embed .wp-en { font-size: 1.1em !important; }
    .cinema-btn { padding: 6px 10px; font-size: 1em; }
    .cinema-play-btn { padding: 6px 16px; font-size: 1.2em; }
    .cinema-progress { max-width: 200px; }
    .cinema-toggle-btn { padding: 4px 10px; font-size: 1em; }

    
    .cinema-mode-3 .cinema-mobile-trans-toggle {
        display: block;
    }

    
    .cinema-mode-2 .cinema-trans-wrapper.cinema-blurred:hover {
        filter: blur(5px);
        opacity: 0.4;
    }

    
    .cinema-mode-2 .cinema-row-en .word-pair.revealed .wp-cn,
    .cinema-mode-2 .cinema-row-en .word-pair.revealed .wp-grammar,
    .cinema-mode-2 .cinema-row-en .word-pair.revealed .wp-en-kept {
        visibility: visible;
    }

    
    .cinema-speed { display: none; }
}

@media (hover: none) {
    
    .cinema-mode-3 .cinema-mobile-trans-toggle {
        display: block;
    }
}




.cinema-embed.cinema-embed .row-interlinear {
    opacity: 1 !important;
    display: flex !important;
}

.cinema-embed.cinema-embed .word-pair {
    opacity: 1 !important;
}

.cinema-embed.cinema-embed .wp-en {
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    color: #e8e8e8 !important;
    pointer-events: auto;
}

.cinema-embed.cinema-embed .wp-cn {
    opacity: 1 !important;
    color: #90caf9 !important;
    pointer-events: auto;
}

.cinema-embed.cinema-embed .wp-grammar {
    opacity: 1 !important;
    pointer-events: auto;
}

.cinema-embed.cinema-embed .wp-en-kept {
    opacity: 1 !important;
    pointer-events: auto;
}

.cinema-embed.cinema-embed .wp-punct-placeholder {
    opacity: 1 !important;
}

.cinema-embed.cinema-embed .wp-punct-cn {
    color: transparent !important;
}

.cinema-embed.cinema-embed .wp-phrase-cn {
    opacity: 1 !important;
    color: #b39ddb !important;
    pointer-events: auto;
}

.cinema-embed.cinema-embed .phrase-pair .wp-en {
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    color: #ce93d8 !important;
}


.cinema-embed.cinema-embed .cinema-trans-wrapper {
    filter: none !important;
    opacity: 1 !important;
    pointer-events: auto;
}


.cinema-embed.cinema-embed .row-interlinear::after {
    content: none !important;
    display: none !important;
}



.cinema-embed .wp-en {
    color: #e8e6e3 !important;
    font-weight: 500;
}
.cinema-embed .wp-en:hover {
    
    text-shadow: 0 0 8px rgba(255,255,255,0.15);
}

.cinema-mode-4 .cinema-sub-block:not(.cinema-en-revealed) .wp-en:hover {
    text-shadow: none !important;
}


.cinema-embed .wp-cn {
    color: #8b9dc3 !important;
    font-size: 0.82em;
    font-weight: 400;
}


.cinema-embed .wp-grammar {
    color: #9b8ec4 !important;
    background: rgba(139, 128, 196, 0.12) !important;
    border: 1px solid rgba(139, 128, 196, 0.25) !important;
    border-radius: 3px;
    padding: 0 3px;
    font-size: 0.8em;
}


.cinema-embed .wp-en-kept {
    color: #7a8ba0 !important;
    font-style: italic;
    font-size: 0.82em;
}


.cinema-embed .wp-phrase-cn {
    color: #c4a97d !important;
    font-size: 0.82em;
}


.cinema-embed .wp-punct-cn,
.cinema-embed .wp-punct-placeholder {
    color: #5a6474 !important;
}


.cinema-embed .cinema-row-cn {
    color: #b8c0cc !important;
}


.cinema-embed .cinema-trans-label {
    color: #6b8aad !important;
    background: rgba(107, 138, 173, 0.15) !important;
    border: 1px solid rgba(107, 138, 173, 0.3) !important;
}




.cinema-embed .word-pair {
    margin: 0 2px;
}


.cinema-embed .cinema-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #c0c8d4 !important;
    transition: all 0.2s ease;
}
.cinema-embed .cinema-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #e0e6ec !important;
}


.cinema-embed .cinema-play-btn {
    background: linear-gradient(135deg, #5b4a8a, #7b6aaa) !important;
    border: none !important;
    color: #f0eef5 !important;
}
.cinema-embed .cinema-play-btn:hover {
    background: linear-gradient(135deg, #6b5a9a, #8b7aba) !important;
}


.cinema-embed .cinema-playmode-btn,
.cinema-embed .cinema-mode-btn {
    background: rgba(91, 74, 138, 0.2) !important;
    border: 1px solid rgba(91, 74, 138, 0.35) !important;
    color: #b8aed4 !important;
}
.cinema-embed .cinema-playmode-btn:hover,
.cinema-embed .cinema-mode-btn:hover {
    background: rgba(91, 74, 138, 0.35) !important;
    color: #d0c8e4 !important;
}


.cinema-embed .cinema-fav-btn,
.cinema-embed .cinema-add-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}


.cinema-embed .cinema-speed-select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #b0b8c4 !important;
}


.cinema-embed .cinema-progress {
    background: rgba(255, 255, 255, 0.08) !important;
}
.cinema-embed .cinema-progress::-webkit-slider-thumb {
    background: #7b6aaa !important;
}


.cinema-embed .cinema-time-display {
    color: #6a7585 !important;
    font-size: 0.8em;
}



.cinema-toggle-btn {
    display: none !important;  
}


.sentence-block.cinema-current-sentence {
    border-left: 3px solid #7c3aed !important;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.05), transparent) !important;
    transition: all 0.3s ease;
}


.cinema-embed + .sentence-block:first-of-type,
.cinema-embed + div > .sentence-block:first-of-type {
    margin-top: 8px;
}




.stage-5-recite .row-en,
.stage-6-recite .row-en,
.stage-7-recite .row-en {
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.stage-5-recite .row-en:hover,
.stage-6-recite .row-en:hover,
.stage-7-recite .row-en:hover {
    opacity: 1;
}

.stage-5-recite .row-decode,
.stage-5-recite .row-full,
.stage-6-recite .row-decode,
.stage-6-recite .row-full,
.stage-7-recite .row-decode,
.stage-7-recite .row-full {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
}

.stage-5-recite .trans-wrapper,
.stage-6-recite .trans-wrapper,
.stage-7-recite .trans-wrapper {
    display: block !important;
    max-height: none !important;
    filter: none !important;
}


.stage-5-recite .wp-en,
.stage-6-recite .wp-en,
.stage-7-recite .wp-en {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stage-5-recite .word-pair:hover .wp-en,
.stage-6-recite .word-pair:hover .wp-en,
.stage-7-recite .word-pair:hover .wp-en {
    opacity: 1;
}

.stage-5-recite .wp-cn,
.stage-6-recite .wp-cn,
.stage-7-recite .wp-cn {
    opacity: 1 !important;
    max-height: none !important;
}


@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    15% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    85% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

.cinema-stage-toast {
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.5px;
}



.stage-5-recite .row-interlinear .wp-en,
.stage-6-recite .row-interlinear .wp-en,
.stage-7-recite .row-interlinear .wp-en {
    display: block !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    filter: blur(6px);
    -webkit-filter: blur(6px);
    color: rgba(150,150,150,0.25);
    -webkit-text-fill-color: rgba(150,150,150,0.25);
    transition: filter 0.3s ease, color 0.3s ease, -webkit-text-fill-color 0.3s ease;
}

@media (min-width: 769px) {
    .stage-5-recite .row-interlinear:hover .wp-en,
    .stage-6-recite .row-interlinear:hover .wp-en,
    .stage-7-recite .row-interlinear:hover .wp-en {
        filter: none !important;
        -webkit-filter: none !important;
        color: #1e293b !important;
        -webkit-text-fill-color: #1e293b !important;
    }
}

.stage-5-recite .row-interlinear.revealed .wp-en,
.stage-6-recite .row-interlinear.revealed .wp-en,
.stage-7-recite .row-interlinear.revealed .wp-en {
    filter: none !important;
    -webkit-filter: none !important;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}

.stage-5-recite .row-interlinear .wp-en,
.stage-6-recite .row-interlinear .wp-en,
.stage-7-recite .row-interlinear .wp-en {
    filter: blur(6px);
    color: rgba(150,150,150,0.25);
    -webkit-text-fill-color: rgba(150,150,150,0.25);
}

.stage-5-recite .row-interlinear .wp-en.wp-punct,
.stage-6-recite .row-interlinear .wp-en.wp-punct,
.stage-7-recite .row-interlinear .wp-en.wp-punct {
    filter: none;
    color: #6B7280;
    -webkit-text-fill-color: #6B7280;
}
.stage-5-recite .row-interlinear.revealed .wp-en,
.stage-6-recite .row-interlinear.revealed .wp-en,
.stage-7-recite .row-interlinear.revealed .wp-en {
    filter: none !important;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}
.stage-5-recite .wp-cn, .stage-6-recite .wp-cn, .stage-7-recite .wp-cn {
    color: #4F46E5;
    font-weight: 600;
}
.stage-5-recite .wp-grammar, .stage-6-recite .wp-grammar, .stage-7-recite .wp-grammar {
    opacity: 1 !important;
    color: #B45309;
}
.stage-5-recite .wp-en-kept, .stage-6-recite .wp-en-kept, .stage-7-recite .wp-en-kept {
    opacity: 1 !important;
    color: #6B7280;
}
.stage-5-recite .row-en:has(.row-interlinear),
.stage-6-recite .row-en:has(.row-interlinear),
.stage-7-recite .row-en:has(.row-interlinear) {
    opacity: 1 !important;
    visibility: visible !important;
}
.stage-5-recite .row-interlinear,
.stage-6-recite .row-interlinear,
.stage-7-recite .row-interlinear {
    opacity: 1 !important;
    background: rgba(124, 58, 237, 0.04);
    border-radius: 6px;
    padding: 4px 6px;
}
.stage-5-recite .row-interlinear:hover,
.stage-6-recite .row-interlinear:hover,
.stage-7-recite .row-interlinear:hover {
    background: rgba(124, 58, 237, 0.09);
}
.stage-5-recite .row-en::after, .stage-6-recite .row-en::after, .stage-7-recite .row-en::after,
.unit-reader-modal.stage-5-recite .row-en::after, .unit-reader-modal.stage-6-recite .row-en::after, .unit-reader-modal.stage-7-recite .row-en::after {
    content: none !important;
}
.stage-5-recite .row-interlinear::after, .stage-6-recite .row-interlinear::after, .stage-7-recite .row-interlinear::after,
.unit-reader-modal.stage-5-recite .row-interlinear::after, .unit-reader-modal.stage-6-recite .row-interlinear::after, .unit-reader-modal.stage-7-recite .row-interlinear::after {
    content: "悬停 · 点击显示";
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    color: rgba(124, 58, 237, 0.4);
    margin-left: 8px;
    font-style: italic;
}
@media (max-width: 768px) {
    .stage-5-recite .row-interlinear::after, .stage-6-recite .row-interlinear::after, .stage-7-recite .row-interlinear::after,
    .unit-reader-modal.stage-5-recite .row-interlinear::after, .unit-reader-modal.stage-6-recite .row-interlinear::after, .unit-reader-modal.stage-7-recite .row-interlinear::after {
        content: "点按查看";
    }
    .stage-5-recite .row-interlinear:active, .stage-6-recite .row-interlinear:active, .stage-7-recite .row-interlinear:active {
        background: rgba(124, 58, 237, 0.15) !important;
    }
    .stage-5-recite .row-en:has(.row-interlinear), .stage-6-recite .row-en:has(.row-interlinear), .stage-7-recite .row-en:has(.row-interlinear) {
        position: static !important;
    }
    .stage-5-recite .row-en:has(.row-interlinear) .tap-reveal-overlay,
    .stage-6-recite .row-en:has(.row-interlinear) .tap-reveal-overlay,
    .stage-7-recite .row-en:has(.row-interlinear) .tap-reveal-overlay {
        display: none !important;
    }
    .stage-5-recite .row-en:not(.revealed), .stage-6-recite .row-en:not(.revealed), .stage-7-recite .row-en:not(.revealed),
    .unit-reader-modal.stage-5-recite .row-en:not(.revealed), .unit-reader-modal.stage-6-recite .row-en:not(.revealed), .unit-reader-modal.stage-7-recite .row-en:not(.revealed) {
        opacity: 1 !important;
    }
    .stage-5-recite .row-en:not(.revealed) .tap-reveal-overlay,
    .stage-6-recite .row-en:not(.revealed) .tap-reveal-overlay,
    .stage-7-recite .row-en:not(.revealed) .tap-reveal-overlay,
    .unit-reader-modal.stage-5-recite .row-en:not(.revealed) .tap-reveal-overlay,
    .unit-reader-modal.stage-6-recite .row-en:not(.revealed) .tap-reveal-overlay,
    .unit-reader-modal.stage-7-recite .row-en:not(.revealed) .tap-reveal-overlay {
        display: flex !important;
    }
    .stage-5-recite .row-en.revealed, .stage-6-recite .row-en.revealed, .stage-7-recite .row-en.revealed,
    .unit-reader-modal.stage-5-recite .row-en.revealed, .unit-reader-modal.stage-6-recite .row-en.revealed, .unit-reader-modal.stage-7-recite .row-en.revealed {
        opacity: 1 !important;
    }
}


body.fav-active #stage-mini-controls,
body.fav-active #stage-controller,
body.fav-active #stage-selector-expanded {
    display: none !important;
}


.fav-star {
    color: #ccc !important;
    cursor: pointer;
    transition: color 0.2s ease;
}
.fav-star:hover {
    color: #f0ad4e !important;
}
.fav-star.active {
    color: #f0ad4e !important;
}


@keyframes cinemaToastFadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}



.v96-mode-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.v96-mode-overlay.v96-mode-visible {
    opacity: 1;
    pointer-events: auto;
}

.v96-mode-overlay.v96-mode-closing {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.v96-mode-dialog {
    background: #fff;
    border-radius: 20px;
    padding: 30px 24px 20px;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.v96-mode-visible .v96-mode-dialog {
    transform: translateY(0);
}

.v96-mode-closing .v96-mode-dialog {
    transform: translateY(20px);
}


.v96-mode-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 4px;
}
.v96-mode-close-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.v96-mode-close-btn:hover {
    background: #e0e0e0;
    color: #333;
}
.v96-mode-title {
    font-size: 1.3em;
    font-weight: 700;
    text-align: center;
    color: #1a1a2e;
    margin-bottom: 0;
}

.v96-mode-subtitle {
    font-size: 0.85em;
    text-align: center;
    color: #888;
    margin-bottom: 20px;
}

.v96-mode-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.v96-mode-btn {
    position: relative;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 16px 12px 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.v96-mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.v96-mode-btn:active {
    transform: translateY(0);
}


.v96-mode-deep:hover {
    border-color: #7C3AED;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}


.v96-mode-quick:hover {
    border-color: #F59E0B;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}


.v96-mode-cinema:hover {
    border-color: #3B82F6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}


.v96-mode-doc:hover {
    border-color: #10B981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.v96-mode-icon {
    font-size: 2em;
    line-height: 1;
}

.v96-mode-name {
    font-size: 1em;
    font-weight: 700;
    color: #1a1a2e;
}

.v96-mode-desc {
    font-size: 0.75em;
    color: #666;
    line-height: 1.3;
}

.v96-mode-tag {
    font-size: 0.65em;
    color: #fff;
    background: #adb5bd;
    border-radius: 10px;
  padding: 2px 8px;
}

.v96-mode-deep .v96-mode-tag { background: #7C3AED; }
.v96-mode-quick .v96-mode-tag { background: #F59E0B; }
.v96-mode-cinema .v96-mode-tag { background: #3B82F6; }
.v96-mode-doc .v96-mode-tag { background: #10B981; }

.v96-mode-footer {
    text-align: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.v96-mode-remember {
    font-size: 0.8em;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.v96-mode-remember input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
}


.v96-mode-shortcuts {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.v96-shortcuts-title {
    font-size: 0.75em;
    color: #888;
    margin-bottom: 6px;
    font-weight: 500;
}
.v96-shortcuts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}
.v96-shortcuts-grid span {
    font-size: 0.72em;
    color: #666;
    white-space: nowrap;
}
kbd {
    display: inline-block;
    padding: 1px 4px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: monospace;
    color: #444;
    box-shadow: 0 1px 0 #bbb;
    line-height: 1.4;
}


@media (max-width: 480px) {
    .v96-mode-dialog {
        padding: 24px 16px 16px;
        max-width: 340px;
    }
    
    .v96-mode-options {
        gap: 8px;
    }
    
    .v96-mode-btn {
        padding: 14px 8px 14px;
    }
    
    .v96-mode-icon {
        font-size: 1.6em;
    }
    
    .v96-mode-name {
        font-size: 0.9em;
    }
}


body.v96-doc-mode .cinema-embed {
    display: none !important;
}



.v96-mode-toggle-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0 12px 0;
    border: 2px dashed #4a5568;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(16,185,129,0.08));
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 1px;
}

.v96-mode-toggle-btn:hover {
    border-color: #63b3ed;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(16,185,129,0.15));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.2);
}

.v96-mode-toggle-btn:active {
    transform: translateY(0);
}


.v96-mode-toggle-btn[data-target-mode="cinema"] {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(99,179,237,0.05));
}

.v96-mode-toggle-btn[data-target-mode="cinema"]:hover {
    border-color: #60a5fa;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(99,179,237,0.1));
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}


.v96-mode-toggle-btn[data-target-mode="doc"] {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(52,211,153,0.05));
}

.v96-mode-toggle-btn[data-target-mode="doc"]:hover {
    border-color: #34d399;
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(52,211,153,0.1));
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}




body.v96-cinema-fullscreen .sidebar,
body.v96-cinema-fullscreen .sidebar-overlay,
body.v96-cinema-fullscreen .top-bar,
body.v96-cinema-fullscreen .nav-btn,
body.v96-cinema-fullscreen .mobile-header {
  display: none !important;
}
body.v96-cinema-fullscreen .main-content {
  margin-left: 0 !important;
  padding-top: 0 !important;
}




.cinema-embed.v96-fullscreen {
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: #000 !important;
    display: flex !important;
    flex-direction: column;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: none !important;
    height: 100vh !important;
    
    width: auto !important;
}


.cinema-embed.v96-fullscreen .cinema-video-wrap {
    flex: 1;
    max-height: none !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cinema-embed.v96-fullscreen .cinema-video-wrap video {
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: contain;
    border-radius: 0 !important;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area {
    position: absolute;
    bottom: 0; 
    left: 0; 
    right: 0; 
    transform: none; 
    width: 100%; 
    max-width: none; 
    z-index: 10;
    min-height: auto;
    max-height: 220px;
    overflow-y: auto;

    backdrop-filter: none; 
    -webkit-backdrop-filter: none; 
    padding: 8px 16px;
    margin: 0;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    transition: font-size 0.2s ease;
}


.cinema-embed.v96-fullscreen.cinema-mode-1 .cinema-subtitle-area {

    min-height: 40px;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn {
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.cinema-embed.v96-fullscreen .cinema-row-cn,
.cinema-embed.v96-fullscreen .cinema-trans-wrapper {
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}



.cinema-embed.v96-fullscreen .cinema-controls {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 20;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 8px 16px 12px;
    flex-shrink: 0;
}

body.has-cruise-bar .cinema-embed.v96-fullscreen .cinema-controls {
    padding-bottom: 46px !important;
}


.cinema-embed.v96-fullscreen ~ .v96-mode-toggle-btn,
.v96-fullscreen ~ .v96-mode-toggle-btn {
    display: none !important;
}


body:has(.v96-fullscreen) {
    overflow: hidden !important;
}


.cinema-embed.v96-fullscreen:fullscreen {
    background: #000 !important;
}
.cinema-embed.v96-fullscreen:fullscreen .cinema-subtitle-area {
    bottom: 80px;
}


.cinema-embed.v96-fullscreen .cinema-fullscreen-btn {
    font-size: 1.3em;
}


.cinema-embed.v96-fullscreen .cinema-sent-counter {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 15;
    background: rgba(0,0,0,0.5);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}


.cinema-embed.v96-fullscreen .cinema-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 25;
}


@media (max-width: 768px) {
    .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        font-size: 14px;
        padding: 6px 10px;
        bottom: 0; 
        max-height: 25vh;
    }
    .cinema-embed.v96-fullscreen .cinema-controls {
        padding: 6px 10px 8px;
    }
    .cinema-embed.v96-fullscreen .cinema-btn {
        font-size: 1em;
        padding: 4px 6px;
    }
}




body.v96-stage-locked #stage-controller,
body.v96-stage-locked .mobile-stage-controls,
body.v96-stage-locked #mini-controls,
body.v96-stage-locked #selector-expanded {
    display: none !important;
}


.v96-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 10010;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}
.v96-transition-overlay.v96-transition-visible {
    opacity: 1;
}


.v96-transition-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.15);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}
.v96-transition-visible .v96-transition-card {
    transform: translateY(0) scale(1);
}

.v96-transition-header {
    font-size: 22px;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 24px;
}

.v96-transition-next {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}
.v96-transition-icon {
    font-size: 36px;
}
.v96-transition-label {
    font-size: 20px;
    font-weight: 600;
    color: #e2e8f0;
}


.v96-transition-countdown {
    margin-bottom: 28px;
}
.v96-transition-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}
.v96-transition-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    border-radius: 3px;
}
.v96-transition-seconds {
    font-size: 14px;
    color: #94a3b8;
}


.v96-transition-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.v96-transition-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.v96-btn-now {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    flex: 1;
}
.v96-btn-now:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    transform: translateY(-1px);
}
.v96-btn-pause {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.v96-btn-pause:hover {
    background: rgba(255, 255, 255, 0.15);
}


@media (max-width: 768px) {
    .v96-transition-card {
        padding: 28px 24px;
        margin: 0 16px;
    }
    .v96-transition-header { font-size: 18px; }
    .v96-transition-icon { font-size: 28px; }
    .v96-transition-label { font-size: 17px; }
    .v96-transition-btn { padding: 10px 18px; font-size: 14px; }
}




.cinema-exit-btn {
    background: rgba(220, 50, 50, 0.3) !important;
    border: 1px solid rgba(220, 50, 50, 0.5) !important;
    color: #ff6b6b !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-right: 8px !important;
}
.cinema-exit-btn:hover {
    background: rgba(220, 50, 50, 0.6) !important;
    color: #fff !important;
    transform: scale(1.05);
}

.v96-fullscreen .cinema-exit-btn {
    background: rgba(220, 50, 50, 0.5) !important;
    font-size: 18px !important;
    padding: 8px 16px !important;
}





@media (max-width: 768px) {
    
    #stage-mini-controls {
        gap: 5px !important;
    }
    
    .stage-current-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
        box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3) !important;
    }
    
    .stage-help-mini-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
        border-width: 1.5px !important;
        opacity: 0.7;
    }
    
    
    #stage-selector-expanded {
        padding: 8px !important;
    }
    
    #stage-selector-expanded .stage-select-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    #stage-selector-expanded .stage-select-help,
    #stage-selector-expanded .stage-select-close {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
}


body.v96-cinema-fullscreen #stage-mini-controls {
    
    right: auto !important;
    left: 10px !important;
    top: 10px !important;
    
    opacity: 0.5;
    transform: scale(0.75);
    transform-origin: top left;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10002 !important;
}

body.v96-cinema-fullscreen #stage-mini-controls:hover,
body.v96-cinema-fullscreen #stage-mini-controls:active {
    opacity: 1;
    transform: scale(0.9);
}

body.v96-cinema-fullscreen #stage-mini-controls .stage-current-btn {
    background: rgba(79, 70, 229, 0.7) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

body.v96-cinema-fullscreen #stage-mini-controls .stage-help-mini-btn {
    background: rgba(40, 40, 40, 0.8) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}


body.v96-cinema-fullscreen #stage-selector-expanded {
    background: rgba(30, 30, 30, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    left: 10px !important;
    right: auto !important;
    top: 10px !important;
    z-index: 10003 !important;
}

body.v96-cinema-fullscreen #stage-selector-expanded .stage-select-btn {
    background: rgba(60, 60, 60, 0.9) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

body.v96-cinema-fullscreen #stage-selector-expanded .stage-select-btn.active {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: white !important;
}

body.v96-cinema-fullscreen #stage-selector-expanded .stage-select-close {
    background: rgba(60, 60, 60, 0.9) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}


body.v96-cinema-fullscreen #stage-controller {
    right: auto !important;
    left: 15px !important;
    top: 15px !important;
    opacity: 0.6;
    transform: scale(0.8);
    transform-origin: top left;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

body.v96-cinema-fullscreen #stage-controller:hover {
    opacity: 1;
    transform: scale(0.95);
}



.v96-mode-toggle-btn[data-target-mode="doc"] {
    border-color: rgba(16, 185, 129, 0.5) !important;
    color: #10B981 !important;
}

.v96-mode-toggle-btn[data-target-mode="cinema"] {
    border-color: rgba(59, 130, 246, 0.5) !important;
    color: #3B82F6 !important;
}




body.v96-cinema-fullscreen .flow-guide-bar,
body.v96-cinema-fullscreen #flow-guide-bar,
body.v96-cinema-fullscreen #unit-review-flow-bar {
    display: none !important;
}


.cruise-s-rev-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: #fff;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
    margin-right: 6px;
    flex-shrink: 0;
    max-width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
}
.cruise-s-rev-chip:hover, .cruise-s-rev-chip:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
}
.cruise-s-rev-chip .cruise-s-rev-icon { font-size: 13px; }
.cruise-s-rev-chip .cruise-s-rev-progress { color: #fff; font-weight: 700; }
.cruise-s-rev-chip .cruise-s-rev-unit { opacity: 0.85; font-weight: 500; }

#cruise-rev-actions-modal {
    position: fixed;
    inset: 0;
    z-index: 100100;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    animation: revActionsFade 0.2s ease-out;
}
@keyframes revActionsFade { 0% { opacity: 0; } 100% { opacity: 1; } }
#cruise-rev-actions-modal .rev-actions-card {
    background: #fff;
    border-radius: 20px 20px 16px 16px;
    padding: 20px 18px 16px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
    animation: revActionsSlide 0.25s ease-out;
}
@keyframes revActionsSlide { 0% { transform: translateY(20px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
#cruise-rev-actions-modal .rev-actions-title {
    font-size: 14px;
    color: #4F46E5;
    font-weight: 600;
    margin-bottom: 14px;
    text-align: center;
}
#cruise-rev-actions-modal .rev-actions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 9px;
    border: 1px solid rgba(79, 70, 229, 0.12);
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.2s;
}
#cruise-rev-actions-modal .rev-actions-btn:hover { background: #eef2ff; }
#cruise-rev-actions-modal .rev-actions-btn.primary { background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%); color: #fff; border: none; }
#cruise-rev-actions-modal .rev-actions-btn.warning { background: #fff7ed; color: #b45309; border-color: rgba(180, 83, 9, 0.15); }
#cruise-rev-actions-modal .rev-actions-btn.danger { background: #fef2f2; color: #b91c1c; border-color: rgba(185, 28, 28, 0.15); }
#cruise-rev-actions-modal .rev-actions-cancel {
    width: 100%;
    padding: 11px;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    margin-top: 4px;
}


body.v96-cinema-fullscreen .v98-progress-bar {
    display: flex !important;
    z-index: var(--z-dict, 9000);
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    background: rgba(0,0,0,0.85);
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area {
    bottom: 0; 
}


body.v96-cinema-fullscreen #v97-mode-reset-float {
    display: none !important;
}


.stage3-memory-hub {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 70vh;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.s3-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}
.s3-step-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}
.s3-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #888;
    font-weight: bold;
    font-size: 14px;
}
.s3-step-badge.s3-step-active {
    background: #4a90d9;
    color: white;
    box-shadow: 0 2px 8px rgba(74,144,217,0.4);
}
.s3-step-badge.s3-step-done {
    background: #27ae60;
    color: white;
}
.s3-step-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.s3-step-label.s3-step-inactive { color: #aaa; }
.s3-step-label.s3-step-done-label { color: #27ae60; }
.s3-step-arrow { color: #ccc; margin: 0 2px; }
.s3-progress-info {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #666;
}
.s3-promoted-count { color: #e67e22; }
.s3-removed-count { color: #27ae60; }
.s3-progress-bar {
    width: 100%;
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 24px;
}
.s3-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a90d9, #27ae60);
    border-radius: 3px;
    transition: width 0.3s ease;
}
.s3-card-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.s3-instruction {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}
.s3-audio-card {
    width: 90%;
    max-width: 400px;
    min-height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 30px rgba(102,126,234,0.3);
    padding: 30px;
}
.s3-audio-card:active { transform: scale(0.97); }
.s3-audio-icon {
    font-size: 64px;
    margin-bottom: 12px;
    animation: s3-pulse 2s infinite;
}
@keyframes s3-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.s3-audio-hint { color: rgba(255,255,255,0.9); font-size: 16px; }
.s3-word-hidden { margin-top: 16px; text-align: center; }
.s3-word-text { font-size: 28px; font-weight: bold; color: white; margin-bottom: 8px; }
.s3-word-meaning { font-size: 16px; color: rgba(255,255,255,0.85); }
.s3-see-card {
    width: 90%;
    max-width: 400px;
    min-height: 200px;
    background: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
}
.s3-see-word { font-size: 32px; font-weight: bold; color: #2c3e50; margin-bottom: 12px; }
.s3-see-audio { color: #4a90d9; cursor: pointer; font-size: 18px; margin-bottom: 12px; }
.s3-see-audio:hover { text-decoration: underline; }
.s3-see-meaning { font-size: 18px; color: #555; line-height: 1.5; }
.s3-see-meaning-visible { margin-top: 12px; padding: 12px; background: #f0f7ff; border-radius: 10px; }
.s3-btn-small { padding: 6px 16px; border: 1px solid #ddd; border-radius: 8px; background: #f8f8f8; cursor: pointer; font-size: 14px; margin-top: 10px; }
.s3-btn-small:hover { background: #eee; }

.s3-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    margin-top: 24px;
}
.s3-btn {
    min-width: 0;
    padding: 12px 8px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.s3-actions .s3-btn-replay { grid-column: 1; }                 
.s3-actions .s3-btn-reveal-cta { grid-column: 2; }             
.s3-actions .s3-btn-remove { grid-column: 2; }                 
.s3-actions .s3-btn-promote { grid-column: 3; }                
.s3-btn:active { transform: scale(0.95); }
.s3-btn-replay { background: #f0f0f0; color: #555; }
.s3-btn-reveal { background: #fff3e0; color: #e67e22; }
.s3-btn-remove { background: #e8f5e9; color: #27ae60; }
.s3-btn-promote { background: #fff3e0; color: #e74c3c; }
.s3-btn-next { background: #4a90d9; color: white; }



.s3-actions[data-revealed="0"] .s3-btn-after-reveal { display: none; }
.s3-actions[data-revealed="1"] .s3-btn-reveal-cta { display: none; }


.s3-actions[data-revealed="0"] .s3-btn-promote {
    opacity: 0.42;
    filter: grayscale(0.85);
    pointer-events: none;          
    background: #f0f0f0;
    color: #b0b0b0;
    box-shadow: none;
}


.s3-actions[data-revealed="0"] .s3-btn-reveal-cta {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.32);
    animation: s3-reveal-cta-pulse 1.8s ease-in-out infinite;
}
@keyframes s3-reveal-cta-pulse {
    0%, 100% { box-shadow: 0 3px 10px rgba(245, 158, 11, 0.32); transform: scale(1); }
    50%      { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.55); transform: scale(1.03); }
}


@keyframes s3-after-reveal-fade-in {
    0%   { opacity: 0; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}
.s3-actions[data-revealed="1"] .s3-btn-after-reveal {
    animation: s3-after-reveal-fade-in 0.32s ease-out;
}


.s3-actions[data-revealed="1"] .s3-btn-remove {
    background: linear-gradient(135deg, #34D399, #10B981);
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.28);
}
.s3-actions[data-revealed="1"] .s3-btn-promote {
    background: linear-gradient(135deg, #FB923C, #EA580C);
    color: #fff;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.28);
}




.s3v3-sent-card .s3v3-clone-cn,
.s3v3-sent-card .s3v3-clone-trans {
    visibility: hidden;
    transition: opacity 0.3s, visibility 0s 0.3s;
    opacity: 0;
}
.s3v3-sent-card.s3v3-revealed .s3v3-clone-cn,
.s3v3-sent-card.s3v3-revealed .s3v3-clone-trans {
    visibility: visible;
    transition: opacity 0.3s, visibility 0s 0s;
    opacity: 1;
}


.s3v3-sent-card.s3v3-pass2 .s3v3-clone-cn,
.s3v3-sent-card.s3v3-pass2 .s3v3-clone-trans {
    visibility: visible !important;
    opacity: 1 !important;
    transition: none !important;
}
.s3v3-sent-card.s3v3-pass2 .s3v3-clone-pair.s3v3-target .s3v3-clone-en {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0s 0.3s;
}
.s3v3-sent-card.s3v3-pass2.s3v3-revealed .s3v3-clone-pair.s3v3-target .s3v3-clone-en {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s, visibility 0s 0s;
}

.s3v3-sent-card.s3v3-pass2:not(.s3v3-revealed) .s3v3-clone-pair.s3v3-target {
    border-bottom: 2px dashed #a855f7;
    border-radius: 2px;
}

.s3v3-pass2-def {
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.6;
    text-align: left;
    background: rgba(100, 116, 139, 0.05);
    border-radius: 8px;
}


.s3v3-dict-reveal {
    margin-top: 14px;
    padding: 12px 14px;
    background: #FFF8E1;
    border-radius: 10px;
    border: 1px solid #FCD34D;
    animation: s3v3-dict-slide-in 0.4s ease-out;
}
@keyframes s3v3-dict-slide-in {
    0%   { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}
.s3v3-dict-reveal .s3v3-reveal-word {
    font-size: 19px;
    font-weight: 700;
    color: #92400E;
    margin-bottom: 8px;
}
.s3v3-dict-reveal .s3v3-reveal-meaning {
    
    font-size: 14px;
    color: #57534E;
    line-height: 1.7;
    word-break: break-word;
}




.s3v3-hist-count-row {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
}
.s3v3-sent-card {
    position: relative;  
}
.s3v3-hist-count-chip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #92400E;
    background: linear-gradient(135deg, #FEF3C7, #FCD34D);
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    line-height: 1;
    user-select: none;
}
.s3v3-hist-count-chip .s3v3-hist-icon {
    font-size: 12px;
}


.s3v3-hist-tl-wrap {
    margin-top: 14px;
    padding: 10px 12px;
    background: rgba(252, 211, 77, 0.08);
    border-left: 3px solid #FCD34D;
    border-radius: 6px;
}
.s3v3-hist-title {
    font-size: 13px;
    font-weight: 700;
    color: #92400E;
    margin-bottom: 8px;
}
.s3v3-hist-tl-loading {
    font-size: 12px;
    color: #92400E;
    padding: 8px 2px;
    opacity: 0.8;
}

.s3v3-hist-tl .tl-summary { flex-wrap: wrap; }
.s3v3-hist-tl .timeline-card { font-size: 12.5px; }


.s3v3-fullbtn-modal {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #6366F1, #818CF8);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.32);
    transition: transform 0.15s, box-shadow 0.15s;
}
.s3v3-fullbtn-modal:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
}
.s3v3-fullbtn-modal:active {
    transform: translateY(0);
}
.s3-btn-advance { background: linear-gradient(135deg, #27ae60, #2ecc71); color: white; padding: 14px 32px; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 20px; }
.s3-footer { margin-top: 16px; text-align: center; }
.s3-footer-hint { font-size: 13px; color: #999; }
.s3-complete {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-align: center;
}
.s3-complete-icon { font-size: 64px; margin-bottom: 16px; }
.s3-complete-title { font-size: 24px; font-weight: bold; color: #2c3e50; margin-bottom: 20px; }
.s3-complete-stats { display: flex; gap: 24px; margin-bottom: 20px; }
.s3-stat-item { text-align: center; }
.s3-stat-num { display: block; font-size: 32px; font-weight: bold; color: #4a90d9; }
.s3-stat-label { font-size: 13px; color: #888; }
.s3-complete-hint { font-size: 14px; color: #666; margin-bottom: 16px; }

body.stage3-memory-hub-active .session-container,
body.stage3-memory-hub-active #review-view,
body.stage3-memory-hub-active .cinema-embed-container { display: none !important; }
body.stage3-memory-hub-active .stage3-memory-hub { display: flex !important; }

@media (max-width: 768px) {
    .s3-actions { flex-wrap: wrap; }
    .s3-btn { min-width: 70px; padding: 10px 6px; font-size: 13px; }
    .s3-audio-card { min-height: 160px; padding: 20px; }
    .s3-audio-icon { font-size: 48px; }
    .s3-see-word { font-size: 26px; }
}




.v96-fullscreen .cinema-subtitle-area {
    z-index: 100 !important;
    position: absolute !important;
    bottom: 170px !important;  
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;

    border-radius: 8px;
    padding: 8px 12px !important;
    pointer-events: auto;
    max-height: 35vh;
    overflow-y: auto;
}




.v253-spiral-mini {
    background: transparent;
    border: 1px solid rgba(108,92,231,0.3);
    color: #6c5ce7;
    border-radius: 14px;
    padding: 3px 8px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.18s;
    line-height: 1;
    height: 26px;
    min-width: 56px;  
    box-sizing: border-box;
}
.v253-spiral-mini:hover {
    background: rgba(108,92,231,0.08);
    transform: translateY(-1px);
}
.v253-spiral-mini.active {
    background: linear-gradient(135deg, #6c5ce7, #a78bfa);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(108,92,231,0.4);
}
.v253-spiral-mini-state {
    font-size: 10px;
    font-weight: 700;
    padding: 0 4px;
    border-radius: 6px;
    background: rgba(255,255,255,0.25);
}
.v253-spiral-mini.active .v253-spiral-mini-state {
    background: #10b981;
    color: #fff;
}

.v253-spiral-mini:not(.active) .v253-spiral-mini-state {
    background: rgba(108,92,231,0.12);
    color: #6c5ce7;
}


.v253-subseg-area {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(108,92,231,0.2);
}
.v253-subseg-toggle {
    background: transparent;
    border: 1px solid rgba(108,92,231,0.3);
    color: #6c5ce7;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.v253-subseg-toggle:hover {
    background: rgba(108,92,231,0.1);
}
.v253-subseg-arrow {
    color: #6c5ce7;
    font-weight: 700;
}
.v253-subseg-meta {
    color: #999;
    font-size: 11px;
}
.v253-subseg-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: rgba(108,92,231,0.04);
    border-radius: 8px;
}
.v253-subseg-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}
.v253-subseg-item:hover {
    background: rgba(108,92,231,0.12);
}

.v253-subseg-item.v253-subseg-active {
    background: linear-gradient(90deg, #6c5ce7 0%, #7c6ce8 50%, #6c5ce7cc 100%);
    box-shadow: inset 3px 0 0 #fff, 0 2px 6px rgba(108,92,231,0.4);
}
.v253-subseg-item.v253-subseg-active .v253-subseg-text {
    color: #fff;
    font-weight: 600;
}
.v253-subseg-item.v253-subseg-active .v253-subseg-dur {
    color: rgba(255,255,255,0.85);
}
.v253-subseg-item.v253-subseg-active .v253-subseg-play {
    background: #fff;
    color: #6c5ce7;
}
.v253-subseg-play {
    background: #6c5ce7;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.v253-subseg-text {
    flex: 1;
    color: #2c3e50;  
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}
.v253-subseg-dur {
    color: #999;
    font-size: 11px;
    flex-shrink: 0;
}


@media (max-width: 480px) {
    .v253-doc-toolbar { padding: 6px 8px; gap: 8px; }
    .v253-tb-tip { display: none; }
    .v253-subseg-text { font-size: 12.5px; }
}



.v253-jingting-trigger-wrap {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 12;  
    margin: 0;
    pointer-events: auto;
}
.v253-jingting-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.22), rgba(139, 92, 246, 0.18));
    color: #f3e8ff;
    border: 1px solid rgba(167, 139, 250, 0.5);
    border-radius: 16px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.6;
    letter-spacing: 0.3px;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
    box-shadow: 0 1px 4px rgba(108, 92, 231, 0.18);
    user-select: none;
}
.v253-jingting-trigger:hover,
.v253-jingting-trigger:focus-visible {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.42), rgba(139, 92, 246, 0.36));
    border-color: rgba(196, 181, 253, 0.85);
    box-shadow: 0 2px 10px rgba(167, 139, 250, 0.3);
    outline: none;
    transform: translateY(-1px);
}
.v253-jingting-trigger:active {
    transform: translateY(0);
}
.v253-jt-trigger-icon {
    font-size: 14px;
    line-height: 1;
}
.v253-jt-trigger-label {
    font-size: 12.5px;
}
@media (max-width: 480px) {
    .v253-jingting-trigger-wrap { margin: 8px 4px 2px auto; }
    .v253-jingting-trigger { padding: 4px 12px; font-size: 12px; border-radius: 14px; }
    .v253-jt-trigger-icon { font-size: 13px; }
}


.cinema-blind-trigger-wrap {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 12;
    margin: 0;
    pointer-events: auto;
}
.cinema-blind-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.6;
    letter-spacing: 0.3px;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease, color 0.18s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    user-select: none;
}
.cinema-blind-trigger:hover,
.cinema-blind-trigger:focus-visible {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.30), rgba(245, 158, 11, 0.22));
    color: #fef3c7;
    border-color: rgba(251, 191, 36, 0.55);
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.25);
    outline: none;
    transform: translateY(-1px);
}
.cinema-blind-trigger:active {
    transform: translateY(0);
}
.cinema-blind-trigger.active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.55), rgba(245, 158, 11, 0.42));
    color: #fff8e7;
    border-color: rgba(251, 191, 36, 0.85);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
}
.cinema-blind-trigger-icon {
    font-size: 14px;
    line-height: 1;
}
.cinema-blind-trigger-label {
    font-size: 12.5px;
}
@media (max-width: 480px) {
    .cinema-blind-trigger { padding: 4px 11px; font-size: 12px; border-radius: 14px; }
    .cinema-blind-trigger-icon { font-size: 13px; }
}


.cinema-embed.cinema-flow-v3.cinema-flow-stage-3 .cinema-blind-trigger-wrap,
.cinema-embed.cinema-flow-v3.cinema-flow-stage-4 .cinema-blind-trigger-wrap {
    display: none !important;
}




.v253-jingting-popup .v253-jingting-seg {
    display: inline-block;
    padding: 5px 12px;
    margin: 4px 3px;
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 8px;
    background: rgba(108, 92, 231, 0.18);
    color: #f3e8ff;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.15s ease;
    user-select: none;
}
.v253-jingting-popup .v253-jingting-seg-dur {
    margin-left: 6px;
    font-size: 10.5px;
    opacity: 0.7;
    font-weight: 400;
}
@media (max-width: 480px) {
    .v253-jingting-popup .v253-jingting-seg { padding: 4px 10px; font-size: 13px; }
    .v253-jingting-popup .v253-jingting-seg-dur { display: none; }
}


.v253-vip-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: v253-popup-in 0.2s ease-out;
}
.v253-vip-card {
    width: 100%;
    max-width: 360px;
    background: linear-gradient(180deg, #2d2563, #1a1640);
    border: 2px solid rgba(255, 200, 100, 0.5);
    border-radius: 16px;
    padding: 28px 22px 22px 22px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65),
                0 0 24px rgba(255, 200, 100, 0.15) inset;
    color: #fff;
}
.v253-vip-icon {
    font-size: 52px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 12px rgba(255, 200, 100, 0.6));
}
.v253-vip-card h3 {
    margin: 0 0 14px 0;
    font-size: 19px;
    font-weight: 700;
    color: #ffd56b;
    letter-spacing: 0.5px;
}
.v253-vip-msg {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 8px 0;
    line-height: 1.6;
}
.v253-vip-expire {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 20px 0;
}
.v253-vip-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.v253-vip-renew {
    background: linear-gradient(135deg, #ffd56b, #ff8a3d);
    color: #1a1640;
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 12px rgba(255, 138, 61, 0.35);
}
.v253-vip-renew:hover, .v253-vip-renew:active {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(255, 138, 61, 0.5);
}
.v253-vip-close {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 13.5px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.v253-vip-close:hover { background: rgba(255, 255, 255, 0.16); }




.v253-jingting-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 18px;
    animation: v253-jt-in 0.2s ease-out;
}
@keyframes v253-jt-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.v253-jingting-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 760px;
    height: 100%;
    background: rgba(8, 10, 26, 0.97);
    border: 2px solid rgba(167, 139, 250, 0.55);
    border-radius: 18px;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.78),
                0 0 0 1px rgba(167, 139, 250, 0.15) inset;
    overflow: hidden;
}

.v253-jingting-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.18), rgba(108, 92, 231, 0.08));
}
.v253-jingting-title {
    flex: 1 1 auto;
    font-size: 13.5px;
    font-weight: 600;
    color: #e9e6ff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
    min-width: 0;
}
.v253-jingting-spiral {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}
.v253-jingting-spiral.active {
    background: #6c5ce7;
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.5);
}
.v253-jingting-spiral-state {
    font-weight: 700;
    margin-left: 2px;
}


.v253-jingting-blind {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(252, 211, 77, 0.45);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.v253-jingting-blind.active {
    background: linear-gradient(135deg, #6366F1, #8b5cf6);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.55);
}
.v253-jingting-blind-state {
    font-weight: 700;
    margin-left: 2px;
}


.v253-jingting-card.v253-jt-blind .v253-jingting-subtitle-content,
.v253-jingting-card.v253-jt-blind .v253-jingting-subtitle-content * {
    filter: blur(8px) !important;
    -webkit-filter: blur(8px) !important;
    opacity: 0.32 !important;
    pointer-events: none !important;
    user-select: none !important;
    transition: filter 0.3s, opacity 0.3s;
}

.v253-jingting-card.v253-jt-blind .v253-jingting-segs-list {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.v253-jingting-card.v253-jt-blind .v253-jingting-segs-list .v253-jingting-seg {
    
    filter: blur(5px) !important;
    -webkit-filter: blur(5px) !important;
    opacity: 0.55 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: filter 0.3s, opacity 0.3s;
}


.v253-jingting-card.v253-jt-blind .v253-jingting-subtitle::before {
    content: '🙈 蒙眼测试中 · 听音频 · 上方点 🙈 揭开核对';
    display: block;
    text-align: center;
    padding: 14px 12px;
    color: #f3e8ff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.18), rgba(139, 92, 246, 0.10));
    border-radius: 10px;
    margin-bottom: 10px;
    filter: none !important; -webkit-filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.v253-jingting-close {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}
.v253-jingting-close:hover {
    background: rgba(255, 100, 100, 0.6);
    border-color: #ff8a8a;
}

.v253-jingting-scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 14px 14px 18px 14px;
}

.v253-jingting-section {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(167, 139, 250, 0.12);
}
.v253-jingting-section:last-child { margin-bottom: 0; }
.v253-jingting-section-title {
    font-size: 12px;
    color: rgba(167, 139, 250, 0.85);
    margin: 0 0 10px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}


.v253-jingting-section .cinema-sub-block {
    align-self: auto !important;
    margin: 0 !important;
    width: 100% !important;
}


.v253-jt-marked {
    font-size: 17px;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 8px;
    word-break: break-word;
    font-weight: 500;
}
.v253-jt-ipa {
    font-size: 16px;
    color: #a78bfa;
    margin-bottom: 10px;
    font-family: "Charis SIL", "Doulos SIL", "Lucida Sans Unicode", "Segoe UI", sans-serif;
    letter-spacing: 0.3px;
    word-break: break-word;
}
.v253-jt-annot {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}
.v253-jt-no-decode {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 18px 0;
    font-size: 13px;
    line-height: 1.6;
}


.v253-jt-decode-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 14px 12px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.18), rgba(167, 139, 250, 0.12));
    color: #fff;
    border: 1px dashed rgba(167, 139, 250, 0.45);
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}
.v253-jt-decode-btn:hover,
.v253-jt-decode-btn:active {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.32), rgba(167, 139, 250, 0.22));
    border-color: rgba(167, 139, 250, 0.75);
    transform: translateY(-1px);
}
.v253-jt-decode-btn:disabled {
    cursor: wait;
    opacity: 0.85;
    transform: none;
}
.v253-jt-decode-icon {
    font-size: 22px;
    line-height: 1.2;
}
.v253-jt-decode-label {
    font-size: 14px;
    font-weight: 600;
    color: #e9e6ff;
}
.v253-jt-decode-sub {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
    margin-top: 2px;
    font-weight: 400;
}


.v253-jt-spinner {
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(167, 139, 250, 0.25);
    border-top-color: #a78bfa;
    border-radius: 50%;
    animation: v253-jt-spin 0.8s linear infinite;
}
@keyframes v253-jt-spin {
    to { transform: rotate(360deg); }
}


.v253-jt-cache-hint {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: rgba(167, 139, 250, 0.6);
    text-align: right;
}
.v253-jt-cache-hint.v253-jt-cache-fresh {
    color: rgba(167, 139, 250, 0.85);
}


.v253-jt-error {
    padding: 12px;
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.3);
    border-radius: 10px;
    color: #ffb4b4;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.v253-jt-retry {
    flex-direction: row !important;
    padding: 8px 14px !important;
}




html body .v253-jingting-popup .v3-sentence-quickview {
  margin-bottom: 14px !important;
  padding: 12px 16px !important;
  background: linear-gradient(180deg,
    rgba(167, 139, 250, 0.10),
    rgba(167, 139, 250, 0.04)) !important;
  border: 1px solid rgba(167, 139, 250, 0.25) !important;
  border-radius: 10px !important;
}
html body .v253-jingting-popup .v3-sentence-row {
  
  text-rendering: optimizeLegibility !important;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1 !important;
  line-height: 1.7 !important;
  word-break: break-word !important;
}
html body .v253-jingting-popup .v3-sentence-en {
  font-size: 15.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html body .v253-jingting-popup .v3-sentence-fusion {
  display: inline-block !important;
  padding: 1px 6px !important;
  background: rgba(167, 139, 250, 0.18) !important;
  border-radius: 4px !important;
  border: 1px solid rgba(167, 139, 250, 0.35) !important;
}
html body .v253-jingting-popup .v3-sentence-en .v3-fuse-link {
  font-size: 16px !important;
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
  font-weight: 700 !important;
  margin: 0 2px !important;
  text-shadow: 0 1px 4px rgba(253, 230, 138, 0.4) !important;
}
html body .v253-jingting-popup .v3-sentence-weak {
  font-style: italic !important;
  opacity: 0.7 !important;
}
@media (max-width: 480px) {
  html body .v253-jingting-popup .v3-sentence-quickview { padding: 10px 12px !important; }
  html body .v253-jingting-popup .v3-sentence-en { font-size: 14.5px !important; }
}


html body .v253-jingting-popup .v3-strike {
  text-decoration: line-through !important;
  text-decoration-thickness: 2.5px !important;
  text-decoration-color: #f87171 !important;
  text-decoration-skip-ink: none !important;
  
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-weight: inherit !important;
  opacity: 1 !important;
}


html body .v253-jingting-popup .ipa-unreleased {
  position: relative !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-decoration-color: #f87171 !important;
  text-underline-offset: 3px !important;
  text-decoration-skip-ink: none !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body .v253-jingting-popup .ipa-flap {
  position: relative !important;
  text-decoration: underline wavy !important;
  text-decoration-thickness: 1.5px !important;
  text-decoration-color: #5eead4 !important;
  text-underline-offset: 3px !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}


html body .v253-jingting-popup .v3-tokens-wrap {
  margin-bottom: 14px !important;
  padding: 12px 6px !important;
  background: rgba(167, 139, 250, 0.04) !important;
  border: 1px solid rgba(167, 139, 250, 0.18) !important;
  border-radius: 10px !important;
  overflow-x: auto !important;
}
html body .v253-jingting-popup .v3-tokens {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 4px 8px !important;
  
  text-rendering: optimizeLegibility !important;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1 !important;
}


html body .v253-jingting-popup .v3-token {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
  min-width: 30px !important;
  padding: 4px 6px 6px !important;
  border-radius: 6px !important;
}
html body .v253-jingting-popup .v3-en-row {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}
html body .v253-jingting-popup .v3-en-row .v3-en {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body .v253-jingting-popup .v3-ipa-row {
  font-size: 12.5px !important;
  color: #fef3c7 !important;
  -webkit-text-fill-color: #fef3c7 !important;
  line-height: 1.4 !important;
  margin-top: 2px !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  
}


html body .v253-jingting-popup .v3-token.v3-punct {
  min-width: auto !important;
  padding: 4px 2px 6px !important;
}
html body .v253-jingting-popup .v3-token.v3-punct .v3-en-row {
  color: rgba(255, 255, 255, 0.6) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
}


html body .v253-jingting-popup .v3-token.v3-weak .v3-en-row {
  color: rgba(255, 255, 255, 0.65) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.65) !important;
  font-style: italic !important;
}
html body .v253-jingting-popup .v3-token.v3-weak .v3-ipa-row {
  color: rgba(254, 243, 199, 0.7) !important;
  -webkit-text-fill-color: rgba(254, 243, 199, 0.7) !important;
  font-style: italic !important;
}




html body .v253-jingting-popup .v3-fusion-pair {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 4px 8px 6px !important;
  background: linear-gradient(180deg,
    rgba(167, 139, 250, 0.15),
    rgba(167, 139, 250, 0.05)) !important;
  border: 1px solid rgba(167, 139, 250, 0.4) !important;
  border-radius: 8px !important;
  position: relative !important;
}
html body .v253-jingting-popup .v3-fusion-pair .v3-en-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 2px !important;
}
html body .v253-jingting-popup .v3-fusion-pair .v3-fuse-link {
  font-size: 16px !important;
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
  font-weight: 700 !important;
  margin: 0 3px !important;
  text-shadow: 0 1px 4px rgba(253, 230, 138, 0.4) !important;
}
html body .v253-jingting-popup .v3-ipa-fusion {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
  margin-top: 3px !important;
  padding: 1px 8px !important;
  background: rgba(167, 139, 250, 0.12) !important;
  border-radius: 4px !important;
  
}


html body .v253-jingting-popup .v3-fusion-yod_coalescence {
  border-color: rgba(244, 114, 182, 0.55) !important;  
}
html body .v253-jingting-popup .v3-fusion-intrusion {
  border-color: rgba(96, 165, 250, 0.55) !important;   
}
html body .v253-jingting-popup .v3-fusion-linking {
  border-color: rgba(94, 234, 212, 0.55) !important;   
}







html body .v253-jingting-popup .v3-elision {
  text-decoration: line-through !important;
  text-decoration-color: #94a3b8 !important;
  text-decoration-thickness: 2px !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 0.55 !important;
}


html body .v253-jingting-popup .v3-en-flap {
  position: relative !important;
  text-decoration: underline wavy !important;
  text-decoration-color: #5eead4 !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
  -webkit-text-decoration-line: underline !important;
  -webkit-text-decoration-style: wavy !important;
  -webkit-text-decoration-color: #5eead4 !important;
}


html body .v253-jingting-popup .v3-fuse-arc {
  font-size: 18px !important;
  color: #5eead4 !important;
  -webkit-text-fill-color: #5eead4 !important;
  font-weight: 700 !important;
  margin: 0 4px !important;
  text-shadow: 0 1px 6px rgba(94, 234, 212, 0.35) !important;
  display: inline-block !important;
  transform: translateY(2px) !important;
}


html body .v253-jingting-popup .v3-fuse-intrusion {
  font-size: 13px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(135deg, #60a5fa, #818cf8) !important;
  font-weight: 700 !important;
  font-style: italic !important;
  margin: 0 4px !important;
  padding: 1px 6px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.35) !important;
  font-family: 'CharisIPA', system-ui, serif !important;
}


html body .v253-jingting-popup .v3-fuse-yod {
  font-size: 14px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: linear-gradient(135deg, #f472b6, #ec4899) !important;
  font-weight: 700 !important;
  margin: 0 4px !important;
  padding: 1px 7px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  box-shadow: 0 2px 8px rgba(244, 114, 182, 0.35) !important;
  font-family: 'CharisIPA', system-ui, serif !important;
}


html body .v253-jingting-popup .v3-fuse-assim {
  font-size: 16px !important;
  color: #fbbf24 !important;
  -webkit-text-fill-color: #fbbf24 !important;
  font-weight: 700 !important;
  margin: 0 4px !important;
  text-shadow: 0 1px 4px rgba(251, 191, 36, 0.4) !important;
}



html body .v253-jingting-popup .v3-token.v3-weak .v3-en-row {
  position: relative !important;
}
html body .v253-jingting-popup .v3-token.v3-weak .v3-en-row::after {
  content: 'ə' !important;
  position: absolute !important;
  top: -8px !important;
  right: -2px !important;
  font-size: 9px !important;
  color: #fbbf24 !important;
  -webkit-text-fill-color: #fbbf24 !important;
  font-style: italic !important;
  font-weight: 600 !important;
  pointer-events: none !important;
  font-family: 'CharisIPA', system-ui, serif !important;
}



html body .v253-jingting-popup .v5-seg-card {
  position: relative !important;
  margin-bottom: 16px !important;
  padding: 12px !important;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.06), rgba(167, 139, 250, 0.02)) !important;
  border: 1px solid rgba(167, 139, 250, 0.2) !important;
  border-radius: 12px !important;
}


html body .v253-jingting-popup .v5-seg-head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px dashed rgba(167, 139, 250, 0.25) !important;
}

html body .v253-jingting-popup .v5-seg-play {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: none !important;
  background: linear-gradient(135deg, #818cf8, #a78bfa) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(129, 140, 248, 0.4) !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
  padding: 0 !important;
}

html body .v253-jingting-popup .v5-seg-play:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 4px 14px rgba(129, 140, 248, 0.55) !important;
}

html body .v253-jingting-popup .v5-seg-play.v5-seg-playing {
  background: linear-gradient(135deg, #f472b6, #ec4899) !important;
  animation: v5-seg-pulse 1.2s ease-in-out infinite !important;
}

@keyframes v5-seg-pulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(244, 114, 182, 0.4); }
  50%      { box-shadow: 0 4px 18px rgba(244, 114, 182, 0.7); }
}

html body .v253-jingting-popup .v5-seg-text {
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #f3f4f6 !important;
  -webkit-text-fill-color: #f3f4f6 !important;
  line-height: 1.5 !important;
  word-break: break-word !important;
}

html body .v253-jingting-popup .v5-seg-dur {
  flex-shrink: 0 !important;
  font-size: 11.5px !important;
  color: rgba(196, 181, 253, 0.65) !important;
  -webkit-text-fill-color: rgba(196, 181, 253, 0.65) !important;
  font-family: 'CharisIPA', system-ui, monospace !important;
}


html body .v253-jingting-popup .v5-seg-tokens {
  margin: 0 !important;
  padding: 8px 4px !important;
  background: rgba(0, 0, 0, 0.12) !important;
  border: none !important;
  border-radius: 8px !important;
}


html body .v253-jingting-popup .v5-seg-fusion-note {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin: 8px 0 0 !important;
  padding: 6px 10px !important;
  background: rgba(167, 139, 250, 0.08) !important;
  border-left: 3px solid #a78bfa !important;
  border-radius: 6px !important;
  font-size: 12.5px !important;
  color: #e0e7ff !important;
  -webkit-text-fill-color: #e0e7ff !important;
  line-height: 1.55 !important;
}


html body .v253-jingting-popup .v5-seg-incoming,
html body .v253-jingting-popup .v5-seg-outgoing {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: rgba(94, 234, 212, 0.85) !important;
  -webkit-text-fill-color: rgba(94, 234, 212, 0.85) !important;
  padding: 4px 6px !important;
  background: rgba(94, 234, 212, 0.07) !important;
  border-radius: 6px !important;
  font-style: italic !important;
}

html body .v253-jingting-popup .v5-seg-incoming {
  margin-bottom: 8px !important;
}

html body .v253-jingting-popup .v5-seg-outgoing {
  margin-top: 8px !important;
  justify-content: flex-end !important;
}

html body .v253-jingting-popup .v5-cross-arrow {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #5eead4 !important;
  -webkit-text-fill-color: #5eead4 !important;
}

html body .v253-jingting-popup .v5-cross-label {
  flex: 1 !important;
}




html body .v253-jingting-popup .v3-fusion-pair {
  position: relative !important;
}

html body .v253-jingting-popup .v3-fusion-linking {
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.06)) !important;
}
html body .v253-jingting-popup .v3-fusion-intrusion {
  background: linear-gradient(180deg, transparent, rgba(96, 165, 250, 0.06)) !important;
}
html body .v253-jingting-popup .v3-fusion-yod_coalescence {
  background: linear-gradient(180deg, transparent, rgba(244, 114, 182, 0.07)) !important;
}
html body .v253-jingting-popup .v3-fusion-assimilation {
  background: linear-gradient(180deg, transparent, rgba(251, 191, 36, 0.06)) !important;
}




html body .v253-jingting-popup .v3-token.v3-key,
html body .v253-jingting-popup .v3-fusion-pair.v3-key {
  box-shadow: 0 0 0 1px rgba(253, 230, 138, 0.6),
              0 2px 12px rgba(253, 230, 138, 0.18) !important;
}
html body .v253-jingting-popup .v3-star {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  filter: drop-shadow(0 1px 2px rgba(253, 230, 138, 0.5)) !important;
  z-index: 2 !important;
  pointer-events: none !important;
  
  animation: v3-star-wiggle 2.4s ease-in-out infinite !important;
}
@keyframes v3-star-wiggle {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50%      { transform: rotate(8deg) scale(1.08); }
}


html body .v253-jingting-popup .v3-training-tip {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  margin-bottom: 14px !important;
  background: rgba(253, 230, 138, 0.10) !important;
  border-left: 3px solid rgba(253, 230, 138, 0.65) !important;
  border-radius: 6px !important;
  color: #fef3c7 !important;
  -webkit-text-fill-color: #fef3c7 !important;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
}
html body .v253-jingting-popup .v3-tip-emoji {
  font-size: 16px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}


html body .v253-jingting-popup .v3-details-wrap {
  margin-bottom: 12px !important;
}
html body .v253-jingting-popup .v3-details-summary {
  cursor: pointer !important;
  padding: 6px 10px !important;
  font-size: 12.5px !important;
  color: rgba(196, 181, 253, 0.85) !important;
  -webkit-text-fill-color: rgba(196, 181, 253, 0.85) !important;
  background: rgba(167, 139, 250, 0.06) !important;
  border-radius: 6px !important;
  user-select: none !important;
  list-style: none !important;
}
html body .v253-jingting-popup .v3-details-summary::-webkit-details-marker {
  display: none !important;
}
html body .v253-jingting-popup .v3-details {
  margin-top: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
html body .v253-jingting-popup .v3-detail {
  padding: 8px 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-left: 2px solid rgba(167, 139, 250, 0.4) !important;
  border-radius: 6px !important;
}
html body .v253-jingting-popup .v3-detail-head {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin-bottom: 3px !important;
  font-size: 11.5px !important;
}
html body .v253-jingting-popup .v3-detail-tag {
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
  font-weight: 600 !important;
}
html body .v253-jingting-popup .v3-detail-word {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 600 !important;
}
html body .v253-jingting-popup .v3-detail-ipa {
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
  
}
html body .v253-jingting-popup .v3-detail-audible {
  font-size: 13px !important;
  color: #f3f4f6 !important;
  -webkit-text-fill-color: #f3f4f6 !important;
  line-height: 1.55 !important;
}
html body .v253-jingting-popup .v3-detail-tip {
  font-size: 12.5px !important;
  color: rgba(243, 244, 246, 0.78) !important;
  -webkit-text-fill-color: rgba(243, 244, 246, 0.78) !important;
  margin-top: 3px !important;
  line-height: 1.55 !important;
}


html body .v253-jingting-popup .v3-token:not(.v3-punct) {
  cursor: pointer !important;
}
html body .v253-jingting-popup .v3-detail {
  cursor: pointer !important;
  position: relative !important;
  transition: background 0.18s ease !important;
}
html body .v253-jingting-popup .v3-detail:hover {
  background: rgba(167, 139, 250, 0.08) !important;
}
html body .v253-jingting-popup .v3-detail-jump-hint {
  position: absolute !important;
  top: 6px !important;
  right: 8px !important;
  font-size: 10.5px !important;
  color: rgba(196, 181, 253, 0.55) !important;
  -webkit-text-fill-color: rgba(196, 181, 253, 0.55) !important;
  font-weight: 400 !important;
  pointer-events: none !important;
}
@media (max-width: 480px) {
  html body .v253-jingting-popup .v3-detail-jump-hint { font-size: 10px !important; top: 5px !important; right: 6px !important; }
}

html body .v253-jingting-popup .v3-token.v3-flash,
html body .v253-jingting-popup .v3-fusion-pair.v3-flash {
  animation: v3-flash-anim 1.8s ease-in-out !important;
}
@keyframes v3-flash-anim {
  0%, 100% {
    outline: 2px solid transparent;
    outline-offset: 2px;
    background-color: transparent;
  }
  20%, 65% {
    outline: 3px solid rgba(253, 230, 138, 0.95);
    outline-offset: 3px;
    background-color: rgba(253, 230, 138, 0.22);
  }
}

html body .v253-jingting-popup .v3-detail.v3-flash-detail {
  animation: v3-flash-detail-anim 1.8s ease-in-out !important;
}
@keyframes v3-flash-detail-anim {
  0%, 100% { background: rgba(255, 255, 255, 0.03); box-shadow: none; }
  20%, 65% {
    background: rgba(253, 230, 138, 0.15);
    box-shadow: 0 0 0 2px rgba(253, 230, 138, 0.6);
  }
}


html body .v253-jingting-popup .v3-feedback-wrap {
  margin-top: 14px !important;
  padding: 10px 12px !important;
  background: rgba(167, 139, 250, 0.06) !important;
  border-radius: 8px !important;
  text-align: center !important;
}
html body .v253-jingting-popup .v3-feedback-prompt {
  font-size: 12.5px !important;
  color: rgba(196, 181, 253, 0.85) !important;
  -webkit-text-fill-color: rgba(196, 181, 253, 0.85) !important;
  margin-bottom: 6px !important;
}
html body .v253-jingting-popup .v3-feedback-btns {
  display: flex !important;
  gap: 8px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}
html body .v253-jingting-popup .v3-fb-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f3e8ff !important;
  -webkit-text-fill-color: #f3e8ff !important;
  border: 1px solid rgba(167, 139, 250, 0.35) !important;
  border-radius: 14px !important;
  padding: 4px 12px !important;
  font-size: 12.5px !important;
  cursor: pointer !important;
  transition: background 0.15s, border-color 0.15s !important;
}
html body .v253-jingting-popup .v3-fb-btn:hover {
  background: rgba(167, 139, 250, 0.18) !important;
  border-color: rgba(196, 181, 253, 0.7) !important;
}
html body .v253-jingting-popup .v3-fb-btn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}
html body .v253-jingting-popup .v3-fb-good:hover {
  background: rgba(94, 234, 212, 0.18) !important;
  border-color: #5EEAD4 !important;
  color: #ccfbf1 !important;
  -webkit-text-fill-color: #ccfbf1 !important;
}
html body .v253-jingting-popup .v3-fb-bad:hover {
  background: rgba(244, 114, 182, 0.18) !important;
  border-color: #f472b6 !important;
}
html body .v253-jingting-popup .v3-feedback-status {
  margin-top: 6px !important;
  min-height: 16px !important;
  font-size: 12px !important;
  color: rgba(196, 181, 253, 0.7) !important;
  -webkit-text-fill-color: rgba(196, 181, 253, 0.7) !important;
}


@media (max-width: 480px) {
  html body .v253-jingting-popup .v3-en-row { font-size: 13.5px !important; }
  html body .v253-jingting-popup .v3-ipa-row { font-size: 11.5px !important; }
  html body .v253-jingting-popup .v3-ipa-fusion { font-size: 12px !important; }
  html body .v253-jingting-popup .v3-tokens { gap: 3px 6px !important; }
  html body .v253-jingting-popup .v3-token { padding: 3px 5px 5px !important; min-width: 26px !important; }
  html body .v253-jingting-popup .v3-fusion-pair { padding: 3px 6px 5px !important; }
}




.cinema-subtitle-area.v205-overflow,
.v96-fullscreen .cinema-subtitle-area.v205-overflow {
    justify-content: flex-start !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain;
    touch-action: pan-y !important;
}
.cinema-subtitle-area.v205-overflow .cinema-sub-block,
.v96-fullscreen .cinema-subtitle-area.v205-overflow .cinema-sub-block {
    flex-shrink: 0 !important;
    align-self: flex-start !important;
    margin: 0 !important;
}


.cinema-controls-compact {
    padding: 4px 8px 60px 8px !important; 
}

.cinema-embed.cinema-flow-v3 .cinema-controls,
.cinema-embed.cinema-flow-v3 .cinema-controls-compact {
    padding: 2px 8px 50px 8px !important;
}
.cinema-embed.cinema-flow-v3 .cinema-ctrl-row {
    padding: 1px 0 !important;
    gap: 4px !important;
}
.cinema-embed.cinema-flow-v3 .cinema-flow-main-btn {
    min-height: 40px !important;
    margin: 0 0 4px !important;
    padding: 6px 12px !important;
    font-size: 1em !important;
}
.cinema-embed.cinema-flow-v3 .cinema-v3-hintbar {
    padding: 4px 10px !important;
}
.cinema-ctrl-row-buttons {
    flex-wrap: wrap !important; 
    row-gap: 6px !important;
}


.cinema-embed.cinema-flow-v3 .cinema-ctrl-row-main {
    flex-wrap: nowrap !important;
    gap: 4px !important;
}
.cinema-embed.cinema-flow-v3 .cinema-ctrl-row-main .cinema-spiral-btn {
    min-width: 0 !important;
    flex-shrink: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}


.cinema-ctrl-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 2px 0 !important;
}


.cinema-ctrl-row-1 {
    gap: 10px !important;
}
.cinema-ctrl-row-1 .cinema-btn {
    padding: 5px 10px !important;
    min-width: 32px !important;
    height: 32px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
}
.cinema-ctrl-row-1 .cinema-play-btn {
    padding: 5px 16px !important;
    min-width: 44px !important;
    height: 36px !important;
    font-size: 18px !important;
}


.cinema-ctrl-row-2 {
    gap: 6px !important;
}
.cinema-ctrl-row-2 .cinema-btn {
    padding: 3px 8px !important;
    min-width: 26px !important;
    height: 26px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
}
.cinema-ctrl-row-2 .cinema-exit-btn {
    font-size: 11px !important;
    padding: 3px 6px !important;
}
.cinema-ctrl-row-2 .cinema-playmode-btn,
.cinema-ctrl-row-2 .cinema-mode-btn {
    font-size: 11px !important;
    padding: 3px 7px !important;
    max-width: 72px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}


.cinema-ctrl-row-3 {
    gap: 4px !important;
}
.cinema-ctrl-row-3 .cinema-btn {
    padding: 2px 6px !important;
    min-width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
    border-radius: 5px !important;
}
.cinema-ctrl-row-3 .cinema-time-current,
.cinema-ctrl-row-3 .cinema-time-total {
    font-size: 11px !important;
    min-width: 28px !important;
    color: rgba(255,255,255,0.7) !important;
}
.cinema-ctrl-row-3 .cinema-progress {
    flex: 1 !important;
    height: 3px !important;
    min-width: 60px !important;
}
.cinema-ctrl-row-3 .cinema-theme-btn {
    font-size: 11px !important;
    padding: 2px 6px !important;
    max-width: 72px !important;
    white-space: nowrap !important;
}


.cinema-speed-compact {
    padding: 2px 4px !important;
    font-size: 11px !important;
    min-width: 40px !important;
    height: 24px !important;
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 4px !important;
}


.cinema-sent-info {
    display: flex !important;
    justify-content: center !important;
    font-size: 11px !important;
    color: rgba(255,255,255,0.5) !important;
    padding: 1px 0 !important;
}


body.v96-stage-locked .cinema-ctrl-row-2 .cinema-playmode-btn,
body.v96-stage-locked .cinema-ctrl-row-2 .cinema-mode-btn,
body.v96-stage-locked .cinema-ctrl-row-2 .cinema-mute-btn,
body.v96-stage-locked .cinema-ctrl-row-2 .cinema-ctrl-divider-mode {
    display: none !important;
}


.v96-fullscreen .cinema-controls {
    height: auto !important;
    min-height: 36px !important;
    padding: 4px 8px !important;
}


body.v98-auto-cruise .cinema-playmode-btn,
body.v98-auto-cruise .cinema-mode-btn,
body.v98-auto-cruise .cinema-ctrl-divider-mode {
    display: none !important;
}


@media (max-width: 768px) {
    .cinema-ctrl-single .cinema-btn {
        padding: 3px 4px !important;
        min-width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }
    .cinema-ctrl-single .cinema-play-btn {
        min-width: 30px !important;
        height: 28px !important;
    }
    .cinema-ctrl-single .cinema-progress {
        max-width: 80px !important;
    }
    .v96-fullscreen .cinema-subtitle-area {
        bottom: 44px !important;
        width: 95% !important;
        font-size: 14px !important;
    }
}


.v98-stage-guide {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    transition: opacity 0.5s;
}
.v98-guide-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(123,106,170,0.3);
    border-radius: 20px;
    padding: 30px 40px;
    text-align: center;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: v98GuideIn 0.4s ease;
}
@keyframes v98GuideIn {
    from { transform: scale(0.8) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.v98-guide-step { font-size: 13px; color: #7b6aaa; font-weight: 600; margin-bottom: 8px; letter-spacing: 2px; }
.v98-guide-icon { font-size: 48px; margin-bottom: 12px; }
.v98-guide-title { font-size: 22px; font-weight: bold; color: white; margin-bottom: 10px; }
.v98-guide-desc { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 12px; }
.v98-guide-time { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.v98-guide-btn {
    background: linear-gradient(135deg, #7b6aaa, #5b4a8a);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}
.v98-guide-btn:hover { transform: scale(1.05); }


.v98-progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    background: linear-gradient(180deg, rgba(26,26,46,0.95), rgba(22,33,62,0.98));
    border-top: 1px solid rgba(123,106,170,0.2);
    color: white;
    font-size: 12px;
}
.v98-progress-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}
.v98-progress-step { color: #7b6aaa; font-weight: 600; }
.v98-progress-name { color: rgba(255,255,255,0.8); }
.v98-progress-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.v98-dot {
    font-size: 14px;
    opacity: 0.3;
    transition: all 0.3s;
}
.v98-dot-done { opacity: 0.6; }
.v98-dot-active { opacity: 1; transform: scale(1.3); filter: drop-shadow(0 0 4px rgba(123,106,170,0.6)); }
.v98-progress-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.v98-progress-track {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.v98-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7b6aaa, #5b4a8a);
    border-radius: 2px;
    transition: width 0.5s ease;
}
.v98-progress-pct { color: #7b6aaa; font-weight: 600; min-width: 30px; text-align: right; }


body:not(.v96-stage-locked) .v98-progress-bar { display: none !important; }


body.v96-stage-locked .v96-fullscreen .cinema-subtitle-area {
    bottom: 80px !important;
}
body.v96-stage-locked .v96-fullscreen .cinema-controls {
    bottom: 32px !important;
}


body.v96-stage-locked .cinema-controls {
    padding-bottom: 0 !important;
}


body.v96-stage-locked .v96-fullscreen .cinema-controls {
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .v98-guide-card { padding: 20px 24px; max-width: 300px; }
    .v98-guide-icon { font-size: 36px; }
    .v98-guide-title { font-size: 18px; }
    .v98-progress-bar { padding: 4px 10px; font-size: 11px; }
    .v98-progress-dots { display: none; }
}





.v98-guide-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.v98-guide-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
}

.v98-guide-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #667eea;
}

.v98-guide-checkbox:hover {
    color: rgba(255, 255, 255, 0.9);
}

.v98-stage-complete {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.v98-complete-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px 50px;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: v98CompleteSlideIn 0.5s ease;
}

@keyframes v98CompleteSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.v98-complete-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: v98CompleteBounce 0.6s ease;
}

@keyframes v98CompleteBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.v98-complete-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 12px;
}

.v98-complete-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.6;
}

.v98-complete-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.v98-complete-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v98-complete-btn.primary {
    background: #fff;
    color: #667eea;
}

.v98-complete-btn.primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.v98-complete-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.v98-complete-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .v98-complete-card {
        padding: 30px 25px;
        max-width: 90%;
    }
    
    .v98-complete-icon {
        font-size: 48px;
    }
    
    .v98-complete-title {
        font-size: 22px;
    }
    
    .v98-complete-actions {
        flex-direction: column;
    }
    
    .v98-complete-btn {
        width: 100%;
    }
}


body.v98-auto-cruise .cinema-controls {
    position: fixed !important;
    bottom: 36px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2000 !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.95)) !important;
    padding: 6px 12px 8px !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}





@media (max-width: 768px) {
    body.v98-auto-cruise .cinema-controls .cinema-ctrl-single {
        gap: 2px !important;
    }
    body.v98-auto-cruise .cinema-controls .cinema-btn {
        padding: 3px 4px !important;
        min-width: 22px !important;
        height: 24px !important;
        font-size: 11px !important;
    }
    body.v98-auto-cruise .cinema-controls .cinema-play-btn {
        min-width: 32px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    body.v98-auto-cruise .cinema-controls .cinema-progress {
        min-width: 40px !important;
        max-width: 100px !important;
    }
    body.v98-auto-cruise .cinema-controls .cinema-speed-compact {
        min-width: 32px !important;
        font-size: 10px !important;
    }
}


body.v98-auto-cruise .cinema-sent-info {
    display: none !important;
}

@media (max-width: 768px) {
    
    body.v98-auto-cruise .cinema-controls .cinema-speed-compact,
    body.v98-auto-cruise .cinema-controls .cinema-speed-indicator {
        display: none !important;
    }
    
    body.v98-auto-cruise .cinema-controls button[onclick="cinemaToggleFav()"] {
        padding: 2px 4px !important;
        min-width: 20px !important;
        font-size: 12px !important;
    }
    
    body.v98-auto-cruise .cinema-controls .cinema-progress {
        min-width: 50px !important;
        max-width: 120px !important;
    }
    
    body.v98-auto-cruise .cinema-controls .cinema-time-current,
    body.v98-auto-cruise .cinema-controls .cinema-time-total {
        font-size: 10px !important;
        min-width: 24px !important;
    }
}



@media screen and (max-width: 768px) and (orientation: portrait) {
  .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    max-height: 200px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 6px 8px;
  }
  .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-word-en {
    font-size: 13px !important;
  }
  .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-decode-row,
  .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-word-pair {
    font-size: 11px !important;
  }
  .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-zh {
    font-size: 11px !important;
  }
}

.v98-progress-sent {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin-left: 6px;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  .v98-progress-sent {
    font-size: 9px;
    margin-left: 4px;
  }
}






body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area,
.cinema-embed.v96-fullscreen .cinema-subtitle-area {

    border-radius: 12px !important;
    border: 1px solid rgba(103, 232, 249, 0.3) !important;
    box-shadow: 0 0 20px rgba(103, 232, 249, 0.12), 0 4px 16px rgba(0,0,0,0.5) !important;
}
body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en,
.cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    
    text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
    font-weight: 500 !important;
}
body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en.active,
.cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en.active {

    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;

    font-weight: 700 !important;
    text-shadow: none !important;
}
body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn,
body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-decode-row,
.cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn {
    color: #93C5FD !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
}
body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-row-cn,
body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-trans-wrapper,
.cinema-embed.v96-fullscreen .cinema-row-cn {
    color: #D1D5DB !important;
    font-style: italic !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
}


body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area {

                linear-gradient(135deg, #F472B6, #60A5FA, #22D3EE) border-box !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    box-shadow: 0 0 20px rgba(96,165,250,0.35), 0 0 40px rgba(244,114,182,0.2), 0 4px 16px rgba(0,0,0,0.5) !important;
}

body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;

    -webkit-background-clip: text !important;

    font-weight: 600 !important;
    text-shadow: 0 0 8px rgba(244,114,182,0.5) !important;
}

body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    opacity: 1 !important;
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;

    -webkit-background-clip: text !important;

    font-weight: 600 !important;
    text-shadow: 0 0 8px rgba(244,114,182,0.5) !important;
}
body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn,
body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en-kept,
body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-decode-row {
    color: #22D3EE !important;
    text-shadow: 0 0 6px rgba(34,211,238,0.35), 0 1px 2px rgba(0,0,0,0.5) !important;
}
body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-row-cn,
body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-trans-wrapper {
    color: #C4B5FD !important;
    text-shadow: 0 0 4px rgba(196,181,253,0.3), 0 1px 2px rgba(0,0,0,0.5) !important;
    font-style: normal !important;
}


body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area {

    border-radius: 8px !important;
    border-top: 2px solid rgba(252, 211, 77, 0.5) !important;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.6) !important;
}

body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    color: #FFE05A !important;
    -webkit-text-fill-color: #FFE05A !important;
    text-shadow: 0 0 8px rgba(252,211,77,0.6), 0 2px 4px rgba(0,0,0,0.9) !important;
    font-weight: 600 !important;

    -webkit-background-clip: initial !important;

}

body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    opacity: 1 !important;
    color: #FFE05A !important;
    -webkit-text-fill-color: #FFE05A !important;
    text-shadow: 0 0 8px rgba(252,211,77,0.6), 0 2px 4px rgba(0,0,0,0.9) !important;
    font-weight: 600 !important;

}
body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn,
body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en-kept,
body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-decode-row {
    color: #FFE05A !important;
    text-shadow: 0 0 8px rgba(0,0,0,0.95), 0 1px 3px rgba(0,0,0,0.9) !important;
}
body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-row-cn,
body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-trans-wrapper {
    color: #E5E7EB !important;
    text-shadow: 0 0 8px rgba(0,0,0,0.95), 0 1px 3px rgba(0,0,0,0.9) !important;
    font-style: normal !important;
}




body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area {

    border-radius: 8px !important;
    border: 1px solid rgba(103, 232, 249, 0.3) !important;
    box-shadow: 0 0 16px rgba(103, 232, 249, 0.1), 0 2px 8px rgba(0,0,0,0.4) !important;
}

body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-en {
    color: #e8e8e8 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
    font-weight: 500 !important;
}

body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-en.active {
    color: #00F0FF !important;
    font-weight: 700 !important;
}

body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-cn,
body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .cinema-decode-row {
    color: #90caf9 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4) !important;
}

body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-row-cn,
body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-trans-wrapper {
    color: #a5d6a7 !important;
    font-style: italic !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}


body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area {

    border-radius: 8px !important;
    border: 1px solid transparent !important;
    box-shadow: 0 0 16px rgba(96,165,250,0.3), 0 0 28px rgba(244,114,182,0.15), 0 2px 8px rgba(0,0,0,0.5) !important;
}

body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-en {
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;

    -webkit-background-clip: text !important;

    font-weight: 600 !important;
    text-shadow: 0 0 8px rgba(244,114,182,0.5) !important;
}

body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-cn,
body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-en-kept,
body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .cinema-decode-row {
    color: #22D3EE !important;
    text-shadow: 0 0 4px rgba(34,211,238,0.2), 0 1px 2px rgba(0,0,0,0.3) !important;
}

body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-row-cn,
body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-trans-wrapper {
    color: #C4B5FD !important;
    text-shadow: 0 0 3px rgba(196,181,253,0.2), 0 1px 2px rgba(0,0,0,0.3) !important;
    font-style: normal !important;
}


body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area {

    border-radius: 8px !important;
    border-top: 2px solid rgba(252, 211, 77, 0.5) !important;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.5) !important;
}

body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-en {
    color: #FFE05A !important;
    -webkit-text-fill-color: #FFE05A !important;
    text-shadow: 0 0 8px rgba(252,211,77,0.5), 0 2px 3px rgba(0,0,0,0.8) !important;
    font-weight: 600 !important;

}

body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-cn,
body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-en-kept,
body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .cinema-decode-row {
    color: #FFE05A !important;
    text-shadow: 0 0 6px rgba(0,0,0,0.9), 0 1px 2px rgba(0,0,0,0.8) !important;
}

body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-row-cn,
body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-trans-wrapper {
    color: #E5E7EB !important;
    text-shadow: 0 0 6px rgba(0,0,0,0.9), 0 1px 2px rgba(0,0,0,0.8) !important;
    font-style: normal !important;
}






body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
body.subtitle-theme-a .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #00F0FF !important;
    -webkit-text-fill-color: #00F0FF !important;
    text-shadow: 0 0 8px rgba(103,232,249,0.4) !important;

    -webkit-background-clip: initial !important;

}


body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
body.subtitle-theme-b .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {

    -webkit-background-clip: text !important;

    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    filter: blur(0) drop-shadow(0 0 6px rgba(244,114,182,0.4)) !important;
}


body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
body.subtitle-theme-c .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    
    
    text-shadow: 0 0 10px rgba(0,0,0,0.95), 0 2px 4px rgba(0,0,0,0.8) !important;

    -webkit-background-clip: initial !important;

}



.cinema-embed video::-webkit-media-controls-fullscreen-button { display: none !important; }
.cinema-embed video::-webkit-media-controls-panel { display: none !important; }
.cinema-embed video::-webkit-media-controls { display: none !important; }
.cinema-embed video { -webkit-appearance: none; }


.cinema-theme-btn {
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.2s;
}
.cinema-theme-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}


@media screen and (max-width: 768px) and (orientation: portrait) {
    
    .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 35vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 8px 12px !important;
        font-size: 14px !important;
    }
    
    .cinema-embed.v96-fullscreen video {
        max-height: 40vh !important;
        object-fit: contain !important;
    }
    
    body.v98-auto-cruise .cinema-controls {
        bottom: 36px !important;
        border-radius: 0 !important;
    }
    
    body.v96-cinema-fullscreen .study-header,
    body.v96-cinema-fullscreen .sidebar-toggle,
    body.v96-cinema-fullscreen .study-sidebar {
        display: none !important;
    }
}


.v98-progress-sent-inline {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    margin-left: 4px;
    font-weight: 400;
}
@media screen and (max-width: 768px) {
    .v98-progress-sent-inline {
        font-size: 9px;
        margin-left: 3px;
    }
}







@media screen and (max-width: 768px) and (orientation: portrait) {
    
    .cinema-embed.v96-fullscreen {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        overflow: hidden !important;  
    }

    
    .cinema-embed.v96-fullscreen .cinema-video-wrapper,
    .cinema-embed.v96-fullscreen video {
        flex-shrink: 0 !important;
        max-height: 35vh !important;
        width: 100% !important;
        object-fit: contain !important;
        background: #000 !important;
    }

    
    .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        min-height: 80px !important;
        max-height: none !important;  
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 10px 12px !important;
        font-size: 15px !important;
        z-index: 10 !important;
    }

    
    body.v98-auto-cruise .cinema-controls {
        position: fixed !important;
        bottom: 36px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 2000 !important;
    }

    
    body.v96-cinema-fullscreen .study-header,
    body.v96-cinema-fullscreen .sidebar-toggle,
    body.v96-cinema-fullscreen .study-sidebar,
    body.v96-cinema-fullscreen .doc-card-container,
    body.v96-cinema-fullscreen .unit-nav {
        display: none !important;
    }

    
    .v98-progress-sent-inline {
        display: inline !important;
        font-size: 10px !important;
        color: rgba(255,255,255,0.9) !important;
        margin-left: 4px !important;
    }
}


.v98-progress-sent-inline {
    display: inline !important;
}








.cinema-embed .cinema-subtitle-area .word-pair {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    vertical-align: top !important;
    margin: 2px 4px !important;
}
.cinema-embed .cinema-subtitle-area .wp-en {
    order: -1 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}
.cinema-embed .cinema-subtitle-area .wp-cn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.75em !important;
    line-height: 1.3 !important;
}

.cinema-embed .cinema-row-en {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 0 !important;
}


body.v98-auto-cruise .cinema-progress {
    display: block !important;
    flex: 1 !important;
    height: 6px !important;
    min-width: 80px !important;
    accent-color: #a78bfa !important;
}
body.v98-auto-cruise .cinema-time-current,
body.v98-auto-cruise .cinema-time-total {
    display: inline !important;
    font-size: 11px !important;
    color: rgba(255,255,255,0.7) !important;
}



.cinema-embed.v96-fullscreen .cinema-controls {
    position: fixed !important;
    bottom: 36px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2000 !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.95)) !important;
    padding: 6px 10px 8px !important;
}

body.v96-cinema-fullscreen .v98-progress-bar {
    display: flex !important;
    z-index: var(--z-dict, 9000) !important;
}


@media screen and (max-width: 768px) {
    .cinema-embed.v96-fullscreen .cinema-video-wrapper,
    .cinema-embed.v96-fullscreen .cinema-video-wrap {
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        height: 35vh !important;
        max-height: 35vh !important;
        min-height: 35vh !important;
        overflow: hidden !important;
    }
    .cinema-embed.v96-fullscreen video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

.cinema-embed.v96-fullscreen .cinema-video-wrapper,
.cinema-embed.v96-fullscreen .cinema-video-wrap {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}


@media screen and (max-width: 768px) {
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-btn {
        font-size: 1em !important;
        padding: 3px 5px !important;
        min-width: 28px !important;
    }
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-single {
        gap: 3px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}








.cinema-embed.cinema-embed .cinema-subtitle-area .cinema-row-en {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 2px 0 !important;
}
.cinema-embed.cinema-embed .cinema-subtitle-area .cinema-row-en .word-pair {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    vertical-align: top !important;
    margin: 1px 3px !important;
    gap: 1px !important;
}
.cinema-embed.cinema-embed .cinema-subtitle-area .cinema-row-en .word-pair .wp-en {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    order: -1 !important;
    line-height: 1.3 !important;
}
.cinema-embed.cinema-embed .cinema-subtitle-area .cinema-row-en .word-pair .wp-cn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.7em !important;
    line-height: 1.2 !important;
    order: 1 !important;
}

.cinema-embed.cinema-embed .cinema-subtitle-area .cinema-row-en .word-pair .wp-en-kept,
.cinema-embed.cinema-embed .cinema-subtitle-area .cinema-row-en .word-pair .wp-grammar {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.65em !important;
    order: 2 !important;
}


.cinema-mode-4 .cinema-row-en .word-pair.cinema-en-revealed .wp-en,
.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    display: block !important;
    visibility: visible !important;
    order: -1 !important;
}


@media screen and (max-width: 768px) and (orientation: portrait) {
    
    .cinema-embed.v96-fullscreen .cinema-controls {
        padding: 4px 8px 6px !important;
    }
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-single {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 2px !important;
    }
    
    
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row-main {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        margin-bottom: 2px !important;
    }
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row-main .cinema-btn {
        background: transparent !important;
        border: none !important;
        font-size: 20px !important;
        padding: 2px 8px !important;
        min-width: 36px !important;
        min-height: 32px !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row-main .cinema-mode-btn {
        font-size: 12px !important;
        padding: 2px 8px !important;
        min-width: auto !important;
        height: 24px !important;
        min-height: 24px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row-main .cinema-en-toggle-btn {
        font-size: 12px !important;
        min-width: auto !important;
        max-width: none !important;
        padding: 2px 8px !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row-main .cinema-play-btn {
        font-size: 24px !important;
        min-width: 44px !important;
    }
    
    
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row-aux {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 3px !important;
        width: 100% !important;
    }
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row-aux .cinema-btn {
        font-size: 0.85em !important;
        padding: 3px 6px !important;
        min-width: auto !important;
    }
    .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row-aux .cinema-speed-compact {
        font-size: 11px !important;
        padding: 2px !important;
    }
}


.v98-stage-guide {
    z-index: 99999 !important;
}

.lookup-result {
    z-index: 99999 !important;
    position: fixed !important;
}

.cinema-embed .cinema-toast {
    z-index: 99999 !important;
}


@media screen and (max-width: 768px) {
    .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        z-index: 50 !important;
    }
}








.cinema-embed .srt-block,
.cinema-embed .doc-card,
.cinema-embed .doc-card-container {
    display: none !important;
}



.study-content .srt-block {
    display: block !important;
}



body.v96-cinema-fullscreen .study-content .srt-block {
    display: none !important;
}



.v96-stage-indicator {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: all 0.3s ease;
}
.v96-stage-indicator.collapsed {
    opacity: 0.7;
}







@media screen and (max-width: 768px) {
    body.v98-auto-cruise .cinema-controls {
        background: rgba(15, 15, 35, 0.95) !important;
        border-radius: 12px !important;
        padding: 6px 8px !important;
        margin: 0 8px !important;
        gap: 4px !important;
    }
    body.v98-auto-cruise .cinema-controls button {
        background: rgba(255,255,255,0.1) !important;
        border-radius: 8px !important;
        border: none !important;
    }
}


.cinema-subtitle-area {
    animation: none !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}


body.subtitle-theme-c .cinema-embed .cinema-subtitle-area::before {
    pointer-events: none !important;
    z-index: -1 !important;
}








.cinema-embed .word-pair,
.cinema-embed .cinema-word-pair,
.cinema-subtitle-area .word-pair,
body .cinema-embed .word-pair {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
}

.cinema-embed .word-pair .wp-en,
.cinema-embed .cinema-word-pair .wp-en,
.cinema-subtitle-area .word-pair .wp-en {
    order: 1 !important;
    display: block !important;
    font-size: 16px !important;
    color: #E2E8F0 !important;
    line-height: 1.3 !important;
}

.cinema-embed .word-pair .wp-cn,
.cinema-embed .cinema-word-pair .wp-cn,
.cinema-subtitle-area .word-pair .wp-cn {
    order: 2 !important;
    display: block !important;
    font-size: 12px !important;
    color: #60A5FA !important;
    line-height: 1.2 !important;
}

.cinema-embed .cinema-row-en,
.cinema-subtitle-area .cinema-row-en {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 12px !important;
}


@media screen and (max-width: 768px) {
    
    body.v98-auto-cruise .cinema-controls,
    body.v96-stage-locked .cinema-controls {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        background: rgba(15, 15, 35, 0.95) !important;
        border-radius: 16px !important;
        padding: 8px 12px !important;
        gap: 6px !important;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.3) !important;
    }
    
    body.v98-auto-cruise .cinema-controls button,
    body.v96-stage-locked .cinema-controls button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: rgba(255,255,255,0.08) !important;
        border: none !important;
        border-radius: 10px !important;
        color: #fff !important;
        font-size: 16px !important;
        cursor: pointer !important;
        box-shadow: none !important;
    }
    
    body.v98-auto-cruise .cinema-controls .cinema-play-btn,
    body.v96-stage-locked .cinema-controls .cinema-play-btn {
        min-width: 44px !important;
        height: 44px !important;
        background: rgba(99,102,241,0.3) !important;
        border-radius: 12px !important;
        font-size: 20px !important;
    }
    
    body.v98-auto-cruise .cinema-controls .cinema-playmode-btn,
    body.v98-auto-cruise .cinema-controls .cinema-mode-btn,
    body.v98-auto-cruise .cinema-controls .cinema-mute-btn,
    body.v98-auto-cruise .cinema-controls .cinema-ctrl-divider-mode,
    body.v98-auto-cruise .cinema-controls .cinema-flow-btn,
    body.v98-auto-cruise .cinema-controls .cinema-link-btn,
    body.v98-auto-cruise .cinema-controls .cinema-loop-btn,
    body.v96-stage-locked .cinema-controls .cinema-playmode-btn,
    body.v96-stage-locked .cinema-controls .cinema-mode-btn,
    body.v96-stage-locked .cinema-controls .cinema-mute-btn,
    body.v96-stage-locked .cinema-controls .cinema-ctrl-divider-mode,
    body.v96-stage-locked .cinema-controls .cinema-flow-btn,
    body.v96-stage-locked .cinema-controls .cinema-link-btn,
    body.v96-stage-locked .cinema-controls .cinema-loop-btn {
        display: none !important;
    }
}


@media screen and (max-width: 768px) and (orientation: portrait) {
    .cinema-embed .word-pair .wp-en,
    .cinema-subtitle-area .word-pair .wp-en {
        font-size: 13px !important;
    }
    .cinema-embed .word-pair .wp-cn,
    .cinema-subtitle-area .word-pair .wp-cn {
        font-size: 10px !important;
    }
    .cinema-embed .cinema-row-en {
        gap: 4px 8px !important;
    }
}









.cinema-embed .cinema-video-wrap {
    display: block !important;
    overflow: visible !important;
    min-height: 200px !important;
}
.cinema-embed .cinema-video-wrap video {
    display: block !important;
    width: 100% !important;
    max-height: 50vh !important;
    min-height: 180px !important;
    object-fit: contain !important;
    background: #000 !important;
}

body.v96-stage-locked .cinema-embed {
    display: block !important;
    min-height: 300px !important;
    overflow: visible !important;
}




#dict-modal {
    z-index: var(--z-dict, 9000) !important;
}

.cinema-embed {
    z-index: auto !important;
}

.cinema-embed.v96-fullscreen {
    z-index: 1000 !important;
}



.stage3-memory-hub {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

body.has-cruise-bar .stage3-memory-hub {
    height: calc(100vh - 44px) !important;
    max-height: calc(100vh - 44px) !important;
}

@media (min-width: 769px) {
    body.stage3-memory-hub-active .main-content {
        display: flex !important;
        flex-direction: column !important;
        padding-top: 0 !important;
        overflow: auto !important;
    }
    body.stage3-memory-hub-active .main-content > .content-wrapper { display: none !important; }
    body.stage3-memory-hub-active #stage3-memory-hub {
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}

.stage3-memory-hub .s3-header {
    flex-shrink: 0 !important;
}
.stage3-memory-hub .s3-progress-bar {
    flex-shrink: 0 !important;
}

.stage3-memory-hub .s3-card-area {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    min-height: 0 !important;
    padding-bottom: 10px !important;
}

.stage3-memory-hub .s3-actions {
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    background: linear-gradient(transparent, #1a1a2e 20%) !important;
    padding: 16px 12px 20px !important;
    z-index: 10 !important;
}

.stage3-memory-hub .s3-footer {
    flex-shrink: 0 !important;
    padding: 4px 12px 12px !important;
}

.stage3-memory-hub .s3-see-meaning,
.stage3-memory-hub .s3-word-meaning {
    max-height: 30vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}





body .cinema-embed .cinema-subtitle-area .cinema-row-en .word-pair,
body .cinema-embed .cinema-row-en .word-pair,
body .cinema-subtitle-area .cinema-row-en .word-pair,
body .cinema-embed .word-pair {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    vertical-align: top !important;
    gap: 1px !important;
}
body .cinema-embed .word-pair .wp-en,
body .cinema-subtitle-area .word-pair .wp-en {
    order: 1 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}
body .cinema-embed .word-pair .wp-cn,
body .cinema-subtitle-area .word-pair .wp-cn {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

body .cinema-embed .word-pair.active,
body .cinema-embed .word-pair.selected,
body .cinema-embed .word-pair:active,
body .cinema-embed .word-pair.lookup-active {
    flex-direction: column !important;
}
body .cinema-embed .word-pair.active .wp-en,
body .cinema-embed .word-pair.selected .wp-en,
body .cinema-embed .word-pair.lookup-active .wp-en {
    order: 1 !important;
    position: relative !important;
    top: auto !important;
    transform: none !important;
}






@media (orientation: portrait) {
    .cinema-embed .cinema-video-wrap,
    .cinema-embed.v96-fullscreen .cinema-video-wrapper,
    .cinema-embed.v96-fullscreen .cinema-video-wrap {
        height: 25vh !important;
        max-height: 25vh !important;
        min-height: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        overflow: hidden !important;
        z-index: 1 !important;
    }
    .cinema-embed .cinema-video-wrap video,
    .cinema-embed.v96-fullscreen .cinema-video-wrap video,
    .cinema-embed.v96-fullscreen .cinema-video-wrapper video {
        max-height: 25vh !important;
        min-height: 0 !important;
        object-fit: contain !important;
    }
    .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        padding: 15px 12px 80px 12px !important;
        z-index: 2 !important;
    }
    .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en,
    .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-decode,
    .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-cn {
        width: 100% !important;
        text-align: center !important;
    }
}


#dict-modal {
    z-index: var(--z-dict, 9000) !important;
    position: fixed !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
}
body.v100-dict-active .cinema-video-wrap,
body.v100-dict-active .cinema-video-wrap video {
    z-index: -1 !important;
    pointer-events: none !important;
}
body.v100-dict-active .cinema-embed,
body.v100-dict-active .cinema-embed.v96-fullscreen {
    z-index: auto !important;
}











@media screen and (max-width: 768px) and (orientation: portrait) {
    
    html body .cinema-embed.v96-fullscreen {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        width: 100vw !important;
        overflow: hidden !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    
    
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap {
        flex: 0 0 25vh !important;   
        height: 25vh !important;
        min-height: 0 !important;    
        max-height: 25vh !important;
        overflow: hidden !important;
        position: relative !important;
        z-index: 1 !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap video {
        width: 100% !important;
        height: 100% !important;
        max-height: 25vh !important;
        min-height: 0 !important;    
        object-fit: contain !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        flex: 1 1 auto !important;
        position: relative !important;  
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 8px 12px 80px 12px !important;  
        z-index: 2 !important;
        border-radius: 0 !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-controls {
        position: fixed !important;
        bottom: 36px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 20000 !important;
        flex-shrink: 0 !important;
    }
}




html body > #dict-modal {
    z-index: var(--z-dict, 9000) !important;
    position: fixed !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
}











@media screen and (max-width: 768px) {
    
    html body #stage3-memory-hub {
        padding: 8px !important;
        margin-top: 0 !important;
    }
    
    html body .s3-header {
        padding: 4px 0 !important;
        margin-bottom: 4px !important;
    }
    html body .s3-step-indicator {
        gap: 3px !important;
        font-size: 0.85em !important;
    }
    html body .s3-step-badge {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.8em !important;
    }
    html body .s3-progress-info {
        font-size: 0.8em !important;
        margin-top: 2px !important;
    }
    
    html body .s3-progress-bar {
        height: 4px !important;
        margin: 4px 0 !important;
    }
    
    html body .s3-card-area {
        padding: 6px !important;
        margin: 4px 0 !important;
    }
    html body .s3-instruction {
        font-size: 0.9em !important;
        padding: 4px 0 !important;
        margin-bottom: 4px !important;
    }
    
    html body .s3-audio-card {
        padding: 12px !important;
        margin: 4px auto !important;
        min-height: unset !important;
    }
    html body .s3-audio-icon {
        font-size: 1.8em !important;
        margin-bottom: 4px !important;
    }
    html body .s3-audio-hint {
        font-size: 0.85em !important;
    }
    
    html body .s3-word-hidden {
        padding: 6px !important;
        margin-top: 6px !important;
    }
    html body .s3-word-text {
        font-size: 1.3em !important;
    }
    html body .s3-word-meaning {
        font-size: 0.9em !important;
    }
    
    html body .s3-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        padding: 4px 0 !important;
        margin-top: 6px !important;
    }
    html body .s3-btn {
        padding: 8px 10px !important;
        font-size: 0.85em !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    
    html body .s3-footer {
        padding: 4px 0 !important;
        margin-top: 4px !important;
    }
    html body .s3-footer-hint {
        font-size: 0.75em !important;
        line-height: 1.3 !important;
    }
    
    html body .s3-see-card {
        padding: 10px !important;
        margin: 4px auto !important;
    }
    html body .s3-see-word {
        font-size: 1.4em !important;
        margin-bottom: 4px !important;
    }
    html body .s3-see-phonetic {
        font-size: 0.85em !important;
        margin-bottom: 6px !important;
    }
    html body .s3-see-meaning {
        font-size: 1em !important;
        padding: 6px !important;
    }
}


@media screen and (max-width: 768px) {
    html body #dict-modal {
        position: fixed !important;
        z-index: var(--z-dict, 9000) !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    html body.v100-dict-active .cinema-embed video {
        visibility: hidden !important;
    }
}


html body .sent-card-back-container .row-decode {
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: none !important;
    min-height: 2.5em !important;
}
html body .sent-card-back-container .row-decode.v100-decode-hidden {
    color: transparent !important;
    background: #f0f0f0 !important;
    border-left-color: #ccc !important;
}
html body .sent-card-back-container .row-decode.v100-decode-hidden::after {
    content: '👆 点击显示解码翻译' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #999 !important;
    font-size: 0.9em !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}


@media screen and (max-width: 768px) {
    html body #stage3-memory-hub .s3-actions {
        background: white !important;
        position: sticky !important;
        bottom: 0 !important;
        z-index: 10 !important;
    }
    html body #stage3-memory-hub .s3-btn {
        padding: 8px 6px !important;
        font-size: 0.8em !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }
    
    html body #stage3-memory-hub .s3-footer {
        flex-shrink: 0 !important;
        padding: 2px 0 !important;
        margin-top: 0 !important;
    }
    html body #stage3-memory-hub .s3-footer-hint {
        font-size: 0.7em !important;
        line-height: 1.2 !important;
    }
    
    html body #stage3-memory-hub .s3-step-indicator {
        gap: 2px !important;
        font-size: 0.8em !important;
    }
    html body #stage3-memory-hub .s3-step-badge {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.75em !important;
    }
    html body #stage3-memory-hub .s3-progress-info {
        font-size: 0.75em !important;
    }

    
    html body #stage3-memory-hub .s3-see-card {
        padding: 8px !important;
        margin: 2px auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
    html body #stage3-memory-hub .s3-see-word {
        font-size: 1.3em !important;
    }
    html body #stage3-memory-hub .s3-see-meaning {
        font-size: 0.9em !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
}





html body .cinema-mode-4 .cinema-row-en {
    visibility: visible !important;
    min-height: 1.5em !important;
    position: relative !important;
    display: block !important;
}


html body .cinema-mode-4 .cinema-row-en .wp-en {
    visibility: visible !important;  
    color: transparent !important;
    transition: color 0.2s ease !important;
}
html body .cinema-mode-4 .cinema-row-en .wp-cn,
html body .cinema-mode-4 .cinema-row-en .wp-grammar,
html body .cinema-mode-4 .cinema-row-en .wp-en-kept,
html body .cinema-mode-4 .cinema-row-en .wp-phrase-cn {
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}


html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    visibility: visible !important;  
    color: #e8e8e8 !important;
    text-shadow: 0 0 2px rgba(255,255,255,0.3) !important;
}




@media screen and (max-width: 768px) {
    html body .cinema-mode-4 .cinema-row-en::after {
        content: none !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        color: rgba(255,255,255,0.4) !important;
        font-size: 0.8em !important;
        pointer-events: none !important;
        white-space: nowrap !important;
    }
    html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en::after {
        display: none !important;
    }
}




html body .cinema-mode-4 .cinema-row-en {
    visibility: visible !important;
    min-height: 1.5em !important;
    position: relative !important;
    display: block !important;
}


html body .cinema-mode-4 .cinema-row-en .wp-en {
    visibility: visible !important;  
    color: transparent !important;
    transition: color 0.2s ease !important;
}


html body .cinema-mode-4 .cinema-row-en .wp-cn,
html body .cinema-mode-4 .cinema-row-en .wp-grammar,
html body .cinema-mode-4 .cinema-row-en .wp-en-kept,
html body .cinema-mode-4 .cinema-row-en .wp-phrase-cn {
    visibility: visible !important;
}


html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    visibility: visible !important;  
    color: #e8e8e8 !important;
}


@media screen and (max-width: 768px) {
    html body.v100-dict-active .cinema-embed video,
    html body.v100-dict-active .cinema-video-wrap video,
    html body.v100-dict-active video {
        display: none !important;
    }
    html body.v100-dict-active .cinema-embed iframe {
        display: none !important;
    }
}





@media screen and (max-width: 768px) {
    
    html body .cinema-mode-4 .word-pair:hover .wp-en,
    html body .cinema-mode-4 .cinema-sub-block:hover .wp-en {
        visibility: visible !important;  
        color: transparent !important;
    }
    
    html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .wp-en {
        visibility: visible !important;  
        color: #e8e8e8 !important;
    }
    
    
    html body .cinema-mode-4 .cinema-row-en {
        margin-bottom: 4px !important;
        line-height: 1.6 !important;
    }
    html body .cinema-mode-4 .cinema-row-en .word-pair {
        margin-bottom: 2px !important;
    }
}


@media screen and (max-width: 768px) {
    
    body.stage3-memory-hub-active .study-step {
        padding: 4px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    
    html body #stage3-memory-hub {
        padding: 4px !important;
        margin: 0 !important;
        gap: 2px !important;
    }
    
    
    html body #stage3-memory-hub .s3-header {
        padding: 2px 0 !important;
        margin-bottom: 2px !important;
        gap: 4px !important;
    }
    
    
    html body #stage3-memory-hub .s3-progress-bar {
        height: 3px !important;
        margin: 2px 0 !important;
    }
    
    
    html body #stage3-memory-hub .s3-card-area {
        padding: 4px !important;
        margin: 2px 0 !important;
    }
    
    
    html body #stage3-memory-hub .s3-instruction {
        padding: 2px 0 !important;
        margin-bottom: 2px !important;
        font-size: 0.85em !important;
    }
    
    
    html body #stage3-memory-hub .s3-audio-card {
        padding: 8px !important;
        margin: 2px auto !important;
    }
    
    
    html body #stage3-memory-hub .s3-actions {
        padding: 4px 0 2px !important;
        margin-top: 2px !important;
        gap: 4px !important;
    }
    
    
    html body #stage3-memory-hub .s3-footer {
        padding: 2px 0 !important;
        margin-top: 0 !important;
    }
    html body #stage3-memory-hub .s3-footer-hint {
        font-size: 0.65em !important;
        line-height: 1.1 !important;
    }
    
    
    html body .stage3-memory-hub {
        padding: 4px !important;
    }
}







html body .cinema-mode-4 .cinema-row-en {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    visibility: visible !important;
    min-height: 1.5em !important;
    position: relative !important;
}


html body .cinema-mode-4 .cinema-row-en .word-pair {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    vertical-align: top !important;
    margin: 2px 3px !important;
}


html body .cinema-mode-4 .cinema-row-en .wp-cn,
html body .cinema-mode-4 .cinema-row-en .wp-grammar,
html body .cinema-mode-4 .cinema-row-en .wp-en-kept,
html body .cinema-mode-4 .cinema-row-en .wp-phrase-cn {
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 1px !important;
    display: block !important;
    font-size: 0.75em !important;
    line-height: 1.3 !important;
    color: #ccc !important;
}


html body .cinema-mode-4 .cinema-row-en .wp-en {
    visibility: visible !important;
    color: transparent !important;
    transition: color 0.2s ease !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    order: -1 !important;
}

@media screen and (max-width: 768px) {
    html body .cinema-mode-4 .word-pair:hover .wp-en,
    html body .cinema-mode-4 .cinema-sub-block:hover .wp-en {
        color: transparent !important;
    }
    html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .wp-en {
        visibility: visible !important;
        color: #e8e8e8 !important;
    }
    
    html body .cinema-mode-4 .cinema-row-en {
        margin-bottom: 4px !important;
        line-height: 1.6 !important;
    }
    html body .cinema-mode-4 .cinema-row-en .word-pair {
        margin-bottom: 2px !important;
    }
    
    html body .cinema-mode-4 .cinema-row-en::after {
        content: none !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        color: rgba(255,255,255,0.4) !important;
        font-size: 0.8em !important;
        pointer-events: none !important;
        white-space: nowrap !important;
    }
    html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en::after {
        display: none !important;
    }
}


@media screen and (max-width: 768px) {
    
    body.stage3-memory-hub-active {
        overflow: hidden !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    
    body.stage3-memory-hub-active .dj-fixed-top,
    body.stage3-memory-hub-active .dj-header,
    body.stage3-memory-hub-active #header,
    body.stage3-memory-hub-active header,
    body.stage3-memory-hub-active .brand-bar,
    body.stage3-memory-hub-active .top-bar {
        display: none !important;
    }

    
    body.stage3-memory-hub-active .dj-center-stage,
    body.stage3-memory-hub-active .dj-main,
    body.stage3-memory-hub-active #main-content,
    body.stage3-memory-hub-active main {
        margin: 0 !important;
        padding: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
    }
    
    body.stage3-memory-hub-active .main-content {
        padding-top: 0 !important;
    }

    
    body.stage3-memory-hub-active .study-step {
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    
    body.stage3-memory-hub-active #stage3-memory-hub {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        height: 100dvh !important;
        
        padding: 4px 8px calc(58px + env(safe-area-inset-bottom, 0px)) !important;
        margin: 0 !important;
        gap: 2px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    
    body.stage3-memory-hub-active #stage3-memory-hub .s3-header {
        padding: 2px 0 !important;
        margin: 0 !important;
        gap: 2px !important;
        flex-shrink: 0 !important;
        font-size: 0.85em !important;
    }
    body.stage3-memory-hub-active #stage3-memory-hub .s3-header h3 {
        font-size: 0.9em !important;
        margin: 0 !important;
    }

    
    body.stage3-memory-hub-active #stage3-memory-hub .s3-progress-bar {
        height: 3px !important;
        margin: 1px 0 !important;
        flex-shrink: 0 !important;
    }

    
    body.stage3-memory-hub-active #stage3-memory-hub .s3-instruction {
        padding: 1px 0 !important;
        margin: 0 !important;
        font-size: 0.8em !important;
        line-height: 1.2 !important;
        flex-shrink: 0 !important;
    }

    
    body.stage3-memory-hub-active #stage3-memory-hub .s3-card-area {
        flex: 1 !important;
        min-height: 0 !important;
        padding: 4px !important;
        margin: 2px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: auto !important;
    }

    
    body.stage3-memory-hub-active #stage3-memory-hub .s3-audio-card {
        padding: 6px !important;
        margin: 2px auto !important;
        max-width: 95% !important;
    }

    
    body.stage3-memory-hub-active #stage3-memory-hub .s3-word-meaning {
        max-height: 25vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    
    body.stage3-memory-hub-active #stage3-memory-hub .s3-actions {
        padding: 4px 8px !important;
        margin: 0 !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }
    body.stage3-memory-hub-active #stage3-memory-hub .s3-actions button {
        padding: 8px 12px !important;
        font-size: 0.85em !important;
        min-height: 36px !important;
    }

    
    body.stage3-memory-hub-active #stage3-memory-hub .s3-footer {
        padding: 1px 0 !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    body.stage3-memory-hub-active #stage3-memory-hub .s3-footer-hint {
        font-size: 0.6em !important;
        line-height: 1.1 !important;
    }

    
    body.stage3-memory-hub-active .bottom-progress,
    body.stage3-memory-hub-active #bottom-progress,
    body.stage3-memory-hub-active .progress-bar-bottom {
        display: none !important;
    }

    
    body.stage3-memory-hub-active .sidebar {
        display: none !important;
    }
}








@media (max-width: 768px) {
  
  html body.stage3-memory-hub-active #stage3-memory-hub {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding: 8px 12px 0 12px !important;
    overflow: hidden !important;
    gap: 0 !important;
  }

  
  html body.stage3-memory-hub-active #stage3-memory-hub .s3-step-indicator {
    flex-shrink: 0 !important;
    padding: 6px 8px !important;
    margin: 0 0 4px 0 !important;
    font-size: 0.8em !important;
  }

  
  html body.stage3-memory-hub-active #stage3-memory-hub .s3-progress-bar {
    flex-shrink: 0 !important;
    height: 3px !important;
    margin: 0 0 4px 0 !important;
  }

  
  html body.stage3-memory-hub-active #stage3-memory-hub .s3-card-area {
    flex: 1 1 0% !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 8px !important;
    padding-top: 4px !important;
    margin: 0 !important;
    min-height: 0 !important;
  }

  
  html body.stage3-memory-hub-active .s3-card-area .s3-hint {
    font-size: 0.85em !important;
    margin: 4px 0 !important;
  }

  
  html body.stage3-memory-hub-active .s3-card-area .s3-audio-card {
    padding: 12px !important;
    margin: 4px 0 !important;
    width: 100% !important;
    max-width: 320px !important;
  }

  
  html body.stage3-memory-hub-active .s3-card-area .s3-word-card {
    padding: 10px !important;
    margin: 4px 0 !important;
    width: 100% !important;
    max-width: 320px !important;
  }

  
  html body.stage3-memory-hub-active .s3-word-meaning {
    max-height: 80px !important;
    overflow-y: auto !important;
    font-size: 0.85em !important;
  }

  
  html body.stage3-memory-hub-active #stage3-memory-hub .s3-actions {
    flex-shrink: 0 !important;
    position: fixed !important;
    bottom: 36px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 8px max(16px, calc((100vw - 500px) / 2)) !important;  
    max-width: none !important;   
    margin: 0 !important;
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 1000 !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.3) !important;
  }

  
  html body.stage3-memory-hub-active .s3-actions button {
    padding: 10px 14px !important;
    font-size: 0.85em !important;
    min-height: 40px !important;
    border-radius: 8px !important;
    flex: 1 !important;
    max-width: 120px !important;
  }

  
  html body.stage3-memory-hub-active #stage3-memory-hub .s3-footer {
    flex-shrink: 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 6px 8px !important;
    margin: 0 !important;
    font-size: 0.72em !important;
    text-align: center !important;
    background: rgba(26, 26, 46, 0.98) !important;
    z-index: 1000 !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  
  html body.stage3-memory-hub-active #stage3-memory-hub .s3-card-area {
    padding-bottom: 100px !important;
  }

  
  html body.stage3-memory-hub-active .v98-progress-bar {
    display: none !important;
  }

  
  html body.stage3-memory-hub-active #stage-controller {
    display: none !important;
  }
}







.cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en,
.cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en {
    filter: blur(6px) !important;
    -webkit-filter: blur(6px) !important;
    color: rgba(200,200,200,0.25) !important;
    -webkit-text-fill-color: rgba(200,200,200,0.25) !important;
    opacity: 1 !important;
    visibility: visible !important;

    -webkit-background-clip: initial !important;

    transition: filter 0.2s ease, color 0.2s ease !important;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
.cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    filter: blur(0) !important;
    -webkit-filter: blur(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: filter 0.2s ease, color 0.2s ease !important;
}


@media screen and (max-width: 768px) {
    .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .word-pair:hover .wp-en,
    .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block:hover .wp-en,
    .cinema-subtitle-area.cinema-mode-4 .word-pair:hover .wp-en,
    .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block:hover .wp-en {
        filter: blur(6px) !important;
        -webkit-filter: blur(6px) !important;
        color: rgba(200,200,200,0.25) !important;
        -webkit-text-fill-color: rgba(200,200,200,0.25) !important;
    }
    .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .wp-en,
    .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .wp-en {
        filter: blur(0) !important;
        -webkit-filter: blur(0) !important;
        visibility: visible !important;
        color: #e8e8e8 !important;
        -webkit-text-fill-color: #e8e8e8 !important;
        text-shadow: none !important;
    }
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
.cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
.cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-phrase-cn,
.cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
.cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
.cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-phrase-cn {
    visibility: visible !important;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept,
.cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept {
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-trans-wrapper {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
}
.cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-trans-wrapper.cinema-blurred {
    filter: none !important;
}






html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    visibility: visible !important;
    min-height: 1.5em !important;
    position: relative !important;
    cursor: pointer !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    vertical-align: top !important;
    margin: 2px 3px !important;
    gap: 1px !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en {
    filter: blur(6px) !important;
    -webkit-filter: blur(6px) !important;
    color: rgba(200,200,200,0.25) !important;
    -webkit-text-fill-color: rgba(200,200,200,0.25) !important;
    opacity: 1 !important;
    visibility: visible !important;

    -webkit-background-clip: initial !important;

    display: block !important;
    width: auto !important;
    text-align: center !important;
    order: -1 !important;
    font-size: 1em !important;
    line-height: 1.45 !important;
    transition: filter 0.2s ease !important;
    height: auto !important;
    overflow: visible !important;
}



html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    filter: blur(0) !important;
    -webkit-filter: blur(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: filter 0.2s ease, color 0.2s ease !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-phrase-cn,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-phrase-cn,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-phrase-cn {
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
    font-size: 0.72em !important;
    line-height: 1.3 !important;
    color: #ccc !important;
    -webkit-text-fill-color: #ccc !important;
    text-shadow: none !important;
    margin: 0 !important;
    padding: 0 1px !important;
    order: 1 !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept {
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn,
html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-placeholder,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-placeholder,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-placeholder {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    visibility: visible !important;
    color: #e8e8e8 !important;
    -webkit-text-fill-color: #e8e8e8 !important;
    text-shadow: none !important;
}


@media screen and (min-width: 769px) {
    html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en,
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
        visibility: visible !important;
        color: #e8e8e8 !important;
        -webkit-text-fill-color: #e8e8e8 !important;
        text-shadow: none !important;
    }
}


@media screen and (max-width: 768px) {
    html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .word-pair:hover .wp-en,
    html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block:hover .wp-en,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .word-pair:hover .wp-en,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block:hover .wp-en,
    html body .cinema-subtitle-area.cinema-mode-4 .word-pair:hover .wp-en,
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block:hover .wp-en {
        color: transparent !important;
        -webkit-text-fill-color: transparent !important;
        text-shadow: none !important;
    }
    
    html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .wp-en,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .wp-en,
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .wp-en {
        visibility: visible !important;
        color: #e8e8e8 !important;
        -webkit-text-fill-color: #e8e8e8 !important;
        text-shadow: none !important;
    }
    
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after {
        content: none !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        color: rgba(255,255,255,0.35) !important;
        font-size: 0.75em !important;
        pointer-events: none !important;
        white-space: nowrap !important;
    }
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en::after {
        display: none !important;
    }
    
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair {
        margin: 1px 2px !important;
    }
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en {
        font-size: 0.9em !important;
    }
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn {
        font-size: 0.65em !important;
    }
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-trans-wrapper,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-trans-wrapper,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-trans-wrapper {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    filter: none !important;
    opacity: 1 !important;
}
html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-trans-wrapper.cinema-blurred,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-trans-wrapper.cinema-blurred,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-trans-wrapper.cinema-blurred {
    filter: none !important;
    opacity: 1 !important;
}


html body .cinema-subtitle-area.cinema-mode-4 .cinema-mobile-trans-toggle {
    display: none !important;
}






.cinema-en-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 8px auto 4px auto;
    padding: 8px 20px;
    background: rgba(100, 149, 237, 0.25);
    border: 1px solid rgba(100, 149, 237, 0.5);
    border-radius: 20px;
    color: #e0e0e0;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s, transform 0.15s;
    max-width: 200px;
}

.cinema-en-toggle-btn:hover {
    background: rgba(100, 149, 237, 0.4);
}
.cinema-en-toggle-btn:active {
    transform: scale(0.95);
    background: rgba(100, 149, 237, 0.5);
}

.cinema-en-toggle-icon {
    font-size: 16px;
    line-height: 1;
}

.cinema-subtitle-area:not(.cinema-mode-4):not(.cinema-mode-2) .cinema-en-toggle-btn {
    display: none !important;
}

html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-tap-hint {
    display: none !important;
}





html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    visibility: visible !important;
    color: #e8e8e8 !important;
    -webkit-text-fill-color: #e8e8e8 !important;
    text-shadow: none !important;
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    order: -1 !important;
    font-size: 1em !important;
    line-height: 1.45 !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    vertical-align: top !important;
    margin: 2px 3px !important;
    gap: 2px !important;
    position: relative !important;
    overflow: visible !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    display: block !important;
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    order: 1 !important;
    font-size: 0.72em !important;
    line-height: 1.3 !important;
    color: #ccc !important;
    -webkit-text-fill-color: #ccc !important;
    margin: 0 !important;
    padding: 0 1px !important;
}


html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after,
html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after {
    content: none !important;
    display: none !important;
}


@media screen and (max-width: 768px) {
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
        font-size: 0.9em !important;
    }
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
        font-size: 0.65em !important;
    }
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair {
        margin: 1px 2px !important;
        gap: 1px !important;
    }
    
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after {
        content: none !important;
        display: none !important;
    }
}






html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    height: auto !important;
    overflow: visible !important;
    min-height: auto !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair {
    display: inline-block !important;
    vertical-align: top !important;
    text-align: center !important;
    margin: 2px 3px !important;
    padding: 1px 2px !important;
    position: relative !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: normal !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-en,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-en,
html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .word-pair .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .word-pair .wp-en {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    color: #e8e8e8 !important;
    -webkit-text-fill-color: #e8e8e8 !important;
    text-shadow: none !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 1em !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}


html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-cn,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-cn,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-cn,
html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .word-pair .wp-cn,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .word-pair .wp-cn {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    color: #ccc !important;
    -webkit-text-fill-color: #ccc !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.72em !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 1px !important;
    float: none !important;
    clear: both !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}


html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-grammar,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-phrase-cn {
    display: block !important;
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.65em !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    float: none !important;
    clear: both !important;
}


html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after,
html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after {
    content: none !important;
    display: none !important;
}


@media screen and (max-width: 768px) {
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-en {
        font-size: 0.9em !important;
    }
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-cn {
        font-size: 0.65em !important;
    }
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair {
        margin: 1px 2px !important;
    }
    html body .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after {
        content: none !important;
        display: none !important;
    }
}







.stage-5-recite .cinema-mode-4 .word-pair .wp-en,
.stage-6-recite .cinema-mode-4 .word-pair .wp-en,
.stage-7-recite .cinema-mode-4 .word-pair .wp-en {
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    color: transparent !important;
    display: block !important;
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
}


.stage-5-recite .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .word-pair .wp-en,
.stage-6-recite .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .word-pair .wp-en,
.stage-7-recite .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .word-pair .wp-en {
    color: #e0e0e0 !important;
    opacity: 1 !important;
}


.stage-5-recite .cinema-mode-4 .word-pair,
.stage-6-recite .cinema-mode-4 .word-pair,
.stage-7-recite .cinema-mode-4 .word-pair {
    display: inline-block !important;
    flex-direction: unset !important;
    align-items: unset !important;
    vertical-align: top !important;
    margin: 2px 4px !important;
    text-align: center !important;
}


.stage-5-recite .cinema-mode-4 .word-pair .wp-cn,
.stage-6-recite .cinema-mode-4 .word-pair .wp-cn,
.stage-7-recite .cinema-mode-4 .word-pair .wp-cn {
    display: block !important;
    font-size: 0.85rem !important;
    color: #aaa !important;
    line-height: 1.3 !important;
    opacity: 1 !important;
}


.stage-5-recite .cinema-mode-4 .cinema-row-en,
.stage-6-recite .cinema-mode-4 .cinema-row-en,
.stage-7-recite .cinema-mode-4 .cinema-row-en {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    gap: 0 !important;
}


.stage-5-recite .cinema-mode-4 .cinema-sub-block,
.stage-6-recite .cinema-mode-4 .cinema-sub-block,
.stage-7-recite .cinema-mode-4 .cinema-sub-block {
    display: block !important;
}


.stage-5-recite .cinema-mode-4 .cinema-row-en .word-pair,
.stage-6-recite .cinema-mode-4 .cinema-row-en .word-pair,
.stage-7-recite .cinema-mode-4 .cinema-row-en .word-pair {
    flex-direction: unset !important;
    flex: none !important;
}


@media (max-width: 768px) {
    .stage-5-recite .cinema-mode-4 .word-pair,
    .stage-6-recite .cinema-mode-4 .word-pair,
    .stage-7-recite .cinema-mode-4 .word-pair {
        margin: 1px 2px !important;
    }
    .stage-5-recite .cinema-mode-4 .word-pair .wp-en,
    .stage-6-recite .cinema-mode-4 .word-pair .wp-en,
    .stage-7-recite .cinema-mode-4 .word-pair .wp-en {
        font-size: 1rem !important;
    }
    .stage-5-recite .cinema-mode-4 .word-pair .wp-cn,
    .stage-6-recite .cinema-mode-4 .word-pair .wp-cn,
    .stage-7-recite .cinema-mode-4 .word-pair .wp-cn {
        font-size: 0.75rem !important;
    }
}





.v98-auto-cruise .cinema-playmode-btn,
.v98-auto-cruise .cinema-mode-btn,
.v98-auto-cruise .cinema-mute-btn,
.v98-auto-cruise .cinema-ctrl-divider-mode,
.v98-auto-cruise .cinema-speed-indicator,
.v98-auto-cruise .cinema-speed,
.v98-auto-cruise .cinema-speed-compact,
.v98-auto-cruise .cinema-flow-btn,
.v98-auto-cruise .cinema-link-btn,
.v98-auto-cruise .cinema-loop-btn {
    display: none !important;
}


.v98-auto-cruise .cinema-ctrl-row-aux {
    justify-content: center !important;
    gap: 12px !important;
}


.cinema-ctrl-row-aux .cinema-en-toggle-btn {
    font-size: 0.85em !important;
    padding: 6px 10px !important;
    background: rgba(76,175,80,0.2) !important;
    border: 1px solid rgba(76,175,80,0.4) !important;
    border-radius: 8px !important;
    color: #e0e0e0 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.cinema-ctrl-row-aux .cinema-en-toggle-btn:hover {
    background: rgba(76,175,80,0.4) !important;
}


@media (max-width: 768px) {
    .v98-auto-cruise .cinema-ctrl-row-aux {
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    .cinema-ctrl-row-aux .cinema-en-toggle-btn {
        font-size: 0.8em !important;
        padding: 5px 8px !important;
    }
}




.mode-badge {
    display: none;
}


@media (max-width: 768px) {
    .mode-badge {
        display: inline-flex !important;
        align-items: center;
        gap: 4px;
        font-size: 12px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 14px;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
        
        background: rgba(255,255,255,0.15);
        color: #fff;
        border: 1px solid rgba(255,255,255,0.25);
        user-select: none;
        -webkit-user-select: none;
    }
    .mode-badge:active {
        transform: scale(0.95);
        background: rgba(255,255,255,0.25);
    }
    
    .mode-badge.mode-deep {
        background: rgba(239,68,68,0.25);
        border-color: rgba(239,68,68,0.4);
    }
    .mode-badge.mode-quick {
        background: rgba(234,179,8,0.25);
        border-color: rgba(234,179,8,0.4);
    }
    .mode-badge.mode-cinema {
        background: rgba(99,102,241,0.3);
        border-color: rgba(99,102,241,0.5);
    }
    .mode-badge.mode-doc {
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.22);
    }
    
    body.v96-cinema-fullscreen .mode-badge {
        display: none !important;
    }
}








html body .cinema-embed.v96-fullscreen {
    display: flex !important;
    flex-direction: column !important;
}


html body .cinema-embed.v96-fullscreen .cinema-video-wrap {
    flex: 0 0 auto !important;
    max-height: 45vh !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
html body .cinema-embed.v96-fullscreen .cinema-video-wrap video {
    width: 100% !important;
    height: 100% !important;
    max-height: 45vh !important;
    min-height: 0 !important;
    object-fit: contain !important;
}


html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 90% !important;
    max-width: 800px !important;
    flex: 1 1 auto !important;
    min-height: 60px !important;
    max-height: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    padding: 12px 20px !important;
    z-index: 10 !important;
}


@media (min-width: 769px) {
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
        filter: blur(0) !important;
        -webkit-filter: blur(0) !important;
        color: #e8e8e8 !important;
        -webkit-text-fill-color: #e8e8e8 !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en {
        cursor: pointer !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after {
        content: "💡 hover 查看英文" !important;
        display: inline-flex !important;
        align-items: center !important;
        margin-left: 12px !important;
        font-size: 11px !important;
        color: rgba(255,255,255,0.3) !important;
        font-style: italic !important;
        pointer-events: none !important;
        white-space: nowrap !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover::after {
        display: none !important;
    }
}


html body .cinema-embed.v96-fullscreen .cinema-controls,
html body.v98-auto-cruise .cinema-controls,
html body.v98-auto-cruise .cinema-embed .cinema-controls,
html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex-shrink: 0 !important;
    z-index: 200 !important;
    background: rgba(10, 10, 30, 0.95) !important;
    padding: 8px 12px !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important;
}


html body.v98-auto-cruise .cinema-subtitle-area {
    padding-bottom: 8px !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
}


body.v96-cinema-mode:not(.v96-cinema-fullscreen) .cinema-video-wrap video {
    max-height: 50vh !important;
}


body.v96-cinema-fullscreen #stage-controller {
    right: 15px !important;
    left: auto !important;
    top: 15px !important;
}
body.v96-cinema-fullscreen #stage-mini-controls {
    right: 10px !important;
    left: auto !important;
    top: 10px !important;
}
body.v96-cinema-fullscreen #stage-selector-expanded {
    right: 10px !important;
    left: auto !important;
    top: 10px !important;
}


@media (orientation: portrait) {
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap {
        max-height: 35vh !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap video {
        max-height: 35vh !important;
    }
    html body .cinema-embed .cinema-video-wrap video {
        max-height: 35vh !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-controls {
        padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
    }
}


@media (orientation: landscape) and (min-width: 769px) {
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap {
        max-height: 50vh !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap video {
        max-height: 50vh !important;
    }
    html body .cinema-embed .cinema-video-wrap video {
        max-height: 55vh !important;
    }
}


html body.v96-stage-locked .cinema-embed.v96-fullscreen {
    padding-bottom: 36px !important;  
}





@media (min-width: 769px) {
    
    html body .cinema-embed.v96-fullscreen {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        z-index: 9999 !important;
        background: #000 !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 9999 !important;
        background: #000 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
        flex: none !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap video {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
        object-fit: contain !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        position: absolute !important;
        bottom: 100px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 85% !important;
        max-width: 900px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        outline: none !important;
        z-index: 50 !important;
        padding: 8px 16px !important;
        margin: 0 !important;
        max-height: 40vh !important;
        overflow-y: auto !important;
        flex: none !important;
        right: auto !important;
        pointer-events: auto !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block {

        border-radius: 6px !important;
        padding: 6px 14px !important;
        margin-bottom: 4px !important;
        backdrop-filter: blur(2px) !important;
        -webkit-backdrop-filter: blur(2px) !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en {
        text-shadow: 0 1px 4px rgba(0,0,0,0.8) !important;
    }

    

    
    html body .cinema-embed.v96-fullscreen .cinema-controls {
        position: absolute !important;
        bottom: 36px !important;
        left: 0 !important;
        right: 0 !important;
        background: transparent !important;
        border-top: none !important;
        z-index: 60 !important;
        padding: 6px 12px !important;
        opacity: 0.5 !important;
        transition: opacity 0.3s ease !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-controls:hover {
        opacity: 1 !important;
    }

    
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls,
    html body.v98-auto-cruise .cinema-controls {
        position: absolute !important;
        bottom: 36px !important;
        left: 0 !important;
        right: 0 !important;
        background: transparent !important;
        border-top: none !important;
        opacity: 0.5 !important;
        transition: opacity 0.3s ease !important;
    }
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls:hover,
    html body.v98-auto-cruise .cinema-controls:hover {
        opacity: 1 !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4::before {
        position: absolute !important;
        top: -20px !important;
        right: 0 !important;
        display: block !important;
        padding: 2px 8px !important;
    }
}



html body .v98-progress-bar,
html body .cinema-bottom-bar,
html body [class*="cruise-bar"],
html body [class*="stage-bar"] {
    background: rgba(10, 10, 30, 0.95) !important;
    z-index: 100 !important;
}


@media (min-width: 769px) {
    body.v96-cinema-mode:not(.v96-cinema-fullscreen) .cinema-video-wrap video {
        max-height: 60vh !important;
    }
}


@media (min-width: 769px) {
    body.v96-cinema-fullscreen #stage-controller {
        z-index: 200 !important;
    }
    body.v96-cinema-fullscreen #stage-mini-controls {
        z-index: 200 !important;
    }
    body.v96-cinema-fullscreen #stage-selector-expanded {
        z-index: 200 !important;
    }
}








html body .cinema-mode-4 .cinema-row-en .wp-en {
    visibility: visible !important;
    display: inline !important;
    opacity: 1 !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    filter: blur(5px) !important;
    -webkit-filter: blur(5px) !important;
    transition: filter 0.2s ease !important;
    height: auto !important;
    overflow: visible !important;
}


html body .cinema-mode-4 .cinema-row-en .wp-cn,
html body .cinema-mode-4 .cinema-row-en .wp-grammar,
html body .cinema-mode-4 .cinema-row-en .wp-en-kept,
html body .cinema-mode-4 .cinema-row-en .wp-phrase-cn {
    visibility: visible !important;
    display: inline !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
}




html body .cinema-mode-4 .cinema-row-en .wp-punct-cn,
html body .cinema-mode-4 .cinema-row-en .wp-punct-placeholder {
    color: inherit !important;
    visibility: visible !important;
}


@media (min-width: 769px) {
    html body .cinema-mode-4 .cinema-row-en:hover .wp-en {
        filter: blur(0) !important;
        -webkit-filter: blur(0) !important;
        color: #e8e8e8 !important;
        -webkit-text-fill-color: #e8e8e8 !important;
    }
    
    html body .cinema-mode-4 .cinema-tap-hint {
        display: none !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4::before {
        content: "💡 hover 查看英文" !important;
        display: block !important;
        text-align: right !important;
        font-size: 11px !important;
        color: rgba(255,255,255,0.3) !important;
        font-style: italic !important;
        padding: 2px 8px 4px !important;
        pointer-events: none !important;
    }
    
    html body .cinema-en-toggle-btn {
        display: none !important;
    }
}


@media (max-width: 768px) {
    
    html body .cinema-mode-4 .cinema-row-en .wp-en {
        filter: blur(5px) !important;
        -webkit-filter: blur(5px) !important;
    }
    
    html body .cinema-mode-4 .cinema-row-en:hover .wp-en {
        filter: blur(5px) !important;
        -webkit-filter: blur(5px) !important;
    }
    
    html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
        filter: blur(0) !important;
        -webkit-filter: blur(0) !important;
        color: #e8e8e8 !important;
        -webkit-text-fill-color: #e8e8e8 !important;
    }
    
    html body .cinema-en-toggle-btn {
        display: inline-flex !important;
    }
    
    html body .cinema-mode-4 .cinema-tap-hint {
        display: block !important;
    }
}



html body.subtitle-theme-a .cinema-mode-4 .cinema-row-en:hover .wp-en,
html body.subtitle-theme-a .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #00F0FF !important;
    -webkit-text-fill-color: #00F0FF !important;
    text-shadow: 0 0 8px rgba(103,232,249,0.4) !important;
    filter: blur(0) !important;
    -webkit-filter: blur(0) !important;
}

html body.subtitle-theme-b .cinema-mode-4 .cinema-row-en:hover .wp-en,
html body.subtitle-theme-b .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;
    text-shadow: 0 0 8px rgba(244,114,182,0.4) !important;
    filter: blur(0) !important;
    -webkit-filter: blur(0) !important;
}

html body.subtitle-theme-c .cinema-mode-4 .cinema-row-en:hover .wp-en,
html body.subtitle-theme-c .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #FFE05A !important;
    -webkit-text-fill-color: #FFE05A !important;
    text-shadow: 0 0 8px rgba(252,211,77,0.4) !important;
    filter: blur(0) !important;
    -webkit-filter: blur(0) !important;
}


html body .cinema-mode-4 .cinema-mobile-trans-toggle {
    display: none !important;
}









@media (min-width: 769px) {
    
    html body .cinema-embed.v96-fullscreen {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 9999 !important;
        background: #000 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
        flex: none !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap video {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
        object-fit: contain !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        position: absolute !important;
        bottom: 100px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 85% !important;
        max-width: 900px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        outline: none !important;
        z-index: 50 !important;
        padding: 8px 16px !important;
        margin: 0 !important;
        max-height: 40vh !important;
        overflow-y: auto !important;
        flex: none !important;
        right: auto !important;
        pointer-events: auto !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block {

        border-radius: 6px !important;
        padding: 6px 14px !important;
        margin-bottom: 4px !important;
        backdrop-filter: blur(2px) !important;
        -webkit-backdrop-filter: blur(2px) !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en {
        text-shadow: 0 1px 4px rgba(0,0,0,0.8) !important;
    }

    

    
    html body .cinema-embed.v96-fullscreen .cinema-controls {
        position: absolute !important;
        bottom: 36px !important;
        left: 0 !important;
        right: 0 !important;
        background: transparent !important;
        border-top: none !important;
        z-index: 60 !important;
        padding: 6px 12px !important;
        opacity: 0.5 !important;
        transition: opacity 0.3s ease !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-controls:hover {
        opacity: 1 !important;
    }

    
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls,
    html body.v98-auto-cruise .cinema-controls {
        position: absolute !important;
        bottom: 36px !important;
        left: 0 !important;
        right: 0 !important;
        background: transparent !important;
        border-top: none !important;
        opacity: 0.5 !important;
        transition: opacity 0.3s ease !important;
    }
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls:hover,
    html body.v98-auto-cruise .cinema-controls:hover {
        opacity: 1 !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4::before {
        position: absolute !important;
        top: -20px !important;
        right: 0 !important;
        display: block !important;
        padding: 2px 8px !important;
    }
}



html body .v98-progress-bar,
html body .cinema-bottom-bar,
html body [class*="cruise-bar"],
html body [class*="stage-bar"] {
    background: rgba(10, 10, 30, 0.95) !important;
    z-index: 100 !important;
}


@media (min-width: 769px) {
    body.v96-cinema-mode:not(.v96-cinema-fullscreen) .cinema-video-wrap video {
        max-height: 60vh !important;
    }
}


@media (min-width: 769px) {
    body.v96-cinema-fullscreen #stage-controller {
        z-index: 200 !important;
    }
    body.v96-cinema-fullscreen #stage-mini-controls {
        z-index: 200 !important;
    }
    body.v96-cinema-fullscreen #stage-selector-expanded {
        z-index: 200 !important;
    }
}





@media (min-width: 769px) {
    
    html body .cinema-embed.v96-fullscreen .cinema-video-wrap {
        z-index: 1 !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        z-index: 50 !important;
        position: absolute !important;
        bottom: 100px !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-controls {
        z-index: 60 !important;
        position: absolute !important;
        bottom: 36px !important;
    }

    
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls {
        z-index: 60 !important;
        position: absolute !important;
        bottom: 36px !important;
        background: transparent !important;
        border-top: none !important;
    }
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        z-index: 50 !important;
        position: absolute !important;
    }
}




body:not(.v96-cinema-mode):not(.v96-cinema-fullscreen) .cinema-embed {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}


.study-main,
.study-content,
#study-content {
    padding-top: 0 !important;
}


.study-header {
    margin-top: 0 !important;
    padding-top: 8px !important;
}







@media (min-width: 769px) {
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        bottom: 80px !important;
        padding: 4px 12px !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 2px 0 !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en .wp-en,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en .wp-cn,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en .wp-grammar,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en .wp-en-kept {
        text-shadow: 0 1px 6px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.7) !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-trans-wrapper,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-cn {
        text-shadow: 0 1px 6px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.7) !important;
    }
}


@media (min-width: 769px) {
    
    html body .cinema-embed.v96-fullscreen .cinema-controls {
        display: flex !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 4px 12px !important;
        bottom: 36px !important;
        background: transparent !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row,
    html body .cinema-embed.v96-fullscreen .cinema-controls > div {
        display: contents !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-btn {
        padding: 4px 8px !important;
        font-size: 0.9em !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-progress {
        display: flex !important;
        flex: 1 !important;
        min-width: 100px !important;
        height: 6px !important;
        order: 50 !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-time {
        display: inline-flex !important;
        white-space: nowrap !important;
        font-size: 12px !important;
    }
    
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls {
        display: flex !important;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        background: transparent !important;
    }
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row,
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls > div {
        display: contents !important;
    }
}






html body .cinema-mode-4 .cinema-row-en .wp-en {
    visibility: visible !important;
    display: inline !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    height: auto !important;
    overflow: visible !important;
}


html body .cinema-mode-4 .cinema-row-en {
    position: relative !important;
}
html body .cinema-mode-4 .cinema-row-en::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 15, 35, 0.92) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
    border-radius: 4px !important;
}


@media (min-width: 769px) {
    html body .cinema-mode-4 .cinema-row-en:hover::after {
        opacity: 0 !important;
    }
    
    html body .cinema-mode-4 .cinema-row-en:hover .wp-en {
        filter: none !important;
        -webkit-filter: none !important;
    }
}


html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en::after {
    opacity: 0 !important;
}




html body .cinema-mode-4 .cinema-row-en .wp-cn,
html body .cinema-mode-4 .cinema-row-en .wp-grammar,
html body .cinema-mode-4 .cinema-row-en .wp-phrase-cn {
    position: relative !important;
    z-index: 2 !important;
}


html body .cinema-mode-4 .cinema-row-en .wp-en {
    position: relative !important;
    z-index: 0 !important;
}



.study-main,
.study-content,
#study-content,
.block-study-area {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: calc(100vh - 40px) !important;
}


.recite-card-wrapper,
.recite-content,
.block-content {
    margin-top: auto !important;
}


.study-header,
.recite-header {
    flex-shrink: 1 !important;
    margin-top: 0 !important;
    padding-top: 4px !important;
}







@media (min-width: 769px) {
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area,
    html body .cinema-embed .cinema-subtitle-area {
        background: transparent !important;

        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    
    html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area,
    html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area,
    html body.subtitle-theme-a .cinema-subtitle-area {
        background: transparent !important;

        border: none !important;
        box-shadow: none !important;
    }
    html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area,
    html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area,
    html body.subtitle-theme-b .cinema-subtitle-area {
        background: transparent !important;

        border: none !important;
        box-shadow: none !important;
    }
    html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area,
    html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area,
    html body.subtitle-theme-c .cinema-subtitle-area {
        background: transparent !important;

        border: none !important;
        box-shadow: none !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block,
    html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block,
    html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block,
    html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block {
        background: transparent !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
    }
}



#stage3-memory-hub,
.stage3-memory-hub {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: calc(100vh - 40px) !important;
    padding-top: 0 !important;
}


#stage3-memory-hub > *:first-child {
    margin-top: auto !important;
}


.s3-header {
    padding-top: 8px !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}


.s3-actions,
.s3-btn-group {
    flex-shrink: 0 !important;
    margin-bottom: 10px !important;
}

body.stage3-memory-hub-active #stage3-memory-hub .s3-complete {
    flex-shrink: 0 !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
    min-height: 0 !important;
    padding: 20px 16px !important;
}


.s3-hint {
    flex-shrink: 0 !important;
}




@media (min-width: 769px) {
    html body .cinema-mode-4 .cinema-row-en:hover .wp-en {
        
        filter: none !important;
        -webkit-filter: none !important;
    }
}

html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    filter: none !important;
    -webkit-filter: none !important;
    
}


@media (min-width: 769px) {
    
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-btn {
        background: rgba(0, 0, 0, 0.65) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 6px !important;
        color: #fff !important;
        padding: 5px 10px !important;
        font-size: 0.85em !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        transition: background 0.2s, border-color 0.2s !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-btn:hover {
        background: rgba(0, 0, 0, 0.85) !important;
        border-color: rgba(255, 255, 255, 0.35) !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-controls {
        background: transparent !important;
    }
    
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls .cinema-btn {
        background: rgba(0, 0, 0, 0.65) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 6px !important;
    }
}








html body .cinema-subtitle-area .wp-en,
html body .cinema-embed .cinema-subtitle-area .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en,
html body.subtitle-theme-a .cinema-subtitle-area .wp-en,
html body.subtitle-theme-b .cinema-subtitle-area .wp-en,
html body.subtitle-theme-c .cinema-subtitle-area .wp-en {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;


    -webkit-background-clip: unset !important;

    text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.5) !important;
    filter: none !important;
    -webkit-filter: none !important;
}


html body .cinema-subtitle-area .wp-cn,
html body .cinema-embed .cinema-subtitle-area .wp-cn,
html body.subtitle-theme-a .cinema-subtitle-area .wp-cn,
html body.subtitle-theme-b .cinema-subtitle-area .wp-cn,
html body.subtitle-theme-c .cinema-subtitle-area .wp-cn {
    color: #9CA3AF !important;
    -webkit-text-fill-color: #9CA3AF !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
}


html body .cinema-subtitle-area .wp-grammar,
html body.subtitle-theme-a .cinema-subtitle-area .wp-grammar,
html body.subtitle-theme-b .cinema-subtitle-area .wp-grammar,
html body.subtitle-theme-c .cinema-subtitle-area .wp-grammar {
    color: #D1D5DB !important;
    -webkit-text-fill-color: #D1D5DB !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
}


html body .cinema-subtitle-area .cinema-trans-wrapper,
html body .cinema-subtitle-area .cinema-row-cn,
html body.subtitle-theme-a .cinema-subtitle-area .cinema-trans-wrapper,
html body.subtitle-theme-b .cinema-subtitle-area .cinema-trans-wrapper,
html body.subtitle-theme-c .cinema-subtitle-area .cinema-trans-wrapper {
    color: #FDE68A !important;
    -webkit-text-fill-color: #FDE68A !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
    filter: none !important;
}


html body .cinema-subtitle-area .wp-en-kept,
html body.subtitle-theme-a .cinema-subtitle-area .wp-en-kept,
html body.subtitle-theme-b .cinema-subtitle-area .wp-en-kept,
html body.subtitle-theme-c .cinema-subtitle-area .wp-en-kept {
    color: #E5E7EB !important;
    -webkit-text-fill-color: #E5E7EB !important;
    font-style: italic !important;
}


.cinema-theme-btn {
    display: none !important;
}



html body .cinema-mode-4 .cinema-row-en .wp-en {
    visibility: visible !important;
    display: inline !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    transition: color 0.15s ease !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
    z-index: auto !important;
}


html body .cinema-mode-4 .cinema-row-en::after {
    content: none !important;
    display: none !important;
}


html body .cinema-mode-4 .cinema-row-en .wp-cn,
html body .cinema-mode-4 .cinema-row-en .wp-grammar,
html body .cinema-mode-4 .cinema-row-en .wp-en-kept,
html body .cinema-mode-4 .cinema-row-en .wp-phrase-cn {
    visibility: visible !important;
    display: inline !important;
    opacity: 1 !important;
    height: auto !important;
    position: relative !important;
    z-index: auto !important;
}


@media (min-width: 769px) {
    html body .cinema-mode-4 .cinema-row-en:hover .wp-en {
    
    
    }
    html body .cinema-mode-4 .cinema-row-en {
        cursor: pointer !important;
    }
}


html body .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    
    
}


html body .cinema-mode-4 .cinema-trans-wrapper {
    visibility: visible !important;
    filter: none !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: auto !important;
}


@media (min-width: 769px) {
    
    html body .cinema-embed.v96-fullscreen .cinema-controls {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 4px 12px !important;
        position: absolute !important;
        bottom: 36px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.7) !important;
        border-top: none !important;
        z-index: 60 !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 100% !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row:last-child,
    html body .cinema-embed.v96-fullscreen .cinema-controls > div:last-child {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-progress {
        display: flex !important;
        flex: 1 !important;
        height: 6px !important;
    }

    
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-btn {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 5px !important;
        color: #fff !important;
        padding: 4px 8px !important;
        font-size: 0.85em !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-btn:hover {
        background: rgba(255, 255, 255, 0.25) !important;
    }

    
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls {
        display: flex !important;
        flex-wrap: wrap !important;
        position: absolute !important;
        bottom: 36px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0, 0, 0, 0.7) !important;
        z-index: 60 !important;
    }
}


@media (min-width: 769px) {
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4::before {
        content: none !important;
        display: none !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::after {
        content: none !important;
        display: none !important;
    }
}









html body .cinema-subtitle-area .cinema-row-en,
html body .cinema-subtitle-area .cinema-trans-wrapper,
html body .cinema-subtitle-area .cinema-row-cn {
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 6px rgba(0,0,0,0.7) !important;
}


.cinema-theme-btn {
    display: inline-flex !important;
}




html body.subtitle-theme-a .cinema-subtitle-area .wp-en {
    
    
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(56,189,248,0.6) !important;

    -webkit-background-clip: unset !important;
    filter: none !important;
}
html body.subtitle-theme-a .cinema-subtitle-area .wp-cn {
    color: #22D3EE !important;
    -webkit-text-fill-color: #22D3EE !important;
    font-weight: 500 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 8px rgba(34,211,238,0.4) !important;
}
html body.subtitle-theme-a .cinema-subtitle-area .wp-grammar {
    color: #A78BFA !important;
    -webkit-text-fill-color: #A78BFA !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000 !important;
}
html body.subtitle-theme-a .cinema-subtitle-area .wp-en-kept {
    color: #BAE6FD !important;
    -webkit-text-fill-color: #BAE6FD !important;
}
html body.subtitle-theme-a .cinema-subtitle-area .cinema-trans-wrapper,
html body.subtitle-theme-a .cinema-subtitle-area .cinema-row-cn {
    color: rgba(196,181,253,0.65) !important;
    -webkit-text-fill-color: rgba(196,181,253,0.65) !important;
}
html body.subtitle-theme-a .cinema-subtitle-area .wp-punct-cn {
    color: #22D3EE !important;
    -webkit-text-fill-color: #22D3EE !important;
}

html body.subtitle-theme-a .cinema-mode-4 .cinema-row-en .wp-cn { color: #22D3EE !important; -webkit-text-fill-color: #22D3EE !important; font-weight: 500 !important; }
html body.subtitle-theme-a .cinema-mode-4 .cinema-row-en .wp-grammar { color: #A78BFA !important; -webkit-text-fill-color: #A78BFA !important; }
html body.subtitle-theme-a .cinema-mode-4 .cinema-row-en .wp-punct-cn { color: #22D3EE !important; -webkit-text-fill-color: #22D3EE !important; }
html body.subtitle-theme-a .cinema-mode-4 .cinema-trans-wrapper { color: rgba(196,181,253,0.65) !important; -webkit-text-fill-color: rgba(196,181,253,0.65) !important; }

html body.subtitle-theme-a .cinema-mode-4 .cinema-row-en:hover .wp-en { color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important; }
html body.subtitle-theme-a .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en { color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important; }




html body.subtitle-theme-b .cinema-subtitle-area .wp-en {
    
    
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 12px rgba(244,114,182,0.5) !important;

    -webkit-background-clip: unset !important;
    filter: none !important;
}
html body.subtitle-theme-b .cinema-subtitle-area .wp-cn {
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;
    font-weight: 500 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(244,114,182,0.4) !important;
}
html body.subtitle-theme-b .cinema-subtitle-area .wp-grammar {
    color: #60A5FA !important;
    -webkit-text-fill-color: #60A5FA !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000 !important;
}
html body.subtitle-theme-b .cinema-subtitle-area .wp-en-kept {
    color: #FBCFE8 !important;
    -webkit-text-fill-color: #FBCFE8 !important;
}
html body.subtitle-theme-b .cinema-subtitle-area .cinema-trans-wrapper,
html body.subtitle-theme-b .cinema-subtitle-area .cinema-row-cn {
    color: rgba(244,114,182,0.45) !important;
    -webkit-text-fill-color: rgba(244,114,182,0.45) !important;
}
html body.subtitle-theme-b .cinema-subtitle-area .wp-punct-cn {
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;
}

html body.subtitle-theme-b .cinema-mode-4 .cinema-row-en .wp-cn { color: #F472B6 !important; -webkit-text-fill-color: #F472B6 !important; font-weight: 500 !important; }
html body.subtitle-theme-b .cinema-mode-4 .cinema-row-en .wp-grammar { color: #60A5FA !important; -webkit-text-fill-color: #60A5FA !important; }
html body.subtitle-theme-b .cinema-mode-4 .cinema-row-en .wp-punct-cn { color: #F472B6 !important; -webkit-text-fill-color: #F472B6 !important; }
html body.subtitle-theme-b .cinema-mode-4 .cinema-trans-wrapper { color: rgba(244,114,182,0.45) !important; -webkit-text-fill-color: rgba(244,114,182,0.45) !important; }
html body.subtitle-theme-b .cinema-mode-4 .cinema-row-en:hover .wp-en { color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important; }
html body.subtitle-theme-b .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en { color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important; }




html body.subtitle-theme-c .cinema-subtitle-area .wp-en {
    color: #FEF3C7 !important;
    -webkit-text-fill-color: #FEF3C7 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 8px rgba(245,158,11,0.4) !important;

    -webkit-background-clip: unset !important;
    filter: none !important;
}
html body.subtitle-theme-c .cinema-subtitle-area .wp-cn {
    color: #F59E0B !important;
    -webkit-text-fill-color: #F59E0B !important;
    font-weight: 500 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 8px rgba(245,158,11,0.4) !important;
}
html body.subtitle-theme-c .cinema-subtitle-area .wp-grammar {
    color: #FFE05A !important;
    -webkit-text-fill-color: #FFE05A !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000 !important;
}
html body.subtitle-theme-c .cinema-subtitle-area .wp-en-kept {
    color: #FDE68A !important;
    -webkit-text-fill-color: #FDE68A !important;
}
html body.subtitle-theme-c .cinema-subtitle-area .cinema-trans-wrapper,
html body.subtitle-theme-c .cinema-subtitle-area .cinema-row-cn {
    color: rgba(217,119,6,0.5) !important;
    -webkit-text-fill-color: rgba(217,119,6,0.5) !important;
}
html body.subtitle-theme-c .cinema-subtitle-area .wp-punct-cn {
    color: #F59E0B !important;
    -webkit-text-fill-color: #F59E0B !important;
}

html body.subtitle-theme-c .cinema-mode-4 .cinema-row-en .wp-cn { color: #F59E0B !important; -webkit-text-fill-color: #F59E0B !important; font-weight: 500 !important; }
html body.subtitle-theme-c .cinema-mode-4 .cinema-row-en .wp-grammar { color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important; }
html body.subtitle-theme-c .cinema-mode-4 .cinema-row-en .wp-punct-cn { color: #F59E0B !important; -webkit-text-fill-color: #F59E0B !important; }
html body.subtitle-theme-c .cinema-mode-4 .cinema-trans-wrapper { color: rgba(217,119,6,0.5) !important; -webkit-text-fill-color: rgba(217,119,6,0.5) !important; }
html body.subtitle-theme-c .cinema-mode-4 .cinema-row-en:hover .wp-en { color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important; }
html body.subtitle-theme-c .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en { color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important; }




html body.subtitle-theme-d .cinema-subtitle-area .wp-en {
    
    
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(52,211,153,0.5) !important;

    -webkit-background-clip: unset !important;
    filter: none !important;
}
html body.subtitle-theme-d .cinema-subtitle-area .wp-cn {
    color: #34D399 !important;
    -webkit-text-fill-color: #34D399 !important;
    font-weight: 500 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(52,211,153,0.5) !important;
}
html body.subtitle-theme-d .cinema-subtitle-area .wp-grammar {
    color: #39FF8C !important;
    -webkit-text-fill-color: #39FF8C !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000 !important;
}
html body.subtitle-theme-d .cinema-subtitle-area .wp-en-kept {
    color: #A7F3D0 !important;
    -webkit-text-fill-color: #A7F3D0 !important;
}
html body.subtitle-theme-d .cinema-subtitle-area .cinema-trans-wrapper,
html body.subtitle-theme-d .cinema-subtitle-area .cinema-row-cn {
    color: rgba(110,231,183,0.45) !important;
    -webkit-text-fill-color: rgba(110,231,183,0.45) !important;
}
html body.subtitle-theme-d .cinema-subtitle-area .wp-punct-cn {
    color: #34D399 !important;
    -webkit-text-fill-color: #34D399 !important;
}

html body.subtitle-theme-d .cinema-mode-4 .cinema-row-en .wp-cn { color: #34D399 !important; -webkit-text-fill-color: #34D399 !important; font-weight: 500 !important; }
html body.subtitle-theme-d .cinema-mode-4 .cinema-row-en .wp-grammar { color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important; }
html body.subtitle-theme-d .cinema-mode-4 .cinema-row-en .wp-punct-cn { color: #34D399 !important; -webkit-text-fill-color: #34D399 !important; }
html body.subtitle-theme-d .cinema-mode-4 .cinema-trans-wrapper { color: rgba(110,231,183,0.45) !important; -webkit-text-fill-color: rgba(110,231,183,0.45) !important; }
html body.subtitle-theme-d .cinema-mode-4 .cinema-row-en:hover .wp-en { color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important; }
html body.subtitle-theme-d .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en { color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important; }





html body.v96-cinema-fullscreen #stage-controller,
html body.v96-cinema-fullscreen #stage-mini-controls,
html body.v96-cinema-fullscreen #stage-selector-expanded,
html body #stage-controller,
html body #stage-mini-controls {
    z-index: 99999 !important;
    position: fixed !important;
    right: 15px !important;
    top: 15px !important;
    left: auto !important;
    bottom: auto !important;
}




@media (min-width: 769px) {
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        bottom: 140px !important;
    }
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-subtitle-area,
    html body.v96-stage-locked .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        bottom: 140px !important;
    }
}

html body .cinema-subtitle-area .wp-cn {
    font-weight: 600 !important;
    font-size: 1.05em !important;
}

html body .cinema-subtitle-area .cinema-trans-wrapper,
html body .cinema-subtitle-area .cinema-row-cn {
    opacity: 0.55 !important;
    font-size: 0.88em !important;
}




html body .cinema-subtitle-area .cinema-trans-wrapper,
html body .cinema-subtitle-area .cinema-row-cn {
    opacity: 1 !important;
    font-size: 0.9em !important;
}

@media (min-width: 769px) {
    html body .cinema-embed.v96-fullscreen .cinema-controls {
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        position: absolute !important;
        bottom: 36px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(0,0,0,0.7) !important;
        z-index: 60 !important;
        padding: 4px 12px !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row:nth-child(1),
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row:nth-child(2) {
        display: inline-flex !important;
        width: auto !important;
        gap: 4px !important;
    }
    
    html body .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row:nth-child(3) {
        display: flex !important;
        width: 100% !important;
        gap: 8px !important;
    }
    
    html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls {
        display: flex !important;
        flex-wrap: wrap !important;
        position: absolute !important;
        bottom: 36px !important;
        background: rgba(0,0,0,0.7) !important;
        z-index: 60 !important;
    }
}







html body.subtitle-theme-a .cinema-mode-1 .cinema-row-en .wp-cn,
html body.subtitle-theme-a .cinema-mode-2 .cinema-row-en .wp-cn,
html body.subtitle-theme-a .cinema-mode-4 .cinema-row-en .wp-cn {
    color: #22D3EE !important; -webkit-text-fill-color: #22D3EE !important; font-weight: 500 !important;
}
html body.subtitle-theme-a .cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-a .cinema-mode-2 .cinema-row-en .wp-en {
    color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important; 
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(56,189,248,0.6) !important;
    background: none !important; -webkit-background-clip: unset !important; filter: none !important;
}
html body.subtitle-theme-a .cinema-mode-1 .cinema-row-en .wp-grammar,
html body.subtitle-theme-a .cinema-mode-2 .cinema-row-en .wp-grammar,
html body.subtitle-theme-a .cinema-mode-4 .cinema-row-en .wp-grammar {
    color: #A78BFA !important; -webkit-text-fill-color: #A78BFA !important;
}
html body.subtitle-theme-a .cinema-mode-1 .cinema-trans-wrapper,
html body.subtitle-theme-a .cinema-mode-2 .cinema-trans-wrapper,
html body.subtitle-theme-a .cinema-mode-4 .cinema-trans-wrapper {
    color: rgba(196,181,253,0.65) !important; -webkit-text-fill-color: rgba(196,181,253,0.65) !important;
}
html body.subtitle-theme-a .cinema-mode-1 .wp-punct-cn,
html body.subtitle-theme-a .cinema-mode-2 .wp-punct-cn,
html body.subtitle-theme-a .cinema-mode-4 .wp-punct-cn {
    color: #22D3EE !important; -webkit-text-fill-color: #22D3EE !important;
}

html body.subtitle-theme-a .cinema-mode-4 .cinema-row-en .wp-en {
    color: transparent !important; -webkit-text-fill-color: transparent !important;
}
html body.subtitle-theme-a .cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important;
}
html body.subtitle-theme-a .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important;
}


html body.subtitle-theme-b .cinema-mode-1 .cinema-row-en .wp-cn,
html body.subtitle-theme-b .cinema-mode-2 .cinema-row-en .wp-cn,
html body.subtitle-theme-b .cinema-mode-4 .cinema-row-en .wp-cn {
    color: #F472B6 !important; -webkit-text-fill-color: #F472B6 !important; font-weight: 500 !important;
}
html body.subtitle-theme-b .cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-mode-2 .cinema-row-en .wp-en {
    color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important; 
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 12px rgba(244,114,182,0.5) !important;
    background: none !important; -webkit-background-clip: unset !important; filter: none !important;
}
html body.subtitle-theme-b .cinema-mode-1 .cinema-row-en .wp-grammar,
html body.subtitle-theme-b .cinema-mode-2 .cinema-row-en .wp-grammar,
html body.subtitle-theme-b .cinema-mode-4 .cinema-row-en .wp-grammar {
    color: #60A5FA !important; -webkit-text-fill-color: #60A5FA !important;
}
html body.subtitle-theme-b .cinema-mode-1 .cinema-trans-wrapper,
html body.subtitle-theme-b .cinema-mode-2 .cinema-trans-wrapper,
html body.subtitle-theme-b .cinema-mode-4 .cinema-trans-wrapper {
    color: rgba(244,114,182,0.5) !important; -webkit-text-fill-color: rgba(244,114,182,0.5) !important;
}
html body.subtitle-theme-b .cinema-mode-1 .wp-punct-cn,
html body.subtitle-theme-b .cinema-mode-2 .wp-punct-cn,
html body.subtitle-theme-b .cinema-mode-4 .wp-punct-cn {
    color: #F472B6 !important; -webkit-text-fill-color: #F472B6 !important;
}
html body.subtitle-theme-b .cinema-mode-4 .cinema-row-en .wp-en {
    color: transparent !important; -webkit-text-fill-color: transparent !important;
}
html body.subtitle-theme-b .cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important;
}
html body.subtitle-theme-b .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important;
}


html body.subtitle-theme-c .cinema-mode-1 .cinema-row-en .wp-cn,
html body.subtitle-theme-c .cinema-mode-2 .cinema-row-en .wp-cn,
html body.subtitle-theme-c .cinema-mode-4 .cinema-row-en .wp-cn {
    color: #F59E0B !important; -webkit-text-fill-color: #F59E0B !important; font-weight: 500 !important;
}
html body.subtitle-theme-c .cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-mode-2 .cinema-row-en .wp-en {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important; 
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 8px rgba(245,158,11,0.4) !important;
    background: none !important; -webkit-background-clip: unset !important; filter: none !important;
}
html body.subtitle-theme-c .cinema-mode-1 .cinema-row-en .wp-grammar,
html body.subtitle-theme-c .cinema-mode-2 .cinema-row-en .wp-grammar,
html body.subtitle-theme-c .cinema-mode-4 .cinema-row-en .wp-grammar {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important;
}
html body.subtitle-theme-c .cinema-mode-1 .cinema-trans-wrapper,
html body.subtitle-theme-c .cinema-mode-2 .cinema-trans-wrapper,
html body.subtitle-theme-c .cinema-mode-4 .cinema-trans-wrapper {
    color: rgba(217,119,6,0.55) !important; -webkit-text-fill-color: rgba(217,119,6,0.55) !important;
}
html body.subtitle-theme-c .cinema-mode-1 .wp-punct-cn,
html body.subtitle-theme-c .cinema-mode-2 .wp-punct-cn,
html body.subtitle-theme-c .cinema-mode-4 .wp-punct-cn {
    color: #F59E0B !important; -webkit-text-fill-color: #F59E0B !important;
}
html body.subtitle-theme-c .cinema-mode-4 .cinema-row-en .wp-en {
    color: transparent !important; -webkit-text-fill-color: transparent !important;
}
html body.subtitle-theme-c .cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important;
}
html body.subtitle-theme-c .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important;
}


html body.subtitle-theme-d .cinema-mode-1 .cinema-row-en .wp-cn,
html body.subtitle-theme-d .cinema-mode-2 .cinema-row-en .wp-cn,
html body.subtitle-theme-d .cinema-mode-4 .cinema-row-en .wp-cn {
    color: #34D399 !important; -webkit-text-fill-color: #34D399 !important; font-weight: 500 !important;
}
html body.subtitle-theme-d .cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-mode-2 .cinema-row-en .wp-en {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important; 
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(52,211,153,0.5) !important;
    background: none !important; -webkit-background-clip: unset !important; filter: none !important;
}
html body.subtitle-theme-d .cinema-mode-1 .cinema-row-en .wp-grammar,
html body.subtitle-theme-d .cinema-mode-2 .cinema-row-en .wp-grammar,
html body.subtitle-theme-d .cinema-mode-4 .cinema-row-en .wp-grammar {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important;
}
html body.subtitle-theme-d .cinema-mode-1 .cinema-trans-wrapper,
html body.subtitle-theme-d .cinema-mode-2 .cinema-trans-wrapper,
html body.subtitle-theme-d .cinema-mode-4 .cinema-trans-wrapper {
    color: rgba(110,231,183,0.5) !important; -webkit-text-fill-color: rgba(110,231,183,0.5) !important;
}
html body.subtitle-theme-d .cinema-mode-1 .wp-punct-cn,
html body.subtitle-theme-d .cinema-mode-2 .wp-punct-cn,
html body.subtitle-theme-d .cinema-mode-4 .wp-punct-cn {
    color: #34D399 !important; -webkit-text-fill-color: #34D399 !important;
}
html body.subtitle-theme-d .cinema-mode-4 .cinema-row-en .wp-en {
    color: transparent !important; -webkit-text-fill-color: transparent !important;
}
html body.subtitle-theme-d .cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important;
}
html body.subtitle-theme-d .cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important;
}







html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-cn,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair .wp-cn {
    color: #22D3EE !important; -webkit-text-fill-color: #22D3EE !important;
}
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-cn,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair .wp-cn {
    color: #F472B6 !important; -webkit-text-fill-color: #F472B6 !important;
}
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-cn,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair .wp-cn {
    color: #F59E0B !important; -webkit-text-fill-color: #F59E0B !important;
}
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-cn,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair .wp-cn {
    color: #34D399 !important; -webkit-text-fill-color: #34D399 !important;
}

html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4,
html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area.cinema-mode-4 {

    border: 1px solid rgba(34, 211, 238, 0.15) !important;
}
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4,
html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area.cinema-mode-4 {

    border: 1px solid rgba(244, 114, 182, 0.15) !important;
}
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4,
html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area.cinema-mode-4 {

    border: 1px solid rgba(245, 158, 11, 0.15) !important;
}
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4,
html body.subtitle-theme-d .cinema-embed .cinema-subtitle-area.cinema-mode-4 {

    border: 1px solid rgba(52, 211, 153, 0.15) !important;
}






html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #E0F2FE !important; -webkit-text-fill-color: #E0F2FE !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(56,189,248,0.6) !important;

}
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-grammar,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair .wp-grammar {
    color: #A78BFA !important; -webkit-text-fill-color: #A78BFA !important;
}
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept {
    color: #BAE6FD !important; -webkit-text-fill-color: #BAE6FD !important;
}
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn {
    color: #22D3EE !important; -webkit-text-fill-color: #22D3EE !important;
}


html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #FCE7F3 !important; -webkit-text-fill-color: #FCE7F3 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 12px rgba(244,114,182,0.5) !important;

}
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-grammar,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair .wp-grammar {
    color: #60A5FA !important; -webkit-text-fill-color: #60A5FA !important;
}
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept {
    color: #FBCFE8 !important; -webkit-text-fill-color: #FBCFE8 !important;
}
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn {
    color: #F472B6 !important; -webkit-text-fill-color: #F472B6 !important;
}


html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #FEF3C7 !important; -webkit-text-fill-color: #FEF3C7 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 8px rgba(245,158,11,0.4) !important;

}
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-grammar,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair .wp-grammar {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important;
}
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept {
    color: #FDE68A !important; -webkit-text-fill-color: #FDE68A !important;
}
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn {
    color: #F59E0B !important; -webkit-text-fill-color: #F59E0B !important;
}


html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #D1FAE5 !important; -webkit-text-fill-color: #D1FAE5 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(52,211,153,0.5) !important;

}
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-grammar,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .word-pair .wp-grammar {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important;
}
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept {
    color: #A7F3D0 !important; -webkit-text-fill-color: #A7F3D0 !important;
}
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn {
    color: #34D399 !important; -webkit-text-fill-color: #34D399 !important;
}






html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en .wp-en {
    color: #E0F2FE !important; -webkit-text-fill-color: #E0F2FE !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(56,189,248,0.6) !important;

}

html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en .wp-en {
    color: #FCE7F3 !important; -webkit-text-fill-color: #FCE7F3 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 12px rgba(244,114,182,0.5) !important;

}

html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en .wp-en {
    color: #FEF3C7 !important; -webkit-text-fill-color: #FEF3C7 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 8px rgba(245,158,11,0.4) !important;

}

html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en .wp-en {
    color: #D1FAE5 !important; -webkit-text-fill-color: #D1FAE5 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(52,211,153,0.5) !important;

}



html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .word-pair {

    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .word-pair.revealed,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .word-pair:hover {

    border-color: rgba(255, 255, 255, 0.2) !important;
}

html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .word-pair.wp-phrase {

    border-color: rgba(255, 255, 255, 0.15) !important;
}





html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .word-pair {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .word-pair.revealed,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .word-pair:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .word-pair.wp-phrase {
    background: transparent !important;
    border: none !important;
}


html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en {
    font-size: 1.15em !important;
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    font-size: 1.1em !important;
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn {
    font-size: 0.85em !important;
    font-weight: 600 !important;
}


html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    visibility: visible !important;
    display: inline !important;
}

html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important;
}

html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    
}





html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}


@media (min-width: 769px) {
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::before {
        content: '\U0001F441 hover \67E5\770B' !important;
        display: block !important;
        text-align: center !important;
        font-size: 11px !important;
        color: rgba(255,255,255,0.25) !important;
        -webkit-text-fill-color: rgba(255,255,255,0.25) !important;
        font-style: italic !important;
        pointer-events: none !important;
        text-shadow: none !important;
        margin-bottom: 2px !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover::before {
        display: none !important;
    }
}







html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en::before {
    content: none !important;
    display: none !important;
}


html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 {

    border: 1px solid rgba(34, 211, 238, 0.15) !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 {

    border: 1px solid rgba(244, 114, 182, 0.15) !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 {

    border: 1px solid rgba(245, 158, 11, 0.15) !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 {

    border: 1px solid rgba(52, 211, 153, 0.15) !important;
}



html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-en {
    color: transparent !important; -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}





html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-en,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .word-pair .wp-en {
    color: transparent !important; -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}



html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .word-pair .wp-en,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .word-pair .wp-en,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .word-pair .wp-en,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .word-pair .wp-en {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}

html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(56,189,248,0.6) !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 12px rgba(244,114,182,0.5) !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 8px rgba(245,158,11,0.4) !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(52,211,153,0.5) !important;
}

html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000 !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000 !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000 !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000 !important;
}



html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    color: #E0F2FE !important; -webkit-text-fill-color: #E0F2FE !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(56,189,248,0.6) !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    color: #FCE7F3 !important; -webkit-text-fill-color: #FCE7F3 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 12px rgba(244,114,182,0.5) !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    color: #FEF3C7 !important; -webkit-text-fill-color: #FEF3C7 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 8px rgba(245,158,11,0.4) !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    color: #D1FAE5 !important; -webkit-text-fill-color: #D1FAE5 !important;
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 10px rgba(52,211,153,0.5) !important;
}







@media (max-width: 768px) {
    
    html body #stage-controller {
        display: none !important;
    }
    
    
    html body #stage-mini-controls {
        position: fixed !important;
        top: 70px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        z-index: 9000 !important;
    }
    
    
    html body #stage-selector-expanded {
        position: fixed !important;
        top: 70px !important;
        right: 60px !important;
        left: auto !important;
        bottom: auto !important;
        z-index: 9001 !important;
    }
    
    
    html body.v96-cinema-fullscreen #stage-mini-controls {
        display: flex !important;
        z-index: 99999 !important;
    }
    
    
    html body.v96-cinema-fullscreen #stage-selector-expanded {
        z-index: 99999 !important;
    }
}


@media (max-width: 768px) {
    
    html body .v98-progress-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9998 !important;
        height: 32px !important;
        padding: 4px 10px !important;
        font-size: 11px !important;
    }
    
    
    html body .cinema-controls {
        bottom: 36px !important;
    }
    
    
    html body.v98-auto-cruise .cinema-controls {
        bottom: 36px !important;
    }
    
    
    html body.v96-cinema-fullscreen .cinema-controls,
    html body.v98-auto-cruise.v96-cinema-fullscreen .cinema-controls {
        bottom: 36px !important;
    }
}


@media screen and (max-width: 768px) and (orientation: portrait) {
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        
        margin-bottom: 0 !important;
        padding-bottom: 5px !important;
    }
}






@media screen and (max-width: 768px) and (orientation: portrait) {
    
    html body .cinema-embed.v96-fullscreen {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
        padding-bottom: 50px !important;
        box-sizing: border-box !important;
    }
    
    
    html body .cinema-embed.v96-fullscreen .cinema-video-wrapper,
    html body .cinema-embed.v96-fullscreen video {
        flex: 0 0 auto !important;
        max-height: 30vh !important;
    }
    
    
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        flex: 1 1 0 !important;
        min-height: 60px !important;
        max-height: calc(100dvh - 30vh - 130px) !important; 
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    
    html body .cinema-controls {
        flex: 0 0 auto !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        z-index: 2000 !important;
    }
    
    
    html body.v98-auto-cruise .cinema-controls {
        flex: 0 0 auto !important;
        position: relative !important;
        bottom: auto !important;
    }
    
    
    html body .v98-progress-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9998 !important;
    }
}


@media screen and (max-width: 768px) and (orientation: landscape) {
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        max-height: 40vh !important;
        overflow-y: auto !important;
    }
}






@media screen and (max-width: 768px) and (orientation: portrait) {
    
    html body #stage-mini-controls {
        position: fixed !important;
        top: calc(30vh + 8px) !important;  
        right: 10px !important;
        left: auto !important;
        bottom: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        z-index: 9000 !important;
    }
    
    
    html body.v96-cinema-fullscreen #stage-mini-controls {
        top: calc(30vh + 8px) !important;
        right: 10px !important;
        display: flex !important;
        z-index: 99999 !important;
    }
    
    
    html body #stage-selector-expanded {
        position: fixed !important;
        top: calc(30vh + 8px) !important;
        right: 55px !important;
        left: auto !important;
        bottom: auto !important;
        z-index: 9001 !important;
    }
    
    html body.v96-cinema-fullscreen #stage-selector-expanded {
        top: calc(30vh + 8px) !important;
        right: 55px !important;
        z-index: 99999 !important;
    }
    
    
    html body #stage-mini-controls .stage-current-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
        opacity: 0.85 !important;
    }
    
    html body #stage-mini-controls .help-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
        opacity: 0.7 !important;
    }
}


@media screen and (max-width: 768px) and (orientation: landscape) {
    html body #stage-mini-controls {
        top: 10px !important;
        right: 10px !important;
    }
}


@media (max-width: 768px) {
    html body:not(.v96-cinema-fullscreen) #stage-mini-controls {
        display: flex !important;
        position: fixed !important;
        top: 70px !important;
        right: 15px !important;
        z-index: 9000 !important;
    }
}






@media screen and (max-width: 768px) {
    
    html body #stage-selector-expanded,
    html body.v96-cinema-fullscreen #stage-selector-expanded {
        position: fixed !important;
        
        top: 50% !important;
        transform: translateY(-50%) !important;
        right: 55px !important;
        left: auto !important;
        bottom: auto !important;
        z-index: 99999 !important;
        
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        max-width: 260px !important;
        padding: 8px 10px !important;
        border-radius: 16px !important;
        background: rgba(30, 30, 50, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    }
    
    
    html body #stage-selector-expanded .stage-btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    
    html body #stage-selector-expanded .stage-btn.active {
        background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
        color: white !important;
        border-color: transparent !important;
        box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4) !important;
    }
    
    
    html body #stage-selector-expanded .stage-close-btn {
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        font-size: 12px !important;
    }
    
    
    html body #stage-selector-expanded.visible {
        display: flex !important;
        animation: v112SlideIn 0.2s ease !important;
    }
}

@keyframes v112SlideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}





@media screen and (max-width: 768px) {
    
    html body #stage-selector-expanded,
    html body.v96-cinema-fullscreen #stage-selector-expanded {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        max-width: none !important;
        width: auto !important;
        
        top: 50% !important;
        transform: translateY(-50%) !important;
        right: 55px !important;
        left: auto !important;
        bottom: auto !important;
        gap: 6px !important;
        padding: 10px 8px !important;
        border-radius: 25px !important;
        align-items: center !important;
    }
    
    
    html body #stage-selector-expanded .stage-btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        font-size: 14px !important;
    }
    
    
    html body #stage-selector-expanded.visible {
        display: flex !important;
        animation: v112SlideIn2 0.2s ease !important;
    }
}

@keyframes v112SlideIn2 {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}






@media screen and (max-width: 768px) {
    
    html body #stage-mini-controls,
    html body.v96-cinema-fullscreen #stage-mini-controls,
    html body.v96-cinema-mode #stage-mini-controls {
        position: fixed !important;
        top: 5px !important;
        right: 10px !important;
        left: auto !important;
        bottom: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        z-index: 99999 !important; 
    }
    
    
    html body #stage-mini-controls .stage-current-btn {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        font-size: 18px !important;
        font-weight: bold !important;
        color: white !important;
        background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 0 12px rgba(79, 70, 229, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        opacity: 1 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        animation: v112pulse 2s ease-in-out infinite !important;
    }
    
    
    html body #stage-mini-controls .stage-current-btn:active {
        animation: none !important;
        transform: scale(0.95) !important;
    }
    
    
    html body #stage-mini-controls .help-btn {
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        font-size: 13px !important;
        color: white !important;
        background: rgba(100, 100, 140, 0.8) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
        opacity: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    
    html body #stage-selector-expanded,
    html body.v96-cinema-fullscreen #stage-selector-expanded {
        position: fixed !important;
        top: 55px !important; 
        right: 10px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important; 
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        max-width: none !important;
        width: auto !important;
        gap: 6px !important;
        padding: 10px 8px !important;
        border-radius: 25px !important;
        align-items: center !important;
        z-index: 99999 !important;
        background: rgba(30, 30, 50, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    
    
    html body #stage-selector-expanded .stage-btn {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
        cursor: pointer !important;
    }
    
    
    html body #stage-selector-expanded .stage-btn.active {
        background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
        color: white !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 0 10px rgba(79, 70, 229, 0.5) !important;
    }
    
    
    html body #stage-selector-expanded .stage-close-btn {
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        font-size: 12px !important;
        background: rgba(255, 80, 80, 0.3) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        border: 1px solid rgba(255, 80, 80, 0.3) !important;
    }
    
    
    html body #stage-selector-expanded.visible {
        display: flex !important;
        animation: v112SlideDown 0.2s ease !important;
    }
}


@keyframes v112pulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(79, 70, 229, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.8), 0 2px 12px rgba(0, 0, 0, 0.4);
    }
}


@keyframes v112SlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.cinema-audio-only {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 12px;
    padding: 2rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinema-audio-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: #e0e0e0;
}

.cinema-audio-icon {
    font-size: 3rem;
    animation: audioPulse 2s ease-in-out infinite;
}

.cinema-audio-title {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.85;
    text-align: center;
    max-width: 300px;
}

@keyframes audioPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}


[data-theme="dark"] .cinema-audio-only,
.dark-mode .cinema-audio-only {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 50%, #0f3460 100%);
}

@media (max-width: 768px) {
    .cinema-audio-only {
        padding: 1.5rem;
        min-height: 80px;
    }
    .cinema-audio-icon {
        font-size: 2.2rem;
    }
    .cinema-audio-title {
        font-size: 0.95rem;
    }
}



.cinema-exit-topright {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 100010 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: background 0.2s, transform 0.2s !important;
}
.cinema-exit-topright:hover {
    background: rgba(255, 59, 48, 0.8) !important;
    transform: scale(1.1) !important;
}


.v115-guide-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: v115FadeIn 0.3s ease;
}
@keyframes v115FadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.v115-guide-dialog {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 32px 28px 24px;
    max-width: 380px;
    width: 90vw;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: v115SlideUp 0.3s ease;
}
@keyframes v115SlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.v115-guide-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.v115-guide-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}
.v115-guide-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 24px;
    min-height: 120px;
}
.v115-guide-desc b {
    color: #fff;
}
.v115-guide-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.v115-guide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.2s;
}
.v115-guide-dot.active {
    background: #6366F1;
    width: 24px;
    border-radius: 4px;
}
.v115-guide-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.v115-guide-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: #6366F1;
    transition: all 0.2s;
}
.v115-guide-prev {
    background: rgba(255,255,255,0.1) !important;
    color: #ccc !important;
}
.v115-guide-prev:hover {
    background: rgba(255,255,255,0.2) !important;
}
.v115-guide-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.v115-guide-skip {
    margin-top: 16px;
    min-height: 20px;
}
.v115-guide-skip-link {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
.v115-guide-skip-link:hover {
    color: rgba(255,255,255,0.7);
}



.stage-select-skip {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e67e22;
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.stage-select-skip:hover {
    background: #e67e22;
    color: white;
    transform: scale(1.1);
}

.stage-select-skip:active {
    transform: scale(0.95);
}





.v116-welcome-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    margin: 0 0 20px 0;
    overflow: hidden;
    color: #e2e8f0;
}
.v116-guide-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: rgba(99, 102, 241, 0.15);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}
.v116-guide-icon { font-size: 1.4em; margin-right: 8px; }
.v116-guide-title { font-size: 1.1em; font-weight: 700; flex: 1; }
.v116-guide-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #94a3b8;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 50%;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.v116-guide-close:hover { background: rgba(239,68,68,0.3); color: #f87171; }
.v116-guide-body { padding: 16px 18px; }
.v116-welcome-text { margin-bottom: 14px; line-height: 1.6; }
.v116-section { margin-bottom: 14px; }
.v116-section-title { font-weight: 700; font-size: 1em; margin-bottom: 8px; color: #4338ca; }
.v116-flow-steps { padding-left: 4px; }
.v116-flow-item { padding: 4px 0; font-size: 0.92em; line-height: 1.5; }
.v116-modes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 480px) { .v116-modes-grid { grid-template-columns: 1fr; } }
.v116-mode-intro {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.08);
}
.v116-mode-head { font-weight: 700; font-size: 0.95em; margin-bottom: 4px; }
.v116-recommend {
    background: #ef4444;
    color: white;
    font-size: 0.7em;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 4px;
    vertical-align: middle;
}
.v116-mode-detail { font-size: 0.82em; color: #94a3b8; margin-bottom: 4px; }
.v116-mode-steps-text { font-size: 0.8em; color: #a5b4fc; line-height: 1.5; }
.v116-mode-deep { border-left: 3px solid #ef4444; }
.v116-mode-quick { border-left: 3px solid #f59e0b; }
.v116-mode-cinema { border-left: 3px solid #8b5cf6; }
.v116-mode-doc { border-left: 3px solid #10b981; }

.v116-guide-ok-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 10px 32px;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.v116-guide-ok-btn:hover { transform: scale(1.03); box-shadow: 0 4px 15px rgba(99,102,241,0.4); }


.v116-mode-selector { margin: 10px 0 4px 0; }
.v116-mode-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
@media (max-width: 360px) { .v116-mode-btns { grid-template-columns: 1fr; } }
.v116-mode-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.v116-mode-btn:hover {
    border-color: rgba(99,102,241,0.4);
    background: rgba(99,102,241,0.08);
}
.v116-mode-btn.selected {
    border-color: #6366f1;
    background: rgba(99,102,241,0.2);
    color: #1e293b;
    box-shadow: 0 0 12px rgba(99,102,241,0.3);
}
.v116-mode-emoji { font-size: 1.4em; margin-bottom: 2px; }
.v116-mode-name { font-size: 0.85em; font-weight: 600; }
.v116-mode-time { font-size: 0.72em; color: #64748b; }
.v116-mode-btn.selected .v116-mode-time { color: #64748b; }


.v116-sel-deep.selected { border-color: #ef4444; background: rgba(239,68,68,0.15); box-shadow: 0 0 12px rgba(239,68,68,0.2); color: #dc2626; }
.v116-sel-quick.selected { border-color: #f59e0b; background: rgba(245,158,11,0.15); box-shadow: 0 0 12px rgba(245,158,11,0.2); color: #b45309; }
.v116-sel-cinema.selected { border-color: #8b5cf6; background: rgba(139,92,246,0.15); box-shadow: 0 0 12px rgba(139,92,246,0.2); color: #6d28d9; }
.v116-sel-doc.selected { border-color: #10b981; background: rgba(16,185,129,0.15); box-shadow: 0 0 12px rgba(16,185,129,0.2); color: #047857; }


.v116-guide-link {
    padding: 8px 0;
}




.v116-reopen-guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 2px solid #6366f1;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #4338ca;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}
.v116-reopen-guide-btn:hover {
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    color: #312e81;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(99,102,241,0.3);
}
.v116-reopen-icon { font-size: 1.2em; }


#v116-cruise-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: linear-gradient(to top, #1e1b4b, #312e81);
    border-top: 1px solid rgba(99,102,241,0.4);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: transform 0.3s ease;
}
#v116-cruise-bar.hidden {
    transform: translateY(100%);
}


.cruise-parent-row {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82em;
    color: #c7d2fe;
    min-height: 32px;
}
.cruise-parent-label {
    font-weight: 600;
    white-space: nowrap;
    color: #a5b4fc;
    font-size: 0.85em;
}
.cruise-parent-steps {
    display: flex;
    gap: 6px;
    flex: 1;
}
.cruise-pstep {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85em;
    white-space: nowrap;
    transition: all 0.2s;
}
.cruise-pstep.done {
    color: #86efac;
    background: rgba(134,239,172,0.1);
}
.cruise-pstep.active {
    color: #fbbf24;
    background: rgba(251,191,36,0.15);
    font-weight: 700;
    animation: cruise-pulse 2s infinite;
}
.cruise-pstep.pending {
    color: #64748b;
}
@keyframes cruise-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.cruise-parent-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1em;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
}
.cruise-parent-close:hover {
    color: #ef4444;
    background: rgba(239,68,68,0.1);
}


.cruise-child-row {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 6px;
    min-height: 38px;
}
.cruise-child-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.cruise-child-title {
    font-size: 0.82em;
    font-weight: 600;
    color: #e0e7ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cruise-child-subtitle {
    font-size: 0.7em;
    color: #94a3b8;
}
.cruise-stage-dots {
    display: flex;
    gap: 3px;
    align-items: center;
}
.cruise-stage-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #94a3b8;
    font-size: 0.72em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.cruise-stage-dot:hover {
    border-color: #6366f1;
    background: rgba(99,102,241,0.15);
    color: #a5b4fc;
}
.cruise-stage-dot.active {
    border-color: #fbbf24;
    background: rgba(251,191,36,0.2);
    color: #fbbf24;
    font-weight: 700;
    box-shadow: 0 0 8px rgba(251,191,36,0.3);
}
.cruise-stage-dot.done {
    border-color: #22c55e;
    background: rgba(34,197,94,0.15);
    color: #86efac;
}
.cruise-child-actions {
    display: flex;
    gap: 4px;
}
.cruise-action-btn {
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: #c7d2fe;
    font-size: 0.72em;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
}
.cruise-action-btn:hover {
    background: rgba(99,102,241,0.2);
    border-color: #6366f1;
}
.cruise-action-btn.skip-btn {
    color: #fbbf24;
}
.cruise-action-btn.progress-btn {
    color: #22c55e;
}


#v116-cruise-bar .cruise-parent-row.hidden { display: none; }
#v116-cruise-bar .cruise-child-row.hidden { display: none; }


body.has-cruise-bar {
    padding-bottom: 40px;
}
body.has-cruise-bar-child-only {
    padding-bottom: 50px;
}


@media (max-width: 480px) {
    .cruise-parent-row { padding: 4px 8px; font-size: 0.78em; }
    .cruise-child-row { padding: 4px 8px; }
    .cruise-stage-dot { width: 24px; height: 24px; font-size: 0.68em; }
    .cruise-action-btn { padding: 3px 8px; font-size: 0.68em; }
}




.v116-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: v116-fade-in 0.3s ease;
}
@keyframes v116-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}


.v116-transition-card {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border: 1px solid rgba(99,102,241,0.4);
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: v116-slide-up 0.4s ease;
}
@keyframes v116-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.v116-transition-icon {
    font-size: 3em;
    margin-bottom: 12px;
}
.v116-transition-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #e0e7ff;
    margin-bottom: 16px;
}
.v116-transition-stats {
    margin-bottom: 16px;
}
.v116-transition-stat {
    font-size: 0.95em;
    color: #a5b4fc;
    padding: 4px 0;
}
.v116-transition-next {
    font-size: 0.85em;
    color: #94a3b8;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}


.v116-transition-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.v116-transition-go {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.v116-transition-go:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99,102,241,0.4);
}
.v116-transition-wait {
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.v116-transition-wait:hover {
    border-color: #6366f1;
    color: #c7d2fe;
}
.v116-transition-skip {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #fbbf24;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.v116-transition-skip:hover {
    background: rgba(251,191,36,0.1);
}


.cruise-action-btn.complete-btn {
    color: #86efac;
    border-color: rgba(134,239,172,0.3);
    font-weight: 600;
}
.cruise-action-btn.complete-btn:hover {
    background: rgba(34,197,94,0.2);
    border-color: #22c55e;
}



.v116-fav-complete-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 100010;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.v116-fav-complete-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.v116-fav-toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #065f46, #047857);
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    white-space: nowrap;
}
.v116-fav-toast-icon {
    font-size: 1.3em;
}
.v116-fav-toast-text {
    font-size: 0.9em;
    font-weight: 500;
}
.v116-fav-toast-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.v116-fav-toast-btn:hover {
    background: rgba(255,255,255,0.35);
}
.v116-fav-toast-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.1em;
    cursor: pointer;
    padding: 4px;
}
.v116-fav-toast-close:hover {
    color: white;
}


@media (max-width: 768px) {
    .v116-fav-complete-toast {
        bottom: 75px;
        width: calc(100% - 20px);
        max-width: 400px;
    }
    .v116-fav-toast-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
}





body.fav-active #stage-mini-controls,
body.fav-active #stage-selector-expanded {
    display: none !important;
}


body.v117-cruise-active .session-view {
    padding-bottom: 80px !important;
}
body.v117-cruise-active .recitation-body {
    padding-bottom: 80px !important;
}


.v117-confirm-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 350000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: v117-fade-in 0.2s ease;
}
@keyframes v117-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.v117-confirm-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: v117-slide-up 0.3s ease;
}
@keyframes v117-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.v117-confirm-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.v117-confirm-message {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
}
.v117-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.v117-confirm-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.v117-btn-ok {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: #fff;
}
.v117-btn-ok:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79,70,229,0.4);
}
.v117-btn-cancel {
    background: #f1f5f9;
    color: #475569;
}
.v117-btn-cancel:hover {
    background: #e2e8f0;
}


.v117-transition-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 24px;
    padding: 35px 25px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: v117-slide-up 0.3s ease;
}
.v117-transition-icon {
    font-size: 56px;
    margin-bottom: 10px;
}
.v117-transition-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}
.v117-transition-subtitle {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 20px;
}
.v117-transition-next {
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 15px;
}
.v117-transition-next-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 6px;
}
.v117-transition-next-name {
    font-size: 16px;
    font-weight: 600;
}
.v117-transition-countdown {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 18px;
}
.v117-transition-card .v117-confirm-actions {
    gap: 10px;
}
.v117-transition-card .v117-btn-ok {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}
.v117-transition-card .v117-btn-ok:hover {
    background: rgba(255,255,255,0.35);
    box-shadow: none;
}
.v117-transition-card .v117-btn-cancel {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}
.v117-transition-card .v117-btn-cancel:hover {
    background: rgba(255,255,255,0.2);
}


.v117-intensity-section {
    margin-top: 15px;
    padding: 0 5px;
}
.v117-intensity-section .v117-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #4338ca;
    margin-bottom: 10px;
    padding-left: 5px;
}
.v117-intensity-btns {
    display: flex;
    gap: 10px;
}
.v117-intensity-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.v117-intensity-btn:hover {
    border-color: #a5b4fc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79,70,229,0.1);
}
.v117-intensity-btn.selected {
    border-color: #4F46E5;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    box-shadow: 0 4px 15px rgba(79,70,229,0.15);
}
.v117-intensity-emoji {
    font-size: 28px;
    margin-bottom: 6px;
}
.v117-intensity-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}
.v117-intensity-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}
.v117-intensity-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #4F46E5;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
}
.v117-intensity-btn:not(.selected) .v117-intensity-badge {
    display: none;
}


@media (max-width: 768px) {
    .v117-confirm-card,
    .v117-transition-card {
        max-width: 92%;
        padding: 25px 18px;
    }
    .v117-intensity-btns {
        flex-direction: column;
        gap: 8px;
    }
    .v117-intensity-btn {
        flex-direction: row;
        padding: 12px 15px;
        gap: 12px;
    }
    .v117-intensity-emoji {
        font-size: 24px;
        margin-bottom: 0;
    }
    .v117-intensity-name {
        text-align: left;
    }
    .v117-intensity-desc {
        text-align: left;
    }
}




body.study-plan-active .control-deck {
    bottom: 95px !important;
}

@media (max-width: 768px) {
    body.study-plan-active .control-deck {
        bottom: 90px !important;
    }
}


body.has-cruise-bar .control-deck {
    bottom: 95px !important;
}
@media (max-width: 768px) {
    body.has-cruise-bar .control-deck {
        bottom: 90px !important;
    }
}






.cinema-exit-topright {
    position: fixed !important;
    top: 8px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 100001 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,0.6) !important;
    color: #fff !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    cursor: pointer !important;
}
.cinema-exit-topright:hover {
    background: rgba(220,38,38,0.8) !important;
}


#stage-mini-controls {
    position: fixed !important;
    top: 52px !important;  
    right: 12px !important;
    left: auto !important;
    z-index: 100000 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: center !important;
}


body.v120-hide-stage #stage-mini-controls {
    display: none !important;
}
body.v120-hide-stage #stage-selector-expanded {
    display: none !important;
}


#stage-selector-expanded {
    position: fixed !important;
    top: 52px !important;  
    right: 12px !important;
    left: auto !important;
    z-index: 100002 !important;
    display: none;
    flex-direction: column !important;  
    gap: 6px !important;
    align-items: center !important;
    background: rgba(0,0,0,0.85) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    border: 1px solid rgba(165,180,252,0.3) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}
#stage-selector-expanded.visible {
    display: flex !important;  
}


#stage-selector-expanded .stage-select-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(165,180,252,0.4) !important;
    background: rgba(99,102,241,0.2) !important;
    color: #e2e8f0 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    flex-shrink: 0 !important;
}
#stage-selector-expanded .stage-select-btn:hover {
    background: rgba(99,102,241,0.5) !important;
    border-color: #a5b4fc !important;
    transform: scale(1.1) !important;
}
#stage-selector-expanded .stage-select-btn.active {
    background: rgba(251,191,36,0.3) !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
}
#stage-selector-expanded .stage-select-btn.completed {
    background: rgba(74,222,128,0.2) !important;
    border-color: #4ade80 !important;
    color: #4ade80 !important;
}


#stage-selector-expanded .stage-help-btn,
#stage-selector-expanded .stage-skip-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
#stage-selector-expanded .stage-close-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(239,68,68,0.2) !important;
    border: 1px solid rgba(239,68,68,0.4) !important;
    color: #fca5a5 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
#stage-selector-expanded .stage-close-btn:hover {
    background: rgba(239,68,68,0.5) !important;
}


.cinema-ctrl-row-1 {
    display: flex !important;
    gap: 4px !important;
    align-items: center !important;
    padding: 0 8px !important;
}
.cinema-ctrl-row-1 .cinema-btn:nth-child(1),
.cinema-ctrl-row-1 .cinema-btn:nth-child(2),
.cinema-ctrl-row-1 .cinema-btn:nth-child(3) {
    flex: 1 !important;
    min-height: 44px !important;
    font-size: 20px !important;
    border-radius: 8px !important;
}
.cinema-ctrl-row-1 .cinema-fav-btn {
    flex: 0 0 48px !important;
    min-height: 44px !important;
    margin-left: 12px !important;
    font-size: 22px !important;
    border-radius: 8px !important;
}


#v116-cruise-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99990 !important;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
    border-top: 1px solid rgba(165, 180, 252, 0.3) !important;
    padding: 0 !important;
    min-height: 0 !important;
    max-height: 38px !important;
    overflow: hidden !important;
}

.cruise-single-row {
    display: flex !important;
    align-items: center !important;
    height: 36px !important;
    padding: 0 8px !important;
    gap: 6px !important;
    font-size: 12px !important;
    color: #e2e8f0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.cruise-single-row .cruise-s-label {
    font-size: 11px !important;
    color: #a5b4fc !important;
    flex-shrink: 0 !important;
}

.cruise-single-row .cruise-s-step {
    font-size: 11px !important;
    padding: 1px 5px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}
.cruise-single-row .cruise-s-step.done { color: #4ade80; }
.cruise-single-row .cruise-s-step.active { 
    color: #fbbf24; 
    font-weight: bold;
    background: rgba(251,191,36,0.15);
}
.cruise-single-row .cruise-s-step.pending { color: #64748b; }

.cruise-single-row .cruise-s-divider {
    color: #4b5563 !important;
    margin: 0 2px !important;
    flex-shrink: 0 !important;
}


.cruise-single-row .cruise-s-dots {
    display: flex !important;
    gap: 3px !important;
    align-items: center !important;
    flex-shrink: 1 !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

.cruise-single-row .cruise-s-dot {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: none !important;
    font-size: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(100,116,139,0.3) !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.cruise-single-row .cruise-s-dot.done {
    background: rgba(74,222,128,0.2) !important;
    color: #4ade80 !important;
}
.cruise-single-row .cruise-s-dot.active {
    background: rgba(251,191,36,0.3) !important;
    color: #fbbf24 !important;
    font-weight: bold !important;
    box-shadow: 0 0 4px rgba(251,191,36,0.4) !important;
}


.cruise-single-row .cruise-s-complete {
    background: rgba(74,222,128,0.25) !important;
    border: 1px solid rgba(74,222,128,0.4) !important;
    color: #4ade80 !important;
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    font-weight: bold !important;
}
.cruise-single-row .cruise-s-complete:hover {
    background: rgba(74,222,128,0.4) !important;
    color: #fff !important;
}

.cruise-single-row .cruise-s-skip {
    background: rgba(100,116,139,0.3) !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}
.cruise-single-row .cruise-s-skip:hover {
    background: rgba(251,191,36,0.2) !important;
    color: #fbbf24 !important;
}

.cruise-single-row .cruise-s-close {
    background: rgba(239, 68, 68, 0.25) !important;
    border: 1.5px solid rgba(239, 68, 68, 0.5) !important;
    color: #f87171 !important;
    font-size: 10px !important;
    cursor: pointer !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    margin-left: 3px !important;
    line-height: 1 !important;
}
.cruise-single-row .cruise-s-close:hover {
    background: rgba(239, 68, 68, 0.5) !important;
    color: #fff !important;
}


.cruise-parent-row, .cruise-child-row {
    display: none !important;
}


body.has-cruise-bar .control-deck {
    bottom: 42px !important;
}
body.has-cruise-bar .cinema-controls {
    margin-bottom: 0 !important; 
}


@media (max-width: 768px) {
    .cinema-ctrl-row-1 .cinema-btn:nth-child(1),
    .cinema-ctrl-row-1 .cinema-btn:nth-child(2),
    .cinema-ctrl-row-1 .cinema-btn:nth-child(3) {
        min-height: 46px !important;
        font-size: 22px !important;
    }
    .cinema-ctrl-row-1 .cinema-fav-btn {
        min-height: 46px !important;
        margin-left: 16px !important;
    }
    
    #stage-mini-controls {
        top: 50px !important;
        right: 8px !important;
    }
    
    #stage-selector-expanded {
        top: 50px !important;
        right: 8px !important;
    }
    
    #stage-selector-expanded .stage-select-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    
    body.has-cruise-bar .control-deck {
        bottom: 40px !important;
    }
    
    .cruise-single-row {
        font-size: 11px !important;
        padding: 0 4px !important;
        gap: 4px !important;
    }
    .cruise-single-row .cruise-s-dot {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
    }
}






.cinema-exit-topright {
    position: fixed !important;
    top: 8px !important;
    right: 12px !important;
    z-index: 100020 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,0.6) !important;
    color: #ff4444 !important;
    border: 2px solid rgba(255,68,68,0.5) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(4px) !important;
    transition: all 0.2s ease !important;
}
.cinema-exit-topright:hover {
    background: rgba(255,0,0,0.8) !important;
    color: white !important;
    transform: scale(1.1) !important;
}


#stage-mini-controls {
    position: fixed !important;
    top: 56px !important;
    right: 12px !important;
    z-index: 100010 !important;
}


#stage-selector-expanded {
    position: fixed !important;
    top: 56px !important;
    right: 12px !important;
    z-index: 100015 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 8px !important;
    background: rgba(0,0,0,0.85) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(8px) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}

#stage-selector-expanded button {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}
#stage-selector-expanded button:hover {
    background: rgba(138,92,246,0.6) !important;
    border-color: #8a5cf6 !important;
}
#stage-selector-expanded button.active {
    background: #8a5cf6 !important;
    border-color: #a78bfa !important;
}
#stage-selector-expanded button.completed {
    background: rgba(34,197,94,0.3) !important;
    border-color: #22c55e !important;
}


body.v120-hide-stage #stage-mini-controls,
body.v120-hide-stage #stage-selector-expanded {
    display: flex !important;
    visibility: visible !important;
}


.v98-stage-complete {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 300000 !important;
    background: rgba(0, 0, 0, 0.85) !important;
}


.v98-stage-complete .v98-complete-card {
    position: relative !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    margin: auto !important;
}



.cruise-single-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 8px 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.cruise-s-label {
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

.cruise-s-step {
    font-size: 12px !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
}
.cruise-s-step.done { color: #22c55e !important; }
.cruise-s-step.active { 
    color: #a78bfa !important; 
    font-weight: bold !important;
    background: rgba(138,92,246,0.15) !important;
}
.cruise-s-step.pending { color: #666 !important; }

.cruise-s-divider {
    color: #555 !important;
    margin: 0 2px !important;
    flex-shrink: 0 !important;
}

.cruise-s-dot {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,0.2) !important;
    background: rgba(255,255,255,0.05) !important;
    color: #999 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: all 0.2s !important;
}
.cruise-s-dot.done { 
    background: rgba(34,197,94,0.2) !important;
    border-color: #22c55e !important;
    color: #22c55e !important;
}
.cruise-s-dot.active { 
    background: #8a5cf6 !important;
    border-color: #a78bfa !important;
    color: white !important;
}

.cruise-s-dots {
    display: flex !important;
    gap: 3px !important;
    flex-shrink: 1 !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

.cruise-s-complete {
    background: #22c55e !important;
    color: white !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    font-weight: bold !important;
}
.cruise-s-complete:hover { background: #16a34a !important; }

.cruise-s-skip {
    background: rgba(255,255,255,0.1) !important;
    color: #aaa !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 14px !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}
.cruise-s-skip:hover { background: rgba(255,255,255,0.2) !important; }


.cruise-s-close {
    background: rgba(239, 68, 68, 0.25) !important;
    border: 1.5px solid rgba(239, 68, 68, 0.5) !important;
    color: #f87171 !important;
    font-size: 10px !important;
    cursor: pointer !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    margin-left: 3px !important;
    line-height: 1 !important;
}
.cruise-s-close:hover {
    background: rgba(239, 68, 68, 0.5) !important;
    color: #fff !important;
}


@media (max-width: 768px) {
    .cruise-s-dot {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        font-size: 10px !important;
        border-width: 1.5px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .cruise-s-step {
        font-size: 10px !important;
        padding: 1px 3px !important;
    }
    .cruise-single-row {
        gap: 2px !important;
        padding: 4px 6px !important;
    }
    .cruise-s-dots {
        gap: 1px !important;
    }
}






.cinema-exit-topright {
    position: fixed !important;
    top: 8px !important;
    left: 12px !important;
    right: auto !important;
    z-index: var(--z-dict, 9000) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,0.7) !important;
    color: #ff4444 !important;
    border: 2px solid rgba(255,68,68,0.5) !important;
    font-size: 22px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(4px) !important;
    transition: all 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}
.cinema-exit-topright:hover,
.cinema-exit-topright:active {
    background: rgba(255,0,0,0.8) !important;
    color: white !important;
    transform: scale(1.1) !important;
}


#stage-mini-controls {
    position: fixed !important;
    top: 8px !important;
    right: 12px !important;
    z-index: 2147479646 !important;
}


#stage-selector-expanded {
    position: fixed !important;
    top: 56px !important;
    right: 12px !important;
    z-index: 2147479646 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 8px !important;
    background: rgba(0,0,0,0.9) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(8px) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}


body.v123-auto-mode #stage-mini-controls,
body.v123-auto-mode #stage-selector-expanded {
    display: none !important;
    visibility: hidden !important;
}


.cinema-embed {
    position: relative !important;
    z-index: 1 !important;
}
.cinema-embed video {
    position: relative !important;
    z-index: 1 !important;
}


body.v96-cinema-fullscreen .cinema-embed {
    z-index: 10 !important;
}
body.v96-cinema-fullscreen .cinema-embed video {
    z-index: 10 !important;
}


#v116-cruise-bar {
    z-index: 2147479640 !important;
}












body.fav-active .row-en .tap-reveal-overlay,
body.fav-active .row-en:not(.revealed) .tap-reveal-overlay,
body.fav-active .row-interlinear .row-en .tap-reveal-overlay,
body.fav-active .row-interlinear .row-en:not(.revealed) .tap-reveal-overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}
body.fav-active .row-interlinear::after {
    content: none !important;
    display: none !important;
}
body.fav-active .row-en {
    opacity: 1 !important;
}


body.v96-cinema-fullscreen .row-en .tap-reveal-overlay,
body.v96-cinema-fullscreen .row-en:not(.revealed) .tap-reveal-overlay,
body.v96-cinema-fullscreen .row-interlinear .row-en .tap-reveal-overlay,
body.v96-cinema-fullscreen .row-interlinear .row-en:not(.revealed) .tap-reveal-overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}
body.v96-cinema-fullscreen .row-interlinear::after {
    content: none !important;
    display: none !important;
}
body.v96-cinema-fullscreen .row-en {
    opacity: 1 !important;
}


body.cinema-embed-active .row-en .tap-reveal-overlay,
body.cinema-embed-active .row-en:not(.revealed) .tap-reveal-overlay,
body.cinema-embed-active .row-interlinear .row-en .tap-reveal-overlay,
body.cinema-embed-active .row-interlinear .row-en:not(.revealed) .tap-reveal-overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}
body.cinema-embed-active .row-interlinear::after {
    content: none !important;
    display: none !important;
}
body.cinema-embed-active .row-en {
    opacity: 1 !important;
}


body.study-plan-active .row-en .tap-reveal-overlay,
body.study-plan-active .row-en:not(.revealed) .tap-reveal-overlay,
body.v98-auto-cruise .row-en .tap-reveal-overlay,
body.v98-auto-cruise .row-en:not(.revealed) .tap-reveal-overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
body.study-plan-active .row-interlinear::after,
body.v98-auto-cruise .row-interlinear::after {
    content: none !important;
    display: none !important;
}


body.stage-1-recite .row-en .tap-reveal-overlay,
body.stage-1-recite .row-en:not(.revealed) .tap-reveal-overlay {
    display: none !important;
}







body.has-cruise-bar .control-deck {
    bottom: 37px !important; 
}


body.has-cruise-bar.v96-cinema-fullscreen .cinema-embed .cinema-subtitle-area,
body.has-cruise-bar.v96-cinema-fullscreen .cinema-embed .cinema-content {
    padding-bottom: 120px !important; 
}


@media (max-width: 768px) {
    body.has-cruise-bar .control-deck {
        bottom: 37px !important; 
    }
    body.has-cruise-bar.v96-cinema-fullscreen .cinema-embed .cinema-subtitle-area,
    body.has-cruise-bar.v96-cinema-fullscreen .cinema-embed .cinema-content {
        padding-bottom: 110px !important; 
    }
}





@media (min-width: 769px) {
    .cinema-embed .cinema-subtitle-area .wp-en {
        font-size: 1.35em !important;
    }
    .cinema-embed .cinema-subtitle-area .wp-cn,
    .cinema-embed .cinema-subtitle-area .cinema-decode-row {
        font-size: 1.15em !important;
    }
}


@media (min-width: 769px) {
    .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        max-width: 85vw !important;
        width: 85vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}


@media (min-width: 769px) {
    .cruise-parent-close,
    .cruise-s-close {
        display: none !important;
    }
}


body.v96-cinema-fullscreen .cinema-embed .cinema-subtitle-area,
body.cinema-embed-active .cinema-embed .cinema-subtitle-area,
.cinema-embed.v96-fullscreen .cinema-subtitle-area {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}


body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area,
body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area,
body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area,
body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area,
body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area,
body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-en,
.cinema-embed .cinema-subtitle-area .cinema-row-en {

    border-radius: 6px !important;
    padding: 4px 10px !important;
    margin-bottom: 3px !important;
    display: inline-block !important;
    text-shadow: 0 0 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6), 1px 1px 2px rgba(0,0,0,0.9) !important;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-decode-row,
.cinema-embed .cinema-subtitle-area .cinema-decode-row {

    border-radius: 6px !important;
    padding: 3px 8px !important;
    margin-top: 2px !important;
    display: inline-block !important;
    text-shadow: 0 0 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6), 1px 1px 2px rgba(0,0,0,0.9) !important;
}


.cinema-embed .cinema-subtitle-area .wp-en,
.cinema-embed .cinema-subtitle-area .wp-cn {
    text-shadow: 0 0 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.6), 1px 1px 2px rgba(0,0,0,0.9) !important;
}


.v128-stage-intro-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 300000; 
    display: flex;
    align-items: center;
    justify-content: center;
    animation: v128-fade-in 0.3s ease;
}
@keyframes v128-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.v128-stage-intro-card {
    background: linear-gradient(160deg, rgba(15, 20, 55, 0.97), rgba(25, 15, 60, 0.97));
    border-radius: 20px;
    padding: 32px 28px 24px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(100, 80, 200, 0.2);
    border: 1px solid rgba(255,255,255,0.1);
    animation: v128-card-in 0.4s ease;
}
@keyframes v128-card-in {
    from { transform: scale(0.85) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.v128-stage-step {
    font-size: 14px;
    color: #a5b4fc;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.v128-stage-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.v128-stage-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}
.v128-stage-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #c7d2fe;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 8px;
}
.v128-stage-nodisplay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #94a3b8;
    cursor: pointer;
}
.v128-stage-nodisplay input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.v128-stage-start-btn {
    display: block;
    width: 80%;
    margin: 0 auto;
    padding: 14px 24px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.v128-stage-start-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, #818cf8);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}


@media (max-width: 768px) {
    .v128-cruise-reopen {
        position: fixed;
        bottom: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        background: rgba(100, 80, 200, 0.8);
        color: #fff;
        border: none;
        border-radius: 50%;
        font-size: 18px;
        z-index: 6500;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    body.v128-cruise-hidden .v128-cruise-reopen {
        display: flex !important;
    }
    
    body.study-plan-active .v128-cruise-reopen {
        display: none !important;
    }
}
@media (min-width: 769px) {
    .v128-cruise-reopen {
        display: none !important;
    }
}



@media (min-width: 769px) {
    .cinema-embed .cinema-subtitle-area .wp-en,
    .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en,
    body.v96-cinema-fullscreen .cinema-embed .cinema-subtitle-area .wp-en {
        font-size: 1.35em !important;
        min-height: 1.2em !important;
    }
    .cinema-embed .cinema-subtitle-area .wp-cn,
    .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn,
    .cinema-embed .cinema-subtitle-area .cinema-decode-row,
    .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-decode-row {
        font-size: 1.15em !important;
    }
}



body.has-cruise-bar .control-deck {
    bottom: 37px !important;
    transition: bottom 0.2s ease !important;
}

@media (max-width: 768px) {
    body.has-cruise-bar .control-deck {
        bottom: 35px !important;
    }
}





.cinema-embed .cinema-subtitle-area .wp-en,
.cinema-embed .cinema-subtitle-area .wp-cn,
.cinema-embed .cinema-subtitle-area .cinema-decode-row,
.cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en,
.cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn,
.cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-decode-row,
body.v96-cinema-fullscreen .cinema-embed .cinema-subtitle-area .wp-en,
body.v96-cinema-fullscreen .cinema-embed .cinema-subtitle-area .wp-cn {
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0    0  4px rgba(0,0,0,1),
         0    0  8px rgba(0,0,0,0.8),
         0    0 12px rgba(0,0,0,0.5) !important;
}


.cinema-embed .cinema-subtitle-area,
.cinema-embed.v96-fullscreen .cinema-subtitle-area,
body.v96-cinema-fullscreen .cinema-embed .cinema-subtitle-area,
body.cinema-embed-active .cinema-embed .cinema-subtitle-area {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: none !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    padding: 8px 16px !important;
    margin: 0 !important;
}


.cinema-embed .cinema-subtitle-area .cinema-row-en,
.cinema-embed .cinema-subtitle-area .cinema-decode-row {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: block !important;
    padding: 2px 0 !important;
    margin: 0 !important;
}


body.v96-cinema-fullscreen .control-deck,
body.cinema-embed-active .control-deck,
.cinema-embed .control-deck {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}





.v129-guide-btn {
    background: none;
    border: 1px dashed #c4b5fd;
    border-radius: 8px;
    padding: 6px 16px;
    color: #6d28d9;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s;
}
.v129-guide-btn:hover {
    background: rgba(109, 40, 217, 0.08);
    border-color: #8b5cf6;
    color: #5b21b6;
}





body.has-cruise-bar .cinema-controls {
    bottom: 37px !important;
}




body.v96-cinema-fullscreen .cinema-subtitle-area .wp-en,
body.v96-cinema-fullscreen .cinema-subtitle-area .wp-cn,
body.v96-cinema-fullscreen .cinema-subtitle-area .wp-grammar,
body.v96-cinema-fullscreen .cinema-subtitle-area .wp-phrase-cn,
body.v96-cinema-fullscreen .cinema-subtitle-area .row-cn,
body.cinema-embed-active .cinema-subtitle-area .wp-en,
body.cinema-embed-active .cinema-subtitle-area .wp-cn,
body.cinema-embed-active .cinema-subtitle-area .wp-grammar,
body.cinema-embed-active .cinema-subtitle-area .wp-phrase-cn,
body.cinema-embed-active .cinema-subtitle-area .row-cn {
    text-shadow: 
        0 0 3px rgba(0,0,0,0.9),
        0 0 6px rgba(0,0,0,0.7),
        1px 1px 2px rgba(0,0,0,0.8),
        -1px -1px 2px rgba(0,0,0,0.8) !important;
    -webkit-text-stroke: 0.3px rgba(0,0,0,0.2) !important;
}





body.v96-cinema-fullscreen .cinema-subtitle-area,
body.v96-cinema-fullscreen .cinema-subtitle-area *,
body.cinema-embed-active .cinema-subtitle-area,
body.cinema-embed-active .cinema-subtitle-area * {
    text-shadow: 
        0 0 3px rgba(0,0,0,0.9),
        0 0 6px rgba(0,0,0,0.7),
        1px 1px 2px rgba(0,0,0,0.8),
        -1px -1px 2px rgba(0,0,0,0.8) !important;
}


body.v96-cinema-fullscreen .cinema-controls button,
body.cinema-embed-active .cinema-controls button {
    border-radius: 8px !important;
    width: auto !important;
    min-width: 42px !important;
    height: 38px !important;
    padding: 0 10px !important;
    background: rgba(30, 30, 30, 0.75) !important;
    border: none !important;
    font-size: 1.15em !important;
    margin: 0 3px !important;
}
body.v96-cinema-fullscreen .cinema-controls button:hover,
body.cinema-embed-active .cinema-controls button:hover {
    background: rgba(50, 50, 50, 0.9) !important;
}


body.v96-cinema-fullscreen .cinema-controls,
body.cinema-embed-active .cinema-controls {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 12px !important;
}


body.v96-cinema-fullscreen .cinema-controls .cinema-time,
body.v96-cinema-fullscreen .cinema-controls .cinema-progress-text,
body.cinema-embed-active .cinema-controls .cinema-time,
body.cinema-embed-active .cinema-controls .cinema-progress-text {
    text-shadow: 
        0 0 3px rgba(0,0,0,0.9),
        1px 1px 2px rgba(0,0,0,0.8) !important;
    color: #fff !important;
}





.cinema-controls.cinema-controls-compact {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}


.cinema-embed .cinema-sub-en {
    font-size: 1.5em !important;
    line-height: 1.4 !important;
}
.cinema-embed .cinema-sub-decode {
    font-size: 1.1em !important;
    line-height: 1.4 !important;
}
.cinema-embed .cinema-sub-cn {
    font-size: 1.1em !important;
    line-height: 1.4 !important;
}


.cinema-speed.cinema-speed-compact {
    color: #e0e0e0 !important;
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
}
.cinema-speed.cinema-speed-compact option {
    color: #333 !important;
    background: #fff !important;
}



.cinema-ctrl-row-progress {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 4px 16px !important;
    width: 100% !important;
    order: -1 !important; 
}


.cinema-ctrl-row-progress .cinema-progress {
    flex: 1 !important;
    height: 4px !important;
    max-width: 80% !important;
    margin: 0 !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 2px !important;
    outline: none !important;
}

.cinema-ctrl-row-progress .cinema-progress::-webkit-slider-runnable-track {
    height: 4px !important;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 2px !important;
}
.cinema-ctrl-row-progress .cinema-progress::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #a78bfa !important;
    border: 2px solid #fff !important;
    margin-top: -4px !important;
    cursor: pointer !important;
    box-shadow: 0 0 4px rgba(167,139,250,0.5) !important;
}

.cinema-ctrl-row-progress .cinema-progress::-moz-range-track {
    height: 4px !important;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 2px !important;
    border: none !important;
}
.cinema-ctrl-row-progress .cinema-progress::-moz-range-thumb {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #a78bfa !important;
    border: 2px solid #fff !important;
    cursor: pointer !important;
}


.cinema-ctrl-row-progress .cinema-time-current,
.cinema-ctrl-row-progress .cinema-time-total {
    font-size: 12px !important;
    color: rgba(255,255,255,0.7) !important;
    min-width: 35px !important;
    font-family: 'Courier New', monospace !important;
    white-space: nowrap !important;
}
.cinema-ctrl-row-progress .cinema-time-current {
    text-align: right !important;
}
.cinema-ctrl-row-progress .cinema-time-total {
    text-align: left !important;
}


.cinema-controls .cinema-ctrl-row-buttons .cinema-btn:not(.cinema-exit-btn) {
    background: rgba(0,0,0,0.5) !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}
.cinema-controls .cinema-ctrl-row-buttons .cinema-btn:not(.cinema-exit-btn):hover {
    background: rgba(0,0,0,0.7) !important;
    border-color: rgba(255,255,255,0.3) !important;
}


.cinema-sent-info {
    text-align: center !important;
    padding: 2px 0 !important;
    font-size: 11px !important;
    color: rgba(255,255,255,0.5) !important;
}








.cinema-ctrl-row-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: space-evenly !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    padding: 4px 8px !important;
}


.cinema-ctrl-row-buttons .cinema-btn {
    padding: 5px 8px !important;
    font-size: 13px !important;
    min-width: unset !important;
}


.cinema-ctrl-divider {
    color: rgba(255,255,255,0.2) !important;
    font-size: 14px !important;
    margin: 0 2px !important;
    user-select: none !important;
}


.cinema-ctrl-row-1,
.cinema-ctrl-row-2,
.cinema-ctrl-row-3 {
    display: none !important;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10 !important;
}


.cinema-controls.cinema-controls-compact {
    max-height: 100px !important;
}

.cinema-embed.v96-fullscreen .cinema-controls.cinema-controls-compact {
    max-height: none !important;
}







.cinema-embed.v96-fullscreen .cinema-subtitle-area {
    max-width: 100% !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}


.cinema-embed .cinema-subtitle-area .wp-en {
    font-size: 1.3em !important;
}
.cinema-embed .cinema-subtitle-area .wp-cn {
    font-size: 1.05em !important;
}


.cinema-embed .cinema-subtitle-area .word-pair {
    margin: 2px 3px !important;
}


.cinema-embed .cinema-subtitle-area .row-trans-cn {
    display: block !important;
    opacity: 1 !important;
    color: rgba(255,255,255,0.85) !important;
    font-size: 1em !important;
    margin-top: 4px !important;
}


.cinema-embed .cinema-subtitle-area .cinema-sub-decode,
.cinema-embed .cinema-subtitle-area .cinema-sub-cn {
    opacity: 1 !important;
    color: rgba(255,255,255,0.85) !important;
}





.cinema-embed.v96-fullscreen .cinema-subtitle-area,
.v96-fullscreen .cinema-subtitle-area {
    font-size: 18px !important;
}
.cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en,
.v96-fullscreen .cinema-subtitle-area .wp-en {
    font-size: 1.4em !important;
}
.cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn,
.v96-fullscreen .cinema-subtitle-area .wp-cn {
    font-size: 0.9em !important;
}







html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn {
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8), 0 0 2px rgba(0,0,0,1) !important;
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en-kept {
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8), 0 0 2px rgba(0,0,0,1) !important;
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-translate-row,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-trans-wrapper {
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important;
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-cn-label {
    text-shadow: 0 0 4px rgba(0,0,0,0.95), 0 1px 3px rgba(0,0,0,0.8) !important;
}


html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-en {
    text-shadow: none !important; 
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8), 0 0 2px rgba(0,0,0,1) !important; 
}

html body .cinema-embed.v96-fullscreen .cinema-subtitle-area:not(.cinema-mode-4):not(.cinema-mode-1) .cinema-row-en .wp-en {
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8), 0 0 2px rgba(0,0,0,1) !important; 
}


html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn {
    text-shadow: 0 0 6px rgba(251,191,36,0.3), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en-kept {
    text-shadow: 0 0 6px rgba(251,191,36,0.3), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-cn,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-translate-row,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-trans-wrapper {
    text-shadow: 0 0 4px rgba(251,191,36,0.2), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    text-shadow: 0 0 6px rgba(251,191,36,0.3), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}

html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-en {
    text-shadow: none !important; 
}
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    text-shadow: 0 0 6px rgba(251,191,36,0.3), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}


html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn {
    text-shadow: 0 0 6px rgba(34,211,238,0.35), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en-kept {
    text-shadow: 0 0 6px rgba(34,211,238,0.35), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-cn,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-translate-row,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-trans-wrapper {
    text-shadow: 0 0 4px rgba(196,181,253,0.3), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    text-shadow: 0 0 8px rgba(244,114,182,0.5), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}

html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-en {
    text-shadow: none !important; 
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    text-shadow: 0 0 8px rgba(244,114,182,0.5), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}


html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-cn {
    text-shadow: 0 0 8px rgba(0,0,0,0.98), 0 1px 4px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,1) !important; 
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en-kept {
    text-shadow: 0 0 8px rgba(0,0,0,0.98), 0 1px 4px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,1) !important; 
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-row-cn,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-translate-row,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-trans-wrapper {
    text-shadow: 0 0 8px rgba(0,0,0,0.98), 0 1px 4px rgba(0,0,0,0.95) !important; 
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-en {
    text-shadow: 0 0 8px rgba(252,211,77,0.6), 0 2px 4px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,1) !important; 
}

html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-en {
    text-shadow: none !important; 
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    text-shadow: 0 0 8px rgba(252,211,77,0.6), 0 2px 4px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,1) !important; 
}


html body .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-cn {
    text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.7) !important; 
}
html body .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .wp-en {
    text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.7) !important; 
}
html body .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .cinema-translate-row,
html body .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .cinema-trans-wrapper {
    text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.7) !important; 
}


html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-grammar {
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8), 0 0 2px rgba(0,0,0,1) !important; 
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-phrase-cn {
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8), 0 0 2px rgba(0,0,0,1) !important; 
}
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area .wp-punct-cn {
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}







.cinema-subtitle-area {
    overflow: hidden !important;
    overflow-y: hidden !important;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area {
    overflow: hidden !important;
    overflow-y: hidden !important;
    max-height: none !important;
}


@media (max-width: 768px) {
    .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        overflow: hidden !important;
        overflow-y: hidden !important;
        max-height: none !important;
    }
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area {
    padding-left: 4px !important;
    padding-right: 4px !important;
    padding-bottom: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}


.cinema-subtitle-area .cinema-sub-block {
    width: 100% !important;
    max-width: 100% !important;
}

.cinema-subtitle-area .cinema-row-en,
.cinema-subtitle-area .cinema-decode-row {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}







html body .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8), 0 0 2px rgba(0,0,0,1) !important; 
}


html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    text-shadow: 0 0 6px rgba(251,191,36,0.3), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}


html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    text-shadow: 0 0 8px rgba(244,114,182,0.5), 0 1px 4px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.8) !important; 
}


html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-row-en:hover .wp-en {
    text-shadow: 0 0 8px rgba(252,211,77,0.6), 0 2px 4px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,1) !important; 
}




body.has-cruise-bar #v98-progress-bar,
body.v96-cinema-fullscreen #v98-progress-bar,
body.cinema-embed-active #v98-progress-bar {
    display: none !important;
}


.cruise-s-dot, .cruise-stage-dot {
    font-size: 16px !important;
    min-width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 2px !important;
}
.cruise-s-dot.active, .cruise-stage-dot.active {
    transform: scale(1.15);
    filter: brightness(1.3) drop-shadow(0 0 4px rgba(167,139,250,0.6));
}
.cruise-s-dot.done, .cruise-stage-dot.done {
    opacity: 0.5;
    filter: grayscale(0.3);
}

@media (max-width: 768px) {
    .cruise-s-dot, .cruise-stage-dot {
        font-size: 12px !important;
        min-width: 22px !important;
        height: 22px !important;
        line-height: 22px !important;
        padding: 0 1px !important;
    }
    .cruise-s-dot.active, .cruise-stage-dot.active {
        transform: scale(1.1);
    }
}


.cruise-progress-pct {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    margin-left: 6px;
    font-family: monospace;
}






html body.subtitle-theme-a .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    color: #22D3EE !important;
    -webkit-text-fill-color: #22D3EE !important;
}
html body.subtitle-theme-b .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;
}
html body.subtitle-theme-c .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    color: #F59E0B !important;
    -webkit-text-fill-color: #F59E0B !important;
}

html body .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body .cinema-embed .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    color: #22D3EE !important;
    -webkit-text-fill-color: #22D3EE !important;
}





html body.subtitle-theme-a .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    color: #22D3EE !important;
    -webkit-text-fill-color: #22D3EE !important;
}
html body.subtitle-theme-b .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;
}
html body.subtitle-theme-c .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    color: #F59E0B !important;
    -webkit-text-fill-color: #F59E0B !important;
}

html body .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn,
html body .cinema-embed .cinema-subtitle-area .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-cn {
    color: #22D3EE !important;
    -webkit-text-fill-color: #22D3EE !important;
}


.cinema-en-toggle-btn {
    min-width: 52px !important;
    text-align: center !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}




.cinema-embed .cinema-subtitle-area,
.cinema-embed.v96-fullscreen .cinema-subtitle-area,
body.subtitle-theme-a .cinema-embed .cinema-subtitle-area,
body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area,
body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area,
body.subtitle-theme-b .cinema-embed .cinema-subtitle-area,
body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area,
body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area,
body.subtitle-theme-c .cinema-embed .cinema-subtitle-area,
body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area,
body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area,
body.subtitle-theme-d .cinema-embed .cinema-subtitle-area,
body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area,
body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area {
    border: none !important;
    box-shadow: none !important;
    border-top: none !important;
}


html body .cinema-embed .cinema-controls,
html body .cinema-embed.v96-fullscreen .cinema-controls,
html body.v98-auto-cruise .cinema-controls,
html body.v98-auto-cruise .cinema-embed .cinema-controls,
html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls,
html body.v96-stage-locked .cinema-controls,
html body.v96-stage-locked .v96-fullscreen .cinema-controls {
    background: transparent !important;
    border-top: none !important;
    border: none !important;
    box-shadow: none !important;
}


html body .cinema-controls .cinema-btn {
    background: transparent !important;
    color: rgba(255,255,255,0.5) !important;
    border: none !important;
    transition: color 0.2s ease, background 0.2s ease !important;
}
html body .cinema-controls .cinema-btn:hover {
    color: rgba(255,255,255,0.9) !important;
    background: rgba(255,255,255,0.1) !important;
}

html body .cinema-controls .cinema-play-btn {
    background: transparent !important;
    color: rgba(255,255,255,0.6) !important;
    border: none !important;
}
html body .cinema-controls .cinema-play-btn:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.15) !important;
}

html body .cinema-controls .cinema-en-toggle-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.5) !important;
}
html body .cinema-controls .cinema-en-toggle-btn:hover {
    color: rgba(255,255,255,0.9) !important;
    background: rgba(255,255,255,0.1) !important;
}

html body .cinema-controls .cinema-exit-btn {
    background: transparent !important;
    border: none !important;
}

html body .cinema-controls .cinema-speed-compact {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.5) !important;
}
html body .cinema-controls .cinema-speed-compact:hover {
    color: rgba(255,255,255,0.9) !important;
}

html body .cinema-controls .cinema-progress {
    background: rgba(255,255,255,0.15) !important;
}

html body .cinema-controls .cinema-time-current,
html body .cinema-controls .cinema-time-total {
    color: rgba(255,255,255,0.4) !important;
}

html body .cinema-controls .cinema-theme-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.5) !important;
}
html body .cinema-controls .cinema-theme-btn:hover {
    color: rgba(255,255,255,0.9) !important;
}



html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    bottom: 50px !important;
}
html body .cinema-embed.v96-fullscreen:fullscreen .cinema-subtitle-area {
    bottom: 60px !important;
}

html body .v96-fullscreen .cinema-subtitle-area {
    bottom: 50px !important;
}

html body.v96-stage-locked .v96-fullscreen .cinema-subtitle-area {
    bottom: 50px !important;
}

@media (max-width: 768px) {
    html body .v96-fullscreen .cinema-subtitle-area {
        bottom: 40px !important;
    }
}


.cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area {
    margin-top: auto !important;
}







html body .cinema-embed .cinema-subtitle-area,
html body .cinema-embed.v96-fullscreen .cinema-subtitle-area,
html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area,
html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area,
html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area,
html body.subtitle-theme-d .cinema-embed .cinema-subtitle-area,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}


html body .cinema-embed.v96-fullscreen .cinema-controls,
html body.v96-stage-locked .cinema-embed.v96-fullscreen .cinema-controls,
html body.v96-stage-locked .v96-fullscreen .cinema-controls,
html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-controls,
html body.v98-auto-cruise .cinema-controls {
    bottom: 10px !important;
}


html body .cinema-embed.v96-fullscreen .cinema-subtitle-area,
html body .v96-fullscreen .cinema-subtitle-area,
html body.v96-stage-locked .v96-fullscreen .cinema-subtitle-area,
html body.v98-auto-cruise .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    bottom: 36px !important;
}


html body .cinema-embed.v96-fullscreen:fullscreen .cinema-subtitle-area {
    bottom: 46px !important;
}
html body .cinema-embed.v96-fullscreen:fullscreen .cinema-controls {
    bottom: 10px !important;
}


@media (max-width: 768px) {
    html body .v96-fullscreen .cinema-subtitle-area,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        bottom: 32px !important;
    }
    html body .cinema-embed.v96-fullscreen .cinema-controls,
    html body.v98-auto-cruise .cinema-controls {
        bottom: 6px !important;
    }
    html body .v96-fullscreen .cinema-subtitle-area {
        border-radius: 0 !important;
    }
}










html body .cinema-embed .cinema-subtitle-area,
html body .cinema-embed .cinema-subtitle-area *,
html body .cinema-embed .cinema-sub-block,
html body .cinema-embed .cinema-row-en,
html body .cinema-embed .cinema-row-cn,
html body .cinema-embed .cinema-trans-wrapper {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}





@media (max-width: 480px) {
  
  .cinema-subtitle-area {
    padding: 8px 2px 80px !important;
    font-size: 14px !important;
  }
  .cinema-subtitle-area .wp-en {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
  .cinema-subtitle-area .wp-cn {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
  
  .cinema-subtitle-area .cinema-trans-line,
  .cinema-subtitle-area .aurora-trans-text {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  
  .cinema-controls {
    height: auto !important;
    min-height: 60px !important;
    padding: 4px 6px !important;
    gap: 2px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  .cinema-controls .cinema-progress {
    width: 100% !important;
    order: -1 !important;
    margin-bottom: 2px !important;
  }
  .cinema-controls .cinema-progress .cinema-time {
    font-size: 11px !important;
  }
  
  .cinema-controls .cinema-btn,
  .cinema-controls .cinema-ctrl-single,
  .cinema-controls button {
    font-size: 13px !important;
    padding: 2px 3px !important;
    min-width: 24px !important;
    height: 22px !important;
  }
  
  .cinema-controls .cinema-play-btn {
    font-size: 16px !important;
    min-width: 30px !important;
  }
  
  .cinema-controls .cinema-ctrl-separator {
    display: none !important;
  }

  
  .cinema-embed .cinema-header,
  .cinema-embed > h2 {
    font-size: 14px !important;
    padding: 4px 8px !important;
  }
  .cinema-embed .cinema-header button {
    font-size: 12px !important;
    padding: 2px 6px !important;
  }

  
  .recitation-block {
    padding: 6px 8px !important;
    margin-bottom: 6px !important;
  }
  .recitation-block .wp-en {
    font-size: 15px !important;
  }
  .recitation-block .wp-cn {
    font-size: 11px !important;
  }
  .recitation-block .block-translation {
    font-size: 13px !important;
  }
  
  .recitation-block audio {
    height: 28px !important;
    max-width: 100% !important;
  }

  
  #v116-cruise-bar {
    font-size: 12px !important;
    padding: 4px 6px !important;
    gap: 4px !important;
  }
  #v116-cruise-bar button {
    font-size: 11px !important;
    padding: 3px 6px !important;
  }


.cinema-embed {
    padding-bottom: 50px !important;
    max-height: 100vh !important;
    height: 100vh !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
body.cinema-embed-active,
body.v96-cinema-fullscreen {
    background: #0a0a1a !important;
}
.cinema-controls.cinema-controls-compact {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 2px 8px 6px !important; 
    margin-bottom: 0 !important;
}

.cinema-ctrl-row.cinema-ctrl-row-buttons button {
    font-size: 12px !important;
    padding: 4px 6px !important;
    min-width: unset !important;
}
.cinema-ctrl-row.cinema-ctrl-row-progress {
    width: 100% !important;
    margin-bottom: 2px !important;
}
.cinema-ctrl-row.cinema-ctrl-row-buttons {
    width: 100% !important;
    justify-content: center !important;
}

.cinema-subtitle-area {
    justify-content: flex-start !important;
    padding-bottom: 20px !important;
    align-items: flex-start !important;
}
}




.cinema-video-wrap video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}
.cinema-video-wrap video::-webkit-media-controls-enclosure {
    display: none !important;
}
.cinema-video-wrap video::-webkit-media-controls-panel {
    display: none !important;
}
.cinema-video-wrap video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}
.cinema-video-wrap video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.cinema-video-wrap video::-moz-media-controls {
    display: none !important;
}

.cinema-video-wrap {
    overflow: hidden !important;
    position: relative;
}




.cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 4px !important;
    text-align: center !important;
}


.cinema-embed.v96-fullscreen .cinema-subtitle-area {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
}


.cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area .cinema-sub-block {
    flex-shrink: 0;
}


.cinema-embed .flow-cruise-bar {
    z-index: 210 !important;
}



.cinema-subtitle-area::-webkit-scrollbar {
    width: 4px;
}
.cinema-subtitle-area::-webkit-scrollbar-track {
    background: transparent;
}
.cinema-subtitle-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
.cinema-subtitle-area::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cinema-subtitle-area {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}


@media (max-width: 768px) {
    .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area {
        padding-top: 0 !important;
        max-height: 50vh !important;
    }
}

@media (max-width: 480px) {
    .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area {
        padding-top: 0 !important;
        max-height: 55vh !important;
    }
}







.cinema-embed #cinemaPlayMode,
.cinema-embed #cinemaSubMode,
.cinema-embed #cinemaMuteBtn,
.cinema-embed #cinemaFullReveal {
  display: none !important;
}


@media (min-width: 481px) {
  
  .cinema-embed {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    overflow: hidden !important;
    padding-bottom: 50px !important;
    box-sizing: border-box !important;
  }

  
  .cinema-embed .cinema-video-wrap {
    flex: 0 0 auto !important;
    max-height: 45vh !important;
    overflow: hidden !important;
  }

  .cinema-embed .cinema-video-wrap video {
    width: 100% !important;
    max-height: 45vh !important;
    object-fit: contain !important;
  }

  
  .cinema-embed .cinema-sub-area {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    min-height: 0 !important;
  }

  
  .cinema-embed .cinema-controls {
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 100 !important;
    background: rgba(20, 20, 30, 0.95) !important;
    padding: 6px 12px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
  }

  
  .cinema-embed .cinema-progress-wrap {
    position: relative !important;
    z-index: 101 !important;
    padding: 4px 0 !important;
  }

  
  .cinema-embed .cinema-controls .cinema-btn-group {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
  }
}


.cinema-embed:fullscreen {
  display: flex !important;
  flex-direction: column !important;
}

.cinema-embed:fullscreen .cinema-video-wrap {
  flex: 0 0 auto !important;
  max-height: 50vh !important;
}

.cinema-embed:fullscreen .cinema-sub-area {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  justify-content: center !important;
}

.cinema-embed:fullscreen .cinema-controls {
  flex: 0 0 auto !important;
}



@media (min-width: 769px) {
  
  .cinema-playmode-btn,
  .cinema-mode-btn,
  .cinema-mute-btn,
  .cinema-speed,
  .cinema-speed-compact,
  .cinema-speed-indicator,
  .cinema-en-toggle-btn,
  .cinema-flow-btn,
  .cinema-spiral-btn,
  .cinema-link-btn,
  .cinema-loop-btn {
    display: none !important;
  }
}


@media (min-width: 769px) {
  .v96-cinema-fullscreen [id^="cinema-embed-"].v96-fullscreen {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
  }
  .v96-cinema-fullscreen [id^="cinema-embed-"].v96-fullscreen .cinema-video-wrapper {
    flex: 0 0 45vh !important;
    max-height: 45vh !important;
  }
  .v96-cinema-fullscreen [id^="cinema-embed-"].v96-fullscreen .cinema-subtitle-area {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
  }
  .v96-cinema-fullscreen [id^="cinema-embed-"].v96-fullscreen .cinema-controls {
    flex: 0 0 auto !important;
    position: relative !important;
    bottom: auto !important;
  }
}







html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important;
}

html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en {
    color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important;
}


html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important;
}


html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important;
}


html body.subtitle-theme-d .cinema-embed .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-embed .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-embed .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important;
}


html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #00F0FF !important; -webkit-text-fill-color: #00F0FF !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #FF4FA8 !important; -webkit-text-fill-color: #FF4FA8 !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #FFE05A !important; -webkit-text-fill-color: #FFE05A !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en {
    color: #39FF8C !important; -webkit-text-fill-color: #39FF8C !important;
}






html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 {
    border: 1px solid rgba(34, 211, 238, 0.15) !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 {
    border: 1px solid rgba(244, 114, 182, 0.15) !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 {
    border: 1px solid rgba(245, 158, 11, 0.15) !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 {
    border: 1px solid rgba(52, 211, 153, 0.15) !important;
}


html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    border: 1px solid rgba(34, 211, 238, 0.15) !important;
}
html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    border: 1px solid rgba(244, 114, 182, 0.15) !important;
}
html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    border: 1px solid rgba(245, 158, 11, 0.15) !important;
}
html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    border: 1px solid rgba(52, 211, 153, 0.15) !important;
}







html body .cinema-embed .cinema-subtitle-area {
    border-radius: 10px !important;
}


html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(34, 211, 238, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.06), inset 0 1px 0 rgba(34, 211, 238, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-3,
html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(34, 211, 238, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.06), inset 0 1px 0 rgba(34, 211, 238, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}


html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 {
    background: linear-gradient(180deg, rgba(244, 114, 182, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(244, 114, 182, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(244, 114, 182, 0.06), inset 0 1px 0 rgba(244, 114, 182, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-3,
html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    background: linear-gradient(180deg, rgba(244, 114, 182, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(244, 114, 182, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(244, 114, 182, 0.06), inset 0 1px 0 rgba(244, 114, 182, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}


html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(245, 158, 11, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.06), inset 0 1px 0 rgba(245, 158, 11, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-3,
html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(245, 158, 11, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.06), inset 0 1px 0 rgba(245, 158, 11, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}


html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 {
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(52, 211, 153, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.06), inset 0 1px 0 rgba(52, 211, 153, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-2,
html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-3,
html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(52, 211, 153, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.06), inset 0 1px 0 rgba(52, 211, 153, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}







@media (min-width: 769px) {
    html body .cinema-embed .cinema-subtitle-area,
    html body .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area,
    html body .cinema-embed.v96-fullscreen .cinema-subtitle-area,
    html body.v96-cinema-mode .cinema-embed .cinema-subtitle-area,
    html body.v96-cinema-mode .cinema-subtitle-area {
        justify-content: center !important;
        align-items: center !important;
    }
}






@media (max-width: 768px) {
  
  html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
  html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
  html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3,
  html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4,
  html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
  html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-2,
  html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-3,
  html body.subtitle-theme-a .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(34, 211, 238, 0.10) 12%,
      rgba(15, 15, 25, 0.88) 100%
    ) !important;
    border: 1px solid rgba(34, 211, 238, 0.25) !important;
    box-shadow:
      0 0 20px rgba(34, 211, 238, 0.10),
      0 0 40px rgba(34, 211, 238, 0.04),
      inset 0 1px 0 rgba(34, 211, 238, 0.15),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.04)
    !important;
    border-radius: 10px !important;
  }

  
  html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
  html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
  html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3,
  html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4,
  html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
  html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-2,
  html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-3,
  html body.subtitle-theme-b .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(244, 114, 182, 0.10) 12%,
      rgba(15, 15, 25, 0.88) 100%
    ) !important;
    border: 1px solid rgba(244, 114, 182, 0.25) !important;
    box-shadow:
      0 0 20px rgba(244, 114, 182, 0.10),
      0 0 40px rgba(244, 114, 182, 0.04),
      inset 0 1px 0 rgba(244, 114, 182, 0.15),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.04)
    !important;
    border-radius: 10px !important;
  }

  
  html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
  html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
  html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3,
  html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4,
  html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
  html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-2,
  html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-3,
  html body.subtitle-theme-c .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(245, 158, 11, 0.10) 12%,
      rgba(15, 15, 25, 0.88) 100%
    ) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    box-shadow:
      0 0 20px rgba(245, 158, 11, 0.10),
      0 0 40px rgba(245, 158, 11, 0.04),
      inset 0 1px 0 rgba(245, 158, 11, 0.15),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.04)
    !important;
    border-radius: 10px !important;
  }

  
  html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1,
  html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2,
  html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3,
  html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4,
  html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-1,
  html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-2,
  html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-3,
  html body.subtitle-theme-d .cinema-embed:not(.v96-fullscreen) .cinema-subtitle-area.cinema-mode-4 {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(52, 211, 153, 0.10) 12%,
      rgba(15, 15, 25, 0.88) 100%
    ) !important;
    border: 1px solid rgba(52, 211, 153, 0.25) !important;
    box-shadow:
      0 0 20px rgba(52, 211, 153, 0.10),
      0 0 40px rgba(52, 211, 153, 0.04),
      inset 0 1px 0 rgba(52, 211, 153, 0.15),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.04)
    !important;
    border-radius: 10px !important;
  }

  
  .cinema-subtitle-area .stage3-skip-btn {
    position: relative !important;
    z-index: 10 !important;
    margin-top: 8px !important;
    margin-bottom: 4px !important;
  }

}











@media (max-width: 768px) {
  
  .cinema-embed .cinema-subtitle-area {
    border-radius: 0 0 10px 10px !important;
    border-top: none !important;
    overflow: hidden !important;
    
    justify-content: center !important;
    align-items: center !important;
  }

  
  .cinema-embed.v96-fullscreen {
    max-height: 100vh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    padding-bottom: 50px !important;
    box-sizing: border-box !important;
  }
}





@media screen and (max-width: 768px) {
    #v116-cruise-bar {
        bottom: env(safe-area-inset-bottom, 0px) !important;
        padding-bottom: max(4px, env(safe-area-inset-bottom, 4px)) !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .cruise-single-row {
        height: auto !important;
        min-height: 36px !important;
        padding: 4px 8px !important;
        flex-wrap: nowrap !important;
    }
    
    body.has-cruise-bar {
        padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    body.v96-cinema-fullscreen.has-cruise-bar,
    body.cinema-embed-active.has-cruise-bar {
        background: #1e1b4b !important;
    }
}





@media screen and (max-width: 768px) {
    .cinema-embed.v96-fullscreen {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        overflow: hidden !important;
    }
    .cinema-embed.v96-fullscreen .cinema-video-wrap,
    .cinema-embed.v96-fullscreen .cinema-video-wrapper {
        flex: 0 0 auto !important;
        max-height: 35vh !important;
        overflow: hidden !important;
        position: relative !important;
    }
    .cinema-embed.v96-fullscreen video {
        width: 100% !important;
        max-height: 35vh !important;
        object-fit: contain !important;
    }
    .cinema-embed.v96-fullscreen .cinema-subtitle-area {
        flex: 1 1 auto !important;
        position: relative !important;
        bottom: auto !important;
        top: auto !important;
        
        overflow-y: auto !important;
        min-height: 100px !important;
    }
    .cinema-embed.v96-fullscreen .cinema-controls {
        flex: 0 0 auto !important;
        position: relative !important;
        bottom: auto !important;
    }
}



@media (max-width: 768px) {
  
  .cinema-ctrl-row-main {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 8px 12px !important;
  }
  .cinema-ctrl-row-main .cinema-fav-btn {
    margin-right: 0 !important;
    flex: 0 0 44px !important;
  }
  .cinema-ctrl-row-main .cinema-ctrl-divider-main {
    margin: 0 8px !important;
    opacity: 0.3 !important;
    font-size: 18px !important;
  }
  .cinema-ctrl-row-main .cinema-prev-btn {
    flex: 0 0 44px !important;
    margin-right: auto !important;
  }
  .cinema-ctrl-row-main .cinema-play-btn {
    flex: 0 0 56px !important;
    font-size: 28px !important;
    min-width: 56px !important;
    min-height: 44px !important;
  }
  .cinema-ctrl-row-main .cinema-next-btn {
    flex: 0 0 44px !important;
    margin-left: auto !important;
  }

  
  .cinema-ctrl-row-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 4px 12px !important;
    flex-wrap: nowrap !important;
  }
  .cinema-ctrl-row-buttons .cinema-btn {
    flex: 0 0 auto !important;
    min-width: 36px !important;
    font-size: 16px !important;
    padding: 4px 6px !important;
  }

  
  .cinema-fullscreen-btn {
    display: none !important;
  }

  
  .cinema-speed-compact {
    display: none !important;
  }
}


@media (min-width: 769px) {
  .cinema-ctrl-row-main {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  .cinema-ctrl-divider-main {
    margin: 0 6px !important;
    opacity: 0.3 !important;
  }
}




@media (max-width: 768px) {
  
  .cinema-embed[style*="height"] ~ .srt-block,
  .cinema-embed[style*="height"] ~ .doc-card-container,
  .cinema-embed[style*="height"] ~ .doc-card {
    display: none !important;
  }
  
  
  
  @supports (height: 100dvh) {
    .cinema-embed[style*="height"] {
      max-height: 100dvh !important;
    }
  }
}



@media (max-width: 768px) {
  
  .cinema-ctrl-row-buttons {
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
  }

  
  .cinema-ctrl-row-main .cinema-ctrl-divider-main {
    display: none !important;
  }

  
  .cinema-fav-btn {
    transition: opacity 0.2s, filter 0.2s !important;
    font-size: 24px !important;
    min-width: 44px !important;
  }
}


.cinema-fav-btn {
  transition: opacity 0.2s, filter 0.2s !important;
}



.cinema-mobile-trans-toggle {
  display: none !important;
}


@media (max-width: 768px) {
  .cinema-subtitle-area {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  
  
  .cinema-sub-block {
    overflow: hidden !important;
    max-height: 100% !important;
  }
  
  
  .cinema-controls {
    padding: 2px 0 !important;
    flex-shrink: 0 !important;
  }
  
  
  .cinema-ctrl-row {
    margin: 1px 0 !important;
    gap: 4px !important;
  }
  
  
  body.has-cruise-bar .cinema-controls {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}





@media (max-width: 480px) {
    
    .cinema-controls-compact {
        padding: 2px 6px !important;
    }
    
    .cinema-ctrl-row {
        padding: 1px 0 !important;
        gap: 4px !important;
    }
    
    .cinema-ctrl-row-1 {
        gap: 8px !important;
    }
    .cinema-ctrl-row-1 .cinema-btn {
        padding: 3px 8px !important;
        min-width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    .cinema-ctrl-row-1 .cinema-play-btn {
        padding: 3px 12px !important;
        min-width: 36px !important;
        height: 30px !important;
        font-size: 16px !important;
    }
    
    .cinema-ctrl-row-2 .cinema-btn {
        padding: 2px 6px !important;
        min-width: 22px !important;
        height: 22px !important;
        font-size: 11px !important;
    }
    
    .cinema-ctrl-row-3 .cinema-btn {
        padding: 1px 4px !important;
        min-width: 20px !important;
        height: 20px !important;
        font-size: 11px !important;
    }
    .cinema-ctrl-row-3 .cinema-time-current,
    .cinema-ctrl-row-3 .cinema-time-total {
        font-size: 10px !important;
    }
    
}


.cinema-subtitle-area::-webkit-scrollbar {
    width: 3px;
}
.cinema-subtitle-area::-webkit-scrollbar-track {
    background: transparent;
}
.cinema-subtitle-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.cinema-subtitle-area::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cinema-subtitle-area {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}




.sidebar::after {
    content: '';
    display: block;
    min-height: 120px;
    flex-shrink: 0;
}

.session-link:last-child {
    margin-bottom: 100px !important;
}

@media (max-width: 768px) {
    .sidebar::after {
        min-height: 150px;
    }
    .session-link:last-child {
        margin-bottom: 120px !important;
    }
}


@media (max-width: 768px) {
    .cinema-exit-topright {
        top: max(56px, env(safe-area-inset-top, 56px)) !important;
        left: 8px !important;
        right: auto !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        background: rgba(220, 38, 38, 0.7) !important;
        color: white !important;
        border: 2px solid rgba(255,255,255,0.5) !important;
        border-radius: 50% !important;
        z-index: 999999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
        opacity: 0.9 !important;
        visibility: visible !important;
    }
    .cinema-exit-topright:active {
        background: rgba(220, 38, 38, 1) !important;
        transform: scale(0.95) !important;
    }
}


#v116-cruise-bar .cruise-exit-cinema-btn {
    background: rgba(220, 38, 38, 0.6) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    margin-left: 6px !important;
    white-space: nowrap !important;
}
#v116-cruise-bar .cruise-exit-cinema-btn:active {
    background: rgba(220, 38, 38, 1) !important;
}





.cinema-controls,
body.v96-stage-locked .cinema-controls,
body.v96-stage-locked .v96-fullscreen .cinema-controls,
body.v98-auto-cruise .cinema-controls {
    position: relative !important;
    bottom: auto !important;
    flex: 0 0 auto !important;
    padding: 4px 0 2px !important;
    margin: 0 !important;
}


.cinema-embed .cinema-controls .cinema-btn {
    padding: 5px 10px !important;
    font-size: 1em !important;
    margin: 0 !important;
}

.cinema-embed .cinema-controls .cinema-ctrl-row {
    margin: 2px 0 !important;
    gap: 6px !important;
}

.cinema-embed .cinema-controls .cinema-ctrl-row-main {
    margin: 2px 0 !important;
    gap: 4px !important;
}


.cinema-embed .cinema-subtitle-area {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 1 auto !important;
}


body.v96-stage-locked .cinema-subtitle-area,
body.v96-stage-locked .v96-fullscreen .cinema-subtitle-area {
    position: relative !important;
    bottom: auto !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
}


@media (max-width: 768px) {
    .cinema-embed .cinema-controls .cinema-btn {
        padding: 4px 8px !important;
        font-size: 0.9em !important;
    }
    .cinema-embed .cinema-controls .cinema-ctrl-row {
        margin: 1px 0 !important;
        gap: 4px !important;
    }
}



body.v96-cinema-fullscreen .srt-blocks-container,
body.cinema-embed-active .srt-blocks-container,
body.v96-cinema-fullscreen .row-audio,
body.cinema-embed-active .row-audio {
    display: none !important;
}

@media (max-width: 768px) {
    
    body[class*="free"] .cinema-embed .cinema-controls .cinema-ctrl-row-buttons .cinema-btn,
    body.v225-free-cinema .cinema-embed .cinema-controls .cinema-ctrl-row-buttons .cinema-btn {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 16px !important;
        padding: 2px 7px !important;
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        min-width: auto !important;
        min-height: auto !important;
        height: 24px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
    
    body.v225-free-cinema .cinema-embed .cinema-controls .cinema-speed-indicator {
        display: none !important;
    }
    
    body.v225-free-cinema .cinema-embed .cinema-controls .cinema-ctrl-row-buttons .cinema-btn.active {
        background: rgba(99,102,241,0.4) !important;
        border-color: rgba(99,102,241,0.6) !important;
    }
    
    .cinema-embed .cinema-controls .cinema-ctrl-row-main .cinema-btn {
        background: transparent !important;
        border: none !important;
        font-size: 20px !important;
        padding: 2px 8px !important;
        min-width: 36px !important;
        min-height: 32px !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    .cinema-embed .cinema-controls .cinema-ctrl-row-main .cinema-play-btn {
        font-size: 24px !important;
        min-width: 44px !important;
    }
    
    body.v225-free-cinema .cinema-embed .cinema-controls .cinema-ctrl-row-main .cinema-en-toggle-btn {
        min-width: 28px !important;
        max-width: 28px !important;
        font-size: 16px !important;
        padding: 2px 2px !important;
        text-align: center !important;
    }
    
    .cinema-embed .cinema-controls .cinema-ctrl-row-main .cinema-mode-btn {
        background: rgba(118,75,162,0.35) !important;
        border: 1px solid rgba(167,139,250,0.5) !important;
        border-radius: 14px !important;
        font-size: 12px !important;
        padding: 2px 8px !important;
        min-width: auto !important;
        min-height: 24px !important;
        height: 24px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
    
    .cinema-embed .cinema-controls {
        padding: 0 8px !important;
    }
    .cinema-embed .cinema-controls .cinema-ctrl-row {
        margin: 0 !important;
        padding: 1px 0 !important;
        gap: 2px !important;
    }
    .cinema-embed .cinema-controls .cinema-ctrl-row-buttons {
        padding: 1px 2px 2px !important;
        margin: 0 !important;
        gap: 3px !important;
        flex-wrap: nowrap !important;
    }
}



.cruise-s-free {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1px 8px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    height: 22px;
    line-height: 20px;
}
.cruise-s-free.active {
    background: rgba(103, 232, 249, 0.25);
    color: #00F0FF;
    border-color: rgba(103, 232, 249, 0.5);
    box-shadow: 0 0 6px rgba(103, 232, 249, 0.3);
}
.cruise-s-free:active {
    transform: scale(0.95);
}
.cruise-s-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 14px;
    margin: 0 3px;
    user-select: none;
}



.v226-tutorial-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 100000;
    background: transparent;
    transition: opacity 0.3s;
}
.v226-spotlight {
    position: fixed;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
    border: 2px solid #00F0FF;
    z-index: 100001;
    pointer-events: none;
    animation: v226-pulse 1.5s ease-in-out infinite;
}
@keyframes v226-pulse {
    0%, 100% { box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5), 0 0 8px 2px rgba(103, 232, 249, 0.6); }
    50% { box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5), 0 0 16px 4px rgba(103, 232, 249, 0.9); }
}
.v226-tutorial-target {
    position: relative !important;
    z-index: 100001 !important;
}
.v226-bubble {
    position: fixed;
    z-index: 100002;
    background: rgba(15, 20, 35, 0.95);
    border: 1px solid rgba(103, 232, 249, 0.5);
    border-radius: 12px;
    padding: 14px 16px 10px;
    max-width: 260px;
    color: #e8e8e8;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s;
}
.v226-bubble-arrow {
    position: absolute;
    width: 0; height: 0;
    border: 8px solid transparent;
}
.v226-bubble-arrow.arrow-down {
    bottom: -16px;
    left: 30px;
    border-top-color: rgba(103, 232, 249, 0.5);
}
.v226-bubble-arrow.arrow-up {
    top: -16px;
    left: 30px;
    border-bottom-color: rgba(103, 232, 249, 0.5);
}
.v226-bubble-text {
    white-space: pre-line;
    margin-bottom: 10px;
}
.v226-bubble-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}
.v226-bubble-counter {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    flex: 1;
}
.v226-bubble-skip {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}
.v226-bubble-next {
    background: rgba(103, 232, 249, 0.2);
    border: 1px solid rgba(103, 232, 249, 0.5);
    color: #00F0FF;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
    font-weight: bold;
}
.v226-bubble-next:active,
.v226-bubble-skip:active {
    transform: scale(0.95);
}



.v231-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9980;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.v231-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s;
    color: #9ca3af;
}

.v231-tab.active {
    color: #6c5ce7;
}

.v231-tab-icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}

.v231-tab.active .v231-tab-icon {
    stroke-width: 2.2;
}

.v231-tab-label {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}

.v231-tab.active .v231-tab-label {
    font-weight: 600;
}


body.cinema-embed-active .v231-tab-bar,
body.v96-cinema-fullscreen .v231-tab-bar,
body.has-cruise-bar .v231-tab-bar,
body.has-cruise-bar-child-only .v231-tab-bar,
body.dj-active .v231-tab-bar {
    display: none !important;
}

body.stage3-memory-hub-active .v231-tab-bar {
    display: none !important;
}


.v231-me-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px 16px 80px;
}

.v231-me-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0 20px;
}

.v231-me-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #e8f4fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.1);
}

.v231-me-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.v231-me-menu {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-top: 16px;
}

.v231-me-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-size: 15px;
    color: #374151;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.v231-me-item:last-child {
    border-bottom: none;
}

.v231-me-item:active {
    background: #f9fafb;
}

.v231-me-icon {
    margin-right: 12px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.v231-me-badge {
    margin-left: auto;
    font-size: 12px;
    color: #e67e22;
    font-weight: 600;
}

.v231-me-logout {
    color: #ef4444;
}


@media (min-width: 769px) and (pointer: fine) {
    .v231-tab-bar {
        display: none;
    }
}




.v239-avatar-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #a78bfa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.35);
    transition: transform 0.2s ease;
    user-select: none;
}
.v239-avatar-btn:hover {
    transform: scale(1.05);
}
.v239-avatar-btn:active {
    transform: scale(0.95);
}


.v239-avatar-menu {
    position: fixed;
    top: 56px;
    right: 12px;
    width: 240px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 99998;
    overflow: hidden;
    animation: v239MenuSlideDown 0.2s ease-out;
}
@keyframes v239MenuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.v239-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #6c5ce7, #a78bfa);
    color: #fff;
}
.v239-menu-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    font-weight: 700;
    flex-shrink: 0;
}
.v239-menu-username {
    font-weight: 600;
    font-size: 0.95em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.v239-menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 0;
}
.v239-menu-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2c3e50;
    font-size: 0.9em;
    transition: background 0.15s ease;
    user-select: none;
}
.v239-menu-item:hover {
    background: rgba(108, 92, 231, 0.08);
}
.v239-menu-item:active {
    background: rgba(108, 92, 231, 0.15);
}
.v239-menu-icon {
    font-size: 1.1em;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.v239-menu-logout {
    color: #e74c3c;
}
.v239-menu-logout:hover {
    background: rgba(231, 76, 60, 0.08);
}


.v239-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 99997;
    background: transparent;
}


.v239-library-floatbar {
    display: none;
    position: fixed;
    bottom: 60px;  
    left: 8px;
    right: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    padding: 6px;
    gap: 4px;
    z-index: 9999;
}
.v239-fb-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 4px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.72em;
    color: #7f8c8d;
    font-weight: 600;
    transition: all 0.15s ease;
    position: relative;
}
.v239-fb-tab > span:first-child {
    font-size: 1.3em;
    line-height: 1;
}
.v239-fb-tab.active {
    background: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
}
.v239-fb-badge {
    position: absolute;
    top: 4px;
    right: 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.7em;
    padding: 1px 5px;
    border-radius: 8px;
    min-width: 14px;
    line-height: 1.2;
    text-align: center;
    display: none;
}
.v239-fb-badge:not(:empty) {
    display: inline-block;
}


@media (min-width: 769px) {
    .v239-library-floatbar {
        display: none !important;
    }
}




body.v239-library-tab #fav-view,
body.v239-library-tab #history-view {
    padding-bottom: 160px !important;
    box-sizing: border-box;
}


body.v239-library-tab.dj-active .v239-library-floatbar {
    bottom: 0 !important;
}


body.v239-library-tab.dj-active .control-deck {
    bottom: 90px !important;
}


body.v239-library-tab.dj-active .mixer-container {
    padding-bottom: calc(60vh + 80px) !important;
}


.v239-library-floatbar.v239-fb-4zone {
    top: 50px;
    bottom: auto;
    left: 8px;
    right: 8px;
    padding: 5px;
    gap: 3px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
}
.v239-fb-4zone .v239-fb-tab {
    font-size: 0.66em;
    padding: 6px 2px;
    color: #9aa0b0;
}
.v239-fb-4zone .v239-fb-ic { font-size: 1.2em; line-height: 1; }
.v239-fb-4zone .v239-fb-tx { line-height: 1.25; }

.v239-fb-4zone .v239-fb-z-fav.active  { background: #3b82f6; color: #fff; }
.v239-fb-4zone .v239-fb-z-oral.active { background: #10b981; color: #fff; }
.v239-fb-4zone .v239-fb-z-hist.active { background: #f59e0b; color: #fff; }
.v239-fb-4zone .v239-fb-z-ear.active  { background: #a855f7; color: #fff; }
.v239-fb-4zone .v239-fb-badge { top: 1px; right: 6px; }


body.v239-library-tab.lib-4zone:not(.fav-cinema) #fav-view,
body.v239-library-tab.lib-4zone #history-view,
body.v239-library-tab.lib-4zone #oral-view,
body.v239-library-tab.lib-4zone #ear-view {
    padding-top: 58px !important;
    padding-bottom: 80px !important;
    box-sizing: border-box;
}


body.lib-4zone #fav-view > .fav-header-box,
body.lib-4zone #history-view > .fav-header-box {
    display: none !important;
}

body.lib-4zone #fav-view .fav-btn.btn-tinear {
    display: none !important;
}


.lib-zhead {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 12px;
}
.lib-zhead-em { font-size: 20px; }
.lib-zhead-ti { font-size: 16px; font-weight: 700; color: #1f2430; }
.lib-zhead-ct { font-size: 12px; color: #8a90a2; margin-left: auto; }
.lib-zhead-oral .lib-zhead-ti { color: #10b981; }
.lib-zhead-ear  .lib-zhead-ti { color: #a855f7; }


.lib-seg { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.lib-seg-btn {
    flex: 1;
    min-width: 72px;
    text-align: center;
    font-size: 11.5px;
    padding: 7px 8px;
    border-radius: 9px;
    background: #fff;
    color: #6b7280;
    border: 1px solid #eceef4;
    font-weight: 600;
    cursor: pointer;
}
.lib-seg-btn.act { background: #eef0ff; color: #6366f1; border-color: #d6d9ff; }
.lib-ear-actions .lib-ear-hi { color: #a855f7; }


.lib-oral-list { display: flex; flex-direction: column; gap: 8px; }
.lib-oral-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
.lib-oral-row:active { background: #f6faf8; }
.lib-oral-idx {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: 50%;
    background: #d1fae5; color: #059669;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.lib-oral-mn { flex: 1; min-width: 0; }
.lib-oral-ti { font-size: 13.5px; font-weight: 600; color: #1f2430; }
.lib-oral-sub { font-size: 11px; color: #8a90a2; margin-top: 2px; }
.lib-oral-go { color: #10b981; font-size: 15px; flex-shrink: 0; }


.lib-ear-footer { margin-top: 16px; }
.lib-ear-go {
    display: block; width: 100%;
    text-align: center; padding: 12px;
    border-radius: 22px; border: none; cursor: pointer;
    font-weight: 700; font-size: 14px; color: #fff;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}
.lib-ear-hint { text-align: center; font-size: 11px; color: #8a90a2; margin-top: 10px; }



.lib-ear-srcrow { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.lib-ear-src-chip {
    flex: 1 1 auto; min-width: 96px; padding: 9px 10px; border-radius: 12px;
    border: 1px solid #e3e6ef; background: #f6f7fb; color: #8a90a2;
    font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: background .18s, color .18s, border-color .18s;
}
.lib-ear-src-chip b { font-weight: 700; opacity: .85; }
.lib-ear-src-chip.act { background: linear-gradient(180deg, #f3ecff, #e9ddff); color: #7c3aed; border-color: #c4b5fd; }

.lib-ear-fill {
    display: block; width: 100%; margin: 8px 0 4px; padding: 14px 0; border: none; border-radius: 16px;
    background: linear-gradient(135deg, #a855f7, #8b5cf6); color: #fff; font-size: 15px; font-weight: 700;
    cursor: pointer; box-shadow: 0 6px 18px rgba(168, 85, 247, .32);
}
.lib-ear-fill:active { transform: translateY(1px); }

.lib-ear-manual { margin-top: 10px; border-top: 1px solid #eceef4; padding-top: 8px; }
.lib-ear-manual summary { font-size: 13px; color: #8a90a2; cursor: pointer; padding: 6px 2px; }
.lib-ear-manual .lib-ear-go { margin-top: 8px; }


body.ear-drill-v2 .miniflow-panel .mf-step-dots,
body.ear-drill-v2 .miniflow-panel .mf-stage-progress,
body.ear-drill-v2 .miniflow-panel .mf-stage-counter,
body.ear-drill-v2 .miniflow-panel .mf-mode-toggle,
body.ear-drill-v2 .miniflow-panel .mf-stage-actions { display: none !important; }
body.ear-drill-v2 .miniflow-panel .mf-stage-hint { opacity: .72; font-size: 12px; }


.lib-zone-empty { text-align: center; padding: 40px 20px; color: #9aa0b0; }
.lib-zone-empty-ic { font-size: 40px; margin-bottom: 12px; }
.lib-zone-empty-sub { font-size: 12px; color: #c0c4d0; margin-top: 6px; }


body.lib-4zone.fav-list-flow-mode.fav-cinema #v239-library-floatbar {
    display: flex !important;
}

body.lib-4zone.fav-list-flow-mode.fav-cinema #v231-tab-bar {
    display: flex !important;
}

body.lib-4zone.fav-list-flow-mode.fav-cinema .main-content {
    padding-top: 110px !important;
    padding-bottom: 72px !important;
}


@media (min-width: 769px) {
    .v239-library-floatbar.v239-fb-4zone { display: none !important; }
}



.ear-player {
    position: fixed; inset: 0; z-index: 99000;   
    display: flex; flex-direction: column;
    background: radial-gradient(120% 80% at 50% -10%, #1a2030 0%, #0a0c12 55%, #06080d 100%);
    color: #f2f4f8;
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
}
.ear-player .ear-player-top { display: flex; align-items: center; gap: 8px; padding: max(34px, env(safe-area-inset-top)) 16px 10px; }
.ear-player .ear-player-ttl { font-size: 13px; color: #8b93a7; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ear-player .ear-player-ttl b { color: #f2f4f8; }
.ear-player .ear-chip { font-size: 12px; padding: 6px 11px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); color: #f2f4f8; white-space: nowrap; cursor: pointer; }
.ear-player .ear-chip-x { color: #8b93a7; font-weight: 700; }

.ear-player .ear-player-modes { display: flex; gap: 6px; justify-content: center; padding: 4px 16px 10px; }
.ear-player .ear-player-modes button { flex: 1; font-size: 12px; padding: 8px 0; border-radius: 10px; border: 1px solid rgba(255,255,255,.10); background: transparent; color: #8b93a7; cursor: pointer; }
.ear-player .ear-player-modes button.on { background: linear-gradient(180deg, #2a3550, #1d2740); color: #fff; border-color: #3a4a6a; box-shadow: 0 2px 10px rgba(110,168,255,.25); }


.ear-player .ear-player-subs { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 6px 18px; overflow-y: auto; text-align: center; }
.ear-player .ear-subs-inner { width: 100%; max-width: 560px; }

.ear-player .row-interlinear { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 2px 4px; line-height: 1.4; }
.ear-player .row-interlinear .word-pair { display: flex; flex-direction: column; align-items: center; }
.ear-player .row-interlinear .wp-en { font-size: 23px; font-weight: 700; color: #eaf1ff !important; -webkit-text-fill-color: #eaf1ff; visibility: visible !important; opacity: .55; transition: opacity .25s, color .2s; cursor: pointer; padding: 0 1px; }
.ear-player .row-interlinear .wp-en.ear-w-done { opacity: 1; }
.ear-player .row-interlinear .wp-en.ear-w-cur { opacity: 1; color: #fff !important; -webkit-text-fill-color: #fff; text-shadow: 0 0 12px rgba(110,168,255,.5); }
.ear-player .row-interlinear .wp-en.wp-punct { opacity: .85; cursor: default; }
.ear-player .row-interlinear .wp-cn { font-size: 13.5px; color: #ffd479 !important; -webkit-text-fill-color: #ffd479; font-weight: 600; visibility: visible !important; opacity: 1; }
.ear-player .row-interlinear .wp-cn.wp-portal-cn { color: #ffb86b !important; -webkit-text-fill-color: #ffb86b; }
.ear-player .row-interlinear .phrase-pair .phrase-en { display: flex; gap: 3px; }
.ear-player .ear-row-cn { margin-top: 16px; font-size: 14.5px; color: #9fb4d6; }

.ear-player.ear-m-blind .row-interlinear .wp-en { color: transparent !important; -webkit-text-fill-color: transparent; opacity: 1; }
.ear-player.ear-m-blind .row-interlinear .wp-cn,
.ear-player.ear-m-blind .ear-row-cn { visibility: hidden !important; }
.ear-player.ear-m-en .row-interlinear .wp-cn,
.ear-player.ear-m-en .ear-row-cn { visibility: hidden !important; }


.ear-player .row-interlinear::after,
.jt-popup .row-interlinear::after,
.ep-jt-tri .row-interlinear::after { content: none !important; }


.ear-player .ear-player-statebar { display: flex; gap: 8px; justify-content: center; padding: 0 16px 6px; min-height: 22px; }

.ear-player .ear-repeat-row { display: flex; justify-content: center; min-height: 22px; padding: 0 16px 4px; }
.ear-player .ear-repeat-badge { font-size: 11.5px; padding: 4px 12px; border-radius: 20px; background: rgba(110,168,255,.16); border: 1px solid rgba(110,168,255,.4); color: #9fc4ff; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; animation: earRepeatPop .35s ease; }
@keyframes earRepeatPop { 0%{transform:scale(.85);opacity:.4} 100%{transform:scale(1);opacity:1} }
.ear-player .ear-pill { font-size: 11.5px; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); }
.ear-player .ear-pill-pin { color: #ffcc4d; border-color: rgba(255,204,77,.35); }
.ear-player .ear-pill-lv { color: #ff5d6c; border-color: rgba(255,93,108,.35); }


.ear-player .ear-player-ctrls { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 0 4px; }
.ear-player .ear-rd { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.06); color: #fff; font-size: 17px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.ear-player .ear-rd small { font-size: 10.5px; }
.ear-player .ear-rd.on { background: linear-gradient(180deg, #2a3550, #1d2740); border-color: #3a4a6a; color: #9fc4ff; }
.ear-player .ear-rd.ear-play { width: 66px; height: 66px; font-size: 26px; background: radial-gradient(circle at 50% 35%, #ffe27a, #ffcc4d); color: #1a1a1a; border: none; box-shadow: 0 8px 24px rgba(255,204,77,.4); }


.ear-player .ear-player-acts { display: flex; gap: 10px; padding: 10px 16px 6px; }
.ear-player .ear-act { flex: 1; padding: 11px 0; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.06); color: #f2f4f8; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.3; transition: background .2s, color .2s, transform .12s, box-shadow .2s; }
.ear-player .ear-act .ear-act-sub { display: block; font-size: 10.5px; font-weight: 400; opacity: .7; margin-top: 1px; }
.ear-player .ear-act-mark { color: #ff5d6c; border-color: rgba(255,93,108,.3); }

.ear-player .ear-act-pin { display: none !important; }
.ear-player .ear-act-jt { color: #9fc4ff; border-color: rgba(110,168,255,.35); background: linear-gradient(180deg, rgba(110,168,255,.10), rgba(78,140,210,.10)); }
.ear-player .ear-act-jt.ear-act-on { background: linear-gradient(180deg, rgba(110,168,255,.20), rgba(78,140,210,.20)); color: #c5d8ff; }

.ep-jt-tri { padding: 12px; text-align: center; }
.ep-jt-tri .ep-jt-cn { margin-top: 12px; font-size: 14px; color: #6a7080; }

.ear-player .ear-act-mark.ear-act-on { background: rgba(255,93,108,.22); color: #ff8a96; border-color: rgba(255,93,108,.6); box-shadow: 0 0 0 1px rgba(255,93,108,.4) inset; }
.ear-player .ear-act-pin.ear-act-on { background: rgba(255,204,77,.22); color: #ffd970; border-color: rgba(255,204,77,.6); box-shadow: 0 0 0 1px rgba(255,204,77,.45) inset; }

.ear-player .ear-act-pulse { animation: earActPulse .42s ease; }
@keyframes earActPulse { 0% { transform: scale(1); } 35% { transform: scale(.94); } 70% { transform: scale(1.04); } 100% { transform: scale(1); } }

.ear-player .ear-pill-flash { animation: earPillFlash .6s ease; }
@keyframes earPillFlash { 0% { transform: scale(.7); opacity: .2; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }


.ear-player .ear-player-prog { display: flex; align-items: center; gap: 10px; padding: 8px 18px max(18px, env(safe-area-inset-bottom)); font-size: 12px; color: #8b93a7; }
.ear-player .ear-track { flex: 1; height: 5px; border-radius: 5px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.ear-player .ear-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 5px; background: linear-gradient(90deg, #6ea8ff, #54d6a0); transition: width .1s linear; }


.ear-player .ear-done { text-align: center; padding: 40px 20px; }
.ear-player .ear-done-ic { font-size: 48px; margin-bottom: 12px; }
.ear-player .ear-done-ti { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.ear-player .ear-done-sub { font-size: 13px; color: #8b93a7; margin-bottom: 20px; }
.ear-player .ear-done-again { padding: 12px 28px; border-radius: 24px; border: none; background: radial-gradient(circle at 50% 35%, #ffe27a, #ffcc4d); color: #1a1a1a; font-size: 14px; font-weight: 700; cursor: pointer; }


.lib-ear-split { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 14px; }
.lib-ear-btn-b { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(124,92,255,.35);
    background: linear-gradient(135deg, rgba(102,126,234,.16), rgba(118,75,162,.16)); color: var(--text-main, #1a1f2e); font-size: 14.5px; font-weight: 600; cursor: pointer; text-align: left; }
.lib-ear-btn-b .lib-ear-btn-b-ic { font-size: 22px; }
.lib-ear-btn-b .lib-ear-btn-b-sub { display: block; font-size: 11.5px; color: var(--text-sub, #8a90a6); font-weight: 400; margin-top: 1px; }
.lib-ear-btn-b .lib-ear-btn-b-go { margin-left: auto; color: #7c5cff; font-weight: 700; }
.lib-ear-zone-label { font-size: 12px; color: var(--text-sub, #8a90a6); font-weight: 600; margin: 2px 0; padding-left: 2px; }


.lib-ear-progress { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 0 0 12px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(252,211,77,.10), rgba(255,150,80,.10)); border: 1px solid rgba(252,211,77,.30); }
.lib-ear-progress-stat { display: flex; align-items: baseline; gap: 6px; flex: 1; }
.lib-ear-progress-stat b { font-size: 18px; color: #ff7a32; font-weight: 800; }
.lib-ear-progress-stat span { font-size: 12.5px; color: var(--text-sub, #8a90a6); }
.lib-ear-clear-hard { padding: 8px 14px; border-radius: 20px; border: 1px solid rgba(82,196,121,.40); background: linear-gradient(180deg, rgba(82,196,121,.16), rgba(60,170,100,.16));
    color: #2d8050; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.lib-ear-clear-hard:active { transform: scale(.96); }

.lib-ear-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lib-ear-mode { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 14px; border-radius: 14px;
    border: 1px solid rgba(110,168,255,.30); background: rgba(110,168,255,.06); color: var(--text-main, #1a1f2e); font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: left; }
.lib-ear-mode:active { transform: scale(.98); }
.lib-ear-mode-em { font-size: 20px; line-height: 1; }
.lib-ear-mode-ti { font-size: 14px; font-weight: 700; }
.lib-ear-mode-sub { font-size: 11px; color: var(--text-sub, #8a90a6); font-weight: 400; line-height: 1.3; }
.lib-ear-mode-hard { border-color: rgba(255,93,108,.35); background: rgba(255,93,108,.08); }
.lib-ear-mode-combo { border-color: rgba(252,211,77,.35); background: rgba(252,211,77,.08); }
.lib-ear-mode-all { border-color: rgba(110,168,255,.35); background: rgba(110,168,255,.08); }
.lib-ear-mode-fill { border-color: rgba(124,92,255,.35); background: linear-gradient(135deg, rgba(102,126,234,.10), rgba(118,75,162,.10)); }



@media (min-width: 769px) {
    body.v239-library-tab #fav-view,
    body.v239-library-tab #history-view {
        padding-bottom: 0 !important;
    }
    body.v239-library-tab.dj-active .control-deck {
        bottom: 30px !important;
    }
    body.v239-library-tab.dj-active .mixer-container {
        padding-bottom: 60vh !important;
    }
}




.cinema-btn.cinema-prev-btn,
.cinema-btn.cinema-next-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.3em !important;
    background: rgba(108, 92, 231, 0.85) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.4) !important;
}
.cinema-btn.cinema-play-btn {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.5em !important;
    background: linear-gradient(135deg, #6c5ce7, #a78bfa) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.5) !important;
}


.cinema-flow-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;        
    align-self: stretch;   
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    margin: 0 0 6px;
    padding: 8px 12px;
    border: none;
    border-radius: 12px;
    font-size: 1.05em;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    background: linear-gradient(135deg, #6c5ce7, #a78bfa);   
    box-shadow: 0 3px 12px rgba(108, 92, 231, 0.4);
    transition: background .25s, box-shadow .25s;
}
.cinema-flow-main-btn.cn-recall {          
    background: linear-gradient(135deg, #F59E0B, #D97706);
    animation: cinema-flow-recall-pulse 1.8s ease-in-out infinite;
}
@keyframes cinema-flow-recall-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.45); }
    50% { box-shadow: 0 0 0 7px rgba(245,158,11,0); }
}
.cinema-flow-main-btn.cn-compare {         
    background: linear-gradient(135deg, #10B981, #059669);
}
.cinema-flow-main-btn.cn-advance {         
    background: linear-gradient(135deg, #6c5ce7, #a78bfa);
}
.cinema-flow-main-btn.cn-done {            
    background: linear-gradient(135deg, #10B981, #059669);
    animation: cinema-flow-done-pulse 1.6s ease-in-out infinite;
}
@keyframes cinema-flow-done-pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.cinema-btn.cinema-fav-btn.cn-fav-pulse {
    animation: cinema-fav-pulse-v2 1.4s ease-in-out infinite;
    border-color: rgba(251,191,36,.7) !important;
    color: #FBBF24 !important;
}
@keyframes cinema-fav-pulse-v2 {
    0%,100% { box-shadow: 0 0 0 0 rgba(251,191,36,.5); }
    50% { box-shadow: 0 0 0 6px rgba(251,191,36,0); }
}


.cinema-btn.cinema-mode-btn,
.cinema-btn.cinema-en-toggle-btn,
.cinema-btn.cinema-fav-btn,
.cinema-btn.cinema-exit-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1em !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}
.cinema-speed-compact {
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
}


.cinema-btn.cinema-flow-btn,
.cinema-btn.cinema-spiral-btn,
.cinema-btn.cinema-link-btn,
.cinema-btn.cinema-loop-btn,
.cinema-btn.cinema-mute-btn,
.cinema-btn.cinema-fullscreen-btn,
.cinema-btn.cinema-switch-mode-btn {
    height: 32px !important;
    font-size: 0.85em !important;
    font-weight: 400 !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}




.v242-star-btn {
    background: transparent;
    border: 1px solid rgba(108, 92, 231, 0.3);
    color: #6c5ce7;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    margin-right: 6px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.v242-star-btn:hover {
    background: rgba(108, 92, 231, 0.1);
    transform: scale(1.05);
}
.v242-star-btn.rated {
    background: rgba(108, 92, 231, 0.15);
    border-color: #6c5ce7;
}


.v242-speed-badge {
    display: inline-block;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    color: #fff;
    font-weight: 500;
}
.v242-speed-badge:empty {
    display: none;
}
.v242-speed-slow {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}
.v242-speed-medium {
    background: linear-gradient(135deg, #3498db, #2980b9);
}
.v242-speed-fast {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}
.v242-speed-extreme {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}


.v242-star-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.v242-star-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.v242-star-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: v242StarSlideUp 0.25s ease-out;
}
@keyframes v242StarSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.v242-star-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
}
.v242-star-subtitle {
    font-size: 0.8em;
    color: #95a5a6;
    margin-bottom: 18px;
}
.v242-star-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.v242-star-item {
    padding: 10px 12px;
    background: #f5f6fa;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.15s ease;
    text-align: center;
}
.v242-star-item:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: rgba(108, 92, 231, 0.3);
}
.v242-star-item.selected {
    background: rgba(108, 92, 231, 0.15);
    border-color: #6c5ce7;
}
.v242-star-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7em;
    color: #95a5a6;
    padding: 0 4px;
    margin-bottom: 16px;
}
.v242-star-current {
    font-size: 0.85em;
    color: #6c5ce7;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.v242-star-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.v242-star-clear {
    padding: 8px 16px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85em;
}
.v242-star-close {
    padding: 8px 16px;
    background: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85em;
}




.smartear-summary-card {
    position: fixed;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 460px;
    background: rgba(20, 20, 30, 0.92);
    border: 1px solid rgba(108, 92, 231, 0.4);
    border-radius: 16px;
    padding: 12px 16px;
    color: #fff;
    z-index: 9998;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: seSumSlideDown 0.35s ease-out;
}
@keyframes seSumSlideDown {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
.se-sum-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.se-sum-title {
    font-size: 0.9em;
    font-weight: 600;
}
.se-sum-title b {
    color: #a78bfa;
    font-size: 1.1em;
}
.se-sum-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3em;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
}
.se-sum-close:hover {
    color: #fff;
}
.se-sum-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 0.78em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}
.se-sum-reasons b {
    color: #f1c40f;
    font-weight: 700;
}
.se-sum-footer {
    display: flex;
    justify-content: flex-end;
}
.se-sum-info-btn {
    background: rgba(108, 92, 231, 0.3);
    border: 1px solid rgba(108, 92, 231, 0.5);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    cursor: pointer;
}
.se-sum-info-btn:hover {
    background: rgba(108, 92, 231, 0.5);
}


.se-reason-tag {
    display: inline-block;
    font-size: 0.65em;
    padding: 1px 7px;
    border-radius: 8px;
    margin-right: 6px;
    color: #fff;
    font-weight: 500;
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1.4;
    flex-shrink: 0;
}
.se-reason-tag.se-reason-star {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #000;
}
.se-reason-tag.se-reason-fav {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}
.se-reason-tag.se-reason-lookup {
    background: linear-gradient(135deg, #3498db, #2980b9);
}
.se-reason-tag.se-reason-speed {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}


.smartear-onboarding-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
}
.se-ob-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.se-ob-card {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 24px;
    padding: 28px 24px;
    max-width: 380px;
    width: 90%;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: seObSlideUp 0.35s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes seObSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.se-ob-icon {
    font-size: 3em;
    margin-bottom: 8px;
}
.se-ob-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 6px;
    color: #a78bfa;
    background: linear-gradient(135deg, #a78bfa, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.se-ob-subtitle {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}
.se-ob-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    text-align: left;
}
.se-ob-section-title {
    font-size: 0.85em;
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 10px;
    text-align: center;
}
.se-ob-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.9);
}
.se-ob-emoji {
    font-size: 1.1em;
    min-width: 30px;
    text-align: center;
}
.se-ob-tip {
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.78em;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: left;
}
.se-ob-cog {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.4);
    border: 1px solid #6c5ce7;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    margin: 0 2px;
}
.se-ob-confirm {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6c5ce7, #a78bfa);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
}
.se-ob-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
}
.se-ob-skip {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78em;
    cursor: pointer;
    padding: 6px 12px;
}
.se-ob-skip:hover {
    color: rgba(255, 255, 255, 0.8);
}


.v241-stage-info-btn {
    position: absolute !important;
    top: 12px !important;
    right: 56px !important; 
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(108, 92, 231, 0.7) !important;
    color: #fff !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease !important;
}
.v241-stage-info-btn:hover {
    background: rgba(108, 92, 231, 1) !important;
    transform: scale(1.05);
}
.v241-stage-info-btn:active {
    transform: scale(0.95);
}


#library-view {
    padding: 0;
    display: none;
}
#library-view.active {
    display: block;
}
.v239-library-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 16px 0;
}
.v239-library-subtabs {
    display: flex;
    gap: 8px;
}
.v239-library-subtab {
    flex: 1;
    padding: 10px 8px;
    background: #f5f6fa;
    border: none;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85em;
    color: #7f8c8d;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}
.v239-library-subtab.active {
    background: #fff;
    color: #6c5ce7;
    border-bottom: 3px solid #6c5ce7;
}
.v239-subtab-icon {
    font-size: 1.05em;
}
.v239-subtab-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 0.7em;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    display: none;
}
.v239-subtab-badge:not(:empty) {
    display: inline-block;
}
.v239-library-body {
    padding: 12px 0;
}
.v239-library-subview {
    display: none;
}
.v239-library-subview.active {
    display: block;
}


#catalog-view {
    padding: 16px;
    display: none;
}
#catalog-view.active {
    display: block;
}
.v239-catalog-header {
    margin-bottom: 16px;
}
.v239-catalog-progress-card {
    background: linear-gradient(135deg, #f5f6fa, #fff);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(108, 92, 231, 0.1);
}
.v239-catalog-progress-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}
.v239-catalog-progress-bar {
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}
.v239-catalog-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6c5ce7, #a78bfa);
    border-radius: 4px;
    transition: width 0.4s ease;
}
.v239-catalog-progress-stats {
    display: flex;
    gap: 12px;
    font-size: 0.78em;
    color: #7f8c8d;
}
.v239-catalog-progress-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.v239-catalog-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin-bottom: 12px;
    padding-bottom: 4px;
}
.v239-catalog-filter-btn {
    padding: 6px 14px;
    background: #f5f6fa;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 0.8em;
    color: #7f8c8d;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.v239-catalog-filter-btn.active {
    background: #6c5ce7;
    color: #fff;
    border-color: #6c5ce7;
}
.v239-catalog-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.v239-catalog-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.v239-catalog-card:hover {
    border-color: #6c5ce7;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.12);
    transform: translateY(-1px);
}
.v239-catalog-card.is-current {
    background: linear-gradient(135deg, #fff8e1, #fff);
    border-color: #FFC107;
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.2);
}
.v239-catalog-card.is-mastered {
    opacity: 0.85;
}
.v239-catalog-icon {
    font-size: 1.4em;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.v239-catalog-info {
    flex: 1;
    min-width: 0;
}
.v239-catalog-title {
    font-weight: 600;
    font-size: 0.92em;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.v239-catalog-meta {
    font-size: 0.75em;
    color: #95a5a6;
    margin-top: 2px;
}
.v239-catalog-status-badge {
    font-size: 0.72em;
    padding: 3px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}
.v239-catalog-status-badge.status-current {
    background: #FFC107;
    color: #fff;
}
.v239-catalog-status-badge.status-mastered {
    background: #2ecc71;
    color: #fff;
}
.v239-catalog-status-badge.status-learning {
    background: #6c5ce7;
    color: #fff;
}
.v239-catalog-empty {
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
}
.v239-catalog-empty .icon {
    font-size: 3em;
    margin-bottom: 12px;
}





.miniflow-panel {
    display: none;
}

body.cinema-virtual-mode .miniflow-panel {
    position: absolute !important;
    top: 80px !important;       
    left: 0 !important;
    right: 0 !important;
    bottom: 110px !important;   
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(15, 20, 30, 0.97) !important;
    color: #ecf0f1 !important;
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    overflow-y: auto !important;
    z-index: 5000 !important;   
    padding: 14px 18px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    display: block !important;
    -webkit-overflow-scrolling: touch;
}


@media (min-width: 769px) {
    body.cinema-virtual-mode .miniflow-panel {
        top: 0 !important;
        bottom: 92px !important;
        left: auto !important;
        right: 0 !important;
        width: 380px !important;
        border-left: 1px solid rgba(255,255,255,0.08) !important;
        border-top: none !important;
        border-bottom: none !important;
    }
}


.miniflow-panel .mf-close-btn {
    background: rgba(255,255,255,0.08);
    color: #ecf0f1;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    transition: all 0.2s;
}
.miniflow-panel .mf-close-btn:hover {
    background: rgba(248,113,113,0.3);
    color: #fca5a5;
}


.miniflow-panel .mf-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 14px;
}
.miniflow-panel .mf-title {
    font-size: 16px;
    font-weight: 600;
    color: #f1c40f;
}
.miniflow-panel .mf-counter {
    font-size: 13px;
    color: #95a5a6;
}
.miniflow-panel .mf-counter b {
    color: #ecf0f1;
    font-weight: 600;
}
.miniflow-panel .mf-mode-toggle {
    margin-left: auto;
    display: flex;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
}
.miniflow-panel .mf-mode-btn {
    background: transparent;
    color: #95a5a6;
    border: none;
    padding: 5px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.miniflow-panel .mf-mode-btn.active {
    background: #f1c40f;
    color: #1a1a1a;
    font-weight: 600;
}
.miniflow-panel .mf-mode-btn:hover:not(.active) {
    color: #ecf0f1;
}




.miniflow-panel .mf-step-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 0 12px;
}
.miniflow-panel .mf-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    color: #7f8c8d;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.miniflow-panel .mf-dot-active {
    background: #f1c40f;
    color: #1a1a1a;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(241,196,15,0.2);
    transform: scale(1.1);
}
.miniflow-panel .mf-dot-done {
    background: rgba(46,204,113,0.2);
    color: #2ecc71;
    border-color: #27ae60;
}
.miniflow-panel .mf-dot-done::before {
    content: '✓';
}
.miniflow-panel .mf-dot-pending {
    background: rgba(255,255,255,0.06);
    color: #56606a;
}
.miniflow-panel .mf-dot-line {
    flex: 1;
    height: 2px;
    max-width: 18px;
    background: rgba(255,255,255,0.08);
    border-radius: 1px;
}


.miniflow-panel .mf-sentence-bar {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 14px;
    border-left: 3px solid #3498db;
}
.miniflow-panel .mf-sentence-text {
    color: #ecf0f1;
    font-size: 15px;
    line-height: 1.5;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    text-align: center;
}


.miniflow-panel .mf-stage-card {
    background: linear-gradient(135deg, rgba(241,196,15,0.06), rgba(243,156,18,0.04));
    border: 1px solid rgba(241,196,15,0.2);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
}
.miniflow-panel .mf-stage-title {
    color: #f1c40f;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}
.miniflow-panel .mf-stage-hint {
    color: #bdc3c7;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 14px;
}
.miniflow-panel .mf-stage-progress {
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin: 6px 0;
}
.miniflow-panel .mf-stage-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f1c40f, #f39c12);
    width: 0%;
    transition: width 0.4s ease-out;
}
.miniflow-panel .mf-stage-counter {
    text-align: center;
    color: #95a5a6;
    font-size: 12px;
    margin-bottom: 12px;
}
.miniflow-panel .mf-stage-counter b {
    color: #f1c40f;
    font-weight: 700;
    font-size: 14px;
}
.miniflow-panel .mf-stage-actions {
    margin-top: 14px;
}
.miniflow-panel .mf-action-hint {
    text-align: center;
    color: #95a5a6;
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.5;
}
.miniflow-panel .mf-action-ready {
    color: #2ecc71;
    font-weight: 500;
}


.miniflow-panel .mf-decode-body {
    display: none;
    margin-top: 8px;
}
.miniflow-panel .mf-decode-row {
    margin-bottom: 10px;
    padding: 8px 10px;
    background: rgba(0,0,0,0.25);
    border-radius: 6px;
    border-left: 3px solid #f1c40f;
}
.miniflow-panel .mf-decode-row.mf-marked {
    border-left-color: #3498db;
}
.miniflow-panel .mf-decode-row.mf-ipa {
    border-left-color: #9b59b6;
}
.miniflow-panel .mf-decode-row.mf-annot {
    border-left-color: #2ecc71;
}
.miniflow-panel .mf-decode-label {
    display: block;
    font-size: 11px;
    color: #95a5a6;
    margin-bottom: 4px;
    font-weight: 500;
}
.miniflow-panel .mf-decode-value {
    color: #ecf0f1;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}
.miniflow-panel .mf-marked .mf-decode-value {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
}
.miniflow-panel .mf-ipa .mf-decode-value {
    font-family: 'Lucida Sans Unicode', 'Charis SIL', 'Doulos SIL', sans-serif;
    color: #ecf0f1;
}
.miniflow-panel .mf-annot .mf-decode-value {
    font-size: 13px;
    line-height: 1.6;
}


.miniflow-panel.mf-no-decode .mf-ipa .mf-decode-value,
.miniflow-panel.mf-no-decode .mf-annot .mf-decode-value {
    color: #7f8c8d;
    font-style: italic;
}


.miniflow-panel .mf-btn {
    background: #f1c40f;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    margin-top: 8px;
}
.miniflow-panel .mf-btn:first-child {
    margin-top: 0;
}
.miniflow-panel .mf-btn:hover:not(.mf-disabled) {
    background: #f39c12;
    transform: translateY(-1px);
}
.miniflow-panel .mf-btn:active {
    transform: translateY(0);
}
.miniflow-panel .mf-btn.mf-disabled {
    background: rgba(255,255,255,0.08);
    color: #56606a;
    cursor: not-allowed;
}
.miniflow-panel .mf-btn-action {
    background: #2ecc71;
    color: #fff;
}
.miniflow-panel .mf-btn-action:hover:not(.mf-disabled) {
    background: #27ae60;
}
.miniflow-panel .mf-btn-replay {
    background: rgba(255,255,255,0.08);
    color: #ecf0f1;
}
.miniflow-panel .mf-btn-replay:hover {
    background: rgba(255,255,255,0.15);
}
.miniflow-panel .mf-btn-understood {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
    font-size: 15px;
    padding: 13px 16px;
}
.miniflow-panel .mf-btn-understood:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
}


@keyframes mfPlayPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(241,196,15,0.6); }
    50% { box-shadow: 0 0 0 12px rgba(241,196,15,0); }
}
body.cinema-virtual-mode .cinema-play-btn.mf-play-highlight {
    background: #f1c40f !important;
    color: #1a1a1a !important;
    border-radius: 50% !important;
    animation: mfPlayPulse 1.6s ease-out infinite;
    box-shadow: 0 0 0 0 rgba(241,196,15,0.6);
}




body.cinema-virtual-mode .cinema-progress,
body.cinema-virtual-mode .cinema-time-current,
body.cinema-virtual-mode .cinema-time-total,
body.cinema-virtual-mode .cinema-time-divider {
    display: none !important;
}


body.cinema-virtual-mode .cinema-loop-btn,
body.cinema-virtual-mode .cinema-spiral-btn,
body.cinema-virtual-mode .cinema-link-btn,
body.cinema-virtual-mode .cinema-sequential-btn,
body.cinema-virtual-mode .cinema-flow-btn,
body.cinema-virtual-mode .cinema-mode-btn,
body.cinema-virtual-mode .cinema-en-toggle-btn,
body.cinema-virtual-mode .cinema-switch-mode-btn,
body.cinema-virtual-mode .cinema-mute-btn,
body.cinema-virtual-mode .v241-stage-info-btn,
body.cinema-virtual-mode .cinema-ctrl-divider {
    display: none !important;
}


body.cinema-virtual-mode .cinema-subtitle-area {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
}


body.cinema-virtual-mode .cinema-title-bar-213 {
    display: none !important;
}


body.cinema-virtual-mode .cinema-video-wrap video,
body.cinema-virtual-mode .cinema-video-wrapper video {
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}
body.cinema-virtual-mode .cinema-video-wrap,
body.cinema-virtual-mode .cinema-video-wrapper {
    height: 80px !important;
    max-height: 80px !important;
    min-height: 80px !important;
    background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #f1c40f !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    flex: 0 0 80px !important;
    overflow: hidden !important;
    position: relative !important;
}
body.cinema-virtual-mode .cinema-video-wrap::after,
body.cinema-virtual-mode .cinema-video-wrapper::after {
    content: '🎧 智能磨耳模式 · 听力训练中';
    color: #f1c40f;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}


body.cinema-virtual-mode #smartear-summary {
    display: none !important;
}


body.cinema-virtual-mode #stage-mini-controls {
    display: none !important;
}


body.cinema-virtual-mode #v116-cruise-bar {
    display: none !important;
}


body.cinema-virtual-mode .cinema-controls {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 5500 !important;
    background: rgba(15, 20, 30, 0.97) !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding: 8px 0 10px !important;
    height: auto !important;
    flex: 0 0 auto !important;
}


body.cinema-virtual-mode .cinema-ctrl-row-progress {
    display: none !important;
}
body.cinema-virtual-mode .cinema-ctrl-row-buttons {
    display: none !important;
}


.miniflow-panel .mf-playlist {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.miniflow-panel .mf-playlist-toggle {
    background: rgba(255,255,255,0.06);
    color: #ecf0f1;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}
.miniflow-panel .mf-playlist-toggle:hover {
    background: rgba(255,255,255,0.12);
}
.miniflow-panel .mf-playlist-toggle::before {
    content: '▶ ';
    transition: transform 0.2s;
    display: inline-block;
}
.miniflow-panel .mf-playlist.expanded .mf-playlist-toggle::before {
    transform: rotate(90deg);
}
.miniflow-panel .mf-playlist-list {
    display: none;
    max-height: 240px;
    overflow-y: auto;
    margin-top: 8px;
    padding: 4px 0;
}
.miniflow-panel .mf-playlist.expanded .mf-playlist-list {
    display: block;
}
.miniflow-panel .mf-playlist-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #bdc3c7;
    transition: background 0.15s;
}
.miniflow-panel .mf-playlist-item:hover {
    background: rgba(255,255,255,0.05);
}
.miniflow-panel .mf-playlist-item.current {
    background: rgba(241,196,15,0.15);
    color: #f1c40f;
}
.miniflow-panel .mf-playlist-item-icon {
    flex-shrink: 0;
    width: 16px;
}
.miniflow-panel .mf-playlist-item-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.miniflow-panel .mf-playlist-item.done .mf-playlist-item-icon::before { content: '✓'; color: #2ecc71; }
.miniflow-panel .mf-playlist-item.current .mf-playlist-item-icon::before { content: '▶'; }
.miniflow-panel .mf-playlist-item.pending .mf-playlist-item-icon::before { content: '○'; color: #7f8c8d; }




button.miniflow-panel .mf-counter,
.miniflow-panel button.mf-counter {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #95a5a6;
    padding: 6px 12px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.miniflow-panel button.mf-counter:hover {
    background: rgba(241,196,15,0.15);
    border-color: rgba(241,196,15,0.4);
    color: #ecf0f1;
}
.miniflow-panel button.mf-counter b {
    color: #f1c40f;
    font-weight: 700;
}
.miniflow-panel .mf-counter-arrow {
    font-size: 10px;
    opacity: 0.7;
    margin-left: 2px;
}


.miniflow-panel .mf-picked-hint {
    font-size: 11px;
    color: #2ecc71;
    background: rgba(46,204,113,0.12);
    border: 1px solid rgba(46,204,113,0.3);
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 500;
}


.miniflow-panel .mf-bottom-sheet {
    position: fixed;
    inset: 0;
    z-index: 1500;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.miniflow-panel .mf-bottom-sheet.open {
    pointer-events: auto;
}
.miniflow-panel .mf-bottom-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.25s ease;
}

.miniflow-panel .mf-bottom-sheet:not(.open) .mf-bottom-sheet-backdrop {
    pointer-events: none !important;
}

.miniflow-panel .mf-bottom-sheet:not(.open) {
    pointer-events: none !important;
}
.miniflow-panel .mf-bottom-sheet.open .mf-bottom-sheet-backdrop {
    background: rgba(0,0,0,0.55);
}
.miniflow-panel .mf-bottom-sheet-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 70vh;
    background: #1a1f2e;
    border: 1px solid rgba(255,255,255,0.12);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 14px 16px 20px 16px;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.6);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.miniflow-panel .mf-bottom-sheet.open .mf-bottom-sheet-panel {
    transform: translateY(0);
}
.miniflow-panel .mf-bottom-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.miniflow-panel .mf-bottom-sheet-title {
    font-size: 15px;
    font-weight: 600;
    color: #f1c40f;
}
.miniflow-panel .mf-bottom-sheet-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: #ecf0f1;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.miniflow-panel .mf-bottom-sheet-close:hover {
    background: rgba(255,255,255,0.16);
}
.miniflow-panel .mf-bottom-sheet-list {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0;
    -webkit-overflow-scrolling: touch;
}
.miniflow-panel .mf-bottom-sheet-list .mf-playlist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #bdc3c7;
    transition: background 0.15s;
    margin-bottom: 2px;
}
.miniflow-panel .mf-bottom-sheet-list .mf-playlist-item:hover {
    background: rgba(255,255,255,0.06);
}
.miniflow-panel .mf-bottom-sheet-list .mf-playlist-item.current {
    background: rgba(241,196,15,0.18);
    color: #f1c40f;
    font-weight: 600;
}
.miniflow-panel .mf-bottom-sheet-list .mf-playlist-item.done {
    color: #7f8c8d;
}
.miniflow-panel .mf-bottom-sheet-list .mf-playlist-item-icon {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}
.miniflow-panel .mf-bottom-sheet-list .mf-playlist-item-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.stage8-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}
.stage8-modal .stage8-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}
.stage8-modal .stage8-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    background: #1a1f2e;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #ecf0f1;
}
.stage8-modal .stage8-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.stage8-modal .stage8-title {
    font-size: 16px;
    font-weight: 700;
    color: #f1c40f;
}
.stage8-modal .stage8-meta {
    flex: 1 1 0%;
    min-width: 0;                       
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #95a5a6;
    flex-wrap: wrap;
    overflow: hidden;
}
.stage8-modal .stage8-scene {
    color: #3498db;
    white-space: nowrap;                
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 100%;
}
.stage8-modal .stage8-progress { color: #ecf0f1; }
.stage8-modal .stage8-progress b { color: #f1c40f; font-weight: 700; }
.stage8-modal .stage8-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ecf0f1;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.stage8-modal .stage8-close:hover { background: rgba(255, 255, 255, 0.2); }

.stage8-modal .stage8-close.stage8-exit { width: auto; padding: 0 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.stage8-modal .stage8-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    -webkit-overflow-scrolling: touch;
}
.stage8-modal .stage8-scene-desc {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(52, 152, 219, 0.08);
    border-left: 3px solid #3498db;
    border-radius: 4px;
}
.stage8-modal .stage8-question {
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.25);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.stage8-modal .stage8-q-cn {
    font-size: 15px;
    font-weight: 600;
    color: #ecf0f1;
    margin-bottom: 6px;
}
.stage8-modal .stage8-q-en {
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
    line-height: 1.8;
}

.stage8-modal .stage8-q-en .row-interlinear {
    background: rgba(99,102,241,0.06);
    border-radius: 6px;
    padding: 4px 6px;
}
.stage8-modal .stage8-q-en .wp-en {
    color: #d1d5db !important;
    -webkit-text-fill-color: #d1d5db !important;
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    font-style: italic;
    cursor: pointer;
}
.stage8-modal .stage8-q-en .wp-cn {
    color: #8b8fa3 !important;
    -webkit-text-fill-color: #8b8fa3 !important;
}
.stage8-modal .stage8-q-en .wp-en:hover {
    text-decoration: underline;
}

.stage8-modal .stage8-ladder-content .bilingual-wp-area .wp-en:not(.wp-punct) {
    filter: blur(6px) !important;
    color: rgba(200,200,200,0.3) !important;
    -webkit-text-fill-color: rgba(200,200,200,0.3) !important;
}
.stage8-modal .stage8-ladder-switch {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 4px;
}
.stage8-modal .stage8-ladder-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #95a5a6;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}
.stage8-modal .stage8-ladder-btn.active {
    background: #f1c40f;
    color: #1a1a1a;
}
.stage8-modal .stage8-ladder-btn:hover:not(.active) {
    color: #ecf0f1;
    background: rgba(255, 255, 255, 0.06);
}
.stage8-modal .stage8-ladder-content {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    min-height: 120px;
}
.stage8-modal .stage8-ladder-label {
    font-size: 11px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stage8-modal .stage8-audio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.14);
    color: #2ecc71;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.15s;
}
.stage8-modal .stage8-audio-btn:hover { background: rgba(46, 204, 113, 0.28); }
.stage8-modal .stage8-audio-btn.playing {
    background: rgba(46, 204, 113, 0.4);
    animation: stage8AudioPulse 0.9s ease-in-out infinite;
}
@keyframes stage8AudioPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }
.stage8-modal .stage8-english-main {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: #2ecc71;
    padding: 10px 12px;
    background: rgba(46, 204, 113, 0.08);
    border-radius: 6px;
    margin-bottom: 10px;
}
.stage8-modal .stage8-wordbyword {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.stage8-modal .stage8-word {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    min-width: 60px;
}
.stage8-modal .stage8-w-en {
    font-size: 12px;
    color: #3498db;
    font-weight: 600;
}
.stage8-modal .stage8-w-cn {
    font-size: 11px;
    color: #bdc3c7;
    margin-top: 2px;
}
.stage8-modal .stage8-hint {
    font-size: 12px;
    color: #f39c12;
    padding: 6px 10px;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 4px;
}
.stage8-modal .stage8-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.stage8-modal .stage8-kw-chip {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(155, 89, 182, 0.15);
    border: 1px solid rgba(155, 89, 182, 0.4);
    border-radius: 14px;
    font-size: 13px;
    color: #bb8fce;
    font-weight: 600;
}
.stage8-modal .stage8-details { margin-top: 10px; }
.stage8-modal .stage8-details summary {
    cursor: pointer;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 12px;
    color: #95a5a6;
    user-select: none;
}
.stage8-modal .stage8-details summary:hover { color: #ecf0f1; }
.stage8-modal .stage8-details[open] summary {
    color: #f1c40f;
    margin-bottom: 8px;
}
.stage8-modal .stage8-prompt {
    font-size: 14px;
    color: #ecf0f1;
    padding: 10px 12px;
    background: rgba(155, 89, 182, 0.08);
    border-left: 3px solid #9b59b6;
    border-radius: 4px;
    margin-bottom: 10px;
}
.stage8-modal .stage8-ref-item {
    display: flex;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}
.stage8-modal .stage8-ref-tag {
    font-size: 11px;
    color: #95a5a6;
    flex-shrink: 0;
    min-width: 50px;
}
.stage8-modal .stage8-ref-text {
    font-size: 13px;
    color: #2ecc71;
    flex: 1;
}
.stage8-modal .stage8-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}
.stage8-modal .stage8-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.stage8-modal .stage8-btn-primary {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}
.stage8-modal .stage8-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}
.stage8-modal .stage8-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ecf0f1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.stage8-modal .stage8-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}
.stage8-modal .stage8-nav {
    display: flex;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stage8-modal .stage8-nav-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ecf0f1;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.stage8-modal .stage8-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: #f1c40f;
}
.stage8-modal .stage8-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.stage8-modal .stage8-try-area {
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
}
.stage8-modal .stage8-try-area textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    min-height: 70px;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.stage8-modal .stage8-try-hint {
    font-size: 11px;
    color: #95a5a6;
    margin-bottom: 10px;
}
.stage8-modal .stage8-empty {
    text-align: center;
    padding: 30px 20px;
}
.stage8-modal .stage8-empty-icon {
    font-size: 50px;
    margin-bottom: 14px;
}
.stage8-modal .stage8-empty h3 {
    color: #ecf0f1;
    margin-bottom: 8px;
}
.stage8-modal .stage8-empty p {
    color: #95a5a6;
    font-size: 13px;
    margin: 6px 0;
}
.stage8-modal .stage8-empty-hint {
    font-size: 11px;
    color: #7f8c8d !important;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-top: 14px !important;
}
.stage8-modal .stage8-complete {
    text-align: center;
    padding: 30px 20px;
}
.stage8-modal .stage8-complete-icon {
    font-size: 60px;
    margin-bottom: 14px;
}
.stage8-modal .stage8-complete h3 {
    color: #f1c40f;
    margin-bottom: 8px;
    font-size: 18px;
}
.stage8-modal .stage8-complete p {
    color: #95a5a6;
    font-size: 13px;
    margin-bottom: 16px;
}
.stage8-modal .stage8-complete-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #ecf0f1;
    font-size: 14px;
}
.stage8-modal .stage8-complete-stats b {
    color: #2ecc71;
    font-weight: 700;
}




.stage8-modal .stage8-question {
    position: relative;
}
.stage8-modal .stage8-star-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #95a5a6;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.stage8-modal .stage8-star-btn:hover {
    background: rgba(241, 196, 15, 0.18);
    border-color: rgba(241, 196, 15, 0.5);
    color: #f1c40f;
    transform: scale(1.05);
}
.stage8-modal .stage8-star-btn.starred {
    background: rgba(241, 196, 15, 0.25);
    border-color: #f1c40f;
    color: #f1c40f;
}




.stage8-modal .stage8-q-blind-btn {
    position: absolute;
    top: 10px;
    right: 54px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(252, 211, 77, 0.4);
    color: #fbbf24;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.18s;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.stage8-modal .stage8-q-blind-btn:hover {
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.7);
    transform: scale(1.06);
}
.stage8-modal .stage8-q-blind-btn.on {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff8e7;
    border-color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}
.stage8-modal .stage8-q-cn {
    padding-right: 100px;   
}


.stage8-modal .stage8-ladder-blind-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(252, 211, 77, 0.4);
    color: #fbbf24;
    padding: 3px 9px;
    height: 30px;
    border-radius: 14px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.18s;
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}
.stage8-modal .stage8-ladder-blind-btn:hover {
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.7);
    transform: scale(1.05);
}
.stage8-modal .stage8-ladder-blind-btn.on {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff8e7;
    border-color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.45);
}


.stage8-question.stage8-q-blind .stage8-q-en,
.stage8-question.stage8-q-blind .stage8-q-en * {
    filter: blur(7px) !important;
    -webkit-filter: blur(7px) !important;
    opacity: 0.35 !important;
    pointer-events: none !important;
    user-select: none !important;
    transition: filter 0.3s, opacity 0.3s;
}


.stage8-ladder-content.stage8-ladder-blind > * {
    filter: blur(7px) !important;
    -webkit-filter: blur(7px) !important;
    opacity: 0.35 !important;
    pointer-events: none !important;
    user-select: none !important;
    transition: filter 0.3s, opacity 0.3s;
}

.stage8-ladder-content.stage8-ladder-blind .stage8-ladder-label,
.stage8-ladder-content.stage8-ladder-blind .stage8-ladder-label *,
.stage8-ladder-content.stage8-ladder-blind .stage8-audio-btn,
.stage8-ladder-content.stage8-ladder-blind .stage8-jt-btn,
.stage8-ladder-content.stage8-ladder-blind .stage8-ladder-blind-btn {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    user-select: auto !important;
}


.stage8-modal .stage8-backup-intro {
    padding: 12px 14px;
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid rgba(241, 196, 15, 0.3);
    border-radius: 10px;
    margin-bottom: 14px;
    color: #ecf0f1;
    font-size: 13px;
    line-height: 1.6;
}
.stage8-modal .stage8-backup-intro b {
    color: #f1c40f;
    font-size: 16px;
}
.stage8-modal .stage8-backup-hint {
    display: block;
    color: #95a5a6;
    font-size: 12px;
    margin-top: 6px;
}
.stage8-modal .stage8-backup-list {
    margin-bottom: 14px;
    max-height: 50vh;
    overflow-y: auto;
}
.stage8-modal .stage8-backup-item {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}
.stage8-modal .stage8-backup-item.starred {
    background: rgba(241, 196, 15, 0.12);
    border-color: rgba(241, 196, 15, 0.35);
}
.stage8-modal .stage8-backup-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.stage8-modal .stage8-backup-item input[type=checkbox] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: #f1c40f;
    cursor: pointer;
    margin-top: 2px;
}
.stage8-modal .stage8-backup-text {
    flex: 1;
    min-width: 0;
}
.stage8-modal .stage8-backup-q {
    font-size: 13px;
    color: #ecf0f1;
    margin-bottom: 4px;
    line-height: 1.4;
}
.stage8-modal .stage8-backup-ref {
    font-size: 12px;
    color: #2ecc71;
    font-style: italic;
    line-height: 1.4;
}


.v243-oral-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(52, 152, 219, 0.08));
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 14px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.v243-oral-card:hover {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.18), rgba(52, 152, 219, 0.12));
    border-color: rgba(46, 204, 113, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.15);
}
.v243-oral-card-icon {
    font-size: 36px;
    flex-shrink: 0;
}
.v243-oral-card-body {
    flex: 1;
    min-width: 0;
}
.v243-oral-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}
.v243-oral-card-desc {
    font-size: 12px;
    color: #7f8c8d;
    line-height: 1.4;
}
.v243-oral-card-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border: none;
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.v243-oral-card-btn:hover {
    transform: scale(1.05);
}


.v243-oral-picker-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.v243-oral-picker-item {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
}
.v243-oral-picker-item:hover {
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(46, 204, 113, 0.4);
    transform: translateX(2px);
}
.v243-oral-picker-unit {
    font-size: 14px;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 4px;
}
.v243-oral-picker-scene {
    font-size: 13px;
    color: #ecf0f1;
    margin-bottom: 4px;
}
.v243-oral-picker-count {
    font-size: 11px;
    color: #95a5a6;
}


.v243-today-oral {
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.12), rgba(155, 89, 182, 0.08));
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 16px;
    margin: 16px 12px;
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.08);
}
.v243-today-oral-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.v243-today-oral-icon {
    font-size: 22px;
}
.v243-today-oral-title {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
}
.v243-today-oral-badge {
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(46, 204, 113, 0.18);
    color: #27ae60;
    border-radius: 10px;
    font-weight: 600;
}
.v243-today-oral-scene {
    font-size: 13px;
    color: #34495e;
    margin-bottom: 6px;
}
.v243-today-oral-desc {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 14px;
}
.v243-today-oral-actions {
    display: flex;
    gap: 10px;
}
.v243-today-oral-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.v243-today-oral-btn.primary {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}
.v243-today-oral-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}
.v243-today-oral-btn.secondary {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}
.v243-today-oral-btn.secondary:hover {
    background: rgba(52, 152, 219, 0.18);
}


.stage8-modal .stage8-3row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}
.stage8-modal .stage8-row {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid;
}
.stage8-modal .stage8-row-en {
    border-left-color: #3498db;  
}
.stage8-modal .stage8-row-decode {
    border-left-color: #9b59b6;  
}
.stage8-modal .stage8-row-cn {
    border-left-color: #2ecc71;  
}
.stage8-modal .stage8-row-label {
    font-size: 10px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
.stage8-modal .stage8-row-value {
    font-size: 14px;
    line-height: 1.5;
    color: #ecf0f1;
}
.stage8-modal .stage8-row-en .stage8-row-value {
    color: #5dade2;
    font-weight: 500;
}
.stage8-modal .stage8-row-decode .stage8-row-value {
    color: #d2b4de;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}
.stage8-modal .stage8-row-cn .stage8-row-value {
    color: #82e0aa;
}


.stage8-modal .stage8-alt-block {
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}
.stage8-modal .stage8-alt-style {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}




.stage8-rating { flex-direction: column !important; gap: 8px !important; }

.stage8-record-area { text-align:center; padding:12px 0; margin-bottom:8px; border-bottom:1px solid rgba(255,255,255,0.1); }
.stage8-record-btn { background:linear-gradient(135deg,#6366f1,#8b5cf6); color:#fff; border:none; border-radius:25px; padding:12px 28px; font-size:1em; font-weight:600; cursor:pointer; transition:all 0.3s; }
.stage8-record-btn:active { transform:scale(0.95); }
.stage8-record-btn.recording { background:linear-gradient(135deg,#e74c3c,#c0392b); animation:pulse-rec 1s infinite; }
@keyframes pulse-rec { 0%,100%{box-shadow:0 0 0 0 rgba(231,76,60,0.4)} 50%{box-shadow:0 0 0 12px rgba(231,76,60,0)} }
.stage8-record-status { font-size:0.85em; margin-top:8px; min-height:20px; }
.stage8-record-playback { display:flex; gap:8px; justify-content:center; margin-top:10px; flex-wrap:wrap; }
.stage8-playback-btn { background:rgba(255,255,255,0.12); color:#e8e8e8; border:1px solid rgba(255,255,255,0.2); border-radius:20px; padding:8px 16px; font-size:0.85em; cursor:pointer; }
.stage8-playback-btn:active { background:rgba(255,255,255,0.25); }
.stage8-score-btn { background:linear-gradient(135deg,#f39c12,#e67e22); color:#fff; border:none; border-radius:20px; padding:8px 16px; font-size:0.85em; cursor:pointer; font-weight:600; }

.stage8-rating-label { color: rgba(255,255,255,0.7); font-size: 0.85em; text-align: center; margin-bottom: 4px; }
.stage8-rating-btn { width: 100%; padding: 12px 16px; border-radius: 12px; font-size: 0.95em; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; }
.stage8-rating-btn[data-rating="fluent"] { background: linear-gradient(135deg, #22c55e, #16a34a); color: white; }
.stage8-rating-btn[data-rating="stuck"] { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.stage8-rating-btn[data-rating="failed"] { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.stage8-rating-btn:active { transform: scale(0.97); opacity: 0.9; }


.stage8-reveal-detail { margin: 8px 0; }
.stage8-reveal-btn {
    cursor: pointer;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(99,102,241,0.15));
    border: 1px solid rgba(167,139,250,0.3);
    border-radius: 8px;
    color: #a78bfa;
    font-size: 0.8em;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    list-style: none;
}
.stage8-reveal-btn::-webkit-details-marker { display: none; }
.stage8-reveal-btn:hover { background: linear-gradient(135deg, rgba(167,139,250,0.35), rgba(99,102,241,0.35)); border-color: rgba(167,139,250,0.6); }
.stage8-reveal-detail[open] .stage8-reveal-btn { color: rgba(167,139,250,0.5); border-color: rgba(167,139,250,0.2); background: rgba(167,139,250,0.08); }


.flashcard-cleanup-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; background: rgba(0,0,0,0.85); z-index: var(--z-modal, 5000); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.flashcard-card { width: 85%; max-width: 400px; min-height: 250px; background: linear-gradient(135deg, #1e1b4b, #312e81); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: white; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.flashcard-decode { font-size: 1.2em; line-height: 1.8; margin-bottom: 16px; color: #22d3ee; }
.flashcard-en { font-size: 1.1em; line-height: 1.6; color: #a78bfa; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); }
.flashcard-counter { color: rgba(255,255,255,0.5); font-size: 0.85em; margin-bottom: 16px; }
.flashcard-actions { display: flex; gap: 8px; width: 85%; max-width: 400px; margin-top: 16px; }
.flashcard-actions .stage8-rating-btn { flex: 1; padding: 14px 8px; font-size: 0.85em; }
.flashcard-reveal-btn { margin-top: 12px; padding: 8px 20px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 0.9em; }


.cleanup-reminder { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; padding: 10px 16px; border-radius: 12px; margin: 8px 16px; font-size: 0.85em; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cleanup-reminder-icon { font-size: 1.2em; }
.cleanup-reminder-text { flex: 1; }
.cleanup-reminder-action { background: #f59e0b; color: white; border: none; padding: 4px 12px; border-radius: 6px; font-size: 0.8em; cursor: pointer; }
.cleanup-reminder-urgent { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; }


.oral-module-card { background: linear-gradient(135deg, #312e81, #4c1d95); border-radius: 16px; padding: 16px 20px; margin: 12px 0; color: white; display: block !important; }
.oral-module-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.oral-module-card-title { font-size: 1.1em; font-weight: 700; }
.oral-module-card-badge { background: #22c55e; color: white; padding: 2px 8px; border-radius: 10px; font-size: 0.75em; font-weight: 600; }
.oral-module-card-desc { font-size: 0.85em; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.oral-module-card-actions { display: flex; gap: 8px; }
.oral-module-card-btn { flex: 1; padding: 10px; border-radius: 10px; border: none; font-weight: 600; cursor: pointer; font-size: 0.9em; }
.oral-module-card-btn.primary { background: #a78bfa; color: white; }
.oral-module-card-btn.secondary { background: rgba(255,255,255,0.15); color: white; }


.oral-levels-page { padding: 20px; }
.oral-levels-title { font-size: 1.3em; font-weight: 700; color: var(--primary); margin-bottom: 20px; text-align: center; }
.oral-level-item { background: var(--paper); border-radius: 16px; padding: 16px; margin-bottom: 12px; border: 2px solid var(--border); display: flex; align-items: center; gap: 12px; cursor: pointer; transition: all 0.2s; }
.oral-level-item:active { transform: scale(0.98); }
.oral-level-item.locked { opacity: 0.5; cursor: not-allowed; }
.oral-level-item.locked::after { content: '🔒'; position: absolute; right: 16px; font-size: 1.2em; }
.oral-level-icon { font-size: 1.8em; width: 48px; text-align: center; }
.oral-level-info { flex: 1; }
.oral-level-name { font-weight: 700; font-size: 1em; color: var(--text-main); }
.oral-level-desc { font-size: 0.8em; color: var(--text-sub); margin-top: 2px; }
.oral-level-status { font-size: 0.75em; color: var(--success); font-weight: 600; }


.unit-oral-badge { display: inline-block; background: #8b5cf6; color: white; font-size: 0.7em; padding: 1px 6px; border-radius: 8px; margin-left: 4px; vertical-align: middle; }


.qa-question-area { text-align:center; padding:20px 0; }
.qa-type-badge { display:inline-block; background:var(--accent-bg,#f0f8ff); color:var(--accent); padding:4px 12px; border-radius:20px; font-size:0.8em; margin-bottom:12px; }
.qa-question { font-size:1.3em; font-weight:700; color:var(--text-main); line-height:1.5; margin-bottom:8px; }
.qa-question-cn { font-size:0.9em; color:var(--text-sub); }
.qa-thinking-area { text-align:center; padding:20px 0; }
.qa-thinking-hint { color:var(--text-sub); font-size:0.9em; margin-bottom:16px; }
.qa-btn { display:block; width:100%; padding:14px; border:none; border-radius:12px; font-size:1em; font-weight:600; cursor:pointer; transition:all 0.2s; margin-bottom:10px; }
.qa-btn-decode { background:linear-gradient(135deg,#f39c12,#e67e22); color:white; }
.qa-btn-answer { background:linear-gradient(135deg,var(--accent),#6366f1); color:white; }
.qa-btn:active { transform:scale(0.97); }
.qa-decode-area { background:#fef9e7; border-radius:12px; padding:16px; margin-bottom:12px; }
.qa-decode-label { font-size:0.8em; color:#e67e22; font-weight:600; margin-bottom:8px; }
.qa-decode-text { font-size:1.05em; color:#d35400; line-height:1.6; }
.qa-answer-area { background:#eaf2ff; border-radius:12px; padding:16px; margin-bottom:16px; }
.qa-answer-label { font-size:0.8em; color:var(--accent); font-weight:600; margin-bottom:8px; }
.qa-answer-text { font-size:1.15em; color:#2c3e50; font-weight:600; line-height:1.5; margin-bottom:4px; }
.qa-answer-cn { font-size:0.85em; color:var(--text-sub); }
.qa-actions { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }


@media (max-width: 768px) {
    .mobile-header .hamburger { font-size: 22px; font-weight: 700; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.15); cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
    .mobile-header .hamburger:active { background: rgba(255,255,255,0.3); }
}








html body .cinema-embed.cinema-embed .cinema-subtitle-area .phrase-pair {
    background: rgba(103, 232, 249, 0.10) !important;  
    background-color: rgba(103, 232, 249, 0.10) !important;
    background-image: none !important;
    border: 1.5px solid rgba(103, 232, 249, 0.7) !important;
    border-width: 1.5px !important;
    border-style: solid !important;
    border-color: rgba(103, 232, 249, 0.7) !important;
    border-radius: 12px !important;
    padding: 2px 9px !important;
    box-shadow: none !important;
}

html body.subtitle-theme-b .cinema-embed.cinema-embed .cinema-subtitle-area .phrase-pair {
    background: rgba(249, 168, 212, 0.10) !important;
    background-color: rgba(249, 168, 212, 0.10) !important;
    border-color: rgba(249, 168, 212, 0.7) !important;
}
html body.subtitle-theme-c .cinema-embed.cinema-embed .cinema-subtitle-area .phrase-pair {
    background: rgba(252, 211, 77, 0.10) !important;
    background-color: rgba(252, 211, 77, 0.10) !important;
    border-color: rgba(252, 211, 77, 0.7) !important;
}
html body.subtitle-theme-d .cinema-embed.cinema-embed .cinema-subtitle-area .phrase-pair {
    background: rgba(110, 231, 183, 0.10) !important;
    background-color: rgba(110, 231, 183, 0.10) !important;
    border-color: rgba(110, 231, 183, 0.7) !important;
}







.wp-cn.verb-l1 {
    color: #1976d2;
}
body.decode-l3 .wp-cn.verb-l1 {
    border-bottom: 2px solid rgba(25, 118, 210, 0.4);
}


.wp-cn.verb-l2 {
    color: #ef6c00;
    font-style: italic;
}
body.decode-l3 .wp-cn.verb-l2 {
    border-bottom: 2px solid rgba(239, 108, 0, 0.4);
}


.wp-cn.verb-l3 {
    color: #c62828;
    font-weight: 600;
}
body.decode-l3 .wp-cn.verb-l3 {
    border-bottom: 2px solid rgba(198, 40, 40, 0.5);
}


body.decode-l1 .wp-cn.verb-l1,
body.decode-l1 .wp-cn.verb-l2,
body.decode-l1 .wp-cn.verb-l3 {
    border-bottom: none;
    font-style: normal;
    font-weight: inherit;
}


.word-pair.portal-pair {
    border-left-width: 3px;
    border-left-style: solid;
    padding-left: 4px;
    margin-left: 2px;
}
.word-pair.portal-attributive { border-left-color: #1976d2; }   
.word-pair.portal-object      { border-left-color: #388e3c; }   
.word-pair.portal-subject     { border-left-color: #7b1fa2; }   
.word-pair.portal-adverbial   { border-left-color: #f57c00; }   
.word-pair.portal-predicative { border-left-color: #c62828; }   
.word-pair.portal-appositive  { border-left-color: #00796b; }   


.word-pair.portal-pair.portal-role-adverb {
    border-left-style: dashed;
}


body.decode-l1 .word-pair.portal-pair,
body.decode-l2 .word-pair.portal-pair {
    border-left-color: transparent !important;
    padding-left: 0;
    margin-left: 0;
}



.mood-badge {
    display: inline-block;
    position: relative;
    width: 5px;
    align-self: stretch;
    min-height: 1.2em;
    margin: 0 6px 0 0;
    padding: 2px 6px 2px 0;  
    box-sizing: content-box;
    vertical-align: middle;
    border-radius: 2px;
    cursor: pointer;
    background-clip: content-box;  
    
    font-size: 0;
    line-height: 0;
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.mood-badge:hover {
    transform: scaleX(1.6);
    box-shadow: 0 0 6px currentColor;
    opacity: 0.95;
}
.mood-badge:focus {
    outline: 2px solid rgba(99, 102, 241, 0.6);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .mood-badge {
        padding: 4px 10px 4px 0;
    }
}
.mood-badge.mood-interrogative { background: #3f51b5; color: #3f51b5; }
.mood-badge.mood-imperative    { background: #d32f2f; color: #d32f2f; }
.mood-badge.mood-subjunctive   { background: #9c27b0; color: #9c27b0; }


.cinema-embed .mood-badge.mood-interrogative { background: #82b1ff; color: #82b1ff; }
.cinema-embed .mood-badge.mood-imperative    { background: #ff8a80; color: #ff8a80; }
.cinema-embed .mood-badge.mood-subjunctive   { background: #e1bee7; color: #e1bee7; }


.v251-mood-panel-mask { box-sizing: border-box; }
.v251-mood-panel .v251-mood-close:hover { color: #333 !important; }


.wp-en.to-infinitive { border-bottom: 2px solid #1976d2; }   
.wp-en.to-gerund-prep { border-bottom: 2px dotted #ef6c00; }  
.wp-en.to-dir-prep { border-bottom: 2px dashed #388e3c; }     
body.decode-l1 .wp-en.to-infinitive,
body.decode-l1 .wp-en.to-gerund-prep,
body.decode-l1 .wp-en.to-dir-prep {
    border-bottom: none;
}


.cinema-embed .wp-cn.verb-l1 { color: #82b1ff; }
.cinema-embed .wp-cn.verb-l2 { color: #ffb74d; }
.cinema-embed .wp-cn.verb-l3 { color: #ff8a80; }
.cinema-embed .mood-badge.mood-interrogative {
    background: rgba(130, 177, 255, 0.25); color: #82b1ff;
    border-color: rgba(130, 177, 255, 0.5);
}
.cinema-embed .mood-badge.mood-imperative {
    background: rgba(255, 138, 128, 0.25); color: #ff8a80;
    border-color: rgba(255, 138, 128, 0.5);
}
.cinema-embed .mood-badge.mood-subjunctive {
    background: rgba(225, 190, 231, 0.25); color: #e1bee7;
    border-color: rgba(225, 190, 231, 0.5);
}




.v252-mind-strip {
    margin: 8px 12px 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a78bfa 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(108, 92, 231, 0.25);
    font-size: 0.85em;
}
.v252-mind-strip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.v252-mind-strip-row-2 {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.v252-mind-strip-label {
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.v252-mind-strip-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
    flex: 1;
}
.v252-mind-strip-chips > span {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    font-size: 0.85em;
    line-height: 1.3;
}
.v252-mind-strip-detail {
    color: #fff;
    text-decoration: none;
    font-size: 0.85em;
    opacity: 0.95;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.15s ease, opacity 0.15s ease;
}
.v252-mind-strip-detail:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
}



.v252-cta-block {
    padding: 0 16px 10px;
}


.v3-today-adv-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 12px 0 4px;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #e6e8f2;
    border-radius: 13px;
    cursor: pointer;
    font-size: 13.5px;
    color: #5a5f7e;
    box-shadow: 0 3px 12px rgba(80, 90, 160, .05);
    -webkit-tap-highlight-color: transparent;
}
.v3-today-adv-toggle .v3-adv-gear { color: #6c5ce7; font-weight: 700; }
.v3-today-adv-toggle .v3-adv-auto { font-size: 12px; color: #27c08a; margin-left: auto; margin-right: 4px; }
.v3-today-adv-toggle .v3-adv-arr { color: #8a90a8; font-weight: 700; }

.v252-cta-block.v3-adv-collapsed .v252-mode-section-title,
.v252-cta-block.v3-adv-collapsed .v230-mode-row,
.v252-cta-block.v3-adv-collapsed .v252-cta-params-divider,
.v252-cta-block.v3-adv-collapsed .v117-intensity-section,
.v252-cta-block.v3-adv-collapsed .v3-resume-toggle-row,
.v252-cta-block.v3-adv-collapsed .v252-slider-block {
    display: none !important;
}


.v3-adv-modal { position: fixed; inset: 0; z-index: 100000; }
.v3-adv-modal .v3-adv-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5); }
.v3-adv-modal .v3-adv-panel {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 92%; max-width: 560px; max-height: 84vh; overflow-y: auto;
    background: rgba(255,255,255,1); border-radius: 16px; padding: 0 18px 18px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22); -webkit-overflow-scrolling: touch;
}
.v3-adv-modal .v3-adv-head {
    position: sticky; top: 0; z-index: 6; display: flex; justify-content: space-between; align-items: center;
    font-size: 1.1em; font-weight: 700; color: rgba(30,41,59,1); background: rgba(255,255,255,1);
    margin: 0 -18px 12px; padding: 16px 18px 12px; border-bottom: 1px solid rgba(241,245,249,1);
}
.v3-adv-modal .v3-adv-close { background: transparent; border: none; font-size: 18px; color: rgba(148,163,184,1); cursor: pointer; }
.v3-adv-modal .v3-adv-banner {
    font-size: 0.8em; color: rgba(107,114,128,1); line-height: 1.55; background: rgba(248,250,252,1);
    border: 1px solid rgba(226,232,240,1); border-radius: 10px; padding: 8px 10px; margin-bottom: 14px;
}
.v3-adv-modal .v3-adv-group { margin-bottom: 10px; border: 1px solid rgba(124,58,237,.13); border-radius: 12px; overflow: hidden; background: rgba(250,250,255,.6); }
.v3-adv-modal .v3-adv-group-head {
    display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; font-family: inherit;
    padding: 12px 14px; background: rgba(124,58,237,.06); border: none; cursor: pointer;
    font-size: 0.95em; font-weight: 700; color: rgba(49,46,129,1);
}
.v3-adv-modal .v3-adv-group-hint { flex: 1; font-size: 0.72em; font-weight: 400; color: rgba(148,163,184,1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-adv-modal .v3-adv-group-arrow { font-size: 0.85em; color: rgba(124,58,237,.7); transition: transform .18s ease; }
.v3-adv-modal .v3-adv-group:not(.v3-adv-collapsed) .v3-adv-group-arrow { transform: rotate(90deg); }
.v3-adv-modal .v3-adv-group-body { padding: 12px 12px 4px; }
.v3-adv-modal .v3-adv-group.v3-adv-collapsed .v3-adv-group-body { display: none; }
.v3-adv-modal .v3-adv-sec-title { font-size: 0.92em; font-weight: 700; color: rgba(51,65,85,1); margin: 6px 0 2px; }
.v3-adv-modal .v3-adv-sec-sub { font-size: 0.75em; color: rgba(148,163,184,1); line-height: 1.5; margin-bottom: 8px; }
.v3-adv-modal .v3-adv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.v3-adv-modal .v3-adv-chip {
    padding: 8px 14px; font-family: inherit; font-size: 0.88em; font-weight: 600; color: rgba(51,65,85,1);
    background: rgba(255,255,255,1); border: 1.5px solid rgba(226,232,240,1); border-radius: 999px; cursor: pointer;
}
.v3-adv-modal .v3-adv-chip.on { border-color: rgba(124,58,237,.7); background: rgba(124,58,237,.08); color: rgba(76,29,149,1); }
.v3-adv-modal .v3-adv-done {
    display: block; width: 100%; margin-top: 6px; padding: 12px; border: none; border-radius: 12px; cursor: pointer;
    font-family: inherit; font-size: 1em; font-weight: 700; color: rgba(255,255,255,1);
    background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-400));
}
.v3-today-adv-toggle.v3-adv-entry .v3-adv-arr { font-size: 1.1em; }


.v3-resume-toggle-row {
    display: flex; align-items: center; gap: 10px;
    margin: 10px 2px 2px; padding: 10px 12px;
    background: rgba(108,92,231,.06); border: 1px solid rgba(108,92,231,.18); border-radius: 12px;
}
.v3-resume-toggle-row .v3rt-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.v3-resume-toggle-row .v3rt-label { font-size: 14px; font-weight: 700; color: var(--color-gray-800); }
.v3-resume-toggle-row .v3rt-sub { font-size: 11.5px; color: var(--color-gray-500); line-height: 1.4; }
.v3-resume-toggle-row .v3rt-switch {
    flex-shrink: 0; min-width: 48px; padding: 6px 14px; border: none; border-radius: 999px;
    font-size: 13px; font-weight: 800; cursor: pointer; color: white;
    background: var(--color-gray-400); transition: background .15s;
}
.v3-resume-toggle-row .v3rt-switch.on { background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-400)); }


.v252-cta-main {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 18px 56px 16px 22px !important;  
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #5a4fd1 0%, #6c5ce7 50%, #a78bfa 100%);
    color: #fff;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    
    box-shadow:
        0 8px 24px rgba(108, 92, 231, 0.45),
        0 2px 6px rgba(108, 92, 231, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.v252-cta-main:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow:
        0 12px 32px rgba(108, 92, 231, 0.55),
        0 4px 10px rgba(108, 92, 231, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.v252-cta-main:active {
    transform: translateY(1px) scale(0.99);
    box-shadow:
        0 4px 12px rgba(108, 92, 231, 0.4),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
    filter: brightness(0.97);
}

.v252-cta-main::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, transparent 60%);
    pointer-events: none;
}

.v252-cta-main::before {
    content: '▶';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    color: rgba(255, 255, 255, 0.95);
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s ease;
}
.v252-cta-main:hover::before {
    transform: translateY(-50%) translateX(4px);
}
.v252-cta-badge {
    position: absolute;
    top: 12px;
    right: 50px;  
    background: #fff;
    color: #6c5ce7;
    font-size: 0.7em;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.v252-cta-title {
    font-size: 1.25em;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    z-index: 1;
}
.v252-cta-sub-1 {
    font-size: 0.85em;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 3px;
    z-index: 1;
}
.v252-cta-sub-2 {
    font-size: 0.72em;
    opacity: 0.78;
    line-height: 1.4;
    z-index: 1;
}


.v252-mode-section-title {
    margin: 12px 0 6px;
    font-size: 0.78em;
    color: #888;
    font-weight: 600;
    text-align: center;
}


.v252-cta-params-divider {
    margin: 18px 0 4px;
    padding: 8px 14px;
    text-align: center;
    font-size: 0.78em;
    font-weight: 700;
    color: #6c5ce7;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.1), transparent);
    border-radius: 12px;
    border-top: 1px dashed rgba(108, 92, 231, 0.3);
    border-bottom: 1px dashed rgba(108, 92, 231, 0.3);
}


@media (max-width: 768px) {
    .v117-intensity-btns {
        flex-direction: row !important;
        gap: 8px !important;
    }
    .v117-intensity-btn {
        flex-direction: column !important;
        padding: 10px 6px !important;
        gap: 2px !important;
        align-items: center !important;
    }
    .v117-intensity-emoji {
        font-size: 1.4em !important;
        margin-bottom: 4px !important;
    }
    .v117-intensity-name {
        text-align: center !important;
    }
    .v117-intensity-desc {
        text-align: center !important;
    }
}


.v252-study-entry-sub {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.72em;
    color: #888;
    font-weight: 400;
}


.v252-mode-row {
    display: flex !important;
    justify-content: center;
    gap: 8px;
}
.v252-mode-row .v116-mode-btn {
    flex: 1;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 6px !important;
    border-radius: 14px;
    border: 2px solid transparent;
    background: rgba(0, 0, 0, 0.04);
    color: #666;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.3;
    transition: all 0.18s ease;
}
.v252-mode-row .v116-mode-btn.selected {
    border-color: #6c5ce7;
    background: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
}
.v252-mode-row .v252-mode-name {
    font-size: 0.92em;
    font-weight: 700;
}
.v252-mode-row .v252-mode-desc {
    font-size: 0.7em;
    color: #999;
    font-weight: 500;
}
.v252-mode-row .v116-mode-btn.selected .v252-mode-desc {
    color: #8b7dd9;
}


.v252-explain {
    margin: 10px 0 4px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.04), rgba(108, 92, 231, 0.01));
    border: 1px solid rgba(108, 92, 231, 0.12);
    border-radius: 10px;
    overflow: hidden;
}
.v252-explain > summary {
    padding: 9px 12px;
    font-size: 0.8em;
    font-weight: 600;
    color: #6c5ce7;
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s ease;
}
.v252-explain > summary::-webkit-details-marker { display: none; }
.v252-explain > summary::after {
    content: '▾';
    font-size: 0.9em;
    color: #a78bfa;
    transition: transform 0.18s ease;
}
.v252-explain[open] > summary::after {
    transform: rotate(-180deg);
}
.v252-explain > summary:hover {
    background: rgba(108, 92, 231, 0.06);
}
.v252-explain-body {
    padding: 4px 14px 14px;
    font-size: 0.8em;
    color: #555;
    line-height: 1.65;
    border-top: 1px dashed rgba(108, 92, 231, 0.15);
}
.v252-explain-body p {
    margin: 10px 0 8px;
}
.v252-explain-body b {
    color: #2c3e50;
    font-weight: 700;
}
.v252-explain-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 8px 0;
}
.v252-explain-col {
    background: #fff;
    border: 1px solid rgba(108, 92, 231, 0.08);
    border-radius: 8px;
    padding: 8px 10px;
}
.v252-explain-col-title {
    font-weight: 700;
    font-size: 0.95em;
    color: #6c5ce7;
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(108, 92, 231, 0.15);
}
.v252-explain-col ul {
    margin: 0;
    padding-left: 14px;
    font-size: 0.88em;
    color: #666;
}
.v252-explain-col li {
    margin: 3px 0;
    line-height: 1.55;
}
.v252-explain-flow {
    background: #fff;
    border: 1px solid rgba(108, 92, 231, 0.1);
    border-radius: 8px;
    padding: 10px 12px;
    margin: 8px 0;
}
.v252-explain-flow-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.92em;
    margin-bottom: 6px;
}
.v252-explain-flow ol {
    margin: 0;
    padding-left: 18px;
    color: #555;
}
.v252-explain-flow li {
    margin: 4px 0;
    line-height: 1.6;
}
.v252-explain-tip {
    background: rgba(255, 193, 7, 0.08);
    border-left: 3px solid #ffc107;
    border-radius: 0 8px 8px 0;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 0.85em;
    color: #7d6600;
    line-height: 1.5;
}


@media (max-width: 360px) {
    .v252-explain-compare {
        grid-template-columns: 1fr;
    }
}


.v252-slider-block {
    margin-top: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.06), rgba(46, 204, 113, 0.02));
    border: 1px solid rgba(46, 204, 113, 0.18);
    border-radius: 10px;
}
.v252-slider-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.92em;
    margin-bottom: 4px;
}
.v252-slider-hint {
    font-size: 0.78em;
    color: #777;
    line-height: 1.5;
    margin-bottom: 10px;
}
.v252-slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.v252-slider {
    flex: 1;
    height: 6px;
    border-radius: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #6c5ce7 0%, #a78bfa 100%);
    outline: none;
    cursor: pointer;
}
.v252-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px; height: 20px;
    background: #fff;
    border: 3px solid #6c5ce7;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.35);
    transition: transform 0.1s ease;
}
.v252-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.v252-slider::-moz-range-thumb {
    width: 20px; height: 20px;
    background: #fff;
    border: 3px solid #6c5ce7;
    border-radius: 50%;
    cursor: pointer;
}
.v252-slider-value {
    font-weight: 800;
    font-size: 1.3em;
    color: #6c5ce7;
    min-width: 34px;
    text-align: center;
}
.v252-slider-unit {
    font-size: 0.82em;
    color: #888;
}
.v252-slider-recommend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.v252-slider-rec-label {
    font-size: 0.8em;
    color: #666;
    font-weight: 600;
}
.v252-slider-rec-btn {
    padding: 4px 10px;
    font-size: 0.78em;
    font-weight: 600;
    border: 1px solid rgba(108, 92, 231, 0.35);
    background: #fff;
    color: #6c5ce7;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.v252-slider-rec-btn:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: #6c5ce7;
}
.v252-slider-note {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(255, 193, 7, 0.08);
    border-left: 3px solid #ffc107;
    border-radius: 0 8px 8px 0;
    font-size: 0.78em;
    color: #7d6600;
    line-height: 1.5;
}


.v252-philosophy {
    margin-top: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #fff5f0 0%, #f0f9ff 100%);
    border: 1px solid rgba(108, 92, 231, 0.18);
    border-radius: 12px;
}
.v252-philosophy-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.95em;
    margin-bottom: 6px;
}
.v252-philosophy-intro {
    font-size: 0.82em;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.55;
}
.v252-philosophy-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
.v252-philosophy-col {
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.v252-philosophy-col-quick {
    border-top: 3px solid #ff9800;
}
.v252-philosophy-col-full {
    border-top: 3px solid #6c5ce7;
}
.v252-philosophy-col-title {
    font-weight: 700;
    font-size: 0.92em;
    color: #2c3e50;
    margin-bottom: 6px;
}
.v252-philosophy-col-quick .v252-philosophy-col-title {
    color: #d97706;
}
.v252-philosophy-col-full .v252-philosophy-col-title {
    color: #6c5ce7;
}
.v252-philosophy-col ul {
    margin: 0;
    padding-left: 16px;
    font-size: 0.82em;
    color: #555;
}
.v252-philosophy-col li {
    margin: 3px 0;
    line-height: 1.55;
}
.v252-philosophy-stand {
    background: rgba(108, 92, 231, 0.06);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #6c5ce7;
}
.v252-philosophy-stand p {
    margin: 4px 0;
    font-size: 0.82em;
    color: #444;
    line-height: 1.55;
}
@media (max-width: 360px) {
    .v252-philosophy-cols {
        grid-template-columns: 1fr;
    }
}


.v252-grad-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 20px 18px;
    max-width: 380px;
    margin: auto;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}
.v252-grad-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 145px;
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    z-index: 0;
}
.v252-grad-icon {
    position: relative;
    z-index: 1;
    font-size: 2.4em;
    text-align: center;
    margin-bottom: 4px;
}
.v252-grad-title {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 1.3em;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.v252-grad-subtitle {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}
.v252-grad-body {
    position: relative;
    z-index: 1;
    background: #fff;
    padding-top: 6px;
}
.v252-grad-body p {
    text-align: center;
    color: #555;
    font-size: 0.92em;
    margin: 8px 0 12px;
}
.v252-grad-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}
.v252-grad-option {
    padding: 10px;
    border-radius: 10px;
    background: #f8f9fc;
    border: 1px solid rgba(0,0,0,0.06);
}
.v252-grad-opt-upgrade {
    border-top: 3px solid #6c5ce7;
}
.v252-grad-opt-stay {
    border-top: 3px solid #ff9800;
}
.v252-grad-opt-title {
    font-weight: 700;
    font-size: 0.9em;
    margin-bottom: 6px;
    color: #2c3e50;
}
.v252-grad-opt-upgrade .v252-grad-opt-title { color: #6c5ce7; }
.v252-grad-opt-stay .v252-grad-opt-title { color: #d97706; }
.v252-grad-option ul {
    margin: 0;
    padding-left: 14px;
    font-size: 0.78em;
    color: #555;
    line-height: 1.5;
}
.v252-grad-option li { margin: 2px 0; }

.v252-grad-actions {
    display: flex;
    gap: 10px;
}
.v252-grad-btn {
    flex: 1;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.18s ease;
}
.v252-grad-btn-stay {
    background: #f1f3f8;
    color: #555;
    border: 1px solid #e1e4ea;
}
.v252-grad-btn-stay:hover { background: #e8ebf2; }
.v252-grad-btn-upgrade {
    background: linear-gradient(135deg, #6c5ce7 0%, #a78bfa 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
}
.v252-grad-btn-upgrade:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(108, 92, 231, 0.45);
}

@media (max-width: 360px) {
    .v252-grad-options {
        grid-template-columns: 1fr;
    }
}


.v252-study-entry-title {
    font-size: 0.95em;
    font-weight: 700;
    color: #2c3e50;
    padding: 8px 4px 10px;
    margin-top: 4px;
}


.v252-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.v252-study-card {
    position: relative;
    padding: 12px 12px 10px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 140px;
}
.v252-study-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #6c5ce7;
}
.v252-card-fav::before    { background: linear-gradient(180deg, #ffd700, #ff9800); }
.v252-card-review::before { background: linear-gradient(180deg, #6c5ce7, #a78bfa); }
.v252-card-new::before    { background: linear-gradient(180deg, #2ecc71, #1abc9c); }
.v252-card-cinema::before { background: linear-gradient(180deg, #ff6b9d, #c44569); }

.v252-card-icon {
    font-size: 1.6em;
    line-height: 1;
    margin-bottom: 6px;
}
.v252-card-title {
    font-size: 0.95em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}
.v252-card-desc {
    font-size: 0.75em;
    color: #888;
    line-height: 1.4;
    flex: 1;
    margin-bottom: 8px;
}
.v252-card-btn {
    align-self: flex-start;
    padding: 6px 18px;
    font-size: 0.82em;
    font-weight: 600;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #6c5ce7, #a78bfa);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(108, 92, 231, 0.25);
    transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.v252-card-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.35);
}
.v252-card-btn:active {
    transform: translateY(0);
}
.v252-card-fav .v252-card-btn    { background: linear-gradient(135deg, #ff9800, #ffc107); box-shadow: 0 2px 6px rgba(255,152,0,0.3); }
.v252-card-new .v252-card-btn    { background: linear-gradient(135deg, #2ecc71, #1abc9c); box-shadow: 0 2px 6px rgba(46,204,113,0.3); }
.v252-card-cinema .v252-card-btn { background: linear-gradient(135deg, #ff6b9d, #c44569); box-shadow: 0 2px 6px rgba(196,69,105,0.3); }

.v252-card-sub {
    margin-top: 6px;
    font-size: 0.72em;
    color: #aaa;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(170, 170, 170, 0.4);
}
.v252-card-sub:hover { color: #6c5ce7; }


.v252-study-card {
    min-height: auto;
}
@media (max-width: 360px) {
    .v252-study-grid {
        gap: 6px;
    }
    .v252-study-card {
        padding: 8px 8px 8px;
    }
    .v252-card-title { font-size: 0.85em; }
    .v252-card-desc { font-size: 0.7em; }
    .v252-card-btn { padding: 4px 12px; font-size: 0.75em; }
}



.v253-chapters-bar {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 100;
}
.v253-chapters-bar::-webkit-scrollbar { display: none; }
.v253-chapters-bar-floating {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.v253-chapter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid #e0d6ff;
    background: linear-gradient(135deg, #f5f0ff, #fafafa);
    color: #5a4fd1;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    flex-shrink: 0;
    user-select: none;
}
.v253-chapter-btn:hover {
    border-color: #6c5ce7;
    background: linear-gradient(135deg, #ebe0ff, #f5f0ff);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(108,92,231,0.15);
}
.v253-chapter-btn:active { transform: translateY(0); }
.v253-chapter-btn.active {
    background: linear-gradient(135deg, #6c5ce7, #a78bfa);
    color: #fff;
    border-color: #5a4fd1;
    box-shadow: 0 3px 10px rgba(108,92,231,0.35);
}
.v253-chapter-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(108,92,231,0.15);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
}
.v253-chapter-btn.active .v253-chapter-num {
    background: rgba(255,255,255,0.25);
}
.v253-chapter-title { font-weight: 600; }
.v253-chapters-floating { position: sticky; top: 0; z-index: 100; }

@media (max-width: 480px) {
    .v253-chapter-btn { padding: 6px 10px; font-size: 12px; }
    .v253-chapter-num { min-width: 18px; height: 18px; font-size: 10px; padding: 0 4px; }
}




html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area,
html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area,
html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area,
html body.subtitle-theme-d .cinema-embed .cinema-subtitle-area,
html body.subtitle-theme-e .cinema-embed .cinema-subtitle-area {
    background: linear-gradient(180deg, #0A0E27 0%, #050814 100%) !important;
    border-radius: 12px !important;
}


html body.subtitle-theme-a .cinema-embed .cinema-subtitle-area {
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.22), inset 0 0 40px rgba(0, 240, 255, 0.05), 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #00F0FF !important;
    -webkit-text-fill-color: #00F0FF !important;
    text-shadow: 0 0 4px #00F0FF, 0 0 10px #00F0FF, 0 0 20px rgba(0, 240, 255, 0.85), 0 0 40px rgba(0, 240, 255, 0.5) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-cn,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-cn,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-cn,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
html body.subtitle-theme-a .cinema-subtitle-area .cinema-decode-row,
html body.subtitle-theme-a .cinema-subtitle-area .row-decode {
    color: #A5F3FC !important;
    -webkit-text-fill-color: #A5F3FC !important;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-grammar,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-grammar,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-grammar,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-grammar {
    color: #7DD3FC !important;
    -webkit-text-fill-color: #7DD3FC !important;
    text-shadow: 0 0 4px rgba(125, 211, 252, 0.5), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-punct-cn,
html body.subtitle-theme-a .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn {
    color: rgba(165, 243, 252, 0.6) !important;
    -webkit-text-fill-color: rgba(165, 243, 252, 0.6) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}


html body.subtitle-theme-b .cinema-embed .cinema-subtitle-area {
    border: 1px solid rgba(255, 79, 168, 0.35) !important;
    box-shadow: 0 0 30px rgba(255, 79, 168, 0.25), inset 0 0 40px rgba(255, 79, 168, 0.05), 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #FF4FA8 !important;
    -webkit-text-fill-color: #FF4FA8 !important;
    text-shadow: 0 0 4px #FF4FA8, 0 0 10px #FF4FA8, 0 0 20px rgba(255, 79, 168, 0.85), 0 0 40px rgba(255, 79, 168, 0.5) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-cn,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-cn,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-cn,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
html body.subtitle-theme-b .cinema-subtitle-area .cinema-decode-row,
html body.subtitle-theme-b .cinema-subtitle-area .row-decode {
    color: #FBCFE8 !important;
    -webkit-text-fill-color: #FBCFE8 !important;
    text-shadow: 0 0 6px rgba(255, 79, 168, 0.4), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-grammar,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-grammar,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-grammar,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-grammar {
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;
    text-shadow: 0 0 4px rgba(244, 114, 182, 0.5), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-punct-cn,
html body.subtitle-theme-b .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn {
    color: rgba(251, 207, 232, 0.6) !important;
    -webkit-text-fill-color: rgba(251, 207, 232, 0.6) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}


html body.subtitle-theme-c .cinema-embed .cinema-subtitle-area {
    border: 1px solid rgba(255, 224, 90, 0.35) !important;
    box-shadow: 0 0 30px rgba(255, 224, 90, 0.25), inset 0 0 40px rgba(255, 224, 90, 0.05), 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #FFE05A !important;
    -webkit-text-fill-color: #FFE05A !important;
    text-shadow: 0 0 4px #FFE05A, 0 0 10px #FFE05A, 0 0 20px rgba(255, 224, 90, 0.85), 0 0 40px rgba(255, 224, 90, 0.5) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-cn,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-cn,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-cn,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
html body.subtitle-theme-c .cinema-subtitle-area .cinema-decode-row,
html body.subtitle-theme-c .cinema-subtitle-area .row-decode {
    color: #FDE68A !important;
    -webkit-text-fill-color: #FDE68A !important;
    text-shadow: 0 0 6px rgba(255, 224, 90, 0.4), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-grammar,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-grammar,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-grammar,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-grammar {
    color: #FBBF24 !important;
    -webkit-text-fill-color: #FBBF24 !important;
    text-shadow: 0 0 4px rgba(251, 191, 36, 0.5), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-punct-cn,
html body.subtitle-theme-c .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn {
    color: rgba(253, 230, 138, 0.6) !important;
    -webkit-text-fill-color: rgba(253, 230, 138, 0.6) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}


html body.subtitle-theme-d .cinema-embed .cinema-subtitle-area {
    border: 1px solid rgba(57, 255, 140, 0.35) !important;
    box-shadow: 0 0 30px rgba(57, 255, 140, 0.25), inset 0 0 40px rgba(57, 255, 140, 0.05), 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #39FF8C !important;
    -webkit-text-fill-color: #39FF8C !important;
    text-shadow: 0 0 4px #39FF8C, 0 0 10px #39FF8C, 0 0 20px rgba(57, 255, 140, 0.85), 0 0 40px rgba(57, 255, 140, 0.5) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-cn,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-cn,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-cn,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
html body.subtitle-theme-d .cinema-subtitle-area .cinema-decode-row,
html body.subtitle-theme-d .cinema-subtitle-area .row-decode {
    color: #A7F3D0 !important;
    -webkit-text-fill-color: #A7F3D0 !important;
    text-shadow: 0 0 6px rgba(57, 255, 140, 0.4), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-grammar,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-grammar,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-grammar,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-grammar {
    color: #34D399 !important;
    -webkit-text-fill-color: #34D399 !important;
    text-shadow: 0 0 4px rgba(52, 211, 153, 0.5), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-punct-cn,
html body.subtitle-theme-d .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn {
    color: rgba(167, 243, 208, 0.6) !important;
    -webkit-text-fill-color: rgba(167, 243, 208, 0.6) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}


html body.subtitle-theme-e .cinema-embed .cinema-subtitle-area {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(255, 255, 255, 0.02) !important;
}
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-en,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .wp-en {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    
    text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 8px rgba(0, 0, 0, 0.95), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-cn,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-cn,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-cn,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-cn,
html body.subtitle-theme-e .cinema-subtitle-area .cinema-decode-row,
html body.subtitle-theme-e .cinema-subtitle-area .row-decode {
    color: #E5E7EB !important;
    -webkit-text-fill-color: #E5E7EB !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 4px rgba(0, 0, 0, 0.6) !important;
}
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-grammar,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-2 .cinema-row-en .wp-grammar,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-grammar,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-grammar,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .wp-grammar {
    color: #9CA3AF !important;
    -webkit-text-fill-color: #9CA3AF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
}
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-en-kept,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-3 .cinema-row-en .wp-punct-cn,
html body.subtitle-theme-e .cinema-subtitle-area.cinema-mode-4 .cinema-row-en .wp-punct-cn {
    color: rgba(209, 213, 219, 0.6) !important;
    -webkit-text-fill-color: rgba(209, 213, 219, 0.6) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}


html body.subtitle-theme-a .cinema-embed .cinema-row-cn,
html body.subtitle-theme-a .cinema-embed .cinema-trans-wrapper,
html body.subtitle-theme-b .cinema-embed .cinema-row-cn,
html body.subtitle-theme-b .cinema-embed .cinema-trans-wrapper,
html body.subtitle-theme-c .cinema-embed .cinema-row-cn,
html body.subtitle-theme-c .cinema-embed .cinema-trans-wrapper,
html body.subtitle-theme-d .cinema-embed .cinema-row-cn,
html body.subtitle-theme-d .cinema-embed .cinema-trans-wrapper,
html body.subtitle-theme-e .cinema-embed .cinema-row-cn,
html body.subtitle-theme-e .cinema-embed .cinema-trans-wrapper {
    color: #E5E7EB !important;
    -webkit-text-fill-color: #E5E7EB !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
    font-style: normal !important;
}






html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    background: linear-gradient(180deg, #0A0E27 0%, #050814 100%) !important;
    border-radius: 12px !important;
}


html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    border: 1px solid rgba(94, 234, 212, 0.35) !important;
    box-shadow: 0 0 24px rgba(94, 234, 212, 0.18), 0 4px 16px rgba(0,0,0,0.5) !important;
}
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-en {
    color: #5EEAD4 !important;
    -webkit-text-fill-color: #5EEAD4 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    filter: none !important;
    opacity: 1 !important;
}
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-decode-row,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .row-decode {
    color: rgba(103, 232, 249, 0.65) !important;
    -webkit-text-fill-color: rgba(103, 232, 249, 0.65) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-weight: 500 !important;
}
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn {
    color: rgba(165, 243, 252, 0.85) !important;
    -webkit-text-fill-color: rgba(165, 243, 252, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
}
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-row-cn,
html body.subtitle-theme-a .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-trans-wrapper {
    color: rgba(125, 211, 252, 0.85) !important;
    -webkit-text-fill-color: rgba(125, 211, 252, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-style: normal !important;
}


html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    border: 1px solid rgba(244, 114, 182, 0.35) !important;
    box-shadow: 0 0 24px rgba(244, 114, 182, 0.18), 0 4px 16px rgba(0,0,0,0.5) !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-en {
    color: #F472B6 !important;
    -webkit-text-fill-color: #F472B6 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    filter: none !important;
    opacity: 1 !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-decode-row,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .row-decode {
    color: rgba(196, 181, 253, 0.65) !important;
    -webkit-text-fill-color: rgba(196, 181, 253, 0.65) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-weight: 500 !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn {
    color: rgba(233, 213, 255, 0.85) !important;
    -webkit-text-fill-color: rgba(233, 213, 255, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
}
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-row-cn,
html body.subtitle-theme-b .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-trans-wrapper {
    color: rgba(251, 207, 232, 0.85) !important;
    -webkit-text-fill-color: rgba(251, 207, 232, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-style: normal !important;
}


html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    border: 1px solid rgba(251, 191, 36, 0.4) !important;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.2), 0 4px 16px rgba(0,0,0,0.5) !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-en {
    color: #FBBF24 !important;
    -webkit-text-fill-color: #FBBF24 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    filter: none !important;
    opacity: 1 !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-decode-row,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .row-decode {
    color: rgba(253, 230, 138, 0.7) !important;
    -webkit-text-fill-color: rgba(253, 230, 138, 0.7) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-weight: 500 !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn {
    color: rgba(254, 243, 199, 0.85) !important;
    -webkit-text-fill-color: rgba(254, 243, 199, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
}
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-row-cn,
html body.subtitle-theme-c .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-trans-wrapper {
    color: rgba(252, 211, 77, 0.85) !important;
    -webkit-text-fill-color: rgba(252, 211, 77, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-style: normal !important;
}


html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    border: 1px solid rgba(52, 211, 153, 0.4) !important;
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.2), 0 4px 16px rgba(0,0,0,0.5) !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-en {
    color: #34D399 !important;
    -webkit-text-fill-color: #34D399 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    filter: none !important;
    opacity: 1 !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-decode-row,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .row-decode {
    color: rgba(110, 231, 183, 0.65) !important;
    -webkit-text-fill-color: rgba(110, 231, 183, 0.65) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-weight: 500 !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn {
    color: rgba(167, 243, 208, 0.85) !important;
    -webkit-text-fill-color: rgba(167, 243, 208, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
}
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-row-cn,
html body.subtitle-theme-d .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-trans-wrapper {
    color: rgba(103, 232, 249, 0.85) !important;
    -webkit-text-fill-color: rgba(103, 232, 249, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-style: normal !important;
}


html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block.cinema-en-revealed .cinema-row-en .word-pair .wp-en {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 1px 1px 1px #000, 0 2px 4px rgba(0,0,0,0.85) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    filter: none !important;
    opacity: 1 !important;
}
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-1 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-2 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-cn,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-decode-row,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .row-decode {
    color: rgba(229, 231, 235, 0.7) !important;
    -webkit-text-fill-color: rgba(229, 231, 235, 0.7) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-weight: 500 !important;
}
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-en-kept,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-3 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair .wp-punct-cn {
    color: rgba(156, 163, 175, 0.85) !important;
    -webkit-text-fill-color: rgba(156, 163, 175, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
}
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-row-cn,
html body.subtitle-theme-e .cinema-embed.v96-fullscreen .cinema-subtitle-area .cinema-sub-block .cinema-trans-wrapper {
    color: rgba(252, 211, 77, 0.95) !important;
    -webkit-text-fill-color: rgba(252, 211, 77, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.85) !important;
    font-style: normal !important;
}










body.v193-quick-stages:has(.cruise-s-free) .cruise-s-dot[data-stage="1"],
body.v193-quick-stages:has(.cruise-s-free) .cruise-s-dot[data-stage="4"],
body.v193-quick-stages:has(.cruise-s-free) .cruise-s-dot[data-stage="8"],
body.v193-quick-stages:has(.cruise-s-free) .cruise-stage-dot[data-stage="1"],
body.v193-quick-stages:has(.cruise-s-free) .cruise-stage-dot[data-stage="4"],
body.v193-quick-stages:has(.cruise-s-free) .cruise-stage-dot[data-stage="8"] {
    display: flex !important;
}








body.v193-quick-stages:has(.cruise-s-free.active) .cruise-s-dot[data-stage="1"],
body.v193-quick-stages:has(.cruise-s-free.active) .cruise-s-dot[data-stage="4"],
body.v193-quick-stages:has(.cruise-s-free.active) .cruise-s-dot[data-stage="8"],
body.v193-quick-stages:has(.cruise-s-free.active) .cruise-stage-dot[data-stage="1"],
body.v193-quick-stages:has(.cruise-s-free.active) .cruise-stage-dot[data-stage="4"],
body.v193-quick-stages:has(.cruise-s-free.active) .cruise-stage-dot[data-stage="8"] {
    display: flex !important;
}






html body .v253-jingting-popup .v6-seg-card {
  margin: 12px 0 !important;
  padding: 14px 14px 12px !important;
  background: rgba(167, 139, 250, 0.06) !important;
  border: 1px solid rgba(167, 139, 250, 0.22) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18) !important;
}


html body .v253-jingting-popup .v6-seg-head {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
}
html body .v253-jingting-popup .v6-seg-play {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 13px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 5px rgba(99, 102, 241, 0.35) !important;
  transition: transform 0.1s ease !important;
}
html body .v253-jingting-popup .v6-seg-play:hover {
  transform: scale(1.06) !important;
}
html body .v253-jingting-popup .v6-seg-play.v6-seg-playing {
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%) !important;
  animation: v6PulseRing 1.2s ease-in-out infinite !important;
}
@keyframes v6PulseRing {
  0%, 100% { box-shadow: 0 2px 5px rgba(236, 72, 153, 0.4); }
  50% { box-shadow: 0 2px 14px rgba(236, 72, 153, 0.7); }
}
html body .v253-jingting-popup .v6-seg-dur {
  font-size: 12px !important;
  color: rgba(254, 243, 199, 0.75) !important;
  -webkit-text-fill-color: rgba(254, 243, 199, 0.75) !important;
}


html body .v253-jingting-popup .v6-seg-en-row {
  font-size: 19px !important;
  line-height: 2.2 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  letter-spacing: 0.01em !important;
  padding: 12px 8px 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  text-align: left !important;
  word-wrap: break-word !important;
  word-break: keep-all !important;
}


html body .v253-jingting-popup .v6-tok {
  position: relative !important;
  display: inline-block !important;
  vertical-align: baseline !important;
  padding-top: 18px !important;
}
html body .v253-jingting-popup .v6-tok-text {
  font-weight: 600 !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body .v253-jingting-popup .v6-tok-punct .v6-tok-text {
  color: rgba(255, 255, 255, 0.55) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 400 !important;
}
html body .v253-jingting-popup .v6-tok-weak .v6-tok-text {
  color: rgba(255, 255, 255, 0.55) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.55) !important;
  font-style: italic !important;
  font-weight: 500 !important;
}
html body .v253-jingting-popup .v6-tok-key {
  background: linear-gradient(180deg, transparent 60%, rgba(252, 211, 77, 0.18) 100%) !important;
  border-radius: 4px !important;
}


html body .v253-jingting-popup .v6-anno-subscript {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  color: #93c5fd !important;
  -webkit-text-fill-color: #93c5fd !important;
  font-weight: 500 !important;
  font-style: italic !important;
  white-space: nowrap !important;
  letter-spacing: 0.02em !important;
  padding: 1px 4px !important;
  background: rgba(147, 197, 253, 0.08) !important;
  border-radius: 3px !important;
  pointer-events: none !important;
}
html body .v253-jingting-popup .v6-anno-subscript-grp {
  font-size: 12px !important;
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
  background: rgba(196, 181, 253, 0.12) !important;
}


html body .v253-jingting-popup .v6-anno-strike {
  text-decoration: line-through !important;
  text-decoration-thickness: 2.5px !important;
  text-decoration-color: #f87171 !important;
  text-decoration-skip-ink: none !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-weight: inherit !important;
  opacity: 1 !important;
}


html body .v253-jingting-popup .v6-anno-flap {
  text-decoration: underline wavy !important;
  text-decoration-thickness: 1.6px !important;
  text-decoration-color: #5eead4 !important;
  text-underline-offset: 3px !important;
  text-decoration-skip-ink: none !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}


html body .v253-jingting-popup .v6-anno-bracket {
  position: relative !important;
  display: inline-block !important;
  padding: 18px 8px 4px !important;
  margin: 0 2px !important;
  background: rgba(96, 165, 250, 0.10) !important;
  border: 1.5px solid rgba(96, 165, 250, 0.55) !important;
  border-radius: 6px !important;
  vertical-align: baseline !important;
}
html body .v253-jingting-popup .v6-anno-bracket > .v6-anno-subscript-grp {
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-50%) !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(96, 165, 250, 0.55) !important;
}
html body .v253-jingting-popup .v6-anno-bracket .v6-anno-body {
  display: inline-block !important;
}
html body .v253-jingting-popup .v6-anno-bracket .v6-anno-body .v6-tok {
  padding-top: 0 !important;
}
html body .v253-jingting-popup .v6-anno-bracket .v6-anno-body .v6-tok > .v6-anno-subscript:not(.v6-anno-subscript-grp) {
  top: auto !important;
  bottom: 100% !important;
  margin-bottom: 1px !important;
}
html body .v253-jingting-popup .v6-anno-link {
  display: inline-block !important;
  width: 6px !important;
  height: 2px !important;
  margin: 0 1px !important;
  background: rgba(96, 165, 250, 0.55) !important;
  vertical-align: middle !important;
}


html body .v253-jingting-popup .v6-anno-intrusion {
  position: relative !important;
  display: inline-block !important;
  padding: 18px 6px 4px !important;
  margin: 0 2px !important;
  background: rgba(167, 139, 250, 0.10) !important;
  border-bottom: 2px solid rgba(167, 139, 250, 0.6) !important;
  border-radius: 4px !important;
}
html body .v253-jingting-popup .v6-anno-intrusion > .v6-anno-subscript-grp {
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-50%) !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(167, 139, 250, 0.55) !important;
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
}
html body .v253-jingting-popup .v6-anno-intrusion-mark {
  display: inline-block !important;
  margin: 0 1px !important;
  padding: 0 3px !important;
  font-size: 14px !important;
  font-style: italic !important;
  font-weight: 700 !important;
  color: #a78bfa !important;
  -webkit-text-fill-color: #a78bfa !important;
  vertical-align: super !important;
}


html body .v253-jingting-popup .v6-anno-yod {
  position: relative !important;
  display: inline-block !important;
  padding: 18px 6px 4px !important;
  margin: 0 2px !important;
  background: rgba(244, 114, 182, 0.08) !important;
  border-bottom: 2px solid rgba(244, 114, 182, 0.55) !important;
  border-radius: 4px !important;
}
html body .v253-jingting-popup .v6-anno-yod > .v6-anno-subscript-grp {
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-50%) !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(244, 114, 182, 0.55) !important;
  color: #f9a8d4 !important;
  -webkit-text-fill-color: #f9a8d4 !important;
}
html body .v253-jingting-popup .v6-anno-yod-mark {
  display: inline-block !important;
  margin: 0 2px !important;
  padding: 0 4px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #f472b6 !important;
  -webkit-text-fill-color: #f472b6 !important;
  background: rgba(244, 114, 182, 0.15) !important;
  border-radius: 3px !important;
}


html body .v253-jingting-popup .v6-anno-assim {
  position: relative !important;
  display: inline-block !important;
  padding: 18px 6px 4px !important;
  margin: 0 2px !important;
  background: rgba(252, 211, 77, 0.08) !important;
  border-bottom: 2px solid rgba(252, 211, 77, 0.55) !important;
  border-radius: 4px !important;
}
html body .v253-jingting-popup .v6-anno-assim-mark {
  display: inline-block !important;
  margin: 0 2px !important;
  padding: 0 3px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fcd34d !important;
  -webkit-text-fill-color: #fcd34d !important;
}


html body .v253-jingting-popup .v6-seg-ipa-fold {
  margin: 8px 0 !important;
}
html body .v253-jingting-popup .v6-seg-ipa-toggle {
  background: rgba(167, 139, 250, 0.12) !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
  border-radius: 6px !important;
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
  font-size: 12px !important;
  padding: 5px 10px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}
html body .v253-jingting-popup .v6-seg-ipa-toggle:hover {
  background: rgba(167, 139, 250, 0.2) !important;
}
html body .v253-jingting-popup .v6-seg-ipa-fold[data-folded="1"] .v6-seg-ipa-content {
  display: none !important;
}
html body .v253-jingting-popup .v6-seg-ipa-content {
  margin-top: 6px !important;
  padding: 8px 10px !important;
  background: rgba(167, 139, 250, 0.05) !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  color: #fef3c7 !important;
  -webkit-text-fill-color: #fef3c7 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.7 !important;
  word-spacing: 0.3em !important;
}


html body .v253-jingting-popup .v6-seg-anno-list {
  margin-top: 8px !important;
  padding: 10px 12px !important;
  background: rgba(96, 165, 250, 0.06) !important;
  border-left: 3px solid rgba(96, 165, 250, 0.5) !important;
  border-radius: 0 6px 6px 0 !important;
}
html body .v253-jingting-popup .v6-seg-anno-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #93c5fd !important;
  -webkit-text-fill-color: #93c5fd !important;
  margin-bottom: 6px !important;
}
html body .v253-jingting-popup .v6-seg-anno-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-bottom: 4px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
html body .v253-jingting-popup .v6-seg-anno-label {
  flex: 0 0 auto !important;
  display: inline-block !important;
  padding: 1px 6px !important;
  background: rgba(96, 165, 250, 0.18) !important;
  border-radius: 3px !important;
  font-size: 12px !important;
  color: #bfdbfe !important;
  -webkit-text-fill-color: #bfdbfe !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}
html body .v253-jingting-popup .v6-seg-anno-audible {
  flex: 1 1 auto !important;
  color: rgba(255, 255, 255, 0.85) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
}


html body .v253-jingting-popup .v6-train-card {
  margin: 14px 0 !important;
  padding: 14px !important;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(167, 139, 250, 0.08) 100%) !important;
  border: 1px solid rgba(96, 165, 250, 0.25) !important;
  border-radius: 12px !important;
}
html body .v253-jingting-popup .v6-train-card-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
  margin-bottom: 10px !important;
  letter-spacing: 0.02em !important;
}
html body .v253-jingting-popup .v6-train-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}
html body .v253-jingting-popup .v6-train-donot {
  background: rgba(248, 113, 113, 0.08) !important;
  border-left: 3px solid rgba(248, 113, 113, 0.5) !important;
}


html body .v253-jingting-popup .v6-train-donot-warn {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 10px 12px !important;
}
html body .v253-jingting-popup .v6-train-donot-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
html body .v253-jingting-popup .v6-train-label-warn {
  background: rgba(252, 165, 165, 0.22) !important;
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
}
html body .v253-jingting-popup .v6-train-donot-hint {
  flex: 1 1 auto !important;
  font-size: 11.5px !important;
  color: rgba(252, 165, 165, 0.85) !important;
  -webkit-text-fill-color: rgba(252, 165, 165, 0.85) !important;
  line-height: 1.45 !important;
  font-style: italic !important;
}
html body .v253-jingting-popup .v6-train-donot-hint strong {
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

html body .v253-jingting-popup .v6-donot-chips {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-top: 4px !important;
}
html body .v253-jingting-popup .v6-donot-chip {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 6px 10px !important;
  background: rgba(248, 113, 113, 0.06) !important;
  border: 1px dashed rgba(248, 113, 113, 0.35) !important;
  border-radius: 6px !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}
html body .v253-jingting-popup .v6-donot-word {
  flex: 0 0 auto !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  color: #fef3c7 !important;
  -webkit-text-fill-color: #fef3c7 !important;
  letter-spacing: 0.02em !important;
}
html body .v253-jingting-popup .v6-donot-wrong {
  flex: 0 0 auto !important;
  padding: 1px 6px !important;
  background: rgba(248, 113, 113, 0.18) !important;
  border-radius: 3px !important;
  font-size: 11.5px !important;
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
  font-weight: 600 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1.5px !important;
  text-decoration-color: rgba(252, 165, 165, 0.6) !important;
}
html body .v253-jingting-popup .v6-donot-why {
  flex: 1 1 100% !important;
  color: rgba(255, 255, 255, 0.82) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82) !important;
}
html body .v253-jingting-popup .v6-train-donot-text {
  color: rgba(252, 165, 165, 0.7) !important;
  -webkit-text-fill-color: rgba(252, 165, 165, 0.7) !important;
  font-style: italic !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  padding: 6px 8px !important;
  background: rgba(248, 113, 113, 0.04) !important;
  border-radius: 4px !important;
}

html body .v253-jingting-popup .v6-train-doit {
  background: rgba(110, 231, 183, 0.08) !important;
  border-left: 3px solid rgba(110, 231, 183, 0.55) !important;
}
html body .v253-jingting-popup .v6-train-label {
  flex: 0 0 auto !important;
  display: inline-block !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
html body .v253-jingting-popup .v6-train-donot .v6-train-label {
  background: rgba(248, 113, 113, 0.22) !important;
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
}
html body .v253-jingting-popup .v6-train-doit .v6-train-label {
  background: rgba(110, 231, 183, 0.22) !important;
  color: #6ee7b7 !important;
  -webkit-text-fill-color: #6ee7b7 !important;
}
html body .v253-jingting-popup .v6-train-text {
  flex: 1 1 auto !important;
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
}


html body .v253-jingting-popup .v6-train-steps {
  margin-top: 10px !important;
  padding: 8px 10px !important;
  background: rgba(167, 139, 250, 0.08) !important;
  border-radius: 8px !important;
}
html body .v253-jingting-popup .v6-train-steps-list {
  margin: 0 !important;
  padding-left: 24px !important;
  list-style: decimal !important;
}
html body .v253-jingting-popup .v6-train-step {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
  padding: 3px 0 !important;
  list-style-position: outside !important;
}
html body .v253-jingting-popup .v6-train-step::marker {
  color: #c4b5fd !important;
  font-weight: 700 !important;
}


html body .v253-jingting-popup .v6-sentence-tail {
  margin: 12px 0 !important;
  padding: 10px 12px !important;
  background: rgba(94, 234, 212, 0.06) !important;
  border-left: 3px solid rgba(94, 234, 212, 0.45) !important;
  border-radius: 0 6px 6px 0 !important;
}
html body .v253-jingting-popup .v6-tail-beats,
html body .v253-jingting-popup .v6-tail-intonation {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin: 3px 0 !important;
}
html body .v253-jingting-popup .v6-tail-icon {
  flex: 0 0 auto !important;
  font-size: 14px !important;
}
html body .v253-jingting-popup .v6-tail-text {
  flex: 1 1 auto !important;
  color: rgba(255, 255, 255, 0.88) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
  letter-spacing: 0.02em !important;
}
html body .v253-jingting-popup .v6-tail-beats .v6-tail-text {
  color: #5eead4 !important;
  -webkit-text-fill-color: #5eead4 !important;
  font-weight: 500 !important;
}


html body .v253-jingting-popup .v6-extra-tip {
  margin: 10px 0 !important;
  padding: 8px 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
}
html body .v253-jingting-popup .v6-extra-tip summary {
  cursor: pointer !important;
  color: rgba(254, 243, 199, 0.7) !important;
  -webkit-text-fill-color: rgba(254, 243, 199, 0.7) !important;
  font-weight: 500 !important;
  list-style-position: outside !important;
}
html body .v253-jingting-popup .v6-extra-tip[open] summary {
  margin-bottom: 6px !important;
}
html body .v253-jingting-popup .v6-extra-tip-body {
  color: rgba(255, 255, 255, 0.78) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.6 !important;
}


@media (max-width: 480px) {
  html body .v253-jingting-popup .v6-seg-en-row {
    font-size: 17px !important;
    line-height: 2.0 !important;
    padding: 10px 6px 6px !important;
  }
  html body .v253-jingting-popup .v6-anno-subscript {
    font-size: 10px !important;
  }
  html body .v253-jingting-popup .v6-tok {
    padding-top: 16px !important;
  }
  html body .v253-jingting-popup .v6-train-row {
    flex-direction: column !important;
    gap: 4px !important;
  }
  html body .v253-jingting-popup .v6-train-label {
    align-self: flex-start !important;
  }
}






html body .v253-jingting-popup .v6-clip-section {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 8px 0 10px !important;
  padding: 6px 0 !important;
}
html body .v253-jingting-popup .v6-clip-section-label {
  flex: 0 0 auto !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #c4b5fd !important;
  -webkit-text-fill-color: #c4b5fd !important;
  letter-spacing: 0.02em !important;
}
html body .v253-jingting-popup .v6-clip-row {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x !important;
  padding: 2px 0 4px !important;
  scrollbar-width: thin !important;
}
html body .v253-jingting-popup .v6-clip-row::-webkit-scrollbar {
  height: 4px !important;
}
html body .v253-jingting-popup .v6-clip-row::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.3) !important;
  border-radius: 2px !important;
}


html body .v253-jingting-popup .v6-clip-btn {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 2px !important;
  max-width: 110px !important;
  min-width: 70px !important;
  padding: 6px 8px 5px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: transform 0.1s ease, background 0.15s ease !important;
  position: relative !important;
}
html body .v253-jingting-popup .v6-clip-btn:hover {
  transform: scale(1.03) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
html body .v253-jingting-popup .v6-clip-btn.v6-seg-playing {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.22) 0%, rgba(236, 72, 153, 0.18) 100%) !important;
  border-color: rgba(244, 114, 182, 0.65) !important;
  animation: v6ClipPulse 1.2s ease-in-out infinite !important;
}
@keyframes v6ClipPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.3); }
  50% { box-shadow: 0 0 0 4px rgba(236, 72, 153, 0); }
}

html body .v253-jingting-popup .v6-clip-btn .v6-clip-play {
  display: inline-block !important;
  margin-right: 4px !important;
  font-size: 10px !important;
  color: #818cf8 !important;
  -webkit-text-fill-color: #818cf8 !important;
}
html body .v253-jingting-popup .v6-clip-btn .v6-clip-label {
  display: inline !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  letter-spacing: 0.01em !important;
}

html body .v253-jingting-popup .v6-clip-btn .v6-clip-focus {
  display: block !important;
  font-size: 10.5px !important;
  color: rgba(254, 243, 199, 0.75) !important;
  -webkit-text-fill-color: rgba(254, 243, 199, 0.75) !important;
  font-style: italic !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
html body .v253-jingting-popup .v6-clip-btn .v6-clip-dur {
  display: block !important;
  font-size: 9.5px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.5) !important;
  letter-spacing: 0.04em !important;
}



html body .v253-jingting-popup .v6-clip-btn[data-anno-type="intrusion_j"],
html body .v253-jingting-popup .v6-clip-btn[data-anno-type="intrusion_w"] {
  background: rgba(167, 139, 250, 0.10) !important;
  border-color: rgba(167, 139, 250, 0.55) !important;
}
html body .v253-jingting-popup .v6-clip-btn[data-anno-type="intrusion_j"] .v6-clip-play,
html body .v253-jingting-popup .v6-clip-btn[data-anno-type="intrusion_w"] .v6-clip-play {
  color: #a78bfa !important;
  -webkit-text-fill-color: #a78bfa !important;
}


html body .v253-jingting-popup .v6-clip-btn[data-anno-type="linking_bracket"] {
  background: rgba(96, 165, 250, 0.10) !important;
  border-color: rgba(96, 165, 250, 0.55) !important;
}
html body .v253-jingting-popup .v6-clip-btn[data-anno-type="linking_bracket"] .v6-clip-play {
  color: #60a5fa !important;
  -webkit-text-fill-color: #60a5fa !important;
}


html body .v253-jingting-popup .v6-clip-btn[data-anno-type="yod_fusion"] {
  background: rgba(244, 114, 182, 0.10) !important;
  border-color: rgba(244, 114, 182, 0.55) !important;
}
html body .v253-jingting-popup .v6-clip-btn[data-anno-type="yod_fusion"] .v6-clip-play {
  color: #f472b6 !important;
  -webkit-text-fill-color: #f472b6 !important;
}


html body .v253-jingting-popup .v6-clip-btn[data-anno-type="assimilation_arrow"] {
  background: rgba(252, 211, 77, 0.10) !important;
  border-color: rgba(252, 211, 77, 0.55) !important;
}
html body .v253-jingting-popup .v6-clip-btn[data-anno-type="assimilation_arrow"] .v6-clip-play {
  color: #fcd34d !important;
  -webkit-text-fill-color: #fcd34d !important;
}


html body .v253-jingting-popup .v6-clip-btn[data-anno-type="single"],
html body .v253-jingting-popup .v6-clip-btn[data-anno-type="leftover"],
html body .v253-jingting-popup .v6-clip-btn[data-anno-type="whole_segment"],
html body .v253-jingting-popup .v6-clip-btn[data-anno-type="fallback"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}



html body .v253-jingting-popup .v6-tok.v6-tok-ring {
  outline: 2px solid rgba(244, 114, 182, 0.7) !important;
  outline-offset: 2px !important;
  border-radius: 4px !important;
  background: rgba(244, 114, 182, 0.10) !important;
}


html body .v253-jingting-popup .v6-seg-anno-fold {
  margin-top: 8px !important;
}
html body .v253-jingting-popup .v6-seg-anno-summary {
  cursor: pointer !important;
  font-size: 12.5px !important;
  color: rgba(147, 197, 253, 0.85) !important;
  -webkit-text-fill-color: rgba(147, 197, 253, 0.85) !important;
  font-weight: 500 !important;
  padding: 4px 0 !important;
  list-style-position: outside !important;
  user-select: none !important;
}
html body .v253-jingting-popup .v6-seg-anno-fold[open] .v6-seg-anno-summary {
  margin-bottom: 4px !important;
  color: #93c5fd !important;
  -webkit-text-fill-color: #93c5fd !important;
}
html body .v253-jingting-popup .v6-seg-anno-fold .v6-seg-anno-list {
  margin-top: 0 !important;  
}


@media (max-width: 480px) {
  html body .v253-jingting-popup .v6-clip-btn {
    max-width: 95px !important;
    min-width: 60px !important;
    padding: 5px 6px 4px !important;
  }
  html body .v253-jingting-popup .v6-clip-btn .v6-clip-label {
    font-size: 12px !important;
  }
  html body .v253-jingting-popup .v6-clip-btn .v6-clip-focus {
    font-size: 9.5px !important;
  }
  html body .v253-jingting-popup .v6-clip-section-label {
    font-size: 11.5px !important;
  }
}






html body .v253-jingting-popup .v6-anno-bracket,
html body .v253-jingting-popup .v6-anno-intrusion,
html body .v253-jingting-popup .v6-anno-yod,
html body .v253-jingting-popup .v6-anno-assim {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 4px 8px 4px !important;  
  vertical-align: middle !important;
}


html body .v253-jingting-popup .v6-anno-bracket > .v6-anno-subscript-grp,
html body .v253-jingting-popup .v6-anno-intrusion > .v6-anno-subscript-grp,
html body .v253-jingting-popup .v6-anno-yod > .v6-anno-subscript-grp,
html body .v253-jingting-popup .v6-anno-assim > .v6-anno-subscript-grp {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin-bottom: 3px !important;
  
}


html body .v253-jingting-popup .v6-anno-bracket .v6-anno-body .v6-tok,
html body .v253-jingting-popup .v6-anno-intrusion .v6-anno-body .v6-tok,
html body .v253-jingting-popup .v6-anno-yod .v6-anno-body .v6-tok,
html body .v253-jingting-popup .v6-anno-assim .v6-anno-body .v6-tok {
  padding-top: 0 !important;
}

html body .v253-jingting-popup .v6-anno-bracket .v6-anno-body .v6-tok > .v6-anno-subscript:not(.v6-anno-subscript-grp),
html body .v253-jingting-popup .v6-anno-intrusion .v6-anno-body .v6-tok > .v6-anno-subscript:not(.v6-anno-subscript-grp),
html body .v253-jingting-popup .v6-anno-yod .v6-anno-body .v6-tok > .v6-anno-subscript:not(.v6-anno-subscript-grp),
html body .v253-jingting-popup .v6-anno-assim .v6-anno-body .v6-tok > .v6-anno-subscript:not(.v6-anno-subscript-grp) {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin-bottom: 1px !important;
}


html body .v253-jingting-popup .v6-tok {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding-top: 0 !important;  
  vertical-align: middle !important;
}
html body .v253-jingting-popup .v6-tok > .v6-anno-subscript {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin-bottom: 2px !important;
}


html body .v253-jingting-popup .v6-seg-en-row {
  line-height: 1.5 !important;  
}





html body .v253-jingting-popup .v6-clip-btn.v6-clip-current {
  outline: 2px solid rgba(244, 114, 182, 0.85) !important;
  outline-offset: 2px !important;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.18) 0%, rgba(236, 72, 153, 0.14) 100%) !important;
  transform: scale(1.05) !important;
  z-index: 1 !important;
}




.s3v3-sent-card { background: rgba(99, 102, 241, 0.08); border-radius: 12px; padding: 16px 20px; margin: 12px 0; border: 1px solid rgba(99, 102, 241, 0.2); }
.s3v3-sent-text { font-size: 18px; line-height: 1.7; color: #2c3e50; letter-spacing: 0.3px; }
.s3v3-word-target { background: linear-gradient(180deg, transparent 50%, rgba(255, 224, 90, 0.7) 50%); font-weight: 700; color: #1a1a2e; padding: 0 2px; border-radius: 3px; }
.s3v3-sent-hint { margin-top: 8px; font-size: 12px; color: #6366f1; text-align: right; }
.s3v3-sent-hint.s3v3-sent-fallback { color: #f59e0b; }
.s3v3-sent-empty { color: #94a3b8; font-style: italic; }

.s3v3-clone-en { cursor: pointer; }

.s3v3-sent-replay {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding: 4px 12px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.s3v3-sent-replay:hover { background: #a7f3d0; }
.s3v3-reveal-area { background: rgba(34, 197, 94, 0.1); border-radius: 10px; padding: 12px; margin-top: 10px; text-align: center; border: 1px solid rgba(34, 197, 94, 0.25); }
.s3v3-reveal-word { font-size: 22px; font-weight: 700; color: #16a34a; margin-bottom: 4px; }
.s3v3-reveal-meaning { font-size: 15px; color: #475569; }

.s3v3-interlinear-show {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 6px;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    margin-top: 12px;
    border: 1px dashed rgba(99, 102, 241, 0.25);
    align-items: flex-end;
    justify-content: center;
    text-align: left;
}
.s3v3-clone-pair {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 18px;
    padding: 0 2px;
}
.s3v3-clone-en {
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 500;
    line-height: 1.4;
}
.s3v3-clone-cn {
    font-size: 11px;
    color: #4F46E5;
    line-height: 1.3;
    margin-top: 2px;
}
.s3v3-clone-punct {
    font-size: 14px;
    color: #94a3b8;
    align-self: flex-end;
    padding-bottom: 2px;
}
.s3v3-clone-pair.s3v3-target .s3v3-clone-en {
    background: linear-gradient(180deg, transparent 50%, rgba(255, 224, 90, 0.72) 50%);
    font-weight: 700;
    color: #1a1a2e;
    padding: 0 2px;
    border-radius: 3px;
}
.s3v3-clone-trans {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 13px;
    color: #6366f1;
    line-height: 1.5;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 8px;
    text-align: center;
}
.s3v3-see-card { background: rgba(168, 85, 247, 0.06); border-radius: 12px; padding: 18px 20px; margin: 12px 0; border: 1px solid rgba(168, 85, 247, 0.2); }

.s3v3-meaning-display { font-size: 18px; font-weight: 500; color: #7c3aed; text-align: center; margin-bottom: 12px; line-height: 1.5; }
.s3v3-blank-sent { font-size: 16px; line-height: 1.7; color: #475569; text-align: center; padding: 8px 0; border-top: 1px dashed rgba(168, 85, 247, 0.3); }
.s3v3-blank { display: inline-block; min-width: 60px; border-bottom: 2px solid #a855f7; margin: 0 4px; text-align: center; font-style: italic; color: #a855f7; }
.wp-en.v254-pending-mark { text-decoration: underline dotted rgba(245, 158, 11, 0.7); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.v254-wordbox-line { margin: 8px 0 12px; padding: 8px 12px; font-size: 12.5px; color: #6366f1; background: rgba(99, 102, 241, 0.07); border-radius: 8px; border-left: 3px solid #6366f1; text-align: left; line-height: 1.5; }
.v254-wordbox-line.v254-wordbox-line-quiet { color: #94a3b8; background: rgba(148, 163, 184, 0.06); border-left-color: #94a3b8; }
.v254-wordbox-badge { margin-left: 8px; display: inline-block; min-width: 22px; height: 22px; line-height: 22px; padding: 0 7px; border-radius: 11px; background: #94a3b8; color: #fff; font-size: 11px; font-weight: 700; text-align: center; vertical-align: middle; }
.v254-wordbox-badge.v254-wordbox-badge-hot { background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 0 8px rgba(244, 63, 94, 0.5); animation: v254-wb-pulse 2s ease-in-out infinite; }
@keyframes v254-wb-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.v254-wordbox-overlay { position: fixed !important; inset: 0 !important; z-index: 999999 !important; background: rgba(15, 23, 42, 0.7); display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.v254-wordbox-card { background: #fff; border-radius: 16px; width: 100%; max-width: 540px; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); overflow: hidden; }
.v254-wordbox-header { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid #e2e8f0; gap: 12px; }
.v254-wordbox-title { font-size: 18px; font-weight: 700; color: #1e293b; flex: 1; }
.v254-wordbox-count { font-size: 14px; color: #6366f1; background: rgba(99, 102, 241, 0.1); padding: 4px 10px; border-radius: 10px; font-weight: 600; }
.v254-wordbox-close { background: transparent; border: none; font-size: 24px; color: #94a3b8; cursor: pointer; padding: 4px 10px; border-radius: 6px; line-height: 1; }
.v254-wordbox-close:hover { background: rgba(148, 163, 184, 0.15); color: #334155; }
.v254-wordbox-hint { padding: 10px 20px; font-size: 12.5px; color: #64748b; background: rgba(99, 102, 241, 0.05); line-height: 1.5; }
.v254-wb-settings { margin: 0; padding: 8px 20px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.v254-wb-settings summary { cursor: pointer; font-size: 12.5px; color: #64748b; padding: 4px 0; user-select: none; }
.v254-wb-settings summary:hover { color: #334155; }
.v254-wb-settings-row { margin: 8px 0; font-size: 13px; color: #475569; }
.v254-wb-settings-row label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.v254-wb-num { width: 60px; padding: 3px 6px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 13px; }
.v254-wb-settings-tip { margin-top: 6px; font-size: 11.5px; color: #94a3b8; }
.v254-wordbox-list { flex: 1; overflow-y: auto; padding: 8px 20px; }
.v254-wb-empty { padding: 40px 20px; text-align: center; color: #94a3b8; font-size: 14px; }
.v254-wb-row { display: grid; grid-template-columns: minmax(80px, 110px) 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.v254-wb-word { font-size: 16px; font-weight: 600; color: #1e293b; }
.v254-wb-meaning { font-size: 13.5px; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v254-wb-source { font-size: 11px; color: #94a3b8; }
.v254-wb-actions { display: flex; gap: 6px; }
.v254-wb-btn { background: transparent; border: 1px solid transparent; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 12px; }
.v254-wb-btn-known { color: #16a34a; border-color: rgba(22, 163, 74, 0.3); }
.v254-wb-btn-known:hover { background: rgba(22, 163, 74, 0.1); }
.v254-wordbox-footer { padding: 14px 20px; border-top: 1px solid #e2e8f0; display: flex; justify-content: center; }
.v254-wordbox-btn-bulk { background: linear-gradient(135deg, #8b5cf6, #6366f1); color: #fff; border: none; padding: 10px 22px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
.v254-wordbox-btn-bulk:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4); }
.v254-wb-alert { position: fixed !important; bottom: 30px !important; right: 30px !important; z-index: 999998 !important; max-width: 360px; }
.v254-wb-alert-card { background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); border-left: 4px solid #6366f1; animation: v254-wb-slide-in 0.4s ease-out; }
@keyframes v254-wb-slide-in { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.v254-wb-alert-msg { font-size: 14px; color: #1e293b; margin-bottom: 10px; line-height: 1.5; }
.v254-wb-alert-actions { display: flex; gap: 8px; justify-content: flex-end; }
.v254-wb-alert-btn-go, .v254-wb-alert-btn-later { border: none; padding: 6px 14px; border-radius: 8px; font-size: 12.5px; cursor: pointer; }
.v254-wb-alert-btn-go { background: #6366f1; color: #fff; }
.v254-wb-alert-btn-later { background: transparent; color: #64748b; }
.v254-wb-alert-btn-later:hover { background: rgba(148, 163, 184, 0.1); }
@media (max-width: 600px) {
  .v254-wb-alert { bottom: 16px !important; right: 16px !important; left: 16px !important; max-width: none; }
  .v254-wb-row { grid-template-columns: 1fr; gap: 4px; }
}




html body .v253-jingting-popup .v6-tok.v6-tok-current {
  background: linear-gradient(180deg, transparent 45%, rgba(255, 224, 90, 0.85) 45%, rgba(255, 224, 90, 0.85) 88%, transparent 88%) !important;
  color: #1a1a2e !important;
  border-radius: 4px !important;
  text-shadow: 0 0 10px rgba(255, 200, 50, 0.5) !important;
  transition: background-color 120ms ease-out, color 120ms ease-out !important;
  z-index: 1 !important;
  position: relative !important;
}
html body .v253-jingting-popup .v6-tok.v6-tok-current .v6-tok-text {
  color: #1a1a2e !important;
}




.cinema-row-en .wp-en.word-current {
  background: linear-gradient(180deg, transparent 50%, rgba(255, 224, 90, 0.85) 50%) !important;
  color: #1a1a2e !important;
  -webkit-text-fill-color: #1a1a2e !important;
  border-radius: 3px !important;
  text-shadow: 0 0 10px rgba(255, 200, 50, 0.6) !important;
  transition: background-color 100ms ease-out, color 100ms ease-out !important;
  z-index: 1 !important;
  position: relative !important;
}








.v255-mic-wave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 20px;
}
.v255-mic-wave i {
  display: inline-block;
  width: 3px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.85;
}
.v255-mic-wave i:nth-child(1) { height: 8px; }
.v255-mic-wave i:nth-child(2) { height: 14px; }
.v255-mic-wave i:nth-child(3) { height: 18px; }
.v255-mic-wave i:nth-child(4) { height: 14px; }
.v255-mic-wave i:nth-child(5) { height: 8px; }
.v255-mic-wave-recording i {
  animation: v255-mic-wave-pulse 0.9s ease-in-out infinite;
}
.v255-mic-wave-recording i:nth-child(1) { animation-delay: 0s; }
.v255-mic-wave-recording i:nth-child(2) { animation-delay: 0.15s; }
.v255-mic-wave-recording i:nth-child(3) { animation-delay: 0.3s; }
.v255-mic-wave-recording i:nth-child(4) { animation-delay: 0.45s; }
.v255-mic-wave-recording i:nth-child(5) { animation-delay: 0.6s; }
@keyframes v255-mic-wave-pulse {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1.5); }
}


.v255-rec-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999998 !important;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px 24vh;
  backdrop-filter: blur(2px);
  pointer-events: auto;
}
.v255-rec-card {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border-radius: 18px;
  padding: 24px 28px;
  min-width: 260px;
  max-width: 380px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  text-align: center;
  color: #fff;
}
.v255-rec-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1em;
  font-weight: 600;
}
.v255-rec-dot {
  width: 10px;
  height: 10px;
  background: #f43f5e;
  border-radius: 50%;
  animation: v255-rec-blink 1s ease-in-out infinite;
}
@keyframes v255-rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.v255-rec-time { font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.v255-rec-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 36px;
  margin-bottom: 12px;
}
.v255-rec-wave i {
  display: inline-block;
  width: 3px;
  background: #f43f5e;
  border-radius: 2px;
  height: 8px;
  animation: v255-rec-wave-jump 0.6s ease-in-out infinite;
}
.v255-rec-wave i:nth-child(odd) { animation-delay: 0.1s; }
.v255-rec-wave i:nth-child(3n) { animation-delay: 0.2s; }
.v255-rec-wave i:nth-child(5n) { animation-delay: 0.3s; }
.v255-rec-wave i:nth-child(7n) { animation-delay: 0.4s; }
@keyframes v255-rec-wave-jump {
  0%, 100% { height: 6px; }
  50% { height: 32px; }
}
.v255-rec-hint {
  font-size: 0.85em;
  opacity: 0.7;
  margin-bottom: 14px;
}
.v255-rec-stop {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.4);
}
.v255-rec-stop:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(244, 63, 94, 0.55); }


.v255-proc-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999998 !important;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.v255-proc-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  min-width: 240px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.v255-proc-spinner {
  font-size: 2.4em;
  margin-bottom: 12px;
  animation: v255-proc-spin 2s linear infinite;
  display: inline-block;
}
@keyframes v255-proc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.v255-proc-text {
  color: #1e293b;
  font-size: 1em;
  margin-bottom: 16px;
}
.v255-proc-bar {
  height: 4px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.v255-proc-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  width: 30%;
  animation: v255-proc-progress 1.4s ease-in-out infinite;
}
@keyframes v255-proc-progress {
  0% { transform: translateX(-100%); width: 30%; }
  50% { transform: translateX(0%); width: 60%; }
  100% { transform: translateX(300%); width: 30%; }
}


.v255-score-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: v255-score-fade-in 0.3s ease-out;
}
@keyframes v255-score-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.v255-score-card {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: v255-score-slide-up 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes v255-score-slide-up {
  from { transform: translateY(40px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.v255-sp-header {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fafbff, #fff);
}
.v255-sp-title {
  flex: 1;
  font-size: 1.05em;
  font-weight: 700;
  color: #1e293b;
}
.v255-sp-close {
  background: transparent;
  border: none;
  font-size: 1.6em;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 8px;
  border-radius: 6px;
  line-height: 1;
}
.v255-sp-close:hover { background: rgba(148, 163, 184, 0.15); color: #334155; }


.v255-sp-score-area {
  padding: 22px 22px 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(99,102,241,0.04), transparent);
}
.v255-sp-overall {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.v255-sp-num {
  font-size: 3.2em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.v255-sp-unit { font-size: 1em; opacity: 0.7; }
.v255-sp-overall.v255-sp-score-good .v255-sp-num { color: #16a34a; }
.v255-sp-overall.v255-sp-score-ok .v255-sp-num { color: #f59e0b; }
.v255-sp-overall.v255-sp-score-bad .v255-sp-num { color: #ef4444; }
.v255-sp-diff {
  font-size: 0.78em;
  color: #64748b;
  margin-bottom: 14px;
}
.v255-sp-diff.up { color: #16a34a; }
.v255-sp-diff.down { color: #ef4444; }
.v255-sp-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 360px;
  margin: 0 auto;
}
.v255-sp-bar-row {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  align-items: center;
  gap: 10px;
  font-size: 0.85em;
}
.v255-sp-bar-label { color: #475569; text-align: left; }
.v255-sp-bar-track { height: 6px; background: rgba(99,102,241,0.1); border-radius: 3px; overflow: hidden; }
.v255-sp-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.v255-sp-bar-fill.v255-sp-score-good { background: linear-gradient(90deg, #22c55e, #16a34a); }
.v255-sp-bar-fill.v255-sp-score-ok { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.v255-sp-bar-fill.v255-sp-score-bad { background: linear-gradient(90deg, #f87171, #ef4444); }
.v255-sp-bar-val { font-weight: 600; color: #334155; text-align: right; }


.v255-sp-section {
  padding: 16px 22px;
  border-top: 1px solid #f1f5f9;
}
.v255-sp-section-title {
  font-size: 0.92em;
  font-weight: 600;
  color: #475569;
  margin-bottom: 12px;
}
.v255-sp-empty {
  text-align: center;
  padding: 16px;
  color: #16a34a;
  font-size: 0.95em;
  background: rgba(22, 163, 74, 0.06);
  border-radius: 10px;
}
.v255-sp-issues { display: flex; flex-direction: column; gap: 8px; }
.v255-sp-issue {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.06);
  border-left: 3px solid #94a3b8;
}
.v255-sp-issue-miss, .v255-sp-issue-replace { border-left-color: #ef4444; background: rgba(239, 68, 68, 0.06); }
.v255-sp-issue-extra, .v255-sp-issue-stress, .v255-sp-issue-slow, .v255-sp-issue-fast { border-left-color: #f59e0b; background: rgba(245, 158, 11, 0.05); }
.v255-sp-issue-pause { border-left-color: #fbbf24; background: rgba(251, 191, 36, 0.05); }
.v255-sp-issue-title {
  font-size: 0.92em;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 3px;
}
.v255-sp-issue-advice {
  font-size: 0.82em;
  color: #64748b;
  line-height: 1.5;
}


.v255-sp-main-advice {
  margin: 0 22px 18px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255, 224, 90, 0.18), rgba(251, 191, 36, 0.10));
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.v255-sp-main-icon { font-size: 1.4em; flex-shrink: 0; }
.v255-sp-main-text {
  font-size: 0.95em;
  font-weight: 600;
  color: #78350f;
  line-height: 1.5;
}


.v255-sp-actions {
  padding: 16px 22px 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.v255-sp-btn {
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}
.v255-sp-btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
  flex: 1;
}
.v255-sp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45); }
.v255-sp-btn-secondary {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.v255-sp-btn-secondary:hover { background: rgba(99, 102, 241, 0.18); }
.v255-sp-btn-tertiary {
  background: transparent;
  color: #64748b;
}
.v255-sp-btn-tertiary:hover { background: rgba(148, 163, 184, 0.12); color: #1e293b; }

@media (max-width: 600px) {
  .v255-sp-num { font-size: 2.6em; }
  .v255-sp-actions { flex-direction: column; }
  .v255-sp-btn-primary, .v255-sp-btn-secondary, .v255-sp-btn-tertiary { width: 100%; }
  .v255-rec-card { padding: 20px 22px; }
}




html body .cinema-row-en .wp-en.word-current,
html body .cinema-mode-1 .cinema-row-en .wp-en.word-current,
html body .cinema-mode-2 .cinema-row-en .wp-en.word-current,
html body .cinema-mode-3 .cinema-row-en .wp-en.word-current,
html body .cinema-mode-4 .cinema-row-en .wp-en.word-current,
html body[class*="stage-"] .cinema-row-en .wp-en.word-current {
  background: linear-gradient(180deg, transparent 45%, rgba(255, 224, 90, 0.95) 45%, rgba(255, 224, 90, 0.95) 88%, transparent 88%) !important;
  color: #1a1a2e !important;
  -webkit-text-fill-color: #1a1a2e !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  border-radius: 4px !important;
  text-shadow: 0 0 12px rgba(255, 200, 50, 0.7) !important;
  transition: background-color 120ms ease-out, color 120ms ease-out !important;
  z-index: 10 !important;
  position: relative !important;
}


html body[class*="stage-"] .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en.word-current,
html body .cinema-subtitle-area.cinema-mode-1 .cinema-row-en .wp-en.word-current {
  opacity: 0 !important;
  visibility: hidden !important;
  background: none !important;
  text-shadow: none !important;
}



html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block:not(.cinema-en-revealed) .cinema-row-en .wp-en.word-current {
  opacity: 0 !important;
  visibility: hidden !important;
  background: none !important;
  text-shadow: none !important;
  
  transition: none !important;
  animation: none !important;
  filter: none !important;
}

html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block:not(.cinema-en-revealed) .cinema-row-en .wp-en {
  transition: none !important;
  animation: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block:not(.cinema-en-revealed) .cinema-row-en .wp-en:hover {
  text-shadow: none !important;
  box-shadow: none !important;
}

html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block:not(.cinema-en-revealed) .cinema-row-en .wp-cn.word-current-cn {
  background: linear-gradient(180deg, transparent 50%, rgba(255, 224, 90, 0.55) 50%) !important;
  border-radius: 3px !important;
}

html body .cinema-embed.cinema-flow-v3 .cinema-subtitle-area .wp-cn.word-current-cn {
  background: linear-gradient(180deg, transparent 50%, rgba(255, 224, 90, 0.55) 50%) !important;
  border-radius: 3px !important;
}




.cinema-embed.cinema-flow-panel .cinema-mode-btn,
.cinema-embed.cinema-flow-panel .cinema-en-toggle-btn,
.cinema-embed.cinema-flow-panel .cinema-link-btn,
.cinema-embed.cinema-flow-panel .cinema-ctrl-divider { display: none !important; }

.cinema-embed.cinema-flow-panel:not(.cinema-flow-v3):not(.cinema-flow-stage-1) .cinema-flow-btn { display: none !important; }

.cinema-embed.cinema-flow-panel:not(.cinema-flow-v3):not(.cinema-flow-stage-5):not(.cinema-flow-stage-6) .cinema-spiral-btn { display: none !important; }

.cinema-embed.cinema-flow-panel:not(.cinema-flow-v3):not(.cinema-flow-stage-5):not(.cinema-flow-stage-6):not(.cinema-flow-stage-8) .cinema-fav-btn { display: none !important; }

.cinema-embed.cinema-flow-panel.cinema-flow-stage-1 .cinema-speed,
.cinema-embed.cinema-flow-panel.cinema-flow-stage-3 .cinema-speed,
.cinema-embed.cinema-flow-panel.cinema-flow-stage-7 .cinema-speed { display: none !important; }


.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-flow-btn { display: none !important; }


.cinema-embed.cinema-flow-panel.cinema-flow-v3:not(.cinema-flow-stage-1):not(.cinema-flow-stage-2):not(.cinema-flow-stage-3) .cinema-spiral-btn { display: none !important; }

.cinema-embed.cinema-flow-panel.cinema-flow-v3.cinema-flow-stage-1 .cinema-ctrl-row-main .cinema-spiral-btn {
    width: 58px !important; min-width: 58px !important; flex: 0 0 58px !important;
    padding: 4px 4px !important; text-align: center !important; overflow: hidden !important; white-space: nowrap !important;
}
.cinema-embed.cinema-flow-panel.cinema-flow-v3.cinema-flow-stage-1 .cinema-ctrl-row-main .cinema-blind-btn {
    width: 44px !important; min-width: 44px !important; flex: 0 0 44px !important;
    padding: 4px 4px !important; text-align: center !important; white-space: nowrap !important; overflow: hidden !important;
}



.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-next-btn { display: none !important; }

.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-listen-first-btn { display: none !important; }

.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-buttons { display: none !important; }

.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main {
    justify-content: center !important;
    gap: 10px !important;
}
.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main .cinema-prev-btn { order: 1; }
.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main .cinema-play-btn { order: 2; }
.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main .cinema-v3-spacer { display: none !important; }  
.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main .cinema-fav-btn { order: 4; }
.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main .cinema-blind-btn { order: 5; }
.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main .cinema-spiral-btn { order: 5; }
.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main .cinema-switch-mode-btn { order: 6; }

.cinema-v3-spacer { display: none; }

.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main .cinema-spiral-btn {
    font-size: 12px !important;
    min-width: 0 !important;
    padding: 4px 10px !important;
    line-height: 1.3 !important;
}

.cinema-embed.cinema-flow-panel.cinema-flow-v3 .cinema-ctrl-row-main .cinema-blind-btn {
    font-size: 12px !important;
    min-width: 0 !important;
    padding: 4px 10px !important;
    line-height: 1.3 !important;
}



html body .cinema-embed.cinema-flow-v3.cinema-flow-stage-3 .cinema-subtitle-area::before {
    content: "🎙 裸说闯关";
    position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    color: rgba(214,69,69,.55); pointer-events: none; z-index: 4; white-space: nowrap;
}


.cinema-embed .cinema-v3-hintbar {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px;   
    background: linear-gradient(135deg, rgba(56,135,235,.22), rgba(95,180,255,.14));
    border-top: 2px solid rgba(95,180,255,.5); border-bottom: 1px solid rgba(95,180,255,.3);
    padding: 6px 10px; font-size: 11.5px; line-height: 1.35; color: #bfe0ff;
}

.cinema-embed .cinema-v3-hint-fw { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.cinema-embed .cinema-v3-hint-fw .fw-nm { font-weight: 800; font-size: 12.5px; color: #dff0ff; }
.cinema-embed .cinema-v3-hint-fw .fw-dots { font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,.55); }
.cinema-embed .cinema-v3-hint-fw .fw-cnt { margin-left: auto; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.2); border-radius: 7px; padding: 1px 6px; }

.cinema-embed .cinema-v3-hint-tx { flex: 0 0 100%; margin-left: 37px; margin-top: 1px; font-size: 11px; line-height: 1.5; }
.cinema-embed .cinema-v3-hint-tx .st { color: rgba(255,255,255,.5); }
.cinema-embed .cinema-v3-hint-tx .cur { color: #fff; font-weight: 800; }
.cinema-embed .cinema-v3-hint-tx .sep { color: rgba(255,255,255,.3); margin: 0 5px; font-size: 10px; }
.cinema-embed .cinema-v3-hint-tx .cinema-v3-hint-lead { color: #fde68a; margin-right: 7px; }

.cinema-embed.cinema-flow-v3 .cinema-v3-hint-tx .cinema-v3-cue-produce {
    display: block;
    color: #fde68a;   
    margin: 4px 0 6px 0;
    font-weight: 500;   
    
    opacity: .85;
    animation: v3CueAppear .5s ease-out;   
}
@keyframes v3CueAppear {
    from { opacity: 0; transform: translateY(-3px); }
    to   { opacity: .85; transform: translateY(0); }
}
.cinema-embed .cinema-v3-hint-tx b { color: #fff; font-weight: 800; }

.cinema-embed .cinema-v3-hint-tag {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 900; color: #fff;
    background: linear-gradient(135deg, #9b7bff, #7c5cff);
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.cinema-embed.cinema-v3-tag-f1 .cinema-v3-hint-tag { background: linear-gradient(135deg, #9b7bff, #7c5cff); }
.cinema-embed.cinema-v3-tag-f2 .cinema-v3-hint-tag { background: linear-gradient(135deg, #36cfff, #1f8fe0); }
.cinema-embed.cinema-v3-tag-f3 .cinema-v3-hint-tag { background: linear-gradient(135deg, #ff6a6a, #e04848); }
.cinema-embed.cinema-v3-tag-f4 .cinema-v3-hint-tag { background: linear-gradient(135deg, #37d39b, #1fae7e); }

.cinema-embed.cinema-v3-tag-f1 .cinema-v3-hintbar { border-top-color: #9b7bff; }
.cinema-embed.cinema-v3-tag-f1 .cinema-v3-hint-fw .fw-nm { color: #cbbcff; }
.cinema-embed.cinema-v3-tag-f2 .cinema-v3-hintbar { border-top-color: #36cfff; }
.cinema-embed.cinema-v3-tag-f2 .cinema-v3-hint-fw .fw-nm { color: #a8ecff; }
.cinema-embed.cinema-v3-tag-f3 .cinema-v3-hintbar { border-top-color: #ff6a6a; }
.cinema-embed.cinema-v3-tag-f3 .cinema-v3-hint-fw .fw-nm { color: #ffb3b3; }
.cinema-embed.cinema-v3-tag-f4 .cinema-v3-hintbar { border-top-color: #37d39b; }
.cinema-embed.cinema-v3-tag-f4 .cinema-v3-hint-fw .fw-nm { color: #9fe8cb; }
.cinema-embed.cinema-v3-hint-off .cinema-v3-hint-tag { display: none; }

.cinema-embed.cinema-v3-hint-off .cinema-v3-hintbar {
    background: none; border-top: none; border-bottom: none; padding: 3px 10px 0;
}
.cinema-embed.cinema-v3-hint-off .cinema-v3-hint-tx { display: none; }
.cinema-embed.cinema-v3-hint-off .cinema-v3-hint-fw {
    background: none; border: none; padding: 0; color: rgba(255,255,255,.4); font-size: 9px; font-weight: 600;
}



.v3ob-overlay { position: fixed; inset: 0; z-index: 100000; display: none; background: rgba(4,8,18,.42); }
.v3ob-overlay.show { display: block; }
.v3ob-card { position: absolute; left: 12px; right: 12px; bottom: 14px;
    background: #121a30; border: 1px solid rgba(155,123,255,.45); border-radius: 18px;
    padding: 14px 16px 12px; box-shadow: 0 -6px 30px rgba(0,0,0,.55); }
.v3ob-dots { display: flex; gap: 3px; justify-content: center; margin-bottom: 9px; flex-wrap: wrap; }
.v3ob-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.2); }
.v3ob-dots i.on { background: #9b7bff; width: 14px; border-radius: 3px; }
.v3ob-top { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.v3ob-tag { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    font-size: 27px; font-weight: 900; color: #fff; flex: 0 0 auto; box-shadow: 0 4px 14px rgba(0,0,0,.4);
    background: linear-gradient(135deg,#9b7bff,#7c5cff); }
.v3ob-tag.f1 { background: linear-gradient(135deg,#9b7bff,#7c5cff); }
.v3ob-tag.f2 { background: linear-gradient(135deg,#36cfff,#1f8fe0); }
.v3ob-tag.f3 { background: linear-gradient(135deg,#ff6a6a,#e04848); }
.v3ob-tag.f4 { background: linear-gradient(135deg,#37d39b,#1fae7e); }
.v3ob-tag.none { background: #2a3550; font-size: 24px; }
.v3ob-head { min-width: 0; }
.v3ob-label { font-size: 10.5px; color: #c9b8ff; background: rgba(155,123,255,.2);
    display: inline-block; padding: 1px 8px; border-radius: 20px; margin-bottom: 3px; }
.v3ob-title { font-size: 16px; font-weight: 700; color: #fff; }
.v3ob-body { font-size: 13.5px; line-height: 1.55; color: #cdd9f2; margin-bottom: 11px; }
.v3ob-body b { color: #fff; }
.v3ob-btn { display: block; width: 100%; padding: 12px; border: 0; border-radius: 14px;
    font-size: 15px; font-weight: 700; cursor: pointer; color: #fff;
    background: linear-gradient(90deg,#9b7bff,#7c5cff); box-shadow: 0 5px 16px rgba(124,92,255,.45); }
.v3ob-btn.play { background: linear-gradient(90deg,#ff9d2e,#ffb45a); color: #3a2200; }
.v3ob-btn.go { background: linear-gradient(90deg,#37d39b,#56e3b0); color: #04301f; }
.v3ob-btn.f2 { background: linear-gradient(90deg,#36cfff,#1f8fe0); color: #04263a; }
.v3ob-btn.f3 { background: linear-gradient(90deg,#ff6a6a,#ff9292); color: #3a0000; }
.v3ob-btn.f4 { background: linear-gradient(90deg,#37d39b,#56e3b0); color: #04301f; }
.v3ob-btn:disabled { opacity: .6; cursor: default; }
.v3ob-skip { display: block; text-align: center; margin-top: 8px; color: #7e8db0; font-size: 12px; text-decoration: none; }

.v3ob-overlay .v3ob-card { max-height: calc(100vh - 28px); overflow-y: auto; }
.v3ob-overlay .v3ob-skip { position: absolute; top: 10px; right: 12px; margin: 0; padding: 4px 8px; border-radius: 10px;
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.3; }
.v3ob-overlay .v3ob-top { padding-right: 84px; }



.v3tr-overlay { position: fixed; inset: 0; z-index: 100050; display: flex; align-items: center; justify-content: center;
    background: rgba(4,8,18,.5); opacity: 0; transition: opacity .26s ease; pointer-events: none; }
.v3tr-overlay.show { opacity: 1; pointer-events: auto; }
.v3tr-card { min-width: 220px; max-width: 80vw; padding: 22px 26px 18px; border-radius: 20px; text-align: center;
    background: #121a30; border: 1.5px solid rgba(155,123,255,.5); box-shadow: 0 12px 44px rgba(0,0,0,.55);
    transform: scale(.9); transition: transform .26s cubic-bezier(.34,1.56,.64,1); }
.v3tr-overlay.show .v3tr-card { transform: scale(1); }
.v3tr-dots { font-size: 9px; letter-spacing: 3px; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.v3tr-icon { width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 17px; display: flex; align-items: center; justify-content: center;
    font-size: 32px; box-shadow: 0 5px 18px rgba(0,0,0,.4); background: linear-gradient(135deg,#9b7bff,#7c5cff); }
.v3tr-name { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.v3tr-goal { font-size: 13px; line-height: 1.5; color: #cdd9f2; margin-bottom: 14px; }
.v3tr-btn { display: inline-block; padding: 9px 28px; border: 0; border-radius: 13px; cursor: pointer;
    font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(90deg,#9b7bff,#7c5cff); box-shadow: 0 4px 14px rgba(124,92,255,.4); }

.v3tr-f1 .v3tr-icon, .v3tr-f1 .v3tr-btn { background: linear-gradient(135deg,#9b7bff,#7c5cff); }
.v3tr-f2 .v3tr-icon, .v3tr-f2 .v3tr-btn { background: linear-gradient(135deg,#36cfff,#1f8fe0); }
.v3tr-f3 .v3tr-icon, .v3tr-f3 .v3tr-btn { background: linear-gradient(135deg,#ff6a6a,#e04848); }
.v3tr-f4 .v3tr-icon, .v3tr-f4 .v3tr-btn { background: linear-gradient(135deg,#37d39b,#1fae7e); }
.v3tr-f2 .v3tr-card { border-color: rgba(54,207,255,.5); }
.v3tr-f3 .v3tr-card { border-color: rgba(255,106,106,.5); }
.v3tr-f4 .v3tr-card { border-color: rgba(55,211,155,.5); }



#v116-cruise-bar .cruise-single-row .cruise-s-dot.cruise-s-dot-named {
    width: auto !important; min-width: 0 !important; height: auto !important; flex-shrink: 0 !important;
    border-radius: 13px !important; padding: 3px 6px !important;
    display: inline-flex !important; align-items: center !important; gap: 2px !important;
    white-space: nowrap !important; box-sizing: border-box !important; font-size: 12px !important;
}
#v116-cruise-bar .cruise-single-row .cruise-s-dot.cruise-s-dot-named .cruise-s-dot-nm {
    font-size: 12px !important; font-weight: 600 !important; line-height: 1 !important;
}

#v116-cruise-bar .cruise-single-row.cruise-v3-named { gap: 4px !important; }
#v116-cruise-bar .cruise-single-row.cruise-v3-named .cruise-s-dots { flex-shrink: 0 !important; overflow: visible !important; gap: 4px !important; }


#v116-cruise-bar .cruise-single-row .cruise-s-dot.cruise-s-dot-named.cruise-s-dot-compact {
    padding: 2px 4px !important; gap: 1px !important;
}
#v116-cruise-bar .cruise-single-row .cruise-s-dot.cruise-s-dot-named.cruise-s-dot-compact .cruise-s-dot-nm {
    font-size: 9.5px !important; font-weight: 500 !important;
}

#v116-cruise-bar .cruise-single-row.cruise-v3-named:has(.cruise-s-dot-compact) {
    gap: 3px !important;
}
#v116-cruise-bar .cruise-single-row.cruise-v3-named .cruise-s-rev-chip {
    font-size: 11px !important; padding: 3px 8px !important;
}

@media (max-width: 392px) {
  #v116-cruise-bar .cruise-single-row.cruise-v3-named { gap: 2px !important; }
  #v116-cruise-bar .cruise-single-row.cruise-v3-named .cruise-s-dots { gap: 1px !important; }
  #v116-cruise-bar .cruise-single-row .cruise-s-dot.cruise-s-dot-named.cruise-s-dot-compact {
      padding: 2px 3px !important; gap: 1px !important; font-size: 10px !important; 
  }
  #v116-cruise-bar .cruise-single-row .cruise-s-dot.cruise-s-dot-named.cruise-s-dot-compact .cruise-s-dot-nm {
      font-size: 8.5px !important; 
  }
  #v116-cruise-bar .cruise-single-row.cruise-v3-named .cruise-s-rev-chip {
      font-size: 10px !important; padding: 3px 5px !important; 
  }
}



.cinema-embed.cinema-flow-v3 .cinema-v3-hintbar,
.cinema-embed.cinema-flow-v3 .cinema-flow-main-btn {
    transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .45s, box-shadow .45s, filter .45s, background .45s, color .45s;
    transform-origin: center;
}

.cinema-embed.cinema-flow-v3 .cinema-v3-hintbar { font-size: 13px; position: relative; overflow: hidden; }
.cinema-embed.cinema-flow-v3 .cinema-v3-hint-fw { font-size: 11px; }



.cinema-embed.cinema-flow-v3.cinema-foc-listen .cinema-v3-hintbar {
    opacity: .5;
    transform: scale(.95);
    animation: none;   
    
}
.cinema-embed.cinema-flow-v3.cinema-foc-listen .cinema-v3-hintbar::after {
    display: none;   
}

.cinema-embed.cinema-flow-v3.cinema-foc-read .cinema-v3-hintbar {
    background: linear-gradient(135deg, rgba(56,135,235,.6), rgba(95,180,255,.45)); color: #eaf4ff;
}

.cinema-embed.cinema-flow-v3.cinema-foc-listen .cinema-flow-main-btn,
.cinema-embed.cinema-flow-v3.cinema-foc-read .cinema-flow-main-btn {
    transform: scale(.88); opacity: .5; background: linear-gradient(135deg, #5e4a30, #473722); color: rgba(255,239,218,.72);
    box-shadow: none; filter: saturate(.85); animation: none;
}

.cinema-embed.cinema-flow-v3.cinema-foc-act .cinema-flow-main-btn {
    transform: scale(1.04); animation: v3MorphBreath 1.7s ease-in-out infinite;
}
.cinema-embed.cinema-flow-v3.cinema-foc-act .cinema-v3-hintbar { transform: scale(.96); opacity: .6; }


.cinema-embed.cinema-flow-v3.cinema-foc-ready .cinema-flow-main-btn {
    transform: scale(1.05);
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    opacity: 1;
    filter: none;
    animation: v3MorphReadyFlash .55s ease-in-out 2, v3MorphBreath 1.7s ease-in-out 1.1s infinite;
}
.cinema-embed.cinema-flow-v3.cinema-foc-ready .cinema-v3-hintbar { transform: scale(.96); opacity: .65; }
@keyframes v3MorphReadyFlash {
    0%,100% { box-shadow: 0 4px 16px rgba(245,158,11,.5); filter: brightness(1); }
    50% { box-shadow: 0 0 0 5px rgba(245,158,11,.4), 0 10px 34px rgba(245,158,11,.92); filter: brightness(1.28); }
}


.cinema-embed.cinema-flow-v3.cinema-foc-produce .cinema-v3-hintbar {
    opacity: 1;        
    transform: scale(1);
    animation: none;
}
.cinema-embed.cinema-flow-v3.cinema-foc-produce .cinema-v3-hint-tx .cinema-v3-cue-produce {
    
    color: #fbbf24;          
    font-weight: 600;
    text-shadow: 0 0 8px rgba(251, 191, 36, .45);    
    opacity: 1;
}
.cinema-embed.cinema-flow-v3.cinema-foc-produce .cinema-flow-main-btn {
    
    transform: scale(.92);
    opacity: .62;
    animation: none;
    background: linear-gradient(135deg, #67522f, #4f3d24);
    color: rgba(255,242,224,.8);
    box-shadow: none;
    filter: saturate(.85);
}
.cinema-embed.cinema-flow-v3.cinema-foc-produce .cinema-sub-block {
    
    background: rgba(224,145,60,.10);
    border-radius: 9px;
}


.cinema-embed.cinema-flow-v3.cinema-foc-read .cinema-sub-block {
    background: rgba(224,145,60,.07);
    border-radius: 9px;
}

.cinema-embed.cinema-flow-v3.cinema-foc-act.cinema-v3-tag-f2 .cinema-sub-block {
    background: rgba(224,145,60,.07);
    border-radius: 9px;
}

.cinema-embed.cinema-flow-v3.cinema-foc-kw-pulse .cinema-sub-block .cinema-row-en .wp-en.cinema-keyword {
    animation: v3KwPulse 1.2s ease-in-out infinite;
    border-radius: 4px;
}
@keyframes v3KwPulse {
    0%,100% { background: rgba(224,145,60,0); }
    50% { background: rgba(224,145,60,.30); }
}
@keyframes v3HintPulse {
    0%,100% { box-shadow: 0 0 0 1px rgba(95,180,255,.42), 0 4px 14px rgba(56,135,235,.3); }
    50% { box-shadow: 0 0 0 2px rgba(120,200,255,.7), 0 6px 26px rgba(56,135,235,.55); }
}
@keyframes v3MorphBreath {
    0%,100% { box-shadow: 0 4px 14px rgba(245,158,11,.4); }
    50% { box-shadow: 0 7px 28px rgba(245,158,11,.72); }
}

@keyframes v3Shimmer {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

.cinema-embed .cinema-v3-gate-bar {
    display: none; gap: 8px; flex: 0 0 auto; align-self: stretch; width: 100%;
    box-sizing: border-box; min-height: 46px; margin: 0 0 6px;
}
.cinema-embed .cinema-v3-gate-bar.show { display: flex; }
.cinema-embed .cinema-v3-gate-bar button {
    flex: 1; border: none; border-radius: 12px; padding: 13px 4px; font-size: 12.5px; font-weight: 800; cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.cinema-embed .cinema-v3-gate-bar button:active { transform: scale(.97); }
.cinema-embed .cinema-v3-gate-know { background: #16324a; color: #9fd4ff; border: 1px solid #2f6f9e; }
.cinema-embed .cinema-v3-gate-done { background: linear-gradient(135deg,#f59e0b,#f0a850); color: #241500; box-shadow: 0 5px 18px rgba(245,158,11,.45); }



.cinema-embed.cinema-rec-cmp-active .cinema-flow-main-btn { display: none !important; }
.cinema-rec-cmp-bar {
    display: flex; gap: 8px; flex: 0 0 auto; align-self: stretch; width: 100%;
    box-sizing: border-box; min-height: 46px; margin: 0 0 6px; padding: 0;
}
.cinema-rec-cmp-btn {
    flex: 1 1 0; min-width: 0; border: none; border-radius: 12px; color: #fff;
    font-size: 0.92em; font-weight: 700; cursor: pointer;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 8px 4px;
}
.cinema-rec-cmp-right { background: linear-gradient(135deg, #10B981, #059669); }   
.cinema-rec-cmp-again { background: linear-gradient(135deg, #6c5ce7, #a78bfa); }   
.cinema-rec-cmp-fav   { background: linear-gradient(135deg, #F59E0B, #D97706); }   

.cinema-rec-cmp-skip  { background: linear-gradient(135deg, rgba(148,163,184,1), rgba(100,116,139,1)); }   



.cinema-rec-skip-row { display: flex; justify-content: center; align-self: center; flex: 0 0 auto; margin: 8px 0 0; }
.cinema-rec-skip-btn {
    background: rgba(148,163,184,.16); color: rgba(226,232,240,.85);
    border: 1px solid rgba(148,163,184,.32); border-radius: 18px;
    font-size: 0.82em; font-weight: 600; padding: 6px 16px; cursor: pointer;
    white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background .15s;
}
.cinema-rec-skip-btn:active { background: rgba(148,163,184,.28); }


.cinema-embed.cinema-flow-v3 .cinema-flow-main-btn {
    align-self: center; width: auto; min-width: 200px; max-width: 90%;
    padding: 11px 30px; border-radius: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.cinema-embed.cinema-flow-v3 .cinema-v3-gate-bar {
    align-self: center; width: auto; max-width: 94%; justify-content: center;
}
.cinema-embed.cinema-flow-v3 .cinema-v3-gate-bar button {
    flex: 0 1 auto; min-width: 130px; padding: 12px 22px; border-radius: 26px;
}
.cinema-embed.cinema-flow-v3 .cinema-rec-cmp-bar {
    align-self: center; width: auto; max-width: 96%; justify-content: center;
    flex-wrap: wrap;   
}
.cinema-embed.cinema-flow-v3 .cinema-rec-cmp-btn {
    flex: 0 1 auto; min-width: 92px; padding: 10px 16px; border-radius: 24px;
}
.cinema-embed.cinema-flow-v3 .cinema-rec-cmp-skip { min-width: 76px; padding: 10px 14px; }   

.cinema-embed .cinema-rec-replay-row {
    display: flex; gap: 10px; justify-content: center; align-self: center;
    flex: 0 0 auto; margin: 0 0 6px;
}
.cinema-rec-replay-btn {
    border: 1px solid rgba(95,180,255,.5); background: rgba(16,32,58,.72); color: #bfe0ff;
    border-radius: 22px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; cursor: pointer;
    transition: transform .15s;
}
.cinema-rec-replay-btn:active { transform: scale(.96); }




.v253-jingting-popup .v253-jingting-header .v255-pick-btn {
    background: rgba(94, 234, 212, 0.10) !important;
    color: #5eead4 !important;
    border: 1px solid rgba(94, 234, 212, 0.45) !important;
    padding: 5px 10px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    margin-right: 6px !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    transition: background 120ms ease, color 120ms ease !important;
}
.v253-jingting-popup .v253-jingting-header .v255-pick-btn.active {
    background: rgba(94, 234, 212, 0.85) !important;
    color: #001f1c !important;
    border-color: rgba(94, 234, 212, 0.85) !important;
    font-weight: 600 !important;
}
.v253-jingting-popup .v253-jingting-header .v255-pick-btn .v255-pick-state {
    margin-left: 3px !important;
    font-weight: bold !important;
}


.v253-jingting-popup.v255-pick-mode {
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}


.v253-jingting-popup .v253-jingting-header .v253-jingting-spiral {
    display: none !important;
}


.v253-jingting-popup.v255-pick-mode .wp-en.v255-pickable {
    cursor: pointer !important;
    border-bottom: 2px dotted rgba(94, 234, 212, 0.50) !important;
    padding: 0 4px !important;
    margin: 0 -1px !important;
    border-radius: 3px !important;
    position: relative !important;
    transition: background 100ms ease, border-bottom-color 100ms ease !important;
    
}
.v253-jingting-popup.v255-pick-mode .wp-en.v255-pickable::before {
    content: '☐';
    color: rgba(94, 234, 212, 0.85);
    font-size: 0.85em;
    margin-right: 3px;
    -webkit-text-fill-color: rgba(94, 234, 212, 0.85);
}


.v253-jingting-popup.v255-pick-mode .wp-en.v255-pickable.v255-checked {
    background: rgba(94, 234, 212, 0.22) !important;
    border-bottom: 2px solid rgba(94, 234, 212, 0.95) !important;
    color: #5eead4 !important;
    -webkit-text-fill-color: #5eead4 !important;
}
.v253-jingting-popup.v255-pick-mode .wp-en.v255-pickable.v255-checked::before {
    content: '☑';
    color: #5eead4;
    -webkit-text-fill-color: #5eead4;
    font-weight: bold;
}


.v253-jingting-popup.v255-pick-mode .v253-jingting-subtitle .word-pair .wp-en { opacity: 0 !important; }
.v253-jingting-popup.v255-pick-mode .v253-jingting-subtitle .word-pair .wp-en::before { content: '' !important; margin: 0 !important; }
.v253-jingting-popup.v255-pick-mode.v255-en-revealed .v253-jingting-subtitle .word-pair .wp-en { opacity: 1 !important; }
.v253-jingting-popup.v255-pick-mode .v253-jingting-subtitle .word-pair .wp-cn {
    cursor: pointer !important; border-radius: 3px !important; padding: 0 3px !important;
    transition: background 100ms ease !important;
}
.v253-jingting-popup.v255-pick-mode .v253-jingting-subtitle .word-pair .wp-cn::before {
    content: '☐'; color: rgba(94, 234, 212, 0.85); font-size: 0.85em; margin-right: 3px;
    -webkit-text-fill-color: rgba(94, 234, 212, 0.85);
}
.v253-jingting-popup.v255-pick-mode .v253-jingting-subtitle .word-pair.v255-pair-checked .wp-cn {
    background: rgba(94, 234, 212, 0.24) !important; color: #0f766e !important;
    -webkit-text-fill-color: #0f766e !important;
}
.v253-jingting-popup.v255-pick-mode .v253-jingting-subtitle .word-pair.v255-pair-checked .wp-cn::before {
    content: '☑'; color: #14b8a6; -webkit-text-fill-color: #14b8a6; font-weight: bold;
}

body.cb-phonetic-hidden .v253-jingting-popup.v255-pick-mode .cb-jt-pd-section { display: block !important; }

.v253-jingting-popup .v253-jingting-header .v255-eye-btn {
    background: rgba(94, 234, 212, 0.10) !important; color: #5eead4 !important;
    border: 1px solid rgba(94, 234, 212, 0.45) !important;
    padding: 5px 10px !important; border-radius: 14px !important; font-size: 12px !important;
    cursor: pointer !important; margin-right: 6px !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    transition: background 120ms ease, color 120ms ease !important;
}
.v253-jingting-popup .v253-jingting-header .v255-eye-btn.active {
    background: rgba(94, 234, 212, 0.85) !important; color: #001f1c !important;
    border-color: rgba(94, 234, 212, 0.85) !important; font-weight: 600 !important;
}
.v253-jingting-popup .v253-jingting-header .v255-eye-btn .v255-eye-state {
    margin-left: 3px !important; font-weight: bold !important;
}


.v253-jingting-popup .v255-action-bar {
    flex-shrink: 0;
    padding: 12px 16px 14px 16px !important;
    background: rgba(0, 31, 28, 0.85) !important;
    border-top: 1px solid rgba(94, 234, 212, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
}
.v253-jingting-popup .v255-action-bar .v255-action-hint {
    color: rgba(165, 243, 252, 0.55) !important;
    font-size: 12px !important;
    text-align: center !important;
}
.v253-jingting-popup .v255-action-bar .v255-action-info {
    color: rgba(94, 234, 212, 0.95) !important;
    font-size: 13px !important;
    text-align: center !important;
    font-weight: 600 !important;
}
.v253-jingting-popup .v255-action-bar .v255-action-buttons {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
}
.v253-jingting-popup .v255-action-bar button {
    flex: 1 !important;
    padding: 10px 14px !important;
    border-radius: 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    transition: transform 80ms ease, opacity 120ms ease !important;
    max-width: 180px !important;
}
.v253-jingting-popup .v255-action-bar .v255-play-normal-btn {
    background: linear-gradient(135deg, rgba(165, 243, 252, 0.92), rgba(125, 211, 252, 0.92)) !important;
    color: #001f1c !important;
    -webkit-text-fill-color: #001f1c !important;
}
.v253-jingting-popup .v255-action-bar .v255-play-spiral-btn {
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.95), rgba(45, 212, 191, 0.95)) !important;
    color: #001f1c !important;
    -webkit-text-fill-color: #001f1c !important;
}
.v253-jingting-popup .v255-action-bar button:active {
    transform: scale(0.96) !important;
}






body.profile-chapter-book {
    background: #F8F9FB !important;
}


body.profile-chapter-book .sent-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    margin: 12px 8px !important;
    padding: 14px 14px !important;
}


body.profile-chapter-book .sent-card .row-en {
    font-size: 1.0em !important;
    line-height: 1.55 !important;
}
body.profile-chapter-book .sent-card .row-interlinear {
    line-height: 1.6 !important;
}
body.profile-chapter-book .sent-card .word-pair .wp-en {
    font-size: 1.18em !important;
    color: #1E293B !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 500 !important;
}
body.profile-chapter-book .sent-card .word-pair .wp-cn {
    font-size: 0.78em !important;
    color: #6366F1 !important;
}


body.profile-chapter-book .stage-btn-6,
body.profile-chapter-book .stage-btn-7,
body.profile-chapter-book .stage-btn-8,
body.profile-chapter-book .stage-btn-2,  
body.profile-chapter-book .stage-select-btn[onclick*="selectStage(2)"],
body.profile-chapter-book .stage-select-btn[onclick*="selectStage(6)"],
body.profile-chapter-book .stage-select-btn[onclick*="selectStage(7)"],
body.profile-chapter-book .stage-select-btn[onclick*="selectStage(8)"] {
    display: none !important;
}

body.profile-chapter-book.cb-difficulty-simplified .stage-btn-4,
body.profile-chapter-book.cb-difficulty-simplified .stage-btn-5,
body.profile-chapter-book.cb-difficulty-simplified #stage-selector-expanded .stage-select-btn[onclick*="selectStage(4)"],
body.profile-chapter-book.cb-difficulty-simplified #stage-selector-expanded .stage-select-btn[onclick*="selectStage(5)"],
body.profile-chapter-book.cb-difficulty-easy .stage-btn-4,
body.profile-chapter-book.cb-difficulty-easy .stage-btn-5,
body.profile-chapter-book.cb-difficulty-easy #stage-selector-expanded .stage-select-btn[onclick*="selectStage(4)"],
body.profile-chapter-book.cb-difficulty-easy #stage-selector-expanded .stage-select-btn[onclick*="selectStage(5)"] {
    display: none !important;
}
body.profile-chapter-book.cb-difficulty-standard .stage-btn-5,
body.profile-chapter-book.cb-difficulty-standard #stage-selector-expanded .stage-select-btn[onclick*="selectStage(5)"] {
    display: none !important;
}


body.profile-chapter-book .stage-collapsed-total {
    visibility: hidden !important;
    width: 0 !important;
    display: inline-block !important;
    position: relative !important;
}
body.profile-chapter-book .stage-collapsed-total::after {
    content: "/3" !important;  
    visibility: visible !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    white-space: nowrap !important;
}
body.profile-chapter-book.cb-difficulty-simplified .stage-collapsed-total::after,
body.profile-chapter-book.cb-difficulty-easy .stage-collapsed-total::after {
    content: "/2" !important;
}
body.profile-chapter-book.cb-difficulty-advanced .stage-collapsed-total::after,
body.profile-chapter-book.cb-difficulty-hard .stage-collapsed-total::after {
    content: "/4" !important;
}





body.profile-chapter-book:not(.cinema-embed-active) .cinema-embed {
    display: none !important;
}
body.profile-chapter-book.cinema-embed-active .srt-blocks-container {
    display: none !important;
}
body.profile-chapter-book.cinema-embed-active .cinema-embed {
    display: flex !important;
}



body.profile-chapter-book.stage-1 .sent-card .row-decode,
body.profile-chapter-book.stage-1 .sent-card .row-full {
    display: none !important;
}

body.profile-chapter-book .sent-card .row-full {
    color: #64748B !important;
    font-size: 0.92em !important;
}


body.profile-chapter-book .word-pair .wp-en[data-cat="person"],
body.profile-chapter-book .word-pair .wp-en[data-cat="animal"],
body.profile-chapter-book .word-pair .wp-en[data-cat="place"] {
    background-color: #DBEAFE !important;
    color: #1E3A8A !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
}
body.profile-chapter-book .word-pair .wp-en[data-cat="action"],
body.profile-chapter-book .word-pair .wp-en[data-cat="exclaim"] {
    background-color: #FED7AA !important;
    color: #7C2D12 !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
}
body.profile-chapter-book .word-pair .wp-en[data-cat="emotion"],
body.profile-chapter-book .word-pair .wp-en[data-cat="strong"] {
    background-color: #FECACA !important;
    color: #991B1B !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
}


body.profile-chapter-book #header-title,
body.profile-chapter-book .cinema-title-bar {
    background: linear-gradient(135deg, #6366F1, #8B5CF6) !important;
    color: #FFFFFF !important;
}


body.profile-chapter-book .cb-chapter-banner {
    padding: 16px 14px 10px;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    text-align: center;
}
body.profile-chapter-book .cb-chapter-banner h2 {
    font-size: 1.3em;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 4px;
}
body.profile-chapter-book .cb-chapter-banner .cb-chapter-en {
    font-size: 0.85em;
    color: #94A3B8;
    font-style: italic;
}


body.profile-chapter-book #stage-mini-controls .cb-difficulty-chip {
    margin-top: 6px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border: 1.5px solid #818CF8;
    border-radius: 12px;
    background: #FFFFFF;
    color: #4F46E5;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
body.profile-chapter-book #stage-mini-controls .cb-difficulty-chip:hover {
    background: #EEF2FF;
}
body.profile-chapter-book.cb-difficulty-hard #stage-mini-controls .cb-difficulty-chip {
    border-color: #F59E0B;
    color: #B45309;
}


@media (max-width: 480px) {
    body.profile-chapter-book .sent-card { margin: 8px 6px !important; padding: 12px !important; }
    body.profile-chapter-book .sent-card .word-pair .wp-en { font-size: 1.08em !important; }
}




body.profile-chapter-book #study-plan-view .study-plan-container > :not(#cb-simple-home) {
    display: none !important;
}


body.profile-chapter-book #cb-simple-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 420px;
    margin: 36px auto;
    padding: 28px 24px;
    background: #FFFFFF;
    border: 1px solid #E0E7FF;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08);
    text-align: center;
}
body.profile-chapter-book #cb-simple-home .cb-sh-icon { font-size: 40px; line-height: 1; }
body.profile-chapter-book #cb-simple-home .cb-sh-title {
    font-size: 1.25em;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.4;
}
body.profile-chapter-book #cb-simple-home .cb-sh-start {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.15em;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.28);
    transition: transform 0.15s, box-shadow 0.15s;
}
body.profile-chapter-book #cb-simple-home .cb-sh-start:active { transform: scale(0.98); }

body.profile-chapter-book #cb-simple-home .cb-sh-daily {
    display: block; width: 100%; margin: 0 0 12px; padding: 13px 16px;
    border-radius: 14px; text-align: center; font-size: 1em; font-weight: 700;
}
body.profile-chapter-book #cb-simple-home .cb-sh-daily-todo {
    background: linear-gradient(135deg, rgba(251,191,36,.16), rgba(249,115,22,.13));
    border: 2px solid rgba(245,158,11,.55); color: rgba(146,64,14,1); cursor: pointer;
    box-shadow: 0 4px 14px rgba(245,158,11,.18);
    animation: cbShDailyPulse 2.2s ease-in-out infinite;
}
body.profile-chapter-book #cb-simple-home .cb-sh-daily-todo .cb-sh-btn-sub {
    display: block; font-size: 0.72em; font-weight: 400; color: rgba(180,83,9,.85); margin-top: 3px;
}
@keyframes cbShDailyPulse { 0%,100% { box-shadow: 0 4px 14px rgba(245,158,11,.18); } 50% { box-shadow: 0 4px 22px rgba(245,158,11,.38); } }
body.profile-chapter-book #cb-simple-home .cb-sh-daily-done {
    background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.25);
    color: rgba(4,120,87,.9); font-size: 0.85em; font-weight: 600; padding: 9px 14px;
}

body.profile-chapter-book #cb-simple-home button.cb-sh-daily-done { cursor: pointer; font-family: inherit; }
body.profile-chapter-book #cb-simple-home .cb-sh-daily-done .cb-sh-btn-sub {
    display: block; font-size: 0.8em; font-weight: 400; color: rgba(4,120,87,.7); margin-top: 3px;
}
body.profile-chapter-book #cb-simple-home .cb-sh-start.cb-sh-locked {
    opacity: .45; filter: saturate(.35);
}

body.profile-chapter-book #cb-simple-home .cb-sh-fav {
    display: block; width: 100%; margin: 0 0 8px; padding: 13px 16px;
    border-radius: 14px; text-align: center; font-size: 1em; font-weight: 700; font-family: inherit;
}
body.profile-chapter-book #cb-simple-home .cb-sh-fav-todo {
    background: linear-gradient(135deg, rgba(139,92,246,.13), rgba(99,102,241,.10));
    border: 2px solid rgba(139,92,246,.45); color: rgba(76,29,149,1); cursor: pointer;
}
body.profile-chapter-book #cb-simple-home .cb-sh-fav .cb-sh-btn-sub {
    display: block; font-size: 0.72em; font-weight: 400; color: rgba(91,33,182,.8); margin-top: 3px;
}
body.profile-chapter-book #cb-simple-home .cb-sh-fav-done {
    background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.25);
    color: rgba(4,120,87,.9); font-size: 0.85em; font-weight: 600; padding: 9px 14px; cursor: pointer;
}
body.profile-chapter-book #cb-simple-home .cb-sh-fav-done .cb-sh-btn-sub { color: rgba(4,120,87,.7); }
body.profile-chapter-book #cb-simple-home .cb-sh-fav-skip {
    display: block; margin: 0 auto 12px; padding: 2px 8px; background: none; border: 0; cursor: pointer;
    font-family: inherit; font-size: 0.8em; color: rgba(100,116,139,1); text-decoration: underline; text-underline-offset: 3px;
}
body.profile-chapter-book #cb-simple-home .cb-sh-fav-later { opacity: .55; }
body.profile-chapter-book #cb-simple-home .cb-sh-start.cb-sh-start-wait {
    opacity: .6; box-shadow: none;
}
body.profile-chapter-book #cb-simple-home .cb-sh-next { position: relative; }
body.profile-chapter-book #cb-simple-home .cb-sh-fav-todo.cb-sh-next { animation: cbShFavPulse 2.2s ease-in-out infinite; }
@keyframes cbShFavPulse { 0%,100% { box-shadow: 0 4px 14px rgba(139,92,246,.16); } 50% { box-shadow: 0 4px 22px rgba(139,92,246,.36); } }
body.profile-chapter-book #cb-simple-home .cb-sh-next::before {
    content: '👉 下一步'; position: absolute; top: -9px; left: 12px; padding: 1px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 700; line-height: 16px; color: rgba(255,255,255,1); background: rgba(99,102,241,1);
    box-shadow: 0 2px 6px rgba(99,102,241,.3); pointer-events: none;
}
body.profile-chapter-book #cb-simple-home .cb-sh-steps {
    font-size: 0.82em;
    color: #64748B;
    line-height: 1.55;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: 10px;
    padding: 6px 10px;
}
body.profile-chapter-book #cb-simple-home .cb-sh-preview,
body.profile-chapter-book #cb-simple-home .cb-sh-doc {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 16px;
    font-size: 0.95em;
    font-weight: 600;
    color: #6366F1;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.15s;
}
body.profile-chapter-book #cb-simple-home .cb-sh-preview {
    color: #0E7490;
    background: #ECFEFF;
    border-color: #A5F3FC;
}
body.profile-chapter-book #cb-simple-home .cb-sh-preview:active,
body.profile-chapter-book #cb-simple-home .cb-sh-doc:active { transform: scale(0.98); }

body.profile-chapter-book #cb-simple-home .cb-sh-alt-divider {
    text-align: center;
    font-size: 0.74em;
    color: rgba(100, 116, 139, 0.85);
    margin: 12px 0 6px;
    letter-spacing: 0.02em;
}
body.profile-chapter-book #cb-simple-home .cb-sh-alt { opacity: 0.9; }
body.profile-chapter-book #cb-simple-home .cb-sh-btn-sub {
    font-size: 0.78em;
    font-weight: 400;
    color: #94A3B8;
}
body.profile-chapter-book #cb-simple-home .cb-sh-diff {
    font-size: 0.85em;
    color: #94A3B8;
}
body.profile-chapter-book #cb-simple-home .cb-sh-diff b { color: #4F46E5; }
body.profile-chapter-book #cb-simple-home .cb-sh-adv {
    margin-top: 2px;
    padding: 4px 8px;
    font-size: 0.8em;
    color: #94A3B8;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}
body.profile-chapter-book #cb-simple-home .cb-sh-adv:hover { color: #6366F1; }

@media (min-width: 700px) {
    body.profile-chapter-book #cb-simple-home {
        max-width: 600px;
        margin: 56px auto;
        padding: 36px 40px;
    }
}

body.profile-chapter-book.cb-night-mode #cb-simple-home {
    background: rgba(31, 31, 40, 1);
    border-color: rgba(51, 65, 85, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-title { color: rgba(230, 224, 210, 1); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-steps {
    color: rgba(139, 139, 151, 1);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(58, 58, 72, 1);
}
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-preview,
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-doc {
    color: rgba(199, 210, 254, 1);
    background: rgba(35, 35, 48, 1);
    border-color: rgba(56, 56, 69, 1);
}
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-preview { color: rgba(125, 211, 252, 1); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-alt-divider { color: rgba(139, 139, 151, 0.9); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-btn-sub { color: rgba(139, 139, 151, 1); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-diff { color: rgba(139, 139, 151, 1); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-diff b { color: rgba(165, 180, 252, 1); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-adv { color: rgba(139, 139, 151, 1); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-progress { color: rgba(139, 139, 151, 1); }

body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-fav-todo { color: rgba(221, 214, 254, 1); background: rgba(139, 92, 246, 0.16); border-color: rgba(167, 139, 250, 0.55); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-fav-todo .cb-sh-btn-sub { color: rgba(196, 181, 253, 0.85); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-fav-done { color: rgba(110, 231, 183, 1); background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.35); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-fav-done .cb-sh-btn-sub { color: rgba(110, 231, 183, 0.75); }
body.profile-chapter-book.cb-night-mode #cb-simple-home .cb-sh-fav-skip { color: rgba(148, 163, 184, 1); }


body.cb-flow-cinema .cinema-embed .cinema-controls .cinema-ctrl-row-buttons { display: none !important; }

body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-cbstep,
body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-cbstep { font-size: 11px; color: #FDE68A; margin: 0 7px 0 4px; white-space: nowrap; opacity: 0.95; }

body.cb-flow-cinema #v116-cruise-bar .cruise-s-dot.v128-pending,
body.cb-flow #v116-cruise-bar .cruise-s-dot.v128-pending { opacity: 0.42; position: relative; cursor: not-allowed; }
body.cb-flow-cinema #v116-cruise-bar .cruise-s-dot.v128-pending::after,
body.cb-flow #v116-cruise-bar .cruise-s-dot.v128-pending::after { content: '🔒'; position: absolute; bottom: -3px; right: -4px; font-size: 9px; line-height: 1; filter: grayscale(1); }

body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-dot.active,
body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-dot.active { transform: scale(1.08); }



body.profile-chapter-book.cb-flow.has-cruise-bar:not(.cinema-embed-active) #cb-reading-player { bottom: 44px; }

body.profile-chapter-book.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block:not(.cb-peeked) .row-interlinear .wp-en:not(.wp-punct) { visibility: hidden !important; opacity: 0 !important; }
body.profile-chapter-book.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block:not(.cb-peeked) .row-interlinear .wp-en-kept { visibility: hidden !important; opacity: 0 !important; }
body.profile-chapter-book.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .trans-wrapper,
body.profile-chapter-book.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-full { display: none !important; }

body.profile-chapter-book.cb-flow.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .trans-wrapper,
body.profile-chapter-book.cb-flow.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-full {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
}



body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #stage-mini-controls,
body.profile-chapter-book.cb-flow-cinema #stage-mini-controls { display: none !important; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-row-ext,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-toggle,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-pop,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-more { display: none !important; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-row-stage {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap; row-gap: 5px;
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-spiral,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-jt,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-rerec {
    flex: 0 0 auto; padding: 6px 9px; font-size: 0.7em; font-weight: 700; line-height: 1.3;
    text-align: center; white-space: nowrap;
    border-radius: 11px; cursor: pointer; transition: all 0.15s;
    color: #6366F1; background: #FFFFFF; border: 1.5px solid #C7D2FE;
}
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-jt { color: #4338CA; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-spiral:active,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-jt:active,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-rerec:active { transform: scale(0.94); }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-spiral.cb-rp-fn-on { color: #4338CA !important; background: #EEF2FF !important; border-color: #818CF8 !important; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-disp { white-space: nowrap; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic {
    
    flex: 0 0 auto; width: 88px; height: 32px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center; gap: 2px;
    font-size: 0.78em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: clip;
    border-radius: 11px; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s;
    background: #FFFFFF; border: 1.5px solid #FCA5A5;  
}
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic:active { transform: scale(0.94); }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic .cb-mic-label { display: inline; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic .v255-mic-wave {
    height: 14px; gap: 1.6px; margin-right: 3px;
}
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic .v255-mic-wave i {
    width: 2.4px; background: currentColor; opacity: 0.85;
}
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic .v255-mic-wave i:nth-child(1) { height: 5px; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic .v255-mic-wave i:nth-child(2) { height: 9px; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic .v255-mic-wave i:nth-child(3) { height: 13px; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic .v255-mic-wave i:nth-child(4) { height: 9px; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic .v255-mic-wave i:nth-child(5) { height: 5px; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic.cb-rp-mic-idle { background: #F8FAFC; border-color: #CBD5E1; color: #64748B; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic.cb-rp-mic-recording { background: #FEF2F2; border-color: #EF4444; color: #DC2626; animation: cb-mic-pulse 1.4s ease-in-out infinite; }
@keyframes cb-mic-pulse { 0%, 100% { background: #FEF2F2; } 50% { background: #FECACA; } }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic.cb-rp-mic-playback { background: #EFF6FF; border-color: #3B82F6; color: #1D4ED8; cursor: default; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic.cb-rp-mic-done { background: #F0FDF4; border-color: #22C55E; color: #15803D; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic.cb-rp-mic-disabled { opacity: 0.5; border-color: #E2E8F0; cursor: default; }

body.profile-chapter-book .srt-block .cb-peek-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-left: 5px;
    width: 24px; height: 24px; font-size: 0.8em; line-height: 1;
    color: #6366F1; background: #EEF2FF; border: 1px solid #C7D2FE; border-radius: 7px; cursor: pointer; transition: all 0.15s;
}
body.profile-chapter-book .srt-block .cb-peek-btn:active { transform: scale(0.9); }
body.profile-chapter-book .srt-block.cb-peeked .cb-peek-btn { color: #4338CA; background: #C7D2FE; }

body.profile-chapter-book .srt-block .cb-spiral-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-left: 5px;
    width: 24px; height: 24px; font-size: 0.8em; line-height: 1;
    color: #7C3AED; background: #F3E8FF; border: 1px solid #DDD6FE; border-radius: 7px; cursor: pointer; transition: all 0.15s;
}
body.profile-chapter-book .srt-block .cb-spiral-btn:active { transform: scale(0.9); }

body.profile-chapter-book.cb-night-mode .srt-block .cb-spiral-btn { background: #2d2a3a; border-color: #44445a; color: #c4b5fd; }


body.profile-chapter-book .srt-block .cb-blk-replay,
body.profile-chapter-book .srt-block .cb-blk-score { display: none; }
body.profile-chapter-book .srt-block.cb-recorded .cb-blk-replay,
body.profile-chapter-book .srt-block.cb-recorded .cb-blk-score {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-left: 5px;
    height: 24px; min-width: 24px; padding: 0 5px; font-size: 0.8em; line-height: 1;
    border-radius: 7px; cursor: pointer; transition: all 0.15s;
}
body.profile-chapter-book .srt-block.cb-recorded .cb-blk-replay { color: #15803D; background: #DCFCE7; border: 1px solid #86EFAC; }
body.profile-chapter-book .srt-block.cb-recorded .cb-blk-score   { color: #B45309; background: #FEF3C7; border: 1px solid #FCD34D; font-size: 0.72em; }
body.profile-chapter-book .srt-block.cb-recorded .cb-blk-replay:active,
body.profile-chapter-book .srt-block.cb-recorded .cb-blk-score:active { transform: scale(0.9); }
body.profile-chapter-book.cb-night-mode .srt-block.cb-recorded .cb-blk-replay { background: #1f3d2a; border-color: #2f5c3f; color: #86efac; }
body.profile-chapter-book.cb-night-mode .srt-block.cb-recorded .cb-blk-score  { background: #3d3320; border-color: #5c4a2f; color: #fcd34d; }

body.profile-chapter-book .srt-block .cb-score-panel {
    margin: 8px 10px 4px; padding: 10px 12px; border-radius: 10px;
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7); border: 1px solid #FCD34D;
    font-size: 13px; color: #78350F; line-height: 1.5;
}
body.profile-chapter-book .srt-block .cb-score-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
body.profile-chapter-book .srt-block .cb-score-num { font-size: 22px; font-weight: 800; color: #B45309; }
body.profile-chapter-book .srt-block .cb-score-lbl { font-weight: 700; }
body.profile-chapter-book .srt-block .cb-score-sub { font-size: 12px; color: #92702A; }
body.profile-chapter-book .srt-block .cb-score-tip { margin-top: 6px; font-size: 12.5px; color: #92702A; }
body.profile-chapter-book.cb-night-mode .srt-block .cb-score-panel { background: #3a3320; border-color: #5c4a2f; color: #f0e2c0; }
body.profile-chapter-book.cb-night-mode .srt-block .cb-score-num { color: #fcd34d; }
body.profile-chapter-book.cb-night-mode .srt-block .cb-score-sub,
body.profile-chapter-book.cb-night-mode .srt-block .cb-score-tip { color: #d4c08a; }

body.profile-chapter-book .srt-block .cb-sp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.profile-chapter-book .srt-block .cb-sp-toggle {
    flex: 0 0 auto; background: rgba(180,83,9,.12); color: #B45309; border: 0;
    border-radius: 999px; padding: 4px 10px; font-size: 11.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
body.profile-chapter-book .srt-block .cb-sp-words { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
body.profile-chapter-book .srt-block .cb-sp-wrow {
    display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px;
    background: rgba(255,255,255,.55); cursor: pointer; font-size: 12.5px;
}
body.profile-chapter-book .srt-block .cb-sp-wrow.cb-sp-w-bad { background: rgba(239,68,68,.16); }
body.profile-chapter-book .srt-block .cb-sp-wrow.cb-sp-w-miss { background: rgba(249,115,22,.16); }
body.profile-chapter-book .srt-block .cb-sp-wrow.cb-sp-w-weak { background: rgba(250,204,21,.20); }
body.profile-chapter-book .srt-block .cb-sp-w { font-weight: 700; flex: 1 1 auto; }
body.profile-chapter-book .srt-block .cb-sp-ws { font-weight: 800; color: #B45309; min-width: 26px; text-align: right; }
body.profile-chapter-book .srt-block .cb-sp-tag {
    background: rgba(239,68,68,.85); color: #fff; border-radius: 999px; padding: 1px 7px; font-size: 10.5px; font-weight: 700;
}
body.profile-chapter-book .srt-block .cb-sp-exp { font-size: 10.5px; color: #92702A; }
body.profile-chapter-book .srt-block .cb-sp-ph { margin: 2px 0 6px 8px; padding: 6px 8px; background: rgba(255,255,255,.45); border-radius: 7px; }
body.profile-chapter-book .srt-block .cb-sp-syl { display: inline-block; margin: 0 4px 4px 0; font-size: 12px; }
body.profile-chapter-book .srt-block .cb-sp-syl-accent { color: #B45309; font-weight: 800; }
body.profile-chapter-book .srt-block .cb-sp-syl i { font-style: normal; font-size: 10px; color: #92702A; opacity: .8; }
body.profile-chapter-book .srt-block .cb-sp-syl-weak { background: rgba(250,204,21,.22); border-radius: 5px; padding: 0 4px; }
body.profile-chapter-book .srt-block .cb-sp-phlist { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
body.profile-chapter-book .srt-block .cb-sp-phn {
    background: rgba(16,185,129,.16); color: #065F46; border-radius: 6px; padding: 2px 7px; font-size: 12px; font-weight: 600;
}
body.profile-chapter-book .srt-block .cb-sp-phn-bad { background: rgba(239,68,68,.20); color: #991B1B; }
body.profile-chapter-book .srt-block .cb-sp-phtip { margin-top: 5px; font-size: 11.5px; color: #92702A; }
body.profile-chapter-book.cb-night-mode .srt-block .cb-sp-toggle { background: rgba(252,211,77,.18); color: #fcd34d; }
body.profile-chapter-book.cb-night-mode .srt-block .cb-sp-wrow { background: rgba(255,255,255,.06); }
body.profile-chapter-book.cb-night-mode .srt-block .cb-sp-ph { background: rgba(255,255,255,.05); }
body.profile-chapter-book.cb-night-mode .srt-block .cb-sp-phn { background: rgba(16,185,129,.22); color: #6ee7b7; }
body.profile-chapter-book.cb-night-mode .srt-block .cb-sp-phn-bad { background: rgba(239,68,68,.28); color: #fca5a5; }


body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player.cb-rp-cmp-active .cb-rp-next { display: none !important; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player.cb-rp-cmp-active .cb-rp-rerec { display: none !important; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player.cb-rp-cmp-active .cb-rp-row-main { flex-wrap: nowrap !important; }
body.profile-chapter-book #cb-reading-player .cb-cmp-bar {
    order: 3; flex: 1 1 auto; min-width: 0; align-self: stretch;
    display: flex; gap: clamp(3px, 1.4vw, 6px); padding: 0; margin: 0;
    box-sizing: border-box; align-items: stretch;
}
body.profile-chapter-book #cb-reading-player .cb-cmp-btn {
    flex: 1 1 0; min-width: 0; padding: 0 clamp(2px, 1vw, 4px); border-radius: 11px;
    font-size: clamp(0.6rem, 2.7vw, 0.82rem); font-weight: 700; line-height: 1.15; white-space: nowrap;
    cursor: pointer; border: 1.5px solid transparent; transition: transform 0.12s, filter 0.12s;
    display: flex; align-items: center; justify-content: center; text-align: center;
    overflow: hidden; text-overflow: ellipsis;
}
body.profile-chapter-book #cb-reading-player .cb-cmp-btn:active { transform: scale(0.95); }
body.profile-chapter-book #cb-reading-player .cb-cmp-right {
    background: linear-gradient(135deg, #34D399, #10B981); color: #fff; border-color: #10B981;
}
body.profile-chapter-book #cb-reading-player .cb-cmp-again {
    background: #EEF2FF; color: #4338CA; border-color: #C7D2FE;
}
body.profile-chapter-book #cb-reading-player .cb-cmp-later {
    background: #F0FDF4; color: #15803D; border-color: #86EFAC;
}
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-cmp-again {
    background: #2d2a3a; color: #c4b5fd; border-color: #44445a;
}
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-cmp-later {
    background: #1f3d2a; color: #86efac; border-color: #2f5c3f;
}


body.profile-chapter-book #v116-cruise-bar .cruise-single-row .cb-adv-cruise-btn {
    flex: 0 0 auto; margin: 0 1px; width: 26px; height: 26px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; line-height: 1; cursor: pointer;
    border-radius: 8px; border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.12); color: #fff;
    transition: background 0.15s, transform 0.12s;
}
body.profile-chapter-book #v116-cruise-bar .cruise-single-row .cb-adv-cruise-btn:hover { background: rgba(255,255,255,0.22); }
body.profile-chapter-book #v116-cruise-bar .cruise-single-row .cb-adv-cruise-btn:active { transform: scale(0.9); }

body.profile-chapter-book.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block.cb-peeked .row-interlinear .wp-en:not(.wp-punct) {
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
}

body.profile-chapter-book.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block.cb-peeked .row-interlinear .wp-en-kept {
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    font-style: normal !important;
    color: #6B7280 !important;
    -webkit-text-fill-color: #6B7280 !important;
    transition: none !important;
}

body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-spiral,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-jt,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-rerec { background: #232330; border-color: #383845; color: #b4afd0; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-mic { background: #2a2230; border-color: #5a3a3a; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-mic .v255-mic-wave i { background: #b06868; }
body.profile-chapter-book.cb-night-mode .srt-block .cb-peek-btn { background: #2a2a36; border-color: #44445a; color: #b4afd0; }
body.profile-chapter-book.cb-night-mode .srt-block.cb-peeked .cb-peek-btn { background: #44445a; color: #d5d2ea; }


body.profile-chapter-book.cb-night-mode .srt-block .block-header {
  background: var(--cb-card-bg) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
body.profile-chapter-book.cb-night-mode .srt-block .block-header .meta-left,
body.profile-chapter-book.cb-night-mode .srt-block .block-header .meta-left .block-id,
body.profile-chapter-book.cb-night-mode .srt-block .block-header .btn-group { color: var(--cb-fgC) !important; }
body.profile-chapter-book.cb-night-mode .srt-block .row-decode {
  background: rgba(255,255,255,.05) !important;
  color: var(--cb-ink) !important;
  border-left-color: var(--cb-acV) !important;
}
body.profile-chapter-book.cb-night-mode .srt-block .row-full-label {
  background: rgba(255,255,255,.06) !important;
  color: var(--cb-fgN) !important;
}
body.profile-chapter-book.cb-night-mode .srt-block .row-full { color: rgba(232,238,242,.78) !important; }
body.profile-chapter-book.cb-night-mode .srt-block .mic-btn {
  background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.14) !important; color: var(--cb-fgN) !important;
}
body.profile-chapter-book.cb-night-mode .srt-block .mic-btn:hover { background: rgba(255,255,255,.10) !important; }
body.profile-chapter-book.cb-night-mode .srt-block .cb-blk-replay {
  background: rgba(255,255,255,.05) !important; border-color: rgba(255,255,255,.12) !important; color: var(--cb-fgN) !important;
}
body.profile-chapter-book.cb-night-mode .srt-block .cb-blk-score {
  background: rgba(252,211,77,.12) !important; border-color: rgba(252,211,77,.30) !important; color: var(--cb-acV) !important;
}

body.profile-chapter-book.cb-night-mode .srt-block.cb-reading-active,
body.profile-chapter-book.cb-night-mode.cb-flow:not(.cinema-embed-active) .srt-block.cb-reading-active.cb-revealed {
  background: linear-gradient(90deg, rgba(129,140,248,.16) 0%, rgba(36,48,66,0) 70%) !important;
}

body.profile-chapter-book.cb-night-mode,
body.profile-chapter-book.cb-night-mode .main-content { background: rgba(22,22,28,1) !important; }

body.profile-chapter-book.cb-night-mode.cb-flow:not(.cinema-embed-active) .srt-block.cb-revealed {
    background: linear-gradient(90deg, rgba(16,185,129,.10) 0%, rgba(36,48,66,0) 50%) !important;
}
body.profile-chapter-book.cb-night-mode #sidebar { background: rgba(28,28,36,1) !important; border-right-color: rgba(255,255,255,.08) !important; }


body.profile-chapter-book #stage-mini-controls button[aria-label="学习指南"],
body.profile-chapter-book #stage-selector-expanded .stage-select-help { display: none !important; }


body.profile-chapter-book #stage-controller { display: none !important; }


body.profile-chapter-book #stage-mini-controls .stage-current-btn,
body.profile-chapter-book #stage-mini-controls .cb-difficulty-chip,
body.profile-chapter-book #stage-mini-controls button[aria-label="切换解码翻译档位"] { display: none !important; }



body.profile-chapter-book:not(.cb-flow) #cb-reading-player .cb-rp-flowonly { display: none !important; }

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-row-main { flex-wrap: wrap; row-gap: 5px; justify-content: flex-start; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-gap { display: none !important; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-prev   { order: 1; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-play   { order: 2; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next   { order: 3; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-disp   { order: 4; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-spiral { order: 5; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic    { order: 6; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-rerec  { order: 7; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-fav    { order: 8; }
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-jt     { order: 9; }




body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-reveal-pulse {
    width: auto !important; min-width: 140px; height: 40px; padding: 0 14px;
    border-radius: 22px; border: none;
    background: linear-gradient(180deg, #FB923C 0%, #F59E0B 100%) !important;
    color: #fff !important; font-weight: 700; font-size: 0.95em; line-height: 1;
    box-shadow: 0 3px 12px rgba(251, 146, 60, 0.45);
    animation: cb-reveal-pulse 1.8s ease-in-out infinite;
}
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-reveal-pulse:active { transform: scale(0.95); }
@keyframes cb-reveal-pulse {
    0%, 100% { box-shadow: 0 3px 12px rgba(251, 146, 60, 0.45); }
    50% { box-shadow: 0 3px 22px rgba(251, 146, 60, 0.85), 0 0 0 4px rgba(251, 146, 60, 0.15); }
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-advance-ready {
    width: auto !important; min-width: 140px; height: 40px; padding: 0 14px;
    border-radius: 22px; border: none;
    background: linear-gradient(180deg, #34D399 0%, #10B981 100%) !important;
    color: #fff !important; font-weight: 700; font-size: 0.95em; line-height: 1;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.40);
}
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-advance-ready:active { transform: scale(0.95); }


body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-next-done {
    width: auto !important; min-width: 140px; height: 40px; padding: 0 14px;
    border-radius: 22px; border: none;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF !important;
    font-weight: 700; font-size: 0.78em; line-height: 1;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.40);
    animation: cb-next-done-pulse 1.6s ease-in-out infinite;
}
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-next-done:active { transform: scale(0.95); }
@keyframes cb-next-done-pulse { 0%, 100% { box-shadow: 0 3px 12px rgba(16, 185, 129, 0.40); } 50% { box-shadow: 0 3px 18px rgba(16, 185, 129, 0.65); } }





body.profile-chapter-book .srt-block .meta-left .cb-fav-block-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 6px;
    padding: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #9CA3AF;
    font-size: 0;        
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, color 0.2s, border-color 0.2s;
    vertical-align: middle;
}
body.profile-chapter-book .srt-block .meta-left .cb-fav-block-btn::before {
    content: '☆';
    font-size: 18px;
    line-height: 1;
}
body.profile-chapter-book .srt-block .meta-left .cb-fav-block-btn:hover {
    background: rgba(255, 215, 0, 0.18);
    transform: scale(1.1);
    border-color: rgba(251, 191, 36, 0.35);
}
body.profile-chapter-book .srt-block .meta-left .cb-fav-block-btn.active {
    color: #FBBF24;
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.45);
    animation: cb-fav-pulse 2.2s ease-in-out infinite;
}
body.profile-chapter-book .srt-block .meta-left .cb-fav-block-btn.active::before {
    content: '★';
}
@keyframes cb-fav-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.40); }
    50%      { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(251, 191, 36, 0); }
}

body.profile-chapter-book.cb-night-mode .srt-block .meta-left .cb-fav-block-btn {
    background: rgba(40, 36, 28, 0.6);
    border-color: rgba(251, 191, 36, 0.2);
    color: #B0AAA0;
}
body.profile-chapter-book.cb-night-mode .srt-block .meta-left .cb-fav-block-btn.active {
    background: rgba(251, 191, 36, 0.25);
    color: #FCD34D;
}



body.profile-chapter-book .srt-block .meta-left .cb-fav-block-btn.cb-fav-block-must {
    color: #FCD34D !important;
    background: rgba(252, 211, 77, 0.30) !important;
    border-color: rgba(252, 211, 77, 0.65) !important;
    animation: cb-fav-pulse-must 1.2s ease-in-out infinite !important;
}
body.profile-chapter-book .srt-block .meta-left .cb-fav-block-btn.cb-fav-block-must::before {
    content: '⭐' !important;
}
@keyframes cb-fav-pulse-must {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(252, 211, 77, 0.55); }
    50%      { transform: scale(1.14); box-shadow: 0 0 0 6px rgba(252, 211, 77, 0); }
}

body.profile-chapter-book.cb-night-mode .srt-block .meta-left .cb-fav-block-btn.cb-fav-block-must {
    background: rgba(252, 211, 77, 0.40) !important;
    color: #FEF3C7 !important;
}



.fav-card.fav-card-must {
    border: 2px solid rgba(252, 211, 77, 0.55) !important;
    background: linear-gradient(180deg, rgba(252, 211, 77, 0.06) 0%, transparent 100%) !important;
    box-shadow: 0 2px 12px rgba(252, 211, 77, 0.22);
    position: relative;
}

.fav-must-chip {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #92400E;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    border-radius: 10px;
    line-height: 1;
    user-select: none;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.35);
    animation: cb-fav-must-chip-shimmer 3s ease-in-out infinite;
}
@keyframes cb-fav-must-chip-shimmer {
    0%, 100% { box-shadow: 0 1px 3px rgba(245, 158, 11, 0.35); }
    50%      { box-shadow: 0 1px 8px rgba(245, 158, 11, 0.65); }
}



.cb-fav-must-center-flash {
    line-height: 1;
    user-select: none;
    pointer-events: none;
}
.cb-fav-must-star {
    line-height: 1;
    user-select: none;
    pointer-events: none;
}


.cb-fav-star-fly {
    line-height: 1;
    user-select: none;
    pointer-events: none;
}


body.profile-chapter-book:not(.cinema-embed-active) .srt-block.cb-reading-active {
    border-left-color: #6366F1 !important;
    box-shadow: 0 2px 14px rgba(99, 102, 241, 0.20) !important;
}



body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-prev,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-play,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next {
    min-width: 56px;
    height: 52px;
    font-size: 20px;
    margin: 0 6px;
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic {
    width: 96px;
    height: 52px;
}
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-rerec {
    height: 52px;
    min-width: 44px;
}

@media (max-width: 400px) {
    body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-prev,
    body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-play,
    body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next {
        min-width: 48px;
        height: 46px;
        font-size: 18px;
        margin: 0 4px;
    }
    body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-mic {
        width: 80px;
        height: 46px;
    }
    body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-rerec {
        height: 46px;
        min-width: 40px;
    }
}



body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-recording {
    width: auto !important;
    min-width: 140px;
    height: 52px;
    padding: 0 14px;
    border-radius: 26px;
    border: none;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95em;
    line-height: 1;
    animation: cb-rp-rec-pulse 0.9s ease-in-out infinite;
}
@keyframes cb-rp-rec-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.60); }
    50%      { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-playback-ready {
    width: auto !important;
    min-width: 170px;
    height: 52px;
    padding: 0 14px;
    border-radius: 26px;
    border: none;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92em;
    line-height: 1;
    animation: cb-rp-pulse-blue 1.4s ease-in-out infinite;
}
@keyframes cb-rp-pulse-blue {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.04); }
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-record-ready {
    width: auto !important;
    min-width: 150px;
    height: 52px;
    padding: 0 14px;
    border-radius: 26px;
    border: none;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.93em;
    line-height: 1;
    animation: cb-rp-pulse-orange 1.8s ease-in-out infinite;
}
@keyframes cb-rp-pulse-orange {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
    50%      { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-recording:active,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-playback-ready:active,
body.profile-chapter-book.cb-flow:not(.cinema-embed-active) #cb-reading-player .cb-rp-next.cb-rp-record-ready:active {
    transform: scale(0.95);
}


@keyframes cb-block-glow {
    0%   { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
    20%  { box-shadow: 0 0 28px 4px rgba(99, 102, 241, 0.45); }
    60%  { box-shadow: 0 0 16px 2px rgba(99, 102, 241, 0.25); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}
@keyframes cb-text-reveal-in {
    0%   { opacity: 0; transform: translateY(-6px); }
    60%  { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}


body.profile-chapter-book .srt-block.cb-reveal-anim {
    animation: cb-block-glow 0.6s ease-out;
    will-change: box-shadow;
}


body.profile-chapter-book .srt-block.cb-revealed.cb-reveal-anim .trans-wrapper,
body.profile-chapter-book .srt-block.cb-revealed.cb-reveal-anim .row-decode,
body.profile-chapter-book .srt-block.cb-revealed.cb-reveal-anim .row-full {
    animation: cb-text-reveal-in 0.4s ease-out;
    will-change: opacity, transform;
}

@keyframes cb-decode-area-flash {
    0%   { background-color: rgba(252, 211, 77, 0); box-shadow: 0 0 0 0 rgba(252, 211, 77, 0); }
    30%  { background-color: rgba(252, 211, 77, 0.16); box-shadow: 0 0 12px 2px rgba(252, 211, 77, 0.35); }
    100% { background-color: rgba(252, 211, 77, 0); box-shadow: 0 0 0 8px rgba(252, 211, 77, 0); }
}
body.profile-chapter-book .srt-block.cb-revealed.cb-reveal-anim .row-interlinear,
body.profile-chapter-book .srt-block.cb-revealed.cb-reveal-anim .trans-wrapper {
    animation: cb-decode-area-flash 0.8s ease-out, cb-text-reveal-in 0.4s ease-out;
    border-radius: 6px;
    will-change: background-color, box-shadow, opacity, transform;
}




body.profile-chapter-book .view-container[id^="session-"] .srt-block .row-interlinear .wp-cn:not(.wp-punct-cn) {
    font-size: 0.84em !important;
    font-weight: 600 !important;
}



body.profile-chapter-book .srt-block.cb-peeked.cb-reveal-anim .row-interlinear .wp-en:not(.wp-punct),
body.profile-chapter-book .srt-block.cb-peeked.cb-reveal-anim .row-en,
body.profile-chapter-book .srt-block.cb-peeked.cb-reveal-anim .wp-en-kept {
    animation: cb-text-reveal-in 0.4s ease-out;
    will-change: opacity, transform;
}


body.profile-chapter-book.cb-night-mode .srt-block.cb-reveal-anim {
    animation: cb-block-glow-night 0.6s ease-out;
}
@keyframes cb-block-glow-night {
    0%   { box-shadow: 0 0 0 0 rgba(252, 211, 77, 0); }
    20%  { box-shadow: 0 0 28px 4px rgba(252, 211, 77, 0.35); }
    60%  { box-shadow: 0 0 16px 2px rgba(252, 211, 77, 0.20); }
    100% { box-shadow: 0 0 0 0 rgba(252, 211, 77, 0); }
}




.fav-mode-toggle-row {
    background: #F9FAFB;
    border-radius: 8px;
    margin: 0 15px 8px;
}
.fav-mode-btn {
    background: rgba(99, 102, 241, 0.08);
    color: #4B5563;
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.2;
}
.fav-mode-btn:hover {
    background: rgba(99, 102, 241, 0.16);
}
.fav-mode-btn.fav-mode-on {
    background: linear-gradient(135deg, #6366F1, #818CF8);
    color: #fff;
    border-color: #6366F1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.32);
}


body.fav-mode-cn2en .fav-card .row-en .wp-en {
    filter: blur(6px);
    -webkit-filter: blur(6px);
    color: rgba(150,150,150,0.25);
    -webkit-text-fill-color: rgba(150,150,150,0.25);
}
body.fav-mode-cn2en .fav-card .row-en.fav-en-revealed .wp-en {
    filter: none !important;
    -webkit-filter: none !important;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}
body.fav-mode-cn2en .fav-card .trans-wrapper,
body.fav-mode-cn2en .fav-card .row-decode,
body.fav-mode-cn2en .fav-card .row-full {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
}


body.fav-mode-en2cn .fav-card .row-en .wp-en {
    filter: none !important;
    -webkit-filter: none !important;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}

body.fav-mode-en2cn .fav-card .trans-wrapper:not(.fav-cn-revealed) {
    filter: blur(5px) !important;
    -webkit-filter: blur(5px) !important;
    transition: filter 0.3s;
    cursor: pointer;
    user-select: none;
}
body.fav-mode-en2cn .fav-card .trans-wrapper:not(.fav-cn-revealed) .row-decode,
body.fav-mode-en2cn .fav-card .trans-wrapper:not(.fav-cn-revealed) .row-full {
    filter: blur(5px) !important;
    -webkit-filter: blur(5px) !important;
}
body.fav-mode-en2cn .fav-card .trans-wrapper.fav-cn-revealed {
    filter: none !important;
    -webkit-filter: none !important;
    user-select: text;
}

body.fav-mode-en2cn .fav-card .trans-wrapper:not(.fav-cn-revealed)::after {
    content: '👆 点击查看解码 + 翻译';
    display: block;
    text-align: center;
    color: #6366F1;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    filter: none !important;
    -webkit-filter: none !important;
    pointer-events: none;
}


body.fav-show-en .fav-card .row-en .wp-en,
body.fav-show-en .fav-card .row-en .fav-en-blur {
    filter: none !important;
    -webkit-filter: none !important;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}
body.fav-show-en .fav-card .row-en {
    background: linear-gradient(180deg, rgba(252,211,77,.08), rgba(252,211,77,.02));
    border-radius: 8px;
    transition: background 0.25s;
}


.fav-card.fav-card-blind .row-en,
.fav-card.fav-card-blind .row-en *,
.fav-card.fav-card-blind .trans-wrapper,
.fav-card.fav-card-blind .trans-wrapper *,
.fav-card.fav-card-blind.fav-card-oral .row-decode,
.fav-card.fav-card-blind.fav-card-oral .row-decode * {
    filter: blur(7px) !important;
    -webkit-filter: blur(7px) !important;
    opacity: 0.32 !important;
    pointer-events: none !important;
    user-select: none !important;
    transition: filter 0.3s, opacity 0.3s;
}

.fav-card.fav-card-blind .row-audio,
.fav-card.fav-card-blind .row-audio *,
.fav-card.fav-card-blind .btn-group,
.fav-card.fav-card-blind .btn-group *,
.fav-card.fav-card-blind .block-header,
.fav-card.fav-card-blind .block-header * {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.fav-card.fav-card-blind {
    border-left: 3px solid #6366F1 !important;
    background: linear-gradient(180deg, rgba(99,102,241,0.04), rgba(255,255,255,0));
    transition: border-color 0.3s, background 0.3s;
}


.fav-blind-btn {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.12));
    color: #92400e;
    border: 1px solid rgba(251, 191, 36, 0.5);
    padding: 4px 10px;
    height: 28px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.fav-blind-btn:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.35), rgba(245, 158, 11, 0.25));
    border-color: rgba(251, 191, 36, 0.8);
    transform: translateY(-1px);
}
.fav-blind-btn.on {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff8e7;
    border-color: #f59e0b;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}


.fav-rec-btn {
    background: linear-gradient(135deg, #6366F1, #8b5cf6);
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 1px 4px rgba(99,102,241,0.25);
}
.fav-rec-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(99,102,241,0.4); }
.fav-rec-btn:active { transform: translateY(0); }
.fav-card.fav-rec-active .fav-rec-btn {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 0 12px rgba(239,68,68,0.5);
    animation: favRecBtnPulse 1.2s ease-in-out infinite;
}
@keyframes favRecBtnPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(239,68,68,0.5); }
    50% { box-shadow: 0 0 18px rgba(239,68,68,0.8); }
}
.fav-rec-area {
    padding: 14px 16px;
    margin-top: 10px;
    border-top: 1px dashed rgba(99,102,241,0.25);
    background: linear-gradient(180deg, rgba(99,102,241,0.04), rgba(252,211,77,0.04));
    border-radius: 0 0 8px 8px;
    animation: favRecAreaFadeIn 0.25s ease-out;
}
@keyframes favRecAreaFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.fav-rec-status {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    padding: 6px 0;
    letter-spacing: 0.3px;
}
.fav-rec-cmp-bar {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4px 0;
}
.fav-rec-cmp-btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 18px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.fav-rec-cmp-btn:hover { transform: translateY(-1px); opacity: 0.92; }
.fav-rec-cmp-btn:active { transform: translateY(0); }
.fav-rec-cmp-right { background: linear-gradient(135deg, #10b981, #059669); }
.fav-rec-cmp-again { background: linear-gradient(135deg, #f59e0b, #d97706); }
.fav-rec-cmp-fav { background: linear-gradient(135deg, #ec4899, #be185d); }
.fav-rec-cmp-replay { background: linear-gradient(135deg, #6366F1, #4f46e5); }


.fav-rec-settings-btn {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 14px;
    background: #fff;
    color: #6366F1;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}
.fav-rec-settings-btn:hover { background: #EEF2FF; transform: translateY(-1px); }
.fav-rec-settings-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200000;
    display: flex; align-items: center; justify-content: center;
    animation: favRecAreaFadeIn 0.2s ease-out;
}
.fav-rec-settings-panel {
    background: #fff;
    border-radius: 16px;
    width: 340px;
    max-width: 92vw;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    display: flex; flex-direction: column;
}
.fav-rec-settings-header {
    padding: 14px 18px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #f1f5f9;
}
.fav-rec-settings-close {
    background: none; border: none; cursor: pointer;
    font-size: 18px; color: #94a3b8;
    padding: 4px 8px; border-radius: 8px;
}
.fav-rec-settings-close:hover { background: #f1f5f9; }
.fav-rec-settings-body {
    padding: 16px 18px 18px;
    display: flex; flex-direction: column; gap: 16px;
}
.fav-rec-settings-row { display: flex; flex-direction: column; gap: 8px; }
.fav-rec-settings-row label { font-size: 13px; font-weight: 600; color: #475569; }
.fav-rec-settings-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.fav-rec-settings-opts button {
    flex: 1;
    min-width: 50px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.fav-rec-settings-opts button:hover { background: #EEF2FF; }
.fav-rec-settings-opts button.on {
    background: linear-gradient(135deg, #6366F1, #8b5cf6);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}
.fav-rec-settings-tip {
    margin-top: 4px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 11px;
    color: #64748b;
    line-height: 1.6;
}



body.profile-chapter-book .srt-block .meta-left {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: clamp(1px, 0.9vw, 5px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0;
    overflow: visible;
}
body.profile-chapter-book .srt-block .meta-left > * { flex: 0 0 auto !important; margin-left: 0 !important; margin-right: 0 !important; }
body.profile-chapter-book .srt-block .meta-left > * { flex: 0 0 auto; }

body.profile-chapter-book .srt-block .meta-left .cb-must-fav-chip {
    display: inline-flex;
    align-items: center;
    margin-left: clamp(2px, 1vw, 8px);
    padding: 2px clamp(3px, 1.4vw, 7px);
    font-size: clamp(0.6rem, 2.5vw, 11px);
    font-weight: 700;
    color: #92400E;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    border-radius: 9px;
    line-height: 1.2;
    user-select: none;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.32);
    animation: cb-must-chip-shimmer 3s ease-in-out infinite;
}
@keyframes cb-must-chip-shimmer {
    0%, 100% { box-shadow: 0 1px 3px rgba(245, 158, 11, 0.32); }
    50%      { box-shadow: 0 1px 8px rgba(245, 158, 11, 0.65); }
}

body.profile-chapter-book .srt-block.cb-must-fav {
    box-shadow: inset 4px 0 0 0 #FCD34D, 0 1px 4px rgba(252, 211, 77, 0.18);
    background: linear-gradient(90deg, rgba(252, 211, 77, 0.04) 0%, transparent 100%);
    transition: box-shadow 0.3s, background 0.3s;
}

body.profile-chapter-book .srt-block.cb-must-fav.cb-reading-active {
    box-shadow: inset 4px 0 0 0 #FCD34D, 0 2px 14px rgba(99, 102, 241, 0.20) !important;
}

body.profile-chapter-book.cb-night-mode .srt-block.cb-must-fav {
    box-shadow: inset 4px 0 0 0 #FCD34D, 0 1px 4px rgba(252, 211, 77, 0.30);
    background: linear-gradient(90deg, rgba(252, 211, 77, 0.10) 0%, transparent 100%);
}


@keyframes cb-reading-breathe {
    0%, 100% { box-shadow: 0 2px 12px rgba(99, 102, 241, 0.16); }
    50%      { box-shadow: 0 4px 22px rgba(99, 102, 241, 0.32); }
}
body.profile-chapter-book .srt-block.cb-reading-active {
    animation: cb-reading-breathe 1.8s ease-in-out infinite;
    will-change: box-shadow;
}

@keyframes cb-block-glow-outline {
    0%   { outline: 0 solid rgba(99, 102, 241, 0); outline-offset: 0; }
    20%  { outline: 4px solid rgba(99, 102, 241, 0.55); outline-offset: 6px; }
    60%  { outline: 2px solid rgba(99, 102, 241, 0.25); outline-offset: 10px; }
    100% { outline: 0 solid rgba(99, 102, 241, 0); outline-offset: 14px; }
}

body.profile-chapter-book .srt-block.cb-peeked.cb-reveal-anim:not(.cb-revealed) {
    animation: cb-block-glow-outline 0.6s ease-out;
}

body.profile-chapter-book .srt-block.cb-reading-active.cb-peeked.cb-reveal-anim:not(.cb-revealed) {
    animation: cb-reading-breathe 1.8s ease-in-out infinite, cb-block-glow-outline 0.6s ease-out;
}

body.profile-chapter-book .srt-block.cb-reading-active.cb-revealed.cb-reveal-anim {
    animation: cb-reading-breathe 1.8s ease-in-out infinite;
}

body.profile-chapter-book.cb-night-mode .srt-block.cb-reading-active {
    animation: cb-reading-breathe-night 1.8s ease-in-out infinite;
}
@keyframes cb-reading-breathe-night {
    0%, 100% { box-shadow: 0 2px 12px rgba(252, 211, 77, 0.18); }
    50%      { box-shadow: 0 4px 22px rgba(252, 211, 77, 0.32); }
}




body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block:not(.cb-revealed) .row-interlinear .wp-cn:not(.wp-punct-cn) {
    visibility: hidden !important;
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
}
body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block:not(.cb-revealed) .row-interlinear .wp-grammar,
body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block:not(.cb-revealed) .row-interlinear .wp-en-kept,
body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block:not(.cb-revealed) .row-interlinear .wp-cn-abbr {
    display: none !important;
}

body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block:not(.cb-revealed) .row-interlinear .wp-phrase-cn {
    display: flex !important;
    visibility: hidden !important;
}

body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block:not(.cb-revealed) .trans-wrapper,
body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block:not(.cb-revealed) .row-full {
    display: none !important;
}

body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block:not(.cb-revealed) .row-interlinear .wp-cn.wp-en-kept:not(.wp-punct-cn) {
    display: flex !important;
    visibility: hidden !important;
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
}

body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block.cb-revealed .row-interlinear .wp-cn:not(.wp-punct-cn) {
    visibility: visible !important;
    height: auto !important;
    padding-top: initial !important;
    padding-bottom: initial !important;
    margin-top: initial !important;
    margin-bottom: initial !important;
    overflow: visible !important;
    display: flex !important;
}
body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block.cb-revealed .row-interlinear .wp-grammar { display: inline-block !important; }

body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block.cb-revealed .trans-wrapper,
body.profile-chapter-book.cb-flow.stage-1-lookup:not(.cinema-embed-active) .srt-block.cb-revealed .row-full {
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
}


body.profile-chapter-book.cb-flow:not(.cinema-embed-active) .srt-block { scroll-margin-top: 80px; }


body.profile-chapter-book.cb-flow:not(.cinema-embed-active) .srt-block.cb-revealed {
    border-left: 3px solid #10B981 !important;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, #FFFFFF 50%) !important;
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) .srt-block.cb-reading-active.cb-revealed {
    border-left: 3px solid #818CF8 !important;
    background: linear-gradient(90deg, #EEF2FF 0%, #FFFFFF 70%) !important;
}


.cb-reveal-confirm-toast {
    position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important;
    background: rgba(20, 12, 32, 0.55) !important; backdrop-filter: blur(4px) !important; -webkit-backdrop-filter: blur(4px) !important;
    z-index: 99999 !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 20px !important;
    animation: cb-rct-fade-in 0.2s ease-out;
}
@keyframes cb-rct-fade-in { from { opacity: 0; } to { opacity: 1; } }
.cb-reveal-confirm-toast .cb-rct-card {
    background: #FFFDF8 !important; border-radius: 18px !important; box-shadow: 0 12px 36px rgba(0,0,0,0.25) !important;
    padding: 22px 20px 18px !important; max-width: 320px !important; width: 100% !important;
    text-align: center !important; animation: cb-rct-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cb-rct-pop { from { transform: scale(0.92); } to { transform: scale(1); } }
.cb-reveal-confirm-toast .cb-rct-emoji { font-size: 2.2em !important; line-height: 1 !important; margin-bottom: 8px !important; }
.cb-reveal-confirm-toast .cb-rct-title { font-size: 1.05em !important; font-weight: 700 !important; color: #1F2937 !important; margin-bottom: 6px !important; }
.cb-reveal-confirm-toast .cb-rct-sub { font-size: 0.85em !important; color: #6B7280 !important; line-height: 1.5 !important; margin-bottom: 18px !important; }
.cb-reveal-confirm-toast .cb-rct-btns { display: flex !important; flex-direction: column !important; gap: 10px !important; }
.cb-reveal-confirm-toast .cb-rct-cancel,
.cb-reveal-confirm-toast .cb-rct-confirm {
    width: 100% !important; padding: 12px 16px !important; border-radius: 12px !important; border: none !important;
    font-size: 0.95em !important; font-weight: 700 !important; cursor: pointer !important; transition: transform 0.1s !important;
}
.cb-reveal-confirm-toast .cb-rct-words {
    display: flex !important; flex-wrap: wrap !important; gap: 6px !important; justify-content: center !important;
    margin-bottom: 16px !important;
}
.cb-reveal-confirm-toast .cb-rct-word {
    display: inline-block !important; padding: 4px 10px !important; border-radius: 14px !important;
    background: linear-gradient(transparent 60%, rgba(251, 146, 60, 0.32) 60%) !important;
    font-size: 0.92em !important; font-weight: 600 !important; color: #1F2937 !important;
    border: 1px solid rgba(251, 146, 60, 0.45) !important;
    cursor: pointer !important;
    transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}

.cb-reveal-confirm-toast .cb-rct-word:not(.cb-rct-more):hover {
    background: linear-gradient(transparent 50%, rgba(251, 146, 60, 0.55) 50%) !important;
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.35) !important;
}
.cb-reveal-confirm-toast .cb-rct-word:not(.cb-rct-more):active {
    transform: scale(0.94) !important;
}
.cb-reveal-confirm-toast .cb-rct-word.cb-rct-more {
    background: #F3F4F6 !important; color: #9CA3AF !important; font-weight: 500 !important;
    cursor: default !important; border-color: transparent !important;
}
.cb-reveal-confirm-toast .cb-rct-cancel {
    background: #FB923C !important; color: #fff !important;
    box-shadow: 0 3px 10px rgba(251, 146, 60, 0.35) !important;
}
.cb-reveal-confirm-toast .cb-rct-confirm {
    background: #F3F4F6 !important; color: #6B7280 !important; border: 1px solid #E5E7EB !important;
}
.cb-reveal-confirm-toast .cb-rct-cancel:active,
.cb-reveal-confirm-toast .cb-rct-confirm:active { transform: scale(0.96) !important; }



body.profile-chapter-book.cb-flow:not(.cinema-embed-active) .srt-block .row-interlinear .wp-en.cb-keyword {
    background: linear-gradient(transparent 62%, rgba(251, 146, 60, 0.38) 62%, rgba(251, 146, 60, 0.38) 92%, transparent 92%) !important;
    border-radius: 2px;
    cursor: pointer;
}

body:not(.profile-chapter-book) .cinema-sub-block .cinema-row-en .wp-en.cinema-keyword {
    text-decoration: underline dashed #e0913c !important;
    text-decoration-thickness: 1.5px !important;
    text-underline-offset: 3px !important;
    cursor: pointer;
}


.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-row-en:hover .wp-cn,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-row-en:hover .wp-grammar,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-row-en:hover .wp-en-kept,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-row-en:hover .wp-phrase-cn,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-sub-block.cinema-active .cinema-row-en .wp-cn,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-sub-block.cinema-active .cinema-row-en .wp-grammar,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-sub-block.cinema-active .cinema-row-en .wp-en-kept,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-sub-block.cinema-active .cinema-row-en .wp-phrase-cn {
    visibility: hidden !important;   
}
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-row-en:hover ~ .cinema-trans-wrapper,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-row-en:hover ~ .cinema-trans-wrapper.cinema-blurred,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-sub-block.cinema-active .cinema-trans-wrapper,
.cinema-embed.cinema-flow-v3-insight .cinema-mode-2 .cinema-sub-block.cinema-active .cinema-trans-wrapper.cinema-blurred {
    filter: blur(5px) !important;    
    opacity: 0.4 !important;
}

.cinema-embed.cinema-flow-v3-insight .cinema-sub-block.cinema-decode-revealed .cinema-trans-wrapper,
.cinema-embed.cinema-flow-v3-insight .cinema-sub-block.cinema-decode-revealed .cinema-trans-wrapper.cinema-blurred {
    filter: none !important;
    opacity: 1 !important;
}


.v3-insight-modal {
    position: fixed; inset: 0; z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 12, 24, 0.62);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    padding: 24px; box-sizing: border-box;
}
.v3-insight-modal .v3-im-card {
    width: 100%; max-width: 360px; box-sizing: border-box;
    background: linear-gradient(160deg, #1f2233, #181a28);
    border: 1px solid rgba(167,139,250,0.35); border-radius: 16px;
    padding: 20px 18px 16px; color: #f0f0f5;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.v3-insight-modal .v3-im-title { font-size: 1.08em; font-weight: 700; margin-bottom: 6px; }
.v3-insight-modal .v3-im-sub { font-size: 0.86em; color: #b9bcd0; margin-bottom: 14px; line-height: 1.5; }
.v3-insight-modal .v3-im-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.v3-insight-modal .v3-im-chip {
    background: rgba(245,158,11,0.16); border: 1px solid rgba(245,158,11,0.5);
    color: #ffd591; border-radius: 999px; padding: 6px 12px; font-size: 0.9em;
    cursor: pointer; font-weight: 600;
}
.v3-insight-modal .v3-im-chip:active { background: rgba(245,158,11,0.3); }
.v3-insight-modal .v3-im-actions { display: flex; }
.v3-insight-modal .v3-im-btn {
    flex: 1 1 auto; border: none; border-radius: 10px; padding: 11px 14px;
    font-size: 0.98em; font-weight: 700; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, #6c5ce7, #a78bfa);
}

.cinema-embed.cinema-v3-blind .cinema-subtitle-area,
.cinema-embed.cinema-v3-blind .cinema-sub-block,
.cinema-embed.cinema-v3-blind .cinema-row-en,
.cinema-embed.cinema-v3-blind .cinema-trans-wrapper,
.cinema-embed.cinema-v3-blind .cinema-subtitle-area .wp-en,
.cinema-embed.cinema-v3-blind .cinema-subtitle-area .wp-cn,
.cinema-embed.cinema-v3-blind .cinema-subtitle-area .wp-grammar { visibility: hidden !important; }

.cinema-embed.cinema-v3-blind .cinema-flow-main-btn { display: none !important; }

.cinema-embed .cinema-blind-btn.active {
    background: rgba(245, 158, 11, 0.85) !important;
    border-color: rgba(245, 158, 11, 0.95) !important;
    color: #1a1207 !important; font-weight: 700;
}


.cinema-v3-connect-popup {
    position: absolute;
    left: 50%;
    bottom: 104px;             
    transform: translateX(-50%);
    z-index: 9999;             
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(20,20,38,0.97), rgba(28,24,52,0.97));
    border: 1px solid rgba(167,139,250,0.35);
    box-shadow: 0 8px 28px rgba(0,0,0,0.5);
    min-width: 168px;
}
.cinema-v3-connect-popup .cv3-connect-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2px;
}
.cinema-v3-connect-popup .cv3-connect-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 13px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.cinema-v3-connect-popup .cv3-blind-chip {
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.06));
    color: #cbd5e1;
    border: 1px solid rgba(255,255,255,0.18);
}
.cinema-v3-connect-popup .cv3-blind-chip:hover {
    background: linear-gradient(135deg, rgba(251,191,36,0.30), rgba(245,158,11,0.22));
    color: #fef3c7; border-color: rgba(251,191,36,0.55);
}

.cinema-v3-connect-popup .cv3-flow-chip {
    background: linear-gradient(135deg, rgba(167,139,250,0.22), rgba(139,92,246,0.18));
    color: #f3e8ff;
    border: 1px solid rgba(167,139,250,0.5);
}
.cinema-v3-connect-popup .cv3-flow-chip:hover {
    background: linear-gradient(135deg, rgba(167,139,250,0.42), rgba(139,92,246,0.36));
    border-color: rgba(196,181,253,0.85);
}

.cinema-v3-connect-popup .cv3-connect-chip.active {
    background: rgba(245,158,11,0.85);
    border-color: rgba(245,158,11,0.95);
    color: #1a1207; font-weight: 700;
}

.cinema-embed .cinema-connect-btn.active {
    background: rgba(245,158,11,0.85) !important;
    border-color: rgba(245,158,11,0.95) !important;
    color: #1a1207 !important; font-weight: 700;
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) .srt-block .row-interlinear .wp-en.cb-word-queried {
    background: linear-gradient(transparent 62%, rgba(16, 185, 129, 0.42) 62%, rgba(16, 185, 129, 0.42) 92%, transparent 92%) !important;
    border-radius: 2px;
    cursor: pointer;
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) .srt-block .row-interlinear .wp-en.cb-word-mastered {
    background: none !important;
    
    cursor: pointer;
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) .srt-block .row-interlinear .wp-en.cb-word-queried-flash {
    animation: cb-word-queried-flash 1.5s ease-out;
}
@keyframes cb-word-queried-flash {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.0); }
    20%  { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.55); background: linear-gradient(transparent 30%, rgba(252, 211, 77, 0.85) 30%, rgba(252, 211, 77, 0.85) 95%, transparent 95%) !important; }
    50%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.0); }
}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) .srt-block .row-interlinear .wp-en.cb-word-promoted {
    text-decoration: underline dotted rgba(59, 130, 246, 0.90);
    text-underline-offset: 4px;
    text-decoration-thickness: 1.8px;
}


body.profile-chapter-book:not(.cb-disp-decode) .srt-block .cb-peek-btn { display: none !important; }

body.profile-chapter-book.cb-disp-decode:not(.cinema-embed-active) .srt-block .row-interlinear::after { content: none !important; }



body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-wordbox,
body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-wordbox {
    display: inline-flex; align-items: center; gap: 3px;
    margin-left: 6px; padding: 3px 8px; line-height: 1.1;
    background: rgba(59, 130, 246, 0.10);
    border: 1px solid rgba(59, 130, 246, 0.42);
    color: rgba(191, 219, 254, 0.95);
    border-radius: 10px; font-size: 11px; font-weight: 600;
    cursor: pointer; transition: all 0.15s; user-select: none;
}
body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-wordbox:hover,
body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-wordbox:hover {
    background: rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.65);
    color: #DBEAFE;
}
body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-wordbox:active,
body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-wordbox:active { transform: scale(0.92); }


body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-shell.cruise-s-seg-wrap,
body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-shell.cruise-s-seg-wrap {
    display: inline-flex; align-items: center; gap: 0;
    margin-left: 6px; padding: 1px; line-height: 1;
    background: rgba(253, 230, 138, 0.08); border: 1px solid rgba(253, 230, 138, 0.30);
    border-radius: 10px; cursor: pointer; transition: all 0.15s; overflow: hidden;
}
body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-shell.cruise-s-seg-wrap:hover,
body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-shell.cruise-s-seg-wrap:hover { border-color: rgba(253, 230, 138, 0.55); }
body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-shell.cruise-s-seg-wrap:active,
body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-shell.cruise-s-seg-wrap:active { transform: scale(0.94); }
body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-shell .cruise-s-seg,
body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-shell .cruise-s-seg {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 2px 7px; font-size: 12px; line-height: 1.2; border-radius: 8px;
    transition: all 0.15s; user-select: none;
}

body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-shell .cruise-s-seg-doc,
body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-shell .cruise-s-seg-cinema {
    background: linear-gradient(180deg, #FDE68A, #F59E0B); color: #1a1a2e;
    box-shadow: 0 1px 2px rgba(0,0,0,0.25); font-weight: 700;
}

body.cb-flow #v116-cruise-bar .cruise-cb-flow .cruise-s-shell .cruise-s-seg-cinema,
body.cb-flow-cinema #v116-cruise-bar .cruise-cb-flow .cruise-s-shell .cruise-s-seg-doc {
    background: transparent; color: rgba(253, 230, 138, 0.55); filter: grayscale(0.3);
}


body.profile-chapter-book.cb-flow .v96-mode-toggle-btn,
body.profile-chapter-book.cb-flow-cinema .v96-mode-toggle-btn { display: none !important; }


@keyframes cb-flow-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cb-flow-card-in { from { transform: scale(0.88) translateY(16px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes cb-flow-bounce { 0%,100% { transform: translateY(0); } 30% { transform: translateY(-10px); } 60% { transform: translateY(-4px); } }
body.profile-chapter-book .cb-flow-card-overlay,
body.profile-chapter-book .cb-chapter-complete-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(38, 27, 16, 0.55);
    z-index: 300000;  
    display: flex; align-items: center; justify-content: center;
    animation: cb-flow-fade-in 0.28s ease;
    padding: 16px;
}
body.profile-chapter-book .cb-flow-card,
body.profile-chapter-book .cb-cc-card {
    background: #FFFDF8;
    border-radius: 22px;
    padding: 24px 22px 18px;
    max-width: 380px; width: 92%;
    max-height: 86vh; overflow-y: auto;
    text-align: center;
    color: #3B3024;
    box-shadow: 0 18px 48px rgba(58, 40, 18, 0.30), 0 0 0 1px rgba(0,0,0,0.04);
    animation: cb-flow-card-in 0.34s ease;
    -webkit-overflow-scrolling: touch;
}
body.profile-chapter-book .cb-flow-badge {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    background: #FFF4E6; color: #B45309;
    border-radius: 999px; padding: 5px 14px; margin-bottom: 12px;
}
body.profile-chapter-book .cb-flow-badge.cb-flow-badge-done { background: #ECFDF5; color: #15803D; }
body.profile-chapter-book .cb-flow-title { font-size: 18px; font-weight: 800; color: #3B3024; margin-bottom: 14px; }

body.profile-chapter-book .cb-flow-steps {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 2px; margin-bottom: 16px;
}
body.profile-chapter-book .cb-flow-step { display: flex; flex-direction: column; align-items: center; padding: 0 2px; }
body.profile-chapter-book .cb-flow-step-dot {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; background: #E7E5E4; color: #A8A29E;
}
body.profile-chapter-book .cb-flow-step-nm { font-size: 11px; color: #D6D3D1; margin-top: 3px; max-width: 56px; line-height: 1.25; }
body.profile-chapter-book .cb-flow-step.cur .cb-flow-step-dot { background: #FB923C; color: #FFFFFF; transform: scale(1.15); box-shadow: 0 3px 10px rgba(251, 146, 60, 0.45); }
body.profile-chapter-book .cb-flow-step.cur .cb-flow-step-nm { color: #92400E; font-weight: 700; }
body.profile-chapter-book .cb-flow-step.done .cb-flow-step-dot { background: #34D399; color: #FFFFFF; }
body.profile-chapter-book .cb-flow-step.done .cb-flow-step-nm { color: #6B7280; }
body.profile-chapter-book .cb-flow-step-arr { color: #D6D3D1; font-size: 13px; align-self: flex-start; margin-top: 9px; }

body.profile-chapter-book .cb-flow-overview-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; text-align: left; }
body.profile-chapter-book .cb-flow-ov-item { display: flex; align-items: center; gap: 10px; background: #FFFAF3; border-radius: 12px; padding: 9px 12px; }
body.profile-chapter-book .cb-flow-ov-num {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; background: #FB923C; color: #FFFFFF;
}
body.profile-chapter-book .cb-flow-ov-ico { font-size: 22px; flex-shrink: 0; width: 26px; text-align: center; }
body.profile-chapter-book .cb-flow-ov-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
body.profile-chapter-book .cb-flow-ov-txt b { font-size: 14px; color: #3B3024; }
body.profile-chapter-book .cb-flow-ov-tip { font-size: 12px; color: #A8A29E; line-height: 1.4; }

body.profile-chapter-book .cb-flow-next-label { font-size: 12px; color: #A8A29E; margin-bottom: 8px; letter-spacing: 0.5px; }
body.profile-chapter-book .cb-flow-icon { font-size: 52px; margin-bottom: 8px; line-height: 1; }
body.profile-chapter-book .cb-flow-name { font-size: 22px; font-weight: 800; color: #3B3024; margin-bottom: 10px; }
body.profile-chapter-book .cb-flow-desc { font-size: 14px; line-height: 1.7; color: #6B5D4D; text-align: left; margin-bottom: 16px; background: #FFFAF3; border-radius: 12px; padding: 12px 14px; }
body.profile-chapter-book .cb-flow-lock-note { font-size: 12px; color: #D97706; background: #FFFBEB; border-radius: 10px; padding: 8px 10px; margin-bottom: 14px; line-height: 1.5; }
body.profile-chapter-book .cb-flow-nodisplay {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    margin-bottom: 14px; font-size: 13px; color: #A8A29E; cursor: pointer;
}
body.profile-chapter-book .cb-flow-nodisplay input[type="checkbox"] { width: 17px; height: 17px; cursor: pointer; }
body.profile-chapter-book .cb-flow-btn {
    display: block; width: 86%; margin: 0 auto;
    padding: 13px 20px; border: none; border-radius: 14px;
    background: linear-gradient(135deg, #F97316, #FB923C); color: #FFFFFF;
    font-size: 16px; font-weight: 800; cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
body.profile-chapter-book .cb-flow-btn:hover { background: linear-gradient(135deg, #FB923C, #FDBA74); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4); }
body.profile-chapter-book .cb-flow-btn + .cb-flow-btn { margin-top: 8px; }
body.profile-chapter-book .cb-flow-btn.cb-flow-btn-ghost {
    background: #F5F5F4; color: #78716C; font-size: 14px; font-weight: 600;
}
body.profile-chapter-book .cb-flow-btn.cb-flow-btn-ghost:hover { background: #E7E5E4; box-shadow: none; }

body.profile-chapter-book .cb-cc-confetti { font-size: 56px; margin-bottom: 4px; line-height: 1; animation: cb-flow-bounce 0.9s ease 0.2s 2; }
body.profile-chapter-book .cb-cc-title { font-size: 20px; font-weight: 800; color: #3B3024; margin-bottom: 18px; line-height: 1.4; }
body.profile-chapter-book .cb-cc-stats { display: flex; align-items: flex-end; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; }
body.profile-chapter-book .cb-cc-stat { display: flex; flex-direction: column; align-items: center; }
body.profile-chapter-book .cb-cc-stat-n { font-size: 26px; font-weight: 800; color: #F97316; line-height: 1; }
body.profile-chapter-book .cb-cc-stat-l { font-size: 12px; color: #A8A29E; margin-top: 3px; }


body.profile-chapter-book .cb-diff-picker-card { padding-bottom: 18px; }
body.profile-chapter-book .cb-diff-opts {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 6px; margin-bottom: 4px;
}
body.profile-chapter-book .cb-diff-opt {
    display: block; width: 100%; text-align: left;
    padding: 13px 14px; border-radius: 14px;
    background: #FFFAF3; border: 2px solid transparent;
    cursor: pointer; transition: all 0.18s ease;
    font: inherit; color: inherit;
}
body.profile-chapter-book .cb-diff-opt:hover {
    background: #FFF4E6; border-color: #FED7AA;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.18);
}
body.profile-chapter-book .cb-diff-opt:active { transform: scale(0.98); }

body.profile-chapter-book .cb-diff-opt.cb-diff-opt-rec {
    background: linear-gradient(135deg, #FFF7ED, #FFFAF3);
    border-color: #FB923C;
    box-shadow: 0 4px 14px rgba(251, 146, 60, 0.20);
}
body.profile-chapter-book .cb-diff-opt-head {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 4px;
}
body.profile-chapter-book .cb-diff-opt-label {
    font-size: 16px; font-weight: 800; color: #3B3024;
}
body.profile-chapter-book .cb-diff-opt-steps {
    font-size: 12px; font-weight: 600; color: #A8A29E;
    background: #F5F5F4; border-radius: 999px;
    padding: 2px 9px;
}
body.profile-chapter-book .cb-diff-opt.cb-diff-opt-rec .cb-diff-opt-steps {
    color: #B45309; background: #FEF3C7;
}
body.profile-chapter-book .cb-diff-opt-rec-tag {
    margin-left: auto;
    font-size: 11px; font-weight: 700; color: #FFFFFF;
    background: linear-gradient(135deg, #F97316, #FB923C);
    border-radius: 999px; padding: 2px 9px;
    letter-spacing: 0.5px;
}
body.profile-chapter-book .cb-diff-opt-desc {
    font-size: 13px; color: #6B5D4D; line-height: 1.55;
    margin-bottom: 2px;
}
body.profile-chapter-book .cb-diff-opt-good {
    font-size: 11px; color: #A8A29E; line-height: 1.4;
}


body.profile-chapter-book .cb-review-prompt-card { padding-bottom: 14px; }
body.profile-chapter-book .cb-review-prompt-card .cb-flow-desc b {
    font-weight: 800; color: #B45309;
}
body.profile-chapter-book .cb-review-mute-btn {
    font-size: 12px !important; font-weight: 600 !important;
    color: #A8A29E !important;
    background: transparent !important;
    padding: 8px !important;
    margin-top: 4px !important;
}
body.profile-chapter-book .cb-review-mute-btn:hover {
    color: #6B7280 !important; background: #F5F5F4 !important;
    box-shadow: none !important;
}


body.profile-chapter-book .cb-adv-modal {
    position: fixed; inset: 0; z-index: 100000;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-overlay {
    position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5);
}
body.profile-chapter-book .cb-adv-modal .cb-adv-panel {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 90%; max-width: 420px; max-height: 82vh; overflow-y: auto;
    background: #FFFFFF; border-radius: 16px; padding: 0 20px 20px;  
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
    -webkit-overflow-scrolling: touch;
}

body.profile-chapter-book .cb-adv-modal .cb-adv-head {
    position: sticky; top: 0; z-index: 6;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.1em; font-weight: 700; color: #1E293B;
    background: #FFFFFF;
    margin: 0 -20px 12px; padding: 18px 20px 12px;
    border-bottom: 1px solid #F1F5F9;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-close {
    background: transparent; border: none; font-size: 18px; color: #94A3B8; cursor: pointer;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-banner {
    font-size: 0.8em; color: #6B7280; line-height: 1.55;
    background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 10px;
    padding: 8px 10px; margin-bottom: 14px;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-section { margin-bottom: 16px; }

body.profile-chapter-book .cb-adv-modal .cb-adv-group {
    margin-bottom: 10px; border: 1px solid rgba(124,58,237,.13); border-radius: 12px; overflow: hidden;
    background: rgba(250,250,255,.6);
}
body.profile-chapter-book .cb-adv-modal .cb-adv-group-head {
    display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
    padding: 12px 14px; background: rgba(124,58,237,.06); border: none; cursor: pointer;
    font-size: 0.95em; font-weight: 700; color: rgba(49,46,129,1);
}
body.profile-chapter-book .cb-adv-modal .cb-adv-group-hint {
    flex: 1; font-size: 0.72em; font-weight: 400; color: rgba(148,163,184,1);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-group-arrow {
    font-size: 0.85em; color: rgba(124,58,237,.7); transition: transform .18s ease;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-group:not(.cb-adv-collapsed) .cb-adv-group-arrow { transform: rotate(90deg); }
body.profile-chapter-book .cb-adv-modal .cb-adv-group-body { padding: 12px 12px 2px; }
body.profile-chapter-book .cb-adv-modal .cb-adv-group.cb-adv-collapsed .cb-adv-group-body { display: none; }
body.profile-chapter-book .cb-adv-modal .cb-adv-sec-title {
    font-size: 0.95em; font-weight: 700; color: #334155; margin-bottom: 2px;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-sec-sub {
    font-size: 0.75em; color: #94A3B8; line-height: 1.5; margin-bottom: 8px;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-opts {
    display: flex; flex-direction: column; gap: 8px;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-opt {
    display: flex; flex-direction: column; gap: 2px; text-align: left;
    padding: 10px 12px; font-size: 0.92em; font-weight: 600; color: #334155;
    background: #FFFFFF; border: 1.5px solid #E2E8F0; border-radius: 12px; cursor: pointer;
    transition: all 0.15s;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-opt .cb-adv-opt-sub {
    font-size: 0.78em; font-weight: 400; color: #94A3B8;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-opt.active {
    border-color: #6366F1; background: #EEF2FF; color: #4F46E5;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-opt.active .cb-adv-opt-sub { color: #6366F1; }
body.profile-chapter-book .cb-adv-modal .cb-adv-done {
    width: 100%; padding: 12px; font-size: 1em; font-weight: 700; color: #FFFFFF;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border: none; border-radius: 12px; cursor: pointer; margin-top: 4px;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-reopen-cards {
    display: flex; flex-direction: column; gap: 2px; text-align: left;
    width: 100%; padding: 10px 12px; font-size: 0.92em; font-weight: 600; color: #334155;
    background: #FFFFFF; border: 1.5px solid #E2E8F0; border-radius: 12px; cursor: pointer;
    transition: all 0.15s;
}
body.profile-chapter-book .cb-adv-modal .cb-adv-reopen-cards:hover { border-color: #6366F1; background: #EEF2FF; color: #4F46E5; }
body.profile-chapter-book .cb-adv-modal .cb-adv-reopen-cards .cb-adv-opt-sub { font-size: 0.78em; font-weight: 400; color: #94A3B8; }




body.profile-chapter-book.cinema-embed-active #cb-reading-player {
    display: none !important;
}

body.profile-chapter-book:not(.cinema-embed-active) .view-container[id^="session-"] .srt-blocks-container {
    padding-bottom: 175px;
}


body.profile-chapter-book:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-audio { display: none !important; }
body.profile-chapter-book:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .block-header .v242-speed-badge { display: none !important; }
body.profile-chapter-book:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .block-header .btn-group { display: none !important; }
body.profile-chapter-book:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block { padding: 9px 12px !important; margin: 8px 8px !important; width: auto; }  
body.profile-chapter-book:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .block-header { margin-bottom: 4px; }
body.profile-chapter-book:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .block-content { padding-top: 0 !important; }


body.profile-chapter-book #cb-reading-player {
    position: fixed;
    left: 0; right: 0;
    bottom: 56px;                 
    z-index: 9970;                
    display: flex; flex-direction: column; gap: 6px;
    padding: 7px 12px 8px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid #E0E7FF;
    box-shadow: 0 -3px 14px rgba(99, 102, 241, 0.10);
}
body.profile-chapter-book #cb-reading-player .cb-rp-row-prog,
body.profile-chapter-book #cb-reading-player .cb-rp-row-main,
body.profile-chapter-book #cb-reading-player .cb-rp-row-ext { display: flex; align-items: center; gap: 6px; }
body.profile-chapter-book #cb-reading-player .cb-rp-gap { flex: 1 1 auto; min-width: 6px; }

body.profile-chapter-book #cb-reading-player .cb-rp-cur,
body.profile-chapter-book #cb-reading-player .cb-rp-dur {
    flex: 0 0 auto; font-size: 0.7em; color: #64748B; font-variant-numeric: tabular-nums;
}
body.profile-chapter-book #cb-reading-player .cb-rp-count {
    flex: 0 0 auto; font-size: 0.68em; font-weight: 600; color: #6366F1; background: #EEF2FF;
    border-radius: 9px; padding: 2px 7px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
body.profile-chapter-book #cb-reading-player .cb-rp-seek {
    flex: 1 1 auto; min-width: 30px; height: 5px; -webkit-appearance: none; appearance: none;
    background: #E0E7FF; border-radius: 3px; cursor: pointer; margin: 0 2px;
}
body.profile-chapter-book #cb-reading-player .cb-rp-seek::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 15px; height: 15px; border-radius: 50%;
    background: #6366F1; cursor: pointer; box-shadow: 0 1px 4px rgba(99, 102, 241, 0.4);
}
body.profile-chapter-book #cb-reading-player .cb-rp-seek::-moz-range-thumb {
    width: 15px; height: 15px; border-radius: 50%; background: #6366F1; border: none; cursor: pointer;
}

body.profile-chapter-book #cb-reading-player .cb-rp-play {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
    font-size: 1.15em; line-height: 1; color: #FFFFFF;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border: none; cursor: pointer; box-shadow: 0 3px 10px rgba(99, 102, 241, 0.30); transition: transform 0.12s;
}
body.profile-chapter-book #cb-reading-player .cb-rp-play:active { transform: scale(0.94); }
body.profile-chapter-book #cb-reading-player .cb-rp-prev,
body.profile-chapter-book #cb-reading-player .cb-rp-next {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
    font-size: 1.05em; line-height: 1; color: #6366F1;
    background: #FFFFFF; border: 1.5px solid #C7D2FE; cursor: pointer; transition: all 0.15s;
}
body.profile-chapter-book #cb-reading-player .cb-rp-prev:active,
body.profile-chapter-book #cb-reading-player .cb-rp-next:active { transform: scale(0.92); }
body.profile-chapter-book #cb-reading-player .cb-rp-fav {
    flex: 0 0 auto; width: 33px; height: 33px; border-radius: 50%;
    font-size: 0.98em; line-height: 1; color: #6366F1;
    background: #FFFFFF; border: 1px solid #C7D2FE; cursor: pointer; transition: all 0.15s;
}
body.profile-chapter-book #cb-reading-player .cb-rp-fav:active { transform: scale(0.92); }
body.profile-chapter-book #cb-reading-player .cb-rp-fav.cb-rp-fav-on { color: #F59E0B; border-color: #FCD34D; background: #FFFBEB; }

body.profile-chapter-book #cb-reading-player .cb-rp-toggle {
    flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; line-height: 1;
    font-size: 0.9em; font-weight: 700; color: #6366F1; background: #EEF2FF; border: 1px solid #C7D2FE; cursor: pointer; transition: all 0.15s;
}
body.profile-chapter-book #cb-reading-player .cb-rp-toggle:active { transform: scale(0.9); }

body.profile-chapter-book #cb-reading-player .cb-rp-disp,
body.profile-chapter-book #cb-reading-player .cb-rp-stopeach,
body.profile-chapter-book #cb-reading-player .cb-rp-link,
body.profile-chapter-book #cb-reading-player .cb-rp-loop,
body.profile-chapter-book #cb-reading-player .cb-rp-spd,
body.profile-chapter-book #cb-reading-player .cb-rp-follow {
    flex: 0 0 auto; padding: 5px 8px; font-size: 0.7em; font-weight: 600; line-height: 1.35; white-space: nowrap;
    color: #94A3B8; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 11px; cursor: pointer; transition: all 0.15s;
}

body.profile-chapter-book #cb-reading-player .cb-rp-disp,
body.profile-chapter-book #cb-reading-player .cb-rp-spd { color: #6366F1; background: #FFFFFF; border-color: #C7D2FE; font-weight: 700; }

body.profile-chapter-book #cb-reading-player .cb-rp-fn-on,
body.profile-chapter-book #cb-reading-player .cb-rp-follow.cb-rp-follow-on {
    color: #4338CA !important; background: #EEF2FF !important; border-color: #818CF8 !important; font-weight: 700 !important;
}
body.profile-chapter-book #cb-reading-player .cb-rp-follow:not(.cb-rp-follow-on) { color: #94A3B8; border-color: #E2E8F0; }
body.profile-chapter-book #cb-reading-player .cb-rp-disp:active,
body.profile-chapter-book #cb-reading-player .cb-rp-stopeach:active,
body.profile-chapter-book #cb-reading-player .cb-rp-link:active,
body.profile-chapter-book #cb-reading-player .cb-rp-loop:active,
body.profile-chapter-book #cb-reading-player .cb-rp-spd:active,
body.profile-chapter-book #cb-reading-player .cb-rp-follow:active { transform: scale(0.94); }

body.profile-chapter-book #cb-reading-player audio.cb-reading-audio { display: none; }


body.profile-chapter-book.cb-disp-full:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .trans-wrapper,
body.profile-chapter-book.cb-disp-full:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-full {
    display: block !important; visibility: visible !important; opacity: 1 !important; filter: none !important;
}
body.profile-chapter-book.cb-disp-en:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .trans-wrapper,
body.profile-chapter-book.cb-disp-en:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-full {
    display: none !important;
}
body.profile-chapter-book.cb-disp-en:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-interlinear .wp-cn:not(.wp-punct-cn),
body.profile-chapter-book.cb-disp-en:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-interlinear .wp-grammar,
body.profile-chapter-book.cb-disp-en:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-interlinear .wp-en-kept,
body.profile-chapter-book.cb-disp-en:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-interlinear .wp-phrase-cn,
body.profile-chapter-book.cb-disp-en:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-interlinear .wp-cn-abbr,

body.profile-chapter-book.cb-disp-en:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block .row-interlinear .phrase-en {
    display: flex !important;
}


body.profile-chapter-book .srt-block.cb-reading-active {
    background: linear-gradient(90deg, #EEF2FF 0%, #FFFFFF 70%) !important;
    border-left: 3px solid #818CF8 !important;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.12) !important;
    border-radius: 8px;
}

body.profile-chapter-book .srt-block .index-badge { cursor: pointer; transition: background 0.15s; }
body.profile-chapter-book .srt-block .index-badge:hover { background: #C7D2FE !important; }
body.profile-chapter-book .srt-block .index-badge:active { background: #A5B4FC !important; }


body.profile-chapter-book:not(.cinema-embed-active):not(.cb-disp-decode) .srt-block .row-interlinear .wp-en:not(.wp-punct) {
    visibility: visible !important;
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    -webkit-text-fill-color: currentColor !important;
}

body.profile-chapter-book.cb-disp-decode:not(.cinema-embed-active) .srt-block .row-interlinear .wp-en:not(.wp-punct) {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-text-fill-color: currentColor !important;
}


body.profile-chapter-book .srt-block .wp-en.word-current {
    
    background: linear-gradient(180deg, transparent 45%, rgba(167, 139, 250, 0.85) 45%, rgba(167, 139, 250, 0.85) 88%, transparent 88%) !important;
    color: #4338CA !important;
    -webkit-text-fill-color: #4338CA !important;
    border-radius: 3px !important;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.35) !important;
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 400px) {
    body.profile-chapter-book #cb-reading-player { padding: 6px 8px 7px; gap: 5px; }
    body.profile-chapter-book #cb-reading-player .cb-rp-row-main { gap: 4px; }
    body.profile-chapter-book #cb-reading-player .cb-rp-row-ext { gap: 4px; }
    body.profile-chapter-book #cb-reading-player .cb-rp-play { width: 40px; height: 40px; }
    body.profile-chapter-book #cb-reading-player .cb-rp-prev,
    body.profile-chapter-book #cb-reading-player .cb-rp-next { width: 36px; height: 36px; font-size: 0.95em; }
    body.profile-chapter-book #cb-reading-player .cb-rp-fav { width: 30px; height: 30px; font-size: 0.88em; }
    body.profile-chapter-book #cb-reading-player .cb-rp-toggle { width: 26px; height: 26px; }
    body.profile-chapter-book #cb-reading-player .cb-rp-disp,
    body.profile-chapter-book #cb-reading-player .cb-rp-stopeach,
    body.profile-chapter-book #cb-reading-player .cb-rp-link,
    body.profile-chapter-book #cb-reading-player .cb-rp-loop,
    body.profile-chapter-book #cb-reading-player .cb-rp-spd,
    body.profile-chapter-book #cb-reading-player .cb-rp-follow { padding: 4px 6px; font-size: 0.64em; }
    body.profile-chapter-book #cb-reading-player .cb-rp-cur,
    body.profile-chapter-book #cb-reading-player .cb-rp-dur { font-size: 0.62em; }
    body.profile-chapter-book #cb-reading-player .cb-rp-count { font-size: 0.6em; padding: 2px 5px; }
}




body.profile-chapter-book #cb-reading-player .cb-rp-more {
    flex: 0 0 auto; padding: 3px 7px; font-size: 0.85em; font-weight: 700; line-height: 1; color: #6366F1;
    background: #FFFFFF; border: 1px solid #C7D2FE; border-radius: 10px; cursor: pointer; transition: all 0.15s;
}
body.profile-chapter-book #cb-reading-player .cb-rp-more.cb-rp-more-on { background: #EEF2FF; border-color: #818CF8; }
body.profile-chapter-book #cb-reading-player .cb-rp-pop {
    position: absolute; right: 8px; bottom: calc(100% + 6px); z-index: 1;
    display: flex; flex-direction: column; gap: 4px; padding: 6px;
    background: #FFFFFF; border: 1px solid #E0E7FF; border-radius: 12px; box-shadow: 0 6px 22px rgba(99, 102, 241, 0.18);
    min-width: 168px;
}
body.profile-chapter-book #cb-reading-player .cb-rp-pop[hidden] { display: none; }
body.profile-chapter-book #cb-reading-player .cb-rp-opt {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    padding: 8px 10px; font-size: 0.78em; font-weight: 600; color: #475569;
    background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 9px; cursor: pointer; text-align: left;
}
body.profile-chapter-book #cb-reading-player .cb-rp-opt .cb-rp-opt-state { font-size: 0.85em; color: #94A3B8; flex: 0 0 auto; }
body.profile-chapter-book #cb-reading-player .cb-rp-opt.cb-rp-opt-on { background: #EEF2FF; border-color: #818CF8; color: #4338CA; }
body.profile-chapter-book #cb-reading-player .cb-rp-opt.cb-rp-opt-on .cb-rp-opt-state { color: #6366F1; font-weight: 700; }

body.profile-chapter-book #cb-reading-player .cb-rp-opt:not(.cb-rp-opt-toggle) { color: #4338CA; background: #FFFFFF; border-color: #C7D2FE; }
body.profile-chapter-book #cb-reading-player .cb-rp-opt:not(.cb-rp-opt-toggle):active { background: #EEF2FF; }
body.profile-chapter-book #cb-reading-player .cb-rp-opt .cb-rp-opt-sub {
    display: block; width: 100%; margin-top: 2px; font-size: 0.78em; font-weight: 400; color: #94A3B8;
}

body.profile-chapter-book #cb-reading-player .cb-rp-pop .cb-rp-opt-toggle:first-of-type { margin-top: 6px; padding-top: 10px; border-top: 1px solid #E2E8F0; }


body.profile-chapter-book #cb-resume-chip {
    position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100% + 8px);
    padding: 6px 14px; font-size: 0.78em; font-weight: 700; color: #FFFFFF;
    background: linear-gradient(135deg, #6366F1, #8B5CF6); border: none; border-radius: 16px; cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35); white-space: nowrap;
    animation: cbResumeIn 0.3s ease;
}
@keyframes cbResumeIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }


body.profile-chapter-book .cb-finish-overlay {
    position: fixed; inset: 0; z-index: 100001;
    display: flex; align-items: center; justify-content: center;
    background: rgba(15, 23, 42, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    animation: cbFadeIn 0.25s ease; overflow: hidden;
}
@keyframes cbFadeIn { from { opacity: 0; } to { opacity: 1; } }
body.profile-chapter-book .cb-finish-overlay .cb-confetti-wrap { position: absolute; inset: 0; pointer-events: none; }
body.profile-chapter-book .cb-finish-overlay .cb-confetti {
    position: absolute; top: -16px; width: 9px; height: 14px; border-radius: 2px; opacity: 0.9;
    animation: cbConfettiFall 2.6s linear infinite;
}
@keyframes cbConfettiFall {
    0% { transform: translateY(-20px) rotateZ(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotateZ(540deg); opacity: 0.85; }
}
body.profile-chapter-book .cb-finish-overlay .cb-finish-card {
    position: relative; z-index: 1; width: 84%; max-width: 360px; padding: 28px 24px 22px;
    background: #FFFFFF; border-radius: 20px; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
    text-align: center; animation: cbPopIn 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes cbPopIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
body.profile-chapter-book .cb-finish-overlay .cb-finish-emoji { font-size: 48px; line-height: 1; margin-bottom: 6px; }
body.profile-chapter-book .cb-finish-overlay .cb-finish-title { font-size: 1.3em; font-weight: 800; color: #1E293B; margin-bottom: 4px; }
body.profile-chapter-book .cb-finish-overlay .cb-finish-sub { font-size: 0.85em; color: #94A3B8; margin-bottom: 18px; }
body.profile-chapter-book .cb-finish-overlay .cb-finish-btns { display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
body.profile-chapter-book .cb-finish-overlay .cb-finish-replay,
body.profile-chapter-book .cb-finish-overlay .cb-finish-next,
body.profile-chapter-book .cb-finish-overlay .cb-finish-toc {
    padding: 13px; font-size: 1em; font-weight: 700; border: none; border-radius: 13px; cursor: pointer;
}
body.profile-chapter-book .cb-finish-overlay .cb-finish-replay { color: #4338CA; background: #EEF2FF; border: 1px solid #C7D2FE; }
body.profile-chapter-book .cb-finish-overlay .cb-finish-next { color: #FFFFFF; background: linear-gradient(135deg, #6366F1, #8B5CF6); box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3); }
body.profile-chapter-book .cb-finish-overlay .cb-finish-toc-secondary { color: #4338CA; background: #F8FAFC; border: 1px solid #E2E8F0; font-weight: 600; font-size: 0.92em; padding: 11px; }
body.profile-chapter-book .cb-finish-overlay .cb-finish-close { background: transparent; border: none; font-size: 0.8em; color: #94A3B8; cursor: pointer; text-decoration: underline; padding: 4px; }

body.profile-chapter-book.cb-night-mode .cb-finish-overlay .cb-finish-card { background: #1f1f28; }
body.profile-chapter-book.cb-night-mode .cb-finish-overlay .cb-finish-title { color: #e6e0d2; }
body.profile-chapter-book.cb-night-mode .cb-finish-overlay .cb-finish-sub { color: #8b8b97; }
body.profile-chapter-book.cb-night-mode .cb-finish-overlay .cb-finish-replay { color: #c7d2fe; background: #2a2a35; border-color: #3f3f4f; }
body.profile-chapter-book.cb-night-mode .cb-finish-overlay .cb-finish-toc-secondary { color: #c7d2fe; background: #232330; border-color: #383845; }


body.profile-chapter-book.cb-night-mode .view-container[id^="session-"] { background: #16161c; }
body.profile-chapter-book.cb-night-mode .view-container[id^="session-"] .session-header h2 { color: #d8d2c4; }
body.profile-chapter-book.cb-night-mode .srt-block {
    background: #20202a !important; border-color: #34343f !important; box-shadow: none !important;
}
body.profile-chapter-book.cb-night-mode .srt-block .index-badge { background: #34343f !important; color: #b8b2a4 !important; }
body.profile-chapter-book.cb-night-mode .srt-block .v242-speed-badge,
body.profile-chapter-book.cb-night-mode .srt-block .fav-star,
body.profile-chapter-book.cb-night-mode .srt-block .v242-star-btn { filter: brightness(0.9) saturate(0.85); }
body.profile-chapter-book.cb-night-mode .srt-block .row-interlinear .wp-en:not(.wp-punct) { color: #e6e0d2 !important; -webkit-text-fill-color: #e6e0d2 !important; }
body.profile-chapter-book.cb-night-mode .srt-block .wp-cn:not(.wp-punct-cn):not(.cb-sem-n):not(.cb-sem-v):not(.cb-sem-e) { color: #9c97c9 !important; }
body.profile-chapter-book.cb-night-mode .srt-block .row-full { color: #8b8b97 !important; }
body.profile-chapter-book.cb-night-mode .srt-block.cb-reading-active {
    background: linear-gradient(90deg, #2a2a3d 0%, #20202a 70%) !important; border-left-color: #8B5CF6 !important;
    box-shadow: 0 2px 14px rgba(139, 92, 246, 0.18) !important;
}
body.profile-chapter-book.cb-night-mode .srt-block .wp-en.word-current {
    background: #b88a2e !important; color: #1a1410 !important; -webkit-text-fill-color: #1a1410 !important;
}
body.profile-chapter-book.cb-night-mode .srt-block .row-audio audio { filter: invert(0.88) hue-rotate(180deg); }
body.profile-chapter-book.cb-night-mode #cb-reading-player {
    background: rgba(24, 24, 30, 0.97); border-top-color: #34343f;
}
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-cur,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-dur { color: #a8a3b5; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-count { background: #353550; color: #b4afd0; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-seek { background: #3a3a48; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-prev,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-next,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-fav,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-spd,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-follow,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-more {
    background: #2a2a36; border-color: #44445a; color: #b4afd0;
}
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-fav.cb-rp-fav-on { background: #3d2f12; border-color: #8a6a1e; color: #e0b550; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-follow.cb-rp-follow-on,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-more.cb-rp-more-on { background: #353550; border-color: #6d6da6; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-pop { background: #24242e; border-color: #3a3a48; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-opt { background: #2a2a36; border-color: #3a3a48; color: #b4afc0; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-opt.cb-rp-opt-on { background: #353550; border-color: #6d6da6; color: #d5d2ea; }




body.profile-chapter-book .srt-block .meta-left .cb-jt-mic,
body.profile-chapter-book .srt-block .cb-jt-mic {
    background: #EEF2FF; border: 1px solid #C7D2FE; border-radius: 8px;
    font-size: 0.82em; line-height: 1; padding: 3px 6px; margin-left: 8px; cursor: pointer; color: #4F46E5;
    transition: all 0.15s;
}
body.profile-chapter-book .srt-block .cb-jt-mic:hover { background: #C7D2FE; }
body.profile-chapter-book .srt-block .cb-jt-mic:active { transform: scale(0.92); }


body.profile-chapter-book .cb-jt-popup { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; }
body.profile-chapter-book .cb-jt-popup .cb-jt-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
body.profile-chapter-book .cb-jt-popup .cb-jt-card {
    position: relative; z-index: 1; width: 90%; max-width: 440px; max-height: 86vh; display: flex; flex-direction: column;
    background: #FFFFFF; border-radius: 18px; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28); overflow: hidden;
    animation: cbPopIn 0.28s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
body.profile-chapter-book .cb-jt-popup .cb-jt-header {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid #E5E7EB; flex-shrink: 0;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-title { font-size: 1.0em; font-weight: 700; color: #1E293B; margin-right: auto; }
body.profile-chapter-book .cb-jt-popup .cb-jt-close { background: transparent; border: none; font-size: 1.2em; color: #94A3B8; cursor: pointer; padding: 2px 6px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-body { padding: 16px 14px 12px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; }

body.profile-chapter-book .cb-jt-popup .cb-jt-footer {
    flex: 0 0 auto; padding: 10px 14px 14px; background: #FFFFFF;
    border-top: 1px solid #E5E7EB; box-shadow: 0 -4px 12px -8px rgba(0, 0, 0, 0.08);
}
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-footer { background: #20202a; border-top-color: #34343f; box-shadow: 0 -4px 12px -8px rgba(0, 0, 0, 0.5); }
body.profile-chapter-book .cb-jt-popup .cb-jt-bilingual { line-height: 1.85; }
body.profile-chapter-book .cb-jt-popup .cb-jt-bilingual .row-interlinear { display: flex; flex-wrap: wrap; gap: 6px 10px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-bilingual .word-pair { display: flex; flex-direction: column; align-items: center; }
body.profile-chapter-book .cb-jt-popup .cb-jt-bilingual .wp-en:not(.wp-punct) { font-size: 1.34em !important; color: #1E293B !important; -webkit-text-fill-color: #1E293B !important; font-family: Georgia, 'Times New Roman', serif !important; font-weight: 500 !important; visibility: visible !important; opacity: 1 !important; max-height: none !important; overflow: visible !important; }

body.profile-chapter-book .cb-jt-popup .cb-jt-bilingual .wp-cn:not(.wp-punct-cn) { font-size: 0.78em !important; color: #6366F1 !important; }
body.profile-chapter-book .cb-jt-popup .cb-jt-bilingual .trans-wrapper { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #E2E8F0; filter: none !important; }
body.profile-chapter-book .cb-jt-popup .cb-jt-bilingual .row-decode { color: #475569 !important; font-size: 0.95em !important; margin-bottom: 6px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-bilingual .row-full { color: #64748B !important; font-size: 0.92em !important; }

body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual {
    -webkit-user-select: none; user-select: none;  
}
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair {
    position: relative;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct) {
    cursor: pointer; border-bottom: 1.5px dotted #C7D2FE; padding-left: 14px;
    
    position: relative;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct)::before {
    content: '☐'; position: absolute; left: 0; top: 0; font-size: 0.85em; color: #818CF8; line-height: inherit;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct):hover { background: #EEF2FF; border-radius: 3px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-picked[data-w-start]:not(.wp-punct) { background: #C7D2FE !important; color: #312E81 !important; -webkit-text-fill-color: #312E81 !important; border-radius: 4px; border-bottom: none !important; }
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-picked[data-w-start]:not(.wp-punct)::before { content: '☑' !important; color: #4338CA !important; }

body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-glue {
    cursor: pointer; border-bottom: 2px solid #A5B4FC !important;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-glue-head::after {
    content: '🔗'; font-size: 0.62em; vertical-align: super; margin-left: 1px; opacity: 0.7;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-glue.cb-jt-picked {
    background: #C7D2FE !important; color: #312E81 !important; -webkit-text-fill-color: #312E81 !important;
    border-radius: 4px; border-bottom: 2px solid #6366F1 !important;
}
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-glue.cb-jt-picked {
    background: #4a4470 !important; color: #e0dcf5 !important; -webkit-text-fill-color: #e0dcf5 !important;
}

body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-start::after, body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-mid::after, body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-end::after {
    content: ''; position: absolute; bottom: -4px; height: 3px; border-radius: 2px; background: var(--color-primary-400); pointer-events: none;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-mid::after { left: -6px; right: -6px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-start::after { left: 50%; right: -6px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-end::after { left: -6px; right: 50%; }


body.cb-phonetic-hidden .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-pd-section { display: block !important; }


body.profile-chapter-book .cb-jt-popup .cb-jt-pick {
    font-size: 0.74em; font-weight: 600; padding: 5px 9px; border-radius: 12px; cursor: pointer; white-space: nowrap;
    background: #FFFFFF; border: 1px solid #C7D2FE; color: #4F46E5; transition: all 0.15s; line-height: 1.3;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-pick .cb-jt-pick-state { font-size: 0.9em; color: #94A3B8; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pick.cb-jt-pick-on { background: #6366F1; color: #FFFFFF; border-color: #6366F1; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pick.cb-jt-pick-on .cb-jt-pick-state { color: #C7D2FE; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pickhint { margin-top: 12px; font-size: 0.72em; color: #94A3B8; }
body.profile-chapter-book .cb-jt-popup .cb-jt-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
body.profile-chapter-book .cb-jt-popup .cb-jt-actions button {
    padding: 9px 10px; font-size: 0.8em; font-weight: 700; border-radius: 11px; cursor: pointer; border: 1px solid #C7D2FE; white-space: nowrap; transition: all 0.15s;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-actions button:active { transform: scale(0.97); }
body.profile-chapter-book .cb-jt-popup .cb-jt-actions .cb-jt-play { flex: 1 1 100%; color: #FFFFFF; background: linear-gradient(135deg, #6366F1, #8B5CF6); border-color: transparent; box-shadow: 0 3px 12px rgba(99, 102, 241, 0.3); padding: 11px; font-size: 0.88em; }
body.profile-chapter-book .cb-jt-popup .cb-jt-actions .cb-jt-spiral,
body.profile-chapter-book .cb-jt-popup .cb-jt-actions .cb-jt-slow { flex: 1 1 auto; color: #4338CA; background: #EEF2FF; }
body.profile-chapter-book .cb-jt-popup .cb-jt-actions .cb-jt-clear { flex: 0 0 auto; color: #94A3B8; background: #F8FAFC; border-color: #E2E8F0; font-size: 0.72em; padding: 7px 9px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-hint { margin-top: 16px; font-size: 0.72em; color: #94A3B8; line-height: 1.5; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 9px; padding: 8px 10px; }


body.profile-chapter-book .cb-jt-popup .cb-jt-adjust { margin-top: 10px; opacity: 0.4; pointer-events: none; transition: opacity 0.18s; }
body.profile-chapter-book .cb-jt-popup .cb-jt-adjust.cb-jt-adjust-on { opacity: 1; pointer-events: auto; }

body.profile-chapter-book .cb-jt-popup .cb-jt-stepper { display: flex; gap: 8px; flex-wrap: wrap; }
body.profile-chapter-book .cb-jt-popup .cb-jt-approx-note {
    margin-top: 8px; box-sizing: border-box; font-size: 0.72em; line-height: 1.35;
    border-radius: 9px; padding: 0 10px; color: transparent; background: transparent;
    border: 1px solid transparent; transition: opacity 0.18s; opacity: 0; max-height: 0; overflow: hidden;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-approx-note.cb-jt-approx-on { opacity: 1; max-height: 200px; padding: 7px 10px; color: #92400E; background: #FEF3C7; border-color: #FDE68A; font-weight: 600; }
body.profile-chapter-book .cb-jt-popup .cb-jt-step-grp { flex: 1 1 auto; display: flex; align-items: center; gap: 6px; justify-content: center; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 11px; padding: 6px 8px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-step-grp b { font-size: 0.78em; font-weight: 800; color: #6366F1; }
body.profile-chapter-book .cb-jt-popup .cb-jt-step {
    padding: 7px 11px; font-size: 0.8em; font-weight: 700; border-radius: 9px; cursor: pointer;
    border: 1px solid #C7D2FE; color: #4338CA; background: #EEF2FF; white-space: nowrap; transition: transform 0.12s;
}
body.profile-chapter-book .cb-jt-popup .cb-jt-step:active { transform: scale(0.94); }

body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-approx-note.cb-jt-approx-on { color: #FCD34D; background: #3a3320; border-color: #5c4f2a; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-step-grp { background: #24242e; border-color: #34343f; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-step-grp b { color: #b4afd0; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-step { background: #2a2a36; border-color: #44445a; color: #b4afd0; }


body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-card { background: #20202a; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5); }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-header { border-bottom-color: #34343f; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-title { color: #e6e0d2; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-actions .cb-jt-spiral,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-actions .cb-jt-slow { background: #2a2a36; border-color: #44445a; color: #b4afd0; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-actions .cb-jt-clear { background: #24242e; border-color: #34343f; color: #8b8b97; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct) { border-bottom-color: #44445a; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .wp-en.cb-jt-picked { background: #4a4470 !important; color: #e0dcf5 !important; -webkit-text-fill-color: #e0dcf5 !important; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-bilingual .wp-en:not(.wp-punct) { color: #e6e0d2 !important; -webkit-text-fill-color: #e6e0d2 !important; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-bilingual .wp-cn:not(.wp-punct-cn) { color: #9c97c9 !important; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-bilingual .trans-wrapper { border-top-color: #34343f; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-bilingual .row-decode { color: #b8b2c4 !important; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-bilingual .row-full { color: #9b9ba7 !important; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-hint { background: #2a2a36; border-color: #34343f; color: #8b8b97; }
body.profile-chapter-book.cb-night-mode .srt-block .cb-jt-mic { background: #2a2a36; border-color: #44445a; color: #b4afd0; }


body.profile-chapter-book .cb-jt-popup .cb-jt-pd-section { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #E2E8F0; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-title { font-size: 0.84em; font-weight: 700; color: #6D28D9; margin-bottom: 8px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-title .cb-jt-pd-sub-label { font-size: 0.82em; font-weight: 500; color: #94A3B8; margin-left: 4px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-host { font-size: 0.9em; }

body.profile-chapter-book .cb-jt-popup .cb-jt-pd-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; padding: 12px 10px; border-radius: 12px; cursor: pointer; border: 1px dashed #C4B5FD; background: linear-gradient(135deg, #F5F3FF, #FAF5FF); color: #6D28D9; transition: all 0.15s; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-btn:hover { background: #EDE9FE; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-btn:active { transform: scale(0.98); }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-btn:disabled { opacity: 0.7; cursor: default; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-btn .cb-jt-pd-btn-main { font-size: 0.96em; font-weight: 700; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-btn .cb-jt-pd-btn-sub { font-size: 0.74em; font-weight: 400; color: #94A3B8; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-spinner { display: inline-block; width: 11px; height: 11px; border: 2px solid rgba(109,40,217,0.25); border-top-color: #6D28D9; border-radius: 50%; animation: cbPdSpin 0.7s linear infinite; vertical-align: -1px; margin-right: 4px; }
@keyframes cbPdSpin { to { transform: rotate(360deg); } }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-msg { font-size: 0.8em; color: #94A3B8; padding: 8px 2px; }
body.profile-chapter-book .cb-jt-popup .cb-jt-pd-err { font-size: 0.8em; color: #DC2626; padding: 6px 2px 10px; }

body.profile-chapter-book .cb-jt-popup .cb-pd-enrow { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 6px; padding: 14px 10px; background: #FAFAFC; border-radius: 12px; line-height: 1.3; }
body.profile-chapter-book .cb-jt-popup .cb-pd-tok { display: inline-flex; flex-direction: column; align-items: center; position: relative; }
body.profile-chapter-book .cb-jt-popup .cb-pd-tok-text { font-family: Georgia, 'Times New Roman', serif; font-size: 1.18em; color: #1E293B; }
body.profile-chapter-book .cb-jt-popup .cb-pd-tok-punct .cb-pd-tok-text { color: #94A3B8; }
body.profile-chapter-book .cb-jt-popup .cb-pd-tok-weak .cb-pd-tok-text { color: #94A3B8; font-style: italic; }
body.profile-chapter-book .cb-jt-popup .cb-pd-tok-key .cb-pd-tok-text { color: #6D28D9; font-weight: 600; border-bottom: 2px solid #DDD6FE; }
body.profile-chapter-book .cb-jt-popup .cb-pd-sub { font-size: 0.62em; color: #8B5CF6; line-height: 1; margin-bottom: 3px; white-space: nowrap; }
body.profile-chapter-book .cb-jt-popup .cb-pd-sub-grp { align-self: flex-start; }
body.profile-chapter-book .cb-jt-popup .cb-pd-strike { text-decoration: line-through; text-decoration-thickness: 2.5px; text-decoration-color: #EF4444; text-decoration-skip-ink: none; }
body.profile-chapter-book .cb-jt-popup .cb-pd-flap { text-decoration: underline wavy; text-decoration-thickness: 1.6px; text-decoration-color: #0EA5E9; text-underline-offset: 3px; text-decoration-skip-ink: none; }
body.profile-chapter-book .cb-jt-popup .cb-pd-link { display: inline-flex; flex-direction: column; align-items: center; position: relative; padding-bottom: 2px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-link .cb-pd-grp-body { display: inline-flex; align-items: flex-end; gap: 2px; border-bottom: 2px solid #38BDF8; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; padding: 0 3px 1px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-link-mark { color: #0284C7; font-size: 0.85em; padding: 0 1px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-intr .cb-pd-grp-body,
body.profile-chapter-book .cb-jt-popup .cb-pd-yod .cb-pd-grp-body,
body.profile-chapter-book .cb-jt-popup .cb-pd-assim .cb-pd-grp-body { display: inline-flex; align-items: flex-end; gap: 2px; padding: 0 2px; border-radius: 4px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-intr .cb-pd-grp-body { background: linear-gradient(transparent 62%, #EDE9FE 62%); }
body.profile-chapter-book .cb-jt-popup .cb-pd-yod .cb-pd-grp-body { background: linear-gradient(transparent 62%, #FCE7F3 62%); }
body.profile-chapter-book .cb-jt-popup .cb-pd-assim .cb-pd-grp-body { background: linear-gradient(transparent 62%, #FEF3C7 62%); }
body.profile-chapter-book .cb-jt-popup .cb-pd-mark { font-size: 0.7em; color: #7C3AED; vertical-align: super; padding: 0 1px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-yod .cb-pd-mark { color: #DB2777; }
body.profile-chapter-book .cb-jt-popup .cb-pd-assim .cb-pd-mark { color: #D97706; }

body.profile-chapter-book .cb-jt-popup .cb-pd-fold { margin-top: 10px; border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; }
body.profile-chapter-book .cb-jt-popup .cb-pd-fold > summary { cursor: pointer; padding: 8px 12px; font-size: 0.8em; font-weight: 600; color: #475569; background: #F8FAFC; list-style: none; }
body.profile-chapter-book .cb-jt-popup .cb-pd-fold > summary::-webkit-details-marker { display: none; }
body.profile-chapter-book .cb-jt-popup .cb-pd-fold[open] > summary { border-bottom: 1px solid #E2E8F0; }
body.profile-chapter-book .cb-jt-popup .cb-pd-ipa { padding: 10px 12px; font-size: 0.86em; color: #334155; line-height: 1.7; word-break: break-word; }
body.profile-chapter-book .cb-jt-popup .cb-pd-tip { padding: 10px 12px; font-size: 0.82em; color: #475569; line-height: 1.6; }

body.profile-chapter-book .cb-jt-popup .cb-pd-train { margin-top: 12px; padding: 12px; border-radius: 12px; background: #F8FAFC; border: 1px solid #E2E8F0; }
body.profile-chapter-book .cb-jt-popup .cb-pd-train-title { font-size: 0.84em; font-weight: 700; color: #1E293B; margin-bottom: 8px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-train-warn { margin-bottom: 8px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-train-warn-hd { font-size: 0.78em; color: #B45309; margin-bottom: 6px; line-height: 1.5; }
body.profile-chapter-book .cb-jt-popup .cb-pd-train-warn-hd span { color: #94A3B8; font-weight: 400; }
body.profile-chapter-book .cb-jt-popup .cb-pd-donot-chips { display: flex; flex-direction: column; gap: 6px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-donot-chip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 6px 8px; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 8px; font-size: 0.8em; }
body.profile-chapter-book .cb-jt-popup .cb-pd-donot-word { font-family: Georgia, serif; font-weight: 700; color: #1E293B; }
body.profile-chapter-book .cb-jt-popup .cb-pd-donot-wrong { color: #DC2626; font-size: 0.92em; }
body.profile-chapter-book .cb-jt-popup .cb-pd-donot-why { flex: 1 1 100%; color: #78716C; font-size: 0.92em; line-height: 1.5; }
body.profile-chapter-book .cb-jt-popup .cb-pd-doit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 7px 8px; background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: 8px; font-size: 0.8em; margin-top: 6px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-doit-label { font-weight: 700; color: #047857; white-space: nowrap; }
body.profile-chapter-book .cb-jt-popup .cb-pd-doit-text { color: #115E59; font-family: Georgia, serif; }
body.profile-chapter-book .cb-jt-popup .cb-pd-steps { margin: 8px 0 0; padding-left: 20px; font-size: 0.8em; color: #475569; line-height: 1.55; }
body.profile-chapter-book .cb-jt-popup .cb-pd-steps li { margin-bottom: 3px; }

body.profile-chapter-book .cb-jt-popup .cb-pd-tail { margin-top: 10px; padding: 8px 10px; background: #F1F5F9; border-radius: 10px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-tail-row { font-size: 0.78em; color: #475569; line-height: 1.6; }
body.profile-chapter-book .cb-jt-popup .cb-pd-tail-row span { font-family: Georgia, serif; }

body.profile-chapter-book .cb-jt-popup .cb-pd-details { padding: 8px 10px; display: flex; flex-direction: column; gap: 8px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-detail { padding: 8px 10px; border-radius: 9px; background: #F8FAFC; border: 1px solid #EEF2F7; }
body.profile-chapter-book .cb-jt-popup .cb-pd-detail-hd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 4px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-detail-tag { font-size: 0.74em; font-weight: 700; color: #6D28D9; }
body.profile-chapter-book .cb-jt-popup .cb-pd-detail-word { font-family: Georgia, serif; font-size: 0.92em; color: #1E293B; }
body.profile-chapter-book .cb-jt-popup .cb-pd-detail-ipa { font-size: 0.82em; color: #64748B; }
body.profile-chapter-book .cb-jt-popup .cb-pd-detail-aud { font-size: 0.8em; color: #334155; line-height: 1.5; }
body.profile-chapter-book .cb-jt-popup .cb-pd-detail-tip { font-size: 0.78em; color: #78716C; line-height: 1.5; margin-top: 2px; }

body.profile-chapter-book .cb-jt-popup .cb-pd-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #E2E8F0; }
body.profile-chapter-book .cb-jt-popup .cb-pd-fb-q { font-size: 0.78em; color: #94A3B8; margin-right: auto; }
body.profile-chapter-book .cb-jt-popup .cb-pd-fb-btn { font-size: 0.74em; font-weight: 600; padding: 5px 9px; border-radius: 12px; cursor: pointer; border: 1px solid #E2E8F0; background: #FFFFFF; color: #475569; transition: all 0.15s; }
body.profile-chapter-book .cb-jt-popup .cb-pd-fb-btn:hover:not(:disabled) { background: #F1F5F9; }
body.profile-chapter-book .cb-jt-popup .cb-pd-fb-btn:disabled { opacity: 0.45; cursor: default; }
body.profile-chapter-book .cb-jt-popup .cb-pd-fb-status { flex: 1 1 100%; font-size: 0.74em; color: #94A3B8; margin-top: 2px; }
body.profile-chapter-book .cb-jt-popup .cb-pd-cache { margin-top: 10px; font-size: 0.72em; color: #94A3B8; text-align: center; }
body.profile-chapter-book .cb-jt-popup .cb-pd-cache-fresh { color: #16A34A; }

body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-pd-section { border-top-color: #34343f; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-pd-title { color: #c4b5fd; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-pd-btn { background: #2a2438; border-color: #4c3f6b; color: #c4b5fd; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-enrow,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-train,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-tail,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-detail { background: #24242e; border-color: #34343f; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-tok-text,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-donot-word,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-detail-word,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-doit-text { color: #e6e0d2; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-fold,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-fold[open] > summary { border-color: #34343f; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-fold > summary { background: #2a2a36; color: #b4afd0; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-ipa,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-tip,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-detail-aud { color: #c4c0d0; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-pd-fb-btn { background: #2a2a36; border-color: #44445a; color: #b4afd0; }




body.profile-chapter-book #cb-reading-player.cb-rp-collapsed .cb-rp-row-ext { display: none !important; }
body.profile-chapter-book #cb-reading-player .cb-rp-row-prog,
body.profile-chapter-book #cb-reading-player .cb-rp-row-main { cursor: default; }
body.profile-chapter-book #cb-reading-player.cb-rp-collapsed .cb-rp-row-prog,
body.profile-chapter-book #cb-reading-player.cb-rp-collapsed .cb-rp-row-main { cursor: pointer; }  

body.profile-chapter-book #cb-reading-player.cb-rp-collapsed { padding-bottom: 7px; }


body.profile-chapter-book.cb-phonetic-hidden .v253-jingting-phonetic-section { display: none !important; }
body.profile-chapter-book.cb-phonetic-hidden .cb-jt-popup .cb-jt-pd-section,
body.profile-chapter-book.cb-phonetic-hidden .cb-jt-popup .cb-jt-hint { display: none !important; }


body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-toggle { background: #2a2a36; border-color: #44445a; color: #b4afd0; }

body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-disp,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-stopeach,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-link,
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-loop { background: #232330; border-color: #383845; color: #8b8b97; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-fn-on { background: #353550 !important; border-color: #6d6da6 !important; color: #d5d2ea !important; }
body.profile-chapter-book.cb-night-mode #cb-reading-player .cb-rp-div { color: #44445a; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-pick { background: #2a2a36; border-color: #44445a; color: #b4afd0; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-pick.cb-jt-pick-on { background: #353550; border-color: #6d6da6; color: #d5d2ea; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct)::before { color: #6d6da6; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-picked[data-w-start]:not(.wp-punct) { background: #4a4470 !important; color: #e0dcf5 !important; -webkit-text-fill-color: #e0dcf5 !important; }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-picked[data-w-start]:not(.wp-punct)::before { color: #e0dcf5 !important; }






body.stage-5-recite .cinema-controls.cinema-controls-compact {
    min-height: 100px;
    max-height: 100px;
}
body.stage-5-recite .cinema-ctrl-row-main {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}
body.stage-5-recite .cinema-ctrl-row-main > * {
    flex-shrink: 0 !important;
}


body.stage-5-recite .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row.cinema-ctrl-row-main .cinema-mode-btn {
    font-size: 0 !important;
    padding: 0 6px !important;
    min-width: 32px !important;
    max-width: 36px !important;
}
body.stage-5-recite .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row.cinema-ctrl-row-main .cinema-mode-btn::before {
    content: '💭';
    font-size: 16px;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    line-height: 1;
}


body.stage-5-recite .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row.cinema-ctrl-row-main .cinema-en-toggle-btn {
    font-size: 0 !important;
    padding: 0 6px !important;
    min-width: 32px !important;
    max-width: 36px !important;
}
body.stage-5-recite .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row.cinema-ctrl-row-main .cinema-en-toggle-btn::before {
    content: '👁';
    font-size: 16px;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    line-height: 1;
}


body.stage-5-recite .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row.cinema-ctrl-row-main .cinema-listen-first-btn {
    font-size: 0 !important;
    padding: 0 6px !important;
    min-width: 36px !important;
    max-width: 40px !important;
}
body.stage-5-recite .cinema-embed.v96-fullscreen .cinema-controls .cinema-ctrl-row.cinema-ctrl-row-main .cinema-listen-first-btn::before {
    content: '🎧';
    font-size: 16px;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    line-height: 1;
}




.stage8-body .oral-jt-btn {
    background: #EEF2FF; border: 1px solid #C7D2FE; border-radius: 10px; color: #4F46E5;
    font-size: 0.78em; font-weight: 600; line-height: 1; padding: 5px 9px; margin-left: 8px; cursor: pointer;
    transition: all 0.15s; white-space: nowrap;
}
.stage8-body .oral-jt-btn:hover { background: #C7D2FE; }
.stage8-body .oral-jt-btn:active { transform: scale(0.93); }

.oral-jt-popup { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; }
.oral-jt-popup .cb-jt-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.oral-jt-popup .cb-jt-card {
    position: relative; z-index: 1; width: 90%; max-width: 440px; max-height: 86vh; display: flex; flex-direction: column;
    background: #FFFFFF; border-radius: 18px; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28); overflow: hidden;
    animation: cbPopIn 0.28s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.oral-jt-popup .cb-jt-header { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid #E5E7EB; flex-shrink: 0; }
.oral-jt-popup .cb-jt-title { font-size: 1.0em; font-weight: 700; color: #1E293B; margin-right: auto; }
.oral-jt-popup .cb-jt-close { background: transparent; border: none; font-size: 1.2em; color: #94A3B8; cursor: pointer; padding: 2px 6px; }
.oral-jt-popup .cb-jt-pick {
    font-size: 0.74em; font-weight: 600; padding: 5px 9px; border-radius: 12px; cursor: pointer; white-space: nowrap;
    background: #FFFFFF; border: 1px solid #C7D2FE; color: #4F46E5; transition: all 0.15s; line-height: 1.3;
}
.oral-jt-popup .cb-jt-pick .cb-jt-pick-state { font-size: 0.9em; color: #94A3B8; }
.oral-jt-popup .cb-jt-pick.cb-jt-pick-on { background: #6366F1; color: #FFFFFF; border-color: #6366F1; }
.oral-jt-popup .cb-jt-pick.cb-jt-pick-on .cb-jt-pick-state { color: #C7D2FE; }

.oral-jt-popup .cb-jt-blind-chip {
    font-size: 0.74em; font-weight: 600; padding: 5px 9px; border-radius: 12px; cursor: pointer; white-space: nowrap;
    background: #FFFFFF; border: 1px solid #FCD34D; color: #92400E; transition: all 0.15s; line-height: 1.3;
}
.oral-jt-popup .cb-jt-blind-chip .cb-jt-blind-state { font-size: 0.9em; color: #B45309; }
.oral-jt-popup .cb-jt-blind-chip.cb-jt-blind-on {
    background: linear-gradient(135deg, #6366F1, #8b5cf6);
    color: #FFFFFF; border-color: #6366F1;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.45);
}
.oral-jt-popup .cb-jt-blind-chip.cb-jt-blind-on .cb-jt-blind-state { color: #E0E7FF; }


.oral-jt-popup .cb-jt-card.oral-jt-blind .cb-jt-bilingual,
.oral-jt-popup .cb-jt-card.oral-jt-blind .cb-jt-bilingual * {
    filter: blur(8px) !important;
    -webkit-filter: blur(8px) !important;
    opacity: 0.32 !important;
    pointer-events: none !important;
    user-select: none !important;
    transition: filter 0.3s, opacity 0.3s;
}

.oral-jt-popup .cb-jt-card.oral-jt-blind .cb-jt-body::before {
    content: '🙈 蒙眼测试中 · 听音频核对 · 上方点 👁 揭开';
    display: block;
    text-align: center;
    padding: 14px;
    color: #6366F1;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    background: linear-gradient(180deg, rgba(99,102,241,0.06), rgba(139,92,246,0.03));
    border-radius: 10px;
    margin-bottom: 10px;
    filter: none !important; -webkit-filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.oral-jt-popup .cb-jt-body { padding: 16px 14px 12px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; }
.oral-jt-popup .cb-jt-footer { flex: 0 0 auto; padding: 10px 14px 14px; background: #FFFFFF; border-top: 1px solid #E5E7EB; box-shadow: 0 -4px 12px -8px rgba(0, 0, 0, 0.08); }
.oral-jt-popup .cb-jt-bilingual { line-height: 1.95; }
.oral-jt-popup .cb-jt-bilingual .row-interlinear { display: flex; flex-wrap: wrap; gap: 8px 6px; }

.oral-jt-popup .cb-jt-bilingual .wp-en:not(.wp-punct) { font-size: 1.34em !important; color: #1E293B !important; -webkit-text-fill-color: #1E293B !important; font-family: Georgia, 'Times New Roman', serif !important; font-weight: 500 !important; visibility: visible !important; opacity: 1 !important; max-height: none !important; overflow: visible !important; filter: none !important; }
.oral-jt-popup .cb-jt-bilingual .wp-en.wp-punct { font-size: 1.34em !important; color: #94A3B8 !important; -webkit-text-fill-color: #94A3B8 !important; opacity: 1 !important; visibility: visible !important; }
.oral-jt-popup .cb-jt-bilingual .trans-wrapper { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #E2E8F0; }
.oral-jt-popup .cb-jt-bilingual .row-full { color: #64748B; font-size: 0.92em; }
.oral-jt-popup .cb-jt-bilingual .row-full-label { font-size: 0.82em; color: #A5B4FC; margin-right: 6px; }

.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual { -webkit-user-select: none; user-select: none; }
.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct) { cursor: pointer; position: relative; border-bottom: 1.5px dotted #C7D2FE; padding-left: 16px; }
.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct)::before { content: '☐'; position: absolute; left: 0; top: 0; font-size: 0.85em; color: #818CF8; line-height: inherit; }
.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct):hover { background: #EEF2FF; border-radius: 3px; }
.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-picked[data-w-start]:not(.wp-punct) { background: #C7D2FE !important; color: #312E81 !important; -webkit-text-fill-color: #312E81 !important; border-radius: 4px; border-bottom: none; }
.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-picked[data-w-start]:not(.wp-punct)::before { content: '☑'; color: #4338CA; }
.oral-jt-popup .cb-jt-pickhint { margin-top: 12px; font-size: 0.72em; color: #94A3B8; }
.oral-jt-popup .cb-jt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.oral-jt-popup .cb-jt-actions button { padding: 9px 10px; font-size: 0.8em; font-weight: 700; border-radius: 11px; cursor: pointer; border: 1px solid #C7D2FE; white-space: nowrap; transition: all 0.15s; }
.oral-jt-popup .cb-jt-actions button:active { transform: scale(0.97); }
.oral-jt-popup .cb-jt-actions .cb-jt-play { flex: 1 1 100%; color: #FFFFFF; background: linear-gradient(135deg, #6366F1, #8B5CF6); border-color: transparent; box-shadow: 0 3px 12px rgba(99, 102, 241, 0.3); padding: 11px; font-size: 0.88em; }
.oral-jt-popup .cb-jt-actions .cb-jt-spiral, .oral-jt-popup .cb-jt-actions .cb-jt-slow { flex: 1 1 auto; color: #4338CA; background: #EEF2FF; }
.oral-jt-popup .cb-jt-actions .cb-jt-clear { flex: 0 0 auto; color: #94A3B8; background: #F8FAFC; border-color: #E2E8F0; font-size: 0.72em; padding: 7px 9px; }

.oral-jt-popup .cb-jt-adjust { margin-top: 10px; opacity: 0.4; pointer-events: none; transition: opacity 0.18s; }
.oral-jt-popup .cb-jt-adjust.cb-jt-adjust-on { opacity: 1; pointer-events: auto; }
.oral-jt-popup .cb-jt-stepper { display: flex; gap: 8px; flex-wrap: wrap; }
.oral-jt-popup .cb-jt-step-grp { flex: 1 1 auto; display: flex; align-items: center; gap: 6px; justify-content: center; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 11px; padding: 6px 8px; }
.oral-jt-popup .cb-jt-step-grp b { font-size: 0.78em; font-weight: 800; color: #6366F1; }
.oral-jt-popup .cb-jt-step { padding: 7px 11px; font-size: 0.8em; font-weight: 700; border-radius: 9px; cursor: pointer; border: 1px solid #C7D2FE; color: #4338CA; background: #EEF2FF; white-space: nowrap; transition: transform 0.12s; }
.oral-jt-popup .cb-jt-step:active { transform: scale(0.94); }

.oral-jt-popup .cb-jt-pd-section { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #E2E8F0; }
.oral-jt-popup .cb-jt-pd-title { font-size: 0.84em; font-weight: 700; color: #6D28D9; margin-bottom: 8px; }
.oral-jt-popup .cb-jt-pd-title .cb-jt-pd-sub-label { font-size: 0.82em; font-weight: 500; color: #94A3B8; margin-left: 4px; }
.oral-jt-popup .cb-jt-pd-btn { display: block; width: 100%; text-align: center; padding: 10px; border-radius: 11px; cursor: pointer; border: 1px solid #DDD6FE; background: #F5F3FF; transition: all 0.15s; }
.oral-jt-popup .cb-jt-pd-btn:hover { background: #EDE9FE; }
.oral-jt-popup .cb-jt-pd-btn:disabled { opacity: 0.7; cursor: default; }
.oral-jt-popup .cb-jt-pd-btn-main { display: block; font-size: 0.86em; font-weight: 700; color: #6D28D9; }
.oral-jt-popup .cb-jt-pd-btn-sub { display: block; font-size: 0.68em; color: #94A3B8; margin-top: 3px; }
.oral-jt-popup .cb-jt-pd-details { display: flex; flex-direction: column; gap: 8px; }
.oral-jt-popup .cb-jt-pd-detail { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 10px; padding: 8px 10px; font-size: 0.8em; line-height: 1.5; }
.oral-jt-popup .cb-jt-pd-tag { font-weight: 700; color: #6D28D9; margin-right: 6px; }
.oral-jt-popup .cb-jt-pd-word { font-weight: 700; color: #1E293B; margin-right: 6px; font-family: Georgia, serif; }
.oral-jt-popup .cb-jt-pd-aud { color: #475569; }
.oral-jt-popup .cb-jt-pd-tip { display: block; color: #94A3B8; margin-top: 3px; font-size: 0.92em; }
.oral-jt-popup .cb-jt-pd-tail { font-size: 0.8em; color: #475569; margin-bottom: 6px; }
.oral-jt-popup .cb-jt-pd-fold { margin-top: 8px; font-size: 0.78em; }
.oral-jt-popup .cb-jt-pd-fold summary { cursor: pointer; color: #6366F1; }
.oral-jt-popup .cb-jt-pd-ipa { margin-top: 6px; color: #475569; font-family: 'Times New Roman', serif; }
.oral-jt-popup .cb-jt-pd-cache { margin-top: 8px; font-size: 0.68em; color: #94A3B8; }
.oral-jt-popup .cb-jt-pd-msg { font-size: 0.78em; color: #94A3B8; padding: 6px 0; }
.oral-jt-popup .cb-jt-pd-err { font-size: 0.78em; color: #DC2626; padding: 6px 0; }



.jt-popup {
    --jt-card-bg: #FFFFFF; --jt-footer-bg: #FFFFFF; --jt-text: #1E293B; --jt-text-muted: #64748B;
    --jt-punct: #94A3B8; --jt-border: #E5E7EB; --jt-border-soft: #E2E8F0; --jt-accent: #6366F1;
    --jt-accent-soft: #EEF2FF; --jt-accent-deep: #4338CA; --jt-picked-bg: #C7D2FE; --jt-picked-text: #312E81;
    --jt-overlay: rgba(15, 23, 42, 0.5); --jt-pd-title: #6D28D9; --jt-trans: #64748B; --jt-trans-label: #A5B4FC;
    --jt-checkbox: #818CF8; --jt-checkbox-on: #4338CA; --jt-dotted: #C7D2FE; --jt-hover: #EEF2FF;
    --jt-chip-bg: #F8FAFC; --jt-en-font: Georgia, 'Times New Roman', serif;
    position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
}
.jt-popup.jt-skin-cinema {
    --jt-card-bg: #0d1126; --jt-footer-bg: #0d1126; --jt-text: #F1F5F9; --jt-text-muted: #94A3B8;
    --jt-punct: #64748B; --jt-border: rgba(255, 255, 255, 0.12); --jt-border-soft: rgba(255, 255, 255, 0.1); --jt-accent: #818CF8;
    --jt-accent-soft: rgba(129, 140, 248, 0.16); --jt-accent-deep: #C7D2FE; --jt-picked-bg: #4338CA; --jt-picked-text: #FFFFFF;
    --jt-overlay: rgba(0, 0, 0, 0.72); --jt-pd-title: #C4B5FD; --jt-trans: #CBD5E1; --jt-trans-label: #A5B4FC;
    --jt-checkbox: #818CF8; --jt-checkbox-on: #C7D2FE; --jt-dotted: rgba(129, 140, 248, 0.5); --jt-hover: rgba(129, 140, 248, 0.14);
    --jt-chip-bg: rgba(255, 255, 255, 0.05);
}
.jt-popup .cb-jt-overlay { position: absolute; inset: 0; background: var(--jt-overlay); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.jt-popup .cb-jt-card {
    position: relative; z-index: 1; width: 90%; max-width: 460px; max-height: 86vh; display: flex; flex-direction: column;
    background: var(--jt-card-bg); border-radius: 18px; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4); overflow: hidden;
    animation: cbPopIn 0.28s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.jt-popup .cb-jt-header { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--jt-border); flex-shrink: 0; }
.jt-popup .cb-jt-title { font-size: 1.0em; font-weight: 700; color: var(--jt-text); margin-right: auto; }
.jt-popup .cb-jt-close { background: transparent; border: none; font-size: 1.2em; color: var(--jt-punct); cursor: pointer; padding: 2px 6px; }
.jt-popup .cb-jt-pick {
    padding: 5px 10px; font-size: 0.78em; font-weight: 700; border-radius: 10px; cursor: pointer;
    border: 1px solid var(--jt-dotted); color: var(--jt-accent-deep); background: var(--jt-accent-soft); white-space: nowrap;
}
.jt-popup .cb-jt-pick .cb-jt-pick-state { font-size: 0.9em; color: var(--jt-punct); }
.jt-popup .cb-jt-pick.cb-jt-pick-on { background: var(--jt-accent); color: #FFFFFF; border-color: var(--jt-accent); }
.jt-popup .cb-jt-pick.cb-jt-pick-on .cb-jt-pick-state { color: #E0E7FF; }
.jt-popup .cb-jt-body { padding: 16px 14px 12px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; }
.jt-popup .cb-jt-footer { flex: 0 0 auto; padding: 10px 14px 14px; background: var(--jt-footer-bg); border-top: 1px solid var(--jt-border); box-shadow: 0 -4px 12px -8px rgba(0, 0, 0, 0.18); }
.jt-popup .cb-jt-bilingual { line-height: 1.95; }
.jt-popup .cb-jt-bilingual .row-interlinear { display: flex; flex-wrap: wrap; gap: 8px 6px; align-items: flex-end; }
.jt-popup .cb-jt-bilingual .wp-en:not(.wp-punct) { font-size: 1.34em !important; color: var(--jt-text) !important; -webkit-text-fill-color: var(--jt-text) !important; font-family: var(--jt-en-font) !important; font-weight: 500 !important; visibility: visible !important; opacity: 1 !important; max-height: none !important; overflow: visible !important; filter: none !important; text-shadow: none !important; }
.jt-popup .cb-jt-bilingual .wp-en.wp-punct { font-size: 1.34em !important; color: var(--jt-punct) !important; -webkit-text-fill-color: var(--jt-punct) !important; opacity: 1 !important; visibility: visible !important; }
.jt-popup .cb-jt-bilingual .wp-cn { color: var(--jt-text-muted) !important; -webkit-text-fill-color: var(--jt-text-muted) !important; visibility: visible !important; opacity: 1 !important; max-height: none !important; }

.jt-popup .cb-jt-bilingual .phrase-pair { background: var(--jt-accent-soft) !important; border-color: var(--jt-dotted) !important; box-shadow: none !important; }
.jt-popup .cb-jt-bilingual .phrase-pair:hover { background: var(--jt-hover) !important; border-color: var(--jt-accent) !important; }
.jt-popup .cb-jt-bilingual .phrase-pair .wp-en { color: var(--jt-text) !important; -webkit-text-fill-color: var(--jt-text) !important; }
.jt-popup .cb-jt-bilingual .wp-phrase-cn,
.jt-popup .cb-jt-bilingual .phrase-pair:hover .wp-phrase-cn { color: var(--jt-text-muted) !important; -webkit-text-fill-color: var(--jt-text-muted) !important; }

.jt-popup .cb-jt-bilingual .wp-en.word-current { background: rgba(251, 191, 36, 0.92) !important; color: rgba(30,41,59,1) !important; -webkit-text-fill-color: rgba(30,41,59,1) !important; border-radius: 4px; transition: background 0.08s linear, color 0.08s linear; }
.jt-popup .cb-jt-bilingual .phrase-pair .wp-en.word-current { background: rgba(251, 191, 36, 0.92) !important; color: rgba(30,41,59,1) !important; -webkit-text-fill-color: rgba(30,41,59,1) !important; }
.jt-popup .cb-jt-bilingual .trans-wrapper { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--jt-border-soft); }
.jt-popup .cb-jt-bilingual .row-full { color: var(--jt-trans) !important; font-size: 0.92em; display: block !important; }
.jt-popup .cb-jt-bilingual .row-decode { display: none !important; }
.jt-popup .cb-jt-bilingual .row-full-label { font-size: 0.82em; color: var(--jt-trans-label); margin-right: 6px; }

.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual { -webkit-user-select: none; user-select: none; }
.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct) { cursor: pointer; position: relative; border-bottom: 1.5px dotted var(--jt-dotted); padding-left: 16px; }
.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct)::before { content: '☐'; position: absolute; left: 0; top: 0; font-size: 0.85em; color: var(--jt-checkbox); line-height: inherit; }
.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en[data-w-start]:not(.wp-punct):hover { background: var(--jt-hover); border-radius: 3px; }
.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-picked[data-w-start]:not(.wp-punct) { background: var(--jt-picked-bg) !important; color: var(--jt-picked-text) !important; -webkit-text-fill-color: var(--jt-picked-text) !important; border-radius: 4px; border-bottom: none; }
.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .wp-en.cb-jt-picked[data-w-start]:not(.wp-punct)::before { content: '☑'; color: var(--jt-checkbox-on); }

.jt-popup .cb-jt-bilingual .cb-jt-glue { opacity: 0.85; }
.jt-popup .cb-jt-pickhint { margin-top: 12px; font-size: 0.72em; color: var(--jt-punct); }

.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair { position: relative; }
.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-start::after, .jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-mid::after, .jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-end::after {
    content: ''; position: absolute; bottom: -4px; height: 3px; border-radius: 2px; background: var(--jt-checkbox); pointer-events: none;
}
.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-mid::after { left: -6px; right: -6px; }
.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-start::after { left: 50%; right: -6px; }
.jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-end::after { left: -6px; right: 50%; }

.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair { position: relative; }
.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-start::after, .oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-mid::after, .oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-end::after {
    content: ''; position: absolute; bottom: -4px; height: 3px; border-radius: 2px; background: var(--color-primary-400); pointer-events: none;
}
.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-mid::after { left: -6px; right: -6px; }
.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-start::after { left: 50%; right: -6px; }
.oral-jt-popup .cb-jt-card.cb-jt-picking .cb-jt-bilingual .word-pair.jt-span-end::after { left: -6px; right: 50%; }

.jt-popup.jt-masked .cb-jt-bilingual, .jt-popup.jt-masked .cb-jt-pd-host { filter: blur(7px) !important; -webkit-filter: blur(7px) !important; pointer-events: none; }
.jt-popup .cb-jt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.jt-popup .cb-jt-actions button { padding: 9px 10px; font-size: 0.8em; font-weight: 700; border-radius: 11px; cursor: pointer; border: 1px solid var(--jt-dotted); white-space: nowrap; transition: background 0.15s, color 0.15s, transform 0.12s; min-width: 0; }
.jt-popup .cb-jt-actions button:active { transform: scale(0.97); }
.jt-popup .cb-jt-actions .cb-jt-play { flex: 1 1 100%; color: #FFFFFF; background: linear-gradient(135deg, #6366F1, #8B5CF6); border-color: transparent; box-shadow: 0 3px 12px rgba(99, 102, 241, 0.3); padding: 11px; font-size: 0.88em; }
.jt-popup .cb-jt-actions .cb-jt-spiral, .jt-popup .cb-jt-actions .cb-jt-blind { flex: 1 1 auto; color: var(--jt-accent-deep); background: var(--jt-accent-soft); }
.jt-popup .cb-jt-actions .cb-jt-reveal { flex: 1 1 100%; color: #FFFFFF; background: linear-gradient(135deg, #F59E0B, #F97316); border-color: transparent; box-shadow: 0 3px 12px rgba(245, 158, 11, 0.3); padding: 10px; }
.jt-popup .cb-jt-actions .cb-jt-clear { flex: 0 0 auto; color: var(--jt-punct); background: var(--jt-chip-bg); border-color: var(--jt-border-soft); font-size: 0.72em; padding: 7px 9px; }
.jt-popup .cb-jt-adjust { margin-top: 10px; opacity: 0.4; pointer-events: none; transition: opacity 0.18s; }
.jt-popup .cb-jt-adjust.cb-jt-adjust-on { opacity: 1; pointer-events: auto; }
.jt-popup .cb-jt-stepper { display: flex; gap: 8px; flex-wrap: wrap; }
.jt-popup .cb-jt-step-grp { flex: 1 1 auto; display: flex; align-items: center; gap: 6px; justify-content: center; background: var(--jt-chip-bg); border: 1px solid var(--jt-border-soft); border-radius: 11px; padding: 6px 8px; }
.jt-popup .cb-jt-step-grp b { font-size: 0.78em; font-weight: 800; color: var(--jt-accent); }
.jt-popup .cb-jt-step { padding: 7px 11px; font-size: 0.8em; font-weight: 700; border-radius: 9px; cursor: pointer; border: 1px solid var(--jt-dotted); color: var(--jt-accent-deep); background: var(--jt-accent-soft); white-space: nowrap; transition: transform 0.12s; }
.jt-popup .cb-jt-step:active { transform: scale(0.94); }
.jt-popup .cb-jt-approx-note { margin-top: 8px; font-size: 0.72em; color: #B45309; line-height: 1.5; display: none; }
.jt-popup .cb-jt-approx-note.cb-jt-approx-on { display: block; }
.jt-popup.jt-skin-cinema .cb-jt-approx-note { color: #FCD34D; }

.jt-popup .cb-jt-pd-section { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--jt-border-soft); }
.jt-popup .cb-jt-pd-title { font-size: 0.84em; font-weight: 700; color: var(--jt-pd-title); margin-bottom: 8px; }
.jt-popup .cb-jt-pd-title .cb-jt-pd-sub-label { font-size: 0.82em; font-weight: 500; color: var(--jt-punct); margin-left: 4px; }
.jt-popup .cb-jt-pd-btn { display: block; width: 100%; text-align: center; padding: 10px; border-radius: 11px; cursor: pointer; border: 1px solid var(--jt-dotted); background: var(--jt-accent-soft); transition: background 0.15s; }
.jt-popup .cb-jt-pd-btn:disabled { opacity: 0.7; cursor: default; }
.jt-popup .cb-jt-pd-btn-main { display: block; font-size: 0.86em; font-weight: 700; color: var(--jt-pd-title); }
.jt-popup .cb-jt-pd-btn-sub { display: block; font-size: 0.68em; color: var(--jt-punct); margin-top: 3px; }
.jt-popup .cb-jt-pd-details { display: flex; flex-direction: column; gap: 8px; }
.jt-popup .cb-jt-pd-detail { background: var(--jt-chip-bg); border: 1px solid var(--jt-border-soft); border-radius: 10px; padding: 8px 10px; font-size: 0.8em; line-height: 1.5; }
.jt-popup .cb-jt-pd-tag { font-weight: 700; color: var(--jt-pd-title); margin-right: 6px; }
.jt-popup .cb-jt-pd-word { font-weight: 700; color: var(--jt-text); margin-right: 6px; font-family: var(--jt-en-font); }
.jt-popup .cb-jt-pd-aud { color: var(--jt-text-muted); }
.jt-popup .cb-jt-pd-tip { display: block; color: var(--jt-punct); margin-top: 3px; font-size: 0.92em; }
.jt-popup .cb-jt-pd-tail { font-size: 0.8em; color: var(--jt-text-muted); margin-bottom: 6px; }
.jt-popup .cb-jt-pd-fold { margin-top: 8px; font-size: 0.78em; }
.jt-popup .cb-jt-pd-fold summary { cursor: pointer; color: var(--jt-accent); }
.jt-popup .cb-jt-pd-ipa { margin-top: 6px; color: var(--jt-text-muted); font-family: 'Times New Roman', serif; }
.jt-popup .cb-jt-pd-cache { margin-top: 8px; font-size: 0.68em; color: var(--jt-punct); }
.jt-popup .cb-jt-pd-msg { font-size: 0.78em; color: var(--jt-punct); padding: 6px 0; }
.jt-popup .cb-jt-pd-err { font-size: 0.78em; color: #F87171; padding: 6px 0; }



.oral-jt-popup .cb-jt-bilingual .row-interlinear,
.jt-popup .cb-jt-bilingual .row-interlinear { align-items: flex-end; }
.oral-jt-popup .cb-jt-bilingual .word-pair,
.jt-popup .cb-jt-bilingual .word-pair { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; vertical-align: bottom; }
.oral-jt-popup .cb-jt-bilingual .word-pair .wp-en,
.jt-popup .cb-jt-bilingual .word-pair .wp-en { font-size: 1.18em !important; }

.oral-jt-popup .cb-jt-bilingual .wp-cn,
.jt-popup.jt-skin-reading .cb-jt-bilingual .wp-cn { font-size: 0.8em !important; color: #475569 !important; -webkit-text-fill-color: #475569 !important; opacity: 1 !important; visibility: visible !important; max-height: none !important; filter: none !important; font-family: inherit !important; font-weight: 500 !important; line-height: 1.3 !important; }
.oral-jt-popup .cb-jt-bilingual .wp-cn.wp-en-kept,
.jt-popup.jt-skin-reading .cb-jt-bilingual .wp-cn.wp-en-kept { color: #CBD5E1 !important; -webkit-text-fill-color: #CBD5E1 !important; }

.jt-popup.jt-skin-cinema .cb-jt-bilingual .wp-cn { font-size: 0.8em !important; color: #94A3B8 !important; -webkit-text-fill-color: #94A3B8 !important; opacity: 1 !important; visibility: visible !important; max-height: none !important; filter: none !important; font-family: inherit !important; font-weight: 500 !important; }
.jt-popup.jt-skin-cinema .cb-jt-bilingual .wp-cn.wp-en-kept { color: #475569 !important; -webkit-text-fill-color: #475569 !important; }

.jt-popup.jt-skin-cinema .cb-jt-bilingual .cb-jt-trans-row { color: var(--color-gray-300) !important; -webkit-text-fill-color: var(--color-gray-300) !important; }
.jt-popup.jt-skin-cinema .cb-jt-bilingual .cb-jt-trans-label { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 4px; font-size: 0.8em; background: var(--color-gray-700) !important; color: var(--color-gray-300) !important; -webkit-text-fill-color: var(--color-gray-300) !important; }



#v3-zq-overlay {
    position: fixed;
    inset: 0;
    z-index: 300000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: v3zqFadeIn 0.3s ease-out;
}
@keyframes v3zqFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
#v3-zq-overlay .v3-zq-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #422006;
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 440px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(146, 64, 14, 0.35);
    text-align: center;
    animation: v3zqPop 0.4s ease-out;
}
@keyframes v3zqPop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
#v3-zq-overlay .v3-zq-icon {
    font-size: 52px;
    margin-bottom: 8px;
    line-height: 1;
}
#v3-zq-overlay .v3-zq-title {
    font-size: 22px;
    font-weight: bold;
    color: #92400e;
    margin-bottom: 10px;
}
#v3-zq-overlay .v3-zq-subtitle {
    font-size: 14px;
    color: #78350f;
    line-height: 1.5;
    margin-bottom: 10px;
}
#v3-zq-overlay .v3-zq-tip {
    font-size: 13px;
    color: #92400e;
    background: rgba(254, 243, 199, 0.7);
    border-left: 3px solid #d97706;
    padding: 10px 12px;
    border-radius: 6px;
    margin: 14px 0 18px;
    text-align: left;
    line-height: 1.5;
}
#v3-zq-overlay .v3-zq-expand-btn {
    background: rgba(146, 64, 14, 0.1);
    border: 1px solid rgba(146, 64, 14, 0.2);
    color: #92400e;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-align: left;
    margin-bottom: 12px;
    transition: background 0.2s;
}
#v3-zq-overlay .v3-zq-expand-btn:hover,
#v3-zq-overlay .v3-zq-expand-btn.expanded {
    background: rgba(146, 64, 14, 0.18);
}
#v3-zq-overlay .v3-zq-expand-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 11px;
}
#v3-zq-overlay .v3-zq-expand-content {
    text-align: left;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #422006;
}
#v3-zq-overlay .v3-zq-section {
    margin-bottom: 14px;
}
#v3-zq-overlay .v3-zq-section:last-child {
    margin-bottom: 0;
}
#v3-zq-overlay .v3-zq-sec-title {
    font-weight: bold;
    color: #92400e;
    margin-bottom: 6px;
    font-size: 13px;
}
#v3-zq-overlay .v3-zq-list > div {
    padding: 2px 0;
}
#v3-zq-overlay .v3-zq-list b {
    color: #b45309;
}
#v3-zq-overlay .v3-zq-warn {
    color: #b91c1c;
    font-size: 12px;
    padding-left: 18px;
    line-height: 1.5;
    margin-top: 2px;
}
#v3-zq-overlay .v3-zq-continue-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: rgba(146, 64, 14, 0.2);
    color: rgba(120, 53, 15, 0.6);
    font-size: 16px;
    font-weight: bold;
    cursor: not-allowed;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}
#v3-zq-overlay .v3-zq-continue-btn.v3-zq-ready {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}
#v3-zq-overlay .v3-zq-continue-btn.v3-zq-ready:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.5);
}





.fav-mode-switch {
    display: inline-flex;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
    align-items: center;
}
.fav-mode-sw-btn {
    background: transparent;
    color: #6B7280;
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    min-width: 70px;
}
.fav-mode-sw-btn:hover {
    color: #4F46E5;
}
.fav-mode-sw-btn.active {
    background: linear-gradient(135deg, #6366F1, #818CF8);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.28);
}


body.fav-list-flow-mode .fav-mode-toggle-row { display: none !important; }
body.fav-list-flow-mode .fav-section-title { display: none !important; }
body.fav-list-flow-mode #fav-content-list { padding: 0; }

body.fav-list-flow-mode #fav-content-list > .srt-block:not(#fav-flow-card) { display: none !important; }


body.fav-list-flow-mode .fav-flow-header {
    padding: 10px 16px 14px;
    background: linear-gradient(180deg, #F9FAFB, transparent);
}
body.fav-list-flow-mode .fav-flow-progress-wrap {
    max-width: 600px;
    margin: 0 auto;
}
body.fav-list-flow-mode .fav-flow-progress-bar {
    height: 5px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 999px;
    overflow: hidden;
}
body.fav-list-flow-mode .fav-flow-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366F1, #818CF8);
    border-radius: 999px;
    transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
body.fav-list-flow-mode .fav-flow-progress-text {
    margin-top: 6px;
    font-size: 13px;
    color: #4B5563;
    text-align: center;
    letter-spacing: 0.2px;
}
body.fav-list-flow-mode .fav-flow-progress-text strong {
    color: #4F46E5;
    font-weight: 700;
}


body.fav-list-flow-mode #fav-flow-card {
    max-width: 640px;
    margin: 0 auto 14px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 16px 18px 20px;
    border: 1px solid rgba(99, 102, 241, 0.10);
    transition: box-shadow 0.2s, border-color 0.2s;
}
body.fav-list-flow-mode #fav-flow-card.fav-card-must {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.12), 0 1px 4px rgba(0, 0, 0, 0.04);
}


body.fav-list-flow-mode #fav-flow-card .row-en {
    transition: filter 0.25s;
}
body.fav-list-flow-mode #fav-flow-card:not(.fav-card-revealed):not(.fav-card-blind) .row-en {
    filter: blur(6px);
    user-select: none;
    cursor: default;
}
body.fav-list-flow-mode #fav-flow-card.fav-card-revealed .row-en {
    filter: none;
}


body.fav-list-flow-mode #fav-flow-card.fav-card-blind .row-en,
body.fav-list-flow-mode #fav-flow-card.fav-card-blind .trans-wrapper {
    filter: blur(8px);
    user-select: none;
    cursor: default;
}


body.fav-list-flow-mode #fav-flow-card .fav-flow-aux-mini {
    background: rgba(99, 102, 241, 0.08);
    color: #4F46E5;
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
body.fav-list-flow-mode #fav-flow-card .fav-flow-aux-mini:hover {
    background: rgba(99, 102, 241, 0.16);
}


body.fav-list-flow-mode .fav-flow-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 16px 4px;
    max-width: 640px;
    margin: 0 auto;
}
body.fav-list-flow-mode .fav-flow-aux-btn {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.20);
    background: #fff;
    color: #4F46E5;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.fav-list-flow-mode .fav-flow-aux-btn:hover:not(:disabled) {
    background: rgba(99, 102, 241, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
body.fav-list-flow-mode .fav-flow-aux-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}


body.fav-list-flow-mode .fav-flow-morph-btn {
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 340px;
    height: 50px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.12s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

body.fav-list-flow-mode .fav-flow-morph-btn.phase0 {
    background: linear-gradient(135deg, #F59E0B, #FB923C);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.36);
    animation: favFlowMorphPulse 1.8s ease-in-out infinite;
}

body.fav-list-flow-mode .fav-flow-morph-btn.phase1 {
    background: linear-gradient(135deg, #10B981, #34D399);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.36);
}
body.fav-list-flow-mode .fav-flow-morph-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
body.fav-list-flow-mode .fav-flow-morph-btn:active {
    transform: translateY(0);
}

body.fav-list-flow-mode .fav-flow-morph-btn.pulse {
    animation: favFlowMorphPulse 1.2s ease-in-out infinite;
}
@keyframes favFlowMorphPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(245, 158, 11, 0.36); }
    50% { box-shadow: 0 4px 22px rgba(245, 158, 11, 0.58); }
}


body.fav-list-flow-mode .fav-flow-secondary-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 16px 18px;
    max-width: 640px;
    margin: 0 auto;
    min-height: 52px;  
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.22s;
}
body.fav-list-flow-mode .fav-flow-secondary-bar.visible {
    visibility: visible;
    opacity: 1;
}
body.fav-list-flow-mode .fav-flow-sec-btn {
    background: #fff;
    color: #6B7280;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
body.fav-list-flow-mode .fav-flow-sec-btn:hover {
    background: #F9FAFB;
    color: #4F46E5;
    transform: translateY(-1px);
}
body.fav-list-flow-mode .fav-flow-sec-btn.danger {
    color: #DC2626;
    border-color: rgba(220, 38, 38, 0.20);
}
body.fav-list-flow-mode .fav-flow-sec-btn.danger:hover {
    background: rgba(220, 38, 38, 0.06);
    color: #B91C1C;
}


body.fav-list-flow-mode .fav-flow-done {
    max-width: 480px;
    margin: 40px auto;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(180deg, #F0FDF4, #fff);
    border-radius: 22px;
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.12);
}
body.fav-list-flow-mode .fav-flow-done-icon {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 12px;
    animation: favFlowSparkle 1.6s ease-in-out infinite;
}
@keyframes favFlowSparkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
body.fav-list-flow-mode .fav-flow-done-title {
    font-size: 22px;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 8px;
}
body.fav-list-flow-mode .fav-flow-done-sub {
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 16px;
}

body.fav-list-flow-mode .fav-flow-done-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 auto 22px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 14px;
    max-width: 380px;
}
body.fav-list-flow-mode .fav-flow-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #374151;
}
body.fav-list-flow-mode .fav-flow-stat-item b:first-child {
    font-size: 16px;
    font-weight: normal;
}
body.fav-list-flow-mode .fav-flow-stat-item b:last-child {
    font-size: 16px;
    font-weight: 700;
    color: #065F46;
    margin-left: 2px;
}
body.fav-list-flow-mode .fav-flow-done-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
body.fav-list-flow-mode .fav-flow-btn {
    border: none;
    border-radius: 25px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.15s;
}
body.fav-list-flow-mode .fav-flow-btn-primary {
    background: linear-gradient(135deg, #10B981, #34D399);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.30);
}
body.fav-list-flow-mode .fav-flow-btn-sec {
    background: #fff;
    color: #4F46E5;
    border: 1px solid rgba(99, 102, 241, 0.25);
}
body.fav-list-flow-mode .fav-flow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}


body.fav-list-flow-mode .fav-flow-empty {
    text-align: center;
    color: #9CA3AF;
    padding: 60px 20px;
    font-size: 15px;
}


@media (max-width: 640px) {
    body.fav-list-flow-mode #fav-flow-card {
        margin: 0 10px 14px;
        padding: 14px 14px 18px;
    }
    body.fav-list-flow-mode .fav-flow-morph-btn {
        min-width: 160px;
        font-size: 14px;
    }
    body.fav-list-flow-mode .fav-flow-bottom-bar {
        padding: 8px 10px 4px;
    }
    .fav-mode-sw-btn {
        padding: 5px 11px;
        font-size: 12px;
        min-width: 62px;
    }
}





body.fav-list-flow-mode.fav-cinema .fav-ctrl-row { display: none !important; }
body.fav-list-flow-mode.fav-cinema #fav-content-list { padding: 0; }


body.fav-list-flow-mode.fav-cinema .fav-header-box,
body.fav-list-flow-mode.fav-cinema #v239-library-floatbar,
body.fav-list-flow-mode.fav-cinema #v231-tab-bar {
    display: none !important;
}

body.fav-list-flow-mode.fav-cinema .main-content {
    padding-top: 60px !important;  
    padding-bottom: 8px !important;  
}


body.fav-list-flow-mode.fav-cinema .fc-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 8px;
    max-width: 720px;
    margin: 0 auto;
}
body.fav-list-flow-mode.fav-cinema .fc-nav-back {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.22);
    background: #fff;
    color: #4F46E5;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.12s;
}
body.fav-list-flow-mode.fav-cinema .fc-nav-back:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateX(-1px);
}
body.fav-list-flow-mode.fav-cinema .fc-nav-title {
    flex: 1 1 auto;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1F2937;
    letter-spacing: 0.3px;
}
body.fav-list-flow-mode.fav-cinema .fc-nav-sub {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #6366F1;
}
body.fav-list-flow-mode.fav-cinema .fc-nav-chips {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
body.fav-list-flow-mode.fav-cinema .fc-spd-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    font-size: 15px;
}
body.fav-list-flow-mode.fav-cinema .fc-must-chip {
    background: rgba(245, 158, 11, 0.06);
    color: #B45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
body.fav-list-flow-mode.fav-cinema .fc-must-chip.active {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.32);
}
body.fav-list-flow-mode.fav-cinema .fc-must-chip:hover {
    background: rgba(245, 158, 11, 0.14);
}
body.fav-list-flow-mode.fav-cinema .fc-must-chip.active:hover {
    background: linear-gradient(135deg, #D97706, #F59E0B);
}


body.fav-list-flow-mode.fav-cinema .fc-hintbar {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 720px;
    margin: 4px auto 8px;
    padding: 8px 14px;
    background: linear-gradient(180deg, #F8FAFC, #F1F5F9);
    border: 1px solid rgba(99, 102, 241, 0.10);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
body.fav-list-flow-mode.fav-cinema .fc-hint-tag {
    flex: 0 0 auto;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #6366F1, #818CF8);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
body.fav-list-flow-mode.fav-cinema .fc-tag-listen { background: linear-gradient(135deg, #06B6D4, #22D3EE); }
body.fav-list-flow-mode.fav-cinema .fc-tag-review { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }
body.fav-list-flow-mode.fav-cinema .fc-tag-recite,
body.fav-list-flow-mode.fav-cinema .fc-tag-naked-recite { background: linear-gradient(135deg, #EF4444, #F87171); }
body.fav-list-flow-mode.fav-cinema .fc-tag-check { background: linear-gradient(135deg, #10B981, #34D399); }

body.fav-list-flow-mode.fav-cinema .fc-hint-tx {
    flex: 1 1 auto;
    font-size: 13.5px;
    color: #374151;
    line-height: 1.4;
    letter-spacing: 0.1px;
}
body.fav-list-flow-mode.fav-cinema .fc-hint-count {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(99, 102, 241, 0.08);
    min-width: 36px;
    text-align: center;
}


body.fav-list-flow-mode.fav-cinema .fc-diff-chips {
    display: flex;
    justify-content: center;
    gap: 6px;
    max-width: 720px;
    margin: 0 auto 8px;
    padding: 0 14px;
}
body.fav-list-flow-mode.fav-cinema .fc-diff-chip {
    background: #fff;
    color: #6B7280;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.12s;
    min-width: 56px;
}
body.fav-list-flow-mode.fav-cinema .fc-diff-chip:hover {
    background: rgba(99, 102, 241, 0.06);
    color: #4F46E5;
}
body.fav-list-flow-mode.fav-cinema .fc-diff-chip.active {
    background: linear-gradient(135deg, #6366F1, #818CF8);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.30);
}


body.fav-list-flow-mode.fav-cinema .fc-audio-wrap {
    max-width: 720px;
    margin: 0 auto 10px;
    padding: 0 14px;
}
body.fav-list-flow-mode.fav-cinema .fc-audio-wrap audio {
    width: 100%;
    height: 38px;
}


body.fav-list-flow-mode.fav-cinema .fc-sub-area {
    max-width: 720px;
    margin: 0 auto 12px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(99, 102, 241, 0.10);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    min-height: 130px;  
}
body.fav-list-flow-mode.fav-cinema .fc-sub-en {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.45;
    margin-bottom: 8px;
}
body.fav-list-flow-mode.fav-cinema .fc-sub-cn {
    font-size: 13.5px;
    color: #6B7280;
    line-height: 1.5;
}


body.fav-list-flow-mode.fav-cinema .fc-sub-area.fc-mask-en .fc-sub-en .wp-en:not(.wp-punct) {
    visibility: hidden;
    transition: visibility 0.18s;
}
body.fav-list-flow-mode.fav-cinema .fc-sub-area.fc-reveal-en .fc-sub-en .wp-en:not(.wp-punct) {
    visibility: visible;
}

body.fav-list-flow-mode.fav-cinema .fc-sub-area.fc-mask-en .fc-sub-en {
    user-select: text;
}


body.fav-list-flow-mode.fav-cinema .fc-sub-area.fc-sub-step-listen .fc-sub-en .wp-cn:not(.wp-punct-cn) {
    visibility: hidden;
    transition: visibility 0.18s;
}



body.fav-list-flow-mode.fav-cinema .fc-rec-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06), rgba(248, 113, 113, 0.04));
    border: 1px solid rgba(239, 68, 68, 0.20);
    border-radius: 12px;
    min-height: 56px;
}
body.fav-list-flow-mode.fav-cinema .fc-rec-bar.fc-hidden-placeholder {
    visibility: hidden;
    background: transparent;
    border-color: transparent;
}
body.fav-list-flow-mode.fav-cinema .fc-rec-mic {
    font-size: 24px;
    flex: 0 0 auto;
    animation: favCinemaRecPulse 1.4s ease-in-out infinite;
}
@keyframes favCinemaRecPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
body.fav-list-flow-mode.fav-cinema .fc-rec-info {
    flex: 1 1 auto;
}
body.fav-list-flow-mode.fav-cinema .fc-rec-title {
    font-size: 14px;
    font-weight: 700;
    color: #B91C1C;
    margin-bottom: 2px;
}
body.fav-list-flow-mode.fav-cinema .fc-rec-desc {
    font-size: 12px;
    color: #9CA3AF;
}
body.fav-list-flow-mode.fav-cinema .fc-rec-timer {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: #DC2626;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.10);
    min-width: 110px;
    text-align: center;
}


body.fav-list-flow-mode.fav-cinema .fc-step-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 8px;
    padding: 0 14px;
}
body.fav-list-flow-mode.fav-cinema .fc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.18);
    transition: background 0.2s, transform 0.2s;
}
body.fav-list-flow-mode.fav-cinema .fc-dot.done {
    background: linear-gradient(135deg, #6366F1, #818CF8);
}
body.fav-list-flow-mode.fav-cinema .fc-dot.active {
    background: linear-gradient(135deg, #F59E0B, #FB923C);
    transform: scale(1.4);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}


body.fav-list-flow-mode.fav-cinema .fc-morph-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    padding: 4px 14px;
}
body.fav-list-flow-mode.fav-cinema .fc-aux-btn {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.20);
    background: #fff;
    color: #4F46E5;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}
body.fav-list-flow-mode.fav-cinema .fc-aux-btn:hover {
    background: rgba(99, 102, 241, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}


body.fav-list-flow-mode.fav-cinema .fc-morph-btn {
    flex: 1 1 auto;
    min-width: 220px;
    max-width: 360px;
    height: 50px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.12s;
}

body.fav-list-flow-mode.fav-cinema .fc-morph-btn.fc-phase-0 {
    background: linear-gradient(135deg, #F59E0B, #FB923C);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.36);
    animation: favCinemaMorphPulse 1.8s ease-in-out infinite;
}

body.fav-list-flow-mode.fav-cinema .fc-morph-btn.fc-phase-1 {
    background: linear-gradient(135deg, #10B981, #34D399);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.36);
}

body.fav-list-flow-mode.fav-cinema .fc-morph-btn.fc-step-recite,
body.fav-list-flow-mode.fav-cinema .fc-morph-btn.fc-step-naked-recite {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.36);
}
body.fav-list-flow-mode.fav-cinema .fc-morph-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
body.fav-list-flow-mode.fav-cinema .fc-morph-btn:active {
    transform: translateY(0);
}
@keyframes favCinemaMorphPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(245, 158, 11, 0.36); }
    50%      { box-shadow: 0 4px 22px rgba(245, 158, 11, 0.58); }
}


body.fav-list-flow-mode.fav-cinema .fc-secondary-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
    padding: 10px 14px 16px;
    min-height: 52px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.22s;
}
body.fav-list-flow-mode.fav-cinema .fc-secondary-bar.visible {
    visibility: visible;
    opacity: 1;
}
body.fav-list-flow-mode.fav-cinema .fc-sec-btn {
    background: #fff;
    color: #6B7280;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: background 0.15s, color 0.15s, transform 0.12s;
}
body.fav-list-flow-mode.fav-cinema .fc-sec-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}
body.fav-list-flow-mode.fav-cinema .fc-sec-again {
    color: #4F46E5;
    border-color: rgba(99, 102, 241, 0.22);
}
body.fav-list-flow-mode.fav-cinema .fc-sec-again:hover {
    background: rgba(99, 102, 241, 0.06);
}
body.fav-list-flow-mode.fav-cinema .fc-sec-release {
    color: #16A34A;
    border-color: rgba(22, 163, 74, 0.22);
}
body.fav-list-flow-mode.fav-cinema .fc-sec-release:hover {
    background: rgba(22, 163, 74, 0.06);
    color: #15803D;
}


@media (max-width: 640px) {
    body.fav-list-flow-mode.fav-cinema .fc-nav-title { font-size: 14px; }
    body.fav-list-flow-mode.fav-cinema .fc-nav-sub { font-size: 12px; }
    body.fav-list-flow-mode.fav-cinema .fc-hintbar { padding: 7px 11px; gap: 8px; }
    body.fav-list-flow-mode.fav-cinema .fc-hint-tx { font-size: 12.5px; }
    body.fav-list-flow-mode.fav-cinema .fc-sub-area { padding: 14px 14px; min-height: 120px; }
    body.fav-list-flow-mode.fav-cinema .fc-sub-en { font-size: 16.5px; }
    body.fav-list-flow-mode.fav-cinema .fc-sub-cn { font-size: 12.5px; }
    body.fav-list-flow-mode.fav-cinema .fc-morph-btn { min-width: 170px; font-size: 14px; }
    body.fav-list-flow-mode.fav-cinema .fc-morph-area { gap: 10px; padding: 4px 10px; }
}





.fav-ctrl-row-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    flex-wrap: wrap;
    position: relative;
}
.fav-ctrl-row-v2 .btn-tinear {
    background: linear-gradient(135deg, #FCE7F3, #FBCFE8);
    color: #9D174D;
    border: 1px solid rgba(157, 23, 77, 0.18);
    font-weight: 600;
}
.fav-ctrl-row-v2 .btn-more {
    margin-left: auto;
    background: #F3F4F6;
    color: #4B5563;
}


.fav-more-menu {
    position: absolute;
    top: 100%;
    right: 15px;
    margin-top: 4px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 6px;
    z-index: 1000;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fav-more-item {
    background: transparent;
    border: none;
    padding: 10px 14px;
    text-align: left;
    font-size: 14px;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}
.fav-more-item:hover {
    background: #F3F4F6;
}
.fav-more-danger {
    color: #DC2626;
}
.fav-more-danger:hover {
    background: #FEE2E2;
}



.fav-srs-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    color: #1E40AF;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}


.fav-add-review-btn {
    background: #F3F4F6;
    color: #4B5563;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
}
.fav-add-review-btn:hover {
    background: #E0E7FF;
    color: #4F46E5;
    border-color: #C7D2FE;
}
.fav-add-review-btn.fav-add-review-on {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    color: #1E40AF;
    border-color: #93C5FD;
    font-weight: 600;
}


.fav-tinear-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: favTinearFadeIn 0.18s ease;
}
@keyframes favTinearFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fav-tinear-modal {
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    overflow: hidden;
}
.fav-tinear-header {
    position: relative;
    padding: 18px 20px 14px;
    background: linear-gradient(135deg, #FDF2F8, #FCE7F3);
    border-bottom: 1px solid rgba(157, 23, 77, 0.08);
}
.fav-tinear-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.06);
    color: #6B7280;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fav-tinear-title {
    font-size: 18px;
    font-weight: 700;
    color: #9D174D;
    margin-bottom: 4px;
}
.fav-tinear-sub {
    font-size: 13px;
    color: #BE185D;
}
.fav-tinear-actions {
    display: flex;
    gap: 8px;
    padding: 12px 20px 6px;
    flex-wrap: wrap;
}
.fav-tinear-action-btn {
    flex: 1;
    min-width: 80px;
    padding: 8px 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #4B5563;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
}
.fav-tinear-action-btn:hover {
    background: #F3F4F6;
}
.fav-tinear-action-hi {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    border-color: #FBBF24;
    font-weight: 600;
}
.fav-tinear-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 20px 12px;
    -webkit-overflow-scrolling: touch;
}
.fav-tinear-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: #F9FAFB;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.12s;
}
.fav-tinear-item:hover {
    background: #F3F4F6;
}
.fav-tinear-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}
.fav-tinear-spd {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: #E5E7EB;
    color: #4B5563;
}
.fav-tinear-spd-hi {
    background: #FEE2E2;
    color: #B91C1C;
}
.fav-tinear-spd-mid {
    background: #FEF3C7;
    color: #92400E;
}
.fav-tinear-spd-low {
    background: #D1FAE5;
    color: #047857;
}
.fav-tinear-text {
    flex: 1;
    font-size: 14px;
    color: #1F2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fav-tinear-footer {
    padding: 14px 20px 18px;
    background: #FAFAFA;
    border-top: 1px solid #F3F4F6;
}
.fav-tinear-go-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #EC4899, #BE185D);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
    transition: transform 0.12s, box-shadow 0.12s;
}
.fav-tinear-go-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.32);
}
.fav-tinear-hint {
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    color: #9CA3AF;
}

@media (max-width: 600px) {
    .fav-tinear-modal { max-height: 92vh; }
    .fav-tinear-actions { padding: 10px 14px 4px; gap: 6px; }
    .fav-tinear-action-btn { font-size: 12.5px; padding: 7px 10px; }
    .fav-tinear-list { padding: 6px 14px 10px; }
    .fav-tinear-text { font-size: 13px; }
}





body.fav-list-flow-mode.fav-cinema .fc-settings-chip {
    background: #F3F4F6;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 4px;
    transition: all 0.15s;
}
body.fav-list-flow-mode.fav-cinema .fc-settings-chip:hover {
    background: #E5E7EB;
    color: #374151;
}


body.fav-list-flow-mode.fav-cinema .fc-diff-chips {
    display: none;
}


.fav-set-course-hint {
    padding: 10px 14px;
    background: #F9FAFB;
    border-radius: 8px;
    font-size: 13px;
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.fav-set-sync-btn {
    background: #4F46E5;
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    margin-left: auto;
}
.fav-set-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.fav-set-diff-chip {
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}
.fav-set-diff-chip:hover {
    background: #F3F4F6;
}
.fav-set-diff-chip.active {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    border-color: #4F46E5;
}
.fav-set-diff-label {
    font-size: 14px;
    font-weight: 700;
    color: #1F2937;
}
.fav-set-diff-sub {
    font-size: 11px;
    color: #6B7280;
    margin-top: 2px;
}


body.fav-active .fav-blind-all-banner {
    margin: 8px 15px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #1F2937, #374151);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
body.fav-active .fav-blind-all-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}
body.fav-active .fav-blind-all-title {
    font-weight: 700;
    margin-bottom: 2px;
}
body.fav-active .fav-blind-all-sub {
    font-size: 12px;
    opacity: 0.75;
}
body.fav-active .fav-blind-all-btn {
    background: #fff;
    color: #1F2937;
    border: none;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
}
body.fav-active .fav-blind-all-btn:hover {
    background: #F3F4F6;
}
body.fav-active .fav-blind-all-banner.fav-blind-playing {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
}

body.fav-blind-all .fav-card .row-en,
body.fav-blind-all .fav-card .trans-wrapper,
body.fav-blind-all .fav-card .row-decode,
body.fav-blind-all .fav-card .row-full {
    filter: blur(10px) !important;
    -webkit-filter: blur(10px) !important;
    transition: filter 0.4s;
    user-select: none;
}
body.fav-blind-all .fav-card audio {
    opacity: 0.6;
    pointer-events: none;  
}



.v3-fwjump-overlay {
    position: fixed; inset: 0; z-index: 100060;
    display: flex; align-items: center; justify-content: center;
    background: rgba(6, 8, 20, 0.66); backdrop-filter: blur(3px);
    padding: 24px; box-sizing: border-box;
    animation: v3fwjumpFade 0.18s ease-out;
}
@keyframes v3fwjumpFade { from { opacity: 0; } to { opacity: 1; } }
.v3-fwjump-card {
    width: 100%; max-width: 340px; box-sizing: border-box;
    background: linear-gradient(160deg, #1e2540 0%, #161b30 100%);
    border: 1.5px solid rgba(255, 196, 84, 0.5);
    border-radius: 18px; padding: 22px 20px 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    text-align: center; color: #eef2ff;
    animation: v3fwjumpPop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes v3fwjumpPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.v3-fwjump-emoji { font-size: 38px; line-height: 1; margin-bottom: 8px; }
.v3-fwjump-title { font-size: 18px; font-weight: 800; color: #ffd166; margin-bottom: 10px; letter-spacing: 0.5px; }
.v3-fwjump-body { font-size: 13.5px; line-height: 1.7; color: #cfd6ee; margin-bottom: 18px; }
.v3-fwjump-body b { color: #ffe3a3; font-weight: 700; }
.v3-fwjump-soft { display: block; margin-top: 8px; font-size: 12.5px; color: #9aa6cc; }
.v3-fwjump-soft b { color: #8fe3b0; }
.v3-fwjump-actions { display: flex; gap: 10px; }
.v3-fwjump-actions button {
    flex: 1; padding: 12px 8px; border-radius: 12px; font-size: 14px; font-weight: 700;
    border: none; cursor: pointer; transition: transform 0.12s ease, filter 0.12s ease;
}
.v3-fwjump-actions button:active { transform: scale(0.96); }
.v3-fwjump-cancel { background: rgba(255, 255, 255, 0.1); color: #cfd6ee; }
.v3-fwjump-go { background: linear-gradient(135deg, #ffb454, #ff8c42); color: #2a1500; }
.v3-fwjump-go:hover { filter: brightness(1.06); }



.s3v3-phonics-row{display:flex;align-items:center;justify-content:center;gap:10px;margin:4px 0 2px;flex-wrap:wrap}
.s3v3-phonics-row .s3v3-syl{font-size:0.95em;letter-spacing:0.04em;color:rgba(124,58,237,0.95);font-weight:600}
.s3v3-phonics-row .s3v3-phonics-btn{border:1px solid rgba(124,58,237,0.35);background:rgba(124,58,237,0.08);color:rgba(109,40,217,1);border-radius:9px;padding:4px 12px;font-size:0.82em;font-weight:600;cursor:pointer}
.s3v3-phonics-row .s3v3-phonics-btn.loading{opacity:0.6}
.s3v3-phonics-row .s3v3-phonics-btn.disabled{opacity:0.45;cursor:default}


body.profile-chapter-book .cb-illust{margin:18px auto 20px;max-width:560px;text-align:center}
body.profile-chapter-book .cb-illust img,body.profile-chapter-book .cb-illust video{width:100%;height:auto;border-radius:14px;box-shadow:0 4px 18px rgba(15,23,42,0.14);display:block}
body.profile-chapter-book .cb-illust figcaption{margin-top:7px;font-size:0.82em;color:var(--text-muted,rgba(148,163,184,1));line-height:1.5}
body.profile-chapter-book.cb-night-mode .cb-illust img,body.profile-chapter-book.cb-night-mode .cb-illust video{box-shadow:0 4px 18px rgba(0,0,0,0.4);filter:brightness(0.88)}

body.profile-chapter-book.cb-flow:not(.cinema-embed-active) .cb-illust{scroll-margin-top:80px}

body.profile-chapter-book.cb-ambient-on .main-content{
    background-image:linear-gradient(rgba(244,247,246,0.90),rgba(244,247,246,0.96)),var(--cb-ambient-img,none);
    background-size:cover;background-position:center 25%;
}
body.profile-chapter-book.cb-ambient-on.cb-night-mode .main-content{
    
    background-image:linear-gradient(rgba(22,22,28,0.86),rgba(22,22,28,0.94)),var(--cb-ambient-img,none) !important;
    
    background-size:cover !important;
    background-position:center 25% !important;
    background-repeat:no-repeat !important;
}


body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-quote {
    position: sticky; top: -18px; z-index: 2;
    background: var(--cb-card-bg, white); padding-top: 10px; padding-bottom: 8px;
}
body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-seg {
    cursor: pointer; border-radius: 4px;
    
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    transition: background 0.18s ease, color 0.18s ease;
}
body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-seg.cb-aiexp-on {
    background: var(--cb-bgC, var(--color-primary-50));
    color: var(--cb-fgC, var(--color-primary-900));
    box-shadow: inset 0 0 0 1.5px var(--cb-acC, rgba(99, 102, 241, 0.45));
}
body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-row {
    padding: 7px 9px; margin: 6px 0; border-radius: 9px; cursor: pointer;
    background: transparent; transition: background 0.18s ease;
}
body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-row.cb-aiexp-on {
    background: var(--cb-bgC, var(--color-primary-50));
    box-shadow: inset 0 0 0 1.5px var(--cb-acC, rgba(99, 102, 241, 0.30));
}
body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-lead {
    font-size: 13.5px; color: var(--color-primary-600); font-weight: 600; line-height: 1.5;
}
body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-en {
    font-size: 13px; color: var(--color-gray-500); line-height: 1.5; margin: 1px 0;
}
body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-zh {
    font-size: 15px; color: var(--color-gray-800); line-height: 1.7;
}
body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-analogy {
    margin-top: 10px; padding: 9px 11px; border-radius: 10px;
    background: rgba(251, 191, 36, 0.10);
    box-shadow: inset 0 0 0 1.5px rgba(251, 191, 36, 0.35);
    font-size: 14.5px; color: var(--color-warning); line-height: 1.7;
}
body.profile-chapter-book #cb-aiexp-pop .cb-aiexp-closing {
    margin-top: 10px; font-size: 14.5px; color: var(--color-gray-700); line-height: 1.7;
}

body.profile-chapter-book.cb-night-mode #cb-aiexp-pop .cb-aiexp-quote { background: var(--color-gray-800); }


.ph-ipa-ph {
    text-decoration: underline dotted;
    text-underline-offset: 2px;
    cursor: pointer;
    border-radius: 4px;
    background: transparent;
    transition: background .15s, color .15s;
}

.ph-ipa-ph {
    display: inline-block;
    padding: 3px 2px;
    margin: 0 1px;
}
.ph-ipa-ph:hover { background: var(--color-primary-50); }
.ph-ipa-ph.on {
    background: var(--color-primary-100);
    color: var(--color-primary-800);
    text-decoration-style: solid;
}
.artic-slot:empty { display: none; }
.artic-slot {
    margin-top: 8px;
    --line: var(--color-gray-200);
    --mut: var(--color-gray-500);
}
.artic-loading {
    font-size: 12px;
    color: var(--color-gray-500);
    padding: 8px 0;
}




.ph-modes { margin: 8px 0 4px; }
.ph-mode-tabs { display: flex; gap: 6px; margin-bottom: 7px; }
.ph-mode-btn {
    font: inherit;
    font-size: 12px;
    padding: 4px 13px;
    border-radius: 999px;
    border: 1px solid var(--color-primary-200);
    background: transparent;
    color: var(--color-primary-700);
    cursor: pointer;
}
.ph-mode-btn.active {
    background: var(--color-primary-600);
    border-color: var(--color-primary-600);
    color: var(--color-gray-50);
    font-weight: 600;
}
.ph-mode-body { display: none; flex-wrap: wrap; gap: 5px; align-items: flex-end; }
.ph-modes[data-mode="split"] .ph-mode-split { display: flex; }
.ph-modes[data-mode="phonics"] .ph-mode-phonics { display: flex; }
.ph-mode-cue { display: none; margin: 6px 0 0; font-size: 11px; color: var(--color-gray-500); }
.ph-modes[data-mode="split"] .ph-cue-split { display: block; }
.ph-modes[data-mode="phonics"] .ph-cue-phonics { display: block; }


.ph-pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 3px 5px;
    border-radius: 7px;
    background: var(--color-gray-50);
}
.ph-pair-g { font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.ph-pair .ph-pair-p { font-size: 11px; }
.ph-pair.ph-kind-v .ph-pair-g,
.ph-pair.ph-kind-v .ph-pair-p { color: var(--color-danger); }
.ph-pair.ph-kind-c .ph-pair-g,
.ph-pair.ph-kind-c .ph-pair-p { color: var(--color-primary-600); }

.ph-pair.ph-kind-silent { background: transparent; }
.ph-pair.ph-kind-silent .ph-pair-g {
    color: var(--color-gray-400);
    text-decoration: line-through;
}
.ph-pair-silent { font-size: 10px; color: var(--color-gray-400); }


.ph-split-chip { font-size: 13px; }
.ph-ipa-ph.ph-kind-v { color: var(--color-danger); }
.ph-ipa-ph.ph-kind-c { color: var(--color-primary-600); }
.ph-ipa-plain { color: var(--color-gray-400); cursor: default; text-decoration: none; }


.ph-pair.ph-combo-v .ph-pair-g {
    text-decoration: underline solid;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.ph-pair.ph-combo-c .ph-pair-g {
    text-decoration: underline double;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.ph-pair.ph-combo-r .ph-pair-g,
.ph-pair.ph-combo-r .ph-pair-p { color: var(--color-info); }
.ph-pair.ph-combo-r .ph-pair-g {
    text-decoration: underline solid;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}


.ph-sylblk .ph-tc { color: inherit; }
.ph-sylblk.ph-teach-cur .ph-tc-v,
.ph-sylblk.ph-teach-done .ph-tc-v { color: var(--color-danger); }
.ph-sylblk.ph-teach-cur .ph-tc-c,
.ph-sylblk.ph-teach-done .ph-tc-c { color: var(--color-primary-600); }
.ph-sylblk.ph-teach-cur .ph-tc-s,
.ph-sylblk.ph-teach-done .ph-tc-s { color: var(--color-gray-400); text-decoration: line-through; }

.ph-tc.ph-teach-cur.ph-tc-v, .ph-tc.ph-teach-done.ph-tc-v { color: var(--color-danger); }
.ph-tc.ph-teach-cur.ph-tc-c, .ph-tc.ph-teach-done.ph-tc-c { color: var(--color-primary-600); }
.ph-tc.ph-teach-cur.ph-tc-s, .ph-tc.ph-teach-done.ph-tc-s { color: var(--color-gray-400); }
.ph-tc.ph-teach-cur { background: var(--color-warning-bg); border-radius: 3px; }
.ph-pair.ph-teach-done { background: rgba(199, 210, 254, 0.35); border-radius: 6px; }


.ph-ipa-guess { display: inline-block; margin-left: 6px; padding: 0 6px; font-size: 11px; line-height: 1.6; border-radius: 8px; color: var(--color-warning); background: var(--color-warning-bg); border: 1px solid var(--color-warning); vertical-align: middle; white-space: nowrap; }
.ph-teach-info { min-height: 1.6em; margin: 6px 0 2px; font-size: 13px; line-height: 1.6; color: var(--color-gray-700); }
.ph-teach-info .ph-ti-g { font-size: 15px; letter-spacing: .5px; }
.ph-teach-info .ph-ti-same { margin-top: 2px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.ph-teach-info .ph-ti-lbl { color: var(--color-gray-500); font-size: 12px; }
.ph-teach-info .ph-ti-word { padding: 0 6px; border-radius: 10px; background: var(--color-gray-100); cursor: pointer; font-size: 12.5px; }
.ph-teach-info .ph-ti-word u { text-decoration: none; font-weight: 700; }
.ph-teach-info .ph-kind-v { color: var(--color-danger); }
.ph-teach-info .ph-kind-c { color: var(--color-primary-600); }
.ph-sylblk-only.ph-teach-cur .ph-tc, .ph-sylblk-only.ph-teach-done .ph-tc { color: inherit; }
.ph-sylblk-only.ph-teach-cur .ph-tc-v, .ph-sylblk-only.ph-teach-done .ph-tc-v { color: var(--color-danger); }
.ph-sylblk-only.ph-teach-cur .ph-tc-c, .ph-sylblk-only.ph-teach-done .ph-tc-c { color: var(--color-primary-600); }


.dict-phonics-open { cursor: pointer; }


.ph-sec-title { font-size: 12px; font-weight: 700; color: var(--color-gray-600); margin: 10px 0 6px; }
.ph-quiz-q { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; }
.ph-quiz-ask { font-size: 12px; color: var(--color-gray-700); }
.ph-quiz-opt { font: inherit; font-size: 13px; padding: 3px 10px; border-radius: 10px;
    border: 1px solid var(--color-gray-300); background: var(--color-gray-50); cursor: pointer; }
.ph-quiz-opt.ph-right { background: var(--color-success-bg); border-color: var(--color-success);
    color: var(--color-success); font-weight: 700; }
.ph-quiz-opt.ph-wrong { background: var(--color-danger-bg); border-color: var(--color-danger);
    transform: translateX(2px); }
.ph-quiz-fb { font-size: 11px; min-height: 1em; }
.ph-fb-ok { color: var(--color-success); }
.ph-fb-no { color: var(--color-warning); }
.ph-spell-cn { font-size: 12px; color: var(--color-gray-600); margin: 2px 0 6px; }
.ph-spell-slots { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.ph-spell-slot { display: inline-block; min-width: 34px; min-height: 30px; line-height: 28px;
    text-align: center; border: 1.5px dashed var(--color-gray-300); border-radius: 8px;
    font-size: 15px; font-weight: 700; color: var(--color-primary-700);
    background: var(--color-gray-50); cursor: pointer; padding: 0 6px; }
.ph-spell-bank { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.ph-spell-blk { font: inherit; font-size: 15px; font-weight: 700; padding: 3px 10px;
    border-radius: 8px; border: 1px solid var(--color-primary-200);
    background: var(--color-primary-50); color: var(--color-primary-700); cursor: pointer; }
.ph-spell-blk.ph-used { opacity: .25; cursor: default; }
.ph-spell-fb { font-size: 12px; min-height: 1.2em; margin-top: 2px; }

.ph-teach-cur { background: var(--color-warning-bg) !important; border-radius: 6px;
    box-shadow: 0 0 0 2px var(--color-warning); }

.ph-sylrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 6px 0 8px; }
.ph-sylblk { display: inline-flex; flex-direction: column; align-items: center;
    padding: 4px 10px; border-radius: 10px; background: var(--color-primary-50);
    cursor: pointer; }                    
.ph-sylblk:active { background: var(--color-primary-200); }  
.ph-sylblk b { font-size: 20px; line-height: 1.2; color: var(--color-primary-800); }
.ph-sylblk i { font-style: normal; font-size: 11px; color: var(--color-gray-400); }

.ph-sylblk i .ph-ipa-ph { padding: 1px 4px; margin: 0 1px; border-radius: 6px;
    background: var(--color-primary-100); color: var(--color-primary-700);
    text-decoration: none; cursor: pointer; }
.ph-sylblk-whole b { color: var(--color-primary-600); }
.ph-sylblk.ph-syl-active { background: var(--color-warning-bg); box-shadow: 0 0 0 2px var(--color-warning); }
.ph-syl-dot, .ph-syl-eq { color: var(--color-gray-400); font-weight: 700; }
.ph-pair-details { margin: 6px 0; }
.ph-pair-details summary { cursor: pointer; font-size: 12px; color: var(--color-gray-500); }
.ph-pair-wrap { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }

.ph-pair-sec { margin: 8px 0 2px; }
.ph-pair-sec-title { font-size: 12px; color: var(--color-gray-500); margin-bottom: 4px; }

.ph-lb-notes { display: flex; flex-direction: column; gap: 3px; margin-top: 7px; }

.ph-lb-note { font-size: 11.5px; line-height: 1.5; color: var(--color-gray-600);
    background: var(--color-warning-bg); border-left: 3px solid var(--color-warning);
    border-radius: 6px; padding: 4px 9px; }
.ph-lb-note b { color: var(--color-warning); font-weight: 700;
    margin-right: 5px; letter-spacing: .02em; }
.ph-split-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ph-vid-tail { font: inherit; font-size: .8em; padding: 4px 10px; border-radius: 999px;
    border: 1px solid var(--color-primary-200); background: var(--color-primary-50);
    color: var(--color-primary-700); cursor: pointer; margin: 6px 0 0 4px; flex: 0 0 auto; }

.dict-insent { margin: 2px 0 8px; font-size: .95em; color: var(--color-gray-700); }
.dict-insent-en { color: var(--color-primary-700); }
.dict-insent-cn { background: var(--color-warning-bg); color: var(--color-gray-900);
    padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.dict-pron-word-btn { font: inherit; font-size: .85em; padding: 4px 10px; border-radius: 8px;
    border: 1px solid var(--color-primary-200); background: var(--color-primary-50);
    color: var(--color-primary-700); cursor: pointer; flex: 0 0 auto; }

.artic-ov { display: none; position: fixed; inset: 0;
    
    z-index: 2147479641;
    background: rgba(15, 18, 34, .32);   
    align-items: flex-end; justify-content: center; padding: 0; }
.artic-ov-panel { position: relative; width: min(680px, 100%);
    
    max-height: 78vh; max-height: min(82dvh, calc(100dvh - 40px));
    overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--color-gray-50);
    border-radius: 16px 16px 0 0;
    padding: 12px 14px calc(18px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, .28); }

@media (max-width: 700px) {
    .artic-ov .pan svg { max-height: 21dvh; width: auto; max-width: 100%; margin: 0 auto; }
    .artic-ov .vwrap video { max-height: 26dvh; width: auto; max-width: 100%; margin: 0 auto; }
}
.artic-ov-close { position: sticky; top: 0; float: right; z-index: 2; width: 34px;
    height: 34px; border-radius: 50%; border: none; background: var(--color-gray-100);
    color: var(--color-gray-600); font-size: 20px; line-height: 1; cursor: pointer; }
.artic-ov-panel .artic-slot { clear: none; }

.artic-ov .vplay, .global-isolated-component .vplay { pointer-events: none !important; }

html body.v100-dict-active .artic-ov video { display: block !important; }

html body.v100-dict-active .ph2-vid video, html body.v100-dict-active .ph2-v3d video { display: block !important; }

.ph-fold > summary { cursor: pointer; list-style: none; user-select: none; }
.ph-fold > summary::-webkit-details-marker { display: none; }
.ph-fold > summary::after { content: ' ▸'; color: var(--color-gray-400); }
.ph-fold[open] > summary::after { content: ' ▾'; }

.ph-sylblk.ph-teach-done { background: rgba(199, 210, 254, 0.55); }
.ph-sylblk.ph-teach-done i { opacity: 0.9; }

.ph-rule { margin: 6px 0 0; padding: 5px 10px; border-radius: 10px;
    background: rgba(250, 245, 255, 0.85); font-size: 0.86em; }
.ph-rule > summary { cursor: pointer; list-style: none; user-select: none;
    color: rgba(76, 29, 149, 0.95); line-height: 1.65; }
.ph-rule > summary::-webkit-details-marker { display: none; }
.ph-rule > summary::after { content: ' ▸'; color: var(--color-gray-400); font-size: 0.9em; }
.ph-rule[open] > summary::after { content: ' ▾'; }
.ph-rule-det { margin-top: 5px; padding-top: 5px; border-top: 1px dashed rgba(196, 181, 253, 0.6);
    color: rgba(88, 60, 150, 0.9); line-height: 1.75; }

.ph-sfx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 6px;
    
    flex-basis: 100%;
    padding: 5px 10px; border-radius: 10px; background: var(--color-gray-50);
    border: 1px dashed var(--color-gray-300); cursor: pointer; font-size: 14px; }
.ph-sfx-row:active { background: var(--color-primary-50); }
.ph-sfx-lab { font-size: 11px; color: var(--color-gray-400); letter-spacing: .5px; }
.ph-sfx-stem { font-weight: 700; color: var(--color-primary-800); letter-spacing: .3px; }
.ph-sfx-plus { color: var(--color-gray-400); }
.ph-sfx-suf { display: inline-block; padding: 1px 8px; border-radius: 8px; font-weight: 700;
    background: var(--color-warning-bg); color: var(--color-warning); border: 1px solid var(--color-warning); }
.ph-sfx-ipa { font-size: 12px; color: var(--color-gray-500); }
.ph-sfx-chip { display: inline-block; font-size: 11.5px; padding: 1px 8px; border-radius: 99px;
    background: var(--color-gray-100); color: var(--color-gray-600); }

.ph2, .ph2-pw, .ph2-cbub { --p2-x111:#111; --p2-x27304a:#27304a; --p2-x374151:#374151; --p2-x3f3bb0:#3f3bb0; --p2-x4338ca:#4338ca; --p2-x4a3410:#4a3410; --p2-x5652cc:#5652cc; --p2-x6d6ce0:#6d6ce0; --p2-x8a6d3b:#8a6d3b; --p2-x92400e:#92400e; --p2-x9ca3af:#9ca3af; --p2-xb45309:#b45309; --p2-xb8bccb:#b8bccb; --p2-xc3c7d2:#c3c7d2; --p2-xc4c8f5:#c4c8f5; --p2-xd4d6df:#d4d6df; --p2-xdfe1ea:#dfe1ea; --p2-xe0245e:#e0245e; --p2-xe4e3fb:#e4e3fb; --p2-xe5e7ef:#e5e7ef; --p2-xeef0ff:#eef0ff; --p2-xf1f2f6:#f1f2f6; --p2-xf3f4f8:#f3f4f8; --p2-xf3f4fb:#f3f4fb; --p2-xf59e0b:#f59e0b; --p2-xfcd9a5:#fcd9a5; --p2-xfde3b0:#fde3b0; --p2-xfde7b8:#fde7b8; --p2-xfdecf2:#fdecf2; --p2-xfef3c7:#fef3c7; --p2-xfff:#fff; --p2-xfff7e6:#fff7e6; --p2-xfffaf0:#fffaf0; } 
.ph2, .ph2-pw, .ph2-cbub { --p2-ink:#1f2433; --p2-sub:#6b7280; --p2-line:#e7e8ef; --p2-soft:#f6f7fb; --p2-acc:#5b5bd6; --p2-acc2:#eef0ff;  
  --p2-vow:var(--p2-xe0245e); --p2-vowbg:var(--p2-xfdecf2); --p2-con:var(--p2-x4338ca); --p2-conbg:var(--p2-xeef0ff); --p2-sel:var(--p2-xf59e0b); text-align:left; } 

@media (min-width: 900px) {
  #dict-modal .dict-content:has(#tab-1.active .ph2) { max-width: min(1040px, calc(100vw - 80px)); }
}
.ph2 { position: relative; }
.ph2-head { display:flex; align-items:center; gap:10px 12px; margin-bottom:6px; flex-wrap:wrap; }
.ph2-word { font:inherit; font-size:40px; font-weight:800; letter-spacing:.5px; color:var(--p2-x27304a); line-height:1.15; background:none; border:0;
  border-radius:14px; padding:4px 10px 4px 6px; cursor:pointer; display:flex; align-items:center; gap:8px; min-width:0; white-space:nowrap; max-width:100%; }
.ph2-word:hover { background:var(--p2-xf3f4fb); }
.ph2-dict { font:inherit; font-size:14px; font-weight:600; color:var(--p2-acc); background:var(--p2-acc2); border:1px solid var(--p2-line);
  border-radius:999px; padding:6px 14px; cursor:pointer; white-space:nowrap; }
.ph2-dict.on { color:var(--p2-sub); background:var(--p2-soft); }
.ph2-bad { font:inherit; font-size:12px; color:var(--p2-sub); background:none; border:0; padding:4px 2px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.ph2-bad.on, .ph2-bad:disabled { cursor:default; text-decoration:none; opacity:.75; }
.ph2-word .ph2-wpl { font-size:14px; width:26px; height:26px; border-radius:50%; background:var(--p2-acc2); color:var(--p2-acc); display:grid; place-items:center; flex:0 0 auto; }
.ph2-word i { font-style:normal; color:var(--p2-xc4c8f5); margin:0 4px; }
.ph2-word.ph2-lit { color:var(--p2-acc); }
.ph2-sec { font-size:13px; color:var(--p2-sub); margin:2px 0 12px; line-height:1.6; }
.ph2-sec b { color:var(--p2-x374151); }

.ph2 u.ph2-sfx { text-decoration:underline; text-decoration-thickness:3px; text-underline-offset:5px; text-decoration-color:var(--p2-acc); }
.ph2-syl .ph2-t u.ph2-sfx { text-decoration-thickness:2px; text-underline-offset:4px; text-decoration-color:currentColor; }
.ph2-sec .ph2-why { margin-top:4px; }
.ph2-sec .ph2-why summary { cursor:pointer; color:var(--p2-acc); display:inline; }
.ph2-sec .ph2-why[open] { color:var(--p2-x374151); }
.ph2-groups { display:flex; flex-wrap:wrap; gap:12px; align-items:stretch; }
.ph2-grp { display:flex; flex-direction:column; gap:8px; background:var(--p2-soft); border:1px solid var(--p2-line); border-radius:16px; padding:8px; min-width:0; }
.ph2:not(.ph2-inrow) .ph2-groups { flex-direction:column; gap:10px; }
.ph2:not(.ph2-inrow) .ph2-grp { width:100%; flex:1 1 auto !important; }
.ph2:not(.ph2-inrow) .ph2-grp:not(.ph2-one) .ph2-tiles { display:flex; flex-wrap:wrap; justify-content:flex-start; }
.ph2:not(.ph2-inrow) .ph2-syl { justify-content:flex-start; padding-left:14px; }
.ph2.ph2-inrow .ph2-groups { flex-wrap:nowrap; }
.ph2-syl { font:inherit; cursor:pointer; border:0; border-radius:12px; padding:8px 12px; background:linear-gradient(180deg,var(--p2-x6d6ce0),var(--p2-x5652cc)); color:var(--p2-xfff);
  display:flex; align-items:center; gap:8px; justify-content:center; min-height:48px; box-shadow:0 2px 0 var(--p2-x3f3bb0); min-width:0; overflow:hidden; }
.ph2-syl .ph2-t { font-size:22px; font-weight:800; letter-spacing:.5px; }
.ph2-syl .ph2-ip { font-size:12px; color:var(--p2-xe4e3fb); white-space:nowrap; }
.ph2-syl .ph2-pl { font-size:12px; width:20px; height:20px; border-radius:50%; background:rgba(255,255,255,.22); display:grid; place-items:center; flex:0 0 auto; }
.ph2-syl:active { transform:translateY(1px); box-shadow:none; }
.ph2-syl.ph2-tight1 .ph2-pl { display:none; } .ph2-syl.ph2-tight1 { gap:4px; padding-left:8px; padding-right:8px; }  
.ph2-syl.ph2-tight .ph2-ip { display:none; } .ph2-syl.ph2-tight { gap:4px; }
.ph2-syl.ph2-lit { background:var(--p2-xf59e0b); box-shadow:0 2px 0 var(--p2-xb45309); }
.ph2-tiles { display:grid; gap:6px; }
.ph2-one { flex:1 1 auto; }
.ph2-brow { display:flex; gap:8px; align-items:stretch; }
.ph2-bpart, .ph2-brest { display:flex; flex-direction:column; gap:8px; min-width:0; }
.ph2-brest .ph2-lab { min-height:48px; display:flex; align-items:center; justify-content:center; font-size:13px; color:var(--p2-sub);
  border:2px dashed var(--p2-xdfe1ea); border-radius:12px; padding:0 8px; white-space:nowrap; }
.ph2-plus { align-self:flex-end; font-size:22px; font-weight:700; color:var(--p2-xb8bccb); padding:0 2px 16px; }

.ph2-eq { align-self:flex-start; font-size:22px; font-weight:700; color:var(--p2-xb8bccb); padding:10px 2px 0; }
.ph2-bwhole { display:flex; flex-direction:column; min-width:0; flex:0 0 auto; }
.ph2-syl.ph2-sum { background:var(--p2-xfff); color:var(--p2-x5652cc); box-shadow:inset 0 0 0 2px var(--p2-x5652cc); }
.ph2-syl.ph2-sum .ph2-ip { color:var(--p2-sub); }
.ph2-syl.ph2-sum .ph2-pl { background:var(--p2-soft); }
.ph2-syl.ph2-sum.ph2-lit { background:var(--p2-xf59e0b); color:var(--p2-xfff); box-shadow:0 2px 0 var(--p2-xb45309); }
.ph2.ph2-narrow .ph2-brow { flex-wrap:wrap; }
.ph2.ph2-narrow .ph2-eq { display:none; }
.ph2.ph2-narrow .ph2-bwhole { flex:1 1 100%; }
.ph2.ph2-narrow .ph2-sum .ph2-t::before { content:'= '; }
.ph2-blend .ph2-t { letter-spacing:1px; }
.ph2-tile { font:inherit; cursor:pointer; min-width:44px; min-height:56px; border-radius:10px; border:2px solid transparent; background:var(--p2-xfff);
  display:flex; flex-direction:column; align-items:center; justify-content:center; padding:4px 6px; line-height:1.15; box-shadow:0 1px 0 var(--p2-xe5e7ef); transition:transform .12s; }
.ph2-tile .ph2-g { font-size:20px; font-weight:800; }
.ph2-tile .ph2-p { font-size:13px; }
.ph2-tile.ph2-v .ph2-g, .ph2-tile.ph2-v .ph2-p { color:var(--p2-vow); } .ph2-tile.ph2-v { background:var(--p2-vowbg); }
.ph2-tile.ph2-c .ph2-g, .ph2-tile.ph2-c .ph2-p { color:var(--p2-con); } .ph2-tile.ph2-c { background:var(--p2-conbg); }
.ph2-tile.ph2-s .ph2-g { color:var(--p2-x9ca3af); } .ph2-tile.ph2-s .ph2-p { color:var(--p2-x9ca3af); font-size:11px; }
.ph2-tile.ph2-combo .ph2-g { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; }
.ph2-tile.ph2-sel { border-color:var(--p2-sel); box-shadow:0 0 0 3px rgba(245,158,11,.18); }
.ph2-tile.ph2-lit { transform:scale(1.08); background:var(--p2-xfff7e6); }
.ph2-tile .ph2-vdot { display:block; width:6px; height:6px; border-radius:50%; background:var(--p2-xf59e0b); margin-top:2px; }
.ph2-main .ph-lb-notes, .ph2-main .ph-sfx-row { margin-top:12px; }

.ph2.ph2-cols .ph2-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr); gap:18px; align-items:start; }
.ph2.ph2-cols .ph2-pw { position:sticky; top:0; }
.ph2.ph2-narrow .ph2-layout > .ph2-pw { display:none; }

.ph2-panel { background:var(--p2-xfff); border:1px solid var(--p2-line); border-radius:16px; padding:12px 14px; }
.ph2-ph { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.ph2-ph b { font-size:26px; color:var(--p2-x27304a); }
.ph2-ty { font-size:12px; color:var(--p2-sub); border:1px solid var(--p2-line); border-radius:999px; padding:1px 8px; }
.ph2-acts { margin-left:auto; display:flex; gap:6px; }
.ph2-hb { font:inherit; font-size:14px; font-weight:700; height:36px; min-width:44px; padding:0 12px; border-radius:999px; border:1px solid var(--p2-xfcd9a5);
  background:var(--p2-xfff7e6); color:var(--p2-x92400e); cursor:pointer; white-space:nowrap; }
.ph2-hb.ph2-hbp { background:var(--p2-acc); border-color:var(--p2-acc); color:var(--p2-xfff); }
.ph2-vtag { font-size:13px; font-weight:800; color:var(--p2-x92400e); background:var(--p2-xfef3c7); border-radius:999px; padding:2px 10px; }
.ph2-ctx { background:var(--p2-xfffaf0); border:1px solid var(--p2-xfde3b0); border-radius:12px; padding:6px 10px; margin:8px 0 6px; font-size:13.5px; color:var(--p2-x4a3410); line-height:1.55; }
.ph2-ctx b { color:var(--p2-x92400e); }
.ph2-ctx .ph2-vs { display:block; color:var(--p2-x8a6d3b); font-size:12.5px; margin-top:2px; }
.ph2-ctx0 { font-size:13px; color:var(--p2-sub); margin:6px 0 4px; }
.ph2-media { display:grid; gap:10px; grid-template-columns:1fr; }
.ph2-media.ph2-side { grid-template-columns:1fr 1.15fr; align-items:center; }

.ph2-anim .card { border:0 !important; box-shadow:none !important; padding:0 !important; margin:0 !important; background:transparent !important; }
.ph2-anim .card .hd { display:none; }
.ph2-anim .ctl .pdemo, .ph2-anim .ctl .slow, .ph2-anim .ctl .play[disabled] { display:none; }
.ph2-vid { position:relative; border-radius:12px; overflow:hidden; background:var(--p2-x111); aspect-ratio:640/306; width:100%; cursor:pointer; margin-top:8px; }
.ph2-vid video { width:100%; height:100%; display:block; object-fit:contain; }  
.ph2-vid .ph2-cap { position:absolute; left:8px; top:6px; font-size:12px; color:var(--p2-xfff); background:rgba(0,0,0,.45); padding:1px 8px; border-radius:999px; }
.ph2-v3d { position:relative; border-radius:12px; overflow:hidden; background:var(--p2-x111); width:100%; margin-top:8px; }  
.ph2-panel:not(.ph2-is3d) .ph2-v3d { display:none; }            
.ph2-panel.ph2-is3d .ph2-anim .pans { display:none; }
.ph2-views { display:flex; gap:6px; align-items:center; margin:8px 0 2px; flex-wrap:wrap; }
.ph2-views .ph2-vt { border:1px solid var(--color-border, rgba(0,0,0,.15)); background:transparent; border-radius:999px; padding:2px 14px; font-size:13px; font-weight:600; cursor:pointer; color:inherit; }
.ph2-views .ph2-vt.ph2-on { background:var(--color-primary, rgba(91,79,214,1)); border-color:transparent; color:var(--p2-xfff); }
.ph2-views .ph2-vreal { margin-left:auto; }
.ph2-v3d video { width:100%; height:auto; display:block; }
.ph2-v3d .ph2-cap { position:absolute; left:8px; top:6px; z-index:1; font-size:12px; color:var(--p2-xfff); background:rgba(0,0,0,.45); padding:1px 8px; border-radius:999px; pointer-events:none; }
.ph2-vid .ph2-re { position:absolute; right:8px; bottom:6px; font-size:12px; color:var(--p2-xfff); background:rgba(0,0,0,.45); padding:1px 8px; border-radius:999px; }
.ph2-key { margin-top:8px; font-size:15px; color:var(--p2-x27304a); }
.ph2-kl { display:inline-block; font-size:12px; font-weight:700; color:var(--p2-x92400e); background:var(--p2-xfef3c7); border-radius:6px; padding:0 6px; margin-right:6px; }
.ph2-more { margin-top:6px; }
.ph2-more summary { cursor:pointer; color:var(--p2-acc); font-size:13px; }
.ph2-more p { margin:6px 0; font-size:14px; color:var(--p2-x374151); }
.ph2-tl { display:inline-block; min-width:3.4em; font-size:12px; color:var(--p2-sub); }
.ph2-empty { color:var(--p2-sub); font-size:14px; padding:16px; text-align:center; border:1px dashed var(--p2-line); border-radius:14px; }

.ph2-sheet { position:absolute; left:0; right:0; bottom:0; height:58%; z-index:5; margin:0; background:var(--p2-xfff); box-shadow:0 -10px 30px rgba(0,0,0,.18);
  border-radius:18px 18px 0 0; overflow:auto; padding:0 12px 12px; transition:transform .25s ease; overscroll-behavior:contain; }
.ph2-sheet.ph2-closed { transform:translateY(105%); box-shadow:none; }
.ph2-sheet .ph2-panel { border:0; padding:4px 2px; }
.ph2-shd { position:sticky; top:0; z-index:3; background:var(--p2-xfff); padding:6px 44px 8px 0; margin:0 -2px 4px; border-bottom:1px solid var(--p2-xf1f2f6); touch-action:none; }
.ph2-grab { width:44px; height:5px; border-radius:9px; background:var(--p2-xd4d6df); margin:0 auto 8px; transform:translateX(22px); }
.ph2-strip { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; padding:1px 2px 2px; touch-action:pan-x; }
.ph2-strip::-webkit-scrollbar { display:none; }
.ph2-chip { font:inherit; flex:0 0 auto; min-width:44px; height:46px; border-radius:10px; border:2px solid transparent; background:var(--p2-xf3f4f8);
  display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1.05; padding:2px 6px; cursor:pointer; }
.ph2-chip .ph2-g { font-size:16px; font-weight:800; }
.ph2-chip .ph2-p { font-size:11px; }
.ph2-chip.ph2-v .ph2-g, .ph2-chip.ph2-v .ph2-p { color:var(--p2-vow); }
.ph2-chip.ph2-c .ph2-g, .ph2-chip.ph2-c .ph2-p { color:var(--p2-con); }
.ph2-chip.ph2-s .ph2-g, .ph2-chip.ph2-s .ph2-p { color:var(--p2-xc3c7d2); }
.ph2-chip.ph2-sel { border-color:var(--p2-sel); background:var(--p2-xfff7e6); }
.ph2-chip.ph2-lit { background:var(--p2-xfde7b8); }
.ph2-x { position:sticky; float:right; margin:-50px -4px 0 0; z-index:4; width:40px; height:40px; border-radius:50%; border:0; background:var(--p2-xf1f2f6); font-size:18px; cursor:pointer; }

.ph2-tabs { display:flex; gap:4px; background:var(--p2-xf3f4f8); border-radius:12px; padding:4px; margin:0 0 10px; }
.ph2-tab { flex:1 1 0; border:0; background:transparent; font:inherit; font-size:15px; font-weight:700; padding:9px 0; border-radius:9px; color:var(--p2-sub); cursor:pointer; }
.ph2-tab.ph2-on { background:var(--p2-acc); color:var(--p2-xfff); box-shadow:0 2px 8px rgba(0,0,0,.18); }
.ph2-cols .ph2-tabs { display:none; }
.ph2-sheet.ph2-full { top:0; height:auto; border-radius:0; box-shadow:none; }
.ph2-sheet.ph2-full .ph2-shd { padding:8px 0; }
.ph2-coach { position:relative; }
.ph2-coach::after { content:""; position:absolute; inset:-5px; border-radius:14px; border:2px solid var(--p2-sel); pointer-events:none; animation:ph2cbr 1.4s ease-in-out infinite; }
@keyframes ph2cbr { 0%,100% { opacity:.25; transform:scale(1); } 50% { opacity:1; transform:scale(1.05); } }
.ph2-cbub { position:absolute; z-index:8; max-width:240px; background:var(--p2-xfff7e6); color:var(--p2-x374151); font-size:13px; line-height:1.5; padding:8px 10px; border-radius:10px; box-shadow:0 6px 20px rgba(0,0,0,.28); }
.ph2-cbub .ph2-cx { float:right; margin-left:8px; border:0; background:transparent; font:inherit; font-weight:700; color:var(--p2-acc); cursor:pointer; padding:0; }



.dict-pron-head { display: flex; align-items: center; gap: 8px; padding: 2px 2px 8px; }

.dict-pron-head .dict-phonics-teach { flex: 0 0 auto; margin: 0; padding: 5px 12px; }
.dict-pron-back { cursor: pointer; font-size: .85em; color: var(--color-gray-500);
    padding: 4px 10px; border-radius: 8px; background: var(--color-gray-100); }
.dict-pron-back:active { opacity: .6; }

.ph-ipa-ph.ph-has-video { position: relative; }
.ph-ipa-ph.ph-has-video::after { content: '🎬'; position: absolute; top: -0.55em; right: -0.5em;
    font-size: 0.5em; opacity: .55; pointer-events: none; }


body.profile-chapter-book {
    --cb-spk0: var(--color-gray-400);                       
    --cb-spk1:#7C3AED; --cb-spk2:#0891B2; --cb-spk3:#C2410C; --cb-spk4:#15803D;
    --cb-spk5:#BE123C; --cb-spk6:#4338CA; --cb-spk7:#A16207; --cb-spk8:#0F766E;
}
body.profile-chapter-book.cb-night-mode {
    --cb-spk0: var(--color-gray-500);
    --cb-spk1:#A78BFA; --cb-spk2:#22D3EE; --cb-spk3:#FB923C; --cb-spk4:#4ADE80;
    --cb-spk5:#FB7185; --cb-spk6:#818CF8; --cb-spk7:#FBBF24; --cb-spk8:#2DD4BF;
}

body.profile-chapter-book .srt-block[data-speaker-slot="0"]{ --cb-spk: var(--cb-spk0); }
body.profile-chapter-book .srt-block[data-speaker-slot="1"]{ --cb-spk: var(--cb-spk1); }
body.profile-chapter-book .srt-block[data-speaker-slot="2"]{ --cb-spk: var(--cb-spk2); }
body.profile-chapter-book .srt-block[data-speaker-slot="3"]{ --cb-spk: var(--cb-spk3); }
body.profile-chapter-book .srt-block[data-speaker-slot="4"]{ --cb-spk: var(--cb-spk4); }
body.profile-chapter-book .srt-block[data-speaker-slot="5"]{ --cb-spk: var(--cb-spk5); }
body.profile-chapter-book .srt-block[data-speaker-slot="6"]{ --cb-spk: var(--cb-spk6); }
body.profile-chapter-book .srt-block[data-speaker-slot="7"]{ --cb-spk: var(--cb-spk7); }
body.profile-chapter-book .srt-block[data-speaker-slot="8"]{ --cb-spk: var(--cb-spk8); }


body.profile-chapter-book .srt-block[data-speaker] {
    box-shadow: inset 3px 0 0 var(--cb-spk, transparent) !important;
}


body.profile-chapter-book .cb-speaker-chip {
    display: inline-block;
    background: var(--cb-spk, #9CA3AF);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    margin-left: 6px;
}
body.profile-chapter-book.cb-night-mode .cb-speaker-chip { color: #12151C; }


body.profile-chapter-book .srt-block[data-speaker-slot="0"] .cb-speaker-chip {
    background: rgba(156, 163, 175, 0.16);
    color: var(--color-gray-500);
    font-weight: 500;
}
body.profile-chapter-book .srt-block[data-speaker-slot="0"] {
    box-shadow: inset 2px 0 0 rgba(156, 163, 175, 0.45) !important;
}
body.profile-chapter-book.cb-night-mode .srt-block[data-speaker-slot="0"] .cb-speaker-chip {
    background: rgba(156, 163, 175, 0.20);
    color: var(--color-gray-400);
}
body.profile-chapter-book.cb-night-mode .srt-block[data-speaker-slot="0"] {
    box-shadow: inset 2px 0 0 rgba(156, 163, 175, 0.35) !important;
}




body.profile-textbook #study-plan-view.active { padding-top: 12px !important; }


#toast, #toast.show { pointer-events: none !important; }


.cinema-controls.cinema-controls-compact { flex-wrap: wrap; }
.cinema-controls.cinema-controls-compact .cinema-ctrl-row-main { flex: 0 0 auto; margin-left: auto; }
.cinema-controls.cinema-controls-compact .cinema-ctrl-row-progress { flex: 1 1 220px; min-width: 200px; }


@media (min-width: 481px) {
html body.cinema-embed-active:not([class*="profile-chapter"]):not([class~="profile-textbook"]) .cinema-controls.cinema-controls-compact,
html body.v96-cinema-fullscreen:not([class*="profile-chapter"]):not([class~="profile-textbook"]) .cinema-controls.cinema-controls-compact { flex-wrap: wrap !important; }
}


.jt-popup .yj-pv-stage,
.jt-popup .yj-pv-mini,
.jt-popup .yj-pv-lp {
    --pv-link: var(--color-primary-500); --pv-link-bg: rgba(99, 102, 241, 0.10);
    --pv-intr: var(--color-info); --pv-intr-bg: rgba(6, 182, 212, 0.12);
    --pv-fusion: rgba(219, 39, 119, 1); --pv-fusion-bg: rgba(219, 39, 119, 0.10);
    --pv-assim: var(--color-warning); --pv-assim-bg: rgba(245, 158, 11, 0.14);
    --pv-weak: var(--color-gray-400); --pv-flap: var(--color-success); --pv-drop: var(--color-danger);
    --pv-drop-txt: var(--color-gray-400); --pv-silent: var(--color-gray-300);
    --pv-tone: var(--color-primary-500); --pv-sub: var(--color-primary-600); --pv-on: rgba(99, 102, 241, 0.18);
}
.jt-popup .yj-pv-stage {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 5px;
    padding: 12px 10px; border-radius: 12px; background: var(--jt-chip-bg); line-height: 1.25;
}
.jt-popup.jt-skin-cinema .yj-pv-stage,
.jt-popup.jt-skin-cinema .yj-pv-mini,
.jt-popup.jt-skin-cinema .yj-pv-lp {
    --pv-link: var(--color-primary-300); --pv-link-bg: rgba(129, 140, 248, 0.16);
    --pv-intr: rgba(103, 232, 249, 1); --pv-intr-bg: rgba(103, 232, 249, 0.14);
    --pv-fusion: rgba(244, 114, 182, 1); --pv-fusion-bg: rgba(244, 114, 182, 0.14);
    --pv-assim: rgba(252, 211, 77, 1); --pv-assim-bg: rgba(252, 211, 77, 0.14);
    --pv-weak: var(--color-gray-400); --pv-flap: rgba(74, 222, 128, 1); --pv-drop: rgba(248, 113, 113, 1);
    --pv-drop-txt: var(--color-gray-500); --pv-silent: var(--color-gray-600);
    --pv-tone: var(--color-primary-300); --pv-sub: var(--color-primary-200); --pv-on: rgba(129, 140, 248, 0.26);
}
.jt-popup .yj-pv-tok { display: inline-flex; flex-direction: column; align-items: center; border-radius: 6px; padding: 0 1px; }
.jt-popup .yj-pv-sub, .jt-popup .yj-pv-gsub { font-size: 0.62em; line-height: 1; min-height: 1em; margin-bottom: 3px; color: var(--pv-sub); white-space: nowrap; }
.jt-popup .yj-pv-txt, .jt-popup .yj-pv-punct { font-family: var(--jt-en-font); font-size: 1.15em; color: var(--jt-text); }
.jt-popup .yj-pv-punct { color: var(--jt-punct); }
.jt-popup .yj-pv-weak .yj-pv-txt { color: var(--pv-weak); font-style: italic; }
.jt-popup .yj-pv-glue { display: inline-flex; align-items: flex-end; }
.jt-popup .yj-pv-drop { color: var(--pv-drop-txt); text-decoration: line-through; text-decoration-thickness: 2.5px; text-decoration-color: var(--pv-drop); text-decoration-skip-ink: none; }
.jt-popup .yj-pv-flap { text-decoration: underline wavy; text-decoration-thickness: 1.6px; text-decoration-color: var(--pv-flap); text-underline-offset: 3px; text-decoration-skip-ink: none; }
.jt-popup .yj-pv-silent { color: var(--pv-silent); text-decoration: none; }
.jt-popup .yj-pv-grp { display: inline-flex; flex-direction: column; align-items: center; cursor: pointer; }
.jt-popup .yj-pv-gbody { display: inline-flex; align-items: flex-end; gap: 1px; padding: 0 4px 2px; border-radius: 7px; }
.jt-popup .yj-pv-link .yj-pv-gbody { background: var(--pv-link-bg); box-shadow: inset 0 -2px 0 var(--pv-link); }
.jt-popup .yj-pv-intr .yj-pv-gbody { background: var(--pv-intr-bg); box-shadow: inset 0 -2px 0 var(--pv-intr); }
.jt-popup .yj-pv-yod .yj-pv-gbody { background: var(--pv-fusion-bg); box-shadow: inset 0 -2px 0 var(--pv-fusion); }
.jt-popup .yj-pv-assim .yj-pv-gbody { background: var(--pv-assim-bg); box-shadow: inset 0 -2px 0 var(--pv-assim); }
.jt-popup .yj-pv-grp.yj-pv-minor .yj-pv-gbody { background: transparent; box-shadow: inset 0 -1px 0 var(--pv-link); }
.jt-popup .yj-pv-grp.yj-pv-minor.yj-pv-intr .yj-pv-gbody { box-shadow: inset 0 -1px 0 var(--pv-intr); }
.jt-popup .yj-pv-mk { font-size: 0.8em; line-height: 1.5; color: var(--pv-link); padding: 0 1px; }
.jt-popup .yj-pv-mk-up { transform: translateY(-0.55em); }
.jt-popup .yj-pv-intr .yj-pv-mk { color: var(--pv-intr); }
.jt-popup .yj-pv-yod .yj-pv-mk { color: var(--pv-fusion); }
.jt-popup .yj-pv-assim .yj-pv-mk { color: var(--pv-assim); }
.jt-popup .yj-pv-tone { font-size: 1.05em; color: var(--pv-tone); margin-left: 3px; }
.jt-popup .yj-pv-hit { cursor: pointer; }
.jt-popup .yj-pv-tok.yj-pv-on, .jt-popup .yj-pv-grp.yj-pv-on .yj-pv-gbody { background-color: var(--pv-on); }
.jt-popup .yj-pv-say { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    height: 52px; line-height: 26px; box-sizing: content-box; margin: 8px 0 6px; padding: 6px 10px;
    border-radius: 10px; border: 1px dashed var(--jt-border-soft); font-size: 0.8em; color: var(--jt-text-muted); }

.jt-popup .yj-pv-say .yj-pd-play { vertical-align: middle; }
.jt-popup .yj-pv-say-tag { font-weight: 700; color: var(--jt-pd-title); margin-right: 6px; }
.jt-popup .yj-pv-say-word { font-family: var(--jt-en-font); font-weight: 600; color: var(--jt-text); margin-right: 6px; }
.jt-popup .yj-pv-say-aud { color: var(--jt-text); }

.jt-popup .yj-pv-mini { display: inline-flex; align-items: flex-end; margin-right: 6px; vertical-align: bottom; font-size: 0.92em; }
.jt-popup .yj-pv-mini .yj-pv-tok { cursor: default; }
.jt-popup .yj-pv-mini-gap { display: inline-block; width: 0.35em; }
.jt-popup .yj-pv-lp { display: inline-flex; gap: 4px; margin-right: 6px; vertical-align: middle; }
.jt-popup .yj-pv-lp button { border: none; border-radius: 12px; padding: 2px 8px; font-size: 12px; line-height: 20px; cursor: pointer; background: transparent; color: var(--jt-text); box-shadow: inset 0 0 0 1px var(--jt-border); }
.jt-popup .yj-pv-lp button.on { background: var(--pv-on); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--jt-accent); }


body.profile-chapter-book .cb-jt-popup .yj-pv-stage,
body.profile-chapter-book .cb-jt-popup .yj-pv-say,
body.profile-chapter-book .cb-jt-popup .yj-pv-mini {
    --jt-chip-bg: var(--color-gray-50); --jt-text: var(--color-gray-800); --jt-text-muted: var(--color-gray-500);
    --jt-punct: var(--color-gray-400); --jt-border-soft: var(--color-gray-200); --jt-pd-title: var(--color-primary-700);
    --jt-en-font: Georgia, 'Times New Roman', serif;
}
body.profile-chapter-book .cb-jt-popup .yj-pv-stage,
body.profile-chapter-book .cb-jt-popup .yj-pv-mini,
body.profile-chapter-book .cb-jt-popup .yj-pv-lp {
    --pv-link: var(--color-primary-500); --pv-link-bg: rgba(99, 102, 241, 0.10);
    --pv-intr: var(--color-info); --pv-intr-bg: rgba(6, 182, 212, 0.12);
    --pv-fusion: rgba(219, 39, 119, 1); --pv-fusion-bg: rgba(219, 39, 119, 0.10);
    --pv-assim: var(--color-warning); --pv-assim-bg: rgba(245, 158, 11, 0.14);
    --pv-weak: var(--color-gray-400); --pv-flap: var(--color-success); --pv-drop: var(--color-danger);
    --pv-drop-txt: var(--color-gray-400); --pv-silent: var(--color-gray-300);
    --pv-tone: var(--color-primary-500); --pv-sub: var(--color-primary-600); --pv-on: rgba(99, 102, 241, 0.18);
}
body.profile-chapter-book .cb-jt-popup .yj-pv-stage {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 5px;
    padding: 12px 10px; border-radius: 12px; background: var(--jt-chip-bg); line-height: 1.25;
}
body.profile-chapter-book.cb-night-mode .cb-jt-popup .yj-pv-stage,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .yj-pv-mini,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .yj-pv-lp {
    --pv-link: var(--color-primary-300); --pv-link-bg: rgba(129, 140, 248, 0.16);
    --pv-intr: rgba(103, 232, 249, 1); --pv-intr-bg: rgba(103, 232, 249, 0.14);
    --pv-fusion: rgba(244, 114, 182, 1); --pv-fusion-bg: rgba(244, 114, 182, 0.14);
    --pv-assim: rgba(252, 211, 77, 1); --pv-assim-bg: rgba(252, 211, 77, 0.14);
    --pv-weak: var(--color-gray-400); --pv-flap: rgba(74, 222, 128, 1); --pv-drop: rgba(248, 113, 113, 1);
    --pv-drop-txt: var(--color-gray-500); --pv-silent: var(--color-gray-600);
    --pv-tone: var(--color-primary-300); --pv-sub: var(--color-primary-200); --pv-on: rgba(129, 140, 248, 0.26);
}
body.profile-chapter-book .cb-jt-popup .yj-pv-tok { display: inline-flex; flex-direction: column; align-items: center; border-radius: 6px; padding: 0 1px; }
body.profile-chapter-book .cb-jt-popup .yj-pv-sub, body.profile-chapter-book .cb-jt-popup .yj-pv-gsub { font-size: 0.62em; line-height: 1; min-height: 1em; margin-bottom: 3px; color: var(--pv-sub); white-space: nowrap; }
body.profile-chapter-book .cb-jt-popup .yj-pv-txt, body.profile-chapter-book .cb-jt-popup .yj-pv-punct { font-family: var(--jt-en-font); font-size: 1.15em; color: var(--jt-text); }
body.profile-chapter-book .cb-jt-popup .yj-pv-punct { color: var(--jt-punct); }
body.profile-chapter-book .cb-jt-popup .yj-pv-weak .yj-pv-txt { color: var(--pv-weak); font-style: italic; }
body.profile-chapter-book .cb-jt-popup .yj-pv-glue { display: inline-flex; align-items: flex-end; }
body.profile-chapter-book .cb-jt-popup .yj-pv-drop { color: var(--pv-drop-txt); text-decoration: line-through; text-decoration-thickness: 2.5px; text-decoration-color: var(--pv-drop); text-decoration-skip-ink: none; }
body.profile-chapter-book .cb-jt-popup .yj-pv-flap { text-decoration: underline wavy; text-decoration-thickness: 1.6px; text-decoration-color: var(--pv-flap); text-underline-offset: 3px; text-decoration-skip-ink: none; }
body.profile-chapter-book .cb-jt-popup .yj-pv-silent { color: var(--pv-silent); text-decoration: none; }

body.profile-chapter-book .cb-jt-popup .yj-pv-mini { display: inline-flex; align-items: flex-end; margin-right: 6px; vertical-align: bottom; font-size: 0.92em; }
body.profile-chapter-book .cb-jt-popup .yj-pv-mini .yj-pv-tok { cursor: default; }
body.profile-chapter-book .cb-jt-popup .yj-pv-mini-gap { display: inline-block; width: 0.35em; }
body.profile-chapter-book .cb-jt-popup .yj-pv-lp { display: inline-flex; gap: 4px; margin-right: 6px; vertical-align: middle; }
body.profile-chapter-book .cb-jt-popup .yj-pv-lp button { border: none; border-radius: 12px; padding: 2px 8px; font-size: 12px; line-height: 20px; cursor: pointer; background: transparent; color: var(--jt-text); box-shadow: inset 0 0 0 1px var(--jt-border-soft); }
body.profile-chapter-book .cb-jt-popup .yj-pv-lp button.on { background: var(--pv-on); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--pv-link); }
body.profile-chapter-book .cb-jt-popup .yj-pv-grp { display: inline-flex; flex-direction: column; align-items: center; cursor: pointer; }
body.profile-chapter-book .cb-jt-popup .yj-pv-gbody { display: inline-flex; align-items: flex-end; gap: 1px; padding: 0 4px 2px; border-radius: 7px; }
body.profile-chapter-book .cb-jt-popup .yj-pv-link .yj-pv-gbody { background: var(--pv-link-bg); box-shadow: inset 0 -2px 0 var(--pv-link); }
body.profile-chapter-book .cb-jt-popup .yj-pv-intr .yj-pv-gbody { background: var(--pv-intr-bg); box-shadow: inset 0 -2px 0 var(--pv-intr); }
body.profile-chapter-book .cb-jt-popup .yj-pv-yod .yj-pv-gbody { background: var(--pv-fusion-bg); box-shadow: inset 0 -2px 0 var(--pv-fusion); }
body.profile-chapter-book .cb-jt-popup .yj-pv-assim .yj-pv-gbody { background: var(--pv-assim-bg); box-shadow: inset 0 -2px 0 var(--pv-assim); }
body.profile-chapter-book .cb-jt-popup .yj-pv-grp.yj-pv-minor .yj-pv-gbody { background: transparent; box-shadow: inset 0 -1px 0 var(--pv-link); }
body.profile-chapter-book .cb-jt-popup .yj-pv-grp.yj-pv-minor.yj-pv-intr .yj-pv-gbody { box-shadow: inset 0 -1px 0 var(--pv-intr); }
body.profile-chapter-book .cb-jt-popup .yj-pv-mk { font-size: 0.8em; line-height: 1.5; color: var(--pv-link); padding: 0 1px; }
body.profile-chapter-book .cb-jt-popup .yj-pv-mk-up { transform: translateY(-0.55em); }
body.profile-chapter-book .cb-jt-popup .yj-pv-intr .yj-pv-mk { color: var(--pv-intr); }
body.profile-chapter-book .cb-jt-popup .yj-pv-yod .yj-pv-mk { color: var(--pv-fusion); }
body.profile-chapter-book .cb-jt-popup .yj-pv-assim .yj-pv-mk { color: var(--pv-assim); }
body.profile-chapter-book .cb-jt-popup .yj-pv-tone { font-size: 1.05em; color: var(--pv-tone); margin-left: 3px; }
body.profile-chapter-book .cb-jt-popup .yj-pv-hit { cursor: pointer; }
body.profile-chapter-book .cb-jt-popup .yj-pv-tok.yj-pv-on, body.profile-chapter-book .cb-jt-popup .yj-pv-grp.yj-pv-on .yj-pv-gbody { background-color: var(--pv-on); }
body.profile-chapter-book .cb-jt-popup .yj-pv-say { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    height: 52px; line-height: 26px; box-sizing: content-box; margin: 8px 0 6px; padding: 6px 10px;
    border-radius: 10px; border: 1px dashed var(--jt-border-soft); font-size: 0.8em; color: var(--jt-text-muted); }
body.profile-chapter-book .cb-jt-popup .yj-pv-say .yj-pd-play { vertical-align: middle; }
body.profile-chapter-book .cb-jt-popup .yj-pv-say-tag { font-weight: 700; color: var(--jt-pd-title); margin-right: 6px; }
body.profile-chapter-book .cb-jt-popup .yj-pv-say-word { font-family: var(--jt-en-font); font-weight: 600; color: var(--jt-text); margin-right: 6px; }
body.profile-chapter-book .cb-jt-popup .yj-pv-say-aud { color: var(--jt-text); }
body.profile-chapter-book.cb-night-mode .cb-jt-popup .yj-pv-stage,
body.profile-chapter-book.cb-night-mode .cb-jt-popup .yj-pv-say {
    --jt-chip-bg: rgba(255, 255, 255, 0.05); --jt-text: var(--color-gray-100); --jt-text-muted: var(--color-gray-400);
    --jt-punct: var(--color-gray-500); --jt-border-soft: rgba(255, 255, 255, 0.1); --jt-pd-title: var(--color-primary-200);
}


.dict-num-card { margin: 4px 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--color-primary-50); }
.dict-num-title { font-size: 0.9em; color: var(--color-gray-500); margin-bottom: 6px; }
.dict-num-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dict-num-w { display: inline-block; padding: 3px 10px; border-radius: 8px; font-size: 1.1em; background: var(--color-gray-50); color: var(--color-gray-600); }
.dict-num-w-on { background: var(--color-primary-200); color: var(--color-primary-700); cursor: pointer; }
.dict-num-tail { font-size: 1.1em; color: var(--color-gray-600); }
.dict-num-note { margin-top: 6px; font-size: 0.8em; color: var(--color-gray-400); }


@media (min-width: 769px) {
    html.yj-layout body .cinema-embed.v96-fullscreen { padding-bottom: var(--yj-bar, 0px) !important; }
}
@media (min-width: 769px) and (max-height: 900px) {
    html.yj-layout body .cinema-embed.v96-fullscreen .cinema-video-wrap { height: 38vh !important; }
}
html.yj-fit body .cinema-embed.v96-fullscreen .cinema-video-wrap { height: var(--yj-video-h) !important; }
html.yj-anim body .cinema-embed.v96-fullscreen .cinema-video-wrap { transition: height .25s ease; }
@media (max-width: 768px) {
    html.yj-subtools body .cinema-embed .cinema-subtitle-area > .cinema-blind-trigger-wrap,
    html.yj-subtools body .cinema-embed .cinema-subtitle-area > .v253-jingting-trigger-wrap { visibility: hidden !important; pointer-events: none !important; }
    #yj-subtools { display: flex; justify-content: space-between; align-items: center; flex: 0 0 auto; padding: 6px 10px 2px; box-sizing: border-box; width: 100%; }
    #yj-subtools button { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 14px; font-size: 12px; font-weight: 600; line-height: 1.6; cursor: pointer; color: rgba(203, 213, 225, 1); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
    #yj-subtools button.on { color: rgba(255, 248, 231, 1); background: rgba(251, 191, 36, .45); border-color: rgba(251, 191, 36, .85); }
    
    html.yj-layout body .cinema-embed .cinema-subtitle-area .cinema-sub-block.cinema-sub-block { max-height: none !important; overflow: visible !important; flex-shrink: 0 !important; }
    html.yj-layout body .cinema-embed .cinema-subtitle-area.v205-overflow.v205-overflow { justify-content: flex-start !important; }
    html.yj-layout body .cinema-embed .cinema-subtitle-area .v203-scroll-hint { height: 30px !important; pointer-events: none !important; }
}

html body .dict-credit { margin: 10px 0 2px; font-size: 11.5px; line-height: 1.5; color: var(--color-gray-400); text-align: center; }
html body .dict-credit a { color: var(--color-gray-500); text-decoration: underline; }

.dv2x-form { font-weight: 700; color: var(--color-primary-600); margin-right: 2px; }
.ph-unavail { padding: 16px 8px; text-align: center; font-size: 14px; color: var(--color-gray-500); }

.ph-noteach { padding: 14px 8px 10px; text-align: center; }
.ph-noteach-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.ph-noteach-w { font-size: 22px; color: var(--color-gray-800); }
.ph-noteach-ipa { font-size: 16px; color: var(--color-gray-600); }
.ph-noteach-play { cursor: pointer; padding: 4px 12px; border-radius: 14px; font-size: 14px; background: var(--color-gray-100); color: var(--color-gray-700); }
.ph-noteach-note { margin-top: 10px; font-size: 13.5px; color: var(--color-gray-500); }

.ph-exp-wait, .ph-exp-msg { color: var(--color-gray-500); font-size: 13.5px; }
.dict-sug-empty { padding: 10px 4px; font-size: 13.5px; color: var(--color-gray-500); }

.yj-pron-word { display: inline; padding: 0 2px; border: 0; border-bottom: 1.5px dashed currentColor; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.tl-mk-key { margin: 6px 0 10px; }
.tl-mk-btn { min-height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--color-gray-300); background: transparent; color: var(--color-gray-600); font-size: 13px; cursor: pointer; }
.tl-mk-list { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.tl-mk-list[hidden] { display: none; }
.tl-mk-row { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 8px; border-radius: 10px; border: 1px solid var(--color-gray-200); background: transparent; color: var(--color-gray-700); font-size: 13.5px; text-align: left; cursor: pointer; }
.tl-mk-g { display: inline-flex; align-items: center; min-width: 28px; }
.tl-summary[data-tl-display-mode="en"] + .tl-mk-key { display: none; }

.dv2x { margin: 10px 0 12px; padding: 10px 12px; border: 1px solid var(--color-gray-200); border-radius: 12px; text-align: left; font-size: 14px; line-height: 1.5; }
.dv2-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.dv2-h b { font-size: 14px; margin-right: auto; color: var(--color-gray-700); white-space: nowrap; }
.dv2-btn { min-height: 30px; padding: 0 9px; border-radius: 15px; border: 1px solid var(--color-gray-300); background: transparent; color: var(--color-gray-600); font-size: 12.5px; cursor: pointer; }
.dv2-btn.on { border-color: var(--color-primary-500); color: var(--color-primary-600); font-weight: 700; }
.dv2x-gh { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.dv2-no { color: var(--color-primary-600); font-weight: 700; }
.dv2-pos { color: var(--color-gray-500); font-size: 12.5px; }
.dv2x-grp { padding: 8px 0; border-top: 1px solid var(--color-gray-100); }
.dv2x-ex { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--color-gray-50); }
.dv2x-row { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.dv2x-c { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.3; }
.dv2x-c .e { font-weight: 600; color: var(--color-gray-800); }
.dv2x-c .z { font-size: 12.5px; color: var(--color-success); }
.dv2x-c.ck { border: 1.5px solid var(--color-success); border-radius: 6px; padding: 0 4px; }
.dv2x-c.hit .e { background: var(--color-warning-bg); border-radius: 3px; padding: 0 2px; }
.dv2x-zh { margin-top: 4px; color: var(--color-gray-600); font-size: 13px; }
html body .dv2x.m-dec .dv2x-c .e, html body .dv2x.m-dec .dv2x-en { visibility: hidden !important; }
html body .dv2x.m-en .dv2x-c .z, html body .dv2x.m-en .dv2x-zh { visibility: hidden !important; }

html body #dict-modal .dict-topbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px; flex-shrink: 0; }
html body #dict-modal .dict-topbar .dict-back,
html body #dict-modal .dict-topbar .dict-close { position: static; flex: none; width: 36px; height: 36px; border-radius: 18px; border: 1px solid var(--color-gray-200); background: transparent; color: var(--color-gray-500); font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center; transform: none; }
html body #dict-modal .dict-q { flex: 1; min-width: 0; height: 36px; border-radius: 18px; border: 1.5px solid var(--color-gray-200); background: var(--color-gray-50); color: var(--color-gray-800); font-size: 14px; padding: 0 14px; outline: none; -webkit-appearance: none; appearance: none; }
html body #dict-modal .dict-q:focus { border-color: var(--color-primary-500); background: transparent; }
html body #dict-modal .dict-word-header { padding-top: 2px; margin-bottom: 4px; text-align: left; padding-left: 16px; padding-right: 16px; }
html body #dict-modal .dict-head-row { display: flex; align-items: center; gap: 10px; }
html body #dict-modal .dict-word-main { flex: 1; min-width: 0; }
html body #dict-modal .dict-star { flex: none; min-height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--color-gray-300); background: transparent; color: var(--color-gray-600); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
html body #dict-modal .dict-star.on { border-color: var(--color-warning); color: var(--color-warning); }
html body #dict-modal .dict-orig { font-size: 12.5px; font-weight: 400; color: var(--color-gray-500); margin-top: 2px; }
html body #dict-modal #dict-content-body > .dict-phonetic { flex-shrink: 0; padding: 0 16px; margin: 4px 0 2px; align-items: center; }
html body #dict-modal #dict-content-body > .dict-phonetic .dict-speaker { flex: 0 1 auto; min-height: 34px; padding: 0 12px; border-radius: 17px; }
html body #dict-modal .dict-g { flex: none; min-height: 34px; padding: 0 12px; border-radius: 17px; border: 1px solid var(--color-gray-200); background: transparent; color: var(--color-gray-500); font-size: 13px; cursor: pointer; }
html body #dict-modal #dict-content-body > .dict-tabbar-row { margin-top: 8px; }
html body #dict-modal .dict-web { margin-top: 18px; font-size: 12.5px; color: var(--color-gray-500); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
html body #dict-modal .dict-web a { color: var(--color-primary-600); text-decoration: none; }
html body #dict-modal .dict-web-sel { font-size: 12.5px; color: var(--color-gray-500); border: 1px solid var(--color-gray-200); border-radius: 8px; background: transparent; padding: 2px 4px; }
@keyframes dictSheetUp { from { transform: translateY(40%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 768px) {
    html body #dict-modal.dict-modal { align-items: flex-end !important; justify-content: center !important; }
    html body #dict-modal > .dict-content { width: 100% !important; max-width: 100% !important; height: 85vh !important; max-height: 85vh !important; margin: 0 !important; border-radius: 18px 18px 0 0 !important; animation: dictSheetUp 0.22s ease-out !important; }
    @supports (height: 100dvh) {
        html body #dict-modal > .dict-content { height: 85dvh !important; max-height: 85dvh !important; }
    }
}
@media (prefers-reduced-motion: reduce) {
    html body #dict-modal > .dict-content { animation: none !important; }
}

html body #dict-modal .dict-sug { display: none; flex: 1; min-height: 0; overflow-y: auto; padding: 0 12px 16px; text-align: left; }
html body #dict-modal #dict-content-body.dict-typing > .dict-sug { display: block; }
html body #dict-modal #dict-content-body.dict-typing > :not(.dict-topbar):not(.dict-sug) { display: none !important; }
html body #dict-modal .dict-sug-h { font-size: 12px; color: var(--color-gray-500); padding: 10px 6px 4px; }
html body #dict-modal .dict-sug-it { display: flex; align-items: baseline; gap: 8px; width: 100%; min-height: 44px; padding: 8px 6px; border: 0; border-bottom: 1px solid var(--color-gray-100); background: transparent; text-align: left; cursor: pointer; }
html body #dict-modal .dict-sug-it:hover { background: var(--color-gray-50); }
html body #dict-modal .dict-sug-w { flex: none; font-weight: 700; font-size: 15px; color: var(--color-gray-800); }
html body #dict-modal .dict-sug-ph { flex: none; font-size: 12.5px; color: var(--color-gray-500); }
html body #dict-modal .dict-sug-cn { flex: 1; min-width: 0; font-size: 13px; color: var(--color-gray-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

html body #dict-modal .dict-def-box { text-align: left; margin: 4px 0 8px; font-size: 15px; line-height: 1.6; color: var(--color-gray-800); }
html body #dict-modal .dict-def-line { padding: 2px 0; }
html body #dict-modal .dict-def-pos { display: inline-block; min-width: 2.6em; margin-right: 6px; font-weight: 700; color: var(--color-gray-500); font-size: 13px; }
html body #dict-modal .dict-def-box:not(.open) .dict-def-x { display: none !important; }
html body #dict-modal .dict-def-more { display: inline-block; margin: 4px 0 0; min-height: 30px; padding: 2px 12px; border: 0; border-radius: 999px; font-size: 12.5px; cursor: pointer; color: var(--color-primary-600); background: var(--color-primary-50); }
html body #dict-modal .dict-v2-go { display: block; width: 100%; margin: 6px 0 10px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--color-primary-200); border-radius: 10px; background: var(--color-primary-50); color: var(--color-primary-700); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
html body #dict-modal .dict-ee { margin: 4px 0 10px; text-align: left; }
html body #dict-modal .dict-ee > summary { cursor: pointer; color: var(--color-gray-500); font-size: 13px; padding: 6px 0; }
html body #dict-modal .dict-ee-line { padding: 2px 0; font-size: 13.5px; color: var(--color-gray-700); font-style: italic; }
html body #dict-modal .dv2x-brief { font-weight: 600; color: var(--color-gray-800); }
html body #dict-modal .dv2x-det { margin: 2px 0 0; font-size: 12.5px; color: var(--color-gray-500); }

html body #dict-modal .dict-syn-g { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 8px; text-align: left; }
html body #dict-modal .dict-syn-tr { font-size: 13px; color: var(--color-gray-600); margin-right: 2px; }
html body #dict-modal .dict-syn-w { min-height: 32px; padding: 2px 10px; border-radius: 8px; border: 1px solid var(--color-gray-200); background: var(--color-gray-50); color: var(--color-primary-700); font-size: 14px; cursor: pointer; }
html body #dict-modal .dict-syn-w:hover { border-color: var(--color-primary-300); }
html body #dict-modal .dict-ety { text-align: left; }
html body #dict-modal .dict-ety-short { font-size: 14px; line-height: 1.6; color: var(--color-gray-700); }
html body #dict-modal .dict-ety-full { font-size: 14px; line-height: 1.6; color: var(--color-gray-700); }
html body #dict-modal .dict-ety:not(.open) .dict-ety-full { display: none !important; }
html body #dict-modal .dict-ety.open .dict-ety-short { display: none !important; }

html body #dict-modal .dict-ety-item { margin: 0 0 6px; }
html body #dict-modal .dict-ety-sense { display: inline-block; margin: 0 0 2px; font-size: 12.5px; font-weight: 600; color: var(--color-primary-700); }
html body #dict-modal .dict-ety-src { margin-top: 6px; font-size: 11.5px; color: var(--color-gray-400); }
html body #dict-modal .dict-ety-src a { color: var(--color-gray-500); text-decoration: underline; }
html body #dict-modal .dict-morph { text-align: left; }
html body #dict-modal .dict-morph-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; }
html body #dict-modal .dict-morph-p { display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 9px; border-radius: 8px; border: 1px solid var(--color-gray-200); background: var(--color-gray-50); font-size: 13.5px; color: var(--color-gray-700); }
html body #dict-modal .dict-morph-p b { color: var(--color-primary-700); font-size: 15px; }
html body #dict-modal .dict-morph-p i { font-style: normal; font-size: 11.5px; color: var(--color-gray-500); }
html body #dict-modal .dict-morph-plus { color: var(--color-gray-400); }
html body #dict-modal .dict-morph-tip { font-size: 13.5px; color: var(--color-gray-600); }
html body #dict-modal .dict-nudge { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: var(--color-warning-bg); color: var(--color-gray-800); font-size: 13.5px; line-height: 1.5; text-align: left; }

html body .timeline-card .tl-go-row { display: flex; justify-content: flex-end; margin-top: 8px; }
html body .timeline-card .tl-go-btn { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 17px; border: 1px solid var(--color-primary-200); background: var(--color-primary-50); color: var(--color-primary-700); font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
html body .timeline-card .tl-go-btn:hover { border-color: var(--color-primary-500); }
html body .srt-block.yj-go-flash { background: var(--color-warning-bg) !important; transition: background 0.4s ease; }
html body .yj-go-back.global-isolated-component { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9998; min-height: 40px; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--color-gray-200); background: var(--color-gray-50); color: var(--color-gray-800); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-md); cursor: pointer; }

html body #dict-modal .dict-en-w { cursor: pointer; border-radius: 3px; }
html body #dict-modal .dict-en-w:hover { background: var(--color-primary-50); color: var(--color-primary-700); }

html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair.yj-cov-on .wp-en,
html body .cinema-embed .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .phrase-pair.yj-cov-on .wp-en,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .word-pair.yj-cov-on .wp-en,
html body .cinema-subtitle-area.cinema-mode-4 .cinema-sub-block .cinema-row-en .phrase-pair.yj-cov-on .wp-en {
    opacity: 1 !important; visibility: visible !important; filter: none !important; -webkit-filter: none !important; color: var(--color-warning) !important; -webkit-text-fill-color: var(--color-warning) !important; }
html body.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block:not(.cb-peeked) .row-interlinear .word-pair.yj-cov-on .wp-en:not(.wp-punct),
html body.cb-disp-decode:not(.cinema-embed-active) .view-container[id^="session-"] .srt-block:not(.cb-peeked) .row-interlinear .phrase-pair.yj-cov-on .wp-en:not(.wp-punct) {
    visibility: visible !important; opacity: 1 !important; background: var(--color-warning-bg); border-radius: 4px; }
html body .row-interlinear .word-pair.yj-cov-on .wp-en,
html body .row-interlinear .phrase-pair.yj-cov-on .wp-en {
    filter: none !important; -webkit-filter: none !important; color: var(--color-gray-800) !important; -webkit-text-fill-color: var(--color-gray-800) !important; background: var(--color-warning-bg); border-radius: 4px; }

html body .yj-cov-all-btn.global-isolated-component { display: none; }
@media (max-width: 768px) {
    html body:is(.stage-4-recite, .stage-5-recite, .stage-6-recite, .stage-7-recite):not(.cinema-embed-active):not(.study-plan-active, .catalog-active, .review-center-active, .fav-active, .library-active, .history-active, .dj-active, .oral-active, .ear-active) .yj-cov-all-btn.global-isolated-component {
        display: inline-flex; position: fixed; left: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 9990; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--color-gray-200); background: var(--color-gray-50); color: var(--color-gray-800); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-md); cursor: pointer; }
}

html body .cb-jt-header .cb-jt-en { font-size: 0.74em; font-weight: 600; padding: 5px 9px; border-radius: 12px; cursor: pointer; white-space: nowrap; line-height: 1.3; background: var(--color-gray-50); border: 1px solid var(--color-primary-200); color: var(--color-primary-600); }
html body .cb-jt-header .cb-jt-en.active { background: var(--color-primary-500); border-color: var(--color-primary-500); color: var(--color-gray-50); }
html body .jt-hide-en .cb-jt-bilingual .wp-en:not(.wp-punct) { color: transparent !important; -webkit-text-fill-color: transparent !important; text-shadow: none !important; }
html body .jt-hide-en .cb-jt-bilingual .word-pair.yj-cov-on .wp-en,
html body .jt-hide-en .cb-jt-bilingual .phrase-pair.yj-cov-on .wp-en { color: var(--color-warning) !important; -webkit-text-fill-color: var(--color-warning) !important; }
