/* ==========================================================================
   USER WALL — STYLESHEET  (for /wall/<slug>)
   ========================================================================== */

.wall-page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.5rem 20px 4rem;
}

.back-nav { margin-bottom: 1.5rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--site-accent);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.back-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--site-accent);
}

/* ==================== WALL HEADER ==================== */

.wall-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  box-shadow: 0 0 30px rgba(var(--site-accent-rgb), 0.18);
}

.wall-photo-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
}

.wall-photo-frame.no-photo::after {
  content: '♪';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(var(--site-accent-rgb), 0.35);
}

.wall-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.55) contrast(1.15);
  transition: filter 0.35s ease;
}

.wall-photo-frame:hover .wall-photo {
  filter: grayscale(0.1) contrast(1.2);
}

.wall-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wall-photo-frame:hover .wall-photo-overlay { opacity: 1; }

.gallery-btn {
  width: 100%;
  padding: 0.55rem;
  background: var(--site-accent);
  color: #000;
  border: none;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-btn:hover {
  background: #000;
  color: var(--site-accent);
  box-shadow: 0 0 15px var(--site-accent);
}

.wall-info h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--site-accent);
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 0 15px var(--site-accent);
}

.wall-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  background: rgba(var(--site-accent-rgb), 0.08);
  color: var(--site-accent);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.wall-about {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--site-accent);
  border-radius: 0 4px 4px 0;
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.7;
}

.wall-about-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.wall-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.30);
  border-bottom: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.30);
}

.fact {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.fact strong {
  color: var(--site-accent);
  font-weight: normal;
}

.wall-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.stat-item { text-align: left; }

.stat-value {
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--site-accent);
  text-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.5);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.wall-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.30);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(var(--site-accent-rgb), 0.1);
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--site-accent);
  color: #000;
  box-shadow: 0 0 12px var(--site-accent);
}

.social-icon { font-size: 1.1rem; }

/* ==================== SECTIONS ==================== */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
}

.section-head h2 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--site-accent);
  letter-spacing: 2px;
}

.section-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ==================== TRACK FEED ==================== */

.track-feed-section { margin-bottom: 3.5rem; }

.track-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.track-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: 0.95rem 1.1rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(var(--site-accent-rgb), 0.2);
  border-left: 3px solid var(--site-accent);
  border-radius: 4px;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.track-card:hover {
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 18px rgba(var(--site-accent-rgb), 0.18);
  transform: translateX(4px);
}

.track-cover {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--site-accent-rgb), 0.35);
  background: linear-gradient(135deg,
              rgba(var(--site-accent-rgb), 0.22) 0%,
              rgba(0, 0, 0, 0.9) 100%);
  color: var(--site-accent);
  font-size: 1.4rem;
  letter-spacing: 1px;
  flex-shrink: 0;
  border-radius: 4px;
}

.track-meta { min-width: 0; }

.track-meta h3 {
  margin: 0 0 0.3rem;
  color: var(--site-accent);
  font-size: 1.2rem;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.track-sub .plays { color: var(--site-accent); }

/* ==================== REACTIONS ==================== */

.reaction-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.emoji-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  filter: grayscale(0.65);
  opacity: 0.55;
  transition: transform 0.15s ease, opacity 0.15s ease,
              filter 0.15s ease, background 0.15s ease,
              border-color 0.15s ease;
}

.emoji-btn:hover {
  opacity: 1;
  filter: grayscale(0);
  background: rgba(var(--site-accent-rgb), 0.12);
  transform: scale(1.14);
}

.emoji-btn:focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: 2px;
}

.emoji-btn.is-on {
  opacity: 1;
  filter: grayscale(0);
  border-color: rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  background: rgba(var(--site-accent-rgb), 0.18);
  box-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.35);
}

.emoji-btn.just-hit {
  animation: emoji-pop 0.32s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes emoji-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.42); }
  100% { transform: scale(1); }
}

.emoji-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--site-accent);
  color: #000;
  font-size: 0.7rem;
  line-height: 16px;
  text-align: center;
  font-weight: bold;
  display: none;
}

.emoji-btn.is-on .emoji-count,
.emoji-btn.has-count .emoji-count { display: block; }

.reaction-row.at-limit .emoji-btn:not(.is-on) {
  opacity: 0.2;
  pointer-events: none;
}

/* ==================== APPEAL PANEL ==================== */

.appeal-panel {
  margin-bottom: 3.5rem;
  padding: 2.25rem 1.75rem;
  background: linear-gradient(135deg,
              rgba(var(--site-accent-rgb), 0.88) 0%,
              var(--site-accent) 100%);
  border: 2px solid var(--site-accent);
  color: #000;
  box-shadow: 0 0 40px rgba(var(--site-accent-rgb), 0.3);
}

.appeal-panel__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.appeal-panel__head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 3px;
  color: #000;
  text-shadow: none;
}

.appeal-panel__head p {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 1px;
  opacity: 0.85;
}

.appeal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.75rem;
}

.appeal-btn {
  position: relative;
  overflow: hidden;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.22);
  border: 2px solid #000;
  border-radius: 4px;
  color: #000;
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: 1px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.appeal-btn:hover {
  background: rgba(0, 0, 0, 0.36);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.appeal-btn:active { transform: translateY(0); }

.appeal-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.appeal-btn.cooling {
  opacity: 0.45;
  pointer-events: none;
}

.appeal-btn__cool {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: #000;
  opacity: 0.55;
}

/* ==================== APPRECIATION FEED ==================== */

.appreciation-section { margin-bottom: 3.5rem; }

.appreciation-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 420px;
  overflow-y: auto;
  padding: 6px 8px;
  border-radius: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--site-accent) #0a0a0a;
}

.appreciation-list::-webkit-scrollbar { width: 8px; }
.appreciation-list::-webkit-scrollbar-track { background: #0a0a0a; border-radius: 4px; }
.appreciation-list::-webkit-scrollbar-thumb { background: var(--site-accent); border-radius: 4px; }
.appreciation-list::-webkit-scrollbar-thumb:hover { background: #fff; }

.appreciation-entry {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: rgba(0, 0, 0, 0.5);
  border-left: 3px solid var(--site-accent);
  border-radius: 0 6px 6px 0;
  animation: appeal-slide-in 0.35s ease;
}

@keyframes appeal-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.appreciation-entry.is-pinned {
  background: rgba(var(--site-accent-rgb), 0.08);
  border-left-width: 4px;
  border-image: linear-gradient(to bottom, var(--site-accent), transparent) 1;
}

.appreciation-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.appreciation-user {
  color: var(--site-accent);
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.appreciation-text {
  color: #eee;
  font-size: 1.05rem;
  line-height: 1.5;
}

.appreciation-time {
  margin-left: 0.5rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  white-space: nowrap;
}

.appreciation-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.pin-toggle-btn { font-family: 'VT323', monospace; }
.pin-toggle-btn:hover { background: rgba(var(--site-accent-rgb), 0.15); }

/* ==================== TOAST ==================== */

.wall-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 20px);
  z-index: 9950;
  padding: 0.75rem 1.5rem;
  background: var(--site-accent);
  color: #000;
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 1px;
  border: 2px solid #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wall-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.wall-toast.err {
  background: #ff5555;
  color: #000;
}

/* ==================== CLAIM BUTTON + MODAL ==================== */

.claim-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  background: transparent;
  border: 2px solid var(--site-accent, #43ff91);
  color: var(--site-accent, #43ff91);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 2px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.claim-page-btn:hover {
  background: var(--site-accent, #43ff91);
  color: #000;
}

.claim-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.84);
}

.claim-modal-box {
  width: 100%;
  max-width: 380px;
  padding: 1.6rem;
  background: #0a0a0a;
  border: 2px solid var(--site-accent, #43ff91);
  border-radius: 6px;
  text-align: center;
}

.claim-modal-box h3 {
  margin: 0 0 0.5rem;
  color: var(--site-accent, #43ff91);
  letter-spacing: 3px;
}

.claim-modal-box p {
  margin: 0 0 1.1rem;
  color: var(--text-muted, #999);
  font-size: 0.98rem;
  line-height: 1.55;
}

#claim-code-input {
  width: 100%;
  padding: 0.85rem;
  margin-bottom: 1.1rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  color: var(--site-accent, #43ff91);
  font-family: 'VT323', monospace;
  font-size: 1.5rem;
  letter-spacing: 6px;
  text-align: center;
  text-transform: uppercase;
}

#claim-code-input:focus {
  outline: none;
  border-color: var(--site-accent, #43ff91);
}

.claim-modal-actions { display: flex; gap: 0.6rem; justify-content: center; }

.claim-modal-actions button {
  padding: 0.6rem 1.1rem;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

#claim-modal-cancel {
  background: transparent;
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  color: var(--text-muted, #999);
}

#claim-modal-go {
  background: var(--site-accent, #43ff91);
  border: 2px solid var(--site-accent, #43ff91);
  color: #000;
}

#claim-modal-go:hover {
  background: transparent;
  color: var(--site-accent, #43ff91);
}

/* ==================== MOBILE ==================== */

@media (max-width: 820px) {
  .wall-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .wall-photo-frame {
    max-width: 260px;
    margin: 0 auto;
  }

  .wall-info h1 { text-align: center; }
  .wall-badge { display: block; text-align: center; }
  .wall-about { text-align: center; margin-left: auto; margin-right: auto; }
  .wall-facts { justify-content: center; }
  .wall-stats { justify-content: center; gap: 1.75rem; }
  .stat-item { text-align: center; }
}

@media (max-width: 620px) {
  .wall-page { padding: 1.5rem 14px 3rem; }

  .track-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.85rem;
  }

  .track-cover { width: 52px; height: 52px; font-size: 1.25rem; }

  .reaction-row {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.30);
    margin-top: 0.25rem;
  }

  .emoji-btn { width: 40px; height: 40px; font-size: 1.25rem; }

  .appeal-grid { grid-template-columns: 1fr; }
  .appeal-panel { padding: 1.75rem 1.1rem; }

  .appreciation-time { display: inline; opacity: 0.8; }
}

@media (prefers-reduced-motion: reduce) {
  .emoji-btn.just-hit { animation: none; }
  .track-card:hover { transform: none; }
}

/* EDIT BUTTON */
/* editbtnflow-001 - unpinned from corner, flows in the facts row */
.edit-wall-btn {
  padding: 0.3rem 0.8rem;
  background: var(--site-accent);
  color: #000;
  border: 2px solid #000;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 2px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(var(--site-accent-rgb), 0.4);
  /* editpeek-001 (2026-11-17): z-index 9000 amputated - button flows in the
     facts row and must lose to the chat popup; edit modal (9200) keeps its z */
  transition: all 0.2s;
}

.edit-wall-btn:hover {
  background: #000;
  color: var(--site-accent);
  transform: translateY(-2px);
}

.edit-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: flex;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px 16px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.edit-modal-box {
  margin: auto;                 /* centres when it fits, scrolls when it doesn't */
  width: min(94vw, 560px);
  max-height: none;             /* the overlay scrolls, not the box */
  overflow: visible;
  background: linear-gradient(135deg, rgba(20,20,20,0.98), rgba(10,10,10,0.98));
  border: 2px solid var(--site-accent);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}

.edit-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.edit-modal-header h3 {
  margin: 0;
  color: var(--site-accent, #43ff91);
  letter-spacing: 3px;
  font-size: 1.4rem;
}

.edit-modal-header button {
  background: transparent;
  border: none;
  color: var(--text-muted, #999);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
}

.edit-modal-header button:hover {
  color: #fff;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'VT323', monospace;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--text-muted, #aaa);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  color: var(--site-accent, #43ff91);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--site-accent, #43ff91);
  box-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.3);
}

.field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted, #777);
  margin-top: 0.3rem;
}

.edit-modal-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.edit-modal-actions button {
  padding: 0.6rem 1.3rem;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

#edit-modal-cancel {
  background: transparent;
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  color: var(--text-muted, #999);
}

#edit-modal-cancel:hover {
  border-color: var(--text-muted, #777);
  color: #aaa;
}

#edit-modal-save {
  background: var(--site-accent, #43ff91);
  border: 2px solid #000;
  color: #000;
}

#edit-modal-save:hover {
  background: #000;
  color: var(--site-accent, #43ff91);
}

@media (max-width: 620px) {
  .edit-modal-box {
    max-width: 95%;
    padding: 1.25rem;
  }

  /* editbtnflow-001: coords retired; let it shrink with the row */
  .edit-wall-btn {
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
  }
}

/* ========== WALL PAGE HARMONIZATION WITH ARTIST PAGES ========== */

/* Match artist-header grid and spacing */
.wall-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  box-shadow: 0 0 30px rgba(var(--site-accent-rgb), 0.18);
}

/* Make wall-photo match artist-photo style */
.wall-photo-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  filter: grayscale(0.55) contrast(1.15);
  transition: filter 0.35s ease;
}

.wall-header:hover .wall-photo-frame {
  filter: grayscale(0.1) contrast(1.2);
}

/* Add genre-like badge for wall */
.wall-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  background: rgba(var(--site-accent-rgb), 0.08);
  color: var(--site-accent);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* Style facts row like artist page */
.wall-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.30);
  border-bottom: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.30);
}

