/* ═══════════════════════════════════════════════════════════════════════════
   MAIN SITE — Dashboard + Profile + Library v2
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Dashboard ─────────────────────────────────────────────────────────── */
#vc-dashboard-body { display: flex; flex-direction: column; gap: 20px; }

.vc-dash-stats-row { display: none; }
.vc-dash-stat { padding: 14px 16px; background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.10)); border-radius: 8px; text-align: center; }
.vc-dash-stat-n { font-size: 28px; font-weight: 700; color: var(--gold,#c9973a); font-family: var(--font-vhs,'Share Tech Mono',monospace); }
.vc-dash-stat-l { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--fog,rgba(255,255,255,.40)); margin-top: 3px; }

/* ════════════════════════════════════════════════════════════════
   LOCKER-STYLE CARDS — base styles (required for library grid)
   ════════════════════════════════════════════════════════════════ */
.locker-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:16px; margin-top:16px; align-items:start; }
.locker-card { position:relative; background:var(--deep,#0d0c14); border:1px solid var(--border,rgba(255,255,255,.10)); border-radius:8px; overflow:hidden; transition:border-color .18s ease, box-shadow .18s ease; cursor:pointer; width:100%; }
.locker-card:hover { border-color:rgba(201,151,58,.55); box-shadow:0 10px 24px rgba(0,0,0,.45); }
.locker-card:hover .locker-card-info, .locker-card:focus-within .locker-card-info { transform:translateY(0); opacity:1; pointer-events:auto; }
.locker-card:hover .locker-card-poster::after, .locker-card:focus-within .locker-card-poster::after { opacity:1; }
.locker-card-poster { position:relative; width:100%; aspect-ratio:3/4; display:block; overflow:hidden; background:rgba(255,255,255,.04); }
.locker-card-poster::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(5,4,7,0) 45%,rgba(5,4,7,.38) 72%,rgba(5,4,7,.75) 100%); opacity:0; transition:opacity .18s ease; pointer-events:none; }
.locker-card-poster img { width:100%; height:100%; object-fit:cover; display:block; }
.locker-card-info { position:absolute; left:0; right:0; bottom:0; z-index:2; padding:10px; background:linear-gradient(180deg,rgba(5,4,7,0) 0%,rgba(5,4,7,.90) 22%,rgba(5,4,7,.98) 100%); transform:translateY(100%); opacity:0; transition:transform .18s ease, opacity .18s ease; pointer-events:none; }
.locker-card-title { font-family:var(--font-occult,'Cinzel',serif); font-size:12px; font-weight:600; color:#e8e4dc; margin-bottom:4px; line-height:1.25; text-shadow:0 1px 2px rgba(0,0,0,.55); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.locker-card-actions { display:flex; gap:4px; justify-content:flex-end; pointer-events:auto; }
.locker-version-badge { display:inline-flex; align-items:center; gap:3px; padding:2px 6px; background:rgba(201,151,58,.10); border:1px solid rgba(201,151,58,.22); border-radius:4px; font-family:var(--font-vhs,monospace); font-size:9px; color:#d4aa6e; letter-spacing:.5px; white-space:nowrap; }
.btn-icon { width:28px; height:28px; border-radius:4px; border:1px solid var(--border,rgba(255,255,255,.10)); background:rgba(255,255,255,.06); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.15s; font-size:13px; color:#e8e4dc; }
.btn-icon:hover { border-color:var(--gold,#c9973a); background:rgba(201,151,58,.10); }
@media (hover:none) {
  .locker-card-info { transform:translateY(0); opacity:1; }
  .locker-card-poster::after { opacity:1; }
}

/* ════════════════════════════════════════════════════════════════
   DASHBOARD — Shelf row panels (Recently Added + Wishlist)
   ════════════════════════════════════════════════════════════════ */
.vc-dash-top-row { display:flex; flex-direction:column; gap:14px; margin-bottom:28px; }
.vc-dash-shelf-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:28px; }
.vc-dash-panel { background:var(--panel,rgba(255,255,255,.03)); border:1px solid var(--border,rgba(255,255,255,.10)); border-radius:10px; padding:14px 14px 12px; display:flex; flex-direction:column; gap:10px; }
.vc-dash-panel-hdr { display:flex; align-items:center; justify-content:space-between; }
.vc-dash-panel-label { font-size:9px; font-weight:700; letter-spacing:4px; text-transform:uppercase; color:var(--fog,rgba(255,255,255,.40)); }
.vc-dash-panel-empty { font-size:11px; color:var(--fog,rgba(255,255,255,.30)); font-style:italic; text-align:center; padding:12px 0; }
.vc-dash-mini-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(72px, 1fr)); gap:8px; }
.vc-dash-mini-card { cursor:pointer; border-radius:8px; overflow:hidden; transition:transform .15s, box-shadow .15s; display:flex; flex-direction:column; gap:4px; position:relative; }
.vc-dash-mini-card-badges { position:absolute; top:4px; left:4px; display:flex; flex-direction:column; gap:2px; z-index:2; }
.vc-dash-mini-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.55); }
.vc-dash-mini-card img { width:100%; aspect-ratio:3/4 !important; object-fit:cover; display:block; border-radius:8px !important; border:1px solid rgba(255,255,255,.08); }
.vc-dash-mini-card-empty { width:100%; aspect-ratio:3/4 !important; border-radius:8px !important; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); }
.vc-dash-mini-card-name { font-size:8px; color:rgba(255,255,255,.45); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding:0 2px; }
@media (max-width:600px) { .vc-dash-shelf-row { grid-template-columns:1fr; } }

/* ════════════════════════════════════════════════════════════════
   DASHBOARD — Now Playing hero + copy badges
   ════════════════════════════════════════════════════════════════ */
