/* style.css — global styles for 33murderme */

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  --bg:           #0d0d0d;
  --bg-overlay:   rgba(0, 0, 0, 0.45);
  --surface:      #161616;
  --surface-2:    #1e1e1e;
  --border:       #2a2a2a;
  --accent:       #cc0000;
  --accent-hover: #ff1a1a;
  --accent-dim:   rgba(204, 0, 0, 0.15);
  --text:         #e8e8e8;
  --text-muted:   #888;
  --text-link:    #e05050;
  --gold:         #c8a84b;
  --font-main:    arial, helvetica, sans-serif;
  --font-mono:    'Courier New', Courier, monospace;
  --radius:       0px;
  --max-width:    1080px;
  --nav-h:        48px;
}

/* ─── Base ──────────────────────────────────────────────────── */
body {
  font-family: var(--font-main);
  font-size: 14px;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  background-image: url('../assets/hrg2.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding-bottom: 80px;
}

/* Dark overlay so text is always readable over background image */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: 0;
  pointer-events: none;
}

/* All content sits above overlay */
body > * { position: relative; z-index: 1; }

a { text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-hover); }

/* ─── Layout Wrapper ────────────────────────────────────────── */
.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px 16px;
}

/* ─── TOP NAVIGATION ────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 4px 10px;
  border: 1px solid #34447a;
  color: #34447a;
  font-size: 13px;
  font-weight: 400;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.nav-links a:hover {
  border-color: #1a2a5e;
  color: #1a2a5e;
  box-shadow: 0 0 8px rgba(52,68,122,0.3), 0 0 20px rgba(52,68,122,0.1);
}
.nav-links a.active {
  border-color: #1a2a5e;
  color: #1a2a5e;
  font-weight: 700;
}

/* Home page nav overrides — white links, black hamburger on mobile */
body:not(.board-page) .nav-links a {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
body:not(.board-page) .nav-links a:hover {
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.3), 0 0 20px rgba(255,255,255,0.1);
}
body:not(.board-page) .nav-links a.active {
  border-color: #fff;
  color: #fff;
}

body.home-page .site-nav {
  background: #f0d6b8;
  border-bottom: 1px solid #b7c5d9;
}
body.home-page .nav-links a,
body.home-page .nav-links a:hover,
body.home-page .nav-links a.active {
  border-color: #34447a;
  color: #34447a;
  box-shadow: none;
}
body.home-page .nav-links a:hover,
body.home-page .nav-links a.active {
  border-color: #1a2a5e;
  color: #1a2a5e;
}

/* Cart button in nav */
.nav-cart {
  position: relative;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.15s;
  background: none;
  border: none;
}
.nav-cart:hover { color: var(--accent); }
.cart-badge {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge.visible { display: flex; }

/* Hamburger (mobile only) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
  padding: 12px 16px;
  gap: 4px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: 12px 8px;
  font-size: 15px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover, .nav-drawer a.active { color: var(--text); }

/* Home page: 4chan-style top fade, light blue into off-white */
.home-page {
  background-color: #ffe;
  background-image: linear-gradient(to bottom, #3f78c4 0, #ffffee 320px);
  background-size: 100% 320px;
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: scroll;
}
.home-page::before { display: none; }
.home-page .site-header .artist-name { color: #800000; }
.home-page .releases-grid { grid-template-columns: repeat(4, 1fr); }

/* ─── SITE HEADER / HERO ────────────────────────────────────── */
.site-header {
  text-align: center;
  padding: 56px 16px 40px;
}

.hero-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 4px;
}

.hero-logo {
  height: clamp(48px, 8vw, 80px);
  width: auto;
  display: block;
  flex-shrink: 0;
}

.site-header .artist-name {
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  text-shadow: none;
}
.site-header .artist-name span { color: var(--accent); }

.site-header .tagline {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── MISSION STATEMENT PANEL (4chan info box style) ────────── */
.mission-panel {
  background: #fff;
  border: 1px solid #b7c5d9;
  margin-bottom: 16px;
  color: #000;
}

.mission-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #800000;
}

.mission-header h2 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.mission-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0.85;
}
.mission-close:hover { opacity: 1; }

.mission-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mission-body p {
  font-size: 13px;
  color: #000;
  line-height: 1.65;
}

/* ─── SECTION CARD (shared panel style) ─────────────────────── */
.panel {
  background: #fff;
  border: 1px solid #b7c5d9;
  border-radius: 0;
  margin-bottom: 16px;
  color: #000;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #f0d6b8;
  border-bottom: 1px solid #b7c5d9;
  border-radius: 0;
}

.panel-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #800000;
  letter-spacing: 0;
  text-transform: none;
}