.fact {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.fact strong {
  color: var(--site-accent);
  font-weight: normal;
}

/* Add social links in wall header (match artist) */
.wall-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.30);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(var(--site-accent-rgb), 0.1);
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--site-accent);
  color: #000;
  box-shadow: 0 0 12px var(--site-accent);
}

/* Match track cards exactly */
.track-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: 0.95rem 1.1rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(var(--site-accent-rgb), 0.2);
  border-left: 3px solid var(--site-accent);
  border-radius: 4px;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.track-card:hover {
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 18px rgba(var(--site-accent-rgb), 0.18);
  transform: translateX(4px);
}

/* Match appeal panel gradient */
.appeal-panel {
  margin-bottom: 3.5rem;
  padding: 2.25rem 1.75rem;
  background: linear-gradient(135deg,
              rgba(var(--site-accent-rgb), 0.88) 0%,
              var(--site-accent) 100%);
  border: 2px solid var(--site-accent);
  color: #000;
  box-shadow: 0 0 40px rgba(var(--site-accent-rgb), 0.3);
}

/* Responsive matching */
@media (max-width: 820px) {
  .wall-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .wall-photo-frame {
    max-width: 260px;
    margin: 0 auto;
  }

  .wall-info h1,
  .wall-badge,
  .wall-about,
  .wall-facts,
  .wall-stats {
    text-align: center;
  }
}




/* ==========================================================================
   WALL STATUS BANNER
   Fixed palette — deliberately independent of --site-accent, because the
   accent recolours with the mix theme and status must stay readable.
   ========================================================================== */

.wall-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.7rem 1.1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid currentColor;
  border-left-width: 6px;
  border-radius: 4px;
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00ff00;
  box-shadow: 0 0 18px -4px currentColor;
}

.wall-status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  flex-shrink: 0;
  animation: status-pulse calc(var(--pulse-tempo, 4s) * 0.75) ease-in-out infinite;
}

