#nice-reels-app { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: #fff; }
.nrb-wrap { background:#000; border:1px solid #222; border-radius:16px; padding:16px; max-width:720px; margin:16px auto; }
.nrb-title { text-align:center; margin:0 0 12px; color:#3ef6ff; }

.nrb-video-wrap { position:relative; width:100%; border-radius:12px; overflow:hidden; background:#111; }
.nrb-video { width:100%; height:auto; display:block; transform:scaleX(-1); }
.nrb-badge { position:absolute; top:8px; left:8px; font-size:11px; background:rgba(0,0,0,.6); padding:4px 8px; border-radius:999px; border:1px solid #333; }
.nrb-hidden { display:none !important; }

.nrb-actions { display:flex; gap:10px; justify-content:center; margin-top:12px; flex-wrap:wrap;}
.nrb-btn { appearance:none; border:0; border-radius:999px; padding:10px 18px; background:#3ef6ff; color:#000; font-weight:600; cursor:pointer; }
.nrb-btn.secondary { background:#222; color:#fff; border:1px solid #444; }
.nrb-btn.ghost { background:transparent; border:1px solid #444; color:#ddd; }
.nrb-btn[disabled] { opacity:.6; cursor:not-allowed; }

.nrb-help { font-size:12px; color:#aaa; text-align:center; margin-top:8px; }
.nrb-err  { font-size:13px; color:#ff4d6e; text-align:center; margin-top:8px; }

.nrb-drop {
  margin-top:12px; padding:16px; border:2px dashed #333; border-radius:12px; text-align:center; background:#0b0b0b;
}
.nrb-drop.dragover { border-color:#3ef6ff; background:#0d1a1a; }
.nrb-drop input[type=file] { display:none; }
.nrb-drop .hint { color:#aaa; font-size:13px; }

.nrb-thumbs { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin-top:12px; }
.nrb-thumbs img { width:100%; aspect-ratio:9/16; object-fit:cover; border-radius:8px; border:1px solid #222; }

@media (orientation: landscape) { .nrb-help.rotate { display:block; } }
@media (orientation: portrait)  { .nrb-help.rotate { display:none; } }

.nrb-result { margin-top:16px; border:1px solid #222; border-radius:12px; padding:12px; background:#0b0b0b; }
.nrb-result video { width:100%; display:block; border-radius:8px; margin-bottom:8px; }
.nrb-progress { text-align:center; font-size:13px; color:#aaa; margin-top:8px; }
.nrb-qr { display:flex; justify-content:center; margin-top:10px; }
