/* ╔══════════════════════════════════════════════════╗
   ║  SPAIRA'S DEN — Neocities Export stylesheet      ║
   ╚══════════════════════════════════════════════════╝ */

@import url('https://fonts.googleapis.com/css2?family=VT323&family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap');

/* ── Variables ── */
:root {
  --bg:      #04010a;
  --dark:    #020005;
  --deep:    #070212;
  --paper:   #0c0418;
  --scale:   #1a0840;
  --text:    #ede8ff;
  --muted:   #8272a8;
  --primary: #9b6ec9;
  --bright:  #b896e8;
  --gold:    #c8961e;
  --amber:   #f0a832;
  --border:  #3d1a6e;
  --star:    #f0ebff;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; }
html { scroll-behavior: smooth; }

/* ── Body ── */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(91,33,182,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(91,33,182,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 10%, rgba(155,110,201,0.07) 0%, transparent 45%);
  color: var(--text);
  font-family: "Share Tech Mono", "Courier New", monospace;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}*/

/* ── Scanlines ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.05) 3px, rgba(0,0,0,0.05) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* ── Starfield container ── */
#stars-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.star {
  position: absolute;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite alternate;
}
.star-bright { box-shadow: 0 0 4px 1px rgba(240,235,255,0.5); }

/* ── Typography classes ── */
.font-pixel  { font-family: 'VT323', monospace; }
.font-orbit  { font-family: 'Orbitron', sans-serif; }
.font-mono   { font-family: "Share Tech Mono", "Courier New", monospace; }

/* ── Glow utilities ── */
.glow-violet     { text-shadow: 0 0 8px rgba(155,110,201,0.9), 0 0 20px rgba(155,110,201,0.4); }
.glow-violet-sm  { text-shadow: 0 0 6px rgba(155,110,201,0.7); }
.glow-gold       { text-shadow: 0 0 8px rgba(200,150,30,0.95), 0 0 18px rgba(200,150,30,0.4); }
.glow-gold-sm    { text-shadow: 0 0 5px rgba(200,150,30,0.7); }

/* ── Panel glow ── */
.panel-glow { box-shadow: 0 0 14px rgba(91,33,182,0.18), inset 0 0 20px rgba(91,33,182,0.05); }
.panel-gold { box-shadow: 0 0 14px rgba(200,150,30,0.2), inset 0 0 20px rgba(200,150,30,0.04); }

/* ── Scale border (gradient top accent) ── */
.scale-border {
  position: relative;
  border-top: 2px solid transparent !important;
}
.scale-border::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, #c8961e 30%, #9b6ec9 60%, transparent 100%);
}

/* ── Panel base ── */
.panel {
  border: 1px solid rgba(61,26,110,0.5);
  background: var(--paper);
  margin-bottom: 20px;
  position: relative;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(61,26,110,0.4);
  background: rgba(26,8,64,0.6);
}
.panel-header.gold-header {
  border-bottom-color: rgba(200,150,30,0.25);
  background: rgba(200,150,30,0.05);
}
.panel-header-icon { font-size: 14px; }
.panel-header-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.panel-header-title.violet { color: var(--primary); text-shadow: 0 0 6px rgba(155,110,201,0.7); }
.panel-header-title.gold   { color: var(--gold);    text-shadow: 0 0 5px rgba(200,150,30,0.7); }
.panel-header.gold-border { border-color: rgba(200,150,30,0.3); }
.panel-body { padding: 20px; }

/* Window chrome (title bar) */
.win-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(200,150,30,0.2);
  background: rgba(26,8,64,0.8);
}
.win-dots { display: flex; gap: 4px; }
.win-dot { width: 10px; height: 10px; border-radius: 50%; }
.win-dot.red    { background: rgba(155,110,201,0.7); }
.win-dot.yellow { background: rgba(200,150,30,0.7); }
.win-dot.green  { background: rgba(185,150,232,0.7); }
.win-title { font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: 0.12em; color: rgba(200,150,30,0.7); }
.win-status { font-size: 11px; color: var(--muted); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(61,26,110,0.5);
  background: rgba(2,0,5,0.85);
  backdrop-filter: blur(8px);
  width: 100%;
}

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  border-bottom: 1px solid rgba(61,26,110,0.3);
  background: rgba(26,8,64,0.6);
  padding: 4px 0;
}
.ticker-text {
  display: inline-block;
  white-space: nowrap;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  color: rgba(200,150,30,0.8);
  text-shadow: 0 0 5px rgba(200,150,30,0.7);
  animation: marquee 28s linear infinite;
}

