/* Originally #ep-scope-fix-style */

/* ElektroPrudil – Působnost / opravený BLOK 10.10.2026; žádný zásah do živého webu. */
.ep-scope-fix, .ep-scope-fix * { box-sizing: border-box; }
.ep-scope-fix {
  --ep-light: #fff;
  --ep-copy: #fff0f2;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 22px;
  padding: 36px 40px 22px;
  color: var(--ep-light);
  background:
    radial-gradient(ellipse 70% 80% at 103% 90%,rgba(154,47,76,.22),transparent 70%),
    radial-gradient(ellipse 55% 75% at -12% -5%,rgba(179,68,87,.075),transparent 72%),
    linear-gradient(113deg,#36131e 0%,#421825 46%,#61233a 100%);
  box-shadow: 0 19px 48px rgba(39,10,23,.14), inset 0 1px 0 rgba(255,255,255,.055);
  font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ep-scope-fix .ep-columns {
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: minmax(0,47fr) minmax(0,53fr);
  column-gap:0;
  align-items:stretch;
}
.ep-scope-fix .ep-col { min-width:0; display:flex; flex-direction:column; position:relative; }
.ep-scope-fix .ep-col-left {padding-right:18px;}
.ep-scope-fix .ep-col-right { border-left:1px solid rgba(255,255,255,.20);padding-left:39px; }
.ep-scope-fix .ep-col > * { position:relative; z-index:1; }
.ep-scope-fix .ep-col-left::before,
.ep-scope-fix .ep-col-right::after {
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:0;
  opacity:.78;
  filter:blur(.1px);
}
.ep-scope-fix .ep-col-left::before {
  left:1%;
  bottom:7%;
  width:78%;
  height:56%;
  background:
    radial-gradient(circle at 34% 61%, rgba(230,92,69,.12) 0, rgba(230,92,69,.07) 16%, rgba(230,92,69,0) 48%),
    radial-gradient(circle at 18% 36%, rgba(255,238,232,.12) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 56% 29%, rgba(255,238,232,.10) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 56% 62%, rgba(255,238,232,.08) 0 1.4px, transparent 2.2px),
    linear-gradient(90deg, transparent 0 17.8%, rgba(255,238,232,.07) 17.8% 18.15%, transparent 18.15% 55.8%, rgba(255,238,232,.06) 55.8% 56.1%, transparent 56.1% 100%),
    linear-gradient(0deg, transparent 0 28.8%, rgba(255,238,232,.07) 28.8% 29.15%, transparent 29.15% 60.8%, rgba(255,238,232,.05) 60.8% 61.1%, transparent 61.1% 100%),
    linear-gradient(90deg, transparent 56% 73.7%, rgba(255,238,232,.05) 73.7% 74%, transparent 74% 100%);
  mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.92) 14%, rgba(0,0,0,.92) 88%, transparent 100%);
}
.ep-scope-fix .ep-col-right::after {
  right:0;
  bottom:6%;
  width:80%;
  height:58%;
  background:
    radial-gradient(circle at 60% 64%, rgba(230,92,69,.11) 0, rgba(230,92,69,.06) 18%, rgba(230,92,69,0) 52%),
    radial-gradient(circle at 72% 33%, rgba(255,238,232,.11) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 34% 54%, rgba(255,238,232,.08) 0 1.4px, transparent 2.2px),
    linear-gradient(90deg, transparent 0 34%, rgba(255,238,232,.06) 34% 34.28%, transparent 34.28% 72%, rgba(255,238,232,.05) 72% 72.25%, transparent 72.25% 100%),
    linear-gradient(0deg, transparent 0 32.8%, rgba(255,238,232,.06) 32.8% 33.08%, transparent 33.08% 64%, rgba(255,238,232,.05) 64% 64.25%, transparent 64.25% 100%),
    linear-gradient(90deg, transparent 72% 84.5%, rgba(255,238,232,.05) 84.5% 84.76%, transparent 84.76% 100%);
  mask-image:linear-gradient(180deg, transparent 0, rgba(0,0,0,.95) 16%, rgba(0,0,0,.95) 86%, transparent 100%);
}
.ep-scope-fix .ep-accent { width:54px;height:3px;margin:0 0 16px;border-radius:3px;background:linear-gradient(90deg,#ff8b77,#e14530 52%,transparent); }
.ep-scope-fix h2 { margin:0 0 13px; color:#fff; font-size:clamp(24px,2.2vw,30px);line-height:1.2; letter-spacing:-.6px; font-weight:750; }
.ep-scope-fix p { margin:0; color:var(--ep-copy); font-size:15px; line-height:1.64; max-width:51ch; }
.ep-scope-fix .ep-map-frame { width:100%; margin:28px 0 0; }
/* Klíčová oprava: zachovat původní 1000:913 geometrii mapy. */
.ep-scope-fix .ep-msk-interactive { width:min(100%,406px); aspect-ratio:1000 / 913; height:auto; position:relative; margin:0 auto; overflow:visible; touch-action:manipulation; }
.ep-scope-fix .ep-msk-svg { display:block;position:absolute;inset:0;width:100%;height:100%;overflow:visible; filter:drop-shadow(0 3px 8px rgba(24,4,11,.19)); }
.ep-scope-fix .ep-map-point {position:absolute;z-index:3;display:flex;align-items:center;justify-content:center;width:38px;height:38px;margin:0;padding:0; border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;transform:translate(-50%,-50%);font:inherit;-webkit-tap-highlight-color:transparent;}
.ep-scope-fix .ep-map-dot {width:11px;height:11px;border-radius:50%;border:2px solid #fff;background:#e14530;box-shadow:0 0 0 3px rgba(248,101,92,.19), 0 0 13px rgba(255,123,112,.58);pointer-events:none;transition:transform .18s,box-shadow .18s;}
.ep-scope-fix .ep-map-point:hover .ep-map-dot,.ep-scope-fix .ep-map-point:focus .ep-map-dot {transform:scale(1.32);box-shadow:0 0 0 6px rgba(255,255,255,.15),0 0 17px rgba(255,145,133,.85);}
.ep-scope-fix .ep-map-point:focus-visible { outline:2px solid #fff;outline-offset:0; }
.ep-scope-fix .ep-map-tooltip {position:absolute;left:50%;bottom:calc(100% + 4px);transform:translate(-50%,4px);visibility:hidden;opacity:0;padding:8px 11px;border-radius:7px;color:#252125;background:#fff;box-shadow:0 8px 22px rgba(14,0,6,.33);font-size:12px;font-weight:750;line-height:1.2;white-space:nowrap;pointer-events:none;transition:transform .16s,opacity .16s;}
.ep-scope-fix .ep-map-tooltip::after{content:"";position:absolute;left:calc(50% - 4px);top:calc(100% - 5px);width:8px;height:8px;background:#fff;transform:rotate(45deg);}
.ep-scope-fix .ep-map-point:is(:hover,:focus,:focus-visible){z-index:9;}
.ep-scope-fix .ep-map-point:is(:hover,:focus,:focus-visible) .ep-map-tooltip{visibility:visible;opacity:1;transform:translate(-50%,0);}
.ep-scope-fix .ep-point-west .ep-map-tooltip{left:auto;right:15px;transform:translate(4px,4px);}
.ep-scope-fix .ep-point-west .ep-map-tooltip::after{left:auto;right:12px;}
.ep-scope-fix .ep-point-west:is(:hover,:focus,:focus-visible) .ep-map-tooltip{transform:translate(0,0);}
.ep-scope-fix .ep-point-east .ep-map-tooltip{left:8px;transform:translate(0,4px);}
.ep-scope-fix .ep-point-east .ep-map-tooltip::after{left:13px;}
.ep-scope-fix .ep-point-east:is(:hover,:focus,:focus-visible) .ep-map-tooltip{transform:translate(0,0);}
.ep-scope-fix .ep-map-hint{display:block;color:#f6dce3;text-align:center;font-size:11.5px;line-height:1.45;margin-top:9px;}
/* Auto s přesným stávajícím polepem, bez kreslení nových textů. */
.ep-scope-fix .ep-car-stage{position:relative;display:flex;justify-content:flex-end;align-items:flex-end;min-height:0; margin-top:8px;margin-bottom:-4px;padding:10px 18px 3px 0;isolation:isolate;overflow:visible;}
.ep-scope-fix .ep-car-stage::before{content:"";position:absolute;right:5%;bottom:12px;width:79%;height:28px;background:radial-gradient(ellipse at center,rgba(13,2,8,.44),transparent 70%);filter:blur(10px);pointer-events:none;}
.ep-scope-fix .ep-car-road{position:absolute;z-index:-1;inset:auto 3% 0% -8%;width:104%;height:40%;overflow:visible;pointer-events:none;}
.ep-scope-fix .ep-car-road path:nth-child(1){fill:none;stroke:#a23c57;stroke-opacity:.13;stroke-width:34;stroke-linecap:round;}
.ep-scope-fix .ep-car-road path:nth-child(2){fill:none;stroke:#f3a1aa;stroke-opacity:.04;stroke-width:1.1;stroke-dasharray:13 21;}
.ep-scope-fix .ep-car-image{display:block;position:relative;z-index:1;width:min(100%,500px);height:auto;max-width:100%;object-fit:contain;object-position:right bottom;filter:drop-shadow(0 10px 9px rgba(17,2,10,.20));}
@media (min-width:1280px){ .ep-scope-fix{padding:37px 43px 24px} .ep-scope-fix .ep-col-left{padding-right:22px}.ep-scope-fix .ep-col-right{padding-left:40px}.ep-scope-fix .ep-msk-interactive{width:min(100%,415px)}.ep-scope-fix .ep-car-stage{min-height:0;margin-top:8px;margin-bottom:-4px;padding:10px 20px 3px 0} .ep-scope-fix .ep-car-image{width:min(100%,506px)} }
@media (max-width:780px){
 .ep-scope-fix{padding:28px 25px 20px;border-radius:20px;}
 .ep-scope-fix .ep-columns{grid-template-columns:1fr;row-gap:27px;}
 .ep-scope-fix .ep-col-left{padding-right:0;}
 .ep-scope-fix .ep-col-right{border-left:0;border-top:1px solid rgba(255,255,255,.20);padding:25px 0 0;}
 .ep-scope-fix .ep-col-left::before,.ep-scope-fix .ep-col-right::after{opacity:.56;}
 .ep-scope-fix h2{font-size:25px;}
 .ep-scope-fix p{font-size:14.5px;line-height:1.62;}
 .ep-scope-fix .ep-map-frame{margin-top:20px;}
 .ep-scope-fix .ep-msk-interactive{width:min(100%,395px);}
 .ep-scope-fix .ep-car-stage{min-height:0;margin-top:10px;margin-bottom:0;padding:12px 8px 4px 0;}
 .ep-scope-fix .ep-car-image{width:min(100%,454px);}
 .ep-scope-fix .ep-car-road{height:40%;inset:auto 2% 2% -6%;}
}
@media (max-width:420px){
 .ep-scope-fix{padding:24px 18px 18px;}
 .ep-scope-fix .ep-map-frame{margin-top:16px;}
 .ep-scope-fix .ep-col-left::before,.ep-scope-fix .ep-col-right::after{opacity:.44;}
 .ep-scope-fix .ep-msk-interactive{width:min(100%,320px);}
 .ep-scope-fix .ep-map-point{width:34px;height:34px;}
 .ep-scope-fix .ep-car-stage{min-height:0;margin-top:8px;margin-bottom:0;padding:10px 4px 4px 0;}
 .ep-scope-fix .ep-car-image{width:min(100%,322px);}
}
@media (prefers-reduced-motion:reduce){.ep-scope-fix .ep-map-dot,.ep-scope-fix .ep-map-tooltip{transition:none;}}


/* Originally #ep-easteregg-style */

/* Easter egg: all overrides scoped; original page and van artwork unchanged. */
.ep-scope-fix .ep-car-shell{position:relative;z-index:1;flex:0 0 auto;width:min(100%,500px);max-width:100%;isolation:isolate;will-change:transform;transform:translate3d(0,0,0);}
.ep-scope-fix .ep-car-shell > .ep-car-image{display:block;width:100%;height:auto;max-width:100%;}
.ep-scope-fix .ep-egg-lights { position:absolute;inset:0;z-index:4;width:100%;height:100%;opacity:0;pointer-events:none;overflow:visible; }
.ep-scope-fix .ep-egg-light-burst { filter:drop-shadow(0 0 11px #fffef2) drop-shadow(0 0 28px #f9faff); }
.ep-scope-fix .ep-car-shell.egg-active .ep-egg-lights {animation:ep-egg-double-flash 1.50s linear both;}
@keyframes ep-egg-double-flash {
  0%,7%,23%,44%,60%,100%{opacity:0}
  10%,17%,47%,54%{opacity:1}
}
.ep-scope-fix .ep-egg-wheel{
 position:absolute; z-index:3; opacity:0;pointer-events:none; overflow:hidden;
 border-radius:50%;clip-path:ellipse(50% 50% at 50% 50%);transition:opacity .09s linear;
}
.ep-scope-fix .ep-egg-wheel img{position:absolute;left:50%;top:50%;width:auto;height:100%;max-width:none;transform-origin:50% 50%;will-change:transform;}
.ep-scope-fix .ep-car-shell.egg-active .ep-egg-wheel{opacity:1}
/* Kompletní pneumatika i disk: souřadnice z originální fotografie 1672 × 941. */
.ep-scope-fix .ep-egg-wheel--front{left:36.9617%;top:62.8055%;width:13.9952%;height:33.4750%;}
.ep-scope-fix .ep-egg-wheel--rear{left:82.8349%;top:58.1296%;width:11.0048%;height:29.7556%;}
.ep-scope-fix .ep-egg-switch{position:absolute;z-index:5;left:68.75%;top:18.2%;width:6.6%;height:17.0%;cursor:pointer;opacity:0;border:0;padding:0;background:transparent;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;}
.ep-scope-fix .ep-egg-switch:focus-visible{opacity:1;outline:2px dashed rgba(255,222,180,.9);outline-offset:2px;border-radius:5px;}
@media(min-width:1280px){.ep-scope-fix .ep-car-shell{width:min(100%,506px)}}
@media(max-width:780px){.ep-scope-fix .ep-car-shell{width:min(100%,454px)}}
@media(max-width:420px){.ep-scope-fix .ep-car-shell{width:min(100%,322px)}}
@media(prefers-reduced-motion:reduce){.ep-scope-fix .ep-car-shell.egg-active .ep-egg-lights{animation-duration:.4s}.ep-scope-fix .ep-egg-wheel{transition:none}}


/* Originally #ep-city-click-style */

/* ElektroPrudil: klik na město spouští hybrid A + C: pohyb auta + rotace kol; dvojklik na blesk zůstává.
   Final C V7 projection; all positions calibrated against 1672 x 941 car image. */
.ep-scope-fix .ep-egg-wheel { display:none !important; } /* obsolete V2 experimental overlay */
.ep-scope-fix .ep-c-wheel-site {
  position:absolute; z-index:3; pointer-events:none; opacity:0; overflow:visible;
  --compression:.77;
}
.ep-scope-fix .ep-c-wheel-site--front { left:36.9617%; top:62.8055%; width:13.9952%; height:33.4750%; --compression:.74; }
.ep-scope-fix .ep-c-wheel-site--rear  { left:82.8349%; top:58.1296%; width:11.0048%; height:29.7556%; --compression:.62; }
.ep-scope-fix .ep-c-wheel-aperture { position:absolute; inset:0; overflow:hidden; clip-path:ellipse(49% 49% at 50% 50%); border-radius:50%; }
.ep-scope-fix .ep-c-wheel-unproject { position:absolute; left:50%; top:0; width:calc(100% / var(--compression)); height:100%; transform:translateX(-50%); }
.ep-scope-fix .ep-c-wheel-project { position:absolute; inset:0; transform:scaleX(var(--compression)); transform-origin:center center; }
.ep-scope-fix .ep-c-wheel-rotor { display:block; width:100%; height:100%; max-width:none; object-fit:contain; transform-origin:50% 50%; will-change:transform; filter:saturate(.90); }
.ep-scope-fix .ep-c-wheel-site--front .ep-c-wheel-project { filter:brightness(.98); }
.ep-scope-fix .ep-c-wheel-site--rear .ep-c-wheel-project { filter:brightness(.90); }
.ep-scope-fix .ep-map-point.ep-city-picked .ep-map-tooltip {
  opacity:1; visibility:visible; transform:translate(-50%,0);
}
.ep-scope-fix .ep-map-point.ep-city-picked .ep-map-dot { box-shadow:0 0 0 6px rgba(255,255,255,.18),0 0 19px rgba(255,147,134,.90); }
@media (prefers-reduced-motion:reduce) { .ep-scope-fix .ep-c-wheel-site{display:none!important;} }


/* Originally #ep-gis-overrides */

/* GIS-only scoped patch; the user-accepted grid, colors, van and animation remain unchanged. */
.ep-scope-fix .ep-msk-interactive{aspect-ratio:900 / 600!important; width:min(100%,415px);}
.ep-scope-fix .ep-msk-svg{filter:drop-shadow(0 4px 7px rgba(24,4,11,.20));}
.ep-scope-fix .ep-msk-svg .ep-gis-district{stroke:none;fill:#965365;}
.ep-scope-fix .ep-msk-svg .ep-gis-district:nth-child(even){fill:#965365;}
.ep-scope-fix .ep-msk-svg .ep-gis-inner{fill:none;stroke:#ffe5e3;stroke-width:1.65;stroke-opacity:.65;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.ep-scope-fix .ep-msk-svg .ep-gis-outer{fill:none;stroke:#fff2e8;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.ep-scope-fix .ep-msk-interactive:not(.ep-gis-ready) .ep-msk-svg,
.ep-scope-fix .ep-msk-interactive:not(.ep-gis-ready) .ep-map-point{visibility:hidden!important;pointer-events:none!important;}
.ep-scope-fix .ep-msk-interactive:not(.ep-gis-ready){background:rgba(15,2,10,.06);border-radius:10px;}
.ep-scope-fix .ep-gis-status{display:none;max-width:415px;margin:10px auto 0;text-align:center;color:#f6dce3;font-size:11.5px;line-height:1.48;}
.ep-scope-fix .ep-gis-status[data-state="error"]{display:block;color:#fff4de;}
.ep-scope-fix .ep-gis-save{font:inherit;display:none;margin:9px auto 0;padding:7px 10px;font-weight:650;font-size:11px;color:#fff;border:1px solid rgba(255,255,255,.38);border-radius:7px;background:rgba(255,255,255,.09);cursor:pointer;}
.ep-scope-fix .ep-gis-save:focus-visible{outline:2px solid white;outline-offset:2px;}
.ep-scope-fix .ep-gis-save[data-ready="true"]{display:block;}
@media(max-width:420px){.ep-scope-fix .ep-msk-interactive{width:min(100%,320px);}}
@media(prefers-reduced-motion:reduce){.ep-scope-fix .ep-map-tooltip{transition:none!important}}

/* ElektroPrudil / 12.10.2026 – černé CTA podle homepage (globální .btn.dark).
   Třída .ghost zůstává kvůli ověřenému global site.js mouse-follow handleru.
   Všechny přepisy omezeny na .ep-scope-fix a jediné CTA. */
.ep-scope-fix .ep-scope-call.btn.ghost[href^="tel:"] {
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:138px;
  min-height:48px;
  padding:0 19px;
  margin-top:20px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:9px;
  background:#1c1d20;
  box-shadow:0 8px 20px rgba(19,3,9,.20);
  color:#fff;
  font:850 14px/1.3 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  text-decoration:none;
  letter-spacing:.01em;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ep-scope-fix .ep-scope-call.btn.ghost[href^="tel:"]:hover {
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(20,20,24,.27);
}
@media (hover:hover) and (pointer:fine) {
  .ep-scope-fix .ep-scope-call.btn.ghost[href^="tel:"]:hover,
  .ep-scope-fix .ep-scope-call.btn.ghost[href^="tel:"]:focus-visible {
    background:radial-gradient(105px circle at var(--ghost-x,50%) var(--ghost-y,50%),rgba(225,69,48,.52) 0%,rgba(225,69,48,.24) 40%,rgba(225,69,48,0) 78%),#1c1d20;
    border-color:#ed7f70;
    color:#fff;
    box-shadow:0 12px 30px rgba(225,69,48,.18);
  }
}
.ep-scope-fix .ep-scope-call.btn.ghost[href^="tel:"]:focus-visible {
  outline:3px solid #fff;
  outline-offset:3px;
}
.ep-scope-fix .ep-scope-call.btn.ghost[href^="tel:"]:active {transform:translateY(0);}
@media (prefers-reduced-motion:reduce) {
  .ep-scope-fix .ep-scope-call.btn.ghost[href^="tel:"] {transition:none;}
}
