/* comfyarts — marketplace design system.
   Dark, saturated, cinematic: near-black canvas so generated art supplies all the
   colour, with a cyan→violet→magenta gradient reserved for interactive accents only.
   Loaded after pixel-theme.css, so anything here intentionally wins. */

/* Four colours, and only four: black, yellow, blue, orange.
   Yellow is the voice — headlines, the live dot, the money. Blue is structure and
   links. Orange is the warm partner used for gradients and the coin. Black carries
   everything, so uploaded artwork is always the brightest thing on the page. */
:root {
  --bg: #060609;
  --bg-2: #0A0A0F;
  --surface: #101015;
  --surface-2: #17171F;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);

  --ink: #F5F5F7;
  --ink-2: #B4B4BE;
  --muted: #78787F;

  --yellow: #D8FF3E;   /* lime-yellow accent — headline words, live states */
  --gold: #FFC53D;     /* warmer yellow — coins, download, anything that costs */
  --blue: #2F6BFF;
  --orange: #FF7A1A;

  /* Legacy aliases so older rules keep resolving while the palette settles. */
  --cyan: var(--yellow);
  --violet: var(--blue);
  --magenta: var(--orange);
  --grad: linear-gradient(100deg, var(--yellow) 0%, var(--gold) 42%, var(--orange) 100%);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --nav-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }

/* ───────────────────────────── nav ───────────────────────────── */

#nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: rgba(7, 6, 11, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700; font-size: 19px; letter-spacing: -.02em;
}
.brand img { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a { padding: 6px 0; position: relative; transition: color .18s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--grad); border-radius: 2px;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); font-size: 22px; cursor: pointer; }
.mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mobile.open { display: flex; }
.mobile a { padding: 10px 0; color: var(--ink-2); font-size: 15px; }

/* ───────────────────────────── buttons ───────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: transform .16s, box-shadow .16s, background .16s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-grad { background: var(--grad); color: #0A0910; box-shadow: 0 8px 26px rgba(168, 85, 247, .32); }
.btn-grad:hover { box-shadow: 0 12px 34px rgba(168, 85, 247, .5); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .04); }
.btn-line:hover { background: rgba(255, 255, 255, .09); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; }

/* Gold is reserved exclusively for value actions — download and unlock — and for the
   credit pill. Nothing decorative uses it, so on any page the gold element is the thing
   the user came to press. */
.btn-gold {
  background: linear-gradient(180deg, #FCD34D 0%, #F5A623 100%);
  color: #1A1206; border-color: #F5A623;
  box-shadow: 0 8px 24px rgba(245, 166, 35, .28);
  font-weight: 700;
}
.btn-gold:hover { box-shadow: 0 12px 32px rgba(245, 166, 35, .46); filter: brightness(1.04); }
.btn-gold:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* ───────────────────────────── hero ───────────────────────────── */

.hero { position: relative; padding: 92px 0 76px; overflow: hidden; }
/* Two offset colour wells rather than one flat gradient — keeps the black dominant
   so thumbnails below are the brightest thing on screen. */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; pointer-events: none;
}
.hero::before { width: 620px; height: 620px; top: -280px; left: -140px; background: radial-gradient(circle, var(--violet), transparent 68%); }
.hero::after  { width: 560px; height: 560px; top: -180px; right: -120px; background: radial-gradient(circle, var(--cyan), transparent 68%); }
/* Header upload action — gold-outlined so it reads as the one thing you *do* in the
   nav, without competing with the coin pill next to it. */
.nav-upload {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 197, 61, .38); background: rgba(255, 197, 61, .10);
  color: var(--gold) !important; font-weight: 600;
  transition: background .18s, border-color .18s, transform .18s;
}
.nav-upload:hover { background: rgba(255, 197, 61, .18); border-color: var(--gold); transform: translateY(-1px); }
.nav-upload svg, .nav-upload i { width: 16px; height: 16px; flex: 0 0 auto; }
@media (max-width: 640px) { .nav-upload span { display: none; } .nav-upload { padding: 7px 11px; } }

