/* SecureVault Anti-Scam Center v4 — Labs PRO style sync */
/* Uses /tools/assets/labs-pro.css and only adds page-specific components. */

.asc-pro-page{
  --asc-cyan:#00e5ff;
  --asc-cyan-soft:#7cf4ff;
  --asc-bg:#050812;
  --asc-card:rgba(5,13,27,.88);
  --asc-card2:rgba(9,10,25,.94);
  --asc-border:rgba(0,229,255,.15);
  --asc-muted:rgba(230,240,255,.72);
  --asc-danger:#ff4d5e;
  --asc-warn:#fbbf24;
  --asc-ok:#22c55e;
}

.asc-hero{
  margin:0 auto 22px;
  max-width:1360px;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);
  gap:18px;
  align-items:stretch;
}

.asc-hero-main,
.asc-hero-side,
.asc-important,
.asc-flow-box,
.asc-check-main,
.asc-check-side,
.asc-prefooter{
  position:relative;
  border:1px solid var(--asc-border);
  border-radius:28px;
  background:
    radial-gradient(circle at 12% 15%,rgba(0,229,255,.12),transparent 34%),
    radial-gradient(circle at 88% 8%,rgba(139,92,246,.09),transparent 38%),
    linear-gradient(145deg,var(--asc-card),var(--asc-card2));
  box-shadow:0 24px 70px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.04);
  padding:24px;
  overflow:hidden;
}

.asc-hero-main:before,
.asc-hero-side:before,
.asc-important:before,
.asc-flow-box:before,
.asc-check-main:before,
.asc-check-side:before,
.asc-prefooter:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(120deg,rgba(0,229,255,.08),transparent 42%,rgba(139,92,246,.07));
}

.asc-hero-main>*,
.asc-hero-side>*,
.asc-important>*,
.asc-flow-box>*,
.asc-check-main>*,
.asc-check-side>*,
.asc-prefooter>*{position:relative;z-index:1}

.asc-title{
  margin:.2rem 0 .8rem;
  font-size:clamp(2.45rem,4.8vw,5.5rem);
  line-height:.92;
  letter-spacing:-.07em;
  color:#f7fbff;
}

.asc-title span{
  color:#62ecff;
  text-shadow:0 0 30px rgba(0,229,255,.26);
}

.asc-lead,
.asc-muted{
  margin:0;
  color:var(--asc-muted);
  line-height:1.7;
  max-width:92ch;
}

.asc-badges,
.asc-hero-actions,
.asc-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:18px;
}

.asc-badges span{
  border:1px solid rgba(0,229,255,.18);
  border-radius:999px;
  padding:8px 11px;
  background:rgba(0,229,255,.06);
  color:rgba(235,246,255,.9);
  font-weight:900;
  font-size:.82rem;
}

.asc-btn{
  border:1px solid rgba(148,190,255,.18);
  border-radius:999px;
  padding:12px 15px;
  cursor:pointer;
  font-weight:900;
  color:#e9f4ff;
  background:rgba(255,255,255,.045);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.18s ease;
}

.asc-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(0,229,255,.42);
  box-shadow:0 12px 28px rgba(0,229,255,.12);
  text-decoration:none;
}

