@font-face {
  font-family: 'Throne and Liberty';
  src: url('assets/fonts/TLHeader-Regular-RUS.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


:root {
  --background: #09070f;
  --foreground: oklch(0.78 0.01 275);
  --card: #120f1a;
  --primary: oklch(0.92 0.01 275);
  --primary-foreground: var(--background);
  --secondary: #181426;
  --muted: #07050a;
  --muted-foreground: oklch(0.58 0.01 275);
  --border: #241e33;
  --brand: #d4af37; 
  --green: #4ade80;
  --blue: #60a5fa;
  
  --hp-1-2m: #94a3b8; /* Grey */
  --hp-2-3m: #facc15; /* Yellow */
  --hp-4-6m: #fb923c; /* Orange */
  --hp-9-3m: #c084fc; /* Purple */

  --shadow-border: 0 0 0 1px rgb(0, 0, 0);
  --radius: 0.625rem;

  scrollbar-width: thin;
  scrollbar-color: oklch(0.3 0 0) transparent;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  background-color: var(--muted);
  scroll-behavior: smooth;
}
body {
  color: var(--foreground);
  font-family: 'Throne and Liberty', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100lvh;
  height: var(--bg-vh, 100lvh);
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(10, 8, 18, 0.65), rgba(10, 8, 18, 0.85)),
    url('assets/images/gauntlet.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
}
svg {
  fill: currentColor;
}
button {
  font-family: inherit;
  cursor: pointer;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: oklch(0.3 0 0);
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}


.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.layout__main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 3rem;
}
.section {
  position: relative;
  overflow: hidden;
}
.section__inner {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 100%;
  max-width: 72rem;
  padding: 0 1rem;
}
.section__inner > *:not(.info) {
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .section__inner {
    padding: 0 1.5rem;
  }
}


.page-top {
  position: relative;
}
.page-top__row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 1.25rem 0;
}
.page-top__title {
  font-size: 1.125rem;
  font-weight: 400;
  margin: 0;
}
@media (min-width: 768px) {
  .page-top__title {
    font-size: 1.5rem;
  }
}


.content {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  padding: 1.5rem 0 0;
}
.tz-note {
  color: var(--brand);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}
.page-top__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.fmt-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}
.fmt-toggle__btn {
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}
.fmt-toggle__btn:hover {
  color: var(--foreground);
}
.fmt-toggle__btn.on {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}


.timer-panel {
  position: relative;
  width: 100%;
  max-width: 62rem;
  margin: 0 auto 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: rgba(15, 13, 10, 0.4);
}
.timer-panel__heading {
  color: oklch(0.85 0.01 75);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  margin: -0.35rem 0 0.5rem;
}

.timer-lower {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  justify-content: center;
}
.timer-lower__main {
  flex: 1 1 0;
  max-width: 28.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.watermark {
  flex: 1 1 0;
  max-width: 28.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 760px) {
  .timer-lower {
    flex-direction: column;
  }
  .timer-lower__main,
  .watermark {
    flex-basis: auto;
    max-width: 100%;
    width: 100%;
  }
}


.watermark .section-heading {
  text-align: left;
  margin: 0 0 0.75rem;
}
.watermark__card {
  display: flex;
  flex-direction: column;
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(20, 17, 13, 0.92);
  overflow: hidden;
}
.watermark__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}
.watermark__note {
  font-size: 0.68rem;
  color: var(--muted-foreground);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}