/* Logo area */
.logo-area {
  max-width: 1024px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo-img-wrap {
  position: relative;
  width: 56px; height: 56px;
  flex-shrink: 0;
  border: 1px solid rgba(200,150,30,0.3);
  background: rgba(26,8,64,0.8);
  display: flex; align-items: center; justify-content: center;
}
.logo-img { width: 44px; height: 44px; object-fit: contain; }
.logo-text { flex: 1; }
.site-title {
  font-family: 'VT323', monospace;
  font-size: 48px;
  line-height: 1;
  color: var(--primary);
  animation: glow-pulse 3s ease-in-out infinite;
}
.site-subtitle { font-size: 11px; color: rgba(200,150,30,0.8); letter-spacing: 0.1em; margin-top: 4px; }

.online-badge { display: none; text-align: right; }
.online-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; margin-right: 4px; }
.online-text { font-size: 11px; color: var(--gold); }
.level-text  { font-size: 11px; color: var(--muted); }

.hamburger {
  font-size: 20px;
  color: var(--primary);
  border: 1px solid rgba(61,26,110,0.5);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s;
}
.hamburger:hover { border-color: var(--primary); }

/* Nav */
.site-nav { max-width: 224px; margin: 0 auto; padding: 0 20px 12px; }
.nav-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  /*border: 1px solid rgba(61,26,110,0.4);*/
  background: rgba(12,4,24,0.4);
  padding: 6px 8px;
  /*box-shadow: 0 0 14px rgba(91,33,182,0.18), inset 0 0 20px rgba(91,33,182,0.05);*/
  position: relative;
}
.nav-prefix { font-size: 12px; color: rgba(200,150,30,0.5); margin-right: 4px; }
.nav-link {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  padding: 4px 12px;
  border: 1px solid rgba(61,26,110,0.3);
  color: var(--muted);
  transition: all .2s;
  white-space: nowrap;
  letter-spacing: 0.08em;
}
.nav-link:hover { border-color: rgba(155,110,201,0.6); color: var(--primary); background: rgba(155,110,201,0.1); }
.nav-link.active { background: rgba(155,110,201,0.2); border-color: rgba(200,150,30,0.6); color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); }

/* Mobile nav */
.mobile-nav {
  display: none;
  border: 1px solid rgba(61,26,110,0.5);
  background: rgba(12,4,24,0.95);
  margin: 0 20px 12px;
}
.mobile-nav a {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(61,26,110,0.2);
  color: var(--muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav a.active { color: var(--gold); background: rgba(200,150,30,0.05); }
.mobile-nav.open { display: block; }

/* ── Layout ── */
.site-main { flex: 1; position: relative; z-index: 1; }
.page-wrap  { max-width: 1024px; margin: 0 auto; padding: 24px 20px; }
.page-columns { display: flex; flex-direction: column; gap: 20px; }
.main-col { flex: 1; min-width: 600px; }

/* ── Page header ── */
.page-header {
  border: 1px solid rgba(155,110,201,0.35);
  background: var(--paper);
  margin-bottom: 20px;
  padding: 16px 20px;
  position: relative;
}
.page-header.gold-header { border-color: rgba(200,150,30,0.4); }
.page-header-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.page-header-icon { font-family: 'VT323', monospace; font-size: 28px; }
.page-header-title { font-family: 'VT323', monospace; font-size: 40px; line-height: 1; }
.page-header-title.violet { color: var(--primary); text-shadow: 0 0 8px rgba(155,110,201,0.9), 0 0 20px rgba(155,110,201,0.4); }
.page-header-title.gold   { color: var(--gold);    text-shadow: 0 0 8px rgba(200,150,30,0.95), 0 0 18px rgba(200,150,30,0.4); }
.page-header-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }

/* ── Cosmic divider ── */
.cosmic-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
}
.cosmic-divider::before, .cosmic-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(61,26,110,0.6), transparent);
}
.cosmic-divider span {
  font-family: 'VT323', monospace;
  font-size: 24px;
  color: var(--gold);
  text-shadow: 0 0 5px rgba(200,150,30,0.7);
}

