/* ========================================================
   W GOBLINS L HUMANS - COMMUNITY HUB & WORKSHOP STYLESHEET
   Deep Dark Neutral/Charcoal Background with #A79F84 Accent
   No Green Tints, No Shadows, Pure Contrast & Crisp Borders
   ======================================================== */

:root {
  /* Deep Dark Neutral/Charcoal Palette (Ensures Logo Stands Out Sharply) */
  --wglh-bg-dark: #080807;
  --wglh-bg-panel: #111110;
  --wglh-bg-card: #151514;
  --wglh-bg-inset: #090908;

  /* Warm Dark Stone Borders (Harmonizes with #A79F84, Zero Green) */
  --wglh-border-outer: #282724;
  --wglh-border-inner: #1c1c1a;

  /* Typography */
  --wglh-text-main: #dedad2;
  --wglh-text-heading: #ffffff;
  --wglh-text-muted: #888479;

  /* Primary Accent: Exact #A79F84 from the Logo */
  --wglh-accent: #a79f84;
  --wglh-accent-light: #cfc8b0;
  --wglh-accent-hover: #b8b094;
  --wglh-accent-dark: #655f48;
  --wglh-accent-bg: rgba(167, 159, 132, 0.12);
  --wglh-accent-border: #a79f84;

  /* Button Styles */
  --wglh-btn-accent: #a79f84;
  --wglh-btn-accent-hover: #cfc8b0;
  --wglh-btn-slate: #1c1c1a;
  --wglh-btn-slate-hover: #292926;
  --wglh-danger: #611919;
  --wglh-danger-hover: #7d2222;
}

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

body {
  background-color: var(--wglh-bg-dark);
  background-image: linear-gradient(180deg, #10100f 0%, #080807 400px);
  color: var(--wglh-text-main);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ================= GLOBAL HEADER ================= */
.steam-header {
  background: #0c0c0b;
  border-bottom: 1px solid var(--wglh-border-outer);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-section {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.brand-section:hover .brand-logo-img {
  opacity: 0.9;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-nav-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* User Pill in Header */
.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #151514;
  border: 1px solid var(--wglh-border-outer);
  padding: 4px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.user-pill:hover {
  border-color: var(--wglh-accent);
}

.user-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  border: 1px solid var(--wglh-border-outer);
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
}

.user-avatar-sm.admin {
  border-color: var(--wglh-accent);
}

.user-name-role {
  display: flex;
  flex-direction: column;
}

.user-name-text {
  font-weight: bold;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.2;
}

.role-badge {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  width: fit-content;
}

.role-badge.admin {
  background: var(--wglh-accent-bg);
  color: var(--wglh-accent-light);
  border: 1px solid var(--wglh-accent);
}

.role-badge.user {
  background: #1a1a18;
  color: #b0aba0;
  border: 1px solid #2a2926;
}

/* ================= NAVIGATION TABS ================= */
.steam-nav-bar {
  background: #090908;
  border-top: 1px solid var(--wglh-border-inner);
  border-bottom: 1px solid var(--wglh-border-outer);
}

.nav-container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 2px;
  padding: 0 16px;
}

.nav-tab {
  padding: 11px 20px;
  color: #8c877c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
  border: none;
  background: transparent;
}

.nav-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.nav-tab.active {
  color: var(--wglh-accent-light);
  background: #141412;
  border-top: 2px solid var(--wglh-accent);
}

/* ================= MAIN CONTAINER ================= */
.main-wrapper {
  max-width: 1080px;
  width: 100%;
  margin: 20px auto 40px auto;
  padding: 0 16px;
  flex: 1;
}

.steam-panel {
  background: var(--wglh-bg-panel);
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}

/* ================= SECTION HEADINGS ================= */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wglh-border-inner);
}

.panel-title {
  font-size: 18px;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--wglh-accent);
  border-radius: 2px;
}

/* ================= BUTTONS ================= */
.btn-steam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  user-select: none;
  white-space: nowrap;
}