.watermark__inputs {
  display: flex;
  gap: 0.5rem;
}
.watermark__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.watermark__field span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  text-align: center;
}
.watermark__field input {
  width: 100%;
  text-align: center;
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: 0.5rem;
  padding: 0.5rem 0.25rem;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.watermark__field input:focus {
  outline: none;
  border-color: var(--brand);
}
.watermark__box {
  position: relative;
}
.watermark__focus {
  position: absolute;
  top: 0.25rem;
  right: 0.3rem;
  width: 0.8rem;
  height: 0.8rem;
  color: var(--green);
  display: none;
  pointer-events: none;
}
.watermark__box.is-focus .watermark__focus {
  display: block;
}
.watermark__box.is-focus input {
  border-color: var(--green);
}
.watermark__hint {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  color: var(--muted-foreground);
  text-align: center;
  min-height: 1em;
  line-height: 1.3;
}
.watermark__hint b {
  color: var(--green);
  font-weight: 600;
}
.watermark__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.85rem 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--brand);
  border-radius: 0.5rem;
  background: rgba(237, 126, 29, 0.08);
}
.watermark__result-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}
.watermark__result-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.watermark__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}
.watermark__table th {
  text-align: left;
  font-weight: 600;
  color: var(--muted-foreground);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--border);
}
.watermark__table th:nth-child(n + 2),
.watermark__table td:nth-child(n + 2) {
  text-align: right;
}
.watermark__table td {
  padding: 1rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.watermark__table tr:last-child td {
  border-bottom: none;
}
.watermark__table td:first-child {
  color: var(--muted-foreground);
}
.watermark__row--primary td {
  color: var(--foreground);
  font-weight: 600;
}
.watermark__row--primary td:last-child {
  color: var(--brand);
}
.watermark__credit {
  margin-top: auto;
  padding-top: 0.8rem;
  font-size: 0.58rem;
  color: var(--muted-foreground);
  opacity: 0.7;
  text-align: center;
}
.watermark__credit a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}
.watermark__credit a:hover {
  opacity: 0.8;
}
.watermark__credit + .watermark__credit {
  margin-top: 0;
  padding-top: 0.2rem;
}
.timer-panel .hero,
.timer-panel .section-heading,
.timer-panel .event-card {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.timer-panel .hero {
  margin: 0 0 1.25rem;
  background: transparent;
  border: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.timer-panel .section-heading {
  margin: 0 0 0.75rem;
  text-align: left;
}
.timer-panel .event-card {
  margin: 0;
  background: rgba(20, 17, 13, 0.92);
}


.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}
.hero__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.hero__time {
  font-family: 'Throne and Liberty', 'Poppins', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--primary);
  background: linear-gradient(180deg, #fdf1c8 0%, #f0c96a 30%, #d99f2f 60%, #f9b81a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.45));
}
.hero__time.is-live {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--green);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
@media (max-width: 480px) {
  .hero__time {
    font-size: 3.25rem;
  }
}
.hero__time-seg {
  display: inline-block;
  text-align: center;
}
.hero__time-seg--h {
  min-width: 1.4ch;
}
.hero__time-seg--mm,
.hero__time-seg--ss {
  min-width: 2.1ch;
}
.hero__time-colon {
  display: inline-block;
  width: 0.7ch;
  text-align: center;
}
.hero__when {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin-top: 0.85rem;
}
.hero__when b {
  color: var(--foreground);
  font-weight: 500;
}
.pulse-dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green);
  margin-right: 0.5rem;
  vertical-align: middle;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}


.section-heading {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 40rem;
  margin: 0 auto 0.75rem;
  text-align: center;
}
.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  max-width: 40rem;
  margin: 0 auto;
  flex: 1;
}
.event-card__banner {
  position: relative;
  height: 4.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.event-card__banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.event-card__banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.event-card__banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
}
.event-card__title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.event-card__title-text {
  min-width: 0;
}
.event-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.event-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}
.event-card__subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.15rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}
@media (max-width: 600px) {
  .event-card__subtitle {
    display: none;
  }
}
.event-card__banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.badge {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge--active {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}
.badge--upcoming {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}
.bell-btn {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.15s, color 0.15s;
}
.bell-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.8);
}
.bell-btn.on {
  color: var(--brand);
}
.bell-btn svg {
  width: 1rem;
  height: 1rem;
}
.event-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
}