/* ── Stat bars ── */
.stat-bar { margin-bottom: 12px; }
.stat-label-row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.stat-label { font-size: 11px; color: var(--muted); }
.stat-value { font-size: 11px; }
.stat-value.violet { color: var(--primary); text-shadow: 0 0 6px rgba(155,110,201,0.7); }
.stat-value.gold   { color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); }
.stat-track { height: 8px; background: var(--deep); border: 1px solid rgba(61,26,110,0.3); }
.stat-fill { height: 100%; }
.stat-fill.violet { background: var(--primary); box-shadow: 0 0 6px rgba(155,110,201,0.8); }
.stat-fill.gold   { background: var(--gold);    box-shadow: 0 0 6px rgba(200,150,30,0.8); }

/* ── Tags / badges ── */
.tag {
  display: inline-block;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  border: 1px solid rgba(200,150,30,0.3);
  color: rgba(200,150,30,0.8);
  padding: 1px 8px;
  background: rgba(200,150,30,0.05);
}
.tag-muted {
  display: inline-block;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  border: 1px solid rgba(61,26,110,0.3);
  color: var(--muted);
  padding: 1px 6px;
  background: var(--deep);
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border: 1px solid;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-gold  { border-color: rgba(200,150,30,0.6); color: var(--gold); }
.btn-gold:hover  { background: rgba(200,150,30,0.1); }
.btn-violet { border-color: rgba(155,110,201,0.5); color: var(--primary); }
.btn-violet:hover { background: rgba(155,110,201,0.15); }
.btn-muted { border-color: rgba(61,26,110,0.4); color: var(--muted); }
.btn-muted:hover { border-color: rgba(155,110,201,0.6); color: var(--primary); }

/* ── Sidebar ── */
.sidebar-col { width: 100%; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(61,26,110,0.4);
  background: rgba(2,0,5,0.8);
  margin-top: auto;
  position: relative;
  z-index: 1;
  
}
.footer-divider {
  max-width: 1024px; margin: 0 auto;
  padding: 20px 20px 0;
  display: flex; align-items: center; gap: 12px;
}
.footer-divider::before, .footer-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,150,30,0.4), transparent);
}
.footer-brand { font-family: 'VT323', monospace; font-size: 20px; color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); white-space: nowrap; animation: gold-pulse 2.5s ease-in-out infinite; }
.footer-stats-grid {
  max-width: 1024px; margin: 0 auto;
  padding: 16px 20px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.footer-stat {
  border: 1px solid rgba(61,26,110,0.4);
  background: rgba(12,4,24,0.5);
  padding: 8px 12px;
  text-align: center;
  box-shadow: 0 0 14px rgba(91,33,182,0.18), inset 0 0 20px rgba(91,33,182,0.05);
}
.footer-stat-label { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.footer-stat-value { font-family: 'VT323', monospace; font-size: 28px; color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); line-height: 1; }
.footer-bottom {
  border-top: 1px solid rgba(61,26,110,0.3);
  background: rgba(2,0,5,0.6);
}
.footer-bottom-inner {
  max-width: 1024px; margin: 0 auto;
  padding: 12px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.footer-copy  { font-size: 11px; color: rgba(130,114,168,0.7); }
.footer-quote { font-size: 11px; color: rgba(130,114,168,0.5); font-style: italic; }
.footer-status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; margin-right: 4px; }
.footer-status-text { font-size: 11px; color: rgba(200,150,30,0.8); text-shadow: 0 0 5px rgba(200,150,30,0.7); }

/* ── Sidebar inner panels ── */
.sidebar-panel {
  border: 1px solid rgba(61,26,110,0.5);
  background: var(--paper);
  margin-bottom: 16px;
  box-shadow: 0 0 14px rgba(91,33,182,0.18), inset 0 0 20px rgba(91,33,182,0.05);
  position: relative;
}
.sidebar-panel.gold { border-color: rgba(200,150,30,0.3); box-shadow: 0 0 14px rgba(200,150,30,0.2), inset 0 0 20px rgba(200,150,30,0.04); }
.sidebar-panel-header { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid rgba(61,26,110,0.4); background: rgba(26,8,64,0.6); }
.sidebar-panel.gold .sidebar-panel-header { border-bottom-color: rgba(200,150,30,0.3); background: rgba(200,150,30,0.05); }
.sidebar-panel-title { font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: 0.12em; }
.sidebar-panel-body  { padding: 12px; }
.sidebar-char-img { width: 64px; height: 64px; border: 1px solid rgba(200,150,30,0.4); overflow: hidden; background: rgba(26,8,64,0.8); }
.sidebar-char-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-char-name { font-family: 'VT323', monospace; font-size: 20px; color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); margin-top: 6px; }
.sidebar-char-sub  { font-size: 11px; color: var(--muted); }
.sidebar-link { font-size: 11px; color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); display: block; text-align: center; margin-top: 8px; white-space: nowrap; }
.sidebar-link:hover { color: var(--amber); }
.cat-list { list-style: none; }
.cat-item a, .cat-item button {
  display: flex; justify-content: space-between;
  width: 100%;
  font-size: 11px;
  padding: 4px 6px;
  color: var(--muted);
  transition: all .15s;
  white-space: nowrap;
  cursor: pointer;
  text-align: left;
  background: none; border: none; font-family: inherit;
}
.cat-item a:hover, .cat-item button:hover { color: var(--primary); background: rgba(155,110,201,0.1); }
.cat-item a.active, .cat-item button.active { color: var(--gold); background: rgba(200,150,30,0.05); }
.cat-count { color: var(--border); }
.recent-list { list-style: none; }
.recent-item { border-bottom: 1px solid rgba(61,26,110,0.2); padding-bottom: 8px; margin-bottom: 8px; }
.recent-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.recent-title { font-size: 11px; color: var(--primary); line-height: 1.4; display: block; }
.recent-title:hover { color: var(--bright); }
.recent-date  { font-size: 11px; color: var(--muted); margin-top: 2px; }
.blogroll-list { list-style: none; }
.blogroll-item { margin-bottom: 6px; }
.blogroll-item a { font-size: 11px; color: var(--primary); white-space: nowrap; transition: color .15s; }
.blogroll-item a:hover { color: var(--gold); }
.sidebar-void { border: 1px solid rgba(200,150,30,0.2); background: rgba(12,4,24,0.8); padding: 12px; text-align: center; position: relative; }
.void-title { font-family: 'VT323', monospace; font-size: 20px; color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); animation: gold-pulse 2.5s ease-in-out infinite; }
.void-sub { font-family: 'VT323', monospace; font-size: 18px; color: var(--primary); text-shadow: 0 0 6px rgba(155,110,201,0.7); }
.void-text { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* ── Form styles ── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.form-label .required { color: var(--gold); }
.form-input, .form-textarea {
  width: 100%;
  background: var(--deep);
  border: 1px solid rgba(61,26,110,0.6);
  padding: 8px 12px;
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  resize: none;
}
.form-input:focus, .form-textarea:focus { border-color: rgba(200,150,30,0.6); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(130,114,168,0.35); }
.char-count { font-size: 11px; text-align: right; color: var(--muted); margin-top: 4px; }
.char-count.warn { color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); }
.form-error { border: 1px solid rgba(155,110,201,0.4); background: rgba(155,110,201,0.05); padding: 12px; margin-bottom: 16px; }
.form-error-text { font-size: 11px; color: var(--primary); }
.success-box { border: 1px solid rgba(200,150,30,0.4); background: rgba(200,150,30,0.05); padding: 24px; text-align: center; }
.success-title { font-family: 'VT323', monospace; font-size: 32px; color: var(--gold); text-shadow: 0 0 8px rgba(200,150,30,0.95); animation: gold-pulse 2.5s ease-in-out infinite; margin-bottom: 8px; }
.success-text { font-size: 13px; color: var(--text); margin-bottom: 16px; }

