.guide-card {
  width: min(100%, 620px);
  height: min(92vh, 780px);
  overflow: hidden;
  padding: 0;
  gap: 0;
  align-items: stretch;
  text-align: center;
}

.guide-head {
  padding: 18px 18px 10px;
}

.guide-scroll {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  text-align: left;
}

.guide-image {
  display: block;
  width: 100%;
  height: auto;
}

.guide-note {
  padding: 14px 18px 18px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.35;
}

.guide-foot {
  display: grid;
  gap: 10px;
  padding: 10px 18px 16px;
  background: #fff;
}

.guide-check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font-weight: 900;
  line-height: 1.25;
}

.guide-actions {
  justify-content: center;
}

.guide-actions .btn-primary,
.guide-actions .btn-ghost {
  max-width: 150px;
}

.cat-actions .btn-primary,
.cat-actions .btn-ghost {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .guide-card {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
  }

  .guide-head {
    padding: 14px 14px 8px;
  }

  .guide-foot {
    padding: 10px 14px 14px;
  }

  .guide-actions .btn-primary,
  .guide-actions .btn-ghost {
    max-width: none;
  }

  .cat-actions > * {
    min-width: 82px;
  }

  .cat-actions .btn-primary,
  .cat-actions .btn-ghost {
    padding-left: 9px;
    padding-right: 9px;
  }
}
