/* Maddlink — Explore (EXPERIENCE §2.1, §4): the list panel, the universe bar, chips, filters, cards, empty state. */

.panel--explore {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--list-w); z-index: 1;
  background: var(--paper); box-shadow: 1px 0 0 var(--line);
}
.panel-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.panel-inner { container-type: inline-size; padding: 20px clamp(16px, 2vw, 28px) 0; min-height: 100%; }

/* the directory at a reading scale, as if zoomed out (DECISIONS 2026-10-17): the title on one line, the bar, the
   chips and the cards a size down, so that the eye takes in many businesses at once (Airbnb's proportions: a 20–26 px
   heading, 15 px names, 13–14 px details) */
.explore-head { margin-bottom: 10px; }
.explore-title { font-size: clamp(1.3rem, 1.05rem + 0.75vw, 1.7rem); line-height: 1.15; letter-spacing: -0.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.explore-lede { margin-top: 4px; color: var(--ink-soft); font-size: 0.875rem; line-height: 1.45; max-width: 62ch; }
.explore-count { margin-top: 6px; color: var(--ink-muted); font-weight: 650; font-size: 0.8125rem; letter-spacing: 0.01em; }

/* ---------------------------------------------------------------- universe bar (Airbnb categories spirit, our icons) */
.universe-bar {
  position: sticky; top: 0; z-index: 3; margin: 0 calc(-1 * clamp(16px, 2vw, 28px)); padding: 6px clamp(16px, 2vw, 28px) 0;
  background: linear-gradient(var(--paper) 82%, color-mix(in oklab, var(--paper) 0%, transparent));
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%);
}
.universe-bar::-webkit-scrollbar { display: none; }
.universe-track { position: relative; display: flex; gap: 2px; width: max-content; padding: 0 18px 8px 2px; }
.universe-tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 60px; padding: 7px 6px 7px; border-radius: var(--r-xs);
  color: var(--ink-muted); font-size: 11px; font-weight: 650; text-align: center; line-height: 1.15; transition: color 0.35s var(--ease-out), background-color 0.35s;
}
.universe-tab .uicon { width: 18px; height: 18px; color: var(--u, var(--cyan-deep)); transition: transform 0.45s var(--ease-out); }
.universe-tab:hover { color: var(--ink); background: var(--raised); }
.universe-tab[aria-current] { color: var(--ink); }
.universe-label { max-width: 84px; text-wrap: balance; }
.universe-all { display: grid; grid-template-columns: repeat(3, 4px); gap: 2px; width: 18px; height: 18px; place-content: center; }
.universe-all i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan-deep); }
.universe-underline { position: absolute; left: 0; bottom: 4px; height: 2px; width: 0; border-radius: 2px; background: var(--cyan-deep); }

.trade-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.trade-chips[hidden] { display: none; }
.filter-row { /* 5 px above and below: the scroller would clip the chips' 44-px touch halo */
  display: flex; gap: 6px; margin: 3px calc(-1 * clamp(16px, 2vw, 28px)) 11px; padding: 5px clamp(16px, 2vw, 28px); overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
}
.filter-row > :last-child { margin-right: 18px; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--cyan); color: var(--on-cyan); font-size: 11px; font-weight: 750; line-height: 20px; text-align: center; }

/* ---------------------------------------------------------------- the list */
/* as many columns of ~220 px cards as the panel holds: 3 at 1440, 2 on a laptop, 4 on a tablet, 1 on a phone */
.pro-list { display: grid; gap: 20px 14px; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); padding-bottom: 8px; }
@container (max-width: 459px) { .pro-list { grid-template-columns: 1fr; gap: 16px; } }