.primary-instance {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid;
  font-size: 0.875rem;
}
.primary-instance--active {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
}
.primary-instance--upcoming {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.1);
}
.primary-instance__progress {
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(34, 197, 94, 0.1);
  transition: width 1s linear;
}
.primary-instance__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
.primary-instance__range {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
.primary-instance__date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.15rem;
}
.primary-instance__cd {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.primary-instance__cd-label {
  opacity: 0.8;
}
.primary-instance__cd-value {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.primary-instance--active .primary-instance__cd-value {
  color: var(--green);
}
.primary-instance--upcoming .primary-instance__cd-value {
  color: var(--blue);
}


.instances__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0.5rem 0;
}
.instances__list {
  display: flex;
  flex-direction: column;
}
.instance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.instance-row:first-child {
  border-top: none;
}
.instance-row__main {
  flex: 1;
  min-width: 0;
}
.instance-row__time {
  font-weight: 500;
  color: var(--foreground);
}
.instance-row__date {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.instance-row__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}
.instance-row__cd {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}
.instance-row__cd.is-now {
  color: var(--green);
}
.bell-btn--sm {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: var(--muted-foreground);
}
.bell-btn--sm:hover {
  background: rgba(255, 255, 255, 0.08);
}
.bell-btn--sm.on {
  color: var(--brand);
}
.bell-btn--sm svg {
  width: 0.9rem;
  height: 0.9rem;
}


.settings {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  overflow: hidden;
  max-width: 40rem;
}
.settings summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  user-select: none;
}
.settings summary::-webkit-details-marker {
  display: none;
}
.settings summary:hover {
  color: var(--foreground);
}
.settings__body {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.field label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.35rem;
}
.field .hint {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  opacity: 0.85;
  margin-top: 0.3rem;
}
.settings input[type='datetime-local'],
.settings input[type='number'] {
  width: 100%;
  background: var(--muted);
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.9rem;
}
.settings input:focus {
  outline: none;
  border-color: var(--brand);
}
.field-row {
  display: flex;
  gap: 0.75rem;
}
.field-row .field {
  flex: 1;
}
.settings__btns {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  border-radius: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #1a1206;
  font-weight: 600;
}
.btn--primary:hover {
  filter: brightness(1.1);
  background: var(--brand);
}
.saved-note {
  color: var(--green);
  font-size: 0.8rem;
  min-height: 1em;
}


.notice {
  border: 1px solid var(--brand);
  background: rgba(237, 126, 29, 0.1);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  max-width: 40rem;
}
.notice b {
  color: var(--brand);
}
.notice a {
  color: var(--brand);
  text-decoration: underline;
}


.info {
  position: relative;
  flex: 1 0 auto;
  margin: 4rem auto 0;
  width: 100%;
  max-width: 48rem;
  padding: 2.5rem 1.5rem 3rem;
}
.info::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(20, 17, 13, 0.75);
  border-top: 1px solid var(--border);
  z-index: -1;
}
.info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1rem;
}
.info p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0 0 1rem;
}
.info p.quote {
  border-left: 2px solid rgba(237, 126, 29, 0.5);
  padding-left: 1rem;
  font-style: italic;
}
.info__discord {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.15s ease;
}
.info__discord:hover {
  opacity: 0.8;
}
.info__discord svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}


