.online-tools .video-guide { padding: 32px; }
.vg-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.online-tools .vg-heading h1 { margin: 8px 0; font-size: clamp(26px, 3vw, 36px); }
.vg-heading p:last-child { color: var(--muted); margin: 0; }
.vg-heading > a { flex-shrink: 0; }
.vg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 22px; }
.vg-steps button { display: flex; gap: 12px; text-align: left; align-items: flex-start; padding: 18px 15px; font: inherit; color: var(--ink); background: #f8f9fc; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.vg-steps button:hover, .vg-steps button[aria-pressed=true] { background: #fff3f6; border-color: #f0a1b2; }
.vg-steps button:focus-visible { outline: 3px solid #d73059; outline-offset: 3px; }
.vg-number { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #fff; color: #d73059; font-weight: 700; }
.vg-steps strong { display: block; font-size: 15px; margin: 2px 0 7px; }
.vg-steps small { display: block; font-size: 13px; line-height: 1.7; color: var(--muted); }
.vg-viewer { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.vg-figure { margin: 0; min-width: 660px; }
.vg-figure[hidden] { display: none; }
.vg-crop { position: relative; aspect-ratio: 1218 / 215; overflow: hidden; }
.vg-crop img { display: block; width: 100%; height: auto; max-width: none; transform: translateY(-8.333333%); }
.vg-highlight { position: absolute; border: 3px solid #e63360; border-radius: 5px; box-shadow: 0 0 0 3px #ffffffb3; pointer-events: none; }
.vg-nav { left: 34%; top: 3%; width: 3.6%; height: 13%; }
.vg-input { left: 18.7%; top: 80%; width: 52.1%; height: 15%; }
.vg-parse { left: 71.1%; top: 80%; width: 9.3%; height: 15%; }
.vg-figure figcaption { padding: 15px 20px; background: #f8f9fc; color: var(--muted); font-size: 14px; line-height: 1.7; }
.vg-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
    .online-tools .video-guide { padding: 20px; }
    .vg-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    .vg-steps { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
    .vg-steps button { padding: 12px; }
    .vg-steps strong { margin-bottom: 3px; }
}
@media (prefers-reduced-motion: no-preference) {
    .vg-steps button { transition: background .15s, border-color .15s; }
}
