@import url("./wiki.css");

:root {
  --htk-red: #ff6b6b;
  --htk-red-strong: #d93b4f;
  --htk-red-soft: #ffd0d5;
}

.hunt-the-king-wiki-page {
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 107, 107, 0.16), transparent 24%),
    radial-gradient(circle at 16% 12%, rgba(255, 128, 128, 0.14), transparent 30%),
    linear-gradient(180deg, #12060b 0%, #07030d 52%, #040205 100%);
}

.hunt-the-king-wiki-page::before {
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,0.06) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 22%, rgba(255, 107, 107, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 72%, rgba(255, 150, 166, 0.1) 0 1px, transparent 2px);
  background-size: 220px 220px, 280px 280px, 320px 320px;
}

.hunt-the-king-wiki-page .background-glow-left {
  background: rgba(255, 126, 126, 0.28);
}

.hunt-the-king-wiki-page .background-glow-right {
  background: rgba(217, 59, 79, 0.22);
}

.background-glow-red {
  top: 60rem;
  left: -8rem;
  background: rgba(217, 59, 79, 0.22);
}

.button-primary-red {
  background: linear-gradient(135deg, #ffc0c0, #d93b4f);
  color: #190307;
  box-shadow: 0 18px 40px rgba(153, 34, 54, 0.32);
}

.button-secondary-red {
  border-color: rgba(255, 107, 107, 0.18);
  background: rgba(35, 12, 18, 0.48);
  color: var(--htk-red-soft);
}

.hunt-the-king-wiki-page .project-badge,
.hunt-the-king-wiki-page .project-pill {
  border-color: rgba(255, 107, 107, 0.18);
  background: rgba(43, 12, 18, 0.4);
  color: var(--htk-red-soft);
}

.hunt-the-king-wiki-page .project-heading-accent {
  background: linear-gradient(135deg, #ffe3e3 0%, #ffb8b8 26%, #ff6b6b 58%, #d93b4f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hunt-the-king-wiki-page .wiki-quick-card,
.hunt-the-king-wiki-page .wiki-card-green,
.hunt-the-king-wiki-page .wiki-chip,
.hunt-the-king-wiki-page .wiki-note.wiki-tip {
  border-color: rgba(255, 107, 107, 0.14);
}

.hunt-the-king-wiki-page .wiki-quick-card,
.hunt-the-king-wiki-page .wiki-card-green {
  background: linear-gradient(180deg, rgba(34, 14, 20, 0.92), rgba(11, 6, 9, 0.98));
}

.hunt-the-king-wiki-page .wiki-card-label,
.hunt-the-king-wiki-page .wiki-sidebar-group-label,
.hunt-the-king-wiki-page .wiki-section-tag,
.hunt-the-king-wiki-page .wiki-code-block,
.hunt-the-king-wiki-page .wiki-inline-code,
.hunt-the-king-wiki-page .wiki-cmd,
.hunt-the-king-wiki-page .wiki-table td code,
.hunt-the-king-wiki-page .wiki-table th code {
  color: var(--htk-red);
}

.hunt-the-king-wiki-page .wiki-section-tag,
.hunt-the-king-wiki-page .wiki-inline-code,
.hunt-the-king-wiki-page .wiki-chip,
.hunt-the-king-wiki-page .wiki-cmd,
.hunt-the-king-wiki-page .wiki-table th {
  background: rgba(255, 107, 107, 0.08);
}

.hunt-the-king-wiki-page .wiki-code-block {
  background: rgba(20, 10, 14, 0.82);
}

.hunt-the-king-wiki-page .wiki-table th {
  color: var(--htk-red-soft);
}

.hunt-the-king-wiki-page .wiki-note.wiki-tip {
  background: rgba(217, 59, 79, 0.08);
}

.hunt-the-king-wiki-page .wiki-tip .wiki-note-body strong {
  color: var(--htk-red-soft);
}

.hunt-the-king-wiki-page .wiki-sidebar-links a:hover,
.hunt-the-king-wiki-page .wiki-sidebar-links a.active,
.hunt-the-king-wiki-page .wiki-toc-links a:hover {
  background: rgba(255, 107, 107, 0.08);
  color: var(--htk-red-soft);
}

.hunt-the-king-wiki-page .wiki-list li::before,
.hunt-the-king-wiki-page .wiki-checklist li::before,
.hunt-the-king-wiki-page .wiki-ordered-list li::before {
  border-color: rgba(255, 107, 107, 0.18);
}

.hunt-the-king-wiki-page .wiki-list li::before {
  background: var(--htk-red);
}

.hunt-the-king-wiki-page .wiki-checklist li::before {
  background-color: rgba(255, 107, 107, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23ff6b6b' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hunt-the-king-wiki-page .wiki-ordered-list li::before {
  background: rgba(255, 107, 107, 0.08);
  color: var(--htk-red);
}

.hunt-the-king-wiki-page .wiki-toc-card {
  background: linear-gradient(180deg, rgba(26, 11, 18, 0.92), rgba(10, 5, 9, 0.98));
  border-color: rgba(255, 107, 107, 0.14);
}

.hunt-the-king-wiki-page .wiki-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 560px) {
  .hunt-the-king-wiki-page .wiki-link-grid {
    grid-template-columns: 1fr;
  }
}