/* ── Blog card ── */
.blog-card {
  border: 1px solid rgba(61,26,110,0.5);
  background: var(--paper);
  margin-bottom: 16px;
  position: relative;
  transition: border-color .2s;
  box-shadow: 0 0 14px rgba(91,33,182,0.18), inset 0 0 20px rgba(91,33,182,0.05);
}
.blog-card:hover { border-color: rgba(155,110,201,0.5); }
.blog-card-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(61,26,110,0.35);
  background: rgba(26,8,64,0.6);
}
.blog-card-meta-left { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.blog-card-id { font-size: 11px; color: var(--border); }
.blog-card-body { padding: 20px; }
.blog-card-title { font-family: 'VT323', monospace; font-size: 26px; color: var(--primary); text-shadow: 0 0 6px rgba(155,110,201,0.7); line-height: 1.2; margin-bottom: 8px; }
.blog-card-excerpt { font-size: 13px; line-height: 1.6; color: var(--text); margin-bottom: 16px; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(61,26,110,0.25); padding-top: 12px; }
.blog-card-scroll-id { font-size: 11px; color: var(--border); }

/* ── Archives ── */
.archive-year-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: rgba(26,8,64,0.8);
  cursor: pointer;
  transition: background .2s;
}
.archive-year-btn:hover { background: rgba(155,110,201,0.1); }
.archive-year-label { display: flex; align-items: center; gap: 12px; }
.archive-year-num { font-family: 'VT323', monospace; font-size: 40px; color: var(--gold); text-shadow: 0 0 8px rgba(200,150,30,0.95); line-height: 1; }
.archive-year-count { font-size: 11px; color: var(--muted); }
.archive-toggle { font-family: 'VT323', monospace; font-size: 24px; color: var(--primary); text-shadow: 0 0 6px rgba(155,110,201,0.7); }
.archive-body { display: none; border-top: 1px solid rgba(61,26,110,0.3); padding: 16px; }
.archive-body.open { display: block; }
.archive-month { margin-bottom: 16px; }
.archive-month:last-child { margin-bottom: 0; }
.archive-month-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.archive-month-name { font-family: 'Orbitron', sans-serif; font-size: 10px; color: var(--primary); text-shadow: 0 0 6px rgba(155,110,201,0.7); letter-spacing: 0.12em; }
.archive-month-count { font-size: 11px; color: var(--muted); }
.archive-month-line { flex: 1; height: 1px; background: linear-gradient(to right, rgba(61,26,110,0.4), transparent); }
.archive-post-list { border-left: 1px solid rgba(200,150,30,0.25); padding-left: 16px; }
.archive-post { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 8px; }
.archive-post:last-child { margin-bottom: 0; }
.archive-post-date { font-size: 11px; color: var(--muted); white-space: nowrap; }
.archive-post-title { font-family: 'VT323', monospace; font-size: 22px; color: var(--primary); text-shadow: 0 0 6px rgba(155,110,201,0.7); }
.archive-post-title:hover { color: var(--bright); }
.archive-post-new { font-family: 'VT323', monospace; font-size: 16px; color: var(--amber); animation: blink 1s step-start infinite; white-space: nowrap; }