/* ---------------------------------------------------------------- the card (vignette) */
.pro-card { position: relative; isolation: isolate; } /* its layers stay inside it: the sticky universe bar passes over every card, heart included */
.card {
  position: relative; height: 100%; display: flex; flex-direction: column; border-radius: var(--r-sm); overflow: hidden;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background-color 0.4s;
}
@media (hover: hover) and (pointer: fine) {
  .pro-card:hover .card, .pro-card.is-hot .card { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2); background: var(--raised); }
}
.pro-card.is-hot .card { box-shadow: inset 0 0 0 1.5px var(--cyan-deep), var(--shadow-2); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.carousel { position: absolute; inset: 0; display: flex; overflow: hidden; }
.slide { position: relative; flex: 0 0 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.car-btn {
  position: absolute; top: 50%; z-index: 2; width: 30px; height: 30px; margin-top: -15px; background: var(--glass); color: var(--ink);
  box-shadow: var(--shadow-1); opacity: 0; transition: opacity 0.3s, background-color 0.3s;
}
.car-prev { left: 8px; } .car-next { right: 8px; }
.pro-card:hover .car-btn, .car-btn:focus-visible { opacity: 1; }
.card-link { touch-action: pan-y; -webkit-user-drag: none; } /* the finger drags the photos sideways, the page scrolls up and down */
@media (pointer: coarse) { .car-btn { opacity: 0.92; width: 32px; height: 32px; margin-top: -16px; } }
/* small drawings, 44 px targets (EXPERIENCE §9): the arrows, the band's heart */
.car-btn::after, .heart::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
.panel--explore.is-band .heart::after { inset: -6px; }
.car-dots { position: absolute; left: 50%; bottom: 8px; z-index: 2; display: flex; gap: 4px; transform: translateX(-50%); }
.car-dots i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in oklab, var(--ink) 55%, transparent); transition: background-color 0.3s, transform 0.3s; }
.car-dots i.on { background: var(--ink); transform: scale(1.25); }
.fict-tag {
  position: absolute; left: 8px; top: 8px; z-index: 2; padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--glass); color: var(--ink-soft); font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em; pointer-events: none;
}

/* the heart: fills with a bounce and a spray (MOTION §4) */
.heart {
  position: absolute; right: 7px; top: 7px; z-index: 3; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; color: var(--ink); background: color-mix(in oklab, var(--paper) 55%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color 0.3s;
}
.heart:hover { background: color-mix(in oklab, var(--paper) 75%, transparent); }
.heart > span { grid-area: 1 / 1; display: grid; }
.heart .icon { width: 18px; height: 18px; }
.heart-fill { color: var(--cyan-deep); opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.5s cubic-bezier(0.34, 1.8, 0.64, 1); }
.heart[aria-pressed="true"] .heart-fill { opacity: 1; transform: scale(1); }
.heart[aria-pressed="true"] .heart-line { color: var(--cyan-deep); }
.heart-spark { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--cyan); pointer-events: none; }

/* static, so that the name's stretched link covers the whole card, photo included (a click on the photo opens the
   profile; a drag still turns the photos) */
.card-body { position: static; display: flex; flex-direction: column; gap: 3px; padding: 0 12px 12px; flex: 1; }
.card-portrait { pointer-events: none; width: 36px; height: 36px; font-size: 0.68rem; margin-top: -18px; margin-bottom: 2px; box-shadow: 0 0 0 3px var(--card), inset 0 0 0 1.5px color-mix(in oklab, var(--u) 70%, transparent); z-index: 2; transition: box-shadow 0.4s; }
.pro-card:hover .card-portrait { box-shadow: 0 0 0 3px var(--raised), inset 0 0 0 1.5px color-mix(in oklab, var(--u) 70%, transparent); }
.card-name { font-size: 0.9375rem; line-height: 1.25; letter-spacing: -0.005em; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-sm); } /* the whole card opens the profile */
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { box-shadow: inset 0 0 0 2px var(--cyan-deep); }
.card-trade { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 0.8125rem; font-weight: 600; }
.card-uicon { display: inline-grid; color: var(--u); }
.card-uicon .uicon { width: 13px; height: 13px; }
.card-place { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink-muted); font-size: 0.8125rem; }
.card-distance:empty { display: none; }
.card-distance { padding: 0 7px; font-size: 0.75rem; border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-variant-numeric: tabular-nums; }
/* the promise is the pro's own sentence, in quotes: always whole, never cut mid-quote (WCAG 1.4.12, DECISIONS) */
.card-tagline { margin-top: 3px; color: var(--ink-soft); font-size: 0.8125rem; line-height: 1.4; text-wrap: pretty; }
.card-status, .card-remote { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--ink-muted); font-size: 12px; font-weight: 600; }
.card-status .icon, .card-remote .icon { width: 14px; height: 14px; }
.card-demo { margin-top: 3px; color: var(--ink-muted); font-size: 11.5px; font-style: italic; }
/* fully booked / on a break: dimmed by colour, never by opacity (contrast of inactive states) */
.pro-card[data-state="fully_booked"] .card-media img, .pro-card[data-state="paused"] .card-media img { filter: saturate(0.45) brightness(0.8); }

