/* ============================================================================
   search-band.css: the search band on /ai/ (16 Nov 2026), drawn by
   search-band.js. Light only, set in Geist like the rest of the register.
   Everything is namespaced .abs so it cannot touch the site's own rules.
   ========================================================================== */
.abs{
  --abs-ink:#1D1D1F;
  --abs-body:#424245;
  --abs-muted:#5A5A5F;
  --abs-accent:#DB1778;
  --abs-accent-ink:#A31459;
  --abs-pink:#EC4899;
  --abs-glass:rgba(255,255,255,.84);
  --abs-glass-line:rgba(255,255,255,.95);
  --abs-hair:rgba(29,29,31,.12);
  /* how far the map runs past the text column on each side, never past the window */
  --abs-bleed:clamp(0px, calc((100vw - 100%) / 2 - 12px), 150px);

  position:relative; isolation:isolate;
  min-height:540px; margin:20px 0 28px;
  display:flex; align-items:center;
  color:var(--abs-ink);
  -webkit-tap-highlight-color:transparent;
}

/* ---- the map ---- */
.abs-stage, .abs-pins{
  position:absolute; top:0; bottom:0;
  left:calc(-1 * var(--abs-bleed)); right:calc(-1 * var(--abs-bleed));
  margin:0; padding:0; list-style:none;
}
.abs-stage{z-index:1; touch-action:pan-y; cursor:crosshair}
.abs-stage canvas{
  position:absolute; inset:0; width:100%; height:100%; display:block;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 16%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 13%, #000 86%, transparent 100%);
          mask-image:linear-gradient(90deg, transparent 0, #000 16%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 13%, #000 86%, transparent 100%);
  -webkit-mask-composite:source-in; mask-composite:intersect;
}

/* the small pill that travels with the searcher: the town it is over, and how many are listed there */
.abs-tag{
  position:absolute; left:0; top:0; z-index:2; pointer-events:none; white-space:nowrap;
  font-size:12px; font-weight:550; line-height:1; letter-spacing:-.005em; font-variant-numeric:tabular-nums;
  color:var(--abs-ink); padding:7px 10px; border-radius:999px;
  background:var(--abs-glass); border:1px solid var(--abs-glass-line);
  box-shadow:inset 0 1px 0 #fff, 0 10px 26px -14px rgba(120,20,70,.45);
  -webkit-backdrop-filter:blur(10px) saturate(140%); backdrop-filter:blur(10px) saturate(140%);
  opacity:0; transition:opacity .22s ease;
  will-change:transform;
}
.abs-tag.is-on{opacity:1}
.abs-tag b{font-weight:650}
.abs-tag span{color:var(--abs-muted)}

/* ---- the answers: real links, placed over the map by the script ---- */
.abs-pins{z-index:2; pointer-events:none}
.abs-pins li{position:absolute; left:0; top:0; will-change:transform}
.abs-pin{
  position:relative; display:block; width:32px; height:32px; border-radius:50%;
  pointer-events:auto; text-decoration:none; color:inherit; outline:0;
}
.abs-pin:focus-visible{box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--abs-accent)}
.abs-pin-label{
  position:absolute; top:50%; left:calc(100% + 6px); transform:translateY(-50%) translateX(-4px);
  display:block; white-space:nowrap; text-align:left;
  padding:8px 12px 9px; border-radius:12px;
  background:var(--abs-glass); border:1px solid var(--abs-glass-line);
  box-shadow:inset 0 1px 0 #fff, 0 16px 36px -18px rgba(120,20,70,.5), 0 1px 2px rgba(29,29,31,.05);
  -webkit-backdrop-filter:blur(12px) saturate(140%); backdrop-filter:blur(12px) saturate(140%);
  opacity:0; visibility:hidden; transition:opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.abs-pins li.flip .abs-pin-label{left:auto; right:calc(100% + 6px); transform:translateY(-50%) translateX(4px)}
.abs-pins li.is-on .abs-pin-label,
.abs-pin:hover .abs-pin-label,
.abs-pin:focus-visible .abs-pin-label{opacity:1; visibility:visible; transform:translateY(-50%); transition-delay:0s}
.abs-pins li.is-on, .abs-pins li:hover, .abs-pins li:focus-within{z-index:3}
.abs-pin-label b{display:block; font-size:13px; font-weight:650; letter-spacing:-.01em; line-height:1.25; color:var(--abs-ink)}
.abs-pin-label i{display:block; font-style:normal; font-size:12px; line-height:1.35; color:var(--abs-muted); margin-top:1px}
.abs-pin-label i em{font-style:normal; font-weight:600; color:var(--abs-accent-ink)}

/* ---- the copy ---- */
.abs-copy{position:relative; z-index:3; max-width:372px; padding:28px 0; pointer-events:none}
.abs-copy a{pointer-events:auto}
.abs-eyebrow{
  display:flex; align-items:center; gap:9px; margin:0 0 14px;
  font-size:13px; font-weight:600; letter-spacing:-.005em; color:var(--abs-accent-ink);
}
.abs-live{position:relative; width:9px; height:9px; border-radius:50%; background:var(--abs-pink); flex:none}
.abs-live::after{
  content:""; position:absolute; inset:0; border-radius:50%; background:var(--abs-pink);
  animation:abs-ping 2.2s cubic-bezier(.2,.6,.3,1) infinite;
}
@keyframes abs-ping{0%{transform:scale(1); opacity:.55} 80%,100%{transform:scale(3.4); opacity:0}}
.abs-copy h2{
  margin:0 0 14px; font-size:clamp(27px, 3.3vw, 37px); line-height:1.08; font-weight:600; letter-spacing:-.03em;
  text-wrap:balance; color:var(--abs-ink);
}
.abs-sub{margin:0 0 20px; font-size:16px; line-height:1.5; color:var(--abs-body); text-wrap:pretty}
.abs-sub b{font-weight:650; color:var(--abs-ink); font-variant-numeric:tabular-nums}
.abs-actions{display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin:0}
.abs-btn{
  display:inline-flex; align-items:center; min-height:42px; padding:0 18px; border-radius:999px;
  background:var(--abs-ink); color:#fff; font-size:15px; font-weight:550; letter-spacing:-.01em; text-decoration:none;
  box-shadow:0 10px 24px -12px rgba(29,29,31,.55);
  transition:transform .15s ease, background .15s ease;
}
.abs-btn:hover{background:#000; transform:translateY(-1px)}
.abs-more{font-size:15px; font-weight:550; color:var(--abs-accent); text-decoration:none}
.abs-more:hover{text-decoration:underline; text-underline-offset:3px}
.abs-btn:focus-visible, .abs-more:focus-visible{outline:2px solid var(--abs-accent); outline-offset:3px}
.abs-hint{margin:18px 0 0; font-size:13px; line-height:1.45; color:var(--abs-muted)}
.abs-hint .abs-touch{display:none}
@media (hover:none){ .abs-hint .abs-mouse{display:none} .abs-hint .abs-touch{display:inline} }

/* ---- narrow: the copy first, the map under it ---- */
@media (max-width:800px){
  .abs{display:block; min-height:0; margin:8px 0 20px}
  .abs-copy{max-width:none; padding:20px 0 4px}
  .abs-stage, .abs-pins{position:absolute; top:auto; bottom:0; height:400px}
  .abs{padding-bottom:400px}
  .abs-stage canvas{
    -webkit-mask-image:linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image:linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  }
  .abs-pin-label{white-space:normal; width:max-content; max-width:190px}
}

/* ---- the legend, in the copy ---- */
.abs-key{display:flex; flex-wrap:wrap; gap:4px 16px; margin:12px 0 0; font-size:13px; color:var(--abs-muted)}
.abs-key i{display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:6px; vertical-align:-1px}
.abs-key .k-all{background:rgba(66,60,74,.22); box-shadow:inset 0 0 0 1px rgba(66,60,74,.12)}
.abs-key .k-chk{background:rgba(219,23,120,.72)}
.abs-key .k-cube{width:10px; height:10px; border-radius:2px; background:#8B5CF6; transform:rotate(45deg) scale(.85)}

/* ---- the controls: "Explore the map", and in full screen the countries ---- */
.abs-ui{position:absolute; z-index:4; right:0; top:14px}
.abs-ctl{
  display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; min-width:38px; padding:0 13px;
  border-radius:999px; border:1px solid var(--abs-glass-line); background:var(--abs-glass); color:var(--abs-ink);
  font:550 14px/1 inherit; letter-spacing:-.005em; cursor:pointer;
  box-shadow:inset 0 1px 0 #fff, 0 10px 26px -16px rgba(120,20,70,.5);
  -webkit-backdrop-filter:blur(12px) saturate(140%); backdrop-filter:blur(12px) saturate(140%);
}
.abs-ctl svg{width:15px; height:15px}
.abs-ctl:hover{background:#fff}
.abs-ctl:focus-visible, .abs-chip:focus-visible{outline:2px solid var(--abs-accent); outline-offset:2px}
.abs-bar{display:none}
.abs-chip{
  min-height:36px; padding:0 13px; border-radius:999px; cursor:pointer; white-space:nowrap;
  border:1px solid var(--abs-hair); background:rgba(255,255,255,.88); color:var(--abs-ink);
  font:550 14px/1 inherit; letter-spacing:-.005em;
}
.abs-chip span{color:var(--abs-muted); font-weight:450; font-variant-numeric:tabular-nums}
.abs-chip[aria-pressed="true"]{background:var(--abs-ink); color:#fff; border-color:var(--abs-ink)}
.abs-chip[aria-pressed="true"] span{color:rgba(255,255,255,.7)}

/* ---- full screen: the town search and the way to the finder ---- */
.abs-foot{display:none}
.abs-vh{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.abs-town{
  width:220px; max-width:100%; min-height:40px; padding:0 14px; border-radius:999px;
  border:1px solid var(--abs-hair); background:rgba(255,255,255,.94); color:var(--abs-ink);
  font:500 15px/1 inherit; letter-spacing:-.005em;
  box-shadow:0 10px 26px -16px rgba(120,20,70,.5);
}
.abs-town:focus-visible{outline:2px solid var(--abs-accent); outline-offset:2px}
.abs-findmsg{font-size:13px; color:var(--abs-muted); font-variant-numeric:tabular-nums}
.abs-maplink{
  margin-left:auto; display:inline-flex; align-items:center; min-height:40px; padding:0 16px; border-radius:999px;
  background:var(--abs-ink); color:#fff; text-decoration:none; font-size:14px; font-weight:550; letter-spacing:-.01em;
}
.abs-maplink:hover{background:#000}
.abs-maplink:focus-visible{outline:2px solid var(--abs-accent); outline-offset:2px}

/* ---- full screen ---- */
html.abs-lock, html.abs-lock body{overflow:hidden}
.abs.is-full{
  position:fixed; inset:0; z-index:1000; margin:0; min-height:0; padding:0; display:block;
  background:#F7F5FA;
}
.abs.is-full .abs-copy, .abs.is-full .abs-ui{display:none}
.abs.is-full .abs-stage, .abs.is-full .abs-pins{left:0; right:0; top:0; bottom:0; height:auto}
.abs.is-full .abs-stage{cursor:grab; touch-action:none}
.abs.is-full .abs-stage:active{cursor:grabbing}
.abs.is-full .abs-stage canvas{-webkit-mask-image:none; mask-image:none}
.abs.is-full .abs-bar{
  display:flex; position:absolute; z-index:5; left:0; right:0; top:0; gap:10px; align-items:flex-start; justify-content:space-between;
  padding:max(14px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px));
  pointer-events:none;
}
.abs.is-full .abs-chips, .abs.is-full .abs-tools{display:flex; flex-wrap:wrap; gap:8px; pointer-events:auto}
.abs.is-full .abs-tools{flex:none}
.abs.is-full .abs-foot{
  display:flex; position:absolute; z-index:5; left:0; right:0; bottom:0; gap:10px 14px; align-items:center; flex-wrap:wrap;
  padding:14px max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  pointer-events:none;
}
.abs.is-full .abs-foot > *{pointer-events:auto}
.abs-close{font-size:20px}
@media (max-width:800px){
  .abs-ui{top:auto; bottom:12px; right:0}
  .abs.is-full{padding-bottom:0}
  .abs.is-full .abs-bar{flex-wrap:wrap}
  .abs.is-full .abs-tools{order:1; margin-left:auto}
  .abs.is-full .abs-chips{order:2; flex:1 0 100%; flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:2px}
  .abs.is-full .abs-chips::-webkit-scrollbar{display:none}
  .abs.is-full .abs-find{flex:1 1 100%}
  .abs.is-full .abs-town{width:100%}
  .abs.is-full .abs-maplink{margin-left:0}
}

@media (prefers-reduced-motion:reduce){
  .abs-live::after{animation:none; opacity:0}
  .abs-tag, .abs-pin-label, .abs-btn{transition:none}
}
@media print{ .abs-stage, .abs-pins, .abs-hint{display:none} .abs{min-height:0; padding-bottom:0} }