.hero .wrap { position: relative; z-index: 1; }

/* Hero clip sits right of the headline. The source is square, so the frame is square —
   a 16:9 band would crop the subject out of its own shot. */
.hero-media {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  width: clamp(260px, 30vw, 400px); aspect-ratio: 1 / 1;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-2);
  box-shadow: 0 34px 90px -46px rgba(0, 0, 0, .95);
}
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Below this the headline needs the full width, and a hero clip would push the CTAs
   under the fold. */
@media (max-width: 900px) { .hero-media { display: none; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.hero h1 {
  margin: 0 0 18px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(40px, 6.4vw, 82px);
  line-height: .98; letter-spacing: -.035em; font-weight: 700;
  max-width: 16ch;
}
/* Flat yellow, not a gradient fill. Gradient text is the single loudest "AI landing
   page" tell; a solid accent word on black is what the reference actually does. */
.hero h1 .hl { color: var(--yellow); }
.hero h1 .grad { color: var(--yellow); }
.hero .sub { margin: 0 0 30px; font-size: clamp(15px, 1.7vw, 18.5px); color: var(--ink-2); max-width: 60ch; line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-stats { display: flex; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 26px; letter-spacing: -.02em; }
.hero-stats span { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ───────────────────────────── sections ───────────────────────────── */

section { padding: 62px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head h2 {
  margin: 0; font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; font-weight: 700;
}
.sec-head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }

/* Model reels — one tall 9:16 tile per model, the shape the source clips are shot in.
   A tile is the entry point to that model's own studio, so there is no model dropdown
   anywhere: you pick the engine by choosing a door, not by hunting a select. */
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.reel {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); aspect-ratio: 9 / 16;
  display: flex; align-items: flex-end; transition: transform .22s, border-color .22s;
}
.reel:hover { transform: translateY(-4px); border-color: var(--yellow); }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Placeholder until a clip is supplied — deliberately quiet, not a fake thumbnail. */
.reel-empty {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.05), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 12px, transparent 12px 24px),
    var(--bg-2);
}
.reel-empty::after {
  content: attr(data-label); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.13); font-family: "Space Grotesk", sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: .04em; text-align: center; padding: 0 12px;
}
.reel-body {
  position: relative; width: 100%; padding: 16px 14px 14px;
  background: linear-gradient(to top, rgba(4,4,7,.94) 26%, transparent 100%);
}
.reel-body h3 { margin: 6px 0 3px; font-family: "Space Grotesk", sans-serif; font-size: 18px; letter-spacing: -.02em; }
.reel-body p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.reel-tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.09); border: 1px solid var(--line-2); color: var(--ink-2);
}
.reel-tag.live { background: rgba(216,255,62,.16); border-color: rgba(216,255,62,.5); color: var(--yellow); }
.reel-tag.open { color: #1A1206; border-color: rgba(255,197,61,.9);
  background: linear-gradient(180deg,#FFD469,#F5A623); font-weight: 700;
  box-shadow: 0 2px 12px -2px rgba(255,197,61,.45); }
@media (max-width: 1080px) { .reels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .reels { grid-template-columns: repeat(2, 1fr); } }

/* model showcase */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.model-card {
  position: relative; padding: 20px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, transform .2s;
}
.model-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.model-card .tag { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--cyan); }
.model-card h3 { margin: 10px 0 6px; font-size: 18px; font-family: "Space Grotesk", sans-serif; letter-spacing: -.02em; }
.model-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.model-card.live::after {
  content: ""; position: absolute; top: 20px; right: 20px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
/* Dimmed rather than hidden: showing what is wired but switched off is a roadmap the
   visitor can read, and it is honest about what works today. */
.model-card.soon { opacity: .62; }
.model-card.soon .tag { color: var(--violet); }

/* ───────────────────────────── gallery ───────────────────────────── */

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.tabs button {
  border: 0; background: none; color: var(--ink-2); cursor: pointer;
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; transition: .16s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.active { background: var(--grad); color: #0A0910; }

.searchbar {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px;
  height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
}
.searchbar input { flex: 1; background: none; border: 0; outline: 0; color: var(--ink); font-size: 14.5px; font-family: inherit; }
.searchbar input::placeholder { color: var(--muted); }

/* Masonry via CSS columns: generated art is wildly mixed-ratio, and columns let each
   card keep its true aspect instead of being cropped into a uniform grid. */
.gallery { columns: 4 260px; column-gap: 16px; }
.card {
  break-inside: avoid; margin-bottom: 16px; position: relative;
  border-radius: var(--r); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); cursor: pointer;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card .media { position: relative; background: var(--bg-2); min-height: 120px; }
.card .media img, .card .media video { width: 100%; height: auto; display: block; }

.card .overlay {
  position: absolute; inset: 0; padding: 14px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background: linear-gradient(to top, rgba(5, 4, 9, .92) 0%, rgba(5, 4, 9, .5) 42%, transparent 72%);
  opacity: 0; transition: opacity .22s;
}
.card:hover .overlay, .card:focus-within .overlay { opacity: 1; }
.card .title { font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.card .by { font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.card .by img { width: 18px; height: 18px; border-radius: 50%; }

.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: .03em; background: rgba(6, 5, 10, .78); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); color: var(--ink);
}
.badge.made { background: rgba(25, 227, 255, .16); border-color: rgba(25, 227, 255, .45); color: var(--cyan); }
.badge.vid  { background: rgba(255, 61, 139, .16); border-color: rgba(255, 61, 139, .45); color: var(--magenta); }

.price {
  position: absolute; top: 10px; right: 10px;
  padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: rgba(6, 5, 10, .8); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); display: flex; align-items: center; gap: 5px;
}
.price.free { color: var(--yellow); border-color: rgba(216, 255, 62, .45); }
/* One coin asset shared by the header pill and every price badge, so the currency
   never renders as two different marks on the same screen. */
.price .coin { width: 15px; height: 15px; display: block; }
.amt-coin { width: 26px; height: 26px; display: inline-block; vertical-align: -4px; margin-right: 4px; }
/* Applies to the gallery too, so previews are equally awkward to grab from the grid. */
.gallery img, .gallery video, .strip img, .stage img, .stage video { -webkit-user-drag: none; user-select: none; }

.skel { border-radius: var(--r); background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 220% 100%; animation: sh 1.3s infinite; margin-bottom: 16px; break-inside: avoid; }
@keyframes sh { to { background-position: -220% 0; } }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); font-family: "Space Grotesk", sans-serif; margin: 0 0 8px; font-size: 20px; }