/* Primary Button (Accent #A79F84) */
.btn-green {
  background: var(--wglh-btn-accent);
  color: #0c0c0b;
  border: 1px solid var(--wglh-accent-light);
  font-weight: 700;
}

.btn-green:hover {
  background: var(--wglh-btn-accent-hover);
  color: #000000;
  border-color: #e5e0cf;
}

/* Slate Dark Button (Secondary) */
.btn-slate {
  background: var(--wglh-btn-slate);
  color: #dedad2;
  border: 1px solid #2e2d29;
}

.btn-slate:hover {
  background: var(--wglh-btn-slate-hover);
  color: #ffffff;
  border-color: var(--wglh-accent);
}

/* Blue Button (Modal Actions) */
.btn-blue {
  background: #1a1a18;
  color: var(--wglh-accent-light);
  border: 1px solid #302f2a;
}

.btn-blue:hover {
  background: #242421;
  border-color: var(--wglh-accent);
  color: #ffffff;
}

/* Danger Button */
.btn-danger {
  background: var(--wglh-danger);
  color: #fecaca;
  border: 1px solid #7d2222;
}

.btn-danger:hover {
  background: var(--wglh-danger-hover);
  color: #ffffff;
}

/* Red Itch.io Button */
.btn-itch {
  background: #fa5c5c;
  color: #ffffff !important;
  border: 1px solid #ff7b7b;
  text-transform: lowercase;
  font-family: inherit;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(250, 92, 92, 0.25);
}

.btn-itch:hover {
  background: #ff4747;
  color: #ffffff !important;
  border-color: #ffa3a3;
  box-shadow: 0 2px 8px rgba(255, 71, 71, 0.45);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 11px;
}

.archive-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}

/* ================= WORKSHOP TOOLBAR & FILTERS ================= */
.workshop-toolbar {
  background: #0d0d0c;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #080807;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 3px;
  padding: 4px 10px;
  width: 310px;
  max-width: 100%;
  transition: border-color 0.15s ease;
}

.search-box:focus-within {
  border-color: var(--wglh-accent);
}

.search-box svg {
  color: #68655e;
  flex-shrink: 0;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13px;
  width: 100%;
  padding: 4px 0;
}

.search-box input::placeholder {
  color: #615e57;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #161614;
  border: 1px solid #2a2926;
  color: #918d83;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  color: #ffffff;
  border-color: var(--wglh-accent);
}

.filter-btn.active {
  background: var(--wglh-accent);
  color: #0c0c0b;
  border-color: var(--wglh-accent-light);
  font-weight: bold;
}

