/* Extra UI polish for Manual Generator v4 */

.hidden{ display:none !important; }

hr{ border:0; border-top:1px solid var(--border); margin:18px 0; }

.checks{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  align-items:center;
}
.chk{
  display:flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.03);
  cursor:pointer;
  user-select:none;
}
.chk input{ transform: translateY(1px); }

.btnrow{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.status{
  margin-top:10px;
  font-size: 13px;
  color: var(--muted);
}

.scene-card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  overflow:hidden;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.scene-card__head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding: 14px 14px 10px;
  border-bottom:1px solid var(--border);
}

.scene-card__title{
  font-weight: 800;
  letter-spacing:.2px;
  font-size: 16px;
}
.scene-card__meta{
  margin-top:4px;
  color: var(--muted);
  font-size: 12px;
}

.scene-card__actions{
  display:flex;
  gap:8px;
  align-items:center;
}

.btn-small{
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(34,197,94,.15);
  color: var(--text);
  cursor:pointer;
  font-weight: 700;
}
.btn-small:hover{ filter: brightness(1.05); }

.scene-card__textarea{
  width: 100%;
  min-height: 260px;
  border:0;
  outline:none;
  resize: vertical;
  padding: 12px 14px 16px;
  background: transparent;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.45;
}

@media (max-width: 900px){
  .chk{ width: 100%; justify-content:flex-start; }
}