/* ───────────────────────────── cta band ───────────────────────────── */

.band {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 54px 40px; border: 1px solid var(--line); background: var(--surface);
  text-align: center;
}
.band::before {
  content: ""; position: absolute; inset: 0; opacity: .17;
  background: var(--grad);
}
.band > * { position: relative; }
.band h2 { margin: 0 0 12px; font-family: "Space Grotesk", sans-serif; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -.03em; }
.band p { margin: 0 auto 26px; color: var(--ink-2); max-width: 56ch; font-size: 15.5px; line-height: 1.6; }

footer { border-top: 1px solid var(--line); padding: 34px 0; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.foot a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-right { display: none; }
  .gallery { columns: 2 150px; }
  .hero { padding: 62px 0 50px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ─────────────────────── model picker (/image, /video) ─────────────────────── */

.mhead { padding: 46px 0 30px; }
.mhead h1 {
  margin: 0 0 8px; font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.035em; font-weight: 700;
}
.mhead p { margin: 0; color: var(--muted); font-size: 15.5px; }

.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding-bottom: 70px; }

.mcard {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.mcard:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: var(--shadow); }

/* 4:5 rather than 9:16 — tall enough to read as a poster, short enough that a row of
   models stays scannable without scrolling past each one. */
.mcard-media { position: relative; aspect-ratio: 4 / 5; background: var(--bg-2); overflow: hidden; }
.mcard-media img, .mcard-media video { width: 100%; height: 100%; object-fit: cover; }
.mcard-tag {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(6,5,10,.78); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); color: var(--ink-2);
}
.mcard-tag.live { background: rgba(216,255,62,.16); border-color: rgba(216,255,62,.5); color: var(--yellow); }

