:root {
  --bg: #0b1220;
  --card: #0f1a2c;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --btn: #2563eb;
  --btn2: #111827;
}

html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }

.wrap { height: 100%; display: flex; flex-direction: column; }
iframe { flex: 1 1 auto; width: 100%; border: 0; display: block; background: #fff; }

.bar {
  flex: 0 0 auto;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 26, 44, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.left { min-width: 0; }
.title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.18); color: var(--text); }