.quiz {
  position: relative;
  width: 100%;
  max-width: 62rem;
  margin: 3rem auto 0;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: rgba(15, 13, 10, 0.4);
}
.quiz__heading {
  text-align: left;
  max-width: 100%;
  margin: 0 0 1rem;
}
.quiz__search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(20, 17, 13, 0.92);
  padding: 0.35rem 0.4rem 0.35rem 0.95rem;
  transition: border-color 0.15s;
}
.quiz__search:focus-within {
  border-color: var(--brand);
}
.quiz__search-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  display: grid;
  place-items: center;
}
.quiz__search-icon svg {
  width: 100%;
  height: 100%;
}
.quiz__search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem 0;
}
.quiz__search-input::placeholder {
  color: var(--muted-foreground);
}
.quiz__verdict {
  flex-shrink: 0;
  display: none;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.quiz__verdict.is-visible {
  display: inline-flex;
}
.quiz__verdict--true {
  color: var(--blue);
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.4);
}
.quiz__verdict--false {
  color: #f87171;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
}
.quiz__verdict--none {
  color: var(--muted-foreground);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.quiz__meta {
  margin: 0.6rem 0.15rem 0;
  min-height: 1em;
  font-size: 0.72rem;
  color: var(--muted-foreground);
}
.quiz__list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(20, 17, 13, 0.92);
  min-height: 32rem;
  max-height: 32rem;
  overflow-y: auto;
  overflow-x: hidden;
}
.quiz__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}
.quiz__item:first-child {
  border-top: none;
}
.quiz__item-text {
  color: var(--foreground);
  min-width: 0;
}
.quiz__item-text mark {
  background: rgba(237, 126, 29, 0.28);
  color: inherit;
  border-radius: 0.15rem;
  padding: 0 0.1rem;
}
.quiz__tag {
  flex-shrink: 0;
  padding: 0.15rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quiz__tag--true {
  color: var(--blue);
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
}
.quiz__tag--false {
  color: #f87171;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.35);
}
.quiz__empty {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.85rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(20, 17, 13, 0.92);
  margin-top: 1rem;
}
.quiz__credit {
  margin-top: 0.8rem;
  font-size: 0.6rem;
  color: var(--muted-foreground);
  opacity: 0.7;
  text-align: right;
}
.quiz__credit a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
}
.quiz__credit a:hover {
  opacity: 0.8;
}
@media (max-width: 600px) {
  .quiz__verdict {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }
  .quiz__item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}


.toast-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.6rem;
  width: 22rem;
  max-width: calc(100vw - 2rem);
  pointer-events: none;
}
.toast-card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(20, 17, 13, 0.97);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  animation: toast-in 0.25s ease-out;
}
.toast-card.toast-out {
  animation: toast-out 0.2s ease-in forwards;
}
.toast-card--upcoming {
  border-color: rgba(96, 165, 250, 0.4);
}
.toast-card--active {
  border-color: rgba(74, 222, 128, 0.4);
}
.toast-card__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  flex-shrink: 0;
  object-fit: cover;
}
.toast-card__body {
  flex: 1;
  min-width: 0;
}
.toast-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
}
.toast-card--upcoming .toast-card__title {
  color: var(--blue);
}
.toast-card--active .toast-card__title {
  color: var(--green);
}
.toast-card__desc {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  margin-top: 0.15rem;
}
.toast-card__close {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.2rem;
  flex-shrink: 0;
}
.toast-card__close:hover {
  color: var(--foreground);
}
@keyframes toast-in {
  from {
    transform: translateX(110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes toast-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(110%);
    opacity: 0;
  }
}
@media (max-width: 480px) {
  .toast-container {
    left: 1rem;
    right: 1rem;
    width: auto;
    bottom: 1rem;
  }
}

.hidden {
  display: none !important;
}





.sidebar {
  display: flex;
  flex-direction: column;
  background: rgba(18, 15, 12, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 260px;
  transform: translateX(-100%);
}
.sidebar.open {
  transform: translateX(0);
}
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.sidebar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar__logo img {
  width: 2rem;
  height: 2rem;
}
.sidebar__logo-text {
  font-family: 'Throne and Liberty', 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(180deg, #fdf1c8 0%, #f0c96a 30%, #d99f2f 60%, #f9b81a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sidebar__menu {
  flex: 1;
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sidebar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background 0.15s, color 0.15s;
}
.sidebar__item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
}
.sidebar__item.active {
  background: rgba(237, 126, 29, 0.12);
  color: var(--brand);
  font-weight: 600;
}
.sidebar__footer {
  padding: 1rem 0.85rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.footer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}
.lang-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-select {
  background: rgba(15, 11, 24, 0.9);
  color: var(--muted-foreground);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  font-family: inherit;
}
.lang-select:hover,
.lang-select:focus {
  border-color: var(--brand);
  color: var(--foreground);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.15);
}
.sidebar__discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.15s ease;
}
.sidebar__discord:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(237, 126, 29, 0.05);
}
.sidebar__discord svg {
  width: 1rem;
  height: 1rem;
}