/* the abstract cover: two orbs and the arc between them, in the universe's colour */
.cover-abstract {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 90% at 22% 78%, color-mix(in oklab, var(--u) 46%, transparent) 0%, transparent 60%),
    radial-gradient(70% 80% at 85% 20%, color-mix(in oklab, var(--cyan) 12%, transparent) 0%, transparent 55%),
    linear-gradient(160deg, color-mix(in oklab, var(--u) 22%, var(--card)), var(--paper));
}
.cover-abstract svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ca-arc { fill: none; stroke: color-mix(in oklab, var(--cyan-deep) 70%, transparent); stroke-width: 1.6; stroke-linecap: round; }
.ca-orb { fill: var(--ink); }
.ca-orb--b { fill: var(--cyan); }
/* the pulse on the arch (stroke-dasharray 10 110 over a pathLength of 100: one dash, from before the start to past the end) */
.ca-pulse { display: none; fill: none; stroke: var(--cyan-deep); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 10 110; stroke-dashoffset: 10; }
.profile-cover .ca-pulse, .where-wait .ca-pulse { display: inline; filter: drop-shadow(0 0 3px var(--cyan-glow)); animation: ca-run 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.profile-cover .ca-arc, .where-wait .ca-arc { stroke: color-mix(in oklab, var(--cyan-deep) 26%, transparent); } /* the arch at rest, the pulse lit (IDENTITY §2) */
@keyframes ca-run { 0% { stroke-dashoffset: 10; } 55%, 100% { stroke-dashoffset: -100; } }
.ca-icon { position: absolute; right: 12px; bottom: 10px; width: 26px; height: 26px; color: color-mix(in oklab, var(--u) 80%, var(--ink)); opacity: 0.9; }
.ca-icon .uicon { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- empty state (honest, alive) */
.empty-state { padding: 36px 8px 24px; text-align: center; }
.empty-state[hidden] { display: none; }

/* ---------------------------------------------------------------- tiers */
@media (min-width: 1440px) {
  :root { --list-w: min(57vw, 1060px); }
}
@media (max-width: 1127px) {
  .panel--explore { width: 100%; }
  .panel-inner { padding-bottom: 96px; }
}
@media (max-width: 767px) {
  .panel-inner { padding: 16px 16px 104px; }
  .explore-title { font-size: 1.25rem; }
  .universe-bar { margin: 0 -16px; padding: 4px 16px 0; }
  .universe-tab { min-width: 58px; }
}

/* ---------------------------------------------------------------- empty state, favourites tools */
.empty-orbs { width: min(260px, 70%); margin: 0 auto 18px; }
.empty-orbs svg { width: 100%; height: auto; overflow: visible; }
.eo-arc { fill: none; stroke: var(--arc-rest); stroke-width: 2; stroke-linecap: round; }
.eo-orb { fill: var(--card); stroke: var(--ink-muted); stroke-width: 2; }
.eo-orb--b { stroke: var(--cyan-deep); }
.eo-pulse { fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan-glow)); }
.empty-text { max-width: 40ch; margin: 0 auto; color: var(--ink); font-size: var(--step-1); line-height: 1.45; text-wrap: balance; }
.empty-cta { margin-top: 18px; }
.empty-sub { margin-top: 18px; color: var(--ink-muted); font-size: var(--step--1); font-weight: 650; }
.empty-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.fav-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.fav-shared { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; }
.fav-shared .icon { color: var(--cyan-deep); }
.pro-list > li[style*="display: none"] { display: none !important; }

/* ---------------------------------------------------------------- mode Carte: band (desktop), sheet (phone, tablet) */
.sheet-grip, .band-toggle { display: none; }

.panel--explore.is-band {
  left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; height: 262px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2);
}
.panel--explore.is-band .panel-scroll { overflow: hidden; }
.panel--explore.is-band .panel-inner { padding: 10px 16px 10px; height: 100%; min-height: 0; display: flex; flex-direction: column; container-type: normal; }
.panel--explore.is-band .explore-head { margin: 0 0 8px; padding-right: 150px; }
.panel--explore.is-band :is(.explore-title, .explore-lede, .explore-nearest, .fav-tools, .universe-bar, .trade-chips, .filter-row, .site-footer) { display: none; }
.panel--explore.is-band .explore-count { margin: 6px 0 0; color: var(--ink); font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; }
/* a row of small cards, laid out like Airbnb's (D24): a near-square photo with round corners, three short lines under it */
.panel--explore.is-band .pro-list {
  flex: 1; min-height: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 144px; grid-template-columns: none; gap: 14px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 2px 2px 6px;
  scrollbar-width: none;
}
.panel--explore.is-band .pro-list::-webkit-scrollbar { display: none; }
.panel--explore.is-band .pro-card { scroll-snap-align: start; }
.panel--explore.is-band .card { display: flex; flex-direction: column; height: auto; overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
.panel--explore.is-band .pro-card:hover .card, .panel--explore.is-band .pro-card.is-hot .card { transform: none; background: transparent; box-shadow: none; }
.panel--explore.is-band .card-media { aspect-ratio: 1.05 / 1; height: auto; border-radius: 14px; overflow: hidden; }
.panel--explore.is-band .slide img { transition: transform 0.8s var(--ease-out); }
.panel--explore.is-band .pro-card:hover .slide img { transform: scale(1.04); }
/* the card a pin points at: its photo ringed in cyan */
.panel--explore.is-band .pro-card.is-hot .card-media { box-shadow: 0 0 0 2px var(--cyan-deep); }
.panel--explore.is-band :is(.car-btn, .car-dots, .fict-tag) { display: none; }
/* the heart over the photo, as Airbnb draws it: white line, a dark veil inside */
.panel--explore.is-band .heart { width: 30px; height: 30px; right: 6px; top: 6px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; }
.panel--explore.is-band .heart .icon { width: 20px; height: 20px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45)); }
.panel--explore.is-band .heart:not([aria-pressed="true"]) .heart-line { color: #fff; }
.panel--explore.is-band .card-body { padding: 7px 2px 0; gap: 0; }
.panel--explore.is-band .card-portrait { display: none; }
.panel--explore.is-band :is(.card-tagline, .card-remote, .card-demo, .card-status) { display: none; }
.panel--explore.is-band .card-name { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel--explore.is-band .card-trade { color: var(--ink-muted); font-weight: 400; font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.panel--explore.is-band .card-trade .card-uicon { display: none; }
.panel--explore.is-band .card-place { font-size: 0.8125rem; gap: 0 6px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.panel--explore.is-band .card-distance { padding: 0; box-shadow: none; background: none; font-size: 0.8125rem; font-weight: 400; }
.panel--explore.is-band .card-distance:not(:empty)::before { content: "· "; }
.panel--explore.is-band .empty-state { padding: 6px; }
.band-nav { display: none; }
.panel--explore.is-band .band-nav { display: flex; gap: 8px; position: absolute; right: 64px; top: 8px; z-index: 4; }
.band-arrow { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow 0.3s, background-color 0.3s, opacity 0.3s; }
.band-arrow::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; } /* a 44-px target */
.band-arrow .icon { width: 16px; height: 16px; }
.band-arrow:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink-muted), var(--shadow-1); }
.band-arrow:disabled { opacity: 0.35; cursor: default; }
.panel--explore.is-band.is-folded .band-nav { display: none; }
.panel--explore.is-band .band-toggle {
  display: grid; place-items: center; position: absolute; right: 10px; top: 2px; z-index: 4; width: var(--tap); height: var(--tap); border-radius: 50%;
  background: var(--raised); color: var(--ink); transition: transform 0.5s var(--ease-out), background-color 0.3s;
}
.panel--explore.is-band .band-toggle:hover { background: var(--line-strong); }
.panel--explore.is-band.is-folded { height: 58px; }
.panel--explore.is-band.is-folded .band-toggle { transform: rotate(180deg); }
.panel--explore.is-band.is-folded .pro-list { visibility: hidden; }

.panel--explore.is-sheet {
  position: fixed; left: 0; right: 0; top: 0; bottom: auto; width: 100%; height: 100dvh; z-index: var(--z-sheet);
  border-radius: 24px 24px 0 0; background: var(--paper); will-change: transform;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12), inset 0 1px 0 var(--line);
}
.panel--explore.is-sheet .sheet-grip { display: grid; place-items: center; position: relative; z-index: 4; width: 100%; height: var(--tap); cursor: grab; touch-action: none; border-radius: 24px 24px 0 0; background: transparent; }
.panel--explore.is-sheet .sheet-grip:active { cursor: grabbing; }
.panel--explore.is-sheet .sheet-grip span { width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); transition: background-color 0.3s; }
.panel--explore.is-sheet .sheet-grip:focus-visible span { background: var(--cyan-deep); }
.panel--explore.is-sheet .panel-scroll { top: 40px; }
.panel--explore.is-sheet .panel-inner { padding-top: 4px; }
.panel--explore.is-sheet :is(.explore-title, .explore-lede) { display: none; }
.panel--explore.is-sheet .explore-count { margin-top: 0; color: var(--ink); font-size: var(--step-0); text-align: center; }

/* the map dims behind the network (filter below) */
.stage .map { transition: filter 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .stage .map { transition: none; } }

/* ---------------------------------------------------------------- Réseau */
.panel--network { position: absolute; inset: 0; z-index: 3; overflow: hidden; }
.net-canvas { position: absolute; left: 0; top: 0; pointer-events: none; }
.net-orbs { position: absolute; inset: 0; }
.orb {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; cursor: pointer;
  transition: filter 0.35s, opacity 0.35s; touch-action: none; will-change: translate;
}
.orb-face { width: 44px; height: 44px; font-size: 0.8rem; box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--u) 85%, transparent), 0 4px 12px -4px rgba(0, 0, 0, 0.2); }
.orb:hover .orb-face, .orb:focus-visible .orb-face { box-shadow: inset 0 0 0 2px var(--cyan-deep), 0 0 0 4px var(--cyan-soft), 0 0 24px var(--cyan-glow); }
.orb:focus-visible { outline: none; }
.net-orbs.has-focus .orb:not(.is-lit) { filter: grayscale(0.85) brightness(0.55); }
.orb-label {
  position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--glass); color: var(--ink); font-size: 12px; font-weight: 650; opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.orb:hover .orb-label, .orb:focus-visible .orb-label { opacity: 1; }
.net-tip { position: absolute; left: 0; top: 0; z-index: 6; max-width: 300px; padding: 10px 14px; border-radius: var(--r-sm); pointer-events: none;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2); color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.net-side {
  position: absolute; left: 16px; top: 16px; bottom: 16px; z-index: 5; width: min(360px, calc(100% - 32px)); overflow-y: auto; overscroll-behavior: contain;
  /* no backdrop blur here: the canvas behind changes every frame and the blur would be redone each time */
  padding: 20px 20px 24px; border-radius: var(--r-lg); background: color-mix(in oklab, var(--card) 94%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2);
}
.net-title { font-size: var(--step-4); line-height: 1; }
.net-lede { margin-top: 10px; color: var(--ink-soft); }
.net-path { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.net-path h2 { font-size: var(--step-1); }
/* the path tool is an accordion (h2 > button): open at the left, folded where the card sits at the bottom */
.net-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; margin: -6px 0; padding: 0;
  background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; border-radius: var(--r-sm); }
.net-toggle .icon { flex: none; width: 18px; height: 18px; color: var(--ink-soft); transition: transform 0.4s var(--ease-out); }
.net-side.is-open .net-toggle .icon { transform: rotate(180deg); }
.net-side:not(.is-open) .net-more { display: none; }
.net-hint { margin-top: 6px; color: var(--ink-muted); font-size: var(--step--1); }
.net-pick { display: grid; gap: 10px; margin-top: 12px; }
.net-pick label { display: grid; gap: 4px; font-size: var(--step--1); font-weight: 650; color: var(--ink-soft); }
.net-pick select { height: 44px; padding: 0 12px; border-radius: var(--r-sm); background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); font-weight: 600; }
.net-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.net-result { margin-top: 12px; color: var(--ink); font-weight: 600; min-height: 1.5em; }
.net-text { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.net-text summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
.net-list { display: grid; gap: 10px; margin-top: 10px; font-size: var(--step--1); }
.net-list li { display: grid; gap: 2px; color: var(--ink-soft); }
.net-list strong { color: var(--ink); }
.net-phone-hint { display: none; }
.in-network .panel--explore { visibility: hidden; }
.map-dimmed .stage .map { filter: saturate(0.4) opacity(0.22); }
@media (max-width: 1127px) {
  .net-side { top: auto; bottom: 96px; left: 12px; right: 12px; width: auto; max-height: 56vh; padding: 16px 18px 18px; }
  .net-title { font-size: var(--step-3); }
  .net-path { margin-top: 14px; padding-top: 12px; }
  .net-text { margin-top: 10px; padding-top: 8px; }
}
/* the hint belongs to the centred constellation only (a phone, or a room too small for every orb) */
.panel--network.is-compact .net-phone-hint { display: block; margin-top: 10px; color: var(--ink-muted); font-size: var(--step--1); }
/* a phone held sideways (short screen): the card goes back to the left, the constellation keeps the height */
@media (max-width: 1127px) and (max-height: 500px) {
  .net-side { top: 12px; bottom: 84px; left: 12px; right: auto; width: min(300px, 40vw); max-height: none; }
}
.in-network .map-ui, .in-network .map-area-search { opacity: 0; pointer-events: none; }
.panel--explore.is-nofav .universe-bar, .panel--explore.is-nofav .trade-chips, .panel--explore.is-nofav .filter-row { display: none; }
