.mod-head { padding: 40px 0 24px; max-width: 760px; }
.back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--muted-foreground); text-decoration: none; margin-bottom: 16px;
}
.back:hover { color: var(--foreground); }
.mod-head h1 { font-size: 30px; font-weight: 500; letter-spacing: -.015em; margin: 0 0 10px; }
.mod-head p  { margin: 0 0 16px; color: var(--muted-foreground); font-size: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card-glass); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px 6px 11px; font-size: 13px; box-shadow: var(--shadow-soft);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); position: relative; }
.dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--primary); opacity: .35; animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(.6); opacity: .5 }
  70%  { transform: scale(1.5); opacity: 0 }
  100% { opacity: 0 }
}

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 46px 24px; text-align: center; cursor: pointer;
  background: var(--card-glass); border: 1px dashed var(--border-soft); border-radius: var(--radius-card);
  transition: border-color .15s, background .15s;
  box-shadow: var(--shadow-soft); backdrop-filter: blur(10px);
}
.dropzone:hover,
.dropzone:focus-visible { border-color: var(--primary); outline: none; }
.dropzone.over { border-color: var(--primary); background: var(--primary-soft); border-style: solid; }
.dz-icon  { font-size: 30px; color: var(--primary); }
.dz-title { margin: 4px 0 0; font-size: 17px; }
.dz-sub   { margin: 0; font-size: 14px; color: var(--muted-foreground); }

.workspace { display: flex; flex-direction: column; gap: 20px; margin-top: 18px; }

.file-list-card {
  background: var(--card-glass); border: 1px solid var(--border-soft);
  border-radius: var(--radius-card); box-shadow: var(--shadow-soft); overflow: hidden;
}
.file-list-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--border-soft);
}
.field-label {
  font-size: 12px; color: var(--muted-foreground);
  text-transform: uppercase; letter-spacing: .04em;
}
.file-list { display: flex; flex-direction: column; }
.file-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.file-row:last-child { border-bottom: none; }
.file-row .ti { font-size: 16px; color: var(--primary); flex-shrink: 0; }
.file-row-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row-size { font-size: 12.5px; color: var(--muted-foreground); flex-shrink: 0; }
.file-row-del {
  background: none; border: none; cursor: pointer; padding: 4px;
  color: var(--muted-foreground); font-size: 15px; border-radius: 4px;
  transition: color .15s; flex-shrink: 0;
}
.file-row-del:hover { color: #dc2626; }
.file-list-footer {
  padding: 10px 18px; font-size: 13px; color: var(--muted-foreground);
  border-top: 1px solid var(--border-soft);
}

.zip-options { display: flex; flex-direction: column; gap: 8px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.name-input {
  font: inherit; font-size: 15px; padding: 11px 16px;
  background: var(--secondary); border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-card); color: var(--foreground);
  outline: none; transition: border-color .15s; box-sizing: border-box; width: 100%;
}
.name-input:focus { border-color: var(--primary); }

.action-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.load-progress { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--card-glass); border: 1px solid var(--border-soft); border-radius: var(--radius-card); }
.lp-bar  { height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; }
.lp-fill { height: 100%; background: var(--primary); border-radius: 99px; width: 0%; transition: width .3s ease; }
.lp-label { font-size: 13.5px; color: var(--muted-foreground); }

.explainer { margin-top: 46px; }
.explainer h2 { font-size: 19px; font-weight: 500; margin: 0 0 16px; }
.ex-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ex-item {
  background: var(--card-glass); border: 1px solid var(--border-soft);
  border-radius: var(--radius-card); padding: 20px;
}
.ex-item .ti { font-size: 20px; color: var(--primary); }
.ex-item h3  { font-size: 15px; font-weight: 500; margin: 8px 0 5px; }
.ex-item p   { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted-foreground); }

@media (max-width: 900px) { .ex-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .ex-grid { grid-template-columns: 1fr; }
  .mod-head h1 { font-size: 24px; }
  .mod-head { padding: 28px 0 18px; }
}