/* ── Stats ledger ── */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stats-cell { padding: 16px; text-align: center; border-right: 1px solid rgba(61,26,110,0.25); border-bottom: 1px solid rgba(61,26,110,0.25); }
.stats-cell:nth-child(2n) { border-right: none; }
.stats-cell:nth-last-child(-n+2) { border-bottom: none; }
.stats-value { font-family: 'VT323', monospace; font-size: 40px; color: var(--gold); text-shadow: 0 0 8px rgba(200,150,30,0.95); line-height: 1; }
.stats-label { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ── About page ── */
.char-card-split { display: flex; flex-direction: column; gap: 20px; }
.char-portrait { text-align: center; flex-shrink: 0; }
.char-portrait-img { width: 216px; height: 400px; border: 2px solid rgba(200,150,30,0.4); overflow: hidden; margin: 0 auto; background: rgba(26,8,64,0.8); }
.char-portrait-img img { width: 100%; height: 100%; object-fit: cover; }
.char-portrait-info { margin-top: 8px; }
.char-portrait-info p { font-family: 'Orbitron', sans-serif; font-size: 10px; letter-spacing: 0.1em; line-height: 1.8; }
.char-detail { flex: 1; }
.char-who-title { font-family: 'VT323', monospace; font-size: 32px; color: var(--primary); text-shadow: 0 0 8px rgba(155,110,201,0.9); margin-bottom: 8px; }
.char-bio { font-size: 13px; line-height: 1.6; color: var(--text); margin-bottom: 8px; }
.char-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.char-tag { font-size: 11px; border: 1px solid rgba(200,150,30,0.3); color: rgba(200,150,30,0.8); padding: 2px 8px; background: rgba(200,150,30,0.05); }
.stats-two-col { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
.skills-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.skill-item { border: 1px solid rgba(61,26,110,0.3); background: var(--deep); padding: 10px 12px; transition: border-color .2s; }
.skill-item:hover { border-color: rgba(200,150,30,0.3); }
.skill-name { font-family: 'Orbitron', sans-serif; font-size: 10px; color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); margin-bottom: 4px; letter-spacing: 0.1em; }
.skill-desc { font-size: 11px; color: var(--muted); line-height: 1.4; }
.interests-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.interest-item { display: flex; align-items: flex-start; gap: 8px; border: 1px solid rgba(61,26,110,0.25); background: var(--deep); padding: 8px 12px; transition: border-color .2s; }
.interest-item:hover { border-color: rgba(155,110,201,0.4); }
.interest-icon { font-size: 16px; flex-shrink: 0; }
.interest-label { font-size: 11px; color: var(--muted); line-height: 1.4; }
.faq-item { border-left: 2px solid rgba(200,150,30,0.3); padding-left: 12px; margin-bottom: 12px; }
.faq-item:last-child { margin-bottom: 0; }

/* ── Contact cards ── */
.contact-card { display:block; background:var(--paper); text-decoration:none; transition:transform 0.15s ease, border-color 0.15s ease; border: 1px solid rgba(61,26,110,0.5); }
.contact-card:hover { transform:translateY(-2px); border-color:rgba(155,110,201,0.6); }
.contact-card-gold { border-color:rgba(200,150,30,0.4); }
.contact-card-gold:hover { border-color:rgba(200,150,30,0.7); }
.contact-card-header { display:flex; align-items:center; gap:8px; padding:6px 12px; border-bottom:1px solid rgba(61,26,110,0.4); background:rgba(30,12,60,0.6); }
.contact-card-body { padding:12px 14px; }
.contact-handle { font-family:'Share Tech Mono',monospace; font-size:13px; margin-bottom:4px; }
.contact-handle.gold { color:var(--gold); }
.contact-handle.violet { color:var(--text); }
.contact-desc { font-family:'Share Tech Mono',monospace; font-size:11px; color:var(--muted); line-height:1.5; margin-bottom:8px; }
.contact-open { font-family:'Orbitron',monospace; font-size:10px; opacity:0; transition:opacity 0.15s; display:block; }
.contact-open.gold { color:var(--gold); }
.contact-open.violet { color:var(--primary); }
.contact-card:hover .contact-open { opacity:1; }
@media(max-width:560px){ .contact-grid { grid-template-columns:1fr !important; } }
.faq-q { font-family: 'Orbitron', sans-serif; font-size: 10px; color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); margin-bottom: 2px; letter-spacing: 0.08em; }
.faq-a { font-size: 11px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Blink / NEW ── */
.blink { animation: blink 1s step-start infinite; }
.new-badge { font-family: 'VT323', monospace; font-size: 20px; color: var(--amber); text-shadow: 0 0 8px rgba(200,150,30,0.95); }

/* ── Search bar ── */
.search-bar {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(61,26,110,0.5);
  background: var(--paper);
  padding: 8px 12px;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 0 0 14px rgba(91,33,182,0.18), inset 0 0 20px rgba(91,33,182,0.05);
}
.search-prefix { font-size: 13px; color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); white-space: nowrap; }
.search-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: "Share Tech Mono", monospace; font-size: 13px;
  color: var(--text);
}
.search-input::placeholder { color: rgba(130,114,168,0.4); }
.search-clear { font-family: 'Orbitron', sans-serif; font-size: 10px; border: 1px solid rgba(61,26,110,0.4); color: var(--muted); padding: 2px 8px; cursor: pointer; transition: all .2s; white-space: nowrap; }
.search-clear:hover { border-color: var(--gold); color: var(--gold); }