.mobile-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  padding: 0 1rem;
  background: rgba(20, 17, 13, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.burger-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.1rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.burger-menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--foreground);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger-menu-btn.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.burger-menu-btn.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-nav-logo img {
  width: 1.5rem;
  height: 1.5rem;
}
.mobile-nav-logo-text {
  font-family: 'Throne and Liberty', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  background: linear-gradient(180deg, #fdf1c8 0%, #f0c96a 30%, #d99f2f 60%, #f9b81a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


@media (min-width: 1024px) {
  .layout {
    flex-direction: row;
  }
  .layout__main {
    margin-left: 260px;
    width: calc(100% - 260px);
  }
  .mobile-nav-bar {
    display: none !important;
  }
  .sidebar {
    transform: translateX(0);
  }
}


.dungeon-subtitle {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin: -0.35rem 0 1.5rem;
  text-align: left;
}
.dungeon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .dungeon-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .dungeon-group.border-green {
    grid-column: span 2;
  }
  .dungeon-group.border-green .dungeon-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
  }
}
.dungeon-group {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  min-width: 0;
}
.dungeon-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem;
}
.dungeon-group-indicator {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
}


.dungeon-group.border-purple {
  --group-accent: #c084fc;
  --group-glow: rgba(192, 132, 252, 0.35);
  border-color: rgba(192, 132, 252, 0.15);
}
.dungeon-group.border-blue {
  --group-accent: #60a5fa;
  --group-glow: rgba(96, 165, 250, 0.35);
  border-color: rgba(96, 165, 250, 0.15);
}
.dungeon-group.border-green {
  --group-accent: #4ade80;
  --group-glow: rgba(74, 222, 128, 0.35);
  border-color: rgba(74, 222, 128, 0.15);
}
.dungeon-group.border-event {
  --group-accent: #ed7e1d;
  --group-glow: rgba(237, 126, 29, 0.35);
  border-color: rgba(237, 126, 29, 0.15);
}