.wall-status__label { color: currentColor; }

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* --- Variants ------------------------------------------------------------ */
.wall-status.is-unclaimed { color: #ff2fa0; }  /* magenta — matches --live-pink */
.wall-status.is-heaven    { color: #00e5ff; }  /* cyan */
.wall-status.is-legal     { color: #ff8c00; }  /* orange — matches slideshow btn */
.wall-status.is-claimed   { color: #00ff00; }  /* bright green */

/* Urgency in the pulse rate, not the colour */
.wall-status.is-legal .wall-status__dot     { animation-duration: calc(var(--pulse-tempo, 4s) * 0.45); }
.wall-status.is-unclaimed .wall-status__dot { animation-duration: calc(var(--pulse-tempo, 4s) * 0.7); }

@media (prefers-reduced-motion: reduce) {
  .wall-status__dot { animation: none; }
}

/* --- Declined: bright red ------------------------------------------------ */
.wall-status.is-declined { color: #ff1f1f; }
.wall-status.is-declined .wall-status__dot { animation-duration: calc(var(--pulse-tempo, 4s) * 0.5); }

/* --- Memorial: steady, quieter shell ------------------------------------- */
.wall-status.is-heaven {
  color: #00e5ff;
  border-left-width: 3px;
  box-shadow: none;
  background: rgba(0, 229, 255, 0.06);
}

.wall-status.is-heaven .wall-status__dot {
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  animation: none;
  font-size: 1rem;
  line-height: 1;
}

.wall-status.is-heaven .wall-status__dot::before {
  content: '✦';
  text-shadow: 0 0 8px currentColor;
}

/* --- Test affordance (remove with STATUS_TEST_MODE) ---------------------- */
.wall-status.is-testable {
  cursor: pointer;
  user-select: none;
}

.wall-status.is-testable:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ==========================================================================
   WALL STATUS BAR — STATUS + CLAIM MERGED INTO ONE ROW
   Fixed palette — deliberately independent of --site-accent
   ========================================================================== */

.wall-status-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.7rem 1.1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid currentColor;
  border-left-width: 6px;
  border-radius: 4px;
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00ff00;
  box-shadow: 0 0 18px -4px currentColor;
}

/* Status indicator (dot or star) */
.wall-status-bar__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  flex-shrink: 0;
  animation: status-pulse calc(var(--pulse-tempo, 4s) * 0.75) ease-in-out infinite;
}

.wall-status-bar__label {
  flex: 1;
  color: currentColor;
}

/* Claim button — always green when visible, regardless of status */
.wall-status-bar__claim {
  background: transparent;
  border: 2px solid var(--site-accent, #00ff00);
  color: var(--site-accent, #00ff00);
  padding: 0.5rem 1rem;
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.wall-status-bar__claim:hover {
  background: var(--site-accent, #00ff00);
  color: #000;
  box-shadow: 0 0 15px var(--site-accent, #00ff00);
}

/* Hide claim button for non-owner / memorial / claimed states */
.wall-status-bar__claim[hidden] { display: none !important; }

/* Pulse animation for status dot */
@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* --- Status Variants ----------------------------------------------------- */
.wall-status-bar.is-unclaimed   { color: #ff2fa0; }  /* magenta */
.wall-status-bar.is-heaven      { color: #00e5ff; }  /* cyan */
.wall-status-bar.is-legal       { color: #ff8c00; }  /* orange */
.wall-status-bar.is-claimed     { color: #00ff00; }  /* bright green */
.wall-status-bar.is-declined    { color: #ff1f1f; }  /* bright red */

/* Urgency in the pulse rate, not the colour */
.wall-status-bar.is-legal .wall-status-bar__dot     { animation-duration: calc(var(--pulse-tempo, 4s) * 0.45); }
.wall-status-bar.is-unclaimed .wall-status-bar__dot { animation-duration: calc(var(--pulse-tempo, 4s) * 0.7); }

/* --- Memorial: steady, quieter shell ------------------------------------- */
.wall-status-bar.is-heaven {
  border-left-width: 3px;
  box-shadow: none;
  background: rgba(0, 229, 255, 0.06);
}

.wall-status-bar.is-heaven .wall-status-bar__dot {
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  animation: none;
  font-size: 1rem;
  line-height: 1;
}

.wall-status-bar.is-heaven .wall-status-bar__dot::before {
  content: '✦';
  text-shadow: 0 0 8px currentColor;
}

/* --- Declined: fast pulse ----------------------------------------------- */
.wall-status-bar.is-declined .wall-status-bar__dot { animation-duration: calc(var(--pulse-tempo, 4s) * 0.5); }

/* --- Test affordance ---------------------------------------------------- */
.wall-status-bar.is-testable {
  cursor: pointer;
  user-select: none;
}

.wall-status-bar.is-testable:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* --- Mobile ------------------------------------------------------------ */
@media (max-width: 620px) {
  .wall-status-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    text-align: center;
  }

  .wall-status-bar__claim {
    width: 100%;
    padding: 0.6rem;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wall-status-bar__dot { animation: none; }
}

/* Label + optional sub-line stack. flex:1 moved here from __label so the
   claim button still gets pushed to the right edge. */
.wall-status-bar__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.wall-status-bar__label { color: currentColor; }

.wall-status-bar__sub {
  font-size: 0.85rem;
  letter-spacing: 2px;
  opacity: 0.72;
  color: currentColor;
}

.wall-status-bar__sub[hidden] { display: none !important; }

/* Memorial: give the sub-line a touch more air and a softer tone */
.wall-status-bar.is-heaven .wall-status-ba



/* Action buttons inside the claim modal */
.claim-action-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}

#claim-modal .action-btn {
  padding: 0.9rem 0.5rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

#claim-modal .action-btn:hover,
#claim-modal .action-btn.selected {
  background: var(--site-accent);
  color: #000;
  box-shadow: 0 0 18px var(--site-accent);
}

#claim-modal .comment-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  margin-bottom: 0.9rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  resize: vertical;
}

#modal-submit {
  width: 100%;
  padding: 0.7rem;
  background: var(--site-accent);
  border: 2px solid var(--site-accent);
  color: #000;
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 2px;
  cursor: pointer;
}

#modal-submit:disabled { opacity: 0.4; cursor: not-allowed; }

/* Theme overrides — remap the accent the wall page already uses */
html.theme-approve { --site-accent: #00ff00; --site-accent-rgb: 0, 255, 0; }
html.theme-legal   { --site-accent: #ff8c00; --site-accent-rgb: 255, 140, 0; }
html.theme-decline { --site-accent: #ff1f1f; --site-accent-rgb: 255, 31, 31; }

@media (max-width: 620px) {
  .claim-action-buttons { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CLAIM MODAL - INTEGRATED INTO WALL PAGE
   Matches claim-submit.html styling
   ========================================================================== */

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(4px);
}

.confirm-modal[hidden] { display: none !important; }

.confirm-box {
  width: 100%;
  max-width: 470px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  background: #0a0a0a;
  border: 3px solid var(--site-accent);
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(var(--site-accent-rgb), 0.4);
  text-align: center;
  animation: confirm-pop 0.22s ease-out;
}

@keyframes confirm-pop {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.confirm-box h3 {
  margin: 0 0 0.5rem;
  color: var(--site-accent);
  font-size: 1.6rem;
  letter-spacing: 3px;
  text-shadow: 0 0 12px var(--site-accent);
}

.confirm-box p {
  margin: 0 0 1.1rem;
  color: #999;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Action Buttons */
.action-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.action-btn {
  padding: 1.2rem 1rem;
  border: 3px solid;
  background: rgba(0, 0, 0, 0.75);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px currentColor;
}

.action-btn.selected {
  box-shadow: 0 0 30px currentColor;
}

/* Green — Approve */
.btn-green {
  color: #00ff00;
  border-color: #00ff00;
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.35);
}

.btn-green:hover, .btn-green.selected {
  background: #00ff00;
  color: #000;
}

/* Orange — Legal */
.btn-orange {
  color: #ff8c00;
  border-color: #ff8c00;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.35);
}

.btn-orange:hover, .btn-orange.selected {
  background: #ff8c00;
  color: #000;
}

/* Red — Decline */
.btn-red {
  color: #ff1f1f;
  border-color: #ff1f1f;
  box-shadow: 0 0 12px rgba(255, 31, 31, 0.35);
}

.btn-red:hover, .btn-red.selected {
  background: #ff1f1f;
  color: #000;
}

/* Comment textarea */
.comment-textarea {
  width: 100%;
  min-height: 92px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #333;
  color: #e0e0e0;
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 1px;
  resize: vertical;
  margin-bottom: 1.25rem;
}

.comment-textarea:focus {
  outline: none;
  border-color: var(--site-accent);
  box-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.3);
}

/* Submit row */
.submit-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  justify-content: flex-end;
}

.submit-btn, #modal-submit, #claim-modal-go {
  padding: 0.8rem 2rem;
  background: var(--site-accent);
  color: #000;
  border: 2px solid #000;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
}

.submit-btn:hover:not(:disabled),
#modal-submit:hover:not(:disabled),
#claim-modal-go:hover:not(:disabled) {
  background: #000;
  color: var(--site-accent);
  box-shadow: 0 0 15px var(--site-accent);
}

#modal-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cancel-btn, #modal-cancel, #claim-modal-cancel {
  padding: 0.8rem 2rem;
  background: transparent;
  color: #888;
  border: 2px solid #444;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
}

.cancel-btn:hover, #modal-cancel:hover {
  border-color: #666;
  color: #aaa;
}

/* Status message */
.status-msg {
  margin-top: 1rem;
  font-size: 1.1rem;
  min-height: 1.3em;
}

.status-msg.success { color: #00ff00; }
.status-msg.error   { color: #ff5555; }
.status-msg.warning { color: #ff8c00; }

/* Theme overrides - remap --site-accent for the wall page */
html.theme-approve { --site-accent: #00ff00; --site-accent-rgb: 0, 255, 0; }
html.theme-legal   { --site-accent: #ff8c00; --site-accent-rgb: 255, 140, 0; }
html.theme-decline { --site-accent: #ff1f1f; --site-accent-rgb: 255, 31, 31; }

/* Mobile */
@media (max-width: 620px) {
  .action-buttons { grid-template-columns: 1fr; gap: 0.75rem; }
  .submit-row { flex-direction: column; }
  .submit-btn, .cancel-btn, #modal-submit, #modal-cancel { width: 100%; }
}

/* ==========================================================================
   CLAIM MODAL SYSTEM - TWO-STAGE POPUPS
   Matches claim-submit.html styling exactly
   ========================================================================== */

/* Shared modal styles */
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(4px);
}

.confirm-modal[hidden] { display: none !important; }

.confirm-box {
  width: 100%;
  max-width: 470px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  background: #0a0a0a;
  border: 3px solid var(--site-accent);
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(var(--site-accent-rgb), 0.4);
  text-align: center;
  animation: confirm-pop 0.22s ease-out;
}

@keyframes confirm-pop {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.confirm-box h3 {
  margin: 0 0 0.5rem;
  color: var(--site-accent);
  font-size: 1.6rem;
  letter-spacing: 3px;
  text-shadow: 0 0 12px var(--site-accent);
}

.confirm-box p {
  margin: 0 0 1.1rem;
  color: #999;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Input field */
#claim-modal input#claim-code-input,
.comment-textarea {
  width: 100%;
  padding: 0.85rem;
  margin-bottom: 1.1rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #333;
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

#claim-code-input {
  font-size: 1.5rem;
  letter-spacing: 6px;
  text-align: center;
  text-transform: uppercase;
}

.comment-textarea:focus {
  outline: none;
  border-color: var(--site-accent);
  box-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.3);
}

.char-count {
  display: block;
  text-align: right;
  font-size: 0.85rem;
  color: #666;
  letter-spacing: 1px;
  margin-top: 0.35rem;
}

/* Action Buttons */
.action-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.action-btn {
  padding: 1.2rem 1rem;
  border: 3px solid;
  background: rgba(0, 0, 0, 0.75);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px currentColor;
}

.action-btn.selected {
  background: currentColor;
  color: #000;
  box-shadow: 0 0 30px currentColor;
}

/* Button Colors */
.btn-green {
  color: #00ff00;
  border-color: #00ff00;
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.35);
}

.btn-orange {
  color: #ff8c00;
  border-color: #ff8c00;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.35);
}

.btn-red {
  color: #ff1f1f;
  border-color: #ff1f1f;
  box-shadow: 0 0 12px rgba(255, 31, 31, 0.35);
}

/* Submit/Cancel Rows */
.submit-row, .confirm-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  justify-content: flex-end;
}

#claim-modal-go, #modal-submit, #confirm-yes {
  padding: 0.8rem 2rem;
  background: var(--site-accent);
  color: #000;
  border: 2px solid #000;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
}

#claim-modal-go:hover:not(:disabled),
#confirm-yes:hover:not(:disabled) {
  background: #000;
  color: var(--site-accent);
  box-shadow: 0 0 15px var(--site-accent);
}

#claim-modal-cancel, #confirm-no {
  padding: 0.8rem 2rem;
  background: transparent;
  color: #888;
  border: 2px solid #444;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
}

#confirm-yes:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Artist Message Section */
.artist-msg-section {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(var(--site-accent-rgb), 0.05);
  border: 1px solid rgba(var(--site-accent-rgb), 0.3);
  border-left: 4px solid var(--site-accent);
  border-radius: 4px;
}

.artist-msg-section h3 {
  color: var(--site-accent);
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 10px var(--site-accent);
}

/* Second Modal Elements */
.confirm-action {
  display: inline-block;
  margin: 0.75rem 0 1rem;
  padding: 0.4rem 1.1rem;
  border: 2px solid var(--site-accent);
  color: var(--site-accent);
  font-size: 1.05rem;
  letter-spacing: 2px;
  border-radius: 4px;
}

.confirm-flavor {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: rgba(var(--theme-accent-rgb, 0, 255, 0), 0.08);
  border: 2px dashed var(--site-accent);
  border-radius: 4px;
  color: var(--site-accent);
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--site-accent);
  animation: flavor-pop 0.28s ease-out;
}

@keyframes flavor-pop {
  from { transform: translateY(6px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

.confirm-flavor .flavor-sub {
  display: block;
  margin-top: 0.35rem;
  color: #999;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-shadow: none;
}

.confirm-notes {
  margin: 0 0 1.1rem;
  text-align: left;
}

.confirm-notes-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--site-accent);
  font-size: 1.05rem;
  letter-spacing: 2px;
  text-shadow: 0 0 8px var(--site-accent);
}

.notes-hint {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #666;
  min-height: 1.3em;
}

.notes-hint.required  { color: #ff8c00; }
.notes-hint.satisfied { color: #00ff00; }

.comment-textarea.needs-note {
  border-color: #ff8c00;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.25);
}

.comment-textarea.needs-note:focus {
  border-color: #ff8c00;
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.45);
}

.confirm-summary {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  border-left: 3px solid var(--site-accent);
  color: #ccc;
  font-size: 1rem;
  line-height: 1.55;
  text-align: left;
  max-height: 130px;
  overflow-y: auto;
  word-break: break-word;
}

.confirm-summary em {
  color: #777;
  font-style: normal;
}

/* Status Message */
.status-msg {
  margin-top: 1rem;
  font-size: 1.1rem;
  min-height: 1.3em;
}

.status-msg.success { color: #00ff00; }
.status-msg.error   { color: #ff5555; }
.status-msg.warning { color: #ff8c00; }

/* Theme Overrides */
html.theme-approve { --site-accent: #00ff00; --site-accent-rgb: 0, 255, 0; }
html.theme-legal   { --site-accent: #ff8c00; --site-accent-rgb: 255, 140, 0; }
html.theme-decline { --site-accent: #ff1f1f; --site-accent-rgb: 255, 31, 31; }

/* Mobile */
@media (max-width: 620px) {
  .action-buttons { grid-template-columns: 1fr; gap: 0.75rem; }
  .submit-row, .confirm-actions { flex-direction: column; }
  #claim-modal-go, #confirm-yes, #claim-modal-cancel, #confirm-no { width: 100%; }
}

/* ==========================================================================
   CLAIM MODALS + MATRIX PILLS
   ========================================================================== */

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(4px);
}

.confirm-modal[hidden] { display: none !important; }

.confirm-box {
  width: 100%;
  max-width: 470px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  background: #0a0a0a;
  border: 3px solid var(--site-accent);
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(var(--site-accent-rgb), 0.4);
  text-align: center;
  animation: confirm-pop 0.22s ease-out;
}

@keyframes confirm-pop {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.confirm-box h3 {
  margin: 0 0 0.5rem;
  color: var(--site-accent);
  font-size: 1.6rem;
  letter-spacing: 3px;
  text-shadow: 0 0 12px var(--site-accent);
}

.confirm-box p {
  margin: 0 0 1.1rem;
  color: #999;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* --- Code input --- */
#claim-code-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem;
  margin-bottom: 1.1rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #333;
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.5rem;
  letter-spacing: 6px;
  text-align: center;
  text-transform: uppercase;
}

#claim-code-input:focus {
  outline: none;
  border-color: var(--site-accent);
  box-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.35);
}

/* --- Textareas --- */
.comment-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 92px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #333;
  color: #e0e0e0;
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 1px;
  resize: vertical;
}

.comment-textarea:focus {
  outline: none;
  border-color: var(--site-accent);
  box-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.3);
}

.char-count {
  display: block;
  text-align: right;
  font-size: 0.85rem;
  color: #666;
  letter-spacing: 1px;
  margin-top: 0.35rem;
}

/* --- MSG FROM THE TEAM box --- */
.artist-msg-section {
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  background: rgba(var(--site-accent-rgb), 0.05);
  border: 1px solid rgba(var(--site-accent-rgb), 0.3);
  border-left: 4px solid var(--site-accent);
  border-radius: 4px;
  text-align: left;
}

.artist-msg-section h3 {
  margin: 0 0 0.75rem;
  color: var(--site-accent);
  font-size: 1.25rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--site-accent);
}

/* --- Matrix pills: pre-coloured, filled by default --- */
.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 1rem;
}

.pill-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 1.15rem 0.75rem;
  border: 3px solid;
  border-radius: 6px;
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.pill-btn small {
  font-size: 0.8rem;
  letter-spacing: 1px;
  opacity: 0.75;
}

.pill-blue {
  background: #00e5ff;              /* same cyan as .is-heaven */
  border-color: #00e5ff;
  color: #000;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

.pill-red {
  background: #ff1f1f;
  border-color: #ff1f1f;
  color: #000;
  box-shadow: 0 0 18px rgba(255, 31, 31, 0.45);
}

.pill-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.pill-btn.selected {
  outline: 3px solid #fff;
  outline-offset: 3px;
  transform: translateY(-2px);
}

/* --- Tertiary legal option --- */
.legal-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem;
  background: transparent;
  border: 1px dashed #ff8c00;
  border-radius: 4px;
  color: #ff8c00;
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.legal-link:hover,
.legal-link.selected {
  background: #ff8c00;
  color: #000;
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.5);
}

/* --- Buttons --- */
.submit-row,
.confirm-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  justify-content: flex-end;
}

#claim-modal-go,
#claim-review-btn,
#confirm-yes {
  padding: 0.8rem 2rem;
  background: var(--site-accent);
  color: #000;
  border: 2px solid #000;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

#claim-modal-go:hover:not(:disabled),
#claim-review-btn:hover:not(:disabled),
#confirm-yes:hover:not(:disabled) {
  background: #000;
  color: var(--site-accent);
  box-shadow: 0 0 15px var(--site-accent);
}

#claim-modal-cancel,
#confirm-no {
  padding: 0.8rem 2rem;
  background: transparent;
  color: #888;
  border: 2px solid #444;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

#claim-modal-cancel:hover,
#confirm-no:hover {
  border-color: #777;
  color: #ccc;
}

#confirm-yes:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- Confirmation modal internals --- */
.confirm-action {
  display: inline-block;
  margin: 0.75rem 0 1rem;
  padding: 0.4rem 1.1rem;
  border: 2px solid var(--site-accent);
  color: var(--site-accent);
  font-size: 1.05rem;
  letter-spacing: 2px;
  border-radius: 4px;
}

.confirm-flavor {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: rgba(var(--site-accent-rgb), 0.08);
  border: 2px dashed var(--site-accent);
  border-radius: 4px;
  color: var(--site-accent);
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--site-accent);
  animation: flavor-pop 0.28s ease-out;
}

@keyframes flavor-pop {
  from { transform: translateY(6px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

.confirm-flavor .flavor-sub {
  display: block;
  margin-top: 0.35rem;
  color: #999;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-shadow: none;
}

.confirm-notes {
  margin: 0 0 1.1rem;
  text-align: left;
}

.confirm-notes-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--site-accent);
  font-size: 1.05rem;
  letter-spacing: 2px;
  text-shadow: 0 0 8px var(--site-accent);
}

.notes-hint {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #666;
  min-height: 1.3em;
}

.notes-hint.required  { color: #ff8c00; }
.notes-hint.satisfied { color: #00ff00; }

.comment-textarea.needs-note {
  border-color: #ff8c00;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.25);
}

.confirm-summary {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  border-left: 3px solid var(--site-accent);
  color: #ccc;
  font-size: 1rem;
  line-height: 1.55;
  text-align: left;
  max-height: 130px;
  overflow-y: auto;
  word-break: break-word;
}

.confirm-summary em { color: #777; font-style: normal; }

.status-msg {
  margin-top: 1rem;
  font-size: 1.1rem;
  min-height: 1.3em;
}

.status-msg.success { color: #00ff00; }
.status-msg.error   { color: #ff5555; }
.status-msg.warning { color: #ff8c00; }

/* --- Theme remaps: these rewrite the accent the wall page already uses --- */
html.theme-approve { --site-accent: #00e5ff; --site-accent-rgb: 0, 229, 255; }
html.theme-legal   { --site-accent: #ff8c00; --site-accent-rgb: 255, 140, 0; }
html.theme-decline { --site-accent: #ff1f1f; --site-accent-rgb: 255, 31, 31; }

@media (max-width: 620px) {
  .action-buttons { grid-template-columns: 1fr; }
  .submit-row, .confirm-actions { flex-direction: column; }
  #claim-modal-go, #claim-review-btn, #confirm-yes,
  #claim-modal-cancel, #confirm-no { width: 100%; }
}

.cred-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 2px;
  text-align: left;
}

.cred-label input {
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #333;
  color: #e0e0e0;
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.cred-label input:focus {
  outline: none;
  border-color: var(--site-accent);
  box-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.3);
}

.cred-label input[readonly] {
  color: #777;
  border-style: dashed;
  cursor: not-allowed;
}

.team-msg-section {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(var(--site-accent-rgb), 0.06);
  border: 1px solid rgba(var(--site-accent-rgb), 0.3);
  border-left: 4px solid var(--site-accent);
  border-radius: 4px;
  text-align: left;
}

.team-msg-section h3 {
  margin: 0 0 0.5rem;
  color: var(--site-accent);
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.team-msg-body {
  margin: 0;
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.artist-msg-section h3 .optional-tag {
  font-size: 0.8rem;
  color: var(--text-muted, #888);
  letter-spacing: 1px;
}

.code-or-request-toggle {
  margin-top: 1rem;
  text-align: center;
}

.code-or-request-toggle a {
  color: var(--site-accent);
  text-decoration: underline;
  cursor: pointer;
}

#claim-request-form {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(var(--site-accent-rgb), 0.5);
  border-radius: 4px;
}

#claim-request-form h3 {
  margin: 0 0 0.5rem;
  color: var(--site-accent);
  letter-spacing: 2px;
}

#claim-request-form .hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

#request-social small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

#request-cancel.secondary {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
}

/* ==================== POST CREATOR ==================== */

.post-creator-section {
  padding: 3rem 0;
  background: var(--bg-tertiary);
  border-bottom: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
}

.post-creator {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(var(--site-accent-rgb), 0.25);  /* Softer border */
  background: rgba(0, 0, 0, 0.45);  /* Less opaque */
  box-shadow: 0 0 12px rgba(var(--site-accent-rgb), 0.1);
}

.post-card {
  background: rgba(0, 0, 0, 0.35);  /* More transparent */
  border: 1px solid rgba(var(--site-accent-rgb), 0.18);  /* Softer */
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 8px rgba(var(--site-accent-rgb, 0, 255, 0), 0.08);
}

.post-card:hover {
  background: rgba(0, 0, 0, 0.55);  /* Still darkens on hover */
  box-shadow: 0 0 15px rgba(var(--site-accent-rgb), 0.15);
}

.post-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  background: #080808;
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  resize: vertical;
  letter-spacing: 1px;
}

.post-textarea:focus {
  outline: 2px solid var(--site-accent);
  outline-offset: 2px;
}

.char-count {
  display: block;
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.post-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
}

#post-submit-btn {
  padding: 0.7rem 1.5rem;
  background: transparent;
  border: 2px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.25s;
}

#post-submit-btn:hover:not(:disabled) {
  background: var(--site-accent);
  color: #000;
  box-shadow: 0 0 15px var(--site-accent);
}

#post-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  margin-top: 0.5rem;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.post-author {
  color: var(--site-accent);
  font-weight: bold;
}

/* ==================== FEED POST CARDS ==================== */

.post-card {
  background: rgba(0, 0, 0, 0.78);
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 12px rgba(var(--site-accent-rgb, 0, 255, 0), 0.15);
  position: relative;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.post-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--site-accent);
  color: #000;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.post-author {
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.post-time {
  color: var(--text-muted);
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  margin-left: auto;
}

.post-content {
  color: var(--text-primary);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 1px;
  word-wrap: break-word;
  margin-bottom: 0.8rem;
}

.post-footer {
  border-top: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  padding-top: 0.8rem;
  margin-top: 0.5rem;
}

.post-reactions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.post-card.is-pinned {
  border-color: var(--site-accent);
  box-shadow: 0 0 15px rgba(var(--site-accent-rgb), 0.3);
}

.post-card.is-pinned::after {
  content: '📌 PINNED';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-family: 'VT323', monospace;
  font-size: 0.8rem;
  color: var(--site-accent);
}

/* ==================== USER PLAYLISTS ON WALL ==================== */

.user-playlists-section {
  margin-bottom: 3.5rem;
}

.user-playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.playlist-card {
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  border-left: 3px solid var(--site-accent);
  border-radius: 4px;
  padding: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.playlist-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(var(--site-accent-rgb), 0.2);
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.playlist-header h3 {
  margin: 0;
  color: var(--site-accent);
  font-size: 1.2rem;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.playlist-count {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.playlist-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.playlist-actions-row {
  display: flex;
  gap: 0.75rem;
}

.playlist-actions-row button {
  flex: 1;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.playlist-actions-row button:hover {
  background: var(--site-accent);
  color: #000;
}

/* Mobile adjustments */
@media (max-width: 620px) {
  .user-playlist-grid {
    grid-template-columns: 1fr;
  }
  
}

/* ==================== PLAYLIST CARDS ON WALL ==================== */

.user-playlists-section {
  margin-bottom: 3.5rem;
}

.user-playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.playlist-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(var(--site-accent-rgb), 0.2);
  border-left: 3px solid var(--site-accent);
  border-radius: 4px;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.playlist-card:hover {
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 18px rgba(var(--site-accent-rgb), 0.18);
  transform: translateX(4px);
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.playlist-header h3 {
  margin: 0;
  color: var(--site-accent);
  font-size: 1.2rem;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.playlist-count {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.playlist-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.playlist-actions-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.playlist-actions-row button {
  flex: 1;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.playlist-actions-row button:hover {
  background: var(--site-accent);
  color: #000;
}

/* Mobile adjustments */
@media (max-width: 620px) {
  .user-playlist-grid {
    grid-template-columns: 1fr;
  }
  
  
  .playlist-actions-row {
    flex-direction: column;
  }
}

.playlist-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.playlist-card .reaction-row {
  flex-wrap: wrap;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.30);
}

.playlist-actions-row {
  display: flex;
  gap: 0.75rem;
}

.playlist-actions-row button {
  flex: 1;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.playlist-actions-row button:hover {
  background: var(--site-accent);
  color: #000;
}

.wall-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: flex-start;
}

.follow-btn {
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 2px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.follow-btn:hover {
  background: var(--site-accent);
  color: #000;
}

.follow-btn.is-following {
  background: rgba(var(--site-accent-rgb), 0.15);
  border-color: var(--text-muted);
  color: var(--text-muted);
}

.follow-btn.is-following:hover {
  background: var(--site-accent);
  color: #000;
  border-color: var(--site-accent);
}

/* =============================================
   FOLLOW BUTTON
   ============================================= */
.wall-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.follow-btn {
  padding: 0.55rem 1.4rem;
  background: transparent;
  border: 2px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.follow-btn:hover {
  background: var(--site-accent);
  color: #000;
}

.follow-btn.is-following {
  border-color: var(--text-muted);
  color: var(--text-muted);
  background: rgba(var(--site-accent-rgb), 0.12);
}

.follow-btn.is-following:hover {
  background: var(--site-accent);
  border-color: var(--site-accent);
  color: #000;
}

.follower-count-wrap {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.follower-count-wrap strong {
  color: var(--site-accent);
}


/* ==================== ARTIST DISCOGRAPHY ==================== */

.artist-songs-section { margin: 2rem 0; }

.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Two-column card: cover + info on top, then actions, reactions, appearances */
.song-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "cover info"
    "acts  acts"
    "react react"
    "appear appear";
  gap: 0.7rem 0.85rem;
  align-items: start;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.song-card:hover { border-color: var(--site-accent); }

.song-cover {
  grid-area: cover;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.song-info {
  grid-area: info;
  min-width: 0;            /* lets long titles ellipsis/wrap instead of overflowing */
}

.song-info h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #fff;
  overflow-wrap: anywhere;
}

.song-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.song-plays,
.song-reactions { color: var(--site-accent); }

.song-first-seen {
  font-size: 0.72rem;
  color: #6f6f6f;
}

/* ---- action buttons ---- */
.song-actions {
  grid-area: acts;
  display: flex;
  gap: 0.5rem;
}

.song-actions .play-song-btn,
.song-actions .queue-song-btn {
  flex: 1;
  padding: 0.45rem 0.6rem;
  background: transparent;
  border: 1px solid var(--site-accent);
  color: var(--site-accent);
  border-radius: 4px;
  cursor: pointer;
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.song-actions .play-song-btn:hover:not(:disabled),
.song-actions .queue-song-btn:hover {
  background: var(--site-accent);
  color: #000;
}

.song-actions .play-song-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---- reactions: compact pills, not notification badges ---- */
.song-card .reaction-row {
  grid-area: react;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.song-card .emoji-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.45rem;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.song-card .emoji-btn:hover { border-color: var(--site-accent); }

.song-card .emoji-btn.is-on {
  border-color: var(--site-accent);
  background: rgba(109, 76, 255, 0.18);
}

/* Kill the inherited absolute/round badge styling inside song cards */
.song-card .emoji-count {
  position: static;
  display: inline-block;
  min-width: 1ch;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1;
  text-align: center;
}

.song-card .emoji-btn.has-count .emoji-count,
.song-card .emoji-btn.is-on .emoji-count { color: var(--site-accent); }

/* ---- appearances accordion ---- */
.song-appearances-expand {
  grid-area: appear;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.song-appearances-expand summary {
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  list-style: none;
}

.song-appearances-expand summary::-webkit-details-marker { display: none; }
.song-appearances-expand summary::before { content: '▸ '; }
.song-appearances-expand details[open] summary::before { content: '▾ '; }

/* ==========================================================================
   WALL BACKGROUND LAYER + ORANGE SLIDESHOW BUBBLE
   ========================================================================== */

/* Fixed layer behind everything. z-index:-1 paints above the canvas
   background but below all page content, so your translucent panels
   (rgba(0,0,0,.55)) let the photo through. */
.wall-bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  transition: opacity 4.8s ease-in-out;
}

.wall-bg-layer--fade { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .wall-bg-layer { transition-duration: 0.001ms !important; }
}

/* --- orange bubble --- */
.wall-bg-bubble {
  position: fixed;
  left: 24px;          /* Changed from right */
  bottom: 88px;
  z-index: 9100;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid #000;
  border-radius: 50%;
  background: #ff8c00;          /* same orange as your slideshow btn */
  color: #000;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease, color 0.18s ease;
}

.wall-bg-bubble:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 0 28px rgba(255, 140, 0, 0.85);
}

.wall-bg-bubble:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Active = inverted, with a slow halo so "on" reads at a glance */
/* Active = ORANGE with halo so "on" reads at a glance */
.wall-bg-bubble.is-on {
  background: #ff8c00;
  color: #000;
  border-color: #000;
  animation: bubble-halo calc(var(--pulse-tempo, 4s) * 0.75) ease-in-out infinite;
  box-shadow: 0 0 28px rgba(255, 140, 0, 0.85);
}

@keyframes bubble-halo {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 140, 0, 0.5); }
  50%      { box-shadow: 0 0 30px rgba(255, 140, 0, 0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .wall-bg-bubble.is-on { animation: none; box-shadow: 0 0 22px #ff8c00; }
}

@media (max-width: 620px) {
  .wall-bg-bubble {
    left: 16px; 
    bottom: 76px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}


/* ==========================================================================
   WALL EDIT MODAL — photo row, file buttons, fieldsets
   ========================================================================== */

.edit-photo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(var(--site-accent-rgb), 0.3);
}

.edit-photo-preview {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--site-accent);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
}

.edit-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edit-photo-fallback { font-size: 2rem; opacity: 0.6; }

.edit-photo-controls {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.edit-file-btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--site-accent);
  border-radius: 4px;
  background: transparent;
  color: var(--site-accent);
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.edit-file-btn:hover {
  background: var(--site-accent);
  color: #000;
}

.edit-inline-status {
  margin: 0;
  font-size: 0.75rem;
  min-height: 1em;
  color: var(--site-accent);
}

.edit-socials,
.edit-bg {
  margin: 1.2rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(var(--site-accent-rgb), 0.35);
  border-radius: 4px;
}

.edit-socials legend,
.edit-bg legend {
  padding: 0 0.5rem;
  color: var(--site-accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.edit-socials label,
.edit-bg label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.edit-socials input,
.edit-bg input[type="url"],
.edit-bg input[type="number"] {
  width: 100%;
  margin-top: 0.25rem;
}

.edit-bg .edit-file-btn { margin-bottom: 0.4rem; }

.edit-bg .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

@media (max-width: 560px) {
  .edit-photo-row { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   EDITOR LAYOUT RESET
   Forces one field per row regardless of older .edit-modal rules above.
   ========================================================================== */

.edit-modal .edit-modal-box form > label {
  display: block !important;
  width: 100% !important;
  margin-bottom: 1rem;
}

.edit-modal .edit-modal-box form > label > input,
.edit-modal .edit-modal-box form > label > textarea,
.edit-modal .edit-modal-box form > label > small {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.edit-modal .edit-modal-box form > label > small.field-hint {
  margin-top: 0.25rem;
}

.post-creator {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(var(--site-accent-rgb), 0.25);  /* Softer border */
  background: rgba(0, 0, 0, 0.45);  /* Less opaque */
  box-shadow: 0 0 12px rgba(var(--site-accent-rgb), 0.1);
}

.post-card {
  background: rgba(0, 0, 0, 0.35);  /* More transparent */
  border: 1px solid rgba(var(--site-accent-rgb), 0.18);  /* Softer */
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 8px rgba(var(--site-accent-rgb, 0, 255, 0), 0.08);
}

.post-card:hover {
  background: rgba(0, 0, 0, 0.55);  /* Still darkens on hover */
  box-shadow: 0 0 15px rgba(var(--site-accent-rgb), 0.15);
}








/* fgdgehehhdh */

.wall-bg-bubble {
  position: fixed;
  left: 24px;
  right: auto;
  bottom: 88px;
  z-index: 9100;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid #000;
  border-radius: 50%;
  background: #ff8c00;
  color: #000;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease, color 0.18s ease;
}

.wall-bg-bubble:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 0 28px rgba(255, 140, 0, 0.85);
}

.wall-bg-bubble:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.wall-bg-bubble.is-on {
  background: #ff8c00;
  color: #000;
  border-color: #000;
  box-shadow: 0 0 28px rgba(255, 140, 0, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .wall-bg-bubble.is-on { animation: none; box-shadow: 0 0 22px #ff8c00; }
}

@media (max-width: 620px) {
  .wall-bg-bubble {
    left: 16px;
    right: auto;
    bottom: 76px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

.post-creator-section {
  padding: 3rem 0;
  background: var(--bg-tertiary);
  border-bottom: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
}

.post-creator {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 0 18px rgba(var(--site-accent-rgb), 0.2);
}

.post-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  background: #080808;
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  resize: vertical;
  letter-spacing: 1px;
}

.post-textarea:focus {
  outline: 2px solid var(--site-accent);
  outline-offset: 2px;
}

.char-count {
  display: block;
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.post-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
}

#post-submit-btn {
  padding: 0.7rem 1.5rem;
  background: transparent;
  border: 2px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.25s;
}

#post-submit-btn:hover:not(:disabled) {
  background: var(--site-accent);
  color: #000;
  box-shadow: 0 0 15px var(--site-accent);
}

#post-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  margin-top: 0.5rem;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
}

.post-card {
  background: rgba(0, 0, 0, 0.78);
  border: 2px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 12px rgba(var(--site-accent-rgb, 0, 255, 0), 0.15);
  position: relative;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.post-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--site-accent);
  color: #000;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.post-author {
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.post-time {
  color: var(--text-muted);
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  margin-left: auto;
}

.post-content {
  color: var(--text-primary);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 1px;
  word-wrap: break-word;
  margin-bottom: 0.8rem;
}

.post-footer {
  border-top: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  padding-top: 0.8rem;
  margin-top: 0.5rem;
}

.post-reactions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}


.post-creator-section {
  padding: 3rem 0;
  background: transparent;
  border-bottom: none;
}

.post-creator {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(var(--site-accent-rgb), 0.25);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 12px rgba(var(--site-accent-rgb), 0.08);
}

.post-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 1px solid rgba(var(--site-accent-rgb), 0.3);
  background: rgba(0, 0, 0, 0.5);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  resize: vertical;
  letter-spacing: 1px;
  border-radius: 4px;
}

.post-textarea:focus {
  outline: none;
  border-color: var(--site-accent);
  box-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.15);
}

.char-count {
  display: block;
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.post-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
}

#post-submit-btn {
  padding: 0.7rem 1.5rem;
  background: transparent;
  border: 1px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}

#post-submit-btn:hover:not(:disabled) {
  background: var(--site-accent);
  color: #000;
  box-shadow: 0 0 12px rgba(var(--site-accent-rgb), 0.25);
}

#post-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  margin-top: 0.5rem;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
}

.post-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(var(--site-accent-rgb), 0.2);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 8px rgba(var(--site-accent-rgb), 0.06);
  position: relative;
  border-radius: 4px;
}

.post-card:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(var(--site-accent-rgb), 0.35);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.post-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(var(--site-accent-rgb), 0.2);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--site-accent-rgb), 0.3);
}

.post-author {
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.post-time {
  color: var(--text-muted);
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  margin-left: auto;
}

.post-content {
  color: var(--text-primary);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 1px;
  word-wrap: break-word;
  margin-bottom: 0.8rem;
}

.post-footer {
  border-top: 1px solid rgba(var(--site-accent-rgb), 0.15);
  padding-top: 0.8rem;
  margin-top: 0.5rem;
}

.post-reactions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.post-creator-section {
  padding: 3rem 0;
  background: transparent;
  border-bottom: none;
}

.post-creator {
  max-width: 1060px;  /* Changed from 800px */
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(var(--site-accent-rgb), 0.25);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 12px rgba(var(--site-accent-rgb), 0.08);
}

.post-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;        /* Increased from 0.75rem */
  border: 1px solid rgba(var(--site-accent-rgb), 0.3);
  background: rgba(0, 0, 0, 0.5);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  resize: vertical;
  letter-spacing: 1px;
  border-radius: 4px;
  min-height: 120px;    /* Added — gives breathing room */
}

.post-textarea:focus {
  outline: none;
  border-color: var(--site-accent);
  box-shadow: 0 0 10px rgba(var(--site-accent-rgb), 0.15);
}

.post-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
  padding: 0 0.5rem;   /* Aligns with textarea padding */
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1rem;
  letter-spacing: 1px;
}

#post-submit-btn {
  padding: 0.7rem 1.5rem;
  background: transparent;
  border: 1px solid var(--site-accent);
  color: var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}

#post-submit-btn:hover:not(:disabled) {
  background: var(--site-accent);
  color: #000;
  box-shadow: 0 0 12px rgba(var(--site-accent-rgb), 0.25);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(var(--site-accent-rgb), 0.2);
  padding-left: 0;      /* Remove left offset */
  padding-right: 0;     /* Remove right offset */
}

.section-head h2 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--site-accent);
  letter-spacing: 2px;
}

.section-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.wall-page > section,
.wall-page > article,
.post-creator-section {
  margin-bottom: 3rem;  /* Consistent gap between all major sections */
}

.wall-header {
  margin-bottom: 3rem;  /* Match above */
}

/* ==========================================================================
   WALL BACKGROUND SLIDESHOW BUBBLE — MATCHES INDEX STYLE
   ========================================================================== */

.wall-bg-bubble {
  position: fixed !important;
  left: calc(20px + env(safe-area-inset-left, 0px)) !important;
  bottom: calc(108px + env(safe-area-inset-bottom, 0px)) !important;
  top: auto !important;
  right: auto !important;

  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  padding: 0 !important;

  background: #ff8c00 !important;
  color: #000 !important;
  border: 2px solid #ff8c00 !important;

  font-size: 1.7rem !important;
  line-height: 1 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  user-select: none;

  box-shadow: 0 0 15px rgba(255, 140, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              background 0.25s ease, border-color 0.25s ease;
}

.wall-bg-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 0 26px rgba(255, 140, 0, 0.9);
}

.wall-bg-bubble:active { transform: scale(0.96); }

.wall-bg-bubble:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.wall-bg-bubble.is-on {
  background: #ff8c00 !important;
  color: #000 !important;
  border-color: #ff8c00 !important;
  box-shadow: 0 0 28px rgba(255, 140, 0, 0.85);
  animation: pulse-glow-orange var(--pulse-tempo, 4s) infinite;
}

@keyframes pulse-glow-orange {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 140, 0, 0.55); }
  50%      { box-shadow: 0 0 32px rgba(255, 140, 0, 0.90); }
}

@media (prefers-reduced-motion: reduce) {
  .wall-bg-bubble.is-on { animation: none; }
}

@media (max-width: 768px) {
  .wall-bg-bubble {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.5rem !important;
    left: calc(16px + env(safe-area-inset-left, 0px)) !important;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ==================== POST MANAGEMENT (owner / staff) ==================== */
.post-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-manage {
  margin-left: auto;
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.post-manage-btn {
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 1px;
  padding: 0.2rem 0.5rem;
  background: transparent;
  color: var(--text-muted, #888);
  border: 1px solid currentColor;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.post-manage-btn:hover {
  color: var(--site-accent, #0f8);
  border-color: var(--site-accent, #0f8);
}

.post-del-btn:hover {
  color: #ff5555;
  border-color: #ff5555;
}

.post-pin-flag {
  font-size: 0.8rem;
  margin-right: 0.15rem;
}

@media (max-width: 520px) {
  .post-manage-btn {
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
  }
}

.section-title {
  letter-spacing: 2px;
  color: var(--site-accent);
  margin: 1.75rem 0 0.25rem;
  font-size: 0.95rem;
}
.section-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  max-width: 62ch;
}
.preset-add-row {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}
.preset-add-row input { flex: 1; }
.preset-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.preset-row.is-off { opacity: 0.45; }
.preset-label { flex: 1 1 340px; min-width: 220px; }
.preset-order { width: 72px; }

/* ==================== STICKY PINNED APPRECIATIONS ==================== */

/* Group wrapper for pinned items */
.appreciation-list .appreciation-group--pinned {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(15, 15, 25, 0.95), rgba(15, 15, 25, 0.85));
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Individual pinned item styling */
.appreciation-item.is-pinned {
  border-left: 3px solid var(--site-accent);
  padding: 0.75rem;
  margin-bottom: 0.25rem;
  background: rgba(109, 76, 255, 0.08);
}

/* Pin indicator gets bigger/more visible */
.appreciation-item.is-pinned .pin-indicator {
  font-size: 1.2rem;
  margin-right: 0.3rem;
}

/* Separator line between pinned and regular */
.appreciation-separator {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  letter-spacing: 1px;
}

/* Ensure scrolled appreciation items don't overlap */
.appreciation-list:not(.is-pinned) .appreciation-item {
  background: transparent;
}
.appreciation-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.admin-badge {
  font-size: 0.65rem;
  border: 1px solid var(--site-accent);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: rgba(109, 76, 255, 0.15);
  color: var(--site-accent);
}

.tiny-btn {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  margin-left: 0.3rem;
  opacity: 0.6;
}

.tiny-btn:hover {
  opacity: 1;
}

.appreciation-actions {
  margin-top: 0.3rem;
  font-size: 0.75rem;
}



.admin-custom-appr-box {
  background: rgba(109, 76, 255, 0.08);
  border: 1px solid rgba(109, 76, 255, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0 0.5rem;
}

.admin-custom-appr-box h4 {
  color: var(--site-accent);
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.admin-custom-appr-box textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
  resize: vertical;
}

.admin-custom-appr-box .admin-custom-appr-count {
  display: block;
  text-align: right;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.admin-custom-appr-box .appr-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

/* ==================== GALLERY MODAL ==================== */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-box {
  background: var(--bg-dark);
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-modal-header h3 {
  margin: 0;
  color: var(--site-accent);
  font-size: 1rem;
  letter-spacing: 2px;
}

.gallery-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.gallery-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 75vh;
}

.gallery-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.gallery-upload-btn {
  background: var(--site-accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.gallery-upload-btn:hover {
  opacity: 0.9;
}

.gallery-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.gallery-thumb:hover {
  border-color: var(--site-accent);
}

.gallery-thumb.is-current {
  border-color: var(--site-accent);
  box-shadow: 0 0 12px rgba(109, 76, 255, 0.5);
}

.gallery-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.current-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--site-accent);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
}

.thumb-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
}

.thumb-btn {
  flex: 1;
  padding: 0.3rem 0.6rem;
  font-size: 0.7rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.select-btn {
  background: var(--site-accent);
  color: #fff;
}

.delete-btn {
  background: #dc3545;
  color: #fff;
}

.thumb-btn:hover {
  opacity: 0.85;
}

.thumb-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-box {
  background: var(--bg-dark);
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-modal-header h3 {
  margin: 0;
  color: var(--site-accent);
  font-size: 1rem;
  letter-spacing: 2px;
}

.gallery-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.gallery-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 75vh;
}

.gallery-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.gallery-upload-btn {
  background: var(--site-accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.gallery-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.gallery-thumb:hover {
  border-color: var(--site-accent);
}

.gallery-thumb.is-current {
  border-color: var(--site-accent);
  box-shadow: 0 0 12px rgba(109, 76, 255, 0.5);
}

.gallery-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.current-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--site-accent);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
}

.thumb-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
}

.thumb-btn {
  flex: 1;
  padding: 0.3rem 0.6rem;
  font-size: 0.7rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.select-btn {
  background: var(--site-accent);
  color: #fff;
}

.delete-btn {
  background: #dc3545;
  color: #fff;
}

.thumb-btn:hover {
  opacity: 0.85;
}

/* Wall photo frame when it's showing a background image */
.wall-photo-frame.has-bg-photo .wall-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle pulse while the big image downloads */
.wall-photo-frame.is-loading-photo .wall-photo {
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
/* ==========================================================
   SECTION — IN-IFRAME MODE (POP A TAB pane render)
   Added by wall-bubbles-in-iframe deploy, wall.css v606.
   The wall inside a tab pane keeps ONLY the orange
   slideshow bubble; chat crew stays for the standalone page.
   ========================================================== */
html.in-iframe #chat-toggle,
html.in-iframe #chat-widget,
html.in-iframe #chat-layer {
  display: none !important;
}

/* ===== DEPLOY 150 — pane bubble revival =====
   v606 hid the whole chat crew in-iframe when the pane was secondary.
   The pane IS the wall now: the toggle lives for the Evvoia map
   long-press. Chat layer stays standalone-only (flip to full chat
   = un-hide #chat-widget too, one line). */
html.in-iframe #chat-toggle { display: block !important; }

/* ============================================================
   DEPLOY 157 — EDIT MODAL INPUTS DRESSED FOR THE CRT
   Browser-default gray boxes were breaking the theme.
   Dark bg, acid-green borders, VT323, glow on focus.
   ============================================================ */
.edit-modal input[type="text"],
.edit-modal input[type="password"],
.edit-modal input[type="url"],
.edit-modal input[type="email"],
.edit-modal input[type="number"],
.edit-modal textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0d0d0d;
  color: #e0e0e0;
  border: 1px solid var(--site-accent, #00ff00);
  border-radius: 0;                    /* CRT = sharp corners only */
  padding: 8px 10px;
  font-family: 'VT323', monospace;
  font-size: 17px;
  letter-spacing: 1px;
  caret-color: var(--site-accent, #00ff00);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.edit-modal input:focus,
.edit-modal textarea:focus {
  outline: none;
  border-color: var(--site-accent, #00ff00);
  box-shadow: 0 0 8px rgba(var(--site-accent-rgb, 0, 255, 0), 0.55), inset 0 0 4px rgba(var(--site-accent-rgb, 0, 255, 0), 0.15);
}

.edit-modal input::placeholder,
.edit-modal textarea::placeholder {
  color: rgba(var(--site-accent-rgb, 0, 255, 0), 0.35);
}

/* username field is permanent — dim it so it reads locked */
.edit-modal input:disabled,
.edit-modal input[readonly] {
  color: rgba(224, 224, 224, 0.45);
  border-color: rgba(var(--site-accent-rgb, 0, 255, 0), 0.25);
  background: #111;
  cursor: not-allowed;
}

/* ==== theme-song styles — accent-native (append, Rule 28) ==== */
.theme-chip {
  cursor: pointer;
  margin-left: 6px;
  font-size: 0.85em;
  opacity: 0.5;
  transition: opacity 0.15s, text-shadow 0.15s;
  user-select: none;
}
.theme-chip.has-song { opacity: 1; color: var(--site-accent); }
.theme-chip.has-song:hover { text-shadow: 0 0 8px var(--site-accent); }
.theme-chip.no-song { cursor: default; }

.theme-song-play {
  background: transparent;
  border: 1px solid var(--site-accent);
  color: var(--site-accent);
  cursor: pointer;
  margin-left: 8px;
  padding: 1px 8px;
  font: inherit;
  font-size: 0.85em;
}
.theme-song-play:hover { box-shadow: 0 0 10px var(--site-accent); }

.theme-picker { margin-top: 14px; }
.theme-picker-note { font-size: 0.8em; opacity: 0.6; margin: 4px 0 8px; }
.theme-picker input[type="text"] {
  width: 100%;
  background: #111;
  border: 1px solid rgba(0, 255, 0, 0.25);
  color: var(--site-accent);
  padding: 8px 10px;
  font: inherit;
}
.theme-results {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(0, 255, 0, 0.25);
  margin-top: 6px;
}
.theme-result {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 255, 0, 0.12);
  color: inherit;
  padding: 7px 10px;
  cursor: pointer;
  font: inherit;
}
.theme-result:hover { background: rgba(var(--site-accent-rgb), 0.08); }
.theme-result-empty { padding: 8px 10px; font-size: 0.85em; opacity: 0.6; }
.theme-current { font-size: 0.85em; margin-top: 8px; opacity: 0.85; }
.theme-clear-btn {
  background: transparent;
  border: 1px solid rgba(255, 85, 119, 0.5);
  color: #ff5577;
  cursor: pointer;
  padding: 4px 10px;
  font: inherit;
  font-size: 0.8em;
  margin-top: 6px;
}

/* ==== fade player bar — rises from the corner like the lights ==== */
/* ============================================================
   WALL POST COMMENTS — appended 2026-11-11 (Deploy C, Rule 28)
   ============================================================ */
.post-comments { margin-top: 10px; border-top: 1px dashed #333; padding-top: 8px; }
.post-comments-toggle { background: none; border: 1px solid var(--site-accent, #43ff91); color: var(--site-accent, #43ff91); font-family: inherit; font-size: .8rem; letter-spacing: 1px; padding: 4px 10px; cursor: pointer; border-radius: 4px; }
.post-comments-toggle:hover { background: var(--site-accent, #43ff91); color: #000; }
.post-comments-panel { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.pc-row { display: flex; gap: 8px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid #2a2a2a; border-radius: 6px; padding: 6px 8px; }
.pc-avatar { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; }
.pc-avatar-txt { display: inline-flex; align-items: center; justify-content: center; background: #222; font-size: .85rem; }
.pc-body { flex: 1 1 auto; min-width: 0; }
.pc-head { display: flex; gap: 8px; align-items: baseline; }
.pc-name { color: var(--site-accent, #43ff91); font-size: .8rem; }
.pc-time { color: #777; font-size: .7rem; }
.pc-text { color: #ddd; font-size: .85rem; margin-top: 2px; word-break: break-word; white-space: pre-wrap; }
.pc-del { flex: 0 0 auto; background: none; border: none; color: #ff5577; font-size: .7rem; cursor: pointer; letter-spacing: 1px; }
.pc-del:hover { text-decoration: underline; }
.pc-composer { display: flex; gap: 6px; }
.pc-composer textarea { flex: 1; background: rgba(0,0,0,.6); border: 1px solid #333; color: #eee; font-family: inherit; font-size: .85rem; padding: 6px 8px; border-radius: 4px; resize: vertical; min-height: 34px; }
.pc-send { background: var(--site-accent, #43ff91); color: #000; border: none; font-weight: bold; padding: 0 14px; cursor: pointer; border-radius: 4px; letter-spacing: 1px; }
.pc-empty { color: #777; font-size: .8rem; }


/* wallpolish-001-time - hide post timestamps on small screens */
@media (max-width: 620px) {
  .post-meta .post-time { display: none; }
}


/* statshide-001-hide - counters hidden by operator order; delete this rule to bring them back */
.wall-stats { display: none; }


/* badgestyle-001 - badge wears the social-link uniform, lives in the row */
.wall-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  margin: 0;
  background: rgba(var(--site-accent-rgb), 0.1);
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  border-radius: 4px;
  font-family: 'VT323', monospace;
  font-size: 0.95rem;
}


/* ANTHEMORB-001 - anthem orb, nb-fab family, own lane above the bubbles */
.anthem-orb {
  bottom: calc(var(--fab-b2, 94px) + var(--fab-size, 62px) + var(--fab-gap, 12px));
  z-index: var(--nb-z-fab, 9980);
  color: var(--site-accent, #00ff00);
  background: rgba(13, 13, 13, 0.92);
  border: 1px solid var(--site-accent, #00ff00);
  box-shadow: 0 0 15px rgba(var(--site-accent-rgb, 0, 255, 0), 0.35);
}
.anthem-orb:hover { box-shadow: 0 0 24px rgba(var(--site-accent-rgb, 0, 255, 0), 0.7); }
.anthem-orb.singing { animation: anthem-pulse 2s ease-in-out infinite; }
@keyframes anthem-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(var(--site-accent-rgb, 0, 255, 0), 0.35); }
  50%      { box-shadow: 0 0 30px rgba(var(--site-accent-rgb, 0, 255, 0), 0.85); }
}

/* BUBBLEALIGN-001 - orange bubble conscripted to the mirror grid:
   same edge/size/lane discipline as the nb-fab column (main-site law).
   Appended to outrank all earlier .wall-bg-bubble dialects.
   Fossil excavation (three older dialects) queued behind this marker. */
.wall-bg-bubble {
  left: calc(var(--fab-edge, 20px) + env(safe-area-inset-left, 0px));
  right: auto;
  bottom: var(--fab-b1, 20px);
  width: var(--fab-size, 62px);
  height: var(--fab-size, 62px);
}

/* SECTIONCARDS-001 - sections become cards with real gaps between them */
.post-creator-section,
.post-feed-section,
.artist-songs-section,
.user-playlists-section {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.25);
  border-left: 3px solid var(--site-accent, #00ff00);
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  overflow: hidden;
}
.post-creator-section[hidden],
.artist-songs-section[hidden],
.user-playlists-section[hidden] { display: none; }

/* BUBBLEGRID-001 - ONE grid law, both flanks: lane 1 on the floor, lane 2 = --fab-b2.
   Supersedes the 3843 !important fortress until the excavation merges all dialects. */
.wall-bg-bubble {
  left: calc(var(--fab-edge, 20px) + env(safe-area-inset-left, 0px)) !important;
  bottom: calc(var(--fab-b2, 94px) + env(safe-area-inset-bottom, 0px)) !important;
  top: auto !important;
  right: auto !important;
  width: var(--fab-size, 62px) !important;
  height: var(--fab-size, 62px) !important;
}
.anthem-orb {
  bottom: calc(var(--fab-b2, 94px) + env(safe-area-inset-bottom, 0px)) !important;
}
@media (max-width: 768px) {
  .wall-bg-bubble {
    left: calc(16px + env(safe-area-inset-left, 0px)) !important;
    bottom: calc(var(--fab-b2, 94px) + env(safe-area-inset-bottom, 0px)) !important;
    width: 56px !important;
    height: 56px !important;
  }
  .anthem-orb {
    bottom: calc(var(--fab-b2, 94px) + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* TSTAMP-001 - timestamps pulled out of the #666 dead drop.
   Accent-tinted: readable, still secondary to the actual words. */
.post-meta,
.appreciation-meta {
  color: rgba(var(--site-accent-rgb, 0, 255, 0), 0.82) !important;
  opacity: 1;
}
.post-meta .post-pin-flag { filter: none; }

/* TSTAMP-002 - timestamps dyed magenta (royal decree, supersedes TSTAMP-001 green) */
.post-meta,
.appreciation-meta {
  color: #ff00ff !important;
  opacity: 1;
}

/* ===== CLAIMFORM-001: request-form layout + close-btn glow (2026-11-18) ==== */
#request-identity-fields { display: flex; flex-direction: column; gap: .9rem; }
#request-identity-fields label { display: block; width: 100%; }
#request-identity-fields input { width: 100%; margin-top: .35rem; }
.alt-hint { font-size: .62rem; letter-spacing: .08em; opacity: .55; text-transform: none; }
.modal-header { position: relative; }
#claim-modal-cancel {
  position: absolute; top: .4rem; right: .6rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1px solid rgba(0, 255, 255, .45);
  background: rgba(0, 20, 30, .6); color: #7ff;
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
#claim-modal-cancel:hover {
  color: #fff; border-color: #0ff;
  box-shadow: 0 0 10px rgba(0, 255, 255, .5);
  transform: rotate(90deg);
}

/* ===== CLAIMFORM-002b: request-form inputs in the house skin (2026-11-18) ==== */
#request-identity-fields label,
#claim-request-form > label {
  display: block;
  font-family: 'VT323', monospace;
  font-size: .95rem;
  letter-spacing: 1px;
  opacity: .9;
  margin-bottom: 1rem;
}
#claim-request-form input[type="text"],
#claim-request-form input[type="email"],
#claim-request-form input[type="url"],
#claim-request-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: .35rem;
  padding: .6rem .7rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #333;
  color: var(--site-accent, #43ff91);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 1px;
  outline: none;
  transition: border-color .15s ease;
}
#claim-request-form input:focus,
#claim-request-form textarea:focus {
  border-color: var(--site-accent, #43ff91);
}
#claim-request-form ::placeholder {
  color: color-mix(in srgb, var(--site-accent, #43ff91) 40%, transparent);
  letter-spacing: .05em;
}
#claim-request-form textarea { resize: vertical; min-height: 4.2rem; }

/* ===== PILLS-001/002: claim decision pills recolored (2026-11-18) ==== */
/* Decree: accept = magenta, decline = police blue. Backgrounds included this
   time — ID specificity beats the original .pill-blue/.pill-red fills.
   Legacy class names kept as wiring; colors here are the law. */
#claim-modal .pill-btn.pill-blue {
  background: rgba(255, 0, 168, 0.10);
  border-color: #ff00a8;
  color: #ff00a8;
  text-shadow: 0 0 8px rgba(255, 0, 168, 0.4);
}
#claim-modal .pill-btn.pill-blue:hover,
#claim-modal .pill-btn.pill-blue.selected {
  background: rgba(255, 0, 168, 0.28);
  border-color: #ff00a8;
  color: #ff7ad9;
  box-shadow: 0 0 14px rgba(255, 0, 168, 0.5);
}
#claim-modal .pill-btn.pill-red {
  background: rgba(34, 68, 204, 0.16);
  border-color: #2244cc;
  color: #5f7fff;
  text-shadow: 0 0 8px rgba(34, 68, 204, 0.5);
}
#claim-modal .pill-btn.pill-red:hover,
#claim-modal .pill-btn.pill-red.selected {
  background: rgba(34, 68, 204, 0.32);
  border-color: #5f7fff;
  color: #9db4ff;
  box-shadow: 0 0 14px rgba(34, 68, 204, 0.6);
}
#claim-modal .pill-btn::before { background: currentColor; }

/* ===== PILLSWAP-001: magenta (accept) on the RIGHT (2026-11-18) ==== */
/* Boss decree: accept pill sits right of decline. Legacy class wiring unchanged
   (.pill-blue = magenta accept, .pill-red = blue decline). Pure order flip,
   works in flex containers — DOM order and JS handlers untouched. */
#claim-modal .action-buttons .pill-blue { order: 2; }
#claim-modal .action-buttons .pill-red  { order: 1; }

/* ===== CONFPOP-002: cred-modal buttons house skin (2026-11-18) ==== */
.confirm-modal .confirm-actions button {
  padding: .7rem 1.6rem;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #333;
  color: var(--site-accent, #43ff91);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 4px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.confirm-modal .confirm-actions button:hover {
  border-color: var(--site-accent, #43ff91);
  box-shadow: 0 0 10px rgba(67, 255, 145, 0.3);
}
#confirm-yes:disabled { opacity: 0.35; cursor: not-allowed; }

/* ===== CONFPOP-002b: confirm themes — decline red, approve green (2026-11-18) ==== */
.confirm-modal .confirm-box.theme-decline-confirm {
  border-color: #ff1f1f;
  box-shadow: 0 0 18px rgba(255, 31, 31, 0.35);
}
.confirm-modal .confirm-box.theme-decline-confirm .confirm-action,
.confirm-modal .confirm-box.theme-decline-confirm h3 { color: #ff1f1f; }
.confirm-modal .confirm-box.theme-decline-confirm .confirm-actions #confirm-yes:not(:disabled) {
  border-color: #ff1f1f; color: #ff1f1f;
}
.confirm-modal .confirm-box.theme-decline-confirm .confirm-actions #confirm-yes:not(:disabled):hover {
  border-color: #ff1f1f; box-shadow: 0 0 10px rgba(255, 31, 31, 0.45);
}
.confirm-modal .confirm-box.theme-approve-confirm {
  border-color: #00ff00;
  box-shadow: 0 0 18px rgba(0, 255, 0, 0.3);
}
.confirm-modal .confirm-box.theme-approve-confirm .confirm-action,
.confirm-modal .confirm-box.theme-approve-confirm h3 { color: #00ff00; }
.confirm-modal .confirm-box.theme-approve-confirm .confirm-actions #confirm-yes {
  border-color: #00ff00; color: #00ff00;
}
.confirm-modal .confirm-box.theme-approve-confirm .confirm-actions #confirm-yes:hover {
  border-color: #00ff00; box-shadow: 0 0 10px rgba(0, 255, 0, 0.45);
}

/* ===== MATRIXBLUE-001: decline pill wears the ORIGINAL matrix blue (2026-11-18) ==== */
/* Decree: matrix reference kept — accept = green, decline = original blue pill.
   harvested verbatim from the base .pill-blue rule; class wiring (.pill-red) unchanged. */
#claim-modal .pill-btn.pill-red {
background: #00e5ff;              /* same cyan as .is-heaven */
  border-color: #00e5ff;
  color: #000;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}
#claim-modal .pill-btn.pill-red:hover,
#claim-modal .pill-btn.pill-red.selected {
background: #00e5ff;              /* same cyan as .is-heaven */
  border-color: #00e5ff;
  color: #000;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

/* ===== MATRIX-002: final pill doctrine + lease-proof confirms (2026-11-18) ==== */
/* Pills: accept = green (obvious), decline = TRUE matrix blue. Matrix reference kept. */
#claim-modal .pill-btn.pill-blue {
  background: rgba(0, 255, 0, 0.10);
  border-color: #00ff00;
  color: #00ff00;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
  box-shadow: none;
}
#claim-modal .pill-btn.pill-blue:hover,
#claim-modal .pill-btn.pill-blue.selected {
  background: rgba(0, 255, 0, 0.25);
  border-color: #00ff00;
  color: #00ff00;
  box-shadow: 0 0 14px rgba(0, 255, 0, 0.5);
}
#claim-modal .pill-btn.pill-red {
  background: #2244cc;
  border-color: #2244cc;
  color: #dfe6ff;
  text-shadow: 0 0 8px rgba(34, 68, 204, 0.5);
  box-shadow: 0 0 18px rgba(34, 68, 204, 0.45);
}
#claim-modal .pill-btn.pill-red:hover,
#claim-modal .pill-btn.pill-red.selected {
  background: #2a55e6;
  border-color: #2a55e6;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(42, 85, 230, 0.55);
}

/* Lease-proof confirms: the box owns --site-accent, so the notification-panel
   theme leases can no longer re-tint buttons/labels inside it. */
.confirm-modal .confirm-box.theme-decline-confirm { --site-accent: #ff1f1f; }
.confirm-modal .confirm-box.theme-approve-confirm { --site-accent: #00ff00; }
.confirm-modal .confirm-box .confirm-team-msg {
  margin: 0.8rem 0;
  padding: 0.7rem 0.9rem;
  border: 1px dashed color-mix(in srgb, var(--site-accent, #43ff91) 55%, transparent);
  color: #ddd;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.confirm-modal .confirm-box .confirm-team-msg::before {
  content: "// MESSAGE FROM THE TEAM";
  display: block;
  color: var(--site-accent, #43ff91);
  font-size: 0.72rem;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}

/* ===== MATRIX-003: pill weight swap — green FILLED, blue outline (2026-11-18) ==== */
/* Decree: green pill = filled solid (matrix accept), blue = outline. No more
   visual hinting toward the blue; the accept is the loud one. */
#claim-modal .pill-btn.pill-blue {
  background: #00ff00;
  border-color: #00ff00;
  color: #000;
  text-shadow: none;
  box-shadow: 0 0 18px rgba(0, 255, 0, 0.45);
}
#claim-modal .pill-btn.pill-blue:hover,
#claim-modal .pill-btn.pill-blue.selected {
  background: #4dff4d;
  border-color: #4dff4d;
  color: #000;
  box-shadow: 0 0 22px rgba(0, 255, 0, 0.6);
}
#claim-modal .pill-btn.pill-red {
  background: rgba(34, 68, 204, 0.10);
  border-color: #2244cc;
  color: #5f7fff;
  text-shadow: 0 0 8px rgba(34, 68, 204, 0.5);
  box-shadow: none;
}
#claim-modal .pill-btn.pill-red:hover,
#claim-modal .pill-btn.pill-red.selected {
  background: rgba(34, 68, 204, 0.25);
  border-color: #2a55e6;
  color: #7f96ff;
  box-shadow: 0 0 14px rgba(34, 68, 204, 0.5);
}

/* ===== REPORT-001: legal/report confirm theme + orange dressing (2026-11-18) ==== */
.confirm-modal .confirm-box.theme-legal-confirm { --site-accent: #ff8c00; }
.confirm-modal .confirm-box.theme-legal-confirm .confirm-actions #confirm-yes:not(:disabled) {
  border-color: #ff8c00; color: #ff8c00;
}
.confirm-modal .confirm-box.theme-legal-confirm .confirm-actions #confirm-yes:not(:disabled):hover {
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

/* ===== REPORT-002: verified code display in stage-one (2026-11-18) ==== */
#claim-modal .claim-code-shown {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.4rem 0.9rem;
  border: 1px dashed var(--site-accent, #43ff91);
  color: var(--site-accent, #43ff91);
  font-family: 'VT323', monospace;
  font-size: 1.05rem;
  letter-spacing: 3px;
  border-radius: 4px;
}
#claim-modal .claim-code-shown::before {
  content: "YOUR CODE: ";
  letter-spacing: 1px;
  opacity: 0.65;
}

/* ===== REPORT-003b: legal confirm theme — house orange, lease-proof (2026-11-18) ==== */
.confirm-modal .confirm-box.theme-legal-confirm {
  --site-accent: #ff8c00;
  border-color: #ff8c00;
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.35);
}
.confirm-modal .confirm-box.theme-legal-confirm .confirm-action,
.confirm-modal .confirm-box.theme-legal-confirm h3 { color: #ff8c00; }
.confirm-modal .confirm-box.theme-legal-confirm .confirm-actions #confirm-yes:not(:disabled) {
  border-color: #ff8c00; color: #ff8c00;
}
.confirm-modal .confirm-box.theme-legal-confirm .confirm-actions #confirm-yes:not(:disabled):hover {
  border-color: #ff8c00; box-shadow: 0 0 10px rgba(255, 140, 0, 0.45);
}

/* ==== GLOW-2 (2026-11-22): accent color picker in edit modal ==== */
.accent-swatches { display: flex; gap: .55rem; flex-wrap: wrap; margin: .4rem 0 .8rem; }
.accent-swatch {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sw, #ffffff);
  border: 2px solid var(--bg-primary, #0d0d0d);
  box-shadow: 0 0 10px var(--sw, transparent);
  cursor: pointer;
}
.accent-swatch.is-active {
  outline: 2px solid var(--text-primary, #e0e0e0);
  outline-offset: 3px;
}
.edit-accent input[type="color"] {
  width: 64px; height: 34px; padding: 0;
  background: transparent;
  border: 1px solid rgba(var(--site-accent-rgb, 0, 255, 0), 0.78);
  cursor: pointer;
}
#accent-reset { margin-top: .4rem; }


/* ===== SONGBTN-SHIP-01 — LISTEN/WATCH/PLAY buttons (appended per Rule 28) ===== */
.song-ext-btn {
  display: inline-block;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 6px 14px;
  border: 1px solid var(--site-accent, #00ff00);
  background: transparent;
  color: var(--site-accent, #00ff00);
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
}
.song-ext-btn:hover:not(:disabled) {
  background: var(--site-accent, #00ff00);
  color: #0d0d0d;
}
.song-ext-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
/* ==== END SONGBTN-SHIP-01 ==== */


/* ADMINPOST-RESERVE-01: reserved blank slot for non-admin custom post (operator order) */
.admin-custom-appr-section.appr-reserved {
  visibility: hidden;
}


/* ==================== CLAIMX-STYLE-02 ====================
   Operator order 2026-11-23: kill the chip/circle. The claim ✕
   dresses like its popup siblings (.gallery-modal-close,
   wall.css:4150/4305) — naked white glyph, no border, no
   rounding. Ghost X-DRESS-01 (notifications.css:1455) fully
   out-declared: triple-ID beats (0,2,1), teal impossible. */
#claim-modal .confirm-box #claim-modal-cancel {
  background: none;
  border: none;
  border-radius: 0;
  width: auto;
  height: auto;
  color: #fff;
  font-family: inherit;
  font-size: 1.5rem;
  letter-spacing: 0;
  padding: 0.25rem;
  box-shadow: none;
}

#claim-modal .confirm-box #claim-modal-cancel:hover,
#claim-modal .confirm-box #claim-modal-cancel:focus-visible {
  background: none;
  color: var(--site-accent, #a06bff);
  box-shadow: none;
}

#claim-modal .confirm-box #claim-modal-cancel:active {
  transform: none;
}


/* ==================== REQUESTBTN-01 ====================
   Request-stage buttons were born after the last styling pass:
   #request-submit had zero rules (browser default). Dressed in
   the module dialect; GO BACK kept muted but family-consistent. */
#claim-modal .confirm-box #request-submit {
  background: var(--site-accent);
  color: #000;
  border: 1px solid var(--site-accent);
  font-family: 'VT323', monospace;
  font-size: 1.15rem;
  letter-spacing: 1px;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
#claim-modal .confirm-box #request-submit:hover {
  box-shadow: 0 0 15px var(--site-accent);
}
#claim-modal .confirm-box #request-cancel.secondary {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
  font-family: 'VT323', monospace;
  font-size: 1.15rem;
  letter-spacing: 1px;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
#claim-modal .confirm-box #request-cancel.secondary:hover {
  border-color: var(--site-accent);
  color: var(--site-accent);
}

/* ==================== WALLBG-01 (2026-11-23) ====================
   Exit-flash cure for the np-wall popup: the wall document never
   painted its own root, so when the iframe layer demotes mid
   exit-fade the browser repaints the default (white) surface.
   Law: wall roots are explicitly black — nothing left to flash. */
/* WALLSLIDE-01 (2026-11-23): body must stay transparent — the .wall-bg-layer
   (z-index:-1) paints BEHIND body's background but ABOVE html's canvas.
   Black html alone keeps the no-flash law (WALLBG-01); an opaque body
   entombed the bg slideshow. */
html.wall-immersive {
  background: #000 !important;
}
html.wall-immersive body {
  background: transparent !important;
}

/* ===== WALLCUT-01 (2026-11-24) — song card button row was cut on mobile:
   .song-actions had no flex-wrap, 4 .song-ext-btn's (~500px total) ran past
   the viewport, PLAY button guillotined at the right edge. Let the crew
   wrap and never exceed the card box. ===== */
.song-actions {
  flex-wrap: wrap;
}
.song-actions .song-ext-btn {
  max-width: 100%;
  box-sizing: border-box;
}
.song-card .reaction-row {
  max-width: 100%;
}
@media (max-width: 620px) {
  .song-actions { gap: 0.4rem; }
  /* WALLCUT-02: 3 buttons' min-content > 360px viewport — flex:1 1 auto
     couldn't shrink below min-content, BANDCAMP stayed guillotined.
     2-per-row basis, shrink allowed: LISTEN+WATCH / BANDCAMP+PLAY. */
  .song-actions .song-ext-btn {
    flex: 1 1 calc(50% - 0.45rem);
    min-width: 0;
    text-align: center;
    box-sizing: border-box;
  }
}
/* ==== END WALLCUT-01 ==== */

/* ===== WALLCUT-03 (2026-11-24) — song-grid track floor was 380px:
   wider than a 360px phone, whole card bled off-screen (buttons fix in
   WALLCUT-01/02 was downstream). min(100%,380px) keeps desktop columns
   >=380px but lets a track shrink to the container on narrow phones. ===== */
.song-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
}
/* ==== END WALLCUT-03 ==== */
