/* DO NOT EDIT — generated by build_static.js from src/custom.css */
/*
 * custom.css — YOUR style overrides
 * ══════════════════════════════════════════════════════════════════
 * Generated ONCE by wiki_generator. Never overwritten on subsequent runs.
 * Add overrides here to customise the wiki without touching style.css.
 * Loaded AFTER style.css, so your rules take priority.
 *
 * All theme variables are in colors.css. Override them here:
 *   :root { --accent: #5588cc; }   ← changes the gold highlight to blue
 *
 * Category-specific card styles (data-category is set by the filter):
/* .item-card[data-category="biomes"] { border-left-color: #c8952a; } */
/* .item-card[data-category="block_sets"] { border-left-color: #c8952a; } */
/* .item-card[data-category="cook"] { border-left-color: #c8952a; } */
/* .item-card[data-category="credits"] { border-left-color: #c8952a; } */
 * ══════════════════════════════════════════════════════════════════
 */

/* Add your overrides below this line */

/* Scale the whole page to match 125% browser zoom */
html {
  zoom: 1.25;
}

/* Description list indentation: make dot/ bullet lists look tab-indented */
.item-desc .desc-list {
  margin-left: 1.5rem;
  padding-left: 0.5rem;
  list-style-position: outside;
}

.item-desc .desc-list li {
  text-indent: 0; /* ensure no hanging indent */
}

/* ── Socials button (sidebar, always visible) ─────────────────────────────── */
.sidebar-socials-bar {
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.socials-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.socials-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.socials-btn svg {
  flex-shrink: 0;
}

/* ── Socials modal ─────────────────────────────────────────────────────────── */
.socials-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.socials-modal[hidden] { display: none; }

.socials-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.socials-modal-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 28px 24px;
  width: min(420px, 90vw);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  animation: socialsSlideIn 0.18s ease-out;
}
@keyframes socialsSlideIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.socials-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius);
  transition: color 0.1s;
}
.socials-close:hover { color: var(--text); }

.socials-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.socials-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.socials-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.socials-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  background: var(--surface2);
}
.socials-link:hover {
  transform: translateX(3px);
  border-color: var(--border-light);
}

.socials-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 4px;
}

.socials-link-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.socials-link-text strong {
  font-size: 13px;
  font-weight: 600;
}
.socials-link-text small {
  font-size: 11px;
  color: var(--text-muted);
}

/* Per-platform accent colours */
.socials-discord  { --socials-color: #5865F2; }
.socials-youtube  { --socials-color: #FF0000; }
.socials-tiktok   { --socials-color: #010101; }
.socials-instagram{ --socials-color: #E1306C; }
.socials-curseforge{ --socials-color: #F16436; }

.socials-link:hover .socials-icon { color: var(--socials-color); }
.socials-link:hover { background: color-mix(in srgb, var(--socials-color) 8%, var(--surface2)); border-color: color-mix(in srgb, var(--socials-color) 40%, var(--border)); }
