.screenshot-section { border-top: 1px solid var(--line); padding-block: 22px 28px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-bottom: 12px; }
.section-heading h2 { font-size: clamp(1.45rem,2.5vw,2rem); letter-spacing: -.025em; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.screenshot-grid figure, .guide-figure { margin: 0; min-width: 0; }
.shot-open { display: grid; place-items: center; border: 1px solid var(--line); background: #eeeff3; border-radius: 12px; padding: 10px; text-decoration: none; }
.shot-open:hover { border-color: var(--brand); }
.screenshot-grid .shot-open { height: clamp(180px,23vw,268px); }
.shot-open img { width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; border-radius: 5px; box-shadow: 0 3px 12px #17263824; object-fit: contain; }
.screenshot-grid figcaption, .guide-figure figcaption { margin: 5px 1px 0; font-size: .875rem; color: var(--muted); }
.guide { max-width: 1000px; padding-block: 24px 32px; }
.breadcrumb { font-size: .875rem; margin-bottom: 14px; }
.guide h1 { font-size: clamp(2rem,4vw,3.15rem); letter-spacing: -.04em; }
.guide-intro { max-width: 52ch; color: var(--muted); margin-top: 8px; }
.guide-version { color: var(--brand); font-size: .875rem; font-weight: 700; margin-top: 7px; }
.steps-title { font-size: 1.35rem; margin-block: 22px 7px; }
.guide-steps { padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.guide-step { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 16px 38px; align-items: start; padding-block: 16px; border-top: 1px solid var(--line); counter-increment: steps; }
.step-text { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 4px 9px; align-items: start; }
.step-text::before { content: counter(steps); display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; font-weight: 750; }
.step-text h3 { font-size: 1.14rem; line-height: 25px; text-wrap: pretty; }
.step-text p { grid-column: 2; color: var(--muted); }
.guide-figure .shot-open { max-height: 440px; }
.guide-figure img { max-height: 408px; }
.guide-tip { background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; }
.guide-tip h2 { font-size: 1.04rem; margin-bottom: 4px; }
.guide-tip p { color: var(--muted); }
.guide-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.image-dialog { width: max-content; max-width: min(1050px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto; padding: 9px; border: 1px solid var(--line); border-radius: 10px; }
.image-dialog::backdrop { background: #0d1424c4; }
.image-dialog form { display: flex; justify-content: end; margin-bottom: 6px; }
.image-dialog button { font: inherit; cursor: pointer; }
.image-dialog img { max-width: 100%; width: auto; height: auto; max-height: calc(100dvh - 100px); object-fit: contain; }
@media (max-width: 650px) {
  .shot-open { padding: 7px; }
  .screenshot-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(76%, 272px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 7px; margin-inline: -4px; }
  .screenshot-grid figure { scroll-snap-align: start; }
  .screenshot-section { padding-block: 16px 20px; }
  .section-heading { margin-bottom: 5px; }
  .guide-step { grid-template-columns: minmax(0,1fr); gap: 8px; padding-block: 12px; }
  .guide-figure .shot-open { max-height: 390px; }
  .guide-figure img { max-height: 374px; }
  .breadcrumb { margin-bottom: 7px; }
}
