/* ══════════════════════════════════════════════
   FletcherRenn — Deep Purple / Black Futuristic
   ══════════════════════════════════════════════ */

:root {
  --bg:          #07050f;
  --bg2:         #0e0a1a;
  --bg3:         #150f26;
  --purple:      #7c3aed;
  --purple-soft: #a855f7;
  --purple-glow: #c084fc;
  --purple-dim:  #3b1d6e;
  --accent:      #e879f9;
  --text:        #e8e0f5;
  --text-muted:  #7c6fa0;
  --border:      rgba(124, 58, 237, 0.25);
  --glass:       rgba(124, 58, 237, 0.07);
  --glass-hover: rgba(124, 58, 237, 0.14);
  --radius:      12px;
  --font-head:   'Syne', sans-serif;
  --font-mono:   'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple-dim); border-radius: 3px; }

/* ── Canvas ── */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Edit bar ── */
#edit-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--purple) 0%, #4c1d95 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 24px rgba(124,58,237,0.4);
}
#edit-bar.hidden { display: none; }
.edit-bar-label { font-weight: 700; color: #fff; }
.edit-bar-actions { display: flex; gap: 10px; }

/* ── Buttons ── */
.btn-primary {
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--purple-soft); box-shadow: 0 0 18px rgba(168,85,247,0.45); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--purple-soft); color: var(--purple-glow); }

.btn-danger {
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(220,38,38,0.4);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-danger:hover { background: rgba(220,38,38,0.35); }

.btn-add {
  background: var(--glass);
  border: 1px dashed var(--border);
  color: var(--purple-glow);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-add:hover { background: var(--glass-hover); border-color: var(--purple-soft); }

/* ── Modals ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7,5,15,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }

.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 0 60px rgba(124,58,237,0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-box.wide { max-width: 600px; }
.modal-box h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-glow);
}
.modal-hint { color: var(--text-muted); font-size: 13px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

/* ── Inputs ── */
input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-head);
  letter-spacing: 0.06em;
}

/* ── Error ── */
.error-msg {
  color: #fca5a5;
  font-size: 13px;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.25);
  padding: 8px 12px;
  border-radius: 8px;
}
.error-msg.hidden { display: none; }

