/* MalangNyang Jump game guide */
.game-guide {
  margin-top: 22px;
}

.guide-shell {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 92% 8%, rgba(77, 184, 255, 0.12), transparent 24%),
    radial-gradient(circle at 8% 100%, rgba(125, 224, 188, 0.12), transparent 26%),
    var(--card);
  box-shadow: var(--shadow-card);
}

.guide-heading {
  max-width: 800px;
}

.guide-heading .section-label {
  margin-bottom: 9px;
}

.guide-title {
  color: var(--text);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.guide-intro {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.guide-accordion {
  margin-top: 22px;
}

.guide-toggle {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(77, 184, 255, 0.20);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 9px 25px rgba(67, 133, 193, 0.09);
  cursor: pointer;
  list-style: none;
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}

.guide-toggle::-webkit-details-marker {
  display: none;
}

.guide-toggle:hover {
  border-color: rgba(77, 184, 255, 0.38);
  box-shadow: 0 12px 30px rgba(67, 133, 193, 0.13);
  transform: translateY(-1px);
}

.guide-toggle-copy {
  min-width: 0;
}

.guide-toggle-copy strong,
.guide-toggle-copy small {
  display: block;
}

.guide-toggle-copy strong {
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 900;
}

.guide-toggle-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}

.guide-toggle-close {
  display: none;
}

.guide-toggle-icon {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4db8ff, #2299ee);
  box-shadow: 0 6px 16px rgba(51, 153, 238, 0.22);
}

.guide-toggle-icon::before,
.guide-toggle-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.guide-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.guide-accordion[open] .guide-toggle-open {
  display: none;
}

.guide-accordion[open] .guide-toggle-close {
  display: inline;
}

.guide-accordion[open] .guide-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.guide-body {
  animation: guide-reveal 0.22s ease-out;
}

@keyframes guide-reveal {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.guide-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.guide-metric {
  padding: 16px;
  border: 1px solid rgba(77, 184, 255, 0.16);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.78);
}

.guide-metric strong {
  display: block;
  color: var(--primary-deep);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.guide-metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
}

.guide-panel {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(92, 151, 201, 0.14);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.72);
}

.guide-panel-heading h3,
.guide-topic h3 {
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.guide-panel-heading p,
.guide-topic p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.74;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.stat-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(77, 184, 255, 0.16);
  border-radius: var(--r-md);
  background: var(--card-strong);
}

.stat-name {
  display: block;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 900;
}

.stat-effect {
  min-height: 66px;
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.62;
}

.stat-rate-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stat-rate {
  display: block;
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.equipment-item {
  padding: 13px 14px;
  border-radius: var(--r-md);
  background: rgba(77, 184, 255, 0.07);
  border: 1px solid rgba(77, 184, 255, 0.12);
}

.equipment-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 12px;
}

.equipment-item span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.guide-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.guide-topic {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(92, 151, 201, 0.14);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.72);
}

.guide-topic-wide {
  grid-column: 1 / -1;
}

.guide-topic ul,
.guide-topic ol {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.guide-topic li + li {
  margin-top: 6px;
}

.guide-topic-metric {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(77, 184, 255, 0.10);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 900;
}

.guide-emphasis {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.72;
}

.guide-formula {
  margin-top: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(77, 184, 255, 0.18);
  border-radius: var(--r-md);
  background: rgba(77, 184, 255, 0.08);
  color: var(--primary-deep);
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.reward-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.reward-step {
  position: relative;
  padding: 15px;
  border: 1px solid rgba(77, 184, 255, 0.14);
  border-radius: var(--r-md);
  background: var(--card-strong);
}

.reward-step b {
  display: grid;
  width: 25px;
  height: 25px;
  margin-bottom: 9px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4db8ff, #2299ee);
  color: #fff;
  font-size: 11px;
}

.reward-step strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.reward-step span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.guide-tip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.guide-tip {
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(125, 224, 188, 0.10);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.58;
}

.guide-disclaimer {
  margin: 18px 2px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  text-align: right;
}

.faq-a {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.faq-item.open .faq-a {
  max-height: 1200px;
}

.faq-group-label {
  margin: 22px 4px 2px;
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .stat-grid,
  .equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-effect {
    min-height: 0;
  }

  .reward-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .guide-shell {
    padding: 20px 16px;
  }

  .guide-panel,
  .guide-topic {
    padding: 18px 16px;
  }

  .guide-toggle {
    min-height: 68px;
    padding: 14px;
  }

  .stat-grid,
  .equipment-grid,
  .guide-topic-grid,
  .guide-metrics,
  .reward-flow,
  .guide-tip-grid {
    grid-template-columns: 1fr;
  }

  .guide-topic-wide {
    grid-column: auto;
  }

  .stat-card,
  .equipment-item {
    width: 100%;
  }

  .guide-disclaimer {
    text-align: left;
  }
}

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

@media (max-width: 420px) {
  .nav-inner {
    gap: 6px;
  }

  .brand {
    gap: 6px;
    font-size: 13px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 13px;
  }

  .lang-switcher {
    gap: 0;
    padding: 2px;
  }

  .lang-btn {
    padding: 4px 5px;
    font-size: 10px;
  }
}
