.gif-speed-changer-page{
  max-width:1280px;
  margin:0 auto;
  padding:34px 18px 46px;
  color:var(--text);
}
.gif-speed-changer-page *{
  box-sizing:border-box;
}
.gif-speed-changer-page h1{
  margin:0 0 12px;
  text-align:center;
  font-size:clamp(32px,5vw,52px);
  line-height:1.05;
  text-shadow:0 0 24px rgba(120,90,255,.24);
}
.gsc-intro{
  max-width:860px;
  margin:0 auto 24px;
  text-align:center;
  color:#c9c9d6;
  font-size:clamp(15px,2vw,18px);
  line-height:1.6;
}
.gsc-upload{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:138px;
  margin-bottom:18px;
  padding:22px;
  background:linear-gradient(135deg,rgba(120,90,255,.16),rgba(0,215,255,.08)),var(--content);
  border:1px dashed rgba(255,255,255,.22);
  border-radius:20px;
  box-shadow:0 16px 38px rgba(0,0,0,.18);
  cursor:pointer;
  overflow:hidden;
}
.gsc-upload:hover{
  border-color:rgba(120,220,255,.65);
  box-shadow:0 18px 46px rgba(0,0,0,.24),0 0 28px rgba(0,215,255,.08);
}
.gsc-upload input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}
.gsc-upload-label{
  pointer-events:none;
  font-size:clamp(17px,2vw,22px);
  font-weight:800;
  color:#fff;
}
.gsc-upload-label i{
  color:var(--link);
  margin-right:8px;
}
.gsc-upload p{
  pointer-events:none;
  margin:0;
  color:#bfc0ce;
  text-align:center;
}
.gsc-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:18px;
  align-items:start;
}
.gsc-preview-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-content:start;
}
.gsc-panel,.gsc-section{
  background:var(--content);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  box-shadow:0 16px 38px rgba(0,0,0,.18);
}
.gsc-panel{
  padding:14px;
}
.gsc-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.gsc-panel-head h2{
  margin:0;
  color:var(--link);
  font-size:18px;
}
.gsc-panel-head span,.gsc-panel-head label{
  color:#aeb0bf;
  font-size:13px;
}
.gsc-check{
  display:flex;
  align-items:center;
  gap:7px;
  user-select:none;
}
.gsc-preview-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:340px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.07);
  border-radius:15px;
  overflow:hidden;
}
.gsc-preview-wrap img{
  display:none;
  max-width:100%;
  max-height:340px;
  object-fit:contain;
}
.gsc-empty-preview{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#aeb0bf;
  text-align:center;
  padding:20px;
}
.gsc-empty-preview i{
  font-size:42px;
  color:rgba(255,255,255,.2);
}
.gsc-controls{
  position:sticky;
  top:16px;
}
.gsc-control-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.gsc-wide{
  grid-column:1/-1;
}
.gsc-control-card,.gsc-mini-field,.gsc-toggle-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
}
.gsc-control-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#d9d9e5;
}
.gsc-control-head b{
  color:#fff;
}
.gsc-mini-field span{
  color:#cfd0dd;
  font-size:13px;
  font-weight:700;
}
.gsc-mini-field input,.gsc-mini-field select{
  width:100%;
  min-height:38px;
  padding:8px 10px;
  color:#fff;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  outline:none;
}
.gsc-mini-field select option{
  color:#fff;
  background:#171827;
}
.gsc-mini-field input:focus,.gsc-mini-field select:focus{
  border-color:rgba(120,220,255,.65);
  box-shadow:0 0 0 3px rgba(0,215,255,.09);
}
.gsc-control-card input[type="range"]{
  width:100%;
  accent-color:var(--link);
}
.gsc-toggle-card{
  position:relative;
  flex-direction:row;
  align-items:center;
  cursor:pointer;
  user-select:none;
}
.gsc-toggle-card input{
  width:18px;
  height:18px;
  accent-color:var(--link);
}
.gsc-toggle-card span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#d9d9e5;
  font-weight:700;
}
.gsc-toggle-card:hover{
  background:rgba(255,255,255,.065);
}
.gsc-timeline{
  margin-top:14px;
  padding:12px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
}
.gsc-timeline-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
  color:#d9d9e5;
  font-size:13px;
}
.gsc-timeline-head span{
  color:#aeb0bf;
}
.gsc-timeline-track{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:58px;
  padding:8px;
  background:rgba(0,0,0,.22);
  border-radius:12px;
  overflow-x:auto;
  scrollbar-width:thin;
}
.gsc-timeline-empty{
  width:100%;
  text-align:center;
  color:#8f91a3;
  font-size:13px;
}
.gsc-frame-thumb{
  flex:0 0 auto;
  width:42px;
  height:42px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  overflow:hidden;
}
.gsc-frame-thumb img,.gsc-frame-thumb canvas{
  width:100%;
  height:100%;
  object-fit:cover;
}
.gsc-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:12px;
}
.gsc-stats span{
  padding:10px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  color:#bfc0ce;
  font-size:12px;
}
.gsc-stats b{
  display:block;
  margin-top:3px;
  color:#fff;
  font-size:14px;
}
.gsc-progress{
  height:9px;
  margin-top:13px;
  background:rgba(0,0,0,.25);
  border-radius:999px;
  overflow:hidden;
}
#gscProgressBar{
  width:0%;
  height:100%;
  background:linear-gradient(90deg,var(--link),#7cf7ff);
  border-radius:999px;
  transition:width .18s ease;
}
.gsc-actions{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-top:14px;
}
.gsc-actions button{
  min-height:42px;
  padding:10px 12px;
  border:0;
  border-radius:12px;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.gsc-actions button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.gsc-action-primary{
  background:linear-gradient(135deg,#7a5cff,#00c8ff);
}
.gsc-action-download{
  background:linear-gradient(135deg,#18b86b,#65df9b);
}
.gsc-action-soft{
  background:rgba(255,255,255,.1);
}
.gsc-action-danger{
  background:linear-gradient(135deg,#a43345,#e05263);
}
.gsc-actions button:not(:disabled):hover{
  transform:translateY(-1px);
  filter:brightness(1.08);
}
.gsc-status{
  margin-top:12px;
  padding:11px 12px;
  color:#cfd0dd;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  font-size:13px;
}
.gsc-section{
  margin-top:22px;
  padding:18px;
}
.gsc-section h2{
  margin:0 0 12px;
  color:var(--link);
}
.gsc-section p,.gsc-section li{
  color:#c9c9d6;
  line-height:1.6;
}
.gsc-section ul{
  margin:10px 0 0;
  padding-left:22px;
}
.gsc-section li{
  margin-bottom:8px;
}
@media(max-width:1050px){
  .gsc-layout{
    grid-template-columns:1fr;
  }
  .gsc-controls{
    position:static;
  }
}
@media(max-width:760px){
  .gif-speed-changer-page{
    padding:26px 12px 38px;
  }
  .gsc-preview-grid{
    grid-template-columns:1fr;
  }
  .gsc-control-grid,.gsc-actions,.gsc-stats{
    grid-template-columns:1fr;
  }
  .gsc-preview-wrap{
    min-height:260px;
  }
  .gsc-preview-wrap img{
    max-height:260px;
  }
  .gsc-timeline-head{
    flex-direction:column;
    gap:4px;
  }
}