/* ── Main layout ── */
main {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* ── Hero ── */
.hero { padding-top: 20px; }
.hero-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.avatar-wrap img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  object-fit: cover;
  box-shadow: 0 0 30px rgba(124,58,237,0.4);
}
.discord-badge {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: #5865F2;
}
.discord-badge.online  { background: #23a55a; }
.discord-badge.idle    { background: #f0b232; }
.discord-badge.dnd     { background: #f23f43; }
.discord-badge.offline { background: #80848e; }

.hero-text { flex: 1; min-width: 220px; }

/* Glitch name */
.glitch-name {
  font-family: var(--font-head);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  color: var(--text);
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}
.glitch-name::before,
.glitch-name::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.glitch-name::before {
  color: var(--accent);
  animation: glitch1 6s infinite;
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
}
.glitch-name::after {
  color: var(--purple-glow);
  animation: glitch2 6s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}
@keyframes glitch1 {
  0%,94%,100% { opacity:0; transform:none; }
  95% { opacity:1; transform:translate(-3px,0); }
  97% { opacity:1; transform:translate(3px,0); }
  99% { opacity:0; }
}
@keyframes glitch2 {
  0%,94%,100% { opacity:0; transform:none; }
  96% { opacity:1; transform:translate(3px,1px); }
  98% { opacity:0; }
}

.bio-text {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 480px;
}

.visitor-counter {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.counter-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple-glow);
  box-shadow: 0 0 8px var(--purple-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; }
  50% { opacity:0.3; }
}

/* ── Section ── */
.section-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.title-accent {
  color: var(--purple-soft);
  margin-right: 8px;
}

/* ── Socials ── */
.socials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.social-link:hover {
  background: var(--glass-hover);
  border-color: var(--purple-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124,58,237,0.2);
}
.social-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Widgets row ── */
.widgets-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .widgets-row { grid-template-columns: 1fr; } }

.widget {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-soft), transparent);
  opacity: 0.6;
}
.widget-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Discord widget */
.discord-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.discord-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.discord-info { flex: 1; min-width: 0; }
.discord-username {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.discord-activity {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.online  { background: #23a55a; box-shadow: 0 0 8px #23a55a; }
.status-dot.idle    { background: #f0b232; box-shadow: 0 0 8px #f0b232; }
.status-dot.dnd     { background: #f23f43; box-shadow: 0 0 8px #f23f43; }
.status-dot.offline { background: #80848e; }

.status-loading { color: var(--text-muted); font-size: 13px; }

/* Spotify widget */
.spotify-playing {
  display: flex;
  align-items: center;
  gap: 14px;
}
.spotify-art {
  width: 52px; height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.spotify-info { flex: 1; min-width: 0; }
.spotify-track {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotify-artist {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotify-progress-bar {
  margin-top: 10px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.spotify-progress-fill {
  height: 100%;
  background: #1DB954;
  border-radius: 2px;
  transition: width 1s linear;
}
.spotify-not-playing { color: var(--text-muted); font-size: 13px; }

/* ── Projects ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.project-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
}
.project-card:hover {
  border-color: var(--purple-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.2);
}
.project-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.project-desc {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11px;
  font-family: var(--font-head);
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(124,58,237,0.2);
  color: var(--purple-glow);
  border: 1px solid rgba(124,58,237,0.3);
}
.project-link {
  font-size: 12px;
  color: var(--purple-soft);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
}
.project-link:hover { color: var(--accent); }
.card-edit-actions {
  display: none;
  gap: 8px;
  margin-top: 8px;
}
.card-edit-actions button {
  flex: 1;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-head);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}
.card-edit-actions button:hover { color: var(--text); border-color: var(--purple); }
.card-edit-actions button.del { color: #fca5a5; border-color: rgba(220,38,38,0.3); }
.card-edit-actions button.del:hover { background: rgba(220,38,38,0.1); }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: var(--bg3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s, opacity 0.3s;
}
.gallery-item:hover img { transform: scale(1.06); opacity: 0.85; }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(7,5,15,0.9));
  padding: 20px 10px 8px;
  font-size: 12px;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-del-btn {
  position: absolute;
  top: 6px; right: 6px;
  background: rgba(220,38,38,0.8);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  display: none;
}

/* Lightbox */
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.7);
}

/* ── Guestbook ── */
.guestbook-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}
.guestbook-entries {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.gb-entry {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  position: relative;
  transition: border-color 0.2s;
}
.gb-entry:hover { border-color: rgba(124,58,237,0.4); }
.gb-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.gb-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--purple-glow);
}
.gb-date { font-size: 11px; color: var(--text-muted); }
.gb-message { font-size: 14px; color: var(--text-muted); }
.gb-admin-actions {
  display: none;
  gap: 8px;
  margin-top: 10px;
}
.gb-admin-actions button {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-head);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: 0.2s;
}
.gb-admin-actions .del { color: #fca5a5; border-color: rgba(220,38,38,0.3); }
.gb-admin-actions .del:hover { background: rgba(220,38,38,0.15); }
.gb-admin-actions .ban-btn { color: #fdba74; border-color: rgba(249,115,22,0.3); }
.gb-admin-actions .ban-btn:hover { background: rgba(249,115,22,0.1); }

/* ── Edit form ── */
.edit-form {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.edit-form.hidden { display: none; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Section edit controls */
.section-edit-controls {
  margin-top: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.section-edit-controls.hidden { display: none; }
.edit-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Toggle section button */
.toggle-section-btn {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-head);
  border: 1px dashed var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: 0.2s;
  white-space: nowrap;
}
.toggle-section-btn:hover { border-color: var(--purple); color: var(--purple-glow); }
.toggle-section-btn.hidden { display: none; }
.toggle-section-btn.section-hidden-state { color: #fca5a5; border-color: rgba(220,38,38,0.3); }

/* Hidden section indicator in edit mode */
.section-hidden-overlay .toggle-section-btn { pointer-events: all !important; opacity: 1 !important; }
.section-hidden-overlay {
  opacity: 0.35;
  pointer-events: none;
}
.section-hidden-banner {
  text-align: center;
  padding: 8px;
  background: rgba(220,38,38,0.1);
  border: 1px dashed rgba(220,38,38,0.3);
  border-radius: 8px;
  font-size: 12px;
  color: #fca5a5;
  font-family: var(--font-head);
  margin-bottom: 12px;
}

/* Edit-only elements */
.edit-only.hidden { display: none; }
.edit-only { display: block; }

/* ── Easter egg ── */
#easter-egg {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7,5,15,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
}
#easter-egg.hidden { display: none; }
.ee-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ee-glitch {
  font-family: var(--font-head);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 800;
  color: var(--accent);
  position: relative;
  letter-spacing: 0.05em;
  animation: ee-in 0.5s ease;
}
.ee-glitch::before,
.ee-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
}
.ee-glitch::before {
  color: var(--purple-glow);
  animation: glitch1 0.4s infinite;
}
.ee-glitch::after {
  color: #22d3ee;
  animation: glitch2 0.4s infinite;
}
@keyframes ee-in {
  from { opacity:0; transform:scale(0.8); }
  to   { opacity:1; transform:scale(1); }
}
.ee-inner p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 2;
}
.ee-inner button {
  padding: 10px 28px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.ee-inner button:hover { background: var(--purple-soft); }

/* ── Secret edit trigger ── */
#edit-trigger {
  position: fixed;
  bottom: 16px; right: 16px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(124,58,237,0.25);
  border: 1px solid rgba(124,58,237,0.4);
  cursor: pointer;
  z-index: 50;
  transition: background 0.2s, box-shadow 0.2s;
}
#edit-trigger:hover {
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-mono);
  border-top: 1px solid var(--border);
  letter-spacing: 0.06em;
}

/* ── Ban list ── */
.ban-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 8px;
}
.ban-ip { font-family: var(--font-mono); color: #fca5a5; }
.ban-unban {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-head);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: 0.2s;
}
.ban-unban:hover { color: #86efac; border-color: rgba(134,239,172,0.4); }

/* ── Animations ── */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  main { padding: 70px 16px 40px; gap: 48px; }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── PC Specs ── */
.specs-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.spec-row:hover { background: var(--glass); }
.spec-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-glow);
}
.spec-value {
  font-size: 14px;
  color: var(--text);
}
.spec-edit-btns {
  display: none;
  gap: 6px;
}
.spec-edit-btns button {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-head);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: 0.2s;
}
.spec-edit-btns .del { color: #fca5a5; border-color: rgba(220,38,38,0.3); }
.spec-edit-btns .del:hover { background: rgba(220,38,38,0.1); }

/* ── VR Setup ── */
.vr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.vr-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, transform 0.15s;
}
.vr-card:hover {
  border-color: var(--purple-soft);
  transform: translateY(-2px);
}
.vr-category {
  font-size: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-soft);
}
.vr-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.vr-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.vr-edit-btns {
  display: none;
  gap: 6px;
  margin-top: 6px;
}
.vr-edit-btns button {
  flex: 1;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-head);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: 0.2s;
}
.vr-edit-btns .del { color: #fca5a5; border-color: rgba(220,38,38,0.3); }
.vr-edit-btns .del:hover { background: rgba(220,38,38,0.1); }