.asc-primary{
  color:#04111d;
  background:linear-gradient(135deg,#63efff,#20d8ff);
  border-color:rgba(0,229,255,.55);
  box-shadow:0 12px 30px rgba(0,229,255,.14);
}

.asc-hero-side{
  border-color:rgba(0,229,255,.22);
}

.asc-hero-side h2{
  margin:.2rem 0 .7rem;
  color:#fff;
  font-size:clamp(1.5rem,2.2vw,2.35rem);
  line-height:1.08;
  letter-spacing:-.045em;
}

.asc-hero-side p{
  color:rgba(230,240,255,.72);
  line-height:1.62;
  margin:0;
}

.asc-priority-list{
  display:grid;
  gap:10px;
  margin-top:16px;
}

.asc-priority-list div{
  border:1px solid rgba(148,190,255,.13);
  border-radius:18px;
  padding:13px 14px;
  background:rgba(255,255,255,.035);
}

.asc-priority-list b{display:block;color:#fff;margin-bottom:4px}
.asc-priority-list small{color:rgba(230,240,255,.68);line-height:1.45}

.asc-important{
  margin:0 auto 22px;
  max-width:1360px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:start;
  border-color:rgba(251,191,36,.48);
  background:
    radial-gradient(circle at 4% 18%,rgba(251,191,36,.20),transparent 30%),
    radial-gradient(circle at 96% 12%,rgba(0,229,255,.08),transparent 36%),
    linear-gradient(145deg,rgba(72,35,10,.42),rgba(7,11,24,.94));
}

.asc-important-icon{
  width:62px;
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:linear-gradient(135deg,#fbbf24,#fde68a);
  color:#130b02;
  font-size:2.35rem;
  font-weight:1000;
  box-shadow:0 0 30px rgba(251,191,36,.25);
}

.asc-important h2{
  margin:.1rem 0 .55rem;
  color:#fff8dc;
  letter-spacing:-.04em;
}

.asc-important p{
  color:#fff5d9;
  line-height:1.75;
  margin:0;
}

.asc-important strong{
  color:#fff1a6;
}

.asc-flow-box{
  max-width:1360px;
  margin:0 auto 22px;
}

.asc-flow-box h2,
.asc-check-main h2,
.asc-check-side h2,
.asc-prefooter h2{
  margin:.15rem 0 .7rem;
  color:#f7fbff;
  letter-spacing:-.04em;
}

.asc-flow-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}

.asc-flow-steps.six{
  grid-template-columns:repeat(6,minmax(0,1fr));
}

.asc-flow-steps article{
  border:1px solid rgba(0,229,255,.14);
  border-radius:18px;
  background:rgba(0,229,255,.045);
  padding:14px;
  min-height:150px;
}

.asc-flow-steps strong{
  display:inline-flex;
  width:31px;
  height:31px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:#04111d;
  background:linear-gradient(135deg,#63efff,#8b5cf6);
  margin-bottom:10px;
}

.asc-flow-steps h3{
  margin:.1rem 0 .45rem;
  color:#fff;
  font-size:.98rem;
}

.asc-flow-steps p{
  margin:0;
  color:rgba(230,240,255,.72);
  line-height:1.5;
  font-size:.9rem;
}

.asc-risk-map,
.asc-links-section{
  max-width:1360px;
  margin-left:auto;
  margin-right:auto;
}

.asc-check-grid{
  max-width:1360px;
  margin:0 auto 22px;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:18px;
}

.asc-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.asc-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:14px;
}

.asc-field span,
.asc-check-side h2{
  color:#eaf7ff;
  font-weight:900;
}

.asc-field textarea,
.asc-field input,
.asc-field select,
.asc-report{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(118,169,255,.18);
  border-radius:16px;
  background:rgba(1,7,18,.68);
  color:#eef6ff;
  padding:12px 13px;
  font:inherit;
  outline:none;
  line-height:1.55;
}

.asc-field textarea{resize:vertical}

.asc-field textarea:focus,
.asc-field input:focus,
.asc-field select:focus{
  border-color:rgba(0,229,255,.48);
  box-shadow:0 0 0 4px rgba(0,229,255,.08);
}

.asc-check-list{
  display:grid;
  gap:9px;
  margin-top:14px;
}

.asc-check-list label{
  border:1px solid rgba(148,190,255,.13);
  border-radius:16px;
  padding:11px 12px;
  background:rgba(255,255,255,.035);
  color:rgba(230,240,255,.78);
  font-weight:800;
  display:flex;
  align-items:center;
  gap:10px;
}

.asc-check-list input{accent-color:#00e5ff}

.asc-result{
  max-width:1360px;
  margin:0 auto 22px;
}

.asc-result-panels{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.asc-result-panels article{
  border:1px solid rgba(0,229,255,.13);
  border-radius:18px;
  background:rgba(0,0,0,.18);
  padding:14px;
}

.asc-result-panels h3{
  margin:0 0 10px;
  color:#fff;
}

.asc-result-panels ul{
  margin:0;
  padding-left:1.05rem;
  color:rgba(230,240,255,.76);
  line-height:1.65;
}

.asc-report{
  min-height:155px;
  margin-top:12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  white-space:pre-wrap;
}

.asc-emergency-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.asc-next-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.asc-next-grid a{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:150px;
  padding:18px;
  border:1px solid rgba(148,190,255,.13);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(7,18,38,.74),rgba(12,11,31,.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 16px 34px rgba(0,0,0,.16);
  text-decoration:none;
  overflow:hidden;
}

.asc-next-grid a:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,rgba(0,229,255,.10),transparent 42%,rgba(139,92,246,.09));
  opacity:.65;
}

.asc-next-grid a>*{position:relative;z-index:1}
.asc-next-grid small{color:#8defff;font-weight:900;letter-spacing:.12em;text-transform:uppercase;font-size:.72rem}
.asc-next-grid b{margin:.55rem 0 .55rem;color:#fff;font-size:1.08rem}
.asc-next-grid span{color:rgba(230,240,255,.72);line-height:1.55}

.asc-prefooter{
  max-width:1360px;
  margin:30px auto 0;
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
}

.asc-prefooter p{
  color:rgba(230,240,255,.72);
  margin:0;
  line-height:1.6;
  max-width:86ch;
}

@media(max-width:1180px){
  .asc-hero,
  .asc-check-grid,
  .asc-prefooter{grid-template-columns:1fr;display:grid}
  .asc-flow-steps,
  .asc-flow-steps.six{grid-template-columns:repeat(2,minmax(0,1fr))}
  .asc-emergency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .asc-next-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:700px){
  .asc-form-grid,
  .asc-flow-steps,
  .asc-flow-steps.six,
  .asc-emergency-grid,
  .asc-result-panels,
  .asc-next-grid{grid-template-columns:1fr}
  .asc-important{grid-template-columns:1fr}
  .asc-title{font-size:clamp(2.25rem,14vw,3.8rem)}
}


/* ===== Anti-Scam v4.1 width / alignment hotfix ===== */
/* Sjednocuje šířku všech hlavních bloků, bez zásahu do funkcí. */

.asc-pro-page{
  --asc-shell-width:1540px;
  --asc-shell-pad:clamp(14px,2vw,24px);
}

.asc-pro-page.lab-page{
  max-width:none !important;
  width:100% !important;
  padding-left:var(--asc-shell-pad) !important;
  padding-right:var(--asc-shell-pad) !important;
}

.asc-hero,
.asc-important,
.asc-flow-box,
.asc-risk-map,
.asc-check-grid,
.asc-result,
#asc-emergency,
#asc-playbook,
.asc-pro-page > .lab-section,
.asc-prefooter{
  width:min(var(--asc-shell-width),100%) !important;
  max-width:var(--asc-shell-width) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.asc-hero,
.asc-check-grid{
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr) !important;
}

.asc-flow-steps,
.asc-flow-steps.six{
  align-items:stretch;
}

.asc-flow-steps article,
.asc-emergency-grid .lab-mini,
.asc-scam-types .lab-mini,
.asc-next-grid a,
.asc-risk-map .lab-mini{
  min-height:150px;
}

.asc-important{
  margin-top:0 !important;
}

.asc-result{
  grid-template-columns:minmax(190px,.32fr) minmax(0,1fr) !important;
}

.asc-prefooter{
  margin-bottom:22px !important;
}

/* Trochu kompaktnější, aby stránka působila jako jeden modul a ne roztažené bloky. */
.asc-hero-main,
.asc-hero-side,
.asc-important,
.asc-flow-box,
.asc-check-main,
.asc-check-side,
.asc-prefooter{
  border-radius:24px !important;
}

.asc-pro-page .lab-section{
  border-radius:24px !important;
}

@media(max-width:1180px){
  .asc-pro-page{
    --asc-shell-width:1180px;
  }
  .asc-hero,
  .asc-check-grid{
    grid-template-columns:1fr !important;
  }
  .asc-result{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:760px){
  .asc-pro-page{
    --asc-shell-width:100%;
    --asc-shell-pad:12px;
  }
}


/* ===== Anti-Scam v4.2 real center fix ===== */
/* Přepisuje globální labs-pro .lab-page margin-left výpočet jen pro Anti-Scam stránku. */

body .asc-pro-page.lab-page,
html body .asc-pro-page.lab-page#svAntiScamCenter{
  width:min(1540px, calc(100vw - 64px)) !important;
  max-width:1540px !important;
  margin-top:30px !important;
  margin-right:auto !important;
  margin-bottom:56px !important;
  margin-left:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
}

/* Všechny hlavní bloky uvnitř už jedou na šířku rodiče. */
body .asc-pro-page .asc-hero,
body .asc-pro-page .asc-important,
body .asc-pro-page .asc-flow-box,
body .asc-pro-page .asc-risk-map,
body .asc-pro-page .asc-check-grid,
body .asc-pro-page .asc-result,
body .asc-pro-page #asc-emergency,
body .asc-pro-page #asc-playbook,
body .asc-pro-page > .lab-section,
body .asc-pro-page .asc-prefooter{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* Footer a header zůstávají globální, fix se týká jen obsahu modulu. */
@media(max-width:760px){
  body .asc-pro-page.lab-page,
  html body .asc-pro-page.lab-page#svAntiScamCenter{
    width:calc(100vw - 24px) !important;
    max-width:calc(100vw - 24px) !important;
  }
}


/* === ANTI-SCAM WIDE ALIGN V1 — follows wider Tools layout === */
html body main.asc-pro-page#svAntiScamCenter{
  width:min(1540px, calc(100vw - 64px)) !important;
  max-width:1540px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
@media(max-width:1600px){html body main.asc-pro-page#svAntiScamCenter{width:calc(100vw - 64px) !important;max-width:none !important;}}
@media(max-width:760px){html body main.asc-pro-page#svAntiScamCenter{width:calc(100vw - 24px) !important;}}
