/* Knowledge map detail — white/blue civic atlas language. */
.spot-modal-backdrop{
  background:rgba(17,43,67,.52);
  backdrop-filter:blur(12px) saturate(.92);
}
.spot-modal{
  overflow:hidden;
  color:#16354d;
  background:#f7fbff;
  border:1px solid rgba(76,132,177,.28);
  border-radius:22px;
  box-shadow:0 30px 90px rgba(15,48,75,.24);
}
.spot-modal-scroll{scrollbar-color:#9fc2dc transparent}
.spot-modal .sd-card{color:#16354d;background:#fff}
.spot-modal .sd-hero{
  background-color:#eaf4fb!important;
  border-right:1px solid #d9e8f3;
}
.spot-modal .sd-hero::after{
  background:
    linear-gradient(180deg,transparent 64%,rgba(11,51,82,.22)),
    linear-gradient(90deg,transparent 76%,rgba(255,255,255,.1));
}
.spot-modal-close{
  top:18px;right:18px;
  color:#173b55;
  background:rgba(244,250,254,.94);
  border:1px solid #bfd5e5;
  box-shadow:0 8px 24px rgba(21,63,94,.12);
}
.spot-modal-close:hover{color:#fff;background:#176fbd;border-color:#176fbd}
.spot-modal .sd-body{
  padding:42px 44px 52px;
  background:
    linear-gradient(90deg,#1b79c8 0 4px,transparent 4px) top left/100% 96px no-repeat,
    radial-gradient(circle at 100% 0,rgba(83,168,229,.1),transparent 270px),
    #fff;
  border:0;
}
.spot-modal .sd-record-type{
  margin-bottom:12px;
  color:#1478c6;
  font:750 11px/1 var(--font-ui);
  letter-spacing:.16em;
}
.spot-modal .sd-title{
  margin:0 0 16px;
  color:#102f49;
  font-family:var(--font-display);
  font-size:clamp(31px,3vw,42px);
  font-weight:800;
  line-height:1.18;
  letter-spacing:-.035em;
}
.spot-modal .sd-tags{gap:8px;margin-bottom:16px}
.spot-modal .sd-tags .tag{
  padding:6px 10px;
  color:#41677f!important;
  background:#eef6fb;
  border:1px solid #cfe2ef!important;
  border-radius:999px;
  font-size:12px;
}
.spot-modal .sd-tagline{
  margin:0 0 14px;
  color:#56768c;
  font:500 15px/1.75 var(--font-ui);
  font-style:normal;
}
.spot-modal .sd-addr{
  margin:14px 0 6px;
  padding:11px 14px;
  color:#476b83;
  background:#f3f8fc;
  border:0;
  border-left:3px solid #2a8bd3;
  border-radius:0 8px 8px 0;
}
.spot-modal .sd-section{
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid #dce9f2;
}
.spot-modal .sd-section-h{
  margin-bottom:13px;
  color:#146fb6;
  font:750 13px/1.3 var(--font-ui);
  letter-spacing:.08em;
}
.spot-modal .sd-overview,
.spot-modal .sd-must,
.spot-modal .sd-guide-body,
.spot-modal .sd-quiz-q{
  color:#294a61;
  font:400 15px/1.85 var(--font-ui);
}
.spot-modal .sd-must-section{
  padding:18px 20px;
  background:#f3f9fd;
  border:1px solid #cfe3f1;
  border-radius:12px;
}
.spot-modal .sd-must-h{color:#146fb6}
.spot-modal .sd-guide-body{
  padding:18px 20px;
  color:#294a61;
  background:#f7fafc;
  border:1px solid #dce8ef;
  border-left:3px solid #368fce;
  border-radius:10px;
}
.spot-modal .spot-profile{
  margin-top:24px;
  padding:20px;
  background:#f6faff;
  border:1px solid #d6e8f5;
  border-radius:14px;
}
.spot-modal .spot-profile-head{
  border-bottom:1px solid #d9e8f2;
}
.spot-modal .spot-profile-head span{color:#2384c8}
.spot-modal .spot-profile-head h3{color:#153a54}
.spot-modal .spot-profile-head strong{color:#1478c6}
.spot-modal .spot-profile-head strong small,
.spot-modal .spot-profile-summary,
.spot-modal .spot-profile-groups ul{color:#58768a}
.spot-modal .spot-profile-groups article{
  background:#fff;
  border:1px solid #dce8f0;
  border-radius:10px;
}
.spot-modal .spot-profile-groups header span{
  color:#146fb6;
  background:#eaf5fc;
}
.spot-modal .spot-profile-groups header b{color:#284a60}
.spot-modal .spot-profile-groups header em{color:#1478c6}
.spot-modal .spot-inline-intro,
.spot-modal .spot-inline-loading,
.spot-modal .spot-inline-empty,
.spot-modal .spot-inline-summary{
  color:#31546b;
  background:#f4f9fc;
  border:1px solid #d6e6f0;
  border-radius:12px;
}
.spot-modal .spot-inline-options button{
  color:#28495e;
  background:#fff;
  border:1px solid #d3e2ec;
  border-radius:10px;
}
.spot-modal .spot-inline-options button:hover{
  background:#f3f9fd;
  border-color:#70acd5;
}
.spot-modal .spot-inline-options button i{
  color:#236f9f;
  background:#eaf4fa;
  border-radius:7px;
}
.spot-modal .spot-inline-options button.selected{
  color:#0f5f98;
  background:#eaf6fd;
  border-color:#2789cf;
  box-shadow:inset 3px 0 #2789cf;
}
.spot-modal .spot-inline-head i{
  border-radius:999px;
  background:linear-gradient(90deg,#2185cb var(--spot-progress,100%),#d9eaf5 0);
}
.spot-modal .btn,
.spot-modal .spot-inline-next,
.spot-modal .spot-inline-submit,
.spot-modal .spot-practice-cta{
  border-radius:9px;
  box-shadow:none;
}
.spot-modal .btn-p,
.spot-modal .spot-inline-next,
.spot-modal .spot-inline-submit,
.spot-modal .spot-practice-cta{
  color:#fff!important;
  background:#176fbd!important;
  border-color:#176fbd!important;
}
.spot-modal .sd-actions{
  background:linear-gradient(transparent,#fff 24%);
}

@media(max-width:980px){
  .spot-modal .sd-hero{border:1px solid #d5e6f1}
  .spot-modal .sd-body{padding:32px 30px 42px}
}
@media(max-width:760px){
  .spot-modal{border-radius:0}
  .spot-modal .sd-body{padding:27px 19px 38px}
  .spot-modal .sd-title{font-size:30px}
  .spot-modal .spot-profile{padding:16px}
}
