html, body {
    box-sizing: border-box !important;
}

body {
    background: radial-gradient(circle at 50% 30%, #1e291f 0%, #0f110f 70%, #070807 100%) no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-panel {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    box-sizing: border-box;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #4CAF50;
    letter-spacing: 1px;
    cursor: pointer;
    user-select: none;
}

.nav-button {
    background-color: #141714;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #252a25;
    transition: all 0.25s ease;
    cursor: pointer;
    outline: none;
}

.nav-button:hover {
    background-color: #4CAF50;
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.screen-layout {
    display: none; 
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 30px;
}

.screen-layout.active {
    display: grid; 
}

#landing-screen {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
}

.promo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.promo-container h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
    background: linear-gradient(to right, #ffffff, #a3e2a7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-container p {
    color: #b0b5b0;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 35px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.feature-card {
    background-color: rgba(20, 23, 20, 0.6);
    border: 1px solid #232a23;
    padding: 22px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #4CAF50;
    background-color: rgba(25, 35, 26, 0.8);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.1);
}

.feature-card-wide {
    grid-column: 1 / -1;
}

.feature-icon { font-size: 26px; margin-bottom: 10px; display: block; }
.feature-title { font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 6px; }
.feature-desc { font-size: 12.5px; color: #8a928a; line-height: 1.4; }
.feature-note { font-size: 11px; color: #ffb74d; line-height: 1.4; margin-top: 8px; }

.showcase-right-panel {
    background-color: rgba(20, 23, 20, 0.4);
    border: 1px solid #232a23;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat-box { margin: 20px 0; }
.stat-number { font-size: 36px; font-weight: 800; color: #4CAF50; }
.stat-label { font-size: 14px; color: #8a928a; margin-top: 5px; }

#workspace-screen {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.workspace-left-box {
    padding: 40px 30px;
    border: 1px solid #232a23;
    border-radius: 20px;
    background-color: rgba(20, 23, 20, 0.8);
    box-shadow: 0 15px 45px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.panel-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 20px; }

.source-type-selector {
    display: flex;
    background-color: #0d0f0d;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #232a23;
    margin-bottom: 20px;
}

.selector-label {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    color: #8a928a;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

input[type="radio"] { display: none; }
input[type="radio"]:checked + .selector-label { background-color: #4CAF50; color: white; }
.url-input-field { width: 100%; padding: 14px 20px; box-sizing: border-box; border: 2px solid #232a23; border-radius: 10px; background-color: #0d0f0d; color: #fff; font-size: 15px; outline: none; margin-bottom: 15px; }
.url-input-field:focus { border-color: #4CAF50; }
.file-upload-wrapper { display: none; background-color: #0d0f0d; border: 2px dashed #384539; padding: 45px 20px; border-radius: 12px; margin-bottom: 15px; cursor: pointer; position: relative; text-align: center; }
.file-upload-wrapper:hover { border-color: #4CAF50; background-color: #121a13; }
.hidden-file-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.summarize-button { width: 100%; background-color: #4CAF50; color: white; padding: 15px; border: none; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 700; transition: all 0.25s; }
.summarize-button:hover { background-color: #45a049; box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3); }
.workspace-right-box { padding: 40px 30px; border: 1px solid #232a23; border-radius: 20px; background-color: rgba(13, 15, 13, 0.9); box-shadow: 0 15px 45px rgba(0,0,0,0.5); display: flex; flex-direction: column; text-align: left; }
.output-container { padding: 10px 5px; max-height: 400px; overflow-y: auto; text-align: justify; line-height: 1.6; }
.output-title {
    color: #81C784;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid #232a23;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    gap: 15px;
}

.output-title span {
    white-space: nowrap;
}
.download-mp3-btn { background-color: #1c261e; border: 1px solid #2d3d2f; }
.download-mp3-btn:hover { background-color: #2e7d32; border-color: #2e7d32; box-shadow: 0 2px 8px rgba(46, 125, 50, 0.4); }

.loading-spinner { display: inline-block; width: 32px; height: 32px; border: 3px solid rgba(255,255,255,0.1); border-radius: 50%; border-top-color: #4CAF50; animation: spin 1s linear infinite; margin-bottom: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 0; }
#summary-display ul, #history-display ul { padding-left: 20px; margin: 10px 0; }
#summary-display li, #history-display li { margin-bottom: 8px; }

#history-screen { grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.history-left-panel { padding: 30px 20px; border: 1px solid #232a23; border-radius: 20px; background-color: rgba(20, 23, 20, 0.8); box-shadow: 0 15px 45px rgba(0,0,0,0.4); display: flex; flex-direction: column; text-align: left; }
.history-scroll-area { max-height: 500px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 5px; }
.history-item { background-color: #0d0f0d; border: 1px solid #1e241e; padding: 14px 18px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: all 0.2s; }
.history-item:hover, .history-item.selected { border-color: #4CAF50; background-color: #161f17; box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15); }
.history-meta { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 75%; }
.history-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    display: inline-block;
}
.history-type { font-size: 11px; color: #666; margin-top: 4px; }
.history-badge { background-color: #1c221d; color: #4CAF50; font-size: 10.5px; padding: 4px 8px; border-radius: 6px; font-weight: bold; }
.history-right-panel { padding: 40px 30px; border: 1px solid #232a23; border-radius: 20px; background-color: rgba(13, 15, 13, 0.95); box-shadow: 0 15px 45px rgba(0,0,0,0.5); display: flex; flex-direction: column; text-align: left; }
.history-output-container { padding: 10px 5px; max-height: 480px; overflow-y: auto; text-align: justify; line-height: 1.6; }

.studio-cinema-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #050705 !important;
    border: 3px solid #a252ff !important;
    border-radius: 28px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 40px 90px rgba(0,0,0,0.8), 0 0 50px rgba(162, 82, 255, 0.15) !important;
    overflow: hidden;
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    height: 70vh !important;
    min-height: 550px !important;
    position: relative;
}

.studio-cinema-video-text-wrapper {
    position: relative;
    z-index: 10;
    max-width: 85%;
    margin: 0 auto;
    text-align: center;
}

#studio-video-main-text {
    font-size: 28px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.9);
    transition: all 0.4s ease;
}

.studio-bg-theme-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    font-size: 420px;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    line-height: 1;
}

.studio-cinema-stage.bg-theme-history {
    background-color: #0f0a04 !important;
    border-color: #ff9800 !important;
    box-shadow: 0 40px 90px rgba(0,0,0,0.8), 0 0 50px rgba(255, 152, 0, 0.25) !important;
}
.studio-cinema-stage.bg-theme-history .studio-bg-theme-icon { opacity: 0.14; color: #ff9800; filter: blur(2px) drop-shadow(0 0 40px rgba(255, 152, 0, 0.5)); }

.studio-cinema-stage.bg-theme-tech {
    background-color: #020612 !important;
    border-color: #00bcd4 !important;
    box-shadow: 0 40px 90px rgba(0,0,0,0.8), 0 0 50px rgba(0, 188, 212, 0.3) !important;
}
.studio-cinema-stage.bg-theme-tech .studio-bg-theme-icon { opacity: 0.16; color: #00bcd4; filter: blur(2px) drop-shadow(0 0 40px rgba(0, 188, 212, 0.6)); }

.studio-cinema-stage.bg-theme-edu {
    background-color: #020a04 !important;
    border-color: #4CAF50 !important;
    box-shadow: 0 40px 90px rgba(0,0,0,0.8), 0 0 50px rgba(76, 175, 80, 0.3) !important;
}
.studio-cinema-stage.bg-theme-edu .studio-bg-theme-icon { opacity: 0.16; color: #4CAF50; filter: blur(2px) drop-shadow(0 0 40px rgba(76, 175, 80, 0.6)); }

.studio-cinema-stage.bg-theme-default {
    background-color: #06040f !important;
    border-color: #9c27b0 !important;
    box-shadow: 0 40px 90px rgba(0,0,0,0.8), 0 0 50px rgba(156, 39, 176, 0.25) !important;
}
.studio-cinema-stage.bg-theme-default .studio-bg-theme-icon { opacity: 0.14; color: #9c27b0; filter: blur(2px) drop-shadow(0 0 40px rgba(156, 39, 176, 0.5)); }

.studio-neon-highlight {
    background: transparent;
    padding: 0 4px;
    font-weight: 900;
    text-shadow: 0 0 20px currentColor;
}
.bg-theme-history .studio-neon-highlight { color: #ffb74d; border-bottom: 3px solid #ff9800; }
.bg-theme-tech .studio-neon-highlight { color: #80deea; border-bottom: 3px solid #00bcd4; }
.bg-theme-edu .studio-neon-highlight { color: #a5d6a7; border-bottom: 3px solid #4CAF50; }
.bg-theme-default .studio-neon-highlight { color: #e1bee7; border-bottom: 3px solid #9c27b0; }

.studio-horizontal-widget {
    background: rgba(13, 15, 13, 0.95);
    border: 1px solid #232a23;
    border-radius: 15px;
    padding: 10px 15px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.horizontal-scroll-wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.horizontal-scroll-wrapper::-webkit-scrollbar { height: 6px; }
.horizontal-scroll-wrapper::-webkit-scrollbar-track { background: #0d0f0d; border-radius: 10px; }
.horizontal-scroll-wrapper::-webkit-scrollbar-thumb { background: #232a23; border-radius: 10px; }
.horizontal-scroll-wrapper::-webkit-scrollbar-thumb:hover { background: #4CAF50; }

.timeline-horizontal-node {
    min-width: 200px;
    flex-shrink: 0;
    background: #090a09;
    border: 1px solid #1e241e;
    border-top: 3px solid #4CAF50;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}
.timeline-horizontal-node:hover { transform: translateY(-3px); border-color: #4CAF50; }
.timeline-time { color: #81C784; font-size: 11px; font-weight: 800; margin-bottom: 4px; }
.timeline-title { color: #fff; font-size: 13px; font-weight: 700; margin: 0; }

.mindmap-horizontal-node {
    min-width: 220px;
    flex-shrink: 0;
    background: #090a09;
    border: 1px solid #1e241e;
    border-bottom: 3px solid #a252ff;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}
.mindmap-horizontal-node:hover { transform: translateY(-3px); border-color: #a252ff; }
.mindmap-concept { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.mindmap-concept::before { content: '🎯'; font-size: 12px; }
.mindmap-details { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.mindmap-details li { color: #aaa; font-size: 11.5px; padding-left: 12px; position: relative; }
.mindmap-details li::before { content: '↳'; position: absolute; left: 0; top: 0; color: #a252ff; font-weight: bold; }

.studio-horizontal-layout-container {
    display: flex;
    flex-direction: column;
    gap: 12px !important;
    margin-top: 5px !important;
}

.detailed-report-section {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px dashed #2d3d2f;
}

.detailed-section-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detailed-timeline-item {
    margin-bottom: 15px;
    padding-left: 18px;
    border-left: 2px solid #2ea043;
}
.detailed-time-badge { color: #81C784; font-weight: 900; font-size: 13px; letter-spacing: 0.5px; }
.detailed-timeline-title { color: #fff; font-weight: 700; margin: 4px 0; font-size: 15px; }
.detailed-timeline-desc { color: #aaa; font-size: 13.5px; line-height: 1.6; margin: 0; }

.detailed-mindmap-item {
    margin-bottom: 20px;
    background: rgba(20, 25, 20, 0.4);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 3px solid #a252ff;
}
.detailed-mindmap-concept { color: #d1c4e9; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.detailed-mindmap-list { list-style-type: none; padding: 0; margin: 0; color: #aaa; font-size: 13.5px; }
.detailed-mindmap-list li { margin-bottom: 6px; position: relative; padding-left: 15px; }
.detailed-mindmap-list li::before { content: '•'; position: absolute; left: 0; color: #a252ff; font-weight: bold; }

.studio-cinema-controls-wrapper {
    background: #0d0f0d;
    border: 1px solid #232a23;
    border-radius: 10px;
    padding: 10px 15px;
    margin-top: 10px;
}

.studio-progress-area {
    width: 100%;
    height: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 8px;
}
.studio-progress-track {
    width: 100%;
    height: 6px;
    background: #2a332a;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transition: height 0.2s;
}
.studio-progress-area:hover .studio-progress-track {
    height: 8px;
}
#studio-progress-fill {
    height: 100%;
    width: 0%;
    background: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
    transition: width 0.1s linear;
}

.studio-control-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.control-group-left, .control-group-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.studio-icon-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.studio-icon-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: scale(1.15);
}
.studio-icon-btn.subtitle-off {
    opacity: 0.4;
}
.play-btn {
    font-size: 24px;
}
.studio-time-text {
    color: #aaa;
    font-size: 14px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    margin-left: 10px;
}

.studio-canvas-content {
    width: 100%;
    height: 100%;
}

.dynamic-cinema-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #050505;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cinema-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 1.5s ease-in-out;
    animation: kenBurnsZoom 20s infinite alternate linear;
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.cinema-vignette {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 65%, rgba(0,0,0,0.95) 100%);
    pointer-events: none;
    z-index: 4;
}

.archive-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid #232a23;
    padding-bottom: 12px;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid #232a23;
    background-color: #141714;
    color: #8a928a;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #1e241e;
    color: #ffffff;
    border-color: #4CAF50;
}

.tab-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.archive-content-box {
    animation: fadeIn 0.4s ease-in-out;
}

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

.hamburger-btn {
    display: none;
    background-color: transparent;
    color: #ffb74d;
    border: 2px solid #ffb74d;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .navbar-panel {
        padding: 15px 10px !important; 
        gap: 10px !important;
    }

    .navbar-panel > div:first-child {
        flex-shrink: 1 !important;
        min-width: 0 !important; 
    }

    .navbar-panel > div:first-child > div:last-child {
        white-space: normal !important; 
        letter-spacing: 0.5px !important; 
        font-size: 9px !important;
        line-height: 1.3 !important;
        margin-top: 4px !important;
    }

    .hamburger-btn {
        display: block !important; 
        padding: 6px 12px !important;
        font-size: 14px !important;
        white-space: nowrap !important; 
    }

    .nav-links {
        display: none; 
        flex-direction: column; 
        position: absolute;
        top: 65px; 
        right: 15px;
        background-color: #1a1e1a; 
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #333;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        z-index: 1000;
        width: 200px;
        gap: 10px; 
    }

    .nav-links.active {
        display: flex !important; 
    }

    .nav-links button, .nav-links a {
        width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 1300px) {
    .sys-ad-l, 
    .sys-ad-r {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .screen-layout.active {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 10px !important;
    }

    .workspace-left-box,
    .workspace-right-box,
    .history-left-panel,
    .history-right-panel,
    .promo-container,
    .showcase-right-panel {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

.action-buttons-wrapper { 
    display: flex; 
    gap: 12px; 
    align-items: center; 
    flex-wrap: wrap; 
    margin-top: 5px;
}

.download-report-btn { 
    display: none;
    background: linear-gradient(145deg, #1e241e, #141714); 
    color: #81C784; 
    border: 1px solid #2f3b30; 
    padding: 8px 16px; 
    border-radius: 8px; 
    font-size: 13px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.download-report-btn:hover { 
    background: #4CAF50; 
    color: #ffffff; 
    border-color: #4CAF50; 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

.download-mp3-btn { 
    color: #a3e2a7; 
    border-color: #2e7d32; 
}

#open-studio-btn {
    background: linear-gradient(145deg, #2b164d, #1a0b33) !important;
    color: #d1c4e9 !important;
    border: 1px solid #5e35b1 !important;
    box-shadow: 0 4px 12px rgba(94, 53, 177, 0.3) !important;
}
#open-studio-btn:hover {
    background: #7e57c2 !important;
    color: #ffffff !important;
    border-color: #b39ddb !important;
    box-shadow: 0 6px 20px rgba(126, 87, 194, 0.5) !important;
}

@media (max-width: 768px) {
    #studio-screen {
        padding: 10px !important;
        margin: 10px auto !important;
    }

    .studio-top-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
        text-align: center;
    }

    .studio-main-logo {
        font-size: 14px !important;
        white-space: normal !important;
        line-height: 1.4;
    }

    .studio-cinema-stage {
        min-height: 250px !important;
        height: 35vh !important;
        padding: 0 !important;
        border-radius: 15px !important;
    }

    #studio-video-main-text {
        font-size: 16px !important;
    }
    .studio-bg-theme-icon {
        font-size: 180px !important; 
    }

    .studio-cinema-controls-wrapper {
        padding: 15px 10px !important;
    }

    .studio-control-buttons {
        flex-wrap: wrap; 
        justify-content: center;
        gap: 10px;
    }

    .control-group-left {
        width: 100%;
        justify-content: center; 
        margin-bottom: 10px;
    }

    .control-group-right {
        width: 100%;
        justify-content: center; 
    }

    .studio-horizontal-widget {
        padding: 15px 10px !important;
        border-radius: 12px !important;
    }

    .timeline-horizontal-node, .mindmap-horizontal-node {
        min-width: 180px; 
        padding: 10px;
    }
}

.cinema-subtitle {
    position: absolute !important;
    bottom: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important; 
    width: 90% !important;
    max-width: 900px !important; 
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px #000000 !important;
    text-align: center !important;
    border-bottom: 3px solid #4CAF50 !important;
    border-radius: 6px !important;
    padding: 15px 25px !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
}

.cinema-subtitle.subtitle-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .cinema-subtitle {
        font-size: 15px !important;
        bottom: 10px !important;
        width: 95% !important;
        max-width: none !important;
        padding: 10px !important;
        z-index: 999999 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        box-sizing: border-box !important;
    }
}

.studio-center-cinema-content:fullscreen,
.studio-center-cinema-content:-webkit-full-screen {
    position: fixed !important; 
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background-color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100dvh !important; 
    max-height: 100dvh !important;
    overflow: hidden !important; 
    overscroll-behavior: none !important; 
    touch-action: none !important; 
}

.studio-center-cinema-content:fullscreen .studio-cinema-stage,
.studio-center-cinema-content:-webkit-full-screen .studio-cinema-stage {
    flex: 1 !important;
    aspect-ratio: auto !important;
    border: none !important;
    border-radius: 0 !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.studio-center-cinema-content:fullscreen .dynamic-cinema-stage,
.studio-center-cinema-content:-webkit-full-screen .dynamic-cinema-stage {
    max-height: none !important;
    aspect-ratio: auto !important;
    width: 100% !important;
    height: 100% !important;
}

.studio-center-cinema-content:fullscreen .studio-cinema-controls-wrapper,
.studio-center-cinema-content:-webkit-full-screen .studio-cinema-controls-wrapper {
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #050705 !important;
    padding: 20px 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.studio-center-cinema-content:fullscreen .cinema-subtitle,
.studio-center-cinema-content:-webkit-full-screen .cinema-subtitle {
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999999999 !important;
    width: 92% !important;
    max-width: 1300px !important;
    box-sizing: border-box !important;
}

.studio-center-cinema-content:fullscreen .studio-controls-bar,
.studio-center-cinema-content:-webkit-full-screen .studio-controls-bar {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent) !important;
}

@media (max-width: 768px) and (orientation: landscape), (max-height: 500px) {
    .studio-center-cinema-content:fullscreen .studio-cinema-controls-wrapper,
    .studio-center-cinema-content:-webkit-full-screen .studio-cinema-controls-wrapper {
        position: fixed !important; 
        bottom: 0 !important;
        left: 0 !important;
        padding: 10px 15px !important; 
        z-index: 999999 !important;
        width: 100% !important;
    }

    .studio-center-cinema-content:fullscreen .cinema-subtitle,
    .studio-center-cinema-content:-webkit-full-screen .cinema-subtitle {
        position: fixed !important;
        top: auto !important;
        bottom: 90px !important;
        font-size: 16px !important;
        width: 90% !important;
        max-width: 700px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 8px 12px !important;
        box-sizing: border-box !important;
        z-index: 2147483647 !important;
    }
}

.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.alert-danger { 
    background-color: rgba(244, 67, 54, 0.15); 
    color: #ff5252; 
    border: 1px solid #ff5252; 
}

.alert-success { 
    background-color: rgba(76, 175, 80, 0.15); 
    color: #81C784; 
    border: 1px solid #4CAF50; 
}

/* 🚀 GEÇİCİ: Gerçek reklam ağı entegre olana kadar reklam alanları gizli */
.watch-ad-btn,
#sys-ad-l,
#sys-ad-r,
#sys-ad-b {
    display: none !important;
}