@font-face {
  font-family: Caveat;
  src: url(assets/fonts/caveat.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url(assets/fonts/dm-sans.woff2) format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url(assets/fonts/cormorant.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url(assets/fonts/cormorant-italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --bg: #f7f8f2;
  --surface: #fff;
  --ink: #1c3026;
  --forest: #244d38;
  --muted: #5e6e62;
  --line: #dce1d6;
  --tint: #ecf0e4;
  --lime: #def19e;
  --paper: #fafbf5;
  --radius: 16px;
  --shell: min(1376px, calc(100% - clamp(40px, 8vw, 144px)));
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 12px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-width: 320px;
}
button,
input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #8bad4e;
  outline-offset: 4px;
}
input {
  min-width: 0;
}
svg.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.09;
}
img {
  display: block;
  max-width: 100%;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  z-index: 1000;
  position: absolute;
  background: white;
  padding: 12px;
}
#top {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.head-inner,
.nav-inner,
#main,
.footer-row {
  width: var(--shell);
  margin: auto;
}
.head-inner {
  height: 73px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--forest);
  flex-shrink: 0;
}
.pscilly-wordmark {
  display: block;
  width: calc(var(--pscilly-logo-width, 148px) * 1.13);
  max-width: 100%;
  aspect-ratio: 487 / 160;
  background: url(assets/pscilly-logo-pincap.webp?v=1) center / contain no-repeat;
}
body[data-theme="night"] .head-inner .pscilly-wordmark,
body[data-theme="marquee"] .head-inner .pscilly-wordmark,
.st-logo .pscilly-wordmark {
  background-image: url(assets/pscilly-logo-pincap-light.webp?v=1);
}
body[data-theme="night"] .head-inner,
body[data-theme="marquee"] .head-inner {
  --pscilly-logo-ink: #f6f8e9;
}
.search-box {
  max-width: 580px;
  flex: 1;
  margin-left: clamp(0px, 3vw, 54px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 0 15px;
  height: 41px;
  border-radius: 24px;
  color: var(--muted);
}
.search-box input {
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--ink);
}
.search-box input::placeholder {
  color: var(--muted);
}
.search-box:focus-within {
  outline: 2px solid var(--forest);
}
button.location-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 670;
}
.location-btn .icon:first-child {
  color: var(--forest);
}
.header-save {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}
.header-save span {
  position: absolute;
  right: -5px;
  top: -5px;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  text-align: center;
  border-radius: 999px;
  background: var(--forest);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  padding: 0 4px;
  box-sizing: border-box;
  pointer-events: none;
}
[data-save][aria-busy="true"] { opacity: 0.6; cursor: progress; }
.nav-bar {
  border-top: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 45px;
}
.nav-inner nav,
.nav-tools {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-inner nav a {
  display: flex;
  align-items: center;
  position: relative;
  height: 45px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 630;
  white-space: nowrap;
}
.nav-inner nav a.current,
.nav-inner nav a:hover {
  color: var(--forest);
}
.nav-inner nav a.current:after {
  content: "";
  background: var(--forest);
  height: 3px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  border-radius: 2px;
}
.nav-tools {
  gap: 20px;
}
.nav-tools a,
.nav-tools button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.map-link {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.nav-tools a:hover,
.nav-tools button:hover,
.footer-row a:hover,
.footer-row button:hover {
  text-decoration: underline;
}
#main {
  padding-top: 25px;
  min-height: 60vh;
  outline: 0;
}
.hero {
  position: relative;
  isolation: isolate;
  background: #102c21;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 334px;
  color: #f8f9ec;
}
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-photo {
  left: 43%;
  background-size: cover;
  background-position: 52% 54%;
}
.hero-shade {
  background: linear-gradient(
    90deg,
    #102c21 0%,
    #102c21 35%,
    rgba(16, 44, 33, 0.96) 41%,
    rgba(16, 44, 33, 0.75) 48%,
    rgba(16, 44, 33, 0.15) 65%,
    transparent 79%
  );
}
.hero-content {
  padding: 32px clamp(26px, 3.4vw, 56px) 36px;
  position: relative;
  max-width: 62%;
}
.hero-kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.16em;
}
.hero-kicker {
  color: #e0f09c;
  margin-bottom: 15px;
}
.hero-kicker svg {
  width: 17px;
  height: 17px;
}
.hero h1 {
  font-size: clamp(47px, 4.8vw, 77px);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 0.94;
}
.hero h1 em {
  display: inline-block;
  font-family: Cormorant, Georgia, serif;
  font-size: 1.2em;
  font-weight: 560;
  letter-spacing: -0.055em;
  color: var(--lime);
  line-height: 0.9;
}
.hero-content > p {
  margin: 13px 0 20px;
  max-width: 365px;
  font-size: 14px;
  line-height: 1.55;
  color: #e2e8dc;
}
.hero-button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 17px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 720;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.hero-button {
  background: var(--lime);
  color: #173222;
}
.hero-button:hover,
.primary:hover,
.secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px #0002;
}
.hero-dots {
  display: flex;
  position: absolute;
  left: clamp(26px, 3.4vw, 56px);
  bottom: 9px;
  gap: 2px;
}
.hero-dots button {
  padding: 6px 3px;
}
.hero-dots i {
  display: block;
  width: 6px;
  height: 4px;
  border-radius: 5px;
  background: #ffffff65;
}
.hero-dots button.active i {
  width: 22px;
  background: var(--lime);
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 5px 10px;
  border: 1px solid #ffffff40;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: white;
  background: #0b291f88;
  backdrop-filter: blur(8px);
}
.browse-wrap {
  padding: 25px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.browse-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.browse-title h2 {
  font-size: 17px;
  font-weight: 730;
  letter-spacing: -0.025em;
}
.browse-edit {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}
.filter-set {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ccd5c9;
  background: var(--surface);
  border-radius: 24px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  line-height: 1.35;
}
.chip:hover {
  border-color: var(--forest);
}
.chip.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}
.listing-section {
  margin: 0 0 37px;
  scroll-margin-top: 20px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}
