.sidify-windows {
    width: 900px;
    height: 550px;
    background: #1e1e1e;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
}
.sidify-windows h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
	color: #ffffff;
}
.sidify-windows h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
	color: #ffffff;
}

.sidify-windows input[type="checkbox"] {
    display: inline-block !important;
    visibility: visible !important;
    appearance: auto !important; /* 'auto' ist oft zuverlässiger als 'checkbox' */
    -webkit-appearance: auto !important;
    opacity: 1 !important;
    width: 16px !important;
    height: 16px !important;
    position: relative !important;
    z-index: 1000 !important;
	margin: 3px;

}

/* --- Sidebar --- */
.sidebar {
    width: 220px;
    background: #181818;
    padding: 20px;
    color: #bbb;
}

.sidebar-title {
    color: #ff7e5f;
    margin-bottom: 30px;
}
@media (max-width: 390px) {
    .sidebar {
        display: none !important;
    }

    .sidify-windows {
        width: 100% !important; 
        height: 100vh !important;
        border-radius: 0; 
    }

    .main {
        width: 100% !important;
        padding: 15px; 
    }
}
@media (min-width: 391px) and (max-width: 767px){
    .sidebar {
        display: none !important; 
    }

    .sidify-windows {
        width: 100% !important;
        height: 80vh !important;
        border-radius: 0; 
    }

    .main {
        width: 100% !important;
        padding: 15px;
    }
}
@media (max-width: 500px) {
    .output-format {
        flex-direction: column; 
        align-items: stretch !important; 
    }
    
    .setting-btn {
        margin-left: 0;         
    }
}
@media (max-width: 768px) {
    .controls {
        display: grid;              
        grid-template-columns: 1fr 1fr; 
        gap: 10px;    
    }

    .controls button {
        width: 100%;        
        padding: 12px 5px;      
        margin: 0; 
        font-size: 13px;     
    }
    
    .btn-convert {
        grid-column: span 2; 
    }
}

