#surf-guide {
  width: min(448px, calc(100vw - 28px));
  max-height: 92vh;
  max-height: 92dvh;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #dde4f2;
  border-radius: 21px;
  background: #fff;
  color: #232b3b;
  box-shadow: 0 18px 65px #15264d38;
  font: 16px/1.45 system-ui,sans-serif;
  overflow: auto;
  overscroll-behavior: contain;
}
#surf-guide::backdrop { background: rgb(22 31 48 / 52%); }
#surf-guide header { position: static; display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 4px 22px; background: #fff; color: #495875; font-size: 14px; font-weight: 600; }
#surf-guide .sg-close { background: transparent; border: 0; width: 42px; height: 42px; color: #34425a; cursor: pointer; font: 25px/1 system-ui; }
#surf-guide .sg-picture { margin: 0 12px; border-radius: 13px; overflow: hidden; background: #edf3ff; }
#surf-guide img { display: block; width: 100%; height: auto; aspect-ratio: 23/11; }
#surf-guide .sg-copy { padding: 16px 23px 4px; }
#surf-guide .sg-progress { font-size: 13px; font-weight: 650; color: #455fa1; }
#surf-guide h2 { margin: 4px 0 7px; color: #202938; font: 500 clamp(26px,5vw,33px)/1.12 Georgia,serif; }
#surf-guide h2:focus { outline: none; }
#surf-guide p { margin: 0; }
#surf-guide .sg-actions { display: flex; align-items: center; gap: 10px; padding: 13px 22px 19px; }
#surf-guide .sg-actions button, #surf-guide .sg-account { font: 600 15px/1.3 system-ui; min-height: 42px; border: 0; border-radius: 9px; padding: 10px 16px; cursor: pointer; }
#surf-guide .sg-next { margin-left: auto; color: white; background: #3457be; }
#surf-guide .sg-back { color: #334874; background: #eff3fa; }
#surf-guide .sg-account { color: #294a9c; }
#surf-guide [hidden] { display: none; }