.vc-dash-now-playing {
  position: relative; overflow: hidden; border-radius: 14px;
  background: var(--panel, rgba(255,255,255,.04));
  border: 1px solid var(--border, rgba(255,255,255,.12));
  height: 300px;
  transition: border-color .2s, box-shadow .2s;
}
.vc-dash-now-playing:hover {
  border-color: rgba(201,151,58,.55);
  box-shadow: 0 0 32px rgba(201,151,58,.09);
}
.vc-dash-now-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 20%;
  z-index: 0; filter: blur(22px) brightness(.55) saturate(1.3); transform: scale(1.12);
}
.vc-dash-now-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.60) 42%, rgba(0,0,0,.85) 100%);
}
.vc-dash-now-content {
  position: relative; z-index: 2;
  display: flex !important; flex-direction: row !important; align-items: stretch;
  width: 100%; height: 100%;
}
.vc-dash-now-poster-wrap {
  flex-shrink: 0; display: flex; align-items: center; padding: 14px 0 14px 16px;
}
.vc-dash-now-poster {
  width: 200px; aspect-ratio: 3/4; object-fit: cover; object-position: center top;
  display: block; border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,.80), 0 2px 12px rgba(0,0,0,.50);
  border: 1px solid rgba(255,255,255,.12);
}
.vc-dash-now-poster--empty {
  width: 200px; aspect-ratio: 3/4; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.vc-dash-now-info {
  flex: 1; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 9px;
  padding: 20px 20px 22px 22px; min-width: 0;
}
.vc-dash-now-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.vc-dash-now-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 3px;
  background: rgba(6,4,10,.75); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.5);
}
.vc-dash-now-badge--playing  { border-color: rgba(82,176,0,.5); color: #7de040; }
.vc-dash-now-badge--recent   { border-color: rgba(201,151,58,.4); color: #c9973a; }
.vc-dash-now-badge--locker   { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.5); }
.vc-dash-now-badge--wishlist { border-color: rgba(160,100,240,.38); color: #b070ee; }
.vc-dash-now-title {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 32px; font-weight: 700; color: #fff; line-height: 1.1; margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.9);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc-dash-now-year {
  font-family: var(--font-vhs, monospace);
  font-size: 10px; letter-spacing: 2.5px; color: rgba(255,255,255,.42); text-transform: uppercase;
}
.vc-dash-now-stars { display: flex; align-items: center; gap: 6px; }
.vc-dash-now-stars-lbl {
  font-family: var(--font-vhs, monospace); font-size: 8px; letter-spacing: 2px;
  color: rgba(255,255,255,.32); text-transform: uppercase;
}
.vc-dash-now-star  { font-size: 15px; color: rgba(255,255,255,.18); }
.vc-dash-now-star.filled { color: var(--gold, #c9973a); text-shadow: 0 0 8px rgba(201,151,58,.5); }
.vc-dash-now-desc {
  font-family: var(--font-body, 'Crimson Text', serif); font-style: italic;
  font-size: 12px; color: rgba(255,255,255,.50); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  max-width: 480px;
}
.vc-dash-now-copies { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-np-copy-badge {
  display: inline-flex; flex-direction: column;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; padding: 7px 12px; gap: 2px; backdrop-filter: blur(8px);
}
.vc-np-copy-plat { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); line-height: 1.2; }
.vc-np-copy-fmt {
  font-family: var(--font-vhs, monospace);
  font-size: 8px; letter-spacing: 1px; color: rgba(255,255,255,.38);
  text-transform: uppercase; display: flex; align-items: center; gap: 4px;
}
.vc-np-fmt-ico { width: 11px; height: 11px; flex-shrink: 0; color: rgba(255,255,255,.65); vertical-align: middle; }
.vc-np-copy-more {
  font-family: var(--font-vhs, monospace); font-size: 9px; letter-spacing: 1px;
  color: rgba(255,255,255,.32); padding: 4px 6px; align-self: center;
}
.vc-dash-now-dots { display: flex; gap: 5px; margin-top: 2px; }
.vc-dash-now-dot  { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); cursor: pointer; transition: background .15s; }
.vc-dash-now-dot.active { background: var(--gold, #c9973a); }
.vc-dash-now-empty { align-items: center; justify-content: center; display: flex; min-height: 240px; }
.vc-dash-now-empty-msg { color: rgba(255,255,255,.30); font-size: 12px; letter-spacing: 1px; text-align: center; padding: 24px; }
.vc-dash-np-coven {
  width: 240px; flex-shrink: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 18px 18px 18px 14px; border-left: 1px solid rgba(255,255,255,.07);
}
.vc-dash-np-coven-hdr { display: flex; align-items: center; justify-content: center; }
.vc-dash-np-coven-lbl {
  font-family: var(--font-vhs, monospace); font-size: 8px; font-weight: 800; letter-spacing: 4px;
  text-transform: uppercase; color: rgba(255,255,255,.32);
}
.vc-dash-np-coven-grid { display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.vc-dash-np-coven-card { position: relative; cursor: pointer; border-radius: 7px; overflow: hidden; transition: transform .15s; }
.vc-dash-np-coven-card:hover { transform: translateY(-2px); }
.vc-dash-np-coven-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; border-radius: 7px; border: 1px solid rgba(255,255,255,.09); transition: border-color .15s; }
.vc-dash-np-coven-card:hover img { border-color: rgba(196,154,255,.50); }
.vc-dash-np-coven-cover-empty { width: 100%; aspect-ratio: 3/4; border-radius: 7px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.vc-dash-np-coven-avatar { position: absolute; top: 3px; right: 3px; font-size: 10px; background: rgba(0,0,0,.82); border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }
.vc-dash-np-coven-playing-dot { position: absolute; top: 3px; left: 3px; width: 5px; height: 5px; border-radius: 50%; background: #52b000; box-shadow: 0 0 4px #52b000; }
.vc-dash-np-coven-name { font-size: 7px; color: rgba(255,255,255,.45); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.vc-dash-np-coven-member { font-size: 7px; color: #c49aff; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-dash-np-coven-skel { width: 100%; height: 28px; border-radius: 5px; background: rgba(255,255,255,.05); animation: vcDashSkeleton 1.6s ease-in-out infinite; }
.vc-dash-np-coven-empty { color: rgba(255,255,255,.26); font-size: 10px; font-style: italic; padding: 8px 0; grid-column: 1/-1; text-align: center; }
.vc-np-coven-row { display: flex; align-items: center; gap: 8px; padding: 5px 2px; cursor: pointer; border-radius: 6px; transition: background .12s; min-width: 0; }
.vc-np-coven-row:hover { background: rgba(255,255,255,.05); padding-left: 4px; padding-right: 4px; }
.vc-np-coven-row--featured { gap: 9px; padding: 6px 2px; }
.vc-np-coven-row-cover { width: 30px; flex-shrink: 0; border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,.10); }
.vc-np-coven-row-cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.vc-np-coven-row-cover-empty { width: 100%; aspect-ratio: 3/4; background: rgba(255,255,255,.05); }
.vc-np-coven-row-pulse { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: #52b000; box-shadow: 0 0 6px #52b000; animation: vcNpPulse 2s ease-in-out infinite; }
@keyframes vcNpPulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.vc-np-coven-row-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.vc-np-coven-row-member { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-np-coven-row-game { font-size: 9px; color: rgba(255,255,255,.45); font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-np-coven-row-time { font-family: var(--font-vhs, monospace); font-size: 7px; letter-spacing: 1px; color: rgba(255,255,255,.28); text-transform: uppercase; }
.vc-np-coven-row--compact { padding: 4px 2px; gap: 6px; }
.vc-np-coven-row-avatar { font-size: 11px; flex-shrink: 0; }

#games-browse { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.vc-dash-section-label { font-size: 9px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--fog,rgba(255,255,255,.40)); display: flex; align-items: center; gap: 8px; }
.vc-dash-section-label::after { content:''; flex:1; height:1px; background: linear-gradient(90deg,var(--border,rgba(255,255,255,.12)),transparent); }

/* New Releases — horizontal scroll row of tall poster cards */
.vc-dash-hero-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.vc-dash-hero-card {
  position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 3/4;
  background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.14));
  cursor: pointer; display: flex; align-items: flex-end; transition: border-color .15s, transform .15s;
}
.vc-dash-hero-card:hover { border-color: var(--gold,#c9973a); transform: translateY(-3px); }
.vc-dash-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center top; z-index: 0; transition: opacity .4s; }
.vc-dash-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.40) 45%, transparent 75%); z-index: 1; pointer-events: none; }
.vc-dash-hero-content { position: relative; z-index: 2; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.vc-dash-hero-eyebrow { font-size: 8px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold,#c9973a); }
.vc-dash-hero-title { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .3px; text-shadow: 0 2px 8px rgba(0,0,0,.80); line-height: 1.25; }
.vc-dash-hero-meta { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.vc-dash-hero-btn { align-self: flex-start; margin-top: 8px; }

/* Trending — poster grid (bg-image overlay, same pattern as Upcoming) */
.vc-dash-poster-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
}
.vc-dash-poster-card {
  position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 3/4;
  background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.10));
  cursor: pointer; transition: border-color .15s, transform .15s; display: flex; align-items: flex-end;
}
.vc-dash-poster-card:hover { border-color: var(--gold,#c9973a); transform: translateY(-3px); }
.vc-dash-poster-cover {
  position: absolute; inset: 0; background-size: cover; background-position: center top; z-index: 0;
}
.vc-dash-poster-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.28) 50%, transparent 80%);
  z-index: 1; pointer-events: none;
}
.vc-dash-poster-info { position: relative; z-index: 2; padding: 9px 9px 8px; width: 100%; }
.vc-dash-poster-score {
  display: inline-block; margin-bottom: 4px;
  background: var(--gold,#c9973a); color: #000; border-radius: 3px;
  padding: 2px 6px; font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.vc-dash-poster-name {
  font-size: 11px; font-weight: 700; color: #fff; line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,.80);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.vc-dash-poster-genre { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 2px; }

/* Upcoming — cover card grid */
.vc-dash-upcoming-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.vc-dash-upcoming-item {
  position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 3/4;
  background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.10));
  cursor: pointer; transition: border-color .15s, transform .15s; display: flex; align-items: flex-end;
}
.vc-dash-upcoming-item:hover { border-color: var(--gold,#c9973a); transform: translateY(-3px); }
.vc-dash-upcoming-cover { position: absolute; inset: 0; background-size: cover; background-position: center top; z-index: 0; }
.vc-dash-upcoming-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.90) 0%, rgba(0,0,0,.35) 50%, transparent 80%); z-index: 1; pointer-events: none; }
.vc-dash-upcoming-info { position: relative; z-index: 2; padding: 10px 10px 9px; width: 100%; }
.vc-dash-upcoming-date {
  display: inline-block; margin-bottom: 5px;
  background: var(--gold,#c9973a); color: #000; border-radius: 3px;
  padding: 2px 6px; font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.vc-dash-upcoming-name { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.25; text-shadow: 0 1px 4px rgba(0,0,0,.80); }
.vc-dash-upcoming-meta { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.50); margin-top: 2px; }
.vc-dash-upcoming-ico { display: none; }

/* ── Profile ───────────────────────────────────────────────────────────── */
#vc-profile-body { display: flex; flex-direction: column; gap: 6px; }

.vc-prof-hero { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.10)); border-radius: 8px; margin-bottom: 6px; }
.vc-prof-avatar { width: 68px; height: 68px; border-radius: 10px; flex-shrink: 0; background: var(--panel2,rgba(255,255,255,.06)); border: 2px solid var(--border,rgba(255,255,255,.15)); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.vc-prof-name { font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--text,#e8e4dc); }
.vc-prof-gamertag { font-size: 11px; letter-spacing: 2px; color: var(--fog,rgba(255,255,255,.45)); margin-top: 2px; }
.vc-prof-email { font-size: 11px; color: var(--fog,rgba(255,255,255,.45)); margin-top: 2px; }
.vc-prof-gscore { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--gold,#c9973a); margin-top: 4px; }
.vc-prof-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 6px; }
.vc-prof-stat { padding: 10px; background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.10)); border-radius: 6px; text-align: center; }
.vc-prof-stat-n { font-size: 22px; font-weight: 700; color: var(--gold,#c9973a); }
.vc-prof-stat-l { font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: var(--fog,rgba(255,255,255,.38)); margin-top: 2px; }
.vc-prof-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.vc-prof-field label { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--fog,rgba(255,255,255,.45)); }
.vc-prof-input { background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.12)); border-radius: 6px; padding: 8px 12px; color: var(--text,#e8e4dc); font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s; }
.vc-prof-input:focus { border-color: var(--gold,#c9973a); }
.vc-prof-textarea { min-height: 64px; resize: vertical; }
.vc-prof-save-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.vc-prof-msg { font-size: 11px; letter-spacing: 1px; color: var(--gold,#c9973a); }
.vc-prof-privacy-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.10)); border-radius: 6px; cursor: pointer; margin-bottom: 10px; }
.vc-prof-privacy-row input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold,#c9973a); }
.vc-prof-priv-label { font-size: 13px; font-weight: 600; color: var(--text,#e8e4dc); }
.vc-prof-priv-desc { font-size: 10px; color: var(--fog,rgba(255,255,255,.42)); margin-top: 2px; }
.vc-prof-ach-grid { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.vc-prof-ach-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; background: var(--panel,rgba(255,255,255,.03)); border: 1px solid var(--border,rgba(255,255,255,.07)); opacity: .45; }
.vc-prof-ach-row.unlocked { opacity: 1; background: var(--panel2,rgba(255,255,255,.06)); border-color: var(--border,rgba(255,255,255,.12)); }
.vc-prof-ach-icon { font-size: 16px; width: 24px; text-align: center; }
.vc-prof-ach-name { flex: 1; font-size: 13px; font-weight: 700; color: var(--text,#e8e4dc); }
.vc-prof-ach-g { font-size: 11px; font-weight: 700; color: var(--fog,rgba(255,255,255,.25)); }
.vc-prof-ach-g.earned { color: var(--gold,#c9973a); }
.vc-prof-signout { margin-bottom: 20px; }
.vc-prof-signin { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 20px 0; }
.vc-prof-signin-msg { font-size: 14px; color: var(--fog,rgba(255,255,255,.55)); max-width: 380px; line-height: 1.6; }

/* ── Library v2 ────────────────────────────────────────────────────────── */
.vc-lib-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 4px; }
.vc-lib-filter-btn { background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.10)); border-radius: 20px; padding: 4px 12px; font-size: 11px; font-weight: 600; letter-spacing: .5px; color: var(--fog,rgba(255,255,255,.55)); cursor: pointer; font-family: inherit; transition: all .15s; }
.vc-lib-filter-btn.active, .vc-lib-filter-btn:hover { background: var(--gold-pale,rgba(201,151,58,.15)); border-color: var(--gold,#c9973a); color: var(--gold,#c9973a); }
.vc-lib-platform-row { padding-top: 2px; }
.vc-lib-pf-btn { background: var(--panel,rgba(255,255,255,.03)); border: 1px solid var(--border,rgba(255,255,255,.08)); border-radius: 4px; padding: 3px 9px; font-size: 10px; font-weight: 600; letter-spacing: .5px; color: var(--fog,rgba(255,255,255,.45)); cursor: pointer; font-family: inherit; transition: all .15s; }
.vc-lib-pf-btn.active, .vc-lib-pf-btn:hover { background: var(--gold-pale,rgba(201,151,58,.12)); border-color: var(--gold,#c9973a); color: var(--gold,#c9973a); }
.vc-lib-sort-row { display: flex; align-items: center; gap: 10px; padding: 6px 0 8px; border-bottom: 1px solid var(--border,rgba(255,255,255,.08)); margin-bottom: 4px; }
.vc-lib-count { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--fog,rgba(255,255,255,.40)); flex: 1; }
.vc-lib-sort-sel { background: var(--panel,rgba(255,255,255,.04)) !important; border: 1px solid var(--border,rgba(255,255,255,.12)) !important; border-radius: 5px; padding: 4px 8px; font-size: 11px; color: var(--text,#e8e4dc) !important; font-family: inherit; cursor: pointer; }
.vc-lib-plat-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.vc-lib-plat-tag { font-size: 8px; letter-spacing: .5px; padding: 1px 5px; border-radius: 3px; background: var(--gold-pale,rgba(201,151,58,.12)); border: 1px solid var(--gold,rgba(201,151,58,.28)); color: var(--gold,#c9973a); font-weight: 600; }
.vc-lib-edit-btn { background: rgba(0,0,0,.55) !important; color: rgba(255,255,255,.75) !important; font-size: 12px !important; }
.vc-lib-shelf-badges { position: absolute; top: 4px; left: 4px; display: flex; flex-direction: column; gap: 2px; }
.lb { font-size: 9px; font-weight: 700; padding: 1px 4px; border-radius: 3px; line-height: 1.4; }
.lb-playing  { background: rgba(255,210,80,.85); color: #2a1800; }
.lb-done     { background: rgba(130,200,140,.85); color: #0a1f0d; }
.lb-backlog  { background: rgba(160,140,255,.85); color: #100d28; }
.lb-wish     { background: rgba(255,160,80,.85);  color: #2a1200; }
.lb-drop     { background: rgba(180,80,80,.85);   color: #200808; }

/* Platform edit modal */
.vc-plat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; max-height: 280px; overflow-y: auto; margin: 10px 0; }
.vc-plat-label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text,#e8e4dc); cursor: pointer; padding: 4px 6px; border-radius: 4px; }
.vc-plat-label:hover { background: var(--panel2,rgba(255,255,255,.06)); }
.vc-plat-label input { accent-color: var(--gold,#c9973a); }

/* ── Xbox 360 blade mode — game modal text fix ───────────────────────────── */
body.vc-blade-mode #vc-game-modal,
body.vc-blade-mode .vc-game-modal-overlay {
  --text: #f0ece4;
  --fog:  rgba(240,236,228,.75);
  --dust: rgba(240,236,228,.55);
  --static: rgba(240,236,228,.40);
  color: #f0ece4;
}
body.vc-blade-mode .vc-game-modal-title    { color: #fff; }
body.vc-blade-mode .vc-game-modal-meta     { color: rgba(255,255,255,.70); }
body.vc-blade-mode .vc-game-modal-summary-text { color: rgba(240,236,228,.82); }
body.vc-blade-mode .vc-game-modal-facts-label  { color: rgba(255,255,255,.50); }
body.vc-blade-mode .vc-game-modal-facts-value  { color: rgba(255,255,255,.85); }
body.vc-blade-mode .vc-game-modal-section-label { color: rgba(255,255,255,.50); }
body.vc-blade-mode .rb { color: #fff; }

/* ── Game modal: Owned On ───────────────────────────────────────── */
.vc-modal-owned-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 0 2px; border-top: 1px solid var(--border,rgba(255,255,255,.10)); margin-top: 6px; }
.vc-modal-owned-label { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--fog,rgba(255,255,255,.40)); flex-shrink: 0; }
.vc-modal-owned-chips { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; }
.vc-owned-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); cursor: pointer; transition: all .15s; font-size: 11px; }

/* ── Owned Copies modal — "Dossier" visual pass, 2026-08-22 ────────
   Same fields/data/save-path as before; this is a visual pass only.
   Design language: case-file dossier, not a form. Gold stays the one
   accent that means "selected/active" everywhere; per-platform brand
   colors (--grp-color, from VC_PLATFORMS) are the only other hue in
   play, scoped to the platform tabs/cards themselves. ── */
.vc-copy-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(6,4,10,.86); backdrop-filter: blur(14px);
  z-index: 10100;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.vc-copy-modal-backdrop[style*="flex"] { display: flex !important; }

.vc-copy-modal {
  background: linear-gradient(180deg, rgba(21,15,34,.98), rgba(11,8,18,.98) 85%);
  border: 1px solid rgba(201,151,58,.16);
  border-radius: 16px;
  width: 780px; max-width: 96vw;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
  display: flex; flex-direction: column;
  outline: none; scrollbar-width: thin;
  position: relative;
}
.vc-copy-modal-topline {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold,#c9973a) 35%, #b23a46 68%, transparent 100%);
  border-radius: 16px 16px 0 0; flex-shrink: 0; opacity: .9;
}
.vc-copy-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 26px 18px; flex-shrink: 0; border-bottom: 1px solid rgba(201,151,58,.12);
}
.vc-copy-modal-header-text { display: flex; flex-direction: column; gap: 4px; }
.vc-copy-modal-eyebrow {
  font-family: var(--font-vhs, monospace); font-size: 9px; font-weight: 800;
  letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold, #c9973a);
  display: flex; align-items: center; gap: 8px;
}
.vc-copy-modal-eyebrow::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold, #c9973a); box-shadow: 0 0 8px var(--gold, #c9973a);
}
.vc-copy-modal-subtitle {
  font-family: var(--font-display, 'Cinzel', serif); font-size: 19px; font-weight: 800;
  color: var(--text, #e8e4dc); line-height: 1.2; letter-spacing: .2px;
}
.vc-copy-modal-x {
  width: 30px; height: 30px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.45); cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all .16s; flex-shrink: 0; margin-top: 2px;
}
.vc-copy-modal-x:hover { border-color: rgba(178,58,70,.45); color: #f0a0a8; background: rgba(122,31,43,.14); }
.vc-copy-modal-body {
  padding: 24px 26px 26px;
  display: flex; flex-direction: column; gap: 26px;
}
.vc-copy-modal-section { margin-bottom: 0; }
.vc-copy-modal-actions { display: flex; gap: 12px; margin-top: 2px; padding-top: 16px; border-top: 1px solid rgba(201,151,58,.12); }
#vc-copies-list { }

/* ── Section headers: numbered, tagged, hairline-filled ── */
.vc-copy-section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 13px; }
.vc-copy-section-head .num {
  font-family: var(--font-vhs, monospace); font-size: 10px; color: rgba(255,255,255,.28); letter-spacing: 1px;
}
.vc-copy-section-head h3 {
  margin: 0; font-family: var(--font-vhs, monospace); font-size: 10.5px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--text, #e8e4dc);
}
.vc-copy-section-head .tag {
  font-family: var(--font-vhs, monospace); font-size: 8.5px; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 20px; white-space: nowrap;
}
.vc-copy-section-head .tag.req { color: #d67680; border: 1px solid rgba(178,58,70,.4); background: rgba(122,31,43,.14); }
.vc-copy-section-head .tag.opt { color: rgba(255,255,255,.32); border: 1px solid rgba(255,255,255,.1); }
.vc-copy-section-head .fill { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(201,151,58,.16), transparent); }

.vc-copy-modal-label {
  display: block; font-family: var(--font-vhs, monospace);
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.38); margin-bottom: 8px;
}
.vc-copy-modal-input {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px; color: var(--text, #e8e4dc); font-size: 12.5px;
  padding: 10px 13px; font-family: inherit; outline: none;
  transition: border-color .15s, background .15s;
}
.vc-copy-modal-input:focus { border-color: var(--gold, #c9973a); background: rgba(201,151,58,.05); }
.vc-copy-modal-input::placeholder { color: rgba(255,255,255,.25); }
.vc-copy-notes-input { font-family: var(--font-body, 'Crimson Text', serif); font-style: italic; font-size: 14px; resize: vertical; min-height: 62px; }

/* ── Platform: segmented brand-color tabs + glossy card grid ── */
.vc-copy-plat-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.vc-copy-plat-tab {
  font-family: var(--font-vhs, monospace); font-size: 9.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 7px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,.12);
  background: transparent; color: rgba(255,255,255,.5); cursor: pointer; transition: all .16s;
}
.vc-copy-plat-tab:hover { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.25); }
.vc-copy-plat-tab.active {
  background: var(--grp-color, var(--gold, #c9973a)); border-color: var(--grp-color, var(--gold, #c9973a));
  color: #0e0912; font-weight: 800;
}
.vc-copy-plat-grid {
  display: block; max-height: 280px; overflow-y: auto; scrollbar-width: thin; padding-right: 2px;
}
.vc-copy-plat-grid::-webkit-scrollbar { width: 3px; }
.vc-copy-plat-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }
.vc-copy-plat-group-items {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 9px;
}
.vc-copy-plat-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 17px 8px 13px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px; cursor: pointer; transition: all .16s cubic-bezier(.2,.7,.3,1);
  min-width: 0; position: relative; overflow: hidden;
}
.vc-copy-plat-btn::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .18s;
  background: radial-gradient(90px 60px at 50% 0%, color-mix(in srgb, var(--grp-color, var(--gold)) 22%, transparent), transparent 70%);
}
.vc-copy-plat-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); }
.vc-copy-plat-btn:hover::before { opacity: 1; }
.vc-copy-plat-btn.active {
  border-color: var(--grp-color, rgba(201,151,58,.65));
  background: color-mix(in srgb, var(--grp-color, var(--gold)) 14%, rgba(255,255,255,.03));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--grp-color, var(--gold)) 26%, transparent);
}
.vc-copy-plat-btn.active::before { opacity: 1; }
.vc-plat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0; position: relative; z-index: 1;
  color: rgba(255,255,255,.55); transition: color .16s;
}
.vc-copy-plat-btn.active .vc-plat-icon { color: var(--grp-color, var(--gold)); }
.vc-plat-icon svg, .vc-plat-icon img { width: 26px; height: 26px; object-fit: contain; display: block; }
.vc-plat-label {
  font-family: var(--font-vhs, monospace); font-size: 9.5px; font-weight: 800;
  letter-spacing: .7px; text-align: center; color: rgba(255,255,255,.68);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
  line-height: 1.2; text-transform: uppercase; position: relative; z-index: 1;
}
.vc-copy-plat-btn.active .vc-plat-label { color: rgba(255,255,255,.97); }
.vc-plat-gen {
  display: block; font-size: 8px; color: rgba(255,255,255,.35);
  letter-spacing: 0; font-weight: 400; margin-top: 1px;
}
.vc-copy-plat-custom {
  margin-top: 10px; width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px; color: var(--text,#e8e4dc); font-size: 12.5px; padding: 10px 13px;
  font-family: inherit; outline: none;
}
.vc-copy-plat-custom:focus { border-color: var(--gold,#c9973a); }

/* ── Format: material cards ── */
.vc-copy-fmt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vc-copy-fmt-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; padding: 20px 10px 15px; text-align: center; cursor: pointer;
  border: 1px solid rgba(255,255,255,.1); border-radius: 13px; transition: all .17s cubic-bezier(.2,.7,.3,1);
  background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(255,255,255,.02) 65%);
  position: relative; overflow: hidden;
}
.vc-copy-fmt-btn[data-fmt="physical"] { background: linear-gradient(155deg, rgba(139,92,246,.09), rgba(255,255,255,.02) 65%); }
.vc-copy-fmt-btn[data-fmt="digital"]  { background: linear-gradient(155deg, rgba(56,132,255,.09), rgba(255,255,255,.02) 65%); }
.vc-copy-fmt-btn[data-fmt="gog"]      { background: linear-gradient(155deg, rgba(201,151,58,.10), rgba(255,255,255,.02) 65%); }
.vc-copy-fmt-btn:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.24); }
.vc-copy-fmt-btn.active {
  border-color: rgba(201,151,58,.6);
  box-shadow: 0 14px 32px rgba(201,151,58,.18);
}
.vc-copy-fmt-btn.active::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(201,151,58,.10), transparent 65%);
}
.vc-fmt-icon { display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.vc-fmt-icon svg { width: 34px; height: 34px; color: rgba(255,255,255,.5); }
.vc-copy-fmt-btn.active .vc-fmt-icon svg { color: var(--gold, #c9973a); }
.vc-fmt-label {
  font-family: var(--font-vhs, monospace); font-size: 10.5px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.8); position: relative; z-index: 1;
}
.vc-copy-fmt-desc { font-size: 10.5px; color: rgba(255,255,255,.38); line-height: 1.3; font-style: italic; position: relative; z-index: 1; }

/* ── Release picker: horizontal filmstrip, real cover art ── */
.vc-copy-release-grid {
  display: flex; gap: 11px; overflow-x: auto; padding: 3px 3px 8px;
  margin-bottom: 4px; scrollbar-width: thin;
}
.vc-copy-release-grid::-webkit-scrollbar { height: 4px; }
.vc-copy-release-grid::-webkit-scrollbar-thumb { background: rgba(201,151,58,.3); border-radius: 3px; }
.vc-copy-release-card {
  flex: 0 0 100px; display: flex; flex-direction: column; gap: 5px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 7px;
  background: rgba(255,255,255,.025); transition: all .18s cubic-bezier(.2,.7,.3,1); text-align: left;
}
.vc-copy-release-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.05); }
.vc-copy-release-card.active {
  border-color: var(--gold, #c9973a);
  background: linear-gradient(180deg, rgba(201,151,58,.14), rgba(255,255,255,.02));
  box-shadow: 0 10px 26px rgba(201,151,58,.18);
}
.vc-copy-release-cover {
  width: 100%; aspect-ratio: 3/4; border-radius: 7px; overflow: hidden;
  background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center;
  position: relative;
}
.vc-copy-release-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-copy-release-card.active .vc-copy-release-cover::after {
  content: '✓'; position: absolute; top: 5px; right: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold, #c9973a); color: #1a1108; font-size: 10.5px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.vc-copy-release-name {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,.82); line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vc-copy-release-kind {
  font-family: var(--font-vhs, monospace); font-size: 7.5px; letter-spacing: .5px;
  text-transform: uppercase; color: var(--gold, #c9973a);
}
.vc-copy-release-card--remaster .vc-copy-release-kind { color: #7fb8e0; }
.vc-copy-release-card--bundle { border-color: rgba(201,151,58,.28); }
.vc-copy-release-card--bundle .vc-copy-release-kind { color: #d9a441; }
.vc-copy-release-bundle-note {
  font-family: var(--font-vhs, monospace); font-size: 7px; letter-spacing: .3px;
  color: rgba(217,164,65,.85); line-height: 1.3;
}
.vc-copy-release-skel { opacity: .5; }
.vc-copy-release-empty { font-size: 11px; color: rgba(255,255,255,.35); padding: 4px 0; }

/* ── Included DLC: poster shelf, real cover art ── */
.vc-copy-dlc-checklist { display: flex; flex-wrap: wrap; gap: 10px; }
.vc-copy-dlc-card {
  flex: 0 0 118px; border-radius: 11px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03); cursor: pointer; overflow: hidden;
  transition: all .18s cubic-bezier(.2,.7,.3,1); position: relative;
}
.vc-copy-dlc-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.26); }
.vc-copy-dlc-card.active { border-color: var(--gold, #c9973a); box-shadow: 0 10px 24px rgba(201,151,58,.18); }
.vc-copy-dlc-cover { width: 100%; aspect-ratio: 3/4; position: relative; background: rgba(0,0,0,.4); }
.vc-copy-dlc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .18s; }
.vc-copy-dlc-cover .vc-copy-dlc-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; opacity: .3;
}
.vc-copy-dlc-card:not(.active) .vc-copy-dlc-cover img { filter: saturate(.45) brightness(.6); }
.vc-copy-dlc-check {
  position: absolute; top: 6px; right: 6px; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(10,7,16,.6); border: 1.5px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: transparent;
  transition: all .16s; backdrop-filter: blur(3px);
}
.vc-copy-dlc-card.active .vc-copy-dlc-check { background: var(--gold, #c9973a); border-color: var(--gold, #c9973a); color: #1a1108; }
.vc-copy-dlc-info { padding: 8px 9px 10px; }
.vc-copy-dlc-name {
  font-size: 10px; font-weight: 600; line-height: 1.3; color: rgba(255,255,255,.85); margin-bottom: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vc-copy-dlc-meta { font-family: var(--font-vhs, monospace); font-size: 7.5px; letter-spacing: .4px; text-transform: uppercase; color: rgba(255,255,255,.32); }

/* ── Edition & Franchise chips ── */
.vc-copy-edition-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0; }
.vc-copy-edition-chip, .vc-copy-franchise-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 20px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65); font-family: var(--font-vhs, monospace);
  font-size: 10px; letter-spacing: .5px; cursor: pointer; transition: all .15s;
  white-space: nowrap;
}
.vc-copy-edition-chip:hover, .vc-copy-franchise-chip:hover {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.9);
}
.vc-copy-edition-chip.active, .vc-copy-franchise-chip.active {
  background: rgba(201,151,58,.16); border-color: rgba(201,151,58,.55); color: var(--gold, #c9973a);
}

/* ── Condition: connected segmented gauge ── */
.vc-copy-cond-row { display: flex; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; overflow: hidden; }
.vc-copy-cond-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 6px; border: none; border-right: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.02); color: rgba(255,255,255,.55);
  font-family: var(--font-vhs, monospace); font-size: 9.5px; letter-spacing: .8px; text-transform: uppercase;
  cursor: pointer; transition: all .15s;
}
.vc-copy-cond-btn:last-child { border-right: none; }
.vc-copy-cond-btn .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; }
.vc-copy-cond-btn[data-cond="mint"] { color: #4ecf8a; }
.vc-copy-cond-btn[data-cond="good"] { color: #e8c468; }
.vc-copy-cond-btn[data-cond="fair"] { color: #c99a5b; }
.vc-copy-cond-btn[data-cond="poor"] { color: #b23a46; }
.vc-copy-cond-btn:hover { background: rgba(255,255,255,.06); }
.vc-copy-cond-btn:hover .dot, .vc-copy-cond-btn.active .dot { opacity: 1; }
.vc-copy-cond-btn.active { background: color-mix(in srgb, currentColor 14%, rgba(255,255,255,.02)); font-weight: 700; }

/* ── Purchase ledger ── */
.vc-copy-ledger { }
.vc-copy-purchase-toggle {
  display: flex; align-items: center; gap: 8px; background: none; border: none; width: 100%;
  color: rgba(255,255,255,.45); font-family: var(--font-vhs, monospace);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  padding: 0; transition: color .15s;
}
.vc-copy-purchase-toggle .chev { display: inline-block; transition: transform .2s; }
.vc-copy-purchase-toggle:hover { color: var(--gold, #c9973a); }
.vc-copy-ledger-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 14px 2px 2px;
}
.vc-copy-ledger-body .field { display: flex; flex-direction: column; gap: 6px; }
.vc-copy-ledger-body .field .vc-copy-modal-label { margin-bottom: 0; }

/* legacy selects kept for other uses */
/* legacy copy modal title/sub/row classes kept for other uses */
.vc-copy-modal-title { font-size: 15px; font-weight: 700; color: var(--text,#e8e4dc); margin-bottom: 4px; }
.vc-copy-modal-sub { font-size: 11px; color: var(--fog,rgba(255,255,255,.40)); margin-bottom: 14px; }
.vc-copy-row { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; background: var(--panel,rgba(255,255,255,.04)); border: 1px solid var(--border,rgba(255,255,255,.10)); border-radius: 8px; margin-bottom: 6px; }
.vc-copy-fields { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.vc-copy-plat, .vc-copy-fmt { flex: 1; min-width: 140px; background: var(--panel2,rgba(255,255,255,.06)); border: 1px solid var(--border,rgba(255,255,255,.14)); border-radius: 6px; color: var(--text,#e8e4dc); font-size: 12px; padding: 5px 8px; font-family: inherit; }
.vc-copy-notes { width: 100%; background: var(--panel2,rgba(255,255,255,.06)); border: 1px solid var(--border,rgba(255,255,255,.14)); border-radius: 6px; color: var(--text,#e8e4dc); font-size: 12px; padding: 5px 8px; font-family: inherit; }
.vc-copy-plat:focus, .vc-copy-fmt:focus, .vc-copy-notes:focus { outline: none; border-color: var(--gold,#c9973a); }
.vc-copy-remove { background: rgba(255,80,80,.12); border: 1px solid rgba(255,80,80,.25); border-radius: 5px; color: rgba(255,100,100,.80); font-size: 11px; cursor: pointer; padding: 4px 8px; flex-shrink: 0; font-family: inherit; transition: background .15s; }
.vc-copy-remove:hover { background: rgba(255,80,80,.28); }

/* ═══════════════════════════════════════════════════════════════════════════
   OWNERSHIP + COVEN LIBRARY — v4 styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Library v3 ─────────────────────────────────────────────────────────── */

/* ════════════════════════════════════════════════════════════════
   LIBRARY — locker-style grid (matches main site)
   ════════════════════════════════════════════════════════════════ */

/* Stats strip */
.vc-lib-stats-row {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 14px; margin-bottom: 4px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.08));
}
.vc-lib-stat {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 14px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border, rgba(255,255,255,.08));
  background: var(--panel, rgba(255,255,255,.03));
  transition: background .15s, border-color .15s;
}
.vc-lib-stat:hover  { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.vc-lib-stat.active { background: rgba(201,151,58,.10); border-color: rgba(201,151,58,.40); }
.vc-lib-stat-n { font-size: 18px; font-weight: 700; color: var(--text, #e8e4dc); line-height: 1; }
.vc-lib-stat-l { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fog, rgba(255,255,255,.40)); }
.vc-lib-stat.active .vc-lib-stat-n { color: var(--gold, #c9973a); }
.vc-lib-stat.active .vc-lib-stat-l { color: var(--gold-pale, #d4aa6e); }

/* Sort toolbar */
.vc-lib-toolbar {
  padding: 10px 0 14px; display: flex; flex-direction: column; gap: 8px;
}
.vc-lib-sort-pills {
  display: flex; flex-wrap: wrap; gap: 5px;
}
.vc-lib-sort-pill {
  background: var(--panel, rgba(255,255,255,.04));
  border: 1px solid var(--border, rgba(255,255,255,.10));
  border-radius: 20px; padding: 4px 12px;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  color: var(--fog, rgba(255,255,255,.50)); cursor: pointer;
  font-family: var(--font-vhs, monospace); text-transform: uppercase;
  transition: all .15s;
}
.vc-lib-sort-pill:hover { color: var(--text, #e8e4dc); border-color: rgba(255,255,255,.22); }
.vc-lib-sort-pill.active {
  background: rgba(201,151,58,.12); border-color: var(--gold, #c9973a);
  color: var(--gold, #c9973a);
}
.vc-lib-toolbar-right {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.vc-lib-count {
  font-family: var(--font-vhs, monospace); font-size: 9px; letter-spacing: 1px;
  color: var(--fog, rgba(255,255,255,.35)); text-transform: uppercase;
  margin-left: auto;
}
.vc-lib-drag-hint {
  font-family: var(--font-vhs, monospace); font-size: 9px; letter-spacing: 2px;
  color: var(--gold, #c9973a); text-align: center; opacity: .65;
  animation: vcDragHintPulse 2s ease-in-out infinite;
}
@keyframes vcDragHintPulse { 0%,100%{opacity:.45} 50%{opacity:.85} }

/* Locker-style grid for games library — always gapless poster mode */
.vc-lib-locker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1px;
  margin-top: var(--space-lg, 16px);
  align-items: start;
}
.vc-lib-poster-only.vc-lib-locker-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1px;
}
.vc-lib-poster-only .locker-card-info { display: none !important; }
/* No border-radius on cards in gapless mode */
.vc-lib-locker-grid .locker-card { border-radius: 0; border-color: transparent; background: transparent; }
.vc-lib-locker-grid .locker-card:hover { border-color: rgba(201,151,58,.55); border-radius: 3px; z-index: 2; position: relative; }

/* Override for games cards — use 2:3 poster ratio */
.vc-lib-lcard.locker-card { width: 100%; }
.vc-lib-lcard .locker-card-poster { aspect-ratio: 3/4; }

/* Badges row (shelf status) */
.vc-lib-card-badges {
  position: absolute; top: 5px; left: 5px; display: flex; flex-direction: column; gap: 3px; z-index: 2;
}
.vc-lb {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: 0;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  padding: 0;
}
.vc-lb-playing  { border-color: rgba(82,176,0,.55);   color: #7de040; background: rgba(82,176,0,.32); }
.vc-lb-done     { border-color: rgba(201,151,58,.55); color: #c9973a; background: rgba(201,151,58,.30); }
.vc-lb-backlog  { border-color: rgba(180,130,0,.45);  color: #c49a30; background: rgba(180,130,0,.28); }
.vc-lb-wish     { border-color: rgba(160,100,240,.5); color: #b070ee; background: rgba(160,100,240,.28); }
.vc-lb-drop     { border-color: rgba(180,60,60,.5);   color: #c06060; background: rgba(180,60,60,.28); }
.vc-lb-locker   { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.5); background: rgba(255,255,255,.14); }
.vc-lb-dlc      { border-color: rgba(201,151,58,.45); color: var(--gold, #c9973a); background: rgba(201,151,58,.20); font-size: 10px; }

/* Rarity badge */
.vc-lib-card-rarity-badge {
  position: absolute; bottom: 5px; left: 5px; z-index: 3;
  font-size: 8px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
}
.vc-rarity-badge--uncommon { background: rgba(201,151,58,.25); color: #f0c060; border: 1px solid rgba(201,151,58,.50); }
.vc-rarity-badge--rare     { background: rgba(80,160,255,.25); color: #80b8ff; border: 1px solid rgba(80,160,255,.50); }
.vc-rarity-badge--epic     { background: rgba(180,80,255,.25); color: #d080ff; border: 1px solid rgba(180,80,255,.55); }
.vc-rarity-badge--legendary {
  background: linear-gradient(90deg, rgba(255,60,60,.20), rgba(255,200,60,.22), rgba(60,255,120,.20));
  color: #ffe080; border: 1px solid rgba(255,200,60,.55);
}

/* Format/platform icon pills on poster */
.locker-card-format-stack {
  position: absolute; top: 6px; right: 6px; z-index: 4;
  display: flex; flex-direction: column; gap: 3px; align-items: flex-end;
}
.locker-format-icon-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 6px;
  background: rgba(5,4,7,.85); border: 1px solid rgba(201,151,58,.30);
  box-shadow: 0 2px 6px rgba(0,0,0,.40);
}
.locker-format-icon-pill img { width: 16px; height: 16px; object-fit: contain; }

/* Empty state */
.vc-lib-empty { padding: 32px; text-align: center; opacity: .4; font-size: 13px; }

/* Groups section */
.vc-lib-groups-section { margin-top: 24px; border-top: 1px solid var(--border, rgba(255,255,255,.08)); padding-top: 18px; }
.vc-lib-section-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--fog, rgba(255,255,255,.40)); }
.vc-lib-group-card { background: var(--panel, rgba(255,255,255,.03)); border: 1px solid var(--border, rgba(255,255,255,.07)); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.vc-lib-group-hdr { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.vc-lib-group-name { font-size: 13px; font-weight: 700; color: var(--text, #e8e4dc); flex: 1; }
.vc-lib-group-count { font-size: 10px; background: rgba(255,255,255,.08); border-radius: 20px; padding: 2px 8px; color: var(--fog, rgba(255,255,255,.40)); }
.vc-lib-group-covers { display: flex; flex-wrap: wrap; gap: 5px; }
.vc-lib-group-cover { width: 40px; height: 54px; object-fit: cover; border-radius: 4px; border: 1px solid rgba(255,255,255,.08); }
.vc-lib-group-cover-blank { background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; font-size: 10px; color: rgba(255,255,255,.20); }

/* View button (poster toggle) */
.vc-lib-view-btn {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border, rgba(255,255,255,.12));
  background: var(--panel, rgba(255,255,255,.04)); border-radius: 6px; cursor: pointer;
  color: var(--fog, rgba(255,255,255,.45)); transition: all .15s;
}
.vc-lib-view-btn.active, .vc-lib-view-btn:hover {
  border-color: var(--gold, #c9973a); color: var(--gold, #c9973a);
  background: rgba(201,151,58,.10);
}

/* Responsive */
@media (max-width: 600px) {
  .vc-lib-locker-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 1px; }
  .vc-lib-sort-pill { font-size: 9px; padding: 3px 8px; }
}

/* ── Site scale (UI zoom slider in Settings) ── */
.vc-games-scaled .vc-main { zoom: var(--vc-games-zoom, 1); }
.vc-games-scaled .sidebar { zoom: min(var(--vc-games-zoom, 1), 1.25); }
.vc-games-scaled .vc-game-modal { zoom: var(--vc-games-zoom, 1); }


/* ── legendary ── full rainbow foil, sweeping shimmer, permanent outer glow ── */
.vc-lib-card[data-rarity="legendary"] {
  border-color: rgba(255,200,60,.50);
  box-shadow: 0 0 16px rgba(255,200,60,.22), 0 0 4px rgba(255,120,30,.18);
  animation: vcRarityPulse 2.5s ease-in-out infinite;
}
.vc-lib-card[data-rarity="legendary"]:hover {
  box-shadow: 0 0 40px rgba(255,200,60,.50), 0 0 16px rgba(255,100,200,.30), 0 8px 28px rgba(0,0,0,.70);
  --rarity-shimmer: rgba(255,220,100,.45);
}
.vc-lib-card[data-rarity="legendary"]:hover::after {
  opacity: 1; animation: vcRarityShimmer .5s ease-out 1;
}
.vc-lib-card[data-rarity="legendary"]::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: linear-gradient(135deg,
    rgba(255,60,60,.06) 0%, rgba(255,200,60,.08) 25%,
    rgba(60,255,120,.06) 50%, rgba(60,160,255,.07) 75%,
    rgba(200,60,255,.06) 100%);
  animation: vcRarityRainbow 4s linear infinite;
}

/* ── Rarity tuner panel ── */
.vc-rarity-tuner {
  background: var(--panel, rgba(255,255,255,.04));
  border: 1px solid var(--border, rgba(255,255,255,.10));
  border-radius: 10px; padding: 14px 16px; margin-bottom: 14px;
}
.vc-rarity-tuner-hdr {
  font-size: 9px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase;
  color: var(--fog, rgba(255,255,255,.40)); margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.vc-rarity-tuner-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.vc-rarity-row {
  display: flex; align-items: center; gap: 8px;
}
.vc-rarity-swatch {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.vc-rarity-swatch--uncommon { background: #c9973a; }
.vc-rarity-swatch--rare     { background: #50a0ff; }
.vc-rarity-swatch--epic     { background: #b450ff; }
.vc-rarity-swatch--legendary{ background: linear-gradient(90deg, #ff3c3c, #ffc83c, #3cff78, #3ca0ff, #c83cff); }
.vc-rarity-label { font-size: 9px; font-weight: 700; color: rgba(255,255,255,.55); letter-spacing: 1px; min-width: 72px; }
.vc-rarity-select {
  flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  border-radius: 5px; padding: 3px 6px; font-size: 9px;
  color: rgba(255,255,255,.70); cursor: pointer;
}

/* ── Platform file icon colour filters ────────────────────────────────────
   img tags can't use fill/color, so we use filter to recolour them.
   brightness(0) makes the whole image black first, then we tint from there.
   ─────────────────────────────────────────────────────────────────────── */
.vc-plat-file-icon { display:inline-block; vertical-align:middle; }

/* PlayStation → PlayStation blue (#003087 / #00439C) */
.vc-plat-file-icon--ps {
  filter: brightness(0) saturate(100%)
    invert(14%) sepia(98%) saturate(1600%) hue-rotate(210deg) brightness(90%) contrast(110%);
}

/* Xbox, Nintendo, Steam, Epic, GOG — use as-is, no filter */

/* ── Collapse copies toggle button ── */
.vc-lib-collapse-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.55); font-family: var(--font-vhs, monospace);
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all .14s; flex-shrink: 0;
}
.vc-lib-collapse-btn:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.9); }
.vc-lib-collapse-btn.active { background: rgba(201,151,58,.12); border-color: rgba(201,151,58,.45); color: var(--gold, #c9973a); }

/* ── Copy number badge (e.g. "2/3" — shown on each copy in expanded mode) ── */
.vc-lib-copy-num-badge {
  position: absolute; top: 5px; left: 5px; z-index: 5;
  font-family: var(--font-vhs, monospace); font-size: 9px; font-weight: 800;
  letter-spacing: .5px; padding: 2px 6px; border-radius: 4px;
  background: rgba(5,4,7,.90); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.70);
}
/* Edition label — small text at bottom-left of poster */
.vc-lib-edition-badge {
  position: absolute; bottom: 5px; left: 5px; z-index: 4;
  font-family: var(--font-vhs, monospace); font-size: 8px; font-weight: 700;
  letter-spacing: .5px; padding: 2px 7px; border-radius: 4px;
  background: rgba(5,4,7,.88); border: 1px solid rgba(201,151,58,.35);
  color: rgba(201,151,58,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: calc(100% - 10px);
}
/* Copy count pill (×N) in collapsed mode */
.vc-lib-copy-count {
  font-family: var(--font-vhs, monospace); font-size: 10px; font-weight: 800;
  color: var(--gold, #c9973a); letter-spacing: .5px;
}

/* ── Franchise badge system (games locker) ── */
.vc-franchise-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(201,151,58,.10); border: 1px solid rgba(201,151,58,.3);
  font-family: var(--font-vhs); font-size: 9px; color: var(--gold);
  letter-spacing: .5px; cursor: default;
  white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis;
  pointer-events: auto;
}
.vc-franchise-badge-clickable {
  cursor: pointer !important; transition: background .15s, border-color .15s;
}
.vc-franchise-badge-clickable:hover {
  background: rgba(201,151,58,.22) !important; border-color: var(--gold) !important;
}
.vc-badge-remove {
  display: inline-block; margin-left: 2px; cursor: pointer;
  opacity: .45; font-size: 8px; line-height: 1; vertical-align: middle;
  pointer-events: auto; transition: opacity .15s, color .15s;
  background: none; border: none; padding: 0; color: inherit;
}
.vc-badge-remove:hover { opacity: 1; color: #e05; }
.vc-add-franchise-btn {
  display: inline-flex; align-items: center;
  padding: 2px 7px; border-radius: 999px;
  background: transparent; border: 1px dashed rgba(201,151,58,.3);
  font-family: var(--font-vhs); font-size: 9px; color: var(--dust);
  letter-spacing: .5px; cursor: pointer;
  transition: border-color .15s, color .15s; white-space: nowrap;
  pointer-events: auto;
}
.vc-add-franchise-btn:hover { border-color: var(--gold); color: var(--gold-pale); }

/* Franchise row inside locker card info panel */
.vc-lib-card-franchise-row {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 5px;
  min-height: 14px; pointer-events: auto;
}
/* Hide + franchise btn until hover, always show if tags exist */
.vc-lib-card-franchise-row .vc-add-franchise-btn { opacity: 0; transition: opacity .15s; }
.locker-card:hover .vc-lib-card-franchise-row .vc-add-franchise-btn,
.locker-card:focus-within .vc-lib-card-franchise-row .vc-add-franchise-btn { opacity: 1; }
.vc-lib-card-franchise-row .vc-franchise-badge ~ .vc-add-franchise-btn { opacity: 1; }

/* ── Per-copy played badge (poster overlay) ── */
.vc-lib-copy-played-badge {
  position: absolute; top: 5px; right: 5px; z-index: 6;
  font-family: var(--font-vhs); font-size: 8px; font-weight: 800; letter-spacing: 1px;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(60,200,100,.18); border: 1px solid rgba(60,200,100,.50);
  color: rgb(100,230,140);
}
/* ── Per-copy played toggle button (in card actions) ── */
.lib-copy-played-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.4); font-size: 11px; cursor: pointer;
  transition: all .14s; flex-shrink: 0;
}
.lib-copy-played-btn:hover { background: rgba(60,200,100,.15); border-color: rgba(60,200,100,.5); color: rgb(100,230,140); }
.lib-copy-played-btn.played { background: rgba(60,200,100,.18); border-color: rgba(60,200,100,.55); color: rgb(100,230,140); }

/* Subtle green tint on played copy cards */
.vc-lib-lcard.copy-played .locker-card-poster::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(40,180,80,.08) 0%, transparent 60%);
  border-radius: inherit;
}

/* ── Drag-sort handle ── */
.vc-lib-card[draggable="true"] { cursor: grab; }
.vc-lib-card[draggable="true"]:active { cursor: grabbing; }
.vc-lib-card.vc-drag-over {
  border-color: var(--gold, #c9973a) !important;
  box-shadow: 0 0 0 2px var(--gold, #c9973a) !important;
  opacity: .75;
}
.vc-lib-card.vc-drag-ghost { opacity: .3; }

/* ── Rarity badges on cards ── */
.vc-lib-card-rarity-badge {
  position: absolute; bottom: 5px; left: 5px; z-index: 3;
  font-size: 7px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; padding: 2px 6px; border-radius: 3px;
}
.vc-rarity-badge--uncommon { background: rgba(201,151,58,.25); color: #f0c060; border: 1px solid rgba(201,151,58,.50); }
.vc-rarity-badge--rare     { background: rgba(80,160,255,.25); color: #80b8ff; border: 1px solid rgba(80,160,255,.50); }
.vc-rarity-badge--epic     { background: rgba(180,80,255,.25); color: #d080ff; border: 1px solid rgba(180,80,255,.55); }
.vc-rarity-badge--legendary {
  background: linear-gradient(90deg, rgba(255,60,60,.20), rgba(255,200,60,.22), rgba(60,255,120,.20));
  color: #ffe080; border: 1px solid rgba(255,200,60,.55);
  animation: vcRarityRainbow 3s linear infinite;
}
/* ── Existing coven-related classes (keep for compatibility) ── */
.vc-coven-header { padding: 0 0 16px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.vc-coven-name { font-family: var(--font-display,'Cinzel',serif); font-size: 20px; font-weight: 700; color: var(--text); }
.vc-coven-code { font-family: var(--font-mono,'Share Tech Mono',monospace); font-size: 10px; color: var(--gold); opacity: .6; margin-top: 4px; letter-spacing: 2px; }
/* old coven card rules removed — superseded by identity cards section below */
.vc-coven-member-sub { font-size: 10px; color: var(--dust); }
.vc-coven-you { font-size: 9px; color: var(--gold); opacity: .7; }
.vc-coven-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.vc-coven-tab { font-family: var(--font-mono,'Share Tech Mono',monospace); font-size: 10px; color: var(--fog); background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 5px; padding: 5px 11px; cursor: pointer; transition: all .15s; }
.vc-coven-tab.active { background: rgba(201,151,58,.12); color: var(--gold); border-color: rgba(201,151,58,.3); }
.vc-coven-tab-count { opacity: .6; margin-left: 3px; }
.vc-coven-detail { padding-top: 20px; }
.vc-coven-detail-hdr { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.vc-coven-detail-name { font-family: var(--font-display,'Cinzel',serif); font-size: 16px; font-weight: 700; color: var(--text); }
.vc-coven-detail-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(110px,1fr)); gap: 10px; }
.vc-coven-game-card { cursor: pointer; transition: transform .12s; }
.vc-coven-game-card:hover { transform: translateY(-2px); }
.vc-coven-game-cover { aspect-ratio: 3/4; border-radius: 5px; overflow: hidden; background: var(--panel2); border: 1px solid var(--border); position: relative; }
.vc-coven-game-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-coven-game-rating { position: absolute; bottom: 4px; right: 4px; font-size: 9px; background: rgba(0,0,0,.75); color: var(--gold); padding: 1px 4px; border-radius: 3px; font-family: var(--font-mono,'Share Tech Mono',monospace); }
.vc-coven-game-info { padding: 5px 2px 0; }
.vc-coven-game-name { font-family: var(--font-display,'Cinzel',serif); font-size: 10px; font-weight: 600; color: var(--text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc-coven-game-year { font-family: var(--font-mono,'Share Tech Mono',monospace); font-size: 9px; color: var(--dust); margin-top: 2px; }
.vc-coven-member-shimmer { position: absolute; inset: 0; background: linear-gradient(90deg,transparent,rgba(255,255,255,.03),transparent); pointer-events: none; }