.panel-header .panel-action {
  font-size: 12px;
  color: #800000;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.panel-header .panel-action:hover { color: #000; }

.panel-body { padding: 14px; color: #000; }

/* ─── SPOTLIGHT BOX (latest release / welcome) ──────────────── */
.spotlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.spotlight-art {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.spotlight-content { flex: 1; min-width: 0; }

.spotlight-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.spotlight-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}

.spotlight-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.stream-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stream-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #b7c5d9;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  background: #f0f0f0;
}
.stream-btn:hover {
  border-color: #800000;
  color: #800000;
  background: #f9eded;
}

/* ─── HOME AD BANNER ────────────────────────────────────────── */
.home-ad {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.home-ad picture {
  width: min(720px, calc(100% - 40px));
  display: block;
}
.home-ad img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .home-ad picture { width: 100%; }
}

/* ─── T-REX JUMP ────────────────────────────────────────────── */
.trex-stage {
  background: #fff;
  border: 1px solid #b7c5d9;
  padding: 12px;
  margin-bottom: 16px;
}
.trex-hud {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #800000;
}
.trex-canvas {
  width: 100%;
  height: auto;
  display: block;
  background: #f4efe4;
  border: 1px solid #b7c5d9;
  touch-action: none;
  cursor: pointer;
}
.trex-help {
  margin-top: 8px;
  font-size: 13px;
  color: #333;
}
.trex-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.trex-btn {
  background: #800000;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  min-height: 44px;
  cursor: pointer;
}
.trex-btn:hover { background: #a00000; }

/* ─── IMAGE CONVEYOR BELT ───────────────────────────────────── */
.conveyor-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: 16px;
  height: 115px;
  border: none;
  position: relative;
  clip-path: inset(0);
}


.conveyor-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: conveyor 18s linear infinite;
}

.conveyor-track img {
  height: 100%;
  width: 480px;
  object-fit: fill;
  flex-shrink: 0;
  display: block;
}

@keyframes conveyor {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── RELEASES GRID (boards equivalent) ─────────────────────── */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.release-category {
  padding: 12px 14px;
  border-right: none;
}
.release-category:last-child { border-right: none; }

.release-category h3 {
  font-size: 13px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.release-category ul { display: flex; flex-direction: column; gap: 4px; }

.release-category ul li a {
  font-size: 12px;
  color: #0000ee;
  line-height: 1.4;
  display: block;
}
.release-category ul li a:hover { color: var(--accent); text-decoration: underline; }

/* ─── POPULAR THREADS GRID ───────────────────────────────────── */
.threads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 14px;
  gap: 20px;
}

.thread-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.thread-card:hover {
  opacity: 0.85;
}

.thread-category {
  font-size: 13px;
  font-weight: 700;
  color: #800000;
  text-align: center;
}

.thread-img {
  max-width: 40%;
  height: auto;
  border: 1px solid #b7c5d9;
  display: block;
  margin: 0 auto;
}

.thread-img-wrap {
  position: relative;
  display: inline-block;
}
.thread-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.85;
}

.thread-body {
  font-size: 12px;
  color: #000;
  line-height: 1.55;
  text-align: center;
}

.thread-title {
  font-weight: 700;
  color: #800000;
}