.sort-select {
  background: #080807;
  border: 1px solid var(--wglh-border-outer);
  color: #ffffff;
  padding: 7px 12px;
  border-radius: 3px;
  font-size: 12px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.sort-select:focus {
  border-color: var(--wglh-accent);
}

/* Expandable Advanced Filters Box */
.advanced-filters-box {
  background: #0c0c0b;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--wglh-accent);
  font-weight: bold;
  letter-spacing: 0.5px;
  min-width: 140px;
}

.filter-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip-btn {
  background: #161614;
  border: 1px solid #2a2926;
  color: #918d83;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  color: #ffffff;
  border-color: var(--wglh-accent);
}

.chip-btn.active {
  background: var(--wglh-accent);
  color: #0c0c0b;
  border-color: var(--wglh-accent-light);
  font-weight: bold;
}

/* ================= WORKSHOP LEVEL CARDS GRID ================= */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

.level-card {
  background: var(--wglh-bg-card);
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.15s ease;
  position: relative;
}

.level-card:hover {
  border-color: var(--wglh-accent);
}

.card-thumb-wrap {
  width: 100%;
  height: 160px;
  background: #080807;
  border-bottom: 1px solid var(--wglh-border-outer);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.level-card:hover .card-thumb-wrap img {
  transform: scale(1.02);
}

.card-badges-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge-char {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.badge-char.sam {
  background: #181816;
  color: var(--wglh-accent-light);
  border: 1px solid var(--wglh-accent);
}

.badge-char.sal {
  background: #25201c;
  color: #e2ba9b;
  border: 1px solid #7a5438;
}

.badge-shotgun {
  background: var(--wglh-accent-bg);
  color: var(--wglh-accent-light);
  border: 1px solid var(--wglh-accent-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 2px;
}

.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--wglh-accent-light);
  margin-bottom: 6px;
  line-height: 1.2;
  cursor: pointer;
}

.card-title:hover {
  color: #ffffff;
  text-decoration: underline;
}

.card-author {
  font-size: 12px;
  color: var(--wglh-text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-author a {
  color: var(--wglh-accent);
  text-decoration: none;
  font-weight: 600;
}

.card-author a:hover {
  color: var(--wglh-accent-light);
  text-decoration: underline;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0c0c0b;
  border: 1px solid var(--wglh-border-inner);
  padding: 8px 12px;
  border-radius: 3px;
  margin-top: auto;
  margin-bottom: 14px;
  font-size: 11px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #837f76;
}

.meta-item strong {
  color: #ffffff;
}

.card-actions {
  display: flex;
  gap: 8px;
}

/* ================= STORE / DOWNLOADS HERO SECTION ================= */
.store-hero {
  background: #111110;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 24px;
}

.store-media img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--wglh-border-outer);
}

.store-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.store-game-title {
  font-family: "Impact", Arial Black, sans-serif;
  font-size: 28px;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 10px;
  line-height: 1.1;
}

.store-desc {
  font-size: 13px;
  color: #adaba4;
  margin-bottom: 16px;
  line-height: 1.5;
}

.feature-list {
  list-style: none;
  margin-bottom: 20px;
}

.feature-list li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cfccc4;
}

.feature-list li::before {
  content: "•";
  color: var(--wglh-accent);
  font-size: 18px;
  line-height: 0;
}

/* Classic Download Widget */
.steam-download-box {
  background: #141412;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.download-title h3 {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 4px;
}

.download-title p {
  font-size: 12px;
  color: #837f76;
}

/* ================= LOBBIES / ACTIVITY TABLE ================= */
.lobby-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  background: #0c0c0b;
}

.steam-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.steam-table th {
  background: #141412;
  padding: 10px 14px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--wglh-accent);
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--wglh-border-outer);
}

.steam-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--wglh-border-inner);
  font-size: 13px;
}

.steam-table tr:hover td {
  background: rgba(167, 159, 132, 0.05);
}

.room-code-badge {
  font-family: monospace;
  background: #080807;
  border: 1px solid var(--wglh-accent);
  color: var(--wglh-accent);
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: bold;
  font-size: 12px;
}

/* ================= PROFILE VIEW ================= */
.profile-banner {
  background: #121211;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.profile-avatar-lg {
  width: 104px;
  height: 104px;
  border-radius: 4px;
  border: 2px solid var(--wglh-border-outer);
  object-fit: cover;
  background: #000;
}

.profile-avatar-lg.admin {
  border-color: var(--wglh-accent);
}

