/* Picture-first instructions share the existing motorsport accent themes. */
.game-exit-dialog {
  isolation: isolate;
  width: min(880px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  box-shadow: 0 24px 72px rgba(5, 7, 11, .5);
}
.game-exit-dialog-head { gap: 16px; padding: 20px 24px; }
.game-exit-dialog-head .icon-btn { flex: 0 0 44px; width: 44px; height: 44px; font-size: 28px; }
.game-exit-dialog-body { padding: 20px 24px; overscroll-behavior: contain; }
.game-exit-dialog-foot { padding: 16px 24px; }
.game-exit-dialog-foot .btn { width: 100%; }
.game-exit-badge { text-transform: none; letter-spacing: 0; font-size: 12px; }
.game-exit-lead { font-size: 15px; line-height: 1.6; max-width: 70ch; }
.exit-visual-guide { margin: 0; padding: 0; border: 0; background: transparent; }
.evg-tabs { display: flex; width: 100%; margin: 0 0 16px; padding: 4px; gap: 4px; }
.evg-tab-btn { flex: 1; justify-content: center; min-height: 44px; font-size: 15px; }
.evg-panel[hidden] { display: none !important; }
.exit-image-button {
  isolation: isolate;
  display: block;
  width: 100%;
  padding: 0;
  color: var(--ink-1, #eef1f7);
  background: var(--bg-surface-1, #11151e);
  border: 1px solid var(--accent-ln, #7ca63a);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 0 20px rgba(200, 249, 84, .14);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.exit-image-button img { display: block; width: 100%; height: auto; object-fit: contain; }
.exit-image-hint { display: block; padding: 12px 16px; border-top: 1px solid var(--accent-ln, #7ca63a); font-size: 13px; color: var(--accent, #c8f954); }
.exit-image-button:hover { border-color: var(--accent, #c8f954); box-shadow: 0 0 24px rgba(200,249,84,.2); }
.exit-image-button:active { box-shadow: none; }
.exit-image-button:focus-visible, .evg-tab-btn:focus-visible, .exit-comparison summary:focus-visible,
.exit-zoom-close:focus-visible, .exit-zoom-scroll:focus-visible { outline: 2px solid var(--accent, #c8f954); outline-offset: 4px; }
.exit-instructions { display: grid; gap: 8px; margin: 16px 0 0; padding-left: 24px; color: var(--ink-2, #bbc3d3); font-size: 14px; line-height: 1.6; }
.exit-instructions li::marker { color: var(--accent, #c8f954); font-weight: 700; }
.exit-comparison { margin-top: 20px; border-top: 1px solid var(--border-subtle, #303743); padding-top: 16px; }
.exit-comparison summary { min-height: 44px; color: var(--ink-1, #eef1f7); cursor: pointer; font-size: 14px; }
.exit-comparison .exit-image-button { margin-top: 8px; }
.exit-delivery-note { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--accent, #c8f954); background: var(--accent-bg, #1d2713); color: var(--ink-1, #eef1f7); font-size: 14px; }
.exit-review-thumb { max-width: 600px; margin-bottom: 16px; }
.exit-order-guide { --accent: #c8f954; --ink-1: #eef1f7; --ink-2: #bbc3d3; --accent-ln: #586f35; --bg-surface-1: #11151e; padding: 24px; }
.exit-order-guide .evg-tabs { background: #171d27; border-radius: 12px; }
.exit-order-guide .evg-tab-btn { padding: 12px 16px; border: 0; border-radius: 8px; color: #bbc3d3; background: transparent; cursor: pointer; }
.exit-order-guide .evg-tab-btn.active { color: #101608; background: #c8f954; }
.exit-order-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.exit-order-gallery figure { margin: 0; }
.exit-order-gallery figcaption { margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.exit-zoom-dialog {
  isolation: isolate;
  width: min(1120px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--accent-ln, #586f35);
  border-radius: 16px;
  background: #0d1118;
  color: #eef1f7;
}
.exit-zoom-dialog::backdrop { background: rgba(5,7,11,.9); }
.exit-zoom-head { display: flex; justify-content: flex-end; padding: 12px 16px; border-bottom: 1px solid #303743; }
.exit-zoom-close { min-height: 44px; padding: 8px 16px; border: 1px solid #586f35; border-radius: 8px; color: #c8f954; background: #172012; cursor: pointer; font: inherit; }
.exit-zoom-close:hover { background: #25321b; }
.exit-zoom-close:active { background: #11190c; }
.exit-zoom-scroll { overflow: auto; max-height: calc(100dvh - 112px); overscroll-behavior: contain; }
.exit-zoom-scroll img { display: block; width: 100%; min-width: 800px; height: auto; }
.product-speed-tag { white-space: nowrap; }
@media (max-width: 600px) {
  .game-exit-dialog-head { padding: 16px; gap: 12px; }
  .game-exit-dialog-body { padding: 16px; }
  .game-exit-dialog-foot { padding: 12px 16px; }
  .game-exit-head-text h2 { font-size: 17px; }
  .game-exit-icon-wrap { display: none; }
  .exit-order-guide { padding: 16px; }
  .exit-order-gallery { grid-template-columns: 1fr; }
  .exit-instructions { font-size: 13px; }
  .product-meta-row { flex-wrap: wrap; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .exit-image-button { transition: none; }
}