.section-head h2,
.map-title h1,
.brand-intro h1 {
  letter-spacing: -0.05em;
}
.section-head h2 {
  font-size: clamp(26px, 2.25vw, 34px);
  font-weight: 730;
}
.section-head p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 5px;
}
.link-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  font-size: 13px;
  color: var(--forest);
  white-space: nowrap;
}
.link-text:hover,
.inline-action:hover {
  text-decoration: underline;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  min-width: 0;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px #1728190e;
}
.card-open {
  width: 100%;
  text-align: left;
  display: flex;
  height: 100%;
  flex-direction: column;
}
.card-media {
  display: block;
  width: 100%;
  position: relative;
  aspect-ratio: 1.95;
  background: var(--tint);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .card-media img {
  transform: scale(1.035);
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #284532;
  background: #f4f9e9f2;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 740;
  letter-spacing: 0.015em;
  max-width: calc(100% - 62px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-save {
  position: absolute;
  right: 9px;
  top: 9px;
  background: #fafbf5ee;
  color: #243c2a;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
}
.card-save[aria-pressed="true"] svg,
.star-btn[aria-pressed="true"] svg {
  fill: currentColor;
}
.card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 15px 17px;
  width: 100%;
}
.card-copy strong {
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 730;
  letter-spacing: -0.038em;
  line-height: 1.16;
}
.card-meta,
.distance {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.card-date,
.distance {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-date {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--forest);
}
.empty {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.6;
}
.empty p {
  color: var(--muted);
  font-size: 13px;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--forest);
}
.inline-action {
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.query-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}
.query-line button {
  margin-left: 6px;
}
.night-side {
  display: none;
}
.footer-row {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 0 30px;
  margin-top: 32px;
}
.footer-row { --pscilly-logo-width: 132px; }
.footer-row nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 20px;
  width: min(540px, calc(100% - 30px));
  max-height: 87dvh;
  overflow: auto;
  box-shadow: 0 30px 90px #08161042;
}
dialog::backdrop {
  background: #0d201bb3;
  backdrop-filter: blur(3px);
}
.dialog-close {
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 33px;
  height: 33px;
  position: absolute;
  right: 16px;
  top: 15px;
  z-index: 1;
}
dialog .eyebrow {
  color: var(--forest);
  margin: 1px 32px 10px 0;
}
dialog h2 {
  font-size: 33px;
  letter-spacing: -0.055em;
  margin: 0 26px 18px 0;
}
dialog p {
  font-size: 15px;
  line-height: 1.6;
  margin: 12px 0;
  color: var(--muted);
}
dialog h3 {
  font-size: 18px;
  margin: 20px 0 6px;
  letter-spacing: -0.03em;
}
.modal-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  height: 45px;
  padding: 0 13px;
}
.modal-input input {
  border: 0;
  outline: none;
  background: none;
  width: 100%;
}
#place-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 650;
  font-size: 13px;
}
.use-location {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  color: var(--forest);
  font-size: 14px;
  font-weight: 660;
}
#geo-message {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.place-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 12px 2px;
  border-top: 1px solid var(--line);
}
.place-option > span {
  flex: 1;
}
.place-option b,
.place-option small,
.theme-list b,
.theme-list small,
.saved-item strong,
.saved-item small {
  display: block;
}
.place-option small,
.theme-list small,
.saved-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 3px;
}
.credit {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 15px;
}
.credit a {
  text-decoration: underline;
}
.theme-list {
  margin-bottom: 22px;
}
.theme-list button {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 1fr 20px;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.mini {
  height: 48px;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: 5px;
}
.mini i {
  background: #adb999;
  border-radius: 1px;
}
.mini i:first-child {
  grid-column: 1/-1;
  background: #204833;
  height: 19px;
}
.mini-field {
  background: #edf0df;
}
.mini-print {
  background: #eddbed;
  grid-template-columns: 1fr 1fr;
}
.mini-print i {
  background: #a783a5;
}
.mini-print i:first-child {
  grid-column: 1;
  grid-row: span 2;
  background: #58314c;
  height: 100%;
}
.mini-night {
  background: #24302a;
  grid-template-columns: 1fr 2fr;
}
.mini-night i {
  background: #88934f;
}
.mini-night i:first-child {
  grid-column: 1;
  grid-row: span 3;
  height: 100%;
  background: #bfcd6b;
}
.detail-image {
  width: calc(100% + 60px);
  max-width: none;
  height: 180px;
  object-fit: cover;
  margin: -30px -30px 23px;
}
.detail-by {
  font-size: 14px;
  color: var(--forest);
}
.detail-facts {
  display: grid;
  gap: 9px;
  margin: 14px 0;
}
.detail-facts span {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 19px 0 0;
}
.primary {
  background: var(--forest);
  color: var(--paper);
}
.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}
.related {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  width: 100%;
  text-align: left;
  color: var(--forest);
  font-weight: 600;
}
.saved-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.saved-item > button:first-child {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.saved-item img {
  width: 57px;
  height: 45px;
  border-radius: 5px;
  object-fit: cover;
}
.brand-intro {
  padding: 32px 0 25px;
  border-bottom: 1px solid var(--line);
}
.brand-intro .eyebrow {
  color: var(--forest);
}
.brand-intro h1 {
  font-size: clamp(45px, 6vw, 82px);
  margin: 15px 0;
}
.brand-intro h1 em {
  font-family: Cormorant, Georgia, serif;
  color: var(--forest);
}
.brand-intro p {
  color: var(--muted);
  margin-bottom: 17px;
}
.brand-tabs {
  display: flex;
  gap: 10px;
  margin: 21px 0;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.brand-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
}
.brand-image {
  width: 100%;
  display: block;
}
.brand-image img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: contain;
  background: #e8e5de;
}
.brand-caption {
  padding: 16px 18px 18px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.brand-caption h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.brand-caption p {
  font-size: 14px;
  line-height: 1.55;
  margin: 9px 0;
  color: var(--muted);
}
.swatches {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
}
.swatches i {
  width: 11px;
  height: 11px;
  border: 1px solid #0001;
  border-radius: 50%;
}
.swatches span {
  margin-left: 4px;
  font-size: 11px;
  color: var(--muted);
}
.star-btn {
  color: var(--forest);
  padding: 5px;
}
.big-brand {
  width: 100%;
  max-height: 43vh;
  object-fit: contain;
  background: var(--tint);
  border-radius: 8px;
}
/* Spore Print is structured as a magazine, with a framed photograph and a lead story. */
body[data-theme="print"] {
  --bg: #f7f1ed;
  --surface: #fffaf6;
  --ink: #352335;
  --forest: #6a3457;
  --muted: #745e6d;
  --line: #dfcfd6;
  --tint: #f2e3ec;
  --lime: #ffe2b9;
  --paper: #f8f1ec;
  --radius: 0px;
}
body[data-theme="print"] .head-inner {
  height: 76px;
}
body[data-theme="print"] .hero {
  background: #e5cde2;
  color: var(--ink);
  min-height: 365px;
  border: 1px solid var(--line);
}
body[data-theme="print"] .hero-photo {
  inset: 15px auto 15px 15px;
  width: 44%;
  border-radius: 50% 50% 3px 3px;
  background-position: right 55%;
}
body[data-theme="print"] .hero-shade {
  display: none;
}
body[data-theme="print"] .hero-content {
  margin-left: 47%;
  max-width: 53%;
  padding: 35px 4vw 44px 2vw;
}
body[data-theme="print"] .hero h1 {
  font-family: Cormorant, Georgia, serif;
  font-weight: 650;
  letter-spacing: -0.044em;
  font-size: clamp(48px, 5.6vw, 85px);
}
body[data-theme="print"] .hero h1 em {
  color: var(--forest);
  font-size: 1.03em;
}
body[data-theme="print"] .hero-kicker,
body[data-theme="print"] .hero-content > p {
  color: var(--forest);
}
body[data-theme="print"] .hero-button {
  background: var(--forest);
  color: var(--paper);
}
body[data-theme="print"] .hero-dots {
  left: auto;
  right: 22px;
  bottom: 13px;
}
body[data-theme="print"] .hero-dots i {
  background: #b399ac;
}
body[data-theme="print"] .hero-dots button.active i {
  background: var(--forest);
}
body[data-theme="print"] .hero-label {
  left: 26px;
  right: auto;
  bottom: 25px;
  background: #50263dc9;
}
body[data-theme="print"] .section-head h2,
body[data-theme="print"] .card-copy strong {
  font-family: Cormorant, Georgia, serif;
  font-weight: 700;
}
body[data-theme="print"] .section-head h2 {
  font-size: 38px;
}
body[data-theme="print"] .card {
  border-radius: 2px;
  border: 0;
  background: transparent;
}
body[data-theme="print"] .card-copy {
  padding-left: 0;
  padding-right: 0;
}
body[data-theme="print"] .card-copy strong {
  font-size: 25px;
}
body[data-theme="print"] .card-grid {
  gap: 24px;
}
body[data-theme="print"] #articles .card-grid {
  grid-template-columns: 1.35fr 1fr 1fr;
}
body[data-theme="print"] #articles .card:first-child {
  grid-row: span 2;
}
body[data-theme="print"] #articles .card:first-child .card-media {
  aspect-ratio: 1.35;
}
body[data-theme="print"] #articles .card:nth-child(4) {
  grid-column: span 2;
}
body[data-theme="print"] #articles .card:nth-child(4) .card-open {
  flex-direction: row;
  gap: 15px;
}
body[data-theme="print"] #articles .card:nth-child(4) .card-media {
  width: 30%;
}
body[data-theme="print"] .chip {
  border-radius: 4px;
}
body[data-theme="night"] {
  --bg: #111914;
  --surface: #1b271e;
  --ink: #f3f3de;
  --forest: #c6ea83;
  --muted: #acbda9;
  --line: #354338;
  --tint: #263228;
  --lime: #c6ea83;
  --paper: #151f18;
  --radius: 10px;
}
body[data-theme="night"] .home-layout {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 26px;
}
body[data-theme="night"] .night-side {
  display: block;
  padding: 15px 12px 25px 0;
  border-right: 1px solid var(--line);
  align-self: start;
  position: sticky;
  top: 12px;
}
body[data-theme="night"] .night-side > strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
  margin: 12px 0 4px;
}
body[data-theme="night"] .night-side .eyebrow {
  color: var(--muted);
}
body[data-theme="night"] .night-side > div {
  display: grid;
  gap: 20px;
  margin: 28px 0;
}
body[data-theme="night"] .night-side a {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
body[data-theme="night"] .side-map {
  color: var(--forest);
}
body[data-theme="night"] .hero {
  min-height: 295px;
  border: 1px solid var(--line);
  background: #0a140e;
}
body[data-theme="night"] .hero-shade {
  background: linear-gradient(90deg, #0a140e 5%, #0a140e 36%, #0a140ed6 45%, transparent 72%);
}
body[data-theme="night"] .hero-content {
  padding: 26px 26px 37px;
}
body[data-theme="night"] .hero h1 {
  font-weight: 720;
  font-size: clamp(39px, 4.3vw, 68px);
  letter-spacing: -0.065em;
}
body[data-theme="night"] .hero h1 em {
  font-family: "DM Sans", Arial, sans-serif;
  font-style: normal;
  font-size: 1em;
  font-weight: 760;
}
body[data-theme="night"] .hero-kicker {
  font-family: monospace;
}
body[data-theme="night"] .card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
body[data-theme="night"] .card {
  border-radius: 8px;
}
body[data-theme="night"] .card-open {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  align-items: stretch;
}
body[data-theme="night"] .card-media {
  aspect-ratio: auto;
  min-height: 126px;
  height: 100%;
}
body[data-theme="night"] .badge {
  top: auto;
  bottom: 5px;
  left: 5px;
  font-size: 8px;
  max-width: calc(100% - 10px);
}
body[data-theme="night"] .card-save {
  width: 24px;
  height: 24px;
  top: 6px;
  right: 6px;
}
body[data-theme="night"] .card-copy {
  padding: 18px 28px 14px 13px;
  justify-content: center;
}
body[data-theme="night"] .card-copy strong {
  font-size: 18px;
}
body[data-theme="night"] .chip {
  border-color: var(--line);
  border-radius: 5px;
}
body[data-theme="night"] .chip.active,
body[data-theme="night"] .primary {
  color: #152312;
}
body[data-theme="night"] .browse-wrap {
  padding: 19px 0 20px;
}
body[data-theme="night"] .browse-title h2 {
  font-size: 15px;
}
.home-body {
  min-width: 0;
}
.map-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 18px;
}
.map-title h1 {
  font-size: clamp(30px, 3vw, 47px);
}
.map-title p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.map-filters {
  margin-bottom: 17px;
}
.map-view {
  display: grid;
  grid-template-columns: minmax(260px, 31%) 1fr;
  min-height: 530px;
  height: min(680px, 70vh);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.map-side {
  overflow: auto;
  overscroll-behavior: contain;
}
.map-side h2 {
  font-size: 16px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
}
.map-item {
  position: relative;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  border-left: 3px solid transparent;
}
.map-item.active {
  background: var(--tint);
  border-left-color: var(--forest);
}
.map-item button {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-item img {
  width: 50px;
  height: 53px;
  border-radius: 7px;
  object-fit: cover;
}
.map-item b,
.map-item small {
  display: block;
}
.map-item b {
  font-size: 14px;
  letter-spacing: -0.025em;
}
.map-item small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  margin-top: 4px;
}
.map-item .map-details {
  font-size: 11px;
  font-weight: 650;
  color: var(--forest);
  margin-left: 60px;
  text-decoration: underline;
}
.map-holder {
  position: relative;
  min-width: 0;
}
.map-canvas {
  height: 100%;
  width: 100%;
  background: #e9eddf;
  z-index: 0;
}
.map-note {
  position: absolute;
  bottom: 25px;
  left: 12px;
  max-width: 80%;
  background: #fffff4ed;
  color: #243d2e;
  font-size: 11px;
  padding: 6px 9px;
  border-radius: 5px;
  z-index: 2;
}
.pinmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 5px;
  transform: rotate(-45deg);
  background: #2b583c;
  color: #fff;
  border: 2px solid white;
  box-shadow: 0 2px 5px #18281e42;
}
.pinmark svg {
  transform: rotate(45deg);
}
.pinmark.on {
  background: #cf5225;
  outline: 3px solid #fae1a8;
}
.clustermark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid #f5f9de;
  background: #355c3e;
  color: #fff;
  font:
    bold 14px "DM Sans",
    Arial;
  box-shadow: 0 1px 7px #21352c55;
}
.map-city {
  font:
    bold 13px "DM Sans",
    Arial;
  color: #3e533d;
  text-shadow:
    1px 1px 1px #fff,
    -1px -1px 1px #fff;
  white-space: nowrap;
  text-align: center;
}
.map-road {
  font:
    9px "DM Sans",
    Arial;
  color: #697563;
  white-space: nowrap;
  text-shadow: 0 0 3px white;
}
.leaflet-container a {
  color: #1b543a;
}
.map-list-empty {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}
.map-overview {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 7px 12px;
  background: white;
  color: #243d2e;
  border: 1px solid #bfc8b8;
  border-radius: 6px;
  box-shadow: 0 1px 4px #0002;
  font-size: 12px;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 380px;
  }
  .hero-content {
    padding-top: 43px;
    padding-bottom: 46px;
  }
}
@media (max-width: 1050px) {
  .head-inner {
    gap: 18px;
  }
  .card-grid {
    gap: 12px;
  }
  .card-copy {
    padding: 12px;
  }
  .nav-inner nav {
    gap: 20px;
  }
  body[data-theme="night"] .home-layout {
    grid-template-columns: 139px minmax(0, 1fr);
    gap: 18px;
  }
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  :root {
    --shell: calc(100% - 40px);
  }
  .head-inner {
    height: 64px;
    gap: 16px;
  }
  .head-inner .brand {
    --pscilly-logo-width: 138px;
  }
  .search-box {
    margin-left: 0;
  }
  .nav-inner nav {
    gap: 16px;
  }
  .nav-tools {
    gap: 10px;
  }
  .map-link {
    padding-left: 10px;
  }
  .hero {
    min-height: 305px;
  }
  .hero-content {
    max-width: 66%;
  }
  .hero h1 {
    font-size: 46px;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .card-copy strong {
    font-size: 19px;
  }
  .card-media {
    aspect-ratio: 2.15;
  }
  .map-view {
    grid-template-columns: 265px 1fr;
  }
  .hero-photo {
    left: 40%;
  }
  body[data-theme="night"] .home-layout {
    display: block;
  }
  body[data-theme="night"] .night-side {
    display: none;
  }
  body[data-theme="print"] #articles .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-theme="print"] #articles .card:nth-child(4) {
    grid-column: auto;
  }
  body[data-theme="print"] #articles .card:nth-child(4) .card-open {
    flex-direction: column;
  }
  body[data-theme="print"] #articles .card:nth-child(4) .card-media {
    width: 100%;
  }
}
@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 30px);
  }
  .head-inner {
    height: auto;
    min-height: 99px;
    display: grid;
    grid-template-columns: 1fr auto 30px;
    gap: 8px 11px;
    padding: 10px 0;
  }
  .head-inner .brand {
    justify-self: start;
    --pscilly-logo-width: clamp(102px, 31vw, 134px);
    max-width: 100%;
    min-width: 0;
  }
  .search-box {
    order: 5;
    grid-column: 1/-1;
    width: 100%;
    height: 34px;
  }
  .location-btn {
    font-size: 12px !important;
    gap: 4px !important;
  }
  .header-save {
    width: 29px;
    height: 29px;
  }
  .header-save svg {
    width: 16px;
  }
  .nav-inner {
    display: block;
    min-height: 0;
    position: relative;
  }
  .nav-inner nav {
    overflow-x: auto;
    scrollbar-width: none;
    padding-right: 6px;
    gap: 17px;
    width: calc(100% - 68px);
  }
  .nav-inner nav a {
    height: 37px;
    font-size: 12px;
  }
  .nav-tools {
    position: absolute;
    right: 0;
    top: 0;
    height: 37px;
    background: var(--paper);
    gap: 9px;
    padding-left: 7px;
  }
  .nav-tools span {
    display: none;
  }
  .nav-tools button,
  .nav-tools a {
    padding: 5px 4px;
  }
  .map-link {
    border-left: 1px solid var(--line);
  }
  #main {
    padding-top: 15px;
  }
  .hero {
    min-height: 303px;
    border-radius: 12px;
  }
  .hero-photo {
    left: 27%;
    background-position: 60% center;
  }
  .hero-shade {
    background: linear-gradient(
      90deg,
      #102c21 0%,
      #102c21f5 21%,
      #102c21e3 36%,
      #102c2199 55%,
      #102c211a 90%
    );
  }
  .hero-content {
    padding: 27px 19px 42px;
    max-width: 90%;
  }
  .hero-kicker {
    font-size: 9px;
    margin-bottom: 15px;
  }
  .hero h1 {
    font-size: clamp(37px, 9.8vw, 54px);
  }
  .hero-content > p {
    font-size: 13px;
    max-width: 230px;
    margin: 14px 0;
  }
  .hero-button {
    font-size: 12px;
    padding: 10px 15px;
  }
  .hero-dots {
    left: 18px;
    bottom: 9px;
  }
  .hero-label {
    font-size: 8px;
    right: 9px;
    bottom: 10px;
  }
  .browse-wrap {
    padding: 19px 0 18px;
    margin-bottom: 19px;
  }
  .filter-set {
    flex-wrap: nowrap;
    overflow: auto;
    scrollbar-width: thin;
    padding: 1px 0 4px;
  }
  .chip {
    font-size: 12px;
    padding: 8px 12px;
    gap: 6px;
  }
  .chip svg {
    width: 16px;
  }
  .browse-title {
    margin-bottom: 9px;
  }
  .browse-title h2 {
    font-size: 16px;
  }
  .section-head h2 {
    font-size: 25px;
  }
  .section-head p {
    font-size: 12px;
    max-width: 310px;
  }
  .link-text {
    font-size: 12px;
  }
  .card-grid {
    gap: 10px;
  }
  .card-media {
    aspect-ratio: 1.6;
  }
  .card-copy {
    padding: 10px;
  }
  .card-copy strong {
    font-size: 16px;
  }
  .card-meta {
    font-size: 11px;
  }
  .badge {
    font-size: 8px;
    top: 7px;
    left: 7px;
    padding: 4px 5px;
  }
  .card-save {
    width: 23px;
    height: 23px;
    top: 6px;
    right: 6px;
  }
  .listing-section {
    margin-bottom: 26px;
  }
  .footer-row {
    align-items: flex-start;
    gap: 12px;
  }
  .footer-row nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    font-size: 11px;
  }
  .brand-grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .brand-intro {
    padding-top: 18px;
  }
  .brand-intro p {
    font-size: 14px;
  }
  .brand-image img {
    aspect-ratio: 1.5;
  }
  .map-view {
    display: flex;
    height: auto;
    flex-direction: column-reverse;
    min-height: 0;
  }
  .map-holder {
    height: 53vh;
    min-height: 300px;
  }
  .map-side {
    max-height: 44vh;
  }
  .map-title {
    align-items: flex-start;
  }
  .map-title h1 {
    font-size: 30px;
  }
  .map-title .secondary {
    font-size: 11px;
    gap: 5px;
    padding: 8px 10px;
    white-space: nowrap;
  }
  .map-title p {
    font-size: 12px;
  }
  .map-side h2 {
    padding: 12px;
  }
  .detail-image {
    height: 145px;
  }
  .modal-actions {
    gap: 6px;
  }
  .hero-label {
    display: none;
  }
  body[data-theme="print"] .head-inner {
    height: auto;
  }
  body[data-theme="print"] .hero {
    display: flex;
    flex-direction: column;
    min-height: 300px;
  }
  body[data-theme="print"] .hero-photo {
    left: 8px;
    top: 10px;
    width: 32%;
    height: calc(100% - 20px);
    background-position: 67% center;
  }
  body[data-theme="print"] .hero-content {
    margin-left: 35%;
    max-width: 65%;
    padding: 29px 12px 32px;
  }
  body[data-theme="print"] .hero h1 {
    font-size: clamp(34px, 8vw, 52px);
  }
  body[data-theme="print"] .hero-content > p {
    font-size: 12px;
  }
  body[data-theme="print"] .hero-kicker {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  body[data-theme="print"] .card-copy strong {
    font-size: 19px;
  }
  body[data-theme="print"] .card-grid {
    gap: 12px;
  }
  body[data-theme="print"] #articles .card:first-child {
    grid-row: auto;
  }
  body[data-theme="print"] #articles .card:first-child .card-media {
    aspect-ratio: 1.6;
  }
  body[data-theme="print"] .section-head h2 {
    font-size: 29px;
  }
  body[data-theme="night"] .hero {
    min-height: 280px;
  }
  body[data-theme="night"] .hero-content {
    padding: 22px 17px 39px;
  }
  body[data-theme="night"] .hero h1 {
    font-size: 38px;
  }
  body[data-theme="night"] .card-grid {
    grid-template-columns: 1fr;
  }
  body[data-theme="night"] .card-media {
    min-height: 95px;
  }
  body[data-theme="night"] .hero-shade {
    background: linear-gradient(
      90deg,
      #0a140ef7 5%,
      #0a140ee0 37%,
      #0a140e90 62%,
      transparent 90%
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
[hidden] {
  display: none !important;
}
.outside-map {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-direction: column;
  color: #314b34;
}
.outside-map .link-text {
  color: #315a37;
}
.map-holder .leaflet-popup-content-wrapper {
  border-radius: 10px;
}
.map-holder .leaflet-popup-content {
  font:
    13px/1.55 "DM Sans",
    Arial;
}
body[data-theme="field"] .hero-photo {
  background-position: 52% 18%;
  mask-image: linear-gradient(to right, transparent, #000 16%);
}
@media (max-width: 620px) {
  body[data-theme="field"] .hero-photo {
    background-position: 63% center;
  }
}
dialog[data-kind="layouts"] {
  width: min(960px, calc(100% - 30px));
}
.theme-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.theme-list button {
  padding: 0 0 15px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.theme-list button:hover,
.theme-list button[aria-pressed="true"] {
  border-color: var(--forest);
}
.theme-thumb {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  object-position: top;
}
.theme-info,
.theme-pick {
  margin: 0 13px;
}
.theme-info b {
  font-size: 18px;
  letter-spacing: -0.035em;
}
.theme-pick {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--forest);
}
@media (max-width: 620px) {
  .theme-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .theme-list button {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 7px 12px;
    padding: 8px;
    align-items: center;
  }
  .theme-thumb {
    grid-row: span 2;
    border-radius: 5px;
  }
  .theme-info,
  .theme-pick {
    margin: 0;
  }
  .theme-info b {
    font-size: 16px;
  }
  .theme-list small {
    font-size: 11px;
  }
}
.product-price {
  font-size: 14px;
  color: var(--forest);
  font-weight: 750;
}
.kit-link {
  margin-left: 20px;
}
@media (max-width: 620px) {
  .kit-link {
    margin: 8px 0 0;
    display: flex;
  }
}
.brand-image img {
  aspect-ratio: 1;
  object-fit: cover;
}
@media (max-width: 620px) {
  .filter-set {
    scrollbar-width: none;
  }
  .filter-set::-webkit-scrollbar {
    display: none;
  }
}

/* v1.31.2 phone header search: full placeholder visible, 16px text so iPhone doesn't zoom on tap */
@media (max-width: 560px) {
  .head-inner .search-box {
    height: 40px;
    padding: 0 12px;
    gap: 8px;
  }
  .head-inner .search-box > svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
  }
  .head-inner .search-box input {
    font-size: 16px;
    min-width: 0;
    text-overflow: ellipsis;
  }
}

/* v1.32.0 article bylines + section links (News and Learn) */
.art-byline {
  margin: 10px 0 12px;
  font-size: 14px;
  color: var(--muted);
}
.art-byline a,
.sf-eyebrow a.art-cat {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.psct-byline {
  font-size: 14px;
  color: var(--muted, #5e6e62);
}

/* v1.37.0 – Top-5 map pins: 10 selectable designs (app/locator.js TOP_PINS).
   Positions 1–5 are bigger and bolder than regular pins; #1 is the largest. */
.tp-icon{background:none;border:0}
.tp{--s:32px;position:absolute;left:50%;bottom:0;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;pointer-events:none;font-family:"DM Sans",system-ui,sans-serif;animation:tp-drop .55s cubic-bezier(.3,1.6,.5,1) backwards}
.tp>*{pointer-events:auto}
.tp.r1{--s:44px;--c1:#ffe27a;--c2:#e3a01a;--dk:#7a4d00;--glow:rgba(255,196,40,.55)}
.tp.r2{--s:39px;--c1:#f6f8fb;--c2:#9fb0be;--dk:#3f4c58;--glow:rgba(170,190,205,.55)}
.tp.r3{--s:39px;--c1:#f7b57d;--c2:#b45f22;--dk:#5f2d08;--glow:rgba(222,128,60,.5)}
.tp.r4{--s:37px;--c1:#5cb48c;--c2:#1b5a44;--dk:#0d3026;--glow:rgba(60,160,120,.45)}
.tp.r5{--s:37px;--c1:#dff58f;--c2:#86b532;--dk:#334d0c;--glow:rgba(170,220,80,.5)}
.tp-icon:hover .tp,.tp.on{transform:translateX(-50%) translateY(-4px) scale(1.12)}
.tp{transition:transform .18s ease}
.tp.on{filter:drop-shadow(0 0 0 #fff) drop-shadow(0 0 6px rgba(207,82,37,.85))}
.tp-ad{position:absolute;top:-6px;left:calc(50% - var(--s)*.66);z-index:3;background:#fff;color:#173c35;font:900 10px/1 "DM Sans",sans-serif;letter-spacing:.06em;padding:3px 4px;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.tp-num{font-weight:900;line-height:1;letter-spacing:-.02em}
.tp-tip{width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:11px solid var(--c2);margin-top:-2px;filter:drop-shadow(0 2px 1px rgba(0,0,0,.25))}
.tp-shadow{width:calc(var(--s)*.5);height:6px;border-radius:50%;background:rgba(0,0,0,.28);filter:blur(2px);margin-top:1px}
@keyframes tp-drop{0%{opacity:0;transform:translateX(-50%) translateY(-26px) scale(.6)}100%{opacity:1;transform:translateX(-50%)}}
@keyframes tp-pulse{0%{transform:scale(.7);opacity:.85}100%{transform:scale(1.9);opacity:0}}
@keyframes tp-spin{to{transform:rotate(360deg)}}
@keyframes tp-wiggle{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
@media (prefers-reduced-motion:reduce){.tp,.tp *{animation:none!important}}

/* 1 Glow Orb */
.tp-orb .o{position:relative;width:var(--s);height:var(--s);border-radius:50%;display:grid;place-items:center;color:var(--dk);font-size:calc(var(--s)*.5);background:radial-gradient(circle at 32% 28%,#fff 0 8%,var(--c1) 30%,var(--c2) 78%,var(--dk) 120%);border:3px solid #fff;box-shadow:0 6px 14px rgba(0,0,0,.35),inset 0 -6px 10px rgba(0,0,0,.18)}
.tp-orb .o:before{content:"";position:absolute;inset:-8px;border-radius:50%;border:3px solid var(--c2);animation:tp-pulse 1.8s ease-out infinite;opacity:0}
.tp-orb.r1 .o{color:#5a3600}
/* 2 Trophy Shield */
.tp-shield .o{position:relative;width:calc(var(--s)*.95);height:calc(var(--s)*1.12);display:grid;place-items:center;filter:drop-shadow(0 5px 6px rgba(0,0,0,.35))}
.tp-shield .o:before,.tp-shield .o:after{content:"";position:absolute;inset:0;clip-path:polygon(50% 0,100% 13%,100% 52%,50% 100%,0 52%,0 13%)}
.tp-shield .o:before{background:#fff}
.tp-shield .o:after{inset:4px;background:linear-gradient(135deg,var(--c1),var(--c2) 60%,var(--dk))}
.tp-shield .tp-num{position:relative;z-index:1;color:#fff;font-size:calc(var(--s)*.46);margin-top:-10%;text-shadow:0 2px 0 rgba(0,0,0,.3)}
.tp-shield .st{position:absolute;z-index:1;top:-9px;font-size:14px;color:var(--c1);text-shadow:0 1px 2px rgba(0,0,0,.5)}
/* 3 Mushroom Cap */
.tp-cap .cap{position:relative;width:calc(var(--s)*1.3);height:calc(var(--s)*.78);border-radius:999px 999px 14px 14px;background:linear-gradient(180deg,var(--c1),var(--c2));border:3px solid #fff;display:grid;place-items:center;box-shadow:0 5px 10px rgba(0,0,0,.3)}
.tp-cap .cap i{position:absolute;border-radius:50%;background:rgba(255,255,255,.85)}
.tp-cap .cap i:nth-of-type(1){width:9px;height:9px;left:16%;top:22%}.tp-cap .cap i:nth-of-type(2){width:6px;height:6px;right:18%;top:18%}.tp-cap .cap i:nth-of-type(3){width:5px;height:5px;right:30%;bottom:16%}
.tp-cap .tp-num{position:relative;z-index:1;color:var(--dk);font-size:calc(var(--s)*.44);background:#fff;border-radius:999px;padding:2px 8px;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.tp-cap .stem{width:calc(var(--s)*.38);height:calc(var(--s)*.46);margin-top:-3px;background:linear-gradient(90deg,#efe5cc,#fffaf0 45%,#e6d8b4);border:2px solid #fff;border-top:0;border-radius:0 0 10px 10px;box-shadow:0 4px 6px rgba(0,0,0,.25)}
.tp-icon:hover .tp-cap .cap{animation:tp-wiggle .5s ease-in-out 2}
/* 4 Neon Ring */
.tp-neon .o{position:relative;width:var(--s);height:var(--s);border-radius:50%;display:grid;place-items:center;background:#10221d;border:3px solid var(--c1);box-shadow:0 0 0 2px #10221d,0 0 14px 3px var(--glow),inset 0 0 12px var(--glow)}
.tp-neon .tp-num{color:var(--c1);font-size:calc(var(--s)*.52);text-shadow:0 0 6px var(--c1),0 0 14px var(--glow)}
.tp-neon .tp-tip{border-top-color:var(--c1);filter:drop-shadow(0 0 4px var(--glow))}
.tp-neon.r1 .o:after{content:"";position:absolute;inset:-7px;border-radius:50%;border:2px solid var(--c1);animation:tp-pulse 1.6s ease-out infinite}
/* 5 Spotlight Beacon */
.tp-beacon .o{position:relative;width:var(--s);height:var(--s);display:grid;place-items:center}
.tp-beacon .rays{position:absolute;inset:calc(var(--s)*-.38);border-radius:50%;background:repeating-conic-gradient(var(--glow) 0 12deg,transparent 12deg 30deg);-webkit-mask:radial-gradient(circle,#000 35%,transparent 70%);mask:radial-gradient(circle,#000 35%,transparent 70%);animation:tp-spin 7s linear infinite}
.tp-beacon .drop{position:relative;width:calc(var(--s)*.9);height:calc(var(--s)*.9);border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:linear-gradient(135deg,var(--c1),var(--c2));border:3px solid #fff;box-shadow:0 5px 12px rgba(0,0,0,.35);display:grid;place-items:center}
.tp-beacon .tp-num{transform:rotate(45deg);width:62%;height:62%;border-radius:50%;background:#fff;color:var(--dk);display:grid;place-items:center;font-size:calc(var(--s)*.34)}
.tp-beacon .tp-shadow{margin-top:2px}
/* 6 Gem */
.tp-gem .o{position:relative;width:calc(var(--s)*1.02);height:var(--s);display:grid;place-items:center;filter:drop-shadow(0 5px 6px rgba(0,0,0,.35))}
.tp-gem .o:before,.tp-gem .o:after{content:"";position:absolute;inset:0;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}
.tp-gem .o:before{background:#fff}
.tp-gem .o:after{inset:3px;background:conic-gradient(from 210deg,var(--c1),var(--c2),var(--c1),var(--dk),var(--c1))}
.tp-gem .tp-num{position:relative;z-index:1;color:#fff;font-size:calc(var(--s)*.46);text-shadow:0 2px 2px rgba(0,0,0,.45)}
.tp-gem .tp-tip{border-top-color:#fff}
/* 7 Photo Bubble */
.tp-photo .o{position:relative;width:calc(var(--s)*1.05);height:calc(var(--s)*1.05);border-radius:50%;padding:4px;background:linear-gradient(135deg,var(--c1),var(--c2));box-shadow:0 6px 14px rgba(0,0,0,.35)}
.tp-photo img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #fff;display:block;background:#eef0e2}
.tp-photo .tp-num{position:absolute;right:-10px;top:-10px;min-width:30px;height:30px;padding:0 7px;border-radius:999px;display:grid;place-items:center;background:var(--c2);color:#fff;border:3px solid #fff;font-size:18px;box-shadow:0 2px 4px rgba(0,0,0,.3)}
.tp-photo.r1 .tp-num,.tp-photo.r2 .tp-num,.tp-photo.r5 .tp-num{color:var(--dk)}
.tp-photo.r1 .tp-num{background:var(--c1)}
/* 8 Starburst Sticker */
.tp-burst .o{position:relative;width:calc(var(--s)*1.12);height:calc(var(--s)*1.12);display:grid;place-items:center;filter:drop-shadow(0 5px 6px rgba(0,0,0,.35))}
.tp-burst .o:before,.tp-burst .o:after{content:"";position:absolute;inset:0;clip-path:polygon(50% 0,59% 15%,75% 7%,77% 24%,93% 25%,86% 41%,100% 50%,86% 59%,93% 75%,77% 76%,75% 93%,59% 85%,50% 100%,41% 85%,25% 93%,23% 76%,7% 75%,14% 59%,0 50%,14% 41%,7% 25%,23% 24%,25% 7%,41% 15%)}
.tp-burst .o:before{background:#fff}
.tp-burst .o:after{inset:4px;background:radial-gradient(circle at 40% 35%,var(--c1),var(--c2))}
.tp-burst .o span{position:relative;z-index:1;display:grid;justify-items:center;color:var(--dk);transform:rotate(-8deg)}
.tp-burst .tp-num{font-size:calc(var(--s)*.46)}
.tp-burst small{font:900 8px/1 "DM Sans",sans-serif;letter-spacing:.12em}
.tp-icon:hover .tp-burst .o{animation:tp-spin 1.2s ease-in-out}
/* 9 Name Tag */
.tp-tag .o{display:flex;align-items:center;gap:7px;max-width:190px;padding:4px 12px 4px 4px;border-radius:999px;background:#fff;border:3px solid var(--c2);box-shadow:0 5px 12px rgba(0,0,0,.3);white-space:nowrap}
.tp-tag .tp-num{flex:none;width:calc(var(--s)*.66);height:calc(var(--s)*.66);border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--c1),var(--c2));color:var(--dk);font-size:calc(var(--s)*.36)}
.tp-tag.r4 .tp-num{color:#fff}
.tp-tag b{font:800 13px/1.1 "DM Sans",sans-serif;color:#14231f;overflow:hidden;text-overflow:ellipsis}
.tp-tag .tp-tip{border-top-color:var(--c2)}
/* 10 Pscilly Cap Pin (logo) */
.tp-logo .o{position:relative;width:calc(var(--s)*1.15);display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 5px 6px rgba(0,0,0,.35))}
.tp-logo .cap{position:relative;z-index:2;width:100%;height:calc(var(--s)*.5);border-radius:999px 999px 8px 8px;background:linear-gradient(180deg,var(--c1),var(--c2));border:3px solid #fff}
.tp-logo .cap i{position:absolute;border-radius:50%;background:rgba(255,255,255,.9)}
.tp-logo .cap i:nth-of-type(1){width:8px;height:8px;left:22%;top:28%}.tp-logo .cap i:nth-of-type(2){width:6px;height:6px;left:48%;top:16%}.tp-logo .cap i:nth-of-type(3){width:7px;height:7px;right:20%;top:34%}
.tp-logo .body{width:calc(var(--s)*.72);height:calc(var(--s)*.72);margin-top:calc(var(--s)*-.18);border-radius:0 50% 50% 50%;transform:rotate(45deg);background:#173c35;border:3px solid #fff;display:grid;place-items:center}
.tp-logo .tp-num{transform:rotate(-45deg);color:var(--c1);font-size:calc(var(--s)*.44);margin:6px 0 0 6px;text-shadow:0 1px 0 rgba(0,0,0,.4)}
.tp-logo.r2 .tp-num{color:#fff}
.tp-logo .tp-shadow{margin-top:4px}

/* list rank chip */
.tp-rank{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-right:6px;border-radius:999px;font:900 11px/1 "DM Sans",sans-serif;font-style:normal;vertical-align:1px;color:#173c35;background:#def19e}
.tp-rank.r1{background:#f6c94a;color:#4d3100}.tp-rank.r2{background:#d4dde5;color:#33404b}.tp-rank.r3{background:#e9a26b;color:#4a2306}.tp-rank.r4{background:#1b5a44;color:#fff}
.tp-rank-ad{font-size:10px;font-weight:800;letter-spacing:.06em;color:#5c6b60;margin-left:4px}

/* visitor pin-style switcher */
.map-pinstyle{position:absolute;z-index:500;top:58px;right:12px;display:flex;align-items:center;gap:6px;padding:7px 11px;border-radius:10px;border:1px solid #d9dccd;background:#fff;color:#173c35;font:700 13px/1 "DM Sans",sans-serif;box-shadow:0 2px 6px rgba(0,0,0,.12);cursor:pointer}
.map-pinmenu{position:absolute;z-index:600;top:96px;right:12px;width:260px;max-height:min(420px,calc(100% - 110px));overflow:auto;padding:8px;border-radius:14px;background:#fff;border:1px solid #d9dccd;box-shadow:0 10px 30px rgba(0,0,0,.2);display:grid;gap:4px}
.map-pinmenu[hidden]{display:none}
.map-pinmenu button{display:flex;align-items:center;gap:12px;width:100%;padding:6px 8px;border:0;border-radius:10px;background:none;text-align:left;font:700 13px/1.2 "DM Sans",sans-serif;color:#14231f;cursor:pointer}
.map-pinmenu button:hover,.map-pinmenu button[aria-pressed=true]{background:#eef4dc}
.map-pinmenu .pv{position:relative;flex:none;width:64px;height:64px}
.map-pinmenu .pv .tp{animation:none;--s:34px}
.map-pinmenu .pv .tp-tag .o{max-width:60px}
.map-pinmenu .pv .tp-ad{display:none}
/* v1.39.2 – Top-5 pin picker on the homepage banner + inline map */
.atlas-mapwrap .map-pinstyle{top:12px;right:52px;padding:6px 10px;font-size:12px;max-width:calc(100% - 120px)}
.atlas-mapwrap .map-pinstyle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.atlas-mapwrap .map-pinmenu{top:50px;right:12px;width:240px;max-height:calc(100% - 64px)}
@media (max-width:600px){.atlas-mapwrap .map-pinstyle{right:48px}.atlas-mapwrap .map-pinstyle span{max-width:130px}.atlas-mapwrap .map-pinmenu{width:min(240px,calc(100% - 24px))}}
.atlas-mapwrap .map-pinmenu button{padding:4px 8px;gap:10px}
.atlas-mapwrap .map-pinmenu .pv{width:46px;height:46px}
.atlas-mapwrap .map-pinmenu .pv .tp{--s:26px}
/* v1.39.3 – Top-5 map pins another 15% smaller (map pins only; picker previews unchanged) */
.tp-icon .tp{zoom:.85}
