.guide-launcher {
  position: fixed;
  inset-inline-start: 24px;
  bottom: 24px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(70, 212, 177, .42);
  border-radius: 16px;
  color: #dffcf3;
  background: rgba(11, 35, 52, .94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.guide-launcher:hover,
.guide-launcher:focus-visible {
  transform: translateY(-3px);
  border-color: #54d9b0;
  background: #12334a;
  outline: none;
}

.guide-launcher__icon {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 9px;
  color: #081521;
  background: linear-gradient(135deg, #5be0b5, #47c9f5);
  font-size: 16px;
  line-height: 1;
}

.guide-backdrop[hidden] {
  display: none;
}

.guide-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 10, 19, .74);
  backdrop-filter: blur(9px);
}

.guide-panel {
  width: min(760px, 100%);
  max-height: min(88vh, 850px);
  overflow: hidden;
  border: 1px solid rgba(116, 193, 226, .24);
  border-radius: 26px;
  color: #d9e8f5;
  background: linear-gradient(155deg, #10263a 0%, #091827 62%, #07131f 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}

.guide-panel__scroll {
  max-height: min(88vh, 850px);
  overflow: auto;
  padding: 27px;
}

.guide-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(135, 183, 214, .14);
}

.guide-panel__eyebrow {
  margin: 0 0 7px;
  color: #4ee1bd;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.guide-panel h2 {
  margin: 0;
  color: #f2f7ff;
  font-size: clamp(20px, 3vw, 28px);
}

.guide-panel__intro {
  margin: 9px 0 0;
  color: #9eb5c9;
  font-size: 14px;
  line-height: 1.95;
}

.guide-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(155, 196, 220, .2);
  border-radius: 12px;
  color: #b9ccdc;
  background: rgba(255, 255, 255, .04);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.guide-close:hover,
.guide-close:focus-visible {
  color: #fff;
  border-color: #5bdab7;
  outline: none;
}

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

.guide-section h3 {
  margin: 0 0 11px;
  color: #f3f7fb;
  font-size: 16px;
}

.guide-items {
  display: grid;
  gap: 9px;
}

.guide-item {
  padding: 13px 15px;
  border: 1px solid rgba(119, 176, 209, .13);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
}

.guide-item strong {
  display: block;
  margin-bottom: 4px;
  color: #65d9bd;
  font-size: 14px;
}

.guide-item p,
.guide-example p {
  margin: 0;
  color: #aec1d1;
  font-size: 13px;
  line-height: 1.9;
}

.guide-example {
  padding: 16px 17px;
  border: 1px solid rgba(78, 225, 189, .24);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(54, 184, 157, .11), rgba(69, 146, 220, .08));
}

.guide-example strong {
  display: block;
  margin-bottom: 5px;
  color: #f0f7ff;
}

.guide-panel__footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(135, 183, 214, .14);
  color: #819bb0;
  font-size: 12px;
  line-height: 1.8;
}

body.guide-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .guide-launcher {
    inset-inline-start: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 12px;
  }

  .guide-panel__scroll {
    padding: 20px 16px 24px;
  }

  .guide-panel {
    border-radius: 21px;
  }
}