.bg-purple { background-color: #c084fc; box-shadow: 0 0 8px #c084fc; }
.text-purple { color: #c084fc; }

.bg-blue { background-color: #60a5fa; box-shadow: 0 0 8px #60a5fa; }
.text-blue { color: #60a5fa; }

.bg-green { background-color: #4ade80; box-shadow: 0 0 8px #4ade80; }
.text-green { color: #4ade80; }

.bg-event { background-color: #ed7e1d; box-shadow: 0 0 8px #ed7e1d; }
.text-event { color: #ed7e1d; }

.dungeon-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


.dungeon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #110e1a;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.4);
}
.dungeon-card:hover {
  transform: translateY(-2px);
  border-color: var(--group-accent);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6), 0 0 12px var(--group-glow);
}
.dungeon-card__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.dungeon-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.25rem;
  border: 2px solid #3d3356;
  padding: 2px;
  background: #07050a;
  flex-shrink: 0;
  object-fit: contain;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
  transition: border-color 0.2s ease;
}
.dungeon-card:hover .dungeon-card__icon {
  border-color: var(--group-accent);
}
.dungeon-card__details {
  min-width: 0;
}
.dungeon-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dungeon-card__reward-text {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  display: block;
  margin-top: 0.1rem;
}

.dungeon-card__right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  z-index: 2;
}
.dungeon-card__timer {
  font-family: 'Throne and Liberty', 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}
.dungeon-card__action {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 0.25rem;
  background: #0f0b18;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  transition: all 0.15s ease;
  min-width: 4rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.dungeon-card:hover .dungeon-card__action {
  background: #241e33;
  color: #fff;
  border-color: var(--group-accent);
}


.dungeon-card.running {
  border-color: rgba(237, 126, 29, 0.5);
  box-shadow: inset 0 0 8px rgba(237, 126, 29, 0.05), 0 0 10px rgba(237, 126, 29, 0.15);
}
.dungeon-card.running .dungeon-card__timer {
  color: var(--brand); 
  text-shadow: 0 0 8px rgba(237, 126, 29, 0.3);
}
.dungeon-card.running .dungeon-card__action {
  background: rgba(237, 126, 29, 0.15);
  color: var(--brand);
  border-color: rgba(237, 126, 29, 0.35);
}

.dungeon-card.ready {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(34, 197, 94, 0.04);
  box-shadow: inset 0 0 8px rgba(74, 222, 128, 0.05), 0 0 10px rgba(74, 222, 128, 0.15);
}
.dungeon-card.ready .dungeon-card__timer {
  color: var(--green);
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.3);
}
.dungeon-card.ready .dungeon-card__action {
  background: rgba(74, 222, 128, 0.15);
  color: var(--green);
  border-color: rgba(74, 222, 128, 0.35);
}


.dungeon-card__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--group-accent) 0%, #fff 100%);
  box-shadow: 0 0 6px var(--group-accent);
  width: 0%;
  transition: width 1s linear;
}
.dungeon-card.ready .dungeon-card__progress {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  width: 100%;
}

.dungeon-card__action.action-reset:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}


.sidebar {
  background: rgba(10, 8, 18, 0.96) !important;
  border-right: 1px solid rgba(212, 175, 55, 0.15) !important;
}
.sidebar__item.active {
  background: rgba(212, 175, 55, 0.1) !important;
  color: var(--brand) !important;
  border-left: 3px solid var(--brand);
}

@media (max-width: 1023px) {
  .page-top {
    padding-top: 1rem;
  }
}

.gate__credit {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  text-align: right;
  letter-spacing: 0.02em;
}
.gate__credit a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.gate__credit a:hover {
  color: var(--foreground);
}
#mapsSection {
  overflow: visible;
}
.maps__card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 13, 10, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
}
.maps__card .event-card__banner {
  border-radius: 1.25rem 1.25rem 0 0;
}
.maps__body {
  padding: 1.5rem;
}
.maps__control {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.maps__control label {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  font-weight: 600;
}
.maps__select {
  background: rgba(15, 11, 24, 0.9);
  color: var(--foreground);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  font-family: inherit;
}
.maps__select:hover,
.maps__select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.15);
}
.maps__elite-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  max-height: 710px;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.maps__elite-list::-webkit-scrollbar {
  width: 6px;
}
.maps__elite-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.maps__elite-list::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 3px;
}
.maps__elite-list::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}
@media (min-width: 768px) {
  .maps__elite-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
@media (min-width: 1024px) {
  .maps__elite-list {
    grid-template-columns: 1fr;
    height: 710px;
  }
}
.elite-item {
  background: #110e1a;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.4);
}
.elite-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6), 0 0 12px rgba(212, 175, 55, 0.15);
}
.elite-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.4rem;
}
.elite-item__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--foreground);
}
.elite-item__level {
  font-size: 0.72rem;
  color: var(--brand);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  font-weight: 600;
}
.elite-item__meta {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.elite-item__meta strong {
  color: var(--foreground);
}

.maps__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 1024px) {
  .maps__content {
    grid-template-columns: 1.2fr 1fr;
  }
}

.maps__viewer {
  background: #0b0914;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 0.75rem;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
  align-self: center;
  justify-self: center;
  width: 100%;
}

.maps__image-container {
  position: relative;
  width: 100%;
}

.maps__img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
  border-radius: 0.75rem;
}

.maps__pins-overlay {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

/* Map Pin Styling */
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 5;
  width: 18px;
  height: 18px;
}

.map-pin__dot {
  width: 100%;
  height: 100%;
  background: var(--brand);
  border: 1.5px solid var(--foreground);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 8px var(--brand);
  transition: transform 0.2s ease, background-color 0.2s ease;
  position: relative;
  display: block;
}

/* Marker Center Dot */
.map-pin__dot::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--foreground);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Pulsating Animation for Active / Hovered Pin */
.map-pin::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s ease;
  pointer-events: none;
  left: 0;
  top: 0;
}

