/* Shared card chrome for Design System preview cards.
   Cards are rendered at ~700px wide on dark backgrounds, no inner title (asset name is shown outside). */

html, body {
  margin: 0;
  padding: 0;
  background: #FAFBFE;
  color: #0F1422;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }

.card-frame {
  padding: 28px;
  min-height: 100px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(124,92,255,0.06), transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 100%, rgba(34,211,238,0.05), transparent 60%),
    #FAFBFE;
}

.row { display: flex; gap: 16px; align-items: stretch; }
.col { display: flex; flex-direction: column; gap: 14px; }
.between { display: flex; justify-content: space-between; align-items: baseline; }
.muted { color: #5A6478; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #5A6478; }
.display { font-family: "Space Grotesk", sans-serif; font-weight: 500; letter-spacing: -0.02em; color: #03050A; }

.swatch {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 20, 34, 0.07);
}
.swatch-label {
  position: absolute;
  left: 12px; bottom: 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.swatch-label .name { font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 500; color: #fff; }
.swatch-label .hex { font-family: "JetBrains Mono", monospace; font-size: 10px; color: rgba(255,255,255,0.7); }

.glass {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(15, 20, 34, 0.07);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: 12px;
}
