.guide-body {
  background:
    radial-gradient(circle at 15% 5%, rgba(88, 101, 242, 0.16), transparent 36%),
    radial-gradient(circle at 85% 45%, rgba(16, 185, 129, 0.10), transparent 38%),
    var(--bg);
  color: var(--text);
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 17, 21, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.guide-header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.guide-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-bright);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.guide-brand span { color: var(--accent); }
.guide-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.guide-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.guide-nav a:hover { color: var(--text-bright); }
.guide-cta-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.guide-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.guide-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #a5b4fc;
  margin-bottom: 14px;
}
.guide-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--text-bright);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.guide-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 26px;
}
.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.guide-sec-title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.guide-sec-sub {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 22px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.guide-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: #a5b4fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.guide-card-icon.green {
  background: var(--green-soft);
  color: var(--green);
}
.guide-card-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.guide-card-icon .icon {
  width: 22px;
  height: 22px;
}
.guide-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.guide-card p {
  font-size: 13.5px;
  color: var(--text-dim);
}

.role-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.role-tag.guest { background: var(--green-soft); color: var(--green); }
.role-tag.host { background: var(--accent-soft); color: #a5b4fc; }
.role-box h3 {
  font-size: 18px;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-bright);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-list strong {
  display: block;
  color: var(--text-bright);
  font-size: 14px;
  margin-bottom: 2px;
}
.step-list li > div span {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
}

.tour-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.tour-item {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.tour-item.reverse .tour-shot { order: 2; }
.tour-item.reverse .tour-copy { order: 1; }

.tour-shot {
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.tour-shot-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
}
.tour-shot-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.tour-shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.25s ease;
}
.tour-shot-trigger:hover img,
.tour-shot-trigger:focus-visible img {
  transform: scale(1.015);
}
.tour-zoom-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 17, 21, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0.92;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.tour-shot-trigger:hover .tour-zoom-pill {
  background: rgba(88, 101, 242, 0.92);
  opacity: 1;
}
.tour-step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #a5b4fc;
  background: var(--accent-soft);
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.tour-copy h3 {
  font-size: 19px;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.tour-copy p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.tour-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--text);
}
.tour-points li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 800;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
}
.faq-item summary {
  font-weight: 700;
  color: var(--text-bright);
  cursor: pointer;
  font-size: 14.5px;
}
.faq-item p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.guide-footer-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(16, 185, 129, 0.10));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 36px 24px;
}
.guide-footer-cta h2 {
  font-size: 22px;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.guide-footer-cta p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .guide-nav { gap: 12px; }
  .guide-card { padding: 16px; }
  .tour-item { grid-template-columns: 1fr; }
  .tour-item.reverse .tour-shot,
  .tour-item.reverse .tour-copy {
    order: initial;
  }
}
@media (max-width: 720px) {
  .guide-nav { display: none; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .guide-header-inner { padding: 10px 14px; }
  .guide-cta-btn { padding: 7px 12px; font-size: 13px; }
  .guide-main { padding: 28px 16px 56px; gap: 44px; }
  .guide-hero h1 { font-size: 23.5px; line-height: 1.32; }
  .guide-lead { font-size: 14.5px; }
  .guide-sec-title { font-size: 21px; }
  .role-box { padding: 18px 16px; }
  .tour-item { padding: 16px; gap: 16px; }
  .guide-footer-cta { padding: 26px 18px; }
  .guide-footer-cta h2 { font-size: 19px; }
}

.guide-site-footer {
  border-top: 1px solid var(--border);
  background: rgba(15, 17, 21, 0.72);
  padding: 28px 20px 36px;
}
.guide-footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.guide-footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.03em;
}
.guide-footer-brand span { color: var(--accent); }
.guide-footer-meta {
  font-size: 12.5px;
  color: var(--text-faint);
}
.guide-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.guide-footer-links a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
}
.guide-footer-links a:hover { color: var(--text-bright); }

body.lb-open {
  overflow: hidden;
}

.lb-overlay[hidden] {
  display: none;
}

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
  background: rgba(6, 8, 13, 0.72);
  backdrop-filter: blur(4px);
  color: var(--text-bright);
  user-select: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.lb-overlay.is-visible {
  opacity: 1;
}

.lb-dialog {
  position: relative;
  width: auto;
  max-width: min(92vw, 960px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #141720;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 12px 0;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75);
  transform: scale(0.92) translateY(8px);
  opacity: 0;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.lb-overlay.is-visible .lb-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lb-close-float {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #1c202c;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.lb-close-float:hover {
  background: var(--accent);
  transform: scale(1.06);
}

.lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b0d12;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lb-viewport {
  width: 100%;
  height: 100%;
  max-height: calc(88vh - 82px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  touch-action: none;
  cursor: zoom-in;
}

.lb-viewport.is-zoomed {
  cursor: grab;
}

.lb-viewport.is-dragging {
  cursor: grabbing;
}

.lb-img {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 96px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  transform-origin: center center;
  will-change: transform, opacity;
  transition: transform 0.16s ease-out, opacity 0.16s ease;
}

.lb-img.is-switching {
  opacity: 0.25;
}

.lb-viewport.is-dragging .lb-img {
  transition: none;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 17, 24, 0.72);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.86;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.lb-nav:hover {
  background: rgba(88, 101, 242, 0.9);
  border-color: var(--accent);
  opacity: 1;
}

.lb-prev { left: 10px; }
.lb-next { right: 10px; }

.lb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 4px 12px;
  flex-shrink: 0;
}

.lb-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lb-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-counter {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #a5b4fc;
  flex-shrink: 0;
}

.lb-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.lb-btn,
.lb-zoom-badge {
  height: 30px;
  min-width: 30px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-bright);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.lb-btn:hover:not(:disabled),
.lb-zoom-badge:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.lb-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lb-zoom-badge {
  min-width: 52px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
}

.lb-btn-text {
  font-size: 11.5px;
  font-weight: 600;
  padding: 0 9px;
}

@media (max-width: 720px) {
  .lb-overlay {
    padding: 18px 10px;
  }
  .lb-dialog {
    max-width: 96vw;
    padding: 8px 8px 0;
  }
  .lb-close-float {
    top: -10px;
    right: -6px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .lb-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 9px 2px 10px;
  }
  .lb-controls {
    justify-content: flex-end;
  }
  .lb-nav {
    width: 32px;
    height: 40px;
    font-size: 20px;
  }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
}
