.repair-promotion {
    box-sizing: border-box;
    width: min(1080px, calc(100vw - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    padding: 0;
    border: 1px solid #dce5ef;
    border-radius: 16px;
    background: #fff;
    color: #102744;
    box-shadow: 0 24px 90px #0006;
    overflow: auto;
}
.repair-promotion::backdrop { background: rgb(5 18 35 / 78%); backdrop-filter: blur(5px); }
.repair-promotion__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; font: 600 14px/1.4 system-ui, sans-serif; }
.repair-promotion__close { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px; border: 1px solid #d5e0ed; border-radius: 8px; background: #f1f6fc; color: #102744; cursor: pointer; font: inherit; }
.repair-promotion__close:hover { background: #e0edfc; }
.repair-promotion__close:focus-visible { outline: 3px solid #007be8; outline-offset: 2px; }
.repair-promotion__close span { font-size: 24px; line-height: 1; }
.repair-promotion__image { display: block; width: 100%; height: auto; max-height: calc(100dvh - 140px); object-fit: contain; }
.repair-promotion__footer { padding: 10px 16px; text-align: center; font: 13px/1.5 system-ui, sans-serif; color: #50627a; }
.repair-promotion__progress { height: 3px; background: #e8eff8; }
.repair-promotion__progress span { display: block; height: 100%; background: #007be8; transform-origin: left; }
.repair-promotion[open] .repair-promotion__progress span { animation: promotion-countdown var(--promotion-duration, 10s) linear forwards; }
html:has(.repair-promotion[open]) { overflow: hidden; }
@keyframes promotion-countdown { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .repair-promotion__progress { display: none; } }
