/* Dark embed theme that matches your app screenshots */

:root {
  --bg: #121212;
  --surface: #1b1b1b;
  --surface-2: #232323;
  --border: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --muted-2: rgba(255, 255, 255, 0.45);
  --accent: #2dd4bf; /* teal-ish */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

html, body {
  height: 100%;
}

body.embed {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

.embed-shell {
  padding: 24px;
}

.embed-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  max-width: 980px;
}

.embed-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.embed-title {
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.embed-meta {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.embed-subtitle {
  margin: 0 0 14px 0;
  color: var(--muted);
  font-size: 14px;
}

.embed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 860px) {
  .embed-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.embed-panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

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

.embed-row:last-child {
  border-bottom: 0;
}

.embed-label {
  color: var(--muted);
  font-size: 13px;
}

.embed-value {
  color: var(--text);
  font-size: 13px;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.embed-hr {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 16px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.10);
  color: rgba(220, 255, 250, 0.95);
  font-size: 12px;
  font-weight: 600;
}