.menu-item {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.menu-item:hover {
    background: #2a2a2a;
    color: white;
}

.menu-item.active {
    background: #2a2a2a;
    color: white;
}

.sidebar-footer {
    margin-top: 200px;
}

/* --- Main Bereich --- */
.main {
    flex: 1;
    padding: 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.view { display: none; }
.view.active { display: flex; flex-direction: column; }

/* --- Input & Drop Area --- */
.url-input {
    background: #252525 !important;
    border: 1px solid #444;
    padding: 12px;
    color: white;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}
.url-input:focus {
    outline: none; 
    border: 1px solid #ff7e5f !important; 
    box-shadow: 0 0 5px rgb(255 126 95); 
}

.drop-area {
    border: 2px dashed #444;
    height: 260px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #666;
    transition: 0.4s;
}

.drop-area:hover {
    border-color: #ff7e5f;
    color: #ff7e5f;
    cursor: pointer;
}

.output-format {
    display: flex;
	align-items: center;
	gap: 15px;
}
.format-select {
    background: #333 !important;
    color: white !important;
    padding: 5px;
    border: none;
	width: 30%;
	-webkit-appearance: button;
}

.setting-btn {
    background: #ff7e5f;
    border: none;
    padding: 8px 20px;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    margin-left: auto;
}

.setting-btn:hover { background: #ff9e80; }

/* --- Controls & Table --- */
.controls { display: flex; gap: 10px; margin-bottom: 25px; }

.add-btn {
    background: #333;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 500;
    transition: 0.2s;
}

.add-btn:hover { background: #444; }
.btn-convert { background: #ff7e5f; }
.btn-convert:hover { background: #ff9e80; }

.song-table {
    width: 100%;
    border-collapse: collapse;
    color: #ccc;
    font-size: 13px;
	border: none;
}

.song-table th {
    text-align: left;
    padding: 10px 5px;
    color: #888;
    font-weight: normal;
    border-bottom: 1px solid #333;
	border: none;
}

.song-table td {
    padding: 15px 5px;
    border-bottom: 1px solid #333;
	border: none;
}

.song-table tr:hover { background: #252525; }

/* --- Processing View --- */
.processing-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #252525;
    border-radius: 8px;
    margin-bottom: 25px;
}

.progress-ring {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid #333;
    border-top-color: #ff7e5f;
    animation: spin 1.5s linear infinite;
    animation-play-state: running; /* Standard: Läuft */
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 126, 95, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 126, 95, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 126, 95, 0);
    }
}

/* Wende die Animation auf deine Elemente an */
.drop-area.pulse {
    animation: pulse-animation 2s infinite;
}

.btn-convert.pulse {
    animation: pulse-animation 2s infinite;
}
.btn-abort.pulse {
    animation: pulse-animation 1.5s infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.song-progress-container {
    width: 100%;
    height: 4px;
    background: #333;
    margin-top: 8px;
    border-radius: 2px;
    overflow: hidden;
}

.song-progress-bar {
    width: 0%;
    height: 100%;
    background: #ff7e5f;
    animation: grow 2s ease-out forwards;
}

@keyframes grow { 0% { width: 0%; } 100% { width: 100%; } }

.btn-abort {
    margin-left: auto;
    background: #333;
    border: none;
    padding: 10px 30px;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.btn-abort:hover { background: #444; }

.trial-tag {
    background: #1a4f45;
    color: #4ade80;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 8px;
    border: 1px solid #2e7d70;
    vertical-align: middle;
}

/* features start */
.fea-section {
    background: linear-gradient(135deg, #7bd706 0%, #02ce80 100%);
    padding: 50px 20px;
    border-radius: 20px;
    text-align: center;
    color: white;
    font-family: sans-serif;
	width: 80%;
}

.fea-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.fea-item {
    flex: 1;
    min-width: 150px;
    margin: 10px;
}

.fea-item p{
    color: #000;
}

.icon-circle {
    background: white;
    color: #02ce80;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 30px;
	position: relative;
    display: inline-block;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.icon-circle .fa-slash {
    position: absolute;
    top: 0;
    left: 0;
    color: red; /* 设置斜杠颜色 */
}

.fea-sub-text {
    opacity: 0.9;
    margin-bottom: 30px;
	color: #000;
	font-size: 20px;
    padding: 20px;
}

/* format and device */
.tf-format-section { 
padding: 50px 20px; 
text-align: center; 
background: #eff1f9; 
border-radius: 20px;
width: 90%;
}
@media (max-width: 768px) {
.tf-format-section { 
padding: 50px 20px; 
text-align: center; 
background: #eff1f9; 
border-radius: 20px;
width: 100%;
}
}
.tf-title { 
font-size: 28px; 
margin-bottom: 10px; 
}
.tf-subtitle { 
    color: #666; 
    margin-bottom: 30px;
    font-size: 20px;
    padding: 20px; 
}

/* Grid für Karten */
.tf-format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.tf-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: transform 0.3s;
}
.tf-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.tf-card i { font-size: 30px; color: #2ecc71; margin-bottom: 10px; }

/* Qualitäts-Slider */
.tf-quality-control { max-width: 600px; margin: 0 auto; }
.tf-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 12px;
}

.tf-slider {
    flex-grow: 1;
    height: 6px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    accent-color: #2ecc71; /* Dein Sidify-Grün */
}
.tf-hifi-label {
    align-items: center;
    gap: 8px; /* Abstand zwischen Text und Badge */
}

.tf-pro-badge-inline {
    background: #f1c40f; /* Gold-Gelb */
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1; /* Verhindert, dass das Badge zu hoch wirkt */
    vertical-align: middle;
}

.tf-device-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 24px;
    color: #888;
}
#tf-dynamic-label {
    font-weight: 700;
    min-width: 140px; /* Hält die Breite stabil */
    text-align: left;
}
/*应用场景卡片滚动css*/
/* 容器布局 */
.sidify-scene-section { 
background: linear-gradient(129deg, #16181d 0%, #093d1c 100%); 
padding: 60px 20px; 
border-radius: 20px; 
/*margin: 40px auto;*/
width: 80%;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }

.scene-container { display: flex; flex-direction: column; align-items: center; }

/* 内容区 */
.scene-content { 
display: flex; 
align-items: center; 
justify-content: space-around; 
gap: 40px; 
width: 100%; 
}
.scene-text { 
max-width: 50%; 
}
.scene-text h3 { 
color: #02ce80; 
font-size: 24px; 
margin-bottom: 15px; 
}
.scene-text p { 
color: #ffffff; 
font-size: 16px; 
line-height: 1.5; 
}
.scene-visual { 
max-width: 100%; 
}
.scene-visual img {
border-radius: 20px;
max-width: 100%;
height: auto; 
display: block;
}

/* CTA 按钮样式 */
.cta-button { 
    background: #2cc54b; 
	color: #fff; 
	padding: 12px 30px; 
    border-radius: 30px; 
	text-decoration: none; 
	font-weight: bold; 
    display: inline-block; 
	margin-top: 20px;
}
.cta-button:hover {
    background-color: #02ce80;
    transform: translateY(-2px); /* Button hebt sich leicht an */
    box-shadow: 0 5px 15px rgba(44, 197, 75, 0.4); /* Weicher Schatten für Tiefeneffekt */
    cursor: pointer;
	color: white;
}

/* 底部图标导航栏 */
.device-indicator-bar { 
    display: flex; 
	gap: 40px; 
	margin-top: 50px; 
    padding-top: 20px; 
	border-top: 1px solid #ddd; 
	justify-content: center;
	flex-wrap: wrap;
}
.device-tab { 
    font-size: 28px; cursor: pointer; opacity: 0.3; transition: 0.3s; 
    padding: 10px; border-bottom: 3px solid transparent; 
	color: #2cc54b;
}
.device-tab.active { opacity: 1; border-color: #2cc54b; }
/* 移动端适配 */
@media (max-width: 768px) {
    .sidify-scene-section { width: 95%; padding: 30px 15px; } /* 缩小内边距 */
    
    .scene-content { 
        flex-direction: column; /* 改为垂直排列 */
        text-align: center; 
    }
    
    .scene-text { 
        max-width: 100%; /* 文字占满宽度 */
        margin-bottom: 30px; 
    }
    
    .scene-visual img { width: 100%; height: auto; } /* 图片自适应 */
    
    .device-indicator-bar { 
        gap: 15px; /* 减小图标间距 */
        flex-wrap: wrap; /* 允许图标换行 */
        justify-content: center; 
    }
    
    .device-tab { font-size: 20px; } /* 缩小图标尺寸 */
}
/*步骤*/
.mini-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 600;
    color: #ffffff;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
	color: #000;
}

.step-item span {
    background: #2cc54b;
    color: #0e1b2f;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.step-divider { 
color: #000;
} 

/* Mobile Optimierung */
@media (max-width: 600px) {
    .mini-steps { 
	/*flex-direction: column; */
	gap: 10px; }
    .step-divider { display: none; } 
}
.scene-slide{

    display:none;

    align-items:center;

    justify-content:space-between;

    gap:60px;

    animation:fade .4s ease;

}

.scene-slide.active{

    display:flex;

}

@keyframes fade{

from{

opacity:0;

transform:translateY(10px);

}

to{

opacity:1;

transform:none;

}

}

/* 外层大容器：控制滚动高度，实现堆叠效果 */
.scene-stack-wrap{
    padding:120px 0;
    max-width:1400px;
    margin:0 auto;
}

/* 单张卡片容器：sticky核心 */
.scene-stack-card{
    position:sticky;
    top:100px; /* 滚动时卡片固定距离顶部100px */
    margin-bottom:160px; /* 卡片之间预留滚动空间，控制重叠幅度 */
    width:92%;
    margin-left:auto;
    margin-right:auto;
    border-radius:24px;
    background:linear-gradient(120deg,#fff4f8,#f0e8ff);
    overflow:hidden;
    box-shadow:0 12px 40px rgba(120,60,180,0.08);
}

/* 卡片内部左右两栏布局：图片列缩小比例 4:6 */
.scene-card-inner{
    display:grid;
    grid-template-columns:6fr 4fr; /* 文字6份，图片4份，缩小图片区域宽度 */
    gap:40px;
    align-items:center;
    padding:50px;
}

/* 左侧文字区域 */
.scene-text-block h2{
    font-size:32px;
    color:#111;
    margin-bottom:20px;
    line-height:1.3;
}
.scene-text-block p{
    font-size:16px;
    line-height:1.8;
    color:#333;
    margin-bottom:24px;
}
.scene-text-block .tip-tag{
    display:inline-block;
    padding:12px 20px;
    background:rgba(160,110,255,0.12);
    border:1px solid #b89eff;
    border-radius:12px;
    color:#7b48d1;
    font-weight:500;
}

/* 右侧图片区域（重点缩小图片） */
.scene-img-block{
    width:100%;
    display:flex;
    justify-content:center;
}
.scene-img-block img{
    width:100%;
    max-height:320px; /* 限制图片最大高度，不会无限拉高卡片 */
    border-radius:16px;
    object-fit:cover;
}

/* 移动端适配 */
@media(max-width:768px){
.scene-card-inner{
    grid-template-columns:1fr;
    padding:30px;
    gap:24px;
}
.scene-stack-card{
    top:60px;
}
.scene-text-block h2{
    font-size:24px;
}
.scene-img-block img{
    max-height:220px;
}
}