/* ── Category filter ── */
.cat-filter-panel {
  border: 1px solid rgba(61,26,110,0.5); background: var(--paper);
  padding: 12px; margin-bottom: 20px;
  box-shadow: 0 0 14px rgba(91,33,182,0.18), inset 0 0 20px rgba(91,33,182,0.05);
  position: relative;
}
.cat-filter-label { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.cat-filter-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-btn {
  font-family: 'Orbitron', sans-serif; font-size: 10px;
  padding: 4px 12px; border: 1px solid rgba(61,26,110,0.35);
  color: var(--muted); cursor: pointer; transition: all .2s; white-space: nowrap;
  background: none; letter-spacing: 0.06em;
}
.cat-btn:hover { border-color: rgba(155,110,201,0.6); color: var(--primary); background: rgba(155,110,201,0.1); }
.cat-btn.active { background: rgba(200,150,30,0.1); border-color: rgba(200,150,30,0.6); color: var(--gold); text-shadow: 0 0 5px rgba(200,150,30,0.7); }

.result-count { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.empty-state { border: 1px solid rgba(61,26,110,0.5); background: var(--paper); padding: 32px; text-align: center; position: relative; box-shadow: 0 0 14px rgba(91,33,182,0.18), inset 0 0 20px rgba(91,33,182,0.05); }
.empty-title { font-family: 'VT323', monospace; font-size: 32px; color: var(--primary); text-shadow: 0 0 8px rgba(155,110,201,0.9); margin-bottom: 8px; }
.empty-sub { font-size: 13px; color: var(--muted); }

/* ── Animations ── */
@keyframes twinkle {
  0%   { opacity: 0.2; transform: scale(0.8); }
  100% { opacity: 1;   transform: scale(1.3); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 8px rgba(155,110,201,0.8), 0 0 20px rgba(155,110,201,0.3); }
  50%       { text-shadow: 0 0 16px rgba(155,110,201,1), 0 0 40px rgba(155,110,201,0.6); }
}
@keyframes gold-pulse {
  0%, 100% { text-shadow: 0 0 8px rgba(200,150,30,0.9), 0 0 20px rgba(200,150,30,0.4); }
  50%       { text-shadow: 0 0 16px rgba(200,150,30,1), 0 0 40px rgba(200,150,30,0.7); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.7; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: #04010a; }
::-webkit-scrollbar-thumb  { background: #3d1a6e; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9b6ec9; }

/* ── Utilities ── */
.text-primary { color: var(--primary); }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--muted); }
.text-text    { color: var(--text); }
.text-amber   { color: var(--amber); }
.text-center  { text-align: center; }
.d-flex       { display: flex; }
.flex-wrap    { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-4   { margin-top: 4px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mb-8   { margin-bottom: 8px; }
.mb-12  { margin-bottom: 12px; }
.mb-16  { margin-bottom: 16px; }
.mb-20  { margin-bottom: 20px; }
.hidden { display: none !important; }

/* ── Responsive ── */
@media (min-width: 640px) {
  .online-badge { display: block; }
  .hamburger    { display: none; }
  .footer-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .char-card-split { flex-direction: row; }
  .stats-two-col   { grid-template-columns: 1fr 1fr; }
  .skills-grid     { grid-template-columns: 1fr 1fr; }
  .interests-grid  { grid-template-columns: 1fr 1fr; }
  .stats-grid      { grid-template-columns: repeat(4, 1fr); }
  .stats-cell      { border-right: 1px solid rgba(61,26,110,0.25); border-bottom: none; }
  .stats-cell:nth-child(2n)       { border-right: 1px solid rgba(61,26,110,0.25); }
  .stats-cell:nth-last-child(-n+2){ border-bottom: none; }
  .stats-cell:last-child          { border-right: none; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .online-badge { display: block; }
  .hamburger    { display: none; }
  .page-columns { display: flex; flex-direction: row; }
  .page-columns-left { display: flex; flex-direction: column; }
  .sidebar-col  { width: 224px; flex-shrink: 0; }
}

#music-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20,20,20,0.6);
  border: 1px solid rgba(200,150,30,0.4);
  padding: 10px;
  border-radius: 12px;
  width: fit-content;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px rgba(200,150,30,0.3);
}

#music-widget img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
}

#music-widget .info {
  font-size: 12px;
  color: #fff;
}

#track {
  font-weight: bold;
}

#artist {
  opacity: 0.7;
}