/* 영상과 설명을 한 연한 보라색 영역에 담아, 영상과 이용 순서가 함께 눈에 들어오게 합니다. */
.P10-banner {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 24px;
  box-sizing: border-box;
  border: 1px solid #e6e1f3;
  border-radius: 14px;
  background: #f8f6ff;
  text-align: left;
}
.P10-guide-intro { min-width: 0; }
.P10-guide-copy h2 { margin: 0; color: #282432; font-size: 28px; line-height: 1.3; font-weight: 750; letter-spacing: -.035em; }
.P10-guide-copy p { margin: 8px 0 0; color: #6b637a; font-size: 15px; line-height: 1.6; }
/* 작은 단계 설명 없이 세 가지 선택 순서를 한 줄로 보여 줍니다. */
.P10-guide-steps { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0 0; padding: 0; list-style: none; }
.P10-guide-steps li { display: flex; align-items: center; gap: 8px; }
.P10-guide-number { display: flex; align-items: center; justify-content: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 7px; background: #eae5ff; color: #5b43df; font-size: 12px; font-weight: 700; }
.P10-guide-steps strong { color: #393342; font-size: 15px; line-height: 1.5; font-weight: 650; white-space: nowrap; }
/* 확대 버튼을 설명 아래에 크게 두고, 가격 장점은 보조 문구로 낮춰 안내가 먼저 보이게 합니다. */
.P10-guide-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.P10-guide-open { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 16px; border: 1px solid #d5ccf6; border-radius: 8px; background: #fff; color: #5b43df; font-size: 14px; line-height: 1.5; font-weight: 700; white-space: nowrap; }
.P10-guide-open:hover { border-color: #8e79ee; background: #f0ecff; }
.P10-guide-benefit { margin: 0; color: #6b637a; font-size: 14px; line-height: 1.5; }
/* 밝은 영상에서도 가장자리가 분명하게 보이도록 1px 테두리를 넣고, 모서리의 검은 바탕을 없앱니다. */
.P10-guide-card { min-width: 0; box-sizing: border-box; overflow: hidden; border: 1px solid #cbc1e3; border-radius: 10px; background: #f8f6ff; }
.P10-guide-screen { position: relative; background: #f8f6ff; }
.P10-guide-preview { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.P10-guide-toggle {
  position: absolute;
  left: 8px;
  bottom: 8px;
  min-width: 64px;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 20px;
  background: rgba(20,18,32,.82);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}
.P10-guide-error { display: block; padding: 12px; color: #fff; font-size: 13px; text-decoration: underline; }
.P10-banner [hidden] { display: none !important; }
.P10-guide-open:focus-visible, .P10-guide-toggle:focus-visible, .P10-guide-close:focus-visible { outline: 3px solid #957fff; outline-offset: 3px; }

/* 크게 보기는 화면 위에 띄우며, 영상 전체와 소리·재생 위치를 조절하는 기본 버튼을 제공합니다. */
.P10-guide-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 12px;
  background: #171525;
  color: #fff;
}
.P10-guide-dialog:not([open]) { display: none; }
.P10-guide-dialog::backdrop { background: rgba(12,10,22,.78); }
.P10-guide-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.P10-guide-dialog-head h2 { margin: 0; font-size: 17px; font-weight: 700; }
.P10-guide-close { min-height: 36px; padding: 7px 14px; border: 1px solid #777285; border-radius: 6px; background: transparent; color: #fff; font-size: 14px; }
.P10-guide-full { display: block; width: 100%; height: auto; max-height: calc(100dvh - 100px); aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.P10-banner *, .P10-guide-dialog, .P10-guide-dialog * { transition: none; }

/* PC 창이 좁아지면 영상과 설명을 세로로 놓고, 단계도 한 줄씩 읽기 쉽게 보여 줍니다. */
@media (max-width: 900px) {
  .P10-banner { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: calc(100vw - 32px); }
  .P10-guide-card { width: 100%; max-width: 640px; }
}
@media (max-width: 600px) {
  .P10-banner { padding: 20px; }
  .P10-guide-copy h2 { font-size: 24px; }
  .P10-guide-steps { flex-direction: column; gap: 12px; }
}