/* ─── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 14px;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
  font-size: 13px;
  color: #000;
}

.stat-label {
  font-weight: 700;
  color: #800000;
}

.stat-value {
  font-weight: 400;
  color: #000;
}

/* ─── NEWSLETTER ───────────────────────────────────────────── */
.newsletter-body {
  padding: 14px;
  text-align: center;
}
.newsletter-body p {
  font-size: 13px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 12px;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter-input {
  padding: 8px 12px;
  border: 1px solid #b7c5d9;
  font-size: 13px;
  font-family: arial, helvetica, sans-serif;
  color: #000;
  background: #fff;
  width: 260px;
  max-width: 100%;
}
.newsletter-input:focus {
  outline: none;
  border-color: #800000;
}
.newsletter-input::placeholder {
  color: #999;
}
.newsletter-btn {
  padding: 8px 20px;
  background: #800000;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.newsletter-btn:hover {
  background: #a00;
}

/* ─── SUBSCRIBE MODAL ──────────────────────────────────────── */
.subscribe-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 400;
}
.subscribe-backdrop.open { display: block; }

.subscribe-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #b7c5d9;
  padding: 32px 28px;
  z-index: 401;
  max-width: 400px;
  width: 90%;
  text-align: center;
}
.subscribe-modal.open { display: block; }

.subscribe-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  color: #555;
  cursor: pointer;
  line-height: 1;
}
.subscribe-close:hover { color: #000; }

.subscribe-modal h3 {
  font-size: 20px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 8px;
}
.subscribe-modal p {
  font-size: 13px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.subscribe-input {
  padding: 10px 12px;
  border: 1px solid #b7c5d9;
  font-size: 14px;
  font-family: arial, helvetica, sans-serif;
  color: #000;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
.subscribe-input:focus {
  outline: none;
  border-color: #800000;
}
.subscribe-input::placeholder { color: #999; }

.subscribe-submit {
  padding: 10px;
  background: #800000;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.subscribe-submit:hover { background: #a00; }

.subscribe-success p {
  font-size: 15px;
  font-weight: 700;
  color: #117743;
}
.subscribe-error p {
  font-size: 13px;
  color: #cc0000;
  margin-top: 8px;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid #b7c5d9;
  background: rgba(255,255,255,0.95);
  padding: 20px 16px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.footer-links a {
  padding: 4px 10px;
  border: 1px solid #b7c5d9;
  font-size: 12px;
  color: #800000;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.footer-links a:hover { border-color: #800000; background: #f9eded; }

.footer-copy {
  font-size: 11px;
  color: #555;
  margin-top: 12px;
}
.footer-copy a { color: #555; text-decoration: underline; }

/* ─── RELEASES PAGE ─────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.filter-tab {
  padding: 6px 16px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  background: none;
  transition: all 0.15s;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--text);
}

.releases-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px;
}

.release-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.release-card:hover { border-color: var(--accent); }

.release-card-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface);
}

.release-card-info { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }

.release-card-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
}

.release-card-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; }
.release-card-date { font-size: 11px; color: var(--text-muted); margin-top: auto; padding-top: 4px; }

.release-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.release-card-links a,
.stream-tag {
  font-size: 11px;
  color: var(--text-muted);
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 0;
  display: inline-block;
}
.release-card-links a { color: var(--text-link); transition: all 0.15s; }
.release-card-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ─── MERCH PAGE ────────────────────────────────────────────── */
.coming-soon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  padding: 32px;
}
.coming-soon-overlay h2 {
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.coming-soon-overlay h2 span { color: var(--accent); }
.coming-soon-overlay p { font-size: 15px; color: var(--text-muted); max-width: 400px; }

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
}

.product-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.product-card:hover { border-color: var(--accent); }

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface);
}

.product-info {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-name { font-size: 14px; font-weight: 700; color: var(--text); }
.product-desc { font-size: 12px; color: var(--text-muted); flex: 1; }
.product-price { font-size: 16px; font-weight: 700; color: var(--gold); }

.btn-add-cart {
  margin: 0 12px 12px;
  padding: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-add-cart:hover { background: var(--accent-hover); }

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 360px;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.cart-drawer.open { right: 0; }

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 { font-size: 15px; font-weight: 700; }
.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.cart-close:hover { color: var(--text); }

.cart-items { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 12px; }

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
}
.cart-item img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); background: var(--bg); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.cart-item-price { font-size: 12px; color: var(--gold); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { background: var(--surface); border: 1px solid var(--border); color: var(--text); width: 24px; height: 24px; border-radius: var(--radius); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { border-color: var(--accent); }
.qty-num { font-size: 13px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 18px; padding: 4px; }
.cart-item-remove:hover { color: var(--accent); }

.cart-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-subtotal { display: flex; justify-content: space-between; font-size: 15px; }
.cart-subtotal span:last-child { font-weight: 700; color: var(--gold); }
.btn-checkout {
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.15s;
}
.btn-checkout:hover { background: var(--accent-hover); }

.cart-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }

.cart-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 299;
}
.cart-backdrop.open { display: block; }

/* ─── ABOUT PAGE ────────────────────────────────────────────── */
.about-hero {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.about-photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.about-bio { flex: 1; }
.about-bio h3 { font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.about-bio p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
}
.press-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 14px;
}
.contact-item label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); display: block; margin-bottom: 4px; }
.contact-item a { font-size: 14px; color: var(--text-link); }
.contact-item a:hover { color: var(--accent-hover); }

/* ─── PAGE TITLE AREA ───────────────────────────────────────── */
.page-title-section {
  padding: 32px 0 24px;
  text-align: center;
}
.page-title-section h1 {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.page-title-section h1 span { color: var(--accent); }
.page-title-section p { color: var(--text-muted); font-size: 13px; margin-top: 6px; }

/* ─── UTILITY ───────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }

/* ─── RELEASE DETAIL PAGE ───────────────────────────────────── */
.release-header-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 0;
  text-align: center;
}

/* Board utility links — bigger + centered (per design notes) */
.release-utility-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}
.release-utility-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.15s;
}
.release-utility-links a:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-dim);
}