.map-pin.highlighted .map-pin__dot,
.map-pin:hover .map-pin__dot {
  transform: rotate(-45deg) scale(1.25);
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.map-pin.highlighted,
.map-pin:hover {
  z-index: 2000;
}

.map-pin.highlighted::after,
.map-pin:hover::after {
  animation: pinPulse 1.2s infinite ease-out;
}

@keyframes pinPulse {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Tooltip on Hover */
.map-pin__tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(13, 10, 24, 0.95);
  border: 1px solid var(--brand);
  border-radius: 0.4rem;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.map-pin__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--brand);
}

.map-pin:hover .map-pin__tooltip,
.map-pin.highlighted .map-pin__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.map-pin__tooltip-name {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--foreground);
}

.map-pin__tooltip-meta {
  font-size: 0.68rem;
  color: var(--muted-foreground);
  margin-top: 0.15rem;
}

/* Elite Item Card Highlighting */
.elite-item.highlighted {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6), 0 0 12px rgba(212, 175, 55, 0.15);
}

/* HP Category Styles - Cards */
.elite-item.hp-1\.2m {
  border-left-color: var(--hp-1-2m);
}
.elite-item.hp-2\.3m {
  border-left-color: var(--hp-2-3m);
}
.elite-item.hp-4\.6m {
  border-left-color: var(--hp-4-6m);
}
.elite-item.hp-9\.3m {
  border-left-color: var(--hp-9-3m);
}

/* HP Category Styles - Map Pins */
.map-pin.hp-1\.2m .map-pin__dot {
  background: var(--hp-1-2m);
  box-shadow: 0 0 8px var(--hp-1-2m);
}
.map-pin.hp-1\.2m::after {
  border-color: var(--hp-1-2m);
}

.map-pin.hp-2\.3m .map-pin__dot {
  background: var(--hp-2-3m);
  box-shadow: 0 0 8px var(--hp-2-3m);
}
.map-pin.hp-2\.3m::after {
  border-color: var(--hp-2-3m);
}

.map-pin.hp-4\.6m .map-pin__dot {
  background: var(--hp-4-6m);
  box-shadow: 0 0 8px var(--hp-4-6m);
}
.map-pin.hp-4\.6m::after {
  border-color: var(--hp-4-6m);
}

.map-pin.hp-9\.3m .map-pin__dot {
  background: var(--hp-9-3m);
  box-shadow: 0 0 8px var(--hp-9-3m);
}
.map-pin.hp-9\.3m::after {
  border-color: var(--hp-9-3m);
}

/* Recommendations Section */
.recommendations__intro {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
}

.z-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.z-flow__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 900px;
  gap: 1.5rem;
}

.z-flow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 0;
}

.z-flow__img-container {
  width: 100%;
  border-radius: calc(var(--radius) - 0.25rem);
  overflow: hidden;
}

.z-flow__img-placeholder {
  aspect-ratio: 16/9;
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) - 0.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 1rem;
  text-align: center;
}

.z-flow__img-icon {
  font-size: 1.75rem;
}

.z-flow__img-text {
  font-family: monospace;
  font-size: 0.8rem;
  word-break: break-all;
}

.z-flow__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.25rem);
}

.z-flow__caption {
  font-size: 0.9rem;
  color: var(--primary);
  text-align: center;
  font-weight: 500;
  margin: 0;
}

.z-flow__arrow {
  font-size: 2rem;
  color: var(--brand);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.z-flow__diagonal-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 900px;
  padding-right: 43%;
  margin-top: -0.5rem;
  margin-bottom: -0.5rem;
}

.z-flow__arrow--diagonal {
  transform: rotate(-15deg);
}

.z-flow__arrow--mobile-only {
  display: none;
}

/* Responsive layout */
@media (max-width: 768px) {
  .z-flow__row {
    flex-direction: column;
    gap: 1rem;
  }
  .z-flow__arrow--horizontal {
    transform: rotate(90deg);
  }
  .z-flow__diagonal-row {
    display: none;
  }
  .z-flow__arrow--mobile-only {
    display: flex;
    font-size: 2rem;
    color: var(--brand);
    margin: 0.5rem 0;
  }
}

