
.aed8c-app{position:relative;min-height:760px;overflow:hidden;background:#071522;color:#fff;font-family:Inter,Arial,sans-serif;background-size:cover;background-position:center;border-radius:18px}
.aed8c-app:before{content:"";position:absolute;inset:0;background:rgba(2,8,18,.55);z-index:0;pointer-events:none}
.aed8c-app>*{position:relative;z-index:1}
.aed8c-header{padding:18px 20px;background:rgba(5,16,29,.88);border-bottom:1px solid rgba(255,255,255,.16)}
.aed8c-header strong{font-size:28px;display:block}.aed8c-header span{font-size:13px;opacity:.9}
.aed8c-hero{text-align:center;padding:24px 18px 10px}.aed8c-hero h1{font-size:31px;margin:8px 0 2px}.aed8c-hero p{margin:0;opacity:.9}
.aed8c-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:16px}
.aed8c-tile{min-height:116px;border-radius:18px;border:2px solid rgba(255,255,255,.48);padding:14px;background:#10283b;color:#fff;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:5px;text-decoration:none;cursor:pointer;box-shadow:0 7px 18px rgba(0,0,0,.25);touch-action:manipulation}
.aed8c-tile span{font-size:29px}.aed8c-tile b{font-size:18px}.aed8c-tile small{font-size:12px;opacity:.86}
.aed8c-tile.notruf{background:#b9151f}.aed8c-tile.aed{background:#168b43}.aed8c-tile.aedfinder{background:#1266b3}.aed8c-tile.metro{background:#6b3fa0}.aed8c-tile.standort{background:#536d7e}.aed8c-tile.reanimation{background:#8a3b18}
.aed8c-modal{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.80);display:flex;align-items:center;justify-content:center;padding:14px}
.aed8c-modal[hidden]{display:none}.aed8c-dialog{position:relative;width:min(600px,100%);max-height:90vh;overflow:auto;background:#0b1828;border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:24px;color:#fff;box-shadow:0 20px 70px #000}
.aed8c-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:2px solid #fff;border-radius:12px;background:#303943;color:#fff;font-size:30px;cursor:pointer;line-height:1}
.aed8c-dialog h2{margin:0 50px 15px 0}.aed8c-card{padding:15px;background:#142b40;border-left:5px solid #168b43;border-radius:12px;display:grid;gap:7px;margin:12px 0}
.aed8c-btn{display:flex;align-items:center;justify-content:center;min-height:54px;margin:10px 0;padding:12px;border-radius:14px;text-decoration:none;border:0;font-weight:900;font-size:16px;cursor:pointer;box-sizing:border-box;width:100%}
.aed8c-blue{background:#1266b3;color:#fff}.aed8c-green{background:#168b43;color:#fff}.aed8c-gray{background:#536d7e;color:#fff}.aed8c-dark{background:#303943;color:#fff}
.aed8c-photo{width:100%;max-height:280px;object-fit:cover;border-radius:15px;margin-bottom:14px}
.metro-count{text-align:center;font-size:70px;font-weight:900;color:#ffd400;margin:12px}.metro-rate{text-align:center;font-weight:800}.share-title{font-weight:900;margin-top:16px}
.gps-map{width:100%;height:260px;border:0;border-radius:14px}.small{font-size:12px;opacity:.75}
@media(max-width:560px){.aed8c-grid{grid-template-columns:1fr}.aed8c-app{min-height:100vh;border-radius:0}.aed8c-header strong{font-size:24px}}

.aed8c-dialog .aed8c-green{background:#168b43!important;color:#fff!important}.aed8c-dialog .aed8c-blue{background:#1266b3!important;color:#fff!important}

.aed8c-dialog .aed8c-green{background:#168b43!important;color:#fff!important}.aed8c-dialog .aed8c-blue{background:#1266b3!important;color:#fff!important}

/* Reanimation: editable, tappable steps */
.aed8c-reanimation-steps{display:grid;gap:10px;margin:16px 0}
.aed8c-reanimation-step{display:grid;grid-template-columns:42px 1fr 28px;align-items:center;gap:10px;width:100%;padding:13px 14px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#10283b;color:#fff;text-align:left;cursor:pointer}
.aed8c-reanimation-step .step-no{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#183b54;font-weight:800}
.aed8c-reanimation-step .step-copy{display:flex;flex-direction:column;gap:3px}
.aed8c-reanimation-step .step-copy b{font-size:14px;letter-spacing:.02em}
.aed8c-reanimation-step .step-copy small{font-size:12px;line-height:1.35;opacity:.82}
.aed8c-reanimation-step .step-check{font-size:20px;text-align:center;color:#65c18c;min-height:22px}
.aed8c-reanimation-step.done{border-color:#65c18c;background:#123628}
.aed8c-reanimation-step.done .step-no{background:#65c18c;color:#071522}
.aed8c-reanimation-note{font-size:12px;opacity:.75}

/* Close button: centered × in popup */
.aed8c-close{
  position:absolute !important;
  top:10px !important;
  right:10px !important;
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  min-height:40px !important;
  padding:0 !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  text-align:center !important;
  font-size:28px !important;
  font-family:Arial,sans-serif !important;
  box-sizing:border-box !important;
}
.aed8c-close::before,
.aed8c-close::after{
  line-height:1 !important;
  margin:0 !important;
  padding:0 !important;
}