/* Hero cover art */
.release-hero { margin-bottom: 16px; }
.release-hero-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  margin: 0 auto;
  display: block;
}

/* Board-style section title — /singles/ — Track Name */
.release-board-title {
  font-size: clamp(22px, 5vw, 36px);
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.2;
}
.release-board-slug { color: var(--accent); font-style: italic; }
.release-board-name { color: var(--text); }

.release-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

/* Listen Now button */
.release-listen-row { margin-bottom: 16px; }
.release-listen-btn {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  background: var(--accent-dim);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.05em;
}
.release-listen-btn:hover { background: var(--accent); color: #fff; }

/* Metadata block */
.release-meta-block {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  min-width: 300px;
}
.release-meta-item {
  font-size: 13px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.release-meta-label {
  font-weight: 700;
  color: var(--accent);
  min-width: 110px;
  flex-shrink: 0;
}
.release-meta-value { color: var(--text-muted); }
.release-meta-link  { color: var(--text-link); }
.release-meta-link:hover { color: var(--accent-hover); text-decoration: underline; }

/* Streaming links row */
.release-stream-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

/* ─── CUSTOM AUDIO PLAYER ───────────────────────────────────── */
.custom-player {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
}
.player-artwork {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}
.player-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.player-controls { flex: 1; min-width: 0; }
.player-track-name { font-size: 15px; font-weight: 700; margin-bottom: 8px; }

/* Style native audio element to fit dark theme */
audio { filter: invert(1) hue-rotate(180deg); border-radius: var(--radius); }

/* ─── THREAD / COMMENT SECTION ──────────────────────────────── */
.thread-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.thread-search {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
  color: var(--text);
  font-size: 13px;
}
.thread-search:focus { outline: none; border-color: var(--accent); }
.thread-search::placeholder { color: var(--text-muted); }

.comment-list { padding: 12px; display: flex; flex-direction: column; gap: 0; }
.comment-empty { padding: 24px; text-align: center; color: var(--text-muted); font-size: 13px; }

.comment-post {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.comment-post:last-child { border-bottom: none; }

.comment-post-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}
.comment-anon { font-weight: 700; color: var(--accent); }
.comment-date { color: var(--text-muted); }
.comment-id   { color: var(--text-muted); font-family: var(--font-mono); }
.comment-quote {
  background: none;
  border: none;
  color: var(--text-link);
  cursor: pointer;
  font-size: 12px;
  padding: 0;
}
.comment-quote:hover { color: var(--accent-hover); text-decoration: underline; }

.comment-file { margin-bottom: 8px; }
.comment-img {
  max-width: 250px;
  max-height: 250px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
}

.comment-body {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Post form */
.post-form {
  border-top: 2px solid var(--accent);
  margin: 0;
}
.post-form-header {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--accent-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-form-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }

.post-textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  padding: 10px 12px;
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
.post-textarea:focus { outline: none; border-color: var(--accent); }
.post-textarea::placeholder { color: var(--text-muted); }

.post-file-label {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.post-file-label:hover { color: var(--text); }

.post-image-preview { margin-top: 4px; }

.post-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.post-chars { font-size: 11px; color: var(--text-muted); }
.post-submit {
  padding: 8px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-submit:hover { background: var(--accent-hover); }

/* ─── BOARD SUBSECTION PAGES (4chan board layout) ────────────── */
.board-page {
  background-color: #eef2ff;
  background-image: none;
}
.board-page::before { display: none; }

.board-header-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 16px 0;
  text-align: center;
}

.board-logo-block {
  margin-bottom: 8px;
}
.board-logo-img {
  height: 100px;
  width: auto;
  display: inline-block;
}

.board-util-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 13px;
}
.board-util-links a {
  color: #800000;
  padding: 2px 4px;
}
.board-util-links a:hover { color: #e00; }
.board-util-links a.active { font-weight: 700; }

.board-title {
  font-size: 28px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.board-slug {
  font-style: italic;
}

.board-divider {
  border: none;
  border-top: 1px solid #b7c5d9;
  margin: 10px 0;
}

.board-action-row {
  margin-bottom: 10px;
  font-size: 14px;
}
.board-action-pair {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.board-action-link {
  color: #800000;
  font-weight: 700;
}
.board-action-link:hover { color: #e00; }
.board-action-dl {
  /* matches Play All — plain text link */
}

.board-info-block {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 8px;
  font-size: clamp(11px, 2vw, 13px);
  color: #555;
  line-height: 1.5;
  padding: 0 16px;
}
.board-info-item { margin-bottom: 2px; }
.board-info-date {
  color: #000;
  font-weight: 700;
  margin-right: 8px;
  font-size: clamp(11px, 2vw, 13px);
}

/* Board search + controls */
.board-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  margin-bottom: 4px;
}
.board-search {
  background: #fff;
  border: 1px solid #aaa;
  padding: 4px 8px;
  font-size: 13px;
  color: #000;
  width: 160px;
}
.board-search:focus { outline: none; border-color: #800000; }
.board-control-links a {
  font-size: 13px;
  color: #800000;
  margin-left: 4px;
}
.board-control-links a:hover { color: #e00; }

/* Thread posts */
.board-threads {
  margin-bottom: 24px;
}

.board-thread {
  margin-bottom: 0;
}

.thread-sep {
  border: none;
  border-top: 1px solid #b7c5d9;
  margin: 0;
}

.thread-op {
  display: flex;
  gap: 14px;
  padding: 12px 4px;
  align-items: flex-start;
}

.thread-file {
  flex-shrink: 0;
}

.thread-thumb {
  width: 130px;
  height: 130px;
  object-fit: cover;
  display: block;
  border: 1px solid #b7c5d9;
  background: #eee;
}

.thread-content {
  flex: 1;
  min-width: 0;
}

.thread-post-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
}

.thread-author {
  font-weight: 700;
  color: #117743;
}

.thread-date {
  color: #555;
}

.thread-no {
  color: #555;
  font-family: var(--font-mono);
}

.thread-reply-link {
  color: #800000;
  font-size: 12px;
}
.thread-reply-link:hover { color: #e00; }

.track-play-link {
  color: #800000;
  font-size: 12px;
  font-weight: 700;
}
.track-play-link:hover { color: #e00; }

.thread-post-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f0c5d;
  margin-bottom: 6px;
}

.thread-post-body {
  font-size: 13px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 8px;
}

.thread-post-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Video thread embed */
.thread-op-video {
  display: flex;
  gap: 14px;
  padding: 12px 4px;
  align-items: flex-start;
}
.thread-video {
  flex-shrink: 0;
}
.thread-video iframe {
  display: block;
  border: 1px solid #b7c5d9;
  background: #000;
}

.thread-stream-link {
  font-size: 12px;
  font-family: inherit;
  color: #800000;
  border: 1px solid #b7c5d9;
  padding: 2px 8px;
  background: transparent;
  cursor: pointer;
}
.thread-stream-link:hover {
  border-color: #800000;
  background: #f9eded;
}

/* Cookbook recipe modal */
body.recipe-modal-open {
  overflow: hidden;
}

.recipe-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.66);
}

.recipe-card {
  position: relative;
  display: flex;
  width: min(940px, 90vw);
  max-height: min(720px, calc(100vh - 48px));
  overflow: hidden;
  padding: 0;
  background: #fff;
  color: #111;
  border: 1px solid #777;
  box-shadow: 0 14px 55px rgba(0, 0, 0, 0.45);
  font-family: Arial, Helvetica, sans-serif;
}

.recipe-body {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.recipe-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.recipe-close:hover,
.recipe-close:focus {
  color: #b00000;
}

.recipe-layout {
  display: grid;
  grid-template-columns: 44% 56%;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.recipe-media {
  background: #ece9ef;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.recipe-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-details {
  padding: 34px 32px 30px;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
}

.recipe-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a6a6a;
}

.recipe-card h2 {
  margin: 0 40px 16px 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
}

.recipe-card h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.recipe-card .recipe-meta {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
}

.recipe-card ul,
.recipe-card ol {
  margin: 0;
  padding-left: 26px;
}

.recipe-card ul { list-style: disc outside; }
.recipe-card ol { list-style: decimal outside; }

.recipe-card li {
  margin: 6px 0;
  padding-left: 4px;
  font-size: 15px;
  line-height: 1.4;
}

.recipe-dismiss {
  margin-top: 20px;
  width: 100%;
  min-height: 46px;
  border: 1px solid #b7c5d9;
  background: #fff;
  color: #800000;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.recipe-dismiss:hover {
  background: #f9eded;
  border-color: #800000;
}

@media (max-width: 700px) {
  .recipe-modal { padding: 12px; }

  .recipe-card {
    width: min(940px, 96vw);
    max-height: calc(100vh - 24px);
  }

  .recipe-body { display: block; overflow-y: auto; }

  .recipe-layout {
    display: block;
  }

  .recipe-media {
    height: 200px;
  }

  .recipe-details {
    padding: 22px 20px 22px;
    overflow: visible;
  }

  .recipe-card h2 { font-size: 24px; }
  .recipe-card h3 { font-size: 17px; }
  .recipe-card .recipe-meta,
  .recipe-card li { font-size: 14px; }
}

.thread-post-meta .btn-add-cart {
  margin: 0;
  padding: 2px 8px;
  background: transparent;
  color: #800000;
  border: 1px solid #b7c5d9;
  border-radius: 0;
  font-size: 12px;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
}
.thread-post-meta .btn-add-cart:hover {
  border-color: #800000;
  background: #f9eded;
}

/* Track download link */
.track-dl-link {
  font-size: 12px;
  color: #800000;
  text-decoration: none;
  border: 1px solid #b7c5d9;
  padding: 2px 8px;
  background: #f9eded;
  font-weight: 700;
  transition: all 0.15s;
  animation: dl-pulse 2s ease-in-out 1;
}
.track-dl-link:hover {
  background: #800000;
  color: #fff;
  border-color: #800000;
}

@keyframes dl-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.4); }
  50%  { box-shadow: 0 0 8px 3px rgba(128, 0, 0, 0.25); }
  100% { box-shadow: 0 0 0 0 rgba(128, 0, 0, 0); }
}

/* ─── STICKY MUSIC PLAYER (album pages) ───────────────────────── */
.music-player {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: #d6daf0;
  border-bottom: 1px solid #b7c5d9;
  display: none;
}
.music-player.active {
  display: block;
}

.player-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  flex-wrap: nowrap;
}

.player-cover {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid #b7c5d9;
  flex-shrink: 0;
}

.player-info {
  flex: 1 1 160px;
  min-width: 0;
  overflow: hidden;
}
.player-now-title {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #0f0c5d;
  white-space: nowrap;
  overflow: hidden;
}
.player-title-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}
.player-title-text {
  display: inline-block;
  white-space: nowrap;
}
.player-title-copy { display: none; }
.player-now-title.is-overflow .player-title-copy { display: inline-block; }
.player-now-artist {
  font-size: 11px;
  color: #555;
}

.player-controls-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.player-btn {
  background: none;
  border: 1px solid #b7c5d9;
  color: #800000;
  font-size: 14px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: #f9eded;
  border-color: #800000;
}

.player-dl-btn {
  text-decoration: none;
  font-size: 16px;
}
.player-btn-play {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.player-progress-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 120px;
}

.player-time {
  font-size: 11px;
  color: #555;
  font-family: var(--font-mono);
  min-width: 32px;
  text-align: center;
}

.player-progress {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #b7c5d9;
  outline: none;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #800000;
  border-radius: 50%;
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #800000;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.player-volume-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.player-vol-icon {
  font-size: 14px;
}
.player-volume {
  width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #b7c5d9;
  outline: none;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: #800000;
  border-radius: 50%;
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #800000;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* Currently playing track highlight */
.board-thread.playing {
  background: #d6daf0;
}

/* ─── INLINE THREAD REPLIES ───────────────────────────────────── */
.reply-section {
  border-top: 1px solid #b7c5d9;
  margin: 0 4px 8px;
  padding: 8px 0 0;
}

.reply-list {
  padding: 0 8px;
}

.reply-empty {
  font-size: 12px;
  color: #888;
  padding: 8px 0;
  text-align: center;
}

.reply-post {
  padding: 8px 0;
  border-bottom: 1px dashed #c9d2e0;
}
.reply-post:last-child { border-bottom: none; }

.reply-post-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 4px;
}

.reply-quote-btn,
.reply-delete-btn {
  background: none;
  border: none;
  color: #800000;
  cursor: pointer;
  font-size: 12px;
  padding: 0;
}
.reply-quote-btn:hover { color: #e00; text-decoration: underline; }
.reply-delete-btn:hover { color: #e00; text-decoration: underline; }

.reply-you {
  font-weight: 400;
  color: #800000;
  font-size: 11px;
}

.reply-file { margin-bottom: 6px; }
.reply-img {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  border: 1px solid #b7c5d9;
  background: #eee;
  cursor: pointer;
}

.reply-body {
  font-size: 13px;
  color: #000;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Reply form */
.reply-form-wrap {
  border-top: 1px solid #b7c5d9;
  margin-top: 8px;
  padding-top: 0;
}

.reply-form-header {
  font-size: 12px;
  font-weight: 700;
  color: #800000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 8px 4px;
}

.reply-form-body {
  padding: 4px 8px 8px;
}

.reply-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #aaa;
  padding: 8px 10px;
  font-size: 13px;
  font-family: arial, helvetica, sans-serif;
  color: #000;
  resize: vertical;
  min-height: 60px;
  line-height: 1.5;
  box-sizing: border-box;
}
.reply-textarea:focus { outline: none; border-color: #800000; }
.reply-textarea::placeholder { color: #999; }

.reply-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.reply-file-label {
  font-size: 12px;
  color: #800000;
  cursor: pointer;
}
.reply-file-label:hover { color: #e00; }

.reply-chars {
  font-size: 11px;
  color: #888;
  margin-left: auto;
}

.reply-submit {
  padding: 6px 18px;
  background: #800000;
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.reply-submit:hover { background: #a00; }

.reply-img-preview {
  margin-top: 6px;
}
.reply-img-preview img {
  border: 1px solid #b7c5d9;
}
.reply-clear-img {
  background: none;
  border: none;
  color: #800000;
  cursor: pointer;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}
.reply-clear-img:hover { color: #e00; }

/* Faculty org chart */
.faculty-org-wrap {
  margin-bottom: 14px;
}

.faculty-org-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 4px 8px;
}
.faculty-org-header h2 {
  margin: 0;
  font-size: 15px;
  color: #0f0c5d;
  font-weight: 700;
}
.faculty-org-note {
  font-size: 11px;
  color: #666;
}

.faculty-org-lane {
  display: grid;
  gap: 10px;
  padding: 8px 4px;
  position: relative;
}
.faculty-org-lane-managers,
.faculty-org-lane-curators {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.faculty-org-lane-artist {
  grid-template-columns: minmax(0, 1fr);
  max-width: 360px;
  margin: 0 auto;
}

.faculty-node {
  border: 1px solid #b7c5d9;
  background: #fff;
  padding: 10px;
  position: relative;
}
.faculty-node::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 1px;
  height: 9px;
  background: #b7c5d9;
  transform: translateX(-50%);
}
.faculty-role {
  font-size: 11px;
  color: #117743;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.faculty-name {
  display: inline-block;
  color: #800000;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.faculty-name:hover {
  color: #e00;
}
.faculty-alias {
  font-size: 12px;
  color: #0f0c5d;
  margin-bottom: 6px;
}
.faculty-contact {
  font-size: 11px;
  color: #555;
  line-height: 1.45;
}
.faculty-node-featured {
  box-shadow: 0 0 0 1px #d7deea inset;
}

/* Photos board grid */
.photo-page-wrap {
  padding-bottom: 24px;
}

.photo-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

.photo-filter {
  border: 1px solid #b7c5d9;
  background: #fff;
  color: #800000;
  font-size: 12px;
  padding: 3px 8px;
  cursor: pointer;
}
.photo-filter:hover,
.photo-filter:focus-visible {
  border-color: #800000;
  background: #f9eded;
  outline: none;
}
.photo-filter.active {
  background: #800000;
  color: #fff;
  border-color: #800000;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.photo-card {
  border: 1px solid #b7c5d9;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.photo-card:hover {
  transform: translateY(-2px);
  border-color: #800000;
  box-shadow: 0 8px 22px rgba(128, 0, 0, 0.14);
}

.photo-card-open {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: #d8dfe8;
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  display: block;
}

.photo-card-open img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
}
.photo-card:hover .photo-card-open img {
  transform: scale(1.03);
}

.photo-card-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(128, 0, 0, 0) 0%, rgba(128, 0, 0, 0.24) 50%, rgba(128, 0, 0, 0) 100%);
  transform: translateY(-100%);
  transition: opacity 0.2s ease;
}
.photo-card:hover .photo-card-scanline {
  opacity: 1;
  animation: photoScan 1.5s linear infinite;
}
@keyframes photoScan {
  to { transform: translateY(100%); }
}

.photo-card-content {
  padding: 10px;
}
.photo-card-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 11px;
}
.photo-card-content h2 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #0f0c5d;
}
.photo-card-content p {
  margin: 0 0 9px;
  font-size: 12px;
  line-height: 1.45;
}

.photo-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.photo-card-actions a {
  font-size: 12px;
  color: #800000;
  border: 1px solid #b7c5d9;
  padding: 2px 7px;
}
.photo-card-actions a:hover {
  background: #f9eded;
  border-color: #800000;
}

.photo-empty {
  margin-top: 12px;
  font-size: 12px;
  color: #800000;
}

.photo-lightbox[hidden] {
  display: none;
}
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.88);
  display: grid;
  place-items: center;
  padding: 18px;
}
.photo-lightbox figure {
  margin: 0;
  max-width: min(92vw, 1100px);
}
.photo-lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid #b7c5d9;
  background: #111;
}
.photo-lightbox figcaption {
  margin-top: 8px;
  text-align: center;
  color: #dde6f5;
  font-size: 13px;
}

.photo-lightbox-close,
.photo-lightbox-nav {
  position: absolute;
  border: 1px solid #b7c5d9;
  background: #fff;
  color: #800000;
  cursor: pointer;
  font-size: 13px;
  padding: 6px 10px;
}
.photo-lightbox-close {
  top: 14px;
  right: 14px;
}
.photo-lightbox-prev {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.photo-lightbox-next {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}