.profile-details {
  flex: 1;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.profile-name {
  font-size: 22px;
  color: #ffffff;
  font-weight: bold;
}

.profile-status {
  font-size: 12px;
  color: var(--wglh-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-weight: 600;
}

.profile-bio {
  font-size: 13px;
  color: #9c978c;
  max-width: 600px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-box {
  background: #131311;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}

.stat-number {
  font-size: 26px;
  font-weight: bold;
  color: var(--wglh-accent-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #79756b;
  letter-spacing: 0.5px;
}

/* ================= MODALS ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.steam-modal {
  background: #131311;
  border: 1px solid var(--wglh-accent);
  border-radius: 4px;
  width: 580px;
  max-width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-enter 0.15s ease-out;
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  background: #171715;
  padding: 12px 18px;
  border-bottom: 1px solid var(--wglh-border-outer);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.modal-close {
  background: transparent;
  border: none;
  color: #837f76;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* Form Controls */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 11px;
  color: var(--wglh-accent);
  margin-bottom: 6px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-textarea {
  width: 100%;
  background: #080807;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 3px;
  padding: 9px 12px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--wglh-accent);
}

.form-hint {
  font-size: 11px;
  color: #635f56;
  margin-top: 4px;
}

/* Custom Avatar Upload UI */
.avatar-custom-upload-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: #080807;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  margin-top: 8px;
}

.avatar-preview-box {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  border: 1px solid var(--wglh-border-outer);
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.avatar-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-upload-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.avatar-preset-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* ================= LEVEL DETAIL & COMMENTS ================= */
.level-detail-card {
  background: #0e0e0d;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  padding: 18px;
  margin-bottom: 20px;
}

/* Level Schematic Viewer */
.level-schematic-box {
  background: #090908;
  border: 1px solid var(--wglh-border-outer);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.schematic-header {
  padding: 8px 12px;
  background: #111110;
  border-bottom: 1px solid var(--wglh-border-inner);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.schematic-canvas-wrap {
  width: 100%;
  height: 220px;
  background: #060605;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.schematic-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.schematic-canvas-wrap:hover .schematic-img {
  transform: scale(1.03);
}

.schematic-legend {
  padding: 8px 12px;
  background: #0d0d0c;
  border-top: 1px solid var(--wglh-border-inner);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: var(--wglh-text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

.rating-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  padding: 12px 16px;
  background: #090908;
  border: 1px solid var(--wglh-border-inner);
  border-radius: 4px;
}

.btn-vote {
  background: #151514;
  border: 1px solid var(--wglh-border-outer);
  color: #dedad2;
  padding: 6px 14px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-vote:hover {
  border-color: var(--wglh-accent);
  color: #ffffff;
}

.btn-vote.active-like {
  background: var(--wglh-accent);
  color: #0c0c0b;
  border-color: var(--wglh-accent-light);
  font-weight: bold;
}

.btn-vote.active-dislike {
  background: #501616;
  color: #ffffff;
  border-color: #8b2828;
}

.comments-stream {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.comment-card {
  background: #0e0e0d;
  border: 1px solid var(--wglh-border-inner);
  border-radius: 4px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  position: relative;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  border: 1px solid var(--wglh-border-outer);
  object-fit: cover;
  flex-shrink: 0;
}

.comment-avatar.admin {
  border-color: var(--wglh-accent);
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-author {
  font-weight: bold;
  color: var(--wglh-accent-light);
  font-size: 13px;
}

.comment-date {
  font-size: 11px;
  color: #6d6960;
}

.comment-text {
  font-size: 13px;
  color: #d6d2c8;
  line-height: 1.4;
  word-break: break-word;
}

.comment-del-btn {
  background: transparent;
  border: none;
  color: #635f56;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.15s ease;
  margin-left: auto;
}

.comment-del-btn:hover {
  color: #ef4444;
}

/* ================= TOAST NOTIFICATIONS ================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background: #141412;
  border: 1px solid var(--wglh-accent);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 0.2s ease-out;
  pointer-events: auto;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .store-hero { grid-template-columns: 1fr; }
  .header-top { flex-direction: column; gap: 10px; }
  .nav-container { overflow-x: auto; }
  .profile-banner { flex-direction: column; text-align: center; }
  .profile-name-row { justify-content: center; }
  .profile-status { justify-content: center; }
}

/* User Tag & Author Link Styles */
.user-tag-badge {
  font-family: monospace;
  font-size: 11px;
  color: var(--wglh-accent-light);
  background: rgba(167, 159, 132, 0.12);
  border: 1px solid rgba(167, 159, 132, 0.3);
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: all 0.15s ease;
  vertical-align: middle;
}
.user-tag-badge:hover {
  background: rgba(167, 159, 132, 0.25);
  border-color: var(--wglh-accent-light);
  color: #ffffff;
}

.author-link {
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.author-link:hover {
  color: var(--wglh-accent-light);
  text-decoration: underline;
}
.author-tag-sm {
  font-family: monospace;
  font-size: 11px;
  color: var(--wglh-accent);
  background: rgba(167, 159, 132, 0.1);
  padding: 1px 4px;
  border-radius: 2px;
}