.mcard-body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mcard-top h3 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 17px; letter-spacing: -.02em; }
.mcard-cost {
  display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
  font-size: 13px; font-weight: 700; color: var(--gold);
}
.mcard-cost .coin { width: 15px; height: 15px; }
.mcard-body p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; flex: 1; }
.mcard-go { font-size: 13px; font-weight: 600; color: var(--yellow); }


/* ─────────────────────── Mobile pass ───────────────────────
   Audited at 375px: no page overflowed, but controls were well under the 44px
   touch target Apple's HIG asks for (the menu button was 32x27, filter tabs 32px
   tall, footer links 17px), and several labels sat under 12px. */

.nav-account {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.05);
  color: var(--ink-2) !important;
  /* The icon shim replaces <i data-px> with an <svg> sized in em, so font-size here is
     the icon's size. It was 0, which rendered a perfectly invisible 0x0 glyph inside a
     visible circle. */
  font-size: 17px;
  transition: color .18s, border-color .18s, background .18s, transform .18s;
}
.nav-account svg, .nav-account i { width: 1em; height: 1em; display: block; }
.nav-account:hover { color: var(--ink) !important; border-color: var(--gold); background: rgba(255,197,61,.12); transform: translateY(-1px); }

@media (max-width: 760px) {
  .menu-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .menu-btn i { font-size: 20px; }
  .tabs button { min-height: 40px; padding-left: 14px; padding-right: 14px; }
  .foot a { display: inline-block; padding: 8px 4px; }
  .mobile-menu a { min-height: 46px; display: flex; align-items: center; }
  /* Anything the audit found under 12px, lifted to a comfortable reading size. */
  .reel-body p, .mcard-body p, .sec-head p { font-size: 13.5px; }
  .btn { min-height: 44px; }
  .searchbar input { min-height: 44px; }
}

/* Load-more and other async buttons: press feedback plus a disabled busy state, so a
   tap that is waiting on the network does not look like a tap that missed. */
.btn { transition: transform .16s cubic-bezier(.2,.8,.2,1), background .18s, border-color .18s, box-shadow .18s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn.is-busy { pointer-events: none; opacity: .7; }
.btn.is-busy::before {
  content: ""; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  display: inline-block; vertical-align: -2px; animation: btnspin .7s linear infinite;
}
@keyframes btnspin { to { transform: rotate(360deg); } }

/* Page entry — a short rise so navigating into a studio or page settles rather than
   snapping. Kept subtle and disabled for reduced-motion. */
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
main.wrap, .asset-wrap, .wpage { animation: pageIn .34s cubic-bezier(.2,.8,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
  .btn.is-busy::before { animation: none; }
  main.wrap, .asset-wrap, .wpage { animation: none; }
}


/* Generated tile for models with no hero artwork. */
.mcard-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700;
  font-size: 40px; letter-spacing: .04em; color: rgba(255, 255, 255, .30);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}
.mcard:hover .mcard-ph { color: rgba(255, 255, 255, .46); }
/* The LoRA tag marks models that take adapters, so it should not read as "Live". */
.mcard-tag.lora { color: var(--gold); border-color: rgba(255, 197, 61, .5); background: rgba(255, 197, 61, .12); }

/* Open-model badge — distinct from Live and LoRA so the family is obvious at a glance
   rather than something you discover by generating. */
.mcard-tag.new { color: var(--gold); border-color: rgba(255,197,61,.6); background: rgba(255,197,61,.16); }
.mcard-tag.open { color: #1A1206; border-color: rgba(255,197,61,.9);
  background: linear-gradient(180deg,#FFD469,#F5A623); font-weight: 700;
  box-shadow: 0 2px 12px -2px rgba(255,197,61,.45); }